Remove ITypeFeatureProvider

Use ShellBlueprint... See https://github.com/OrchardCMS/Orchard2/issues/293

So far looks good.

@sebastienros okay - all done :)

About the CoreFeature.
In DefaultShapeTableManager, GetFeatureForDependency() is used and somewhere the CoreFeature is checked by using feature.Id == "Core". This because the CoreFeature provides core shapes and is considered as an enabled feature.
Regarding this i've seen a little difference on shape descriptors ordering. I think all is OK but, when i have time, i will open an "issue" to discuss on this (and other little points) to be sure we don't miss anything.
E.g, maybe these core shapes should be provided by regular features. Or, maybe the CoreFeature need to belong to the enabled features list, and then ordered with other features by the ordering strategies.
Best.

Reorder to what?
Sent from my iPhone

On 22 Dec 2016, at 07:34, Sébastien Ros<EMAIL_ADDRESS>wrote:
@sebastienros approved this pull request.
In src/Orchard.Environment.Shell.Abstractions/Builders/Models/ShellBlueprint.cs:

     public ShellSettings Settings { get; set; }

     public ShellDescriptor Descriptor { get; set; }

   public IEnumerable<DependencyBlueprint> Dependencies { get; set; }

   public IDictionary<Type, DependencyBlueprint> Dependencies { get; set; }

We need a default ctor that takes all three properties, and make then get; only.
In src/Orchard.Cms.Web/Modules/Orchard.Roles/Recipes/RolesStep.cs:

using Orchard.Security;
using Orchard.Security.Permissions;
-using Orchard.Environment.Extensions;
+using System.Collections.Generic;
Reorder namespaces, in all the files you changed.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ah poosticks!!! Will do.
Sent from my iPhone

On 22 Dec 2016, at 07:46, Sébastien Ros<EMAIL_ADDRESS>wrote:
@sebastienros commented on this pull request.
In src/Orchard.Cms.Web/Modules/Orchard.Roles/Recipes/RolesStep.cs:

using Orchard.Security;
using Orchard.Security.Permissions;
-using Orchard.Environment.Extensions;
+using System.Collections.Generic;
Configure you VS to have the namespaces ordered by name with System first (it's an option).

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Just need to push it, 15mins
Sent from my iPhone

On 22 Dec 2016, at 09:55, Sébastien Ros<EMAIL_ADDRESS>wrote:
@sebastienros commented on this pull request.
In src/Orchard.Environment.Shell.Abstractions/Builders/Models/ShellBlueprint.cs:

     public ShellSettings Settings { get; set; }

     public ShellDescriptor Descriptor { get; set; }

   public IEnumerable<DependencyBlueprint> Dependencies { get; set; }

   public IDictionary<Type, DependencyBlueprint> Dependencies { get; set; }

this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

If setup passes and admin still works then merge

Dont merge yet, setup is broken

ModuleAreaRouteConstraintApplicationModelProvider used to take a ITypeFeatureProvider, which had no dependency on the Shell.... need to think about this one

I am currently working with @jtkech on refactoring ITypeFeatureProvider and we found another reason not to remove it, it actually represents a different set of services than the shellblueprint. The ShellBluePrint contains the list of types provided by the assembly (see Controllers) which are or not registered in the DI, but the ITypeFeatureProvider also contains the ones that are registered by the DI. For instance CoreShapes which is not in the module's assembly.

Closing because we realized we need it.


Add yellow arrows to the global path to indicate turn signal activation

Add yellow arrows to the global path that reflect the steering_state field of each waypoint state.
See original MR for more details: https://gitlab.com/astuff/autoware.ai/core_planning/-/merge_requests/43

@icolwell-as Thank you for this PR. The function looks good, but the formatting doesn't follow the roslint e.g. offset(0,0,0) -> offset(0, 0, 0) . Could you fix it?
Just for reference, I attached the diff file here.

I've tested in my local. The visualization looks good.

@TakaHoribe thanks for reviewing and providing an easy patch!


cannot type into any input when creating a new host

tried restarting atom, but still unable to type or paste any charcater into any input in host creation form.

Duplicate of issue #61


Automate change integration from current version to next version dev branches

Under the "main" and "next" model, changes from main can be bulk integrated to next every once in a while.  This however opens the possibility of merge conflicts that whoever is doing the integration will need to resolve.  This should instead be the responsibility of the original change author because they have the correct context to do the merge resolution.
Issues

[x] #9867

April 2022

[x] #9855

May 2022

[x] #9868
[x] #9992
[x] #9869
[x] #9866
[x] #10219
[ ] #10254
[x] #10255
[x] #10311
[x] Retrieving commit from Azure Queue
[x] Open PR to check merge conflicts and CI run with next branch
[x] Bot to merge PR in next branch
[x] #10256
[x] #10257

Next

[x] #9865

Notes

We probably want some way for a developer to choose to bring a change into next's history/indicate it's been accounted for in some way without actually merging the change contents/skip the automatic merge entirely.  For example, for features that receive both compatible and breaking implementations across the two branches, the developer may want to not bring the changes from main to next at all.  Or for some mechanical repo changes to package.jsons, they might be fully resolved as part of resolving merge conflicts but the whole merge could be skipped entirely.

@sonalivdeshpande given your recent changes in this area, does it make sense to close this?

yep. this can be closed


Reduce node id lookups in OSMReader

According to my recent benchmarks the OSMReader spends about 25% of its execution time looking up node ids:

It should be enough to avoid some unnecessary lookups like here:
https://github.com/graphhopper/graphhopper/blob/ec53afeb4e37a0e8f30d4506e96c56123ecdb094/reader-osm/src/main/java/com/graphhopper/reader/osm/OSMReader.java#L256-L265
https://github.com/graphhopper/graphhopper/blob/ec53afeb4e37a0e8f30d4506e96c56123ecdb094/reader-osm/src/main/java/com/graphhopper/reader/osm/OSMReader.java#L479-L481
https://github.com/graphhopper/graphhopper/blob/ec53afeb4e37a0e8f30d4506e96c56123ecdb094/reader-osm/src/main/java/com/graphhopper/reader/osm/OSMReader.java#L496-L497
We could pass the internal node id through and avoid the additional lookups.

Tried to reduce the lookups and even switched to a LongIntHashMap but no significant difference.
A BloomFilter could probably help a lot if we create it based on the nodes in the preprocess step.

I think since #2448  and https://github.com/graphhopper/graphhopper/commit/5a369778fd3d6b98ea16dcde63c475d8edf67005 there is not really potential to further reduce the number of lookups. Closing for now, but of course feel free to open again if you think otherwise.


How to use multiple .bam files of different genotypes/strains

Sir,
I have 200 different strain's .bam file and i want to generate single VCF with SNP call data for all 200 strains. How to proceed for this?.
pls suggest me an option and command?
with thanks

Make sure the read groups and sample names in the files are unique across
the full set. Then you can supply all the BAM files at once to freebayes.
It's probably necessary to run over regions or contigs of your reference.
On Thu, Oct 1, 2020, 13:46 shanmugavadivelps<EMAIL_ADDRESS>wrote:

Sir,
I have 200 different strain's .bam file and i want to generate single VCF
with SNP call data for all 200 strains. How to proceed for this?.
pls suggest me an option and command?
with thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ekg/freebayes/issues/649, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABDQEJYFKSAO2CU3ICZH33SIRTZZANCNFSM4SAKEA7A
.


How can I set the public key form a string which is the 'pkcs1-public-der'?

I have the public key from a redbear/Duo an it is in pkcs1-public-der
The Duo Documentation says:

Response string (e.g.) : {"b":"ascii hex-encoded data","r":0} // 0 ok, non zero problem with index/data
The device's public key is in DER format.

And I need to do with react-native-rsa this, instead the node-rsa
var RSA = require('node-rsa');
...
SoftAP.prototype.publicKey = function publicKey(cb) {
	is(cb);
	this.__sendCommand({ name: 'public-key' }, function response(err, dat) {
		checkResponse(err, dat, cb);
		var buff = new Buffer(dat.b, 'hex');
		this.__publicKey = new RSA(buff.slice(22), 'pkcs1-public-der', {
			encryptionScheme: 'pkcs1'
		});
		cb(null, this.__publicKey.exportKey('pkcs8-public'));
	}.bind(this));
};

It is my first time using keys, I will appreciate any help.
Thanks

looks like you need to find some way to extra raw rsa components from der format.
This lib doesn't do key format import or export. It mainly support encrypt & decrypt using raw keys.
Hao Wang
On Jul 20, 2017, at 11:57 AM, Hugo Mosh Cardoza <notifications<EMAIL_ADDRESS>wrote:
I have the public key from a redbear/Duo an it is in pkcs1-public-der
The Duo Documentation says:
Response string (e.g.) : {"b":"ascii hex-encoded data","r":0} // 0 ok, non zero problem with index/data
The device's public key is in DER format.
And I need to do with react-native-rsa this, instead the node-rsa
var RSA = require('node-rsa');
...
SoftAP.prototype.publicKey = function publicKey(cb) {
is(cb);
this.__sendCommand({ name: 'public-key' }, function response(err, dat) {
checkResponse(err, dat, cb);
var buff = new Buffer(dat.b, 'hex');
this.__publicKey = new RSA(buff.slice(22), 'pkcs1-public-der', {
encryptionScheme: 'pkcs1'
});
cb(null, this.__publicKey.exportKey('pkcs8-public'));
}.bind(this));
};
It is my first time using keys, I will appreciate any help.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/z-hao-wang/react-native-rsa/issues/9, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABjVgwJaLQqw8Y5-zYUMbkHsOe_G-xelks5sP6MegaJpZM4Oeh7a.

Thanks
Yes we ended up using ASN1 js library to obtain the sequence of n and exp
El El jue, 20 de julio de 2017 a la(s) 15:52, hao-wang <
<EMAIL_ADDRESS>escribió:

looks like you need to find some way to extra raw rsa components from der
format.
This lib doesn't do key format import or export. It mainly support encrypt
& decrypt using raw keys.
Hao Wang
On Jul 20, 2017, at 11:57 AM, Hugo Mosh Cardoza<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
I have the public key from a redbear/Duo an it is in pkcs1-public-der
The Duo Documentation says:
Response string (e.g.) : {"b":"ascii hex-encoded data","r":0} // 0 ok, non
zero problem with index/data
The device's public key is in DER format.
And I need to do with react-native-rsa this, instead the node-rsa
var RSA = require('node-rsa');
...
SoftAP.prototype.publicKey = function publicKey(cb) {
is(cb);
this.__sendCommand({ name: 'public-key' }, function response(err, dat) {
checkResponse(err, dat, cb);
var buff = new Buffer(dat.b, 'hex');
this.__publicKey = new RSA(buff.slice(22), 'pkcs1-public-der', {
encryptionScheme: 'pkcs1'
});
cb(null, this.__publicKey.exportKey('pkcs8-public'));
}.bind(this));
};
It is my first time using keys, I will appreciate any help.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<
https://github.com/z-hao-wang/react-native-rsa/issues/9>, or mute the
thread<
https://github.com/notifications/unsubscribe-auth/ABjVgwJaLQqw8Y5-zYUMbkHsOe_G-xelks5sP6MegaJpZM4Oeh7a>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/z-hao-wang/react-native-rsa/issues/9#issuecomment-316826525,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA21evwdyzyMpMA-Hpyr5UptX-XLzboEks5sP74egaJpZM4Oeh7a
.

Hey @hugomosh I'm currently faced with the exact same problem.  Any help would be appreciated. I just keep getting Invalid Key messages from this library and need to figure out how to extract the raw keys.  I'm also getting some errors about 'assert' not existing in the Haste module map when using the asn1 package.
Did you find a specific package that worked?

@hugomosh I finally came across the asn1js package (NOT just asn1) and realized this is the one you probably used? It seems to deal with BER any way.
Do you mind sharing any samples of how you used it in conjunction with this library?

circling back here in case someone finds this later...
I was able to figure out the location of the modulus and exponent using an online decoder, and then wrote the following function to grab those values and pass them to this module:
encryptPassword(derKey, password) {
    //derKey is the device public key, which is in DER format
    //react-native-rsa needs to take in a public key object with
    //with members n = modulus, and e = exponent
    //DER key modulus is encoded at hex bytes 28 - 156. It's a hex number string, so we have to double to go to proper spot.
    //standard exponent is 0x10001, actual exponnet located starting at index 159 and ending at 162
    //both modulus and exponent need to be passed in as hex strings
    //for more info on decoding DER keys - see this post:
    //https://crypto.stackexchange.com/a/35105
    const keyModString = derKey.slice(28 * 2, 157 * 2);
    const keyExpString = derKey.slice(159 * 2, 162 * 2);
    let rsa = new RSAKey();
    const publicKey = {
      n: keyModString,
      e: keyExpString
    };
    publicKeyString = JSON.stringify(publicKey);
    rsa.setPublicString(publicKeyString); //expects JSON string object with modulus field (n) and exponent field (e)
    let encryptedPassword = rsa.encrypt(password);
    return encryptedPassword;
}


Use Groovy traits to better separate Omni RPCs from Bitcoin RPCs

See the work in the branch msgilligan-cliapi-traits

Note: There seems to be a bug in Groovy 2.4.0 that occurs when the following lines are enabled in BitcoinCLIAPI.groovy:
@SelfType(BitcoinClient)
@CompileStatic

I've filed bug GROOVY-7275 on Groovy JIRA.
I'm also seeing two issues in the current latest IntelliJ:

IntelliJ doesn't seem to recognize the @SelfType(BitcoinClient) annotation yet and as a result can't find the methods called from the superclass.
IntelliJ is complaining about default parameters with the message: "Default Initializers are not allowed in abstract methods"

Groovy bug GROOVY-7275 is fixed in Groovy 2.4.1 and bitcoin-spock has been updated, so it may be time to try this again.
Although I'm thinking that it might be better if the "CLI" clients just warp the standard Java clients, rather than extend them, so traits may be less necessary.

That's great to hear.
Point 2 seems to be an issue of IntelliJ, and using default values appears to work just fine, despite the error tag. Given there are quite a few methods that could be reduced and merged by using defaults, even though the error is a bit distracting.

I need to renew my IntelliJ subscription and upgrade to the latest version. If the IntelliJ problems continue, I'll report them as bugs.

I'm currently using an EAP build of the v14.1 community edition, where the issue is still present.

I noticed in the latest EAP release notes "Good Groovy code red - traits with Generic" (IDEA-134978), however the issue related to default initializer values ("Default Initializers are not allowed in abstract methods") is still present.

This is complete, except for completing the CLI clients. I've opened Issue #64 for that work.


how-to-test-expressjs-with-jest-and-supertest.md: fix a typo and add "express" tag

wow, thanks! A PR for my blog! haha


cupy.cuda.curand.CURANDError: CURAND_STATUS_INITIALIZATION_FAILED

Hi, When I run the reconstruct.py,it show me this,I changed the GPU=0 to try some other gpus,it still doesn't work and show me that.
Traceback (most recent call last):   File "mesh_reconstruction/reconstruct.py", line 81, in <module>     run()   File "mesh_reconstruction/reconstruct.py", line 49, in run     cp.random.seed(args.seed)   File "/usr/local/lib/python2.7/dist-packages/cupy/random/generator.py", line 1113, in seed     get_random_state().seed(seed)   File "/usr/local/lib/python2.7/dist-packages/cupy/random/generator.py", line 1147, in get_random_state     rs = RandomState(seed)   File "/usr/local/lib/python2.7/dist-packages/cupy/random/generator.py", line 51, in __init__     self._generator = curand.createGenerator(method)   File "cupy/cuda/curand.pyx", line 90, in cupy.cuda.curand.createGenerator   File "cupy/cuda/curand.pyx", line 94, in cupy.cuda.curand.createGenerator   File "cupy/cuda/curand.pyx", line 83, in cupy.cuda.curand.check_status cupy.cuda.curand.CURANDError: CURAND_STATUS_INITIALIZATION_FAILED
I have a try to comment cp.random.seed(args.seed)，and  it show me another infomation:
(I changed the code : GPU=2 in line 14 and #cp.random.seed(args.seed))
Traceback (most recent call last):   File "mesh_reconstruction/reconstruct.py", line 81, in <module>     run()   File "mesh_reconstruction/reconstruct.py", line 61, in run     model.to_gpu()   File "/mnt/mesh_reconstruction-master/mesh_reconstruction/models.py", line 112, in to_gpu     super(Model, self).to_gpu()   File "/usr/local/lib/python2.7/dist-packages/chainer/device_resident.py", line 104, in to_gpu     self.__to_device(visitor)   File "/usr/local/lib/python2.7/dist-packages/chainer/device_resident.py", line 149, in __to_device     self.device_resident_accept(to_device_visitor)   File "/usr/local/lib/python2.7/dist-packages/chainer/link.py", line 961, in device_resident_accept     d[name].device_resident_accept(visitor)   File "/usr/local/lib/python2.7/dist-packages/chainer/link.py", line 958, in device_resident_accept     super(Chain, self).device_resident_accept(visitor)   File "/usr/local/lib/python2.7/dist-packages/chainer/link.py", line 447, in device_resident_accept     super(Link, self).device_resident_accept(visitor)   File "/usr/local/lib/python2.7/dist-packages/chainer/device_resident.py", line 38, in device_resident_accept     visitor.visit_device_resident(self)   File "/usr/local/lib/python2.7/dist-packages/chainer/device_resident.py", line 269, in visit_device_resident     to_method(**kwargs) TypeError: to_gpu() got an unexpected keyword argument 'device'

Hi @xfyin1994  I get the same error as yours. How did you solve it?
C:\Users\dhornala.bharadwaj\Documents\mesh_reconstruction-master\mesh_reconstruction-master>python mesh_reconstruction/reconstruct.py -d ./data/models -eid singleclass_02691156 -i ./data/examples/airplane_in.png -oi ./data/examples/airplane_out1.png -oo ./data/examples/airplane_out1.obj
Traceback (most recent call last):
File "mesh_reconstruction/reconstruct.py", line 81, in
run()
File "mesh_reconstruction/reconstruct.py", line 61, in run
model.to_gpu()
File "C:\Users\dhornala.bharadwaj\Documents\mesh_reconstruction-master\mesh_reconstruction-master\mesh_reconstruction\models.py", line 112, in to_gpu
super(Model, self).to_gpu()
File "c:\users\dhornala.bharadwaj\appdata\local\continuum\anaconda3\envs\disn\lib\site-packages\chainer\device_resident.py", line 125, in to_gpu
self.__to_device(visitor)
File "c:\users\dhornala.bharadwaj\appdata\local\continuum\anaconda3\envs\disn\lib\site-packages\chainer\device_resident.py", line 175, in __to_device
self.device_resident_accept(to_device_visitor)
File "c:\users\dhornala.bharadwaj\appdata\local\continuum\anaconda3\envs\disn\lib\site-packages\chainer\link.py", line 953, in device_resident_accept
d[name].device_resident_accept(visitor)
File "c:\users\dhornala.bharadwaj\appdata\local\continuum\anaconda3\envs\disn\lib\site-packages\chainer\link.py", line 950, in device_resident_accept
super(Chain, self).device_resident_accept(visitor)
File "c:\users\dhornala.bharadwaj\appdata\local\continuum\anaconda3\envs\disn\lib\site-packages\chainer\link.py", line 451, in device_resident_accept
super(Link, self).device_resident_accept(visitor)
File "c:\users\dhornala.bharadwaj\appdata\local\continuum\anaconda3\envs\disn\lib\site-packages\chainer\device_resident.py", line 50, in device_resident_accept
visitor.visit_device_resident(self)
File "c:\users\dhornala.bharadwaj\appdata\local\continuum\anaconda3\envs\disn\lib\site-packages\chainer\device_resident.py", line 305, in visit_device_resident
to_method(**kwargs)
TypeError: to_gpu() got an unexpected keyword argument 'device'

Hey @bharadwajdhornala,
Did you find any solution for the error in reconstruct.py  line 61, model.to_gpu()
Please share if found any.

hi @ujjawalcse
have you find any solution for your error in model.to_gpu() or TypeError: to_gpu() got an unexpected keyword argument 'device'?


Login username does not have to equal the actual email address

This is a minor but possible problem. There is no requirement for the username used to authenticate to a SMTP server to equal the email address of the account logging in. e.g. the username could be "john.doe" or<EMAIL_ADDRESS>for the account using<EMAIL_ADDRESS>It all depends on how the email server has been set up. Username == email address is a common convention, but only that.
What this affects is line 83 in message.py ---  message["From"] = email_from or email_server_credentials.username
If From is not a valid email address, then email servers like mine will conclude it is most likely a spammer and discard the mail.
Again, a nuance that probably won't affect the vast majority of users of this module, so probably not worth the effort to fix

Thanks for the sharp eyes! At the moment, it seems like no one has reported this as an issue yet, so I plan on keeping it as it is, but if anyone does encounter this, let us know!


Omit nans in plotting functions, cast to numpy before plotting, fix axes indexing for 1D

What does this implement/fix? Explain your changes

gives a warning if NaNs or Infs are detected, removes the entryu
tries to cast data to numpy arrays, if not already numpy (or torch)
checks if data is 1D and we should not index matplotlib axes.

Does this close any currently open issues?
Fixes #1184 #1059
Any relevant code examples, logs, error output, etc?
Any other comments?
Checklist
Put an x in the boxes that apply. You can also fill these out after creating
the PR. If you're unsure about any of them, don't hesitate to ask. We're here to
help! This is simply a reminder of what we are going to look for before merging
your code.

[x] I have read and understood the contribution
guidelines
[x] I agree with re-licensing my contribution from AGPLv3 to Apache-2.0.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have reported how long the new tests run and potentially marked them
with pytest.mark.slow.
[x] New and existing unit tests pass locally with my changes
[x] I performed linting and formatting as described in the contribution
guidelines
[x] I rebased on main (or there are no conflicts with main)
[ ] For reviewer: The continuous deployment (CD) workflow are passing.

I added tests. Not sure about what counts as a slow test. on my Mac, pytest tests/plot_test.py take 14.18s

Yes, please see this comment: https://github.com/sbi-dev/sbi/pull/1147#issuecomment-2098352798
Please note that we should only build the website locally (mkdocs serve) and not deploy it yet, because we want the docs and API refs on the website to be in sync with the latest release (Dec 2023).


Allow squel to be used without values for the ? params.

let sql = squel
.select({withoutValues:true})
.from('table')
.where('a=?').toQuery();
//  This returns a string like: 'SELECT * FROM coco WHERE (a=?)' that will be ready for the DB drivers to just replace and sanitize values.

Codecov Report

Merging #333 into master will decrease coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #333      +/-   ##
==========================================
- Coverage   81.31%   81.14%   -0.18%
==========================================
  Files           2        2
  Lines        2863     2869       +6
  Branches      635      637       +2
==========================================
  Hits         2328     2328
- Misses        535      541       +6

Impacted Files
Coverage Δ

dist/squel-basic.js
93.15% <0%> (-0.23%)
:arrow_down:

dist/squel.js
72.15% <0%> (-0.14%)
:arrow_down:

Continue to review full report at Codecov.

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


feat: check pm with a version number

Does this look good ?? Let me know if there are any changes.

Not sure if we need this feature as I know that pnpm, for instance, may verify its own version, using the engines field in package.json. Maybe other package managers do it as well.
https://pnpm.io/package_json#engines

@zkochan Though the engine field can verify its own version, the pnpm still updates the lock file if someone run pnpm i, it's better to show a warning message to developer

+1

Though the engine field can verify its own version, the pnpm still updates the lock file if someone run pnpm i, it's better to show a warning message to developer

Exactly!


Double click maximization of window on TitleBar

Summary of the new feature/enhancement
In Preview build, I can maximize terminal window by double clicking on title bar area (white colored tittle bar area) next to minimize button. As you can see in below image if I double click on the highlighted area it doesn't maximize the window.

It doesn't feel natural as I need to go all the way to the right almost near to the maximize button to double click to toggle size of window. If I need to go all the way to the right then I can click maximize button instead. It ultimately reduce the usability of toggling the window using double click.
It would be really great if I can double click on blank area anywhere on the title bar to toggle the window.

Candidate for #1375

pls let me drag this title bar area to move the window

Im sure you can also disable the tabs being inside the titlebar in profiles
.json which is locate above the profiles

Use the gap between the drop down and the minimize button.
This is a duplicate of #564


feat: Add force_new_deployment switch

Description
Add ability to toggle force_new_deployment to true
Motivation and Context
I have an atlantis:latest image that I would like to redeploy every time I apply my terraform
This automates having to run this after pushing a new image.
aws ecs update-service --cluster atlantis --service atlantis --force-new-deployment

Breaking Changes
None. The default is backwards compatible.
How Has This Been Tested?
I tested it locally
When I pushed up atlantis:latest
I did a terraform apply which triggered a new deploy

Thanks @nitrocode !
v2.39.0 has been just released.


Fixed typo calender => calendar

The aggregation currently contains a typo that causes a bad request in Opensearch.
unknown field [calender_interval] did you mean any of [calendar_interval, fixed_interval]

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (62ebe95) 100.00% compared to head (ba7eea0) 100.00%.

Additional details and impacted files
@@             Coverage Diff              @@
##                main        #6    +/-   ##
============================================
  Coverage     100.00%   100.00%
  Complexity       674       674
============================================
  Files            121       121
  Lines           1751      1962   +211
============================================
+ Hits            1751      1962   +211

Impacted Files
Coverage Δ

...Aggregation/Bucketing/DateHistogramAggregation.php
100.00% <100.00%> (ø)

... and 52 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thank you :)
I tagged a new release https://github.com/shyim/opensearch-php-dsl/releases/tag/1.0.2


Fixes implicit route model binding bug when using Resource attribute.

Hi @freekmurze
This should fix #76.
When registering a resource, it would only add middleware to the route when it would be explicitly defined, which meant that the default SubstituteBindings middleware was never being applied unless you also defined other middleware.
Also the check in the tests where an array_diff is done to make sure the middleware is present in the request was in the wrong order, resulting in always true.

Thanks!


Crash loading scene from scripting

Description: Crash loading scene from scripting

Build: <IP_ADDRESS>

Type: Scripting/resources

Steps to reproduce: Next lines in any script update:

if (Input.GetKeyDown(KeyCode.KEY_M))
{
SceneManager.LoadScene("main scene");
}
Execute game in engine and press M

Frequency: Always

https://drive.google.com/open?id=1-aG_3XCrufXIPPOebtOr1aTugRlZ-7Be

We need to update to a more recent engine build.
Also, in the latest version the Main Scene crashes because of it is apparently corrupted (UI has changed the save and load), and with other fixed scenes the Quadtree enters in an infinit loop. I reference the bug below.
Issue 81

Fixed, but now we detected crashes in Physics when loading scenes during play mode.
Here I reference the @Sandruski issue.
https://github.com/JellyBitStudios/JellyBitEngine/issues/82


missing data fields on folio_inventory.item tables

We are running Metadb v1.2.2. There are 3 LDP data fields from the inventory_items table that are not available in the equivalent folio_inventory.item table (including in the JSON data array) in Metadb.

last_check_in__date_time
last_check_in__service_point_id
last_check_in__staff_member_id

Can these tables be added to Metadb?

Unlike LDP, Metadb has no knowledge of specific tables; it only knows what it receives from Kafka.
In this case the issue is that LDP extracts second-level JSON objects, while Metadb does not do this yet.  You can select them from folio_inventory.item using jsonb_extract_path_text(), for example, jsonb_extract_path_text(jsonb, 'lastCheckIn', 'dateTime').


[Task]: Create a script to train sklearn model for IT test.

What needs to happen?
Sklearn doesn't offer backward compatibility wrt models on newer versions. In the Sklearn IT tests, we use models trained manually and this can get outdated when there is an update to sklearn.
So to tackle this, we need to create a script which trains the sklearn models on the data and then publish this model to a GCS bucket, once this is done we can use this model to run Sklearn IT test.
Issue Priority
Priority: 2 (default / most normal work should be filed as P2)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Hey Danny ,
Can you please assign this issue to me as i would love to contribute. And it will be great if you can guide me solving this issue.

Hey Anand,
Can you please assign me this issue as i would like to contribute.And if you can also guide me it will be perfect.

You can comment .take-issue for self assigning.
Let me take a look on what we need for this task.

The script here trains the Sklearn model required to run inference on Japanese housing dataset IT test.
Now, the problem is we have a set of Sklearn models trained and saved in GCS path. So we use that models for IT testing. But these models are not forward compatible with newer version of sklearn. So to resolve this issue, we would like to

create a script that could run and train the script
Save the trained models on a GCS location
Run the pipeline in the example as  IT test using the above saved model.
Add this setup to the Beam infra and make sure this gets run as part of postcommit tests(I can help here once the above thing is done)

You can go through the Sklearn beam example and the sklearn training script. If you are ready to do it, please let me know and we can forward with setting up data.

I am ready for it.And also looking forward to work under your guidance.
On Fri, Feb 3, 2023, 12:28 AM Anand Inguva @.***> wrote:

You can go through the Sklearn beam example and the sklearn training
script. If you are ready to do it, please let me know and we can forward
with setting up data.
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1414217446, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLX2ZJ5EP2PTOPEWCKLWVP7WXANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

Thank you for the reply and I am looking forward to working under
your guidance ,just give me a day to go through it.
On Fri, Feb 3, 2023, 12:28 AM Anand Inguva @.***> wrote:

You can go through the Sklearn beam example and the sklearn training
script. If you are ready to do it, please let me know and we can forward
with setting up data.
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1414217446, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLX2ZJ5EP2PTOPEWCKLWVP7WXANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

Thank you for the reply.And yes i am up for the task but first please give
me atleast 2 days to go through the Sklearn beam  example,the sklearn
training
On Fri, Feb 3, 2023 at 12:28 AM Anand Inguva @.***>
wrote:

You can go through the Sklearn beam example and the sklearn training
script. If you are ready to do it, please let me know and we can forward
with setting up data.
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1414217446, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLX2ZJ5EP2PTOPEWCKLWVP7WXANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

Thank You for the reply.YES i am ready to work under your guidance.But
please give me atleast 2 days to go through the Sklearn beam example and
the sklearn training script..
On Fri, Feb 3, 2023 at 12:27 AM Anand Inguva @.***>
wrote:

The script here
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
trains the Sklearn model required to run inference on Japanese housing
dataset IT test
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
.
Now, the problem is we have a set of Sklearn models trained and saved in
GCS path. So we use that models for IT testing. But these models are not
forward compatible with newer version of sklearn. So to resolve this issue,
we would like to

create a script that could run and train the script
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
Save the trained models on a GCS location
Run the pipeline in the example
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
as IT test using the above saved model.
Add this setup to the Beam infra and make sure this gets run as part
of postcommit tests(I can help here once the above thing is done)

—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1414215656, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

Hello Anand,
I have gone through the example and the script.And now i am going to learn
somethings about the Sklearn as i am new to this things.Keeping you updated
with my progress.
On Fri, Feb 3, 2023 at 5:34 PM Siddharth Aryan @.***>
wrote:

Thank You for the reply.YES i am ready to work under your guidance.But
please give me atleast 2 days to go through the Sklearn beam example and
the sklearn training script..
On Fri, Feb 3, 2023 at 12:27 AM Anand Inguva @.***>
wrote:

The script here
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
trains the Sklearn model required to run inference on Japanese housing
dataset IT test
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
.
Now, the problem is we have a set of Sklearn models trained and saved in
GCS path. So we use that models for IT testing. But these models are not
forward compatible with newer version of sklearn. So to resolve this issue,
we would like to

create a script that could run and train the script
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
Save the trained models on a GCS location
Run the pipeline in the example
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
as IT test using the above saved model.
Add this setup to the Beam infra and make sure this gets run as
part of postcommit tests(I can help here once the above thing is done)

—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1414215656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

Hey Anand,
Sorry but because of my other stuff (my mid sem exams,tutoring and GSOC preparation)i was not able to focus on this project.To inform you about my progress i have already learnt about the respective things to create a script.i need some more days to finish it off.And again i am sorry for not updating you with my progress previously.Hope you understand.

Hey Anand, Sorry but because of my other stuff (my mid sem exams,tutoring and GSOC preparation)i was not able to focus on this project.To inform you about my progress i have already learnt about the respective things to create a script.i need some more days to finish it off.And again i am sorry for not updating you with my progress previously.Hope you understand.

Hi, please take your time and work when you can on Beam. I am here to help you in anyway I can. Thanks for the update,

Hey Anand,
I am attaching a file which contains the script that train the housing data
and saves the trained models to GCS i dont have an GCS account so i hve
just put in the code that will save the model to Gcs location.This file
just contains the code and reflect the things that it will do. I have
limitations in respect ot my system which i am trying to fix to run this in
a pipeline.In the moment just want your feedback on the code which will
help me to fix the issue.And thank you for tremendous support throughout
and patience.
On Tue, Feb 28, 2023 at 10:20 PM Anand Inguva @.***>
wrote:

Hey Anand, Sorry but because of my other stuff (my mid sem exams,tutoring
and GSOC preparation)i was not able to focus on this project.To inform you
about my progress i have already learnt about the respective things to
create a script.i need some more days to finish it off.And again i am sorry
for not updating you with my progress previously.Hope you understand.
Hi, please take your time and work when you can on Beam. I am here to help
you in anyway I can. Thanks for the update,
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1448514686, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLWHYXOU7JDI4ZFTJRTWZYUGPANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

Hey Anand,
I am attaching a file which contains the script that train the housing data
and saves the trained models to GCS i dont have an GCS account so i hve
just put in the code that will save the model to Gcs location.This file
just contains the code and reflect the things that it will do. I have
limitations in my system which i am trying to fix to run this in a
pipeline.In the moment just want your feedback on the code which will help
me to fix the issue.And thank you for tremendous support throughout and
patience.
On Tue, Feb 28, 2023 at 10:20 PM Anand Inguva @.***>
wrote:

Hey Anand, Sorry but because of my other stuff (my mid sem exams,tutoring
and GSOC preparation)i was not able to focus on this project.To inform you
about my progress i have already learnt about the respective things to
create a script.i need some more days to finish it off.And again i am sorry
for not updating you with my progress previously.Hope you understand.
Hi, please take your time and work when you can on Beam. I am here to help
you in anyway I can. Thanks for the update,
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1448514686, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLWHYXOU7JDI4ZFTJRTWZYUGPANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

import pickle
import pandas as pd
from sklearn.linear_model import LinearRegression
from google.cloud import storage
BUCKET_NAME = "your-bucket-name"
MODEL_NAME = "linear_regression_model.pkl"
TRAINING_DATA = "gs://{}/data/housing_train.csv".format(BUCKET_NAME)
loading the training data
housing_data = pd.read_csv(TRAINING_DATA)
separating the features and target variable
X_train = housing_data.drop("median_house_value", axis=1)
y_train = housing_data["median_house_value"].values
train the model
model = LinearRegression()
model.fit(X_train, y_train)
save the trained model to GCS
model_file = pickle.dumps(model)
storage_client = storage.Client()
bucket = storage_client.bucket(BUCKET_NAME)
blob = bucket.blob(MODEL_NAME)
blob.upload_from_string(model_file)
print("Trained model saved to GCS path: gs://{}/{}".format(BUCKET_NAME, MODEL_NAME))

And HAPPY BELATED HOLI to you and your family...Hope you had a fabulous
Holi.
On Fri, Mar 10, 2023 at 1:52 PM Siddharth Aryan @.***>
wrote:

Hey Anand,
I am attaching a file which contains the script that train the housing
data and saves the trained models to GCS i dont have an GCS account so i
hve just put in the code that will save the model to Gcs location.This file
just contains the code and reflect the things that it will do. I have
limitations in my system which i am trying to fix to run this in a
pipeline.In the moment just want your feedback on the code which will help
me to fix the issue.And thank you for tremendous support throughout and
patience.
On Tue, Feb 28, 2023 at 10:20 PM Anand Inguva @.***>
wrote:

Hey Anand, Sorry but because of my other stuff (my mid sem exams,tutoring
and GSOC preparation)i was not able to focus on this project.To inform you
about my progress i have already learnt about the respective things to
create a script.i need some more days to finish it off.And again i am sorry
for not updating you with my progress previously.Hope you understand.
Hi, please take your time and work when you can on Beam. I am here to
help you in anyway I can. Thanks for the update,
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1448514686,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLWHYXOU7JDI4ZFTJRTWZYUGPANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

Hello Anand,
Hope you are doing well,waiting for your feedback on this issue .
Best Regards
Siddharth Aryan.

On Fri, Mar 10, 2023 at 1:52 PM Siddharth Aryan <
@.***> wrote:

Hey Anand,
I am attaching a file which contains the script that train the housing
data and saves the trained models to GCS i dont have an GCS account so i
hve just put in the code that will save the model to Gcs location.This file
just contains the code and reflect the things that it will do. I have
limitations in my system which i am trying to fix to run this in a
pipeline.In the moment just want your feedback on the code which will help
me to fix the issue.And thank you for tremendous support throughout and
patience.
On Tue, Feb 28, 2023 at 10:20 PM Anand Inguva @.***>
wrote:

Hey Anand, Sorry but because of my other stuff (my mid sem
exams,tutoring and GSOC preparation)i was not able to focus on this
project.To inform you about my progress i have already learnt about the
respective things to create a script.i need some more days to finish it
off.And again i am sorry for not updating you with my progress
previously.Hope you understand.
Hi, please take your time and work when you can on Beam. I am here to
help you in anyway I can. Thanks for the update,
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1448514686,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLWHYXOU7JDI4ZFTJRTWZYUGPANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

Hello Anand,
Hope you are doing well.Can you please review the pull request [
https://github.com/apache/beam/pull/25926].And thanks for tremendous
support and patience.
On Fri, Feb 3, 2023 at 12:27 AM Anand Inguva @.***>
wrote:

The script here
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
trains the Sklearn model required to run inference on Japanese housing
dataset IT test
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
.
Now, the problem is we have a set of Sklearn models trained and saved in
GCS path. So we use that models for IT testing. But these models are not
forward compatible with newer version of sklearn. So to resolve this issue,
we would like to

create a script that could run and train the script
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
Save the trained models on a GCS location
Run the pipeline in the example
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
as IT test using the above saved model.
Add this setup to the Beam infra and make sure this gets run as part
of postcommit tests(I can help here once the above thing is done)

—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1414215656, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

Hello Anand,
Hope you are doing well.Can you please review the pull request [
https://github.com/apache/beam/pull/25926]
https://github.com/apache/beam/pull/25926].And.
On Fri, Feb 3, 2023 at 12:27 AM Anand Inguva @.***>
wrote:

The script here
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
trains the Sklearn model required to run inference on Japanese housing
dataset IT test
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
.
Now, the problem is we have a set of Sklearn models trained and saved in
GCS path. So we use that models for IT testing. But these models are not
forward compatible with newer version of sklearn. So to resolve this issue,
we would like to

create a script that could run and train the script
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
Save the trained models on a GCS location
Run the pipeline in the example
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
as IT test using the above saved model.
Add this setup to the Beam infra and make sure this gets run as part
of postcommit tests(I can help here once the above thing is done)

—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1414215656, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you commented.Message ID:
@.***>

Hello Anand, Hope you are doing well.Can you please review the pull request [ #25926] <#25926%5D.And>.
…
On Fri, Feb 3, 2023 at 12:27 AM Anand Inguva @.> wrote: The script here https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da trains the Sklearn model required to run inference on Japanese housing dataset IT test https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py . Now, the problem is we have a set of Sklearn models trained and saved in GCS path. So we use that models for IT testing. But these models are not forward compatible with newer version of sklearn. So to resolve this issue, we would like to - create a script that could run and train the script https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da - Save the trained models on a GCS location - Run the pipeline in the example https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py as IT test using the above saved model. - Add this setup to the Beam infra and make sure this gets run as part of postcommit tests(I can help here once the above thing is done) — Reply to this email directly, view it on GitHub <#24903 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y . You are receiving this because you commented.Message ID: @.>

Thanks I will take a look soon

Thanks for the reply.Can you do me favour Anand  actually i prepared a
Proposal for a project named Sentimental Analysis can you please review it
and reply me with a feedback.
Proposal Link: [
https://docs.google.com/document/d/1U6zcXAWsDCrWlbf14f5VlLqPZFucwXR48tD7mrERW-g/edit
]
On Thu, Mar 23, 2023 at 2:37 AM Anand Inguva @.***>
wrote:

Hello Anand, Hope you are doing well.Can you please review the pull
request [ #25926 https://github.com/apache/beam/pull/25926] <#25926
https://github.com/apache/beam/pull/25926%5D.And>.
… <#m_-6043284037195056831_>
On Fri, Feb 3, 2023 at 12:27 AM Anand Inguva @.> wrote: The script
here https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
trains the Sklearn model required to run inference on Japanese housing
dataset IT test
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
. Now, the problem is we have a set of Sklearn models trained and saved in
GCS path. So we use that models for IT testing. But these models are not
forward compatible with newer version of sklearn. So to resolve this issue,
we would like to - create a script that could run and train the script
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da -
Save the trained models on a GCS location - Run the pipeline in the example
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
as IT test using the above saved model. - Add this setup to the Beam infra
and make sure this gets run as part of postcommit tests(I can help here
once the above thing is done) — Reply to this email directly, view it on
GitHub <#24903 (comment)
https://github.com/apache/beam/issues/24903#issuecomment-1414215656>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y
https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y
. You are receiving this because you commented.Message ID: @.>
Thanks I will take a look soon
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1480261200, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLQKWU4DP5TUTCWBJJLW5NSZ7ANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you were assigned.Message ID:
@.***>

Thanks for the reply Anand .And can you please do me a favour ,I have
prepared a Proposal for a project named Sentimental Analysis for GSOC2023
can you please review it and give me a feedback.I did sent to the dev
mailing list but no one replied,so can you please take some time out and do
it , it would mean great to me.
Project link:
https://docs.google.com/document/d/1U6zcXAWsDCrWlbf14f5VlLqPZFucwXR48tD7mrERW-g/edit
Your Sincerely
Siddharth Aryan
On Thu, Mar 23, 2023 at 2:37 AM Anand Inguva @.***>
wrote:

Hello Anand, Hope you are doing well.Can you please review the pull
request [ #25926 https://github.com/apache/beam/pull/25926] <#25926
https://github.com/apache/beam/pull/25926%5D.And>.
… <#m_-6043284037195056831_>
On Fri, Feb 3, 2023 at 12:27 AM Anand Inguva @.> wrote: The script
here https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
trains the Sklearn model required to run inference on Japanese housing
dataset IT test
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
. Now, the problem is we have a set of Sklearn models trained and saved in
GCS path. So we use that models for IT testing. But these models are not
forward compatible with newer version of sklearn. So to resolve this issue,
we would like to - create a script that could run and train the script
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da -
Save the trained models on a GCS location - Run the pipeline in the example
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
as IT test using the above saved model. - Add this setup to the Beam infra
and make sure this gets run as part of postcommit tests(I can help here
once the above thing is done) — Reply to this email directly, view it on
GitHub <#24903 (comment)
https://github.com/apache/beam/issues/24903#issuecomment-1414215656>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y
https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y
. You are receiving this because you commented.Message ID: @.>
Thanks I will take a look soon
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1480261200, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLQKWU4DP5TUTCWBJJLW5NSZ7ANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you were assigned.Message ID:
@.***>

I tried adding you as a reviewer but I think because my code is not able to
pass the RAT test it is not giving me the permission of adding a reviewer.
On Thu, Mar 23, 2023 at 2:37 AM Anand Inguva @.***>
wrote:

Hello Anand, Hope you are doing well.Can you please review the pull
request [ #25926 https://github.com/apache/beam/pull/25926] <#25926
https://github.com/apache/beam/pull/25926%5D.And>.
… <#m_-1917160400074648902_>
On Fri, Feb 3, 2023 at 12:27 AM Anand Inguva @.> wrote: The script
here https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
trains the Sklearn model required to run inference on Japanese housing
dataset IT test
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
. Now, the problem is we have a set of Sklearn models trained and saved in
GCS path. So we use that models for IT testing. But these models are not
forward compatible with newer version of sklearn. So to resolve this issue,
we would like to - create a script that could run and train the script
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da
https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da -
Save the trained models on a GCS location - Run the pipeline in the example
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
as IT test using the above saved model. - Add this setup to the Beam infra
and make sure this gets run as part of postcommit tests(I can help here
once the above thing is done) — Reply to this email directly, view it on
GitHub <#24903 (comment)
https://github.com/apache/beam/issues/24903#issuecomment-1414215656>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y
https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y
. You are receiving this because you commented.Message ID: @.>
Thanks I will take a look soon
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/24903#issuecomment-1480261200, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUA2XLQKWU4DP5TUTCWBJJLW5NSZ7ANCNFSM6AAAAAATSCNU4Y
.
You are receiving this because you were assigned.Message ID:
@.***>

Thanks for the reply Anand .And can you please do me a favour ,I have prepared a Proposal for a project named Sentimental Analysis for GSOC2023 can you please review it and give me a feedback.I did sent to the dev mailing list but no one replied,so can you please take some time out and do it , it would mean great to me. Project link: https://docs.google.com/document/d/1U6zcXAWsDCrWlbf14f5VlLqPZFucwXR48tD7mrERW-g/edit Your Sincerely Siddharth Aryan On Thu, Mar 23, 2023 at 2:37 AM Anand Inguva @.> wrote:
…
Hello Anand, Hope you are doing well.Can you please review the pull request [ #25926 <#25926>] <#25926 <#25926>%5D.And>. … <#m_-6043284037195056831_> On Fri, Feb 3, 2023 at 12:27 AM Anand Inguva @.> wrote: The script here https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da trains the Sklearn model required to run inference on Japanese housing dataset IT test https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py . Now, the problem is we have a set of Sklearn models trained and saved in GCS path. So we use that models for IT testing. But these models are not forward compatible with newer version of sklearn. So to resolve this issue, we would like to - create a script that could run and train the script https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da - Save the trained models on a GCS location - Run the pipeline in the example https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py as IT test using the above saved model. - Add this setup to the Beam infra and make sure this gets run as part of postcommit tests(I can help here once the above thing is done) — Reply to this email directly, view it on GitHub <#24903 (comment) <#24903 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y https://github.com/notifications/unsubscribe-auth/AUA2XLT34RXU7SD7ENEPOADWVP7Q5ANCNFSM6AAAAAATSCNU4Y . You are receiving this because you commented.Message ID: @.> Thanks I will take a look soon — Reply to this email directly, view it on GitHub <#24903 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUA2XLQKWU4DP5TUTCWBJJLW5NSZ7ANCNFSM6AAAAAATSCNU4Y . You are receiving this because you were assigned.Message ID: @.**>

Yes, I will take a look. I see that you have attached the doc itself. I replied on the dev@ to share the doc link for better visibility and feedback from the others as well. Please share the google doc link of your proposal there. In the mean time, I will go through the proposal soon.

I have provided the google doc link.You can now go and review it..And thanks for the tremendous support and patience.


Add OpenBSD Support

Minor nob modifications to support compiling on OpenBSD.
Hot reloading seems to work, so does rendering.
The audio when playing an audio file sounds very slowed down, too bad, I don't know how to fix it. Everything else works :)

On FreeBSD dl* functions live in libc. On linux ld* functions placed in a separate library (libdl). It seems to me that the situation with OpenBSD is similar to the situation with FreeBSD. Possible solution: ln -s /usr/lib/libc.so /usr/lib/libdl.so as root. @LainLayer It seems to me that it is better to use the same implementation of nob on linux and BSD, put the -ldl flag in a separate call to the nob_cmd_append function and wrap it in ifdef-endif. And maybe rename target from LINUX to UNIX.
BSD detection (see boost/bsd.hpp):
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
// You code here...
#endif

Note that this is only MY opinion. It is better to wait rexim reply.

@ismagilli I was think about making a more general POSIX build sort of speak. But I'll do it myself later.
Thank you for the contribution guys!


MemoryError when train the model

MemoryError when train the model, I want to know how large the memory does the model need if I train the model, thx

Have you solved this problem?

I have got the memory error while trying to train the model. Is there a solution to it ? anyone please ?

Traceback (most recent call last):
File "/media/aafaq/Data/PycharmProjects/show-attend-and-tell/train.py", line 25, in
File "/media/aafaq/Data/PycharmProjects/show-attend-and-tell/train.py", line 8, in main
word_to_idx = data['word_to_idx']
File "/media/aafaq/Data/PycharmProjects/show-attend-and-tell/core/utils.py", line 13, in load_coco_data
data['features'] = hickle.load(os.path.join(data_path, '%s.features.hkl' %split))
File "/usr/local/lib/python2.7/dist-packages/hickle.py", line 624, in load
py_container = _load(py_container, h_root_group)
File "/usr/local/lib/python2.7/dist-packages/hickle.py", line 749, in _load
py_subcontainer = _load(py_subcontainer, h_node)
File "/usr/local/lib/python2.7/dist-packages/hickle.py", line 756, in _load
subdata = load_dataset(h_group)
File "/usr/local/lib/python2.7/dist-packages/hickle.py", line 662, in load_dataset
return np.array(data)
MemoryError
Anyone else encountered this ?

Do you have enough RAM (or virtual memory)?

I have 32GB RAM and 12GB GPU. available memory is around 28GB. But one file size is around 33.1 GB. Were you able to reproduce the results. Any idea whats wrong. Thanks

@nayyeraafaq  Did you solve memory error?? how did you solve this problem?

reduce the batch size

Reduce batch size does not work. You can increase the swap space if you work in Linux.

Reduce batch size does not work. You can increase the swap space if you work in Linux.

Same issue and your suggestion worked for me. Follow this link to add up your swap space.
https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04


opentelemetry-collector fails to deploy on IPv6 EKS cluster

I've followed the instructions on the honeycomb blog, which was pretty easy, and was slightly surprised when the deployed collectors failed with
Error: invalid configuration: receivers::jaeger: invalid port number for the gRPC endpoint: endpoint is not formatted correctly: address 2a05:d01c:997:3200:abcd::1:14250: too many colons in address

I've eventually got it to work with the following terraform, that should also be easily translatable into the regular values.yaml:
resource "helm_release" "otelcol-node" {
  name       = "otelcol-node"
  repository = "https://open-telemetry.github.io/opentelemetry-helm-charts"
  chart      = "opentelemetry-collector"
  timeout    = 60
  values = [yamlencode({
    mode = "daemonset"
    resources = {
      requests = {
        cpu    = "100m"
        memory = "128Mi"
      }
    }
    config = {
      exporters = {
        otlp = {
          endpoint = "api.honeycomb.io:443"
          headers = {
            "X-Honeycomb-Team"    = var.honeycomb_api_key
            "X-Honeycomb-Dataset" = "kubernetes-metrics"
          }
        }
      }
      receivers = {
        jaeger = null
        otlp = {
          protocols = {
            grpc = {
              endpoint = "[$${env:MY_POD_IP}]:4317"
            }
            http = {
              endpoint = "[$${env:MY_POD_IP}]:4318"
            }
          }
        }
        prometheus = null
        zipkin     = null
      }
      service = {
        telemetry = {
          metrics = {
            address = "[$${env:MY_POD_IP}]:8888"
          }
        }
        pipelines = {
          traces = {
            receivers = ["otlp"]
            exporters = ["otlp"]
          }
          metrics = {
            receivers = ["otlp"]
            exporters = ["otlp"]
          }
          logs = {
            receivers = ["otlp"]
            exporters = ["otlp"]
          }
        }
      }
    }
    presets = {
      hostMetrics          = { enabled = true }
      kubeletMetrics       = { enabled = true }
      kubernetesAttributes = { enabled = true }
      logsCollection       = { enabled = true }
    }
  })]
}

resource "helm_release" "otelcol-cluster" {
  name       = "otelcol-cluster"
  repository = "https://open-telemetry.github.io/opentelemetry-helm-charts"
  chart      = "opentelemetry-collector"
  timeout    = 60
  values = [yamlencode({
    mode = "deployment"
    resources = {
      requests = {
        cpu    = "100m"
        memory = "128Mi"
      }
    }
    config = {
      exporters = {
        otlp = {
          endpoint = "api.honeycomb.io:443"
          headers = {
            "X-Honeycomb-Team"    = var.honeycomb_api_key
            "X-Honeycomb-Dataset" = "kubernetes-metrics"
          }
        }
      }
      receivers = {
        jaeger = null
        otlp = {
          protocols = {
            grpc = {
              endpoint = "[$${env:MY_POD_IP}]:4317"
            }
            http = {
              endpoint = "[$${env:MY_POD_IP}]:4318"
            }
          }
        }
        prometheus = null
        zipkin     = null
      }
      service = {
        telemetry = {
          metrics = {
            address = "[$${env:MY_POD_IP}]:8888"
          }
        }
        pipelines = {
          traces = {
            receivers = ["otlp"]
            exporters = ["otlp"]
          }
          metrics = {
            receivers = ["otlp"]
            exporters = ["otlp"]
          }
          logs = {
            receivers = ["otlp"]
            exporters = ["otlp"]
          }
        }
      }
    }
    presets = {
      clusterMetrics       = { enabled = true }
      kubernetesAttributes = { enabled = true }
      kubernetesEvents     = { enabled = true }
    }
  })]
}

When the IP address ends in :: I'm still getting a single agent stuck crashlooping on:
Error: failed to get config: cannot resolve the configuration: expanding ${env:MY_POD_IP}, expected convertable to string value type, got map["2a05:d01c:997:3200:3bb0:":<nil>](map[string]interface {})

@DavidS-om it looks like you solved your issue by setting .Values.config.receivers.jaeger to null and then not including it in the traces pipeline, but it is not clear to me why your install got an error. By default the helm chart configures the jaeger receiver like
  receivers:
    jaeger:
      protocols:
        grpc:
          endpoint: ${env:MY_POD_IP}:14250
        thrift_http:
          endpoint: ${env:MY_POD_IP}:14268
        thrift_compact:
          endpoint: ${env:MY_POD_IP}:6831

and it appears that env:MY_POD_IP is formatted correctly for the other receivers.

Our CI does not test this chart in a IPv6 environment so I'm getting that's is the issue.

@DavidS-om it looks like you solved your issue by setting .Values.config.receivers.jaeger to null and then not including it in the traces pipeline, but it is not clear to me why your install got an error. By default the helm chart configures the jaeger receiver like
  receivers:
    jaeger:
      protocols:
        grpc:
          endpoint: ${env:MY_POD_IP}:14250
        thrift_http:
          endpoint: ${env:MY_POD_IP}:14268
        thrift_compact:
          endpoint: ${env:MY_POD_IP}:6831

and it appears that env:MY_POD_IP is formatted correctly for the other receivers.

The collector aborts after encountering the first error. Everything else also needed fixed. The correct syntax for IP:PORT in IPv6 is [abcd:...:ef09]:PORT (note the extra square brackets.

I don't think we can do that without breaking IPv4 support.

Yeah, I was pretty surprised that k8s doesn't provide any indication in status.podIP wheter it is a v4 or v6 address.

This sounds like it might point to a bug in the hostport parsing -- Go's SplitHostPort function knows how to do this.

@kentquirk the values.yaml is building the endpoint string itself with the assumption that the value from k8s downward api sets MY_POD_IP with a usable ip address.

... with the assumption that the value from k8s downward api sets MY_POD_IP with a usable ip address.

... with a usable IPv4 address.

For future reference, this is the "minimal" config I settled on to deploy a k8s metrics/logs-only collector:
resource "helm_release" "otelcol-node" {
  name       = "otelcol-node"
  repository = "https://open-telemetry.github.io/opentelemetry-helm-charts"
  chart      = "opentelemetry-collector"
  timeout    = 60
  values = [yamlencode({
    mode = "daemonset"
    resources = {
      requests = {
        cpu    = "100m"
        memory = "128Mi"
      }
    }
    config = {
      exporters = {
        otlp = {
          endpoint = "api.honeycomb.io:443"
          headers = {
            "X-Honeycomb-Team"    = var.honeycomb_api_key
            "X-Honeycomb-Dataset" = "kubernetes-metrics"
          }
        }
      }
      receivers = {
        jaeger     = null
        otlp       = null
        prometheus = null
        zipkin     = null
        hostmetrics = {
          collection_interval = "60s"
        }
        kubeletstats = {
          collection_interval = "60s"
        }
      }
      service = {
        telemetry = {
          metrics = {
            address = "localhost:8888"
          }
        }
        pipelines = {
          traces = null
          metrics = {
            receivers = []
            exporters = ["otlp"]
          }
          logs = {
            receivers = []
            exporters = ["otlp"]
          }
        }
      }
    }
    presets = {
      hostMetrics          = { enabled = true }
      kubeletMetrics       = { enabled = true }
      kubernetesAttributes = { enabled = true }
      logsCollection       = { enabled = true }
    }
  })]
}

resource "helm_release" "otelcol-cluster" {
  name       = "otelcol-cluster"
  repository = "https://open-telemetry.github.io/opentelemetry-helm-charts"
  chart      = "opentelemetry-collector"
  timeout    = 60
  values = [yamlencode({
    mode = "deployment"
    resources = {
      requests = {
        cpu    = "100m"
        memory = "128Mi"
      }
    }
    config = {
      exporters = {
        otlp = {
          endpoint = "api.honeycomb.io:443"
          headers = {
            "X-Honeycomb-Team"    = var.honeycomb_api_key
            "X-Honeycomb-Dataset" = "kubernetes-metrics"
          }
        }
      }
      receivers = {
        jaeger     = null
        otlp       = null
        prometheus = null
        zipkin     = null
        k8s_cluster = {
          collection_interval = "60s"
        }
      }
      service = {
        telemetry = {
          metrics = {
            address = "localhost:8888"
          }
        }
        pipelines = {
          traces = null
          metrics = {
            receivers = []
            exporters = ["otlp"]
          }
          logs = {
            receivers = []
            exporters = ["otlp"]
          }
        }
      }
    }
    presets = {
      clusterMetrics       = { enabled = true }
      kubernetesAttributes = { enabled = true }
      kubernetesEvents     = { enabled = true }
    }
  })]
}

Found this issue after encountering something similar, but also slightly different after.
For future references of people coming to this.
Simply replacing ${env:MY_POD_IP}:<port> to an IPv6 format of [${env:MY_POD_IP}]:<port> could result in occasional failures like these.
Error: failed to resolve config: cannot resolve the configuration: expanding ${env:MY_POD_IP}, expected convertable to string value type, got map["2600:1f16:96c:6866:53c0:":<nil>](map[string]interface {})
2023/12/06 19:47:24 collector server run finished with error: failed to resolve config: cannot resolve the configuration: expanding ${env:MY_POD_IP}, expected convertable to string value type, got map["2600:1f16:96c:6866:53c0:":<nil>](map[string]interface {})

It's unclear why the expansion logic sees MY_POD_IP as a map instead of a string.
For people running IPv6 cluster, it's probably easier to just replace all as [::]:<port> which is similar to <IP_ADDRESS>:<port> in IPv4.

it was quoted but I still got that error, and it's not consistent.
anyways, :<port> works fine so it might be better to change the default to that format.

vou tentar com => "'${env:MY_POD_IP}':8888"

 ## The chart only includes the loggingexporter by default
  ## If you want to send your data somewhere you need to
  ## configure an exporter, such as the otlpexporter
  # Base collector configuration.
  config:
    exporters:
      otlp:
        endpoint: "tempo-distributor.observability.svc.cluster.local:4317"
        tls:
          insecure: true
    extensions:
      # The health_check extension is mandatory for this chart.
      # Without the health_check extension the collector will fail the readiness and liveliness probes.
      # The health_check extension can be modified, but should never be removed.
      health_check:
        endpoint: "<IP_ADDRESS>:13133"
      memory_ballast: {}
    processors:
      batch: {}
      # If set to null, will be overridden with values based on k8s resource limits
      memory_limiter: null
    receivers:
      jaeger:
        protocols:
          grpc:
            endpoint: "<IP_ADDRESS>:14250"
          thrift_http:
            endpoint: "<IP_ADDRESS>:14268"
          thrift_compact:
            endpoint: "<IP_ADDRESS>:6831"
      otlp:
        protocols:
          grpc:
            endpoint: "<IP_ADDRESS>:4317"
          http:
            endpoint: "<IP_ADDRESS>:4318"
      prometheus:
        config:
          scrape_configs:
            - job_name: opentelemetry-collector
              scrape_interval: 10s
              static_configs:
                - targets:
                    - "<IP_ADDRESS>:8888"
      zipkin:
        endpoint: "<IP_ADDRESS>:9411"
    service:
      telemetry:
        metrics:
          address: "<IP_ADDRESS>:8888"
      extensions:
        - health_check
        - memory_ballast
      pipelines:
        logs:
          exporters:
            - debug
          processors:
            - memory_limiter
            - batch
          receivers:
            - otlp
        metrics:
          exporters:
            - debug
          processors:
            - memory_limiter
            - batch
          receivers:
            - otlp
            - prometheus
        traces:
          exporters:
            - debug
          processors:
            - memory_limiter
            - batch
          receivers:
            - otlp
            - jaeger
            - zipkin

This helm values work for me on IPv6 EKS Cluster.


Makefile: add epub target

No view-epub target because I'm not aware of a standard way that would
be useful.

Thanks @jedbrown ! I used calibre, because that was one that I could install via apt. Were you going to work on #118 ?

I just saw it and wanted to reproduce, but don't have time to do anything nontrivial at the moment. Okular also reads EPUB, FWIW.


Cannot add mount to Windows 2012 R2 Server

Description
I am attempting to mount a network share on Windows 2012 R2 Server however it seems the mount is never really being mounted to the OS.  I am logging directly on to the node and then executing "chef-client" from PowerShell as an administrator.
When I run chef-client, it finishes successfully however nothing is mounted... My "puts" expression is showing the value of "#{node['mount_repo']['windevice']}" however is seems the device is not being interpreted within the "mount" block. (see code below).
Any help would be greatly appreciated...
Thanks,
Steve
Chef Version
Chef client version is 12.12.15
Platform Version
Operating system is Windows 2012 R2 (x86_64)
Chef client version is 12.12.15
Replication Case
My default.rb recipe's code is as follows:
if platform?("windows")
    puts "Mounting #{node['mount_repo']['windevice']} to #{node['mount_repo']['windir']}..."
    mount node['mount_repo']['windir'] do
      device "#{node['mount_repo']['windevice']}"
      username "#{node['mount_repo']['winuser']}"
      password "#{node['mount_repo']['winpasswd']}"

      action :mount
        end
else
    mount node['mount_repo']['nixdir'] do
      action :mount
      device "#{node['mount_repo']['nixdevice']}"
        end
end

When I run the chef-client, the "puts" command is showing the value of  #{node['mount_repo']['windevice']} however it seems it is not being interpreted within the "mount" block.
Client Output
PS C:\Windows\system32> chef-client
Starting Chef Client, version 12.12.15
resolving cookbooks for run list: ["mount_repo"]
Synchronizing Cookbooks:
  - mount_repo (0.1.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Mounting \\123.456.789.10\stage to W:...
Converging 1 resources
Recipe: mount_repo::default
  * mount[W:] action mount
    - mount  to W:

Running handlers:
Running handlers complete
Chef Client finished, 1/1 resources updated in 18 seconds

Stacktrace
Please include the stacktrace.out output or link to a gist of it, if there is one.
NOTE: CHEF CLIENT BUGS ONLY
This issue tracker is for the code contained within this repo -- chef-client, base knife functionality (not
plugins), chef-apply, chef-solo, chef-client -z, etc.

Server issues
ChefDK issues
Cookbook Issues (see the https://github.com/chef-cookbooks repos or search Supermarket or GitHub/Google)

@sconicelli can you still produce this? can you share a log file from a chef-client -l debug run?

Closing this as unanswered. Retested on Windows 2016 and Chef Client 14.3.37 and the mount resource seems to work normally.
C:\Users\Administrator>type repro.rb
mount 'W:' do
  device '\\\\<IP_ADDRESS>\\opscode'
  username 'Administrator'
  password 'P2ssw0rd'
  domain ENV['COMPUTERNAME']
  action :mount
end

C:\Users\Administrator>chef-apply repro.rb
Recipe: (chef-apply cookbook)::(chef-apply recipe)
  * mount[W:]
    - mount  to W:

C:\Users\Administrator>net use
New connections will be remembered.

Status       Local     Remote                    Network

-------------------------------------------------------------------------------
OK           W:        \\<IP_ADDRESS>\opscode   Microsoft Windows Network
The command completed successfully.


feat: live check on heat map

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Related to #484

This isn't the first time I've gotten this error I believe.
Error response from daemon: driver failed programming external connectivity on endpoint telephone-number-validator (e492a0e51f8a823eaa3153851ca668b1a19ee769aefee433de1c48f548f3ebe5): Error starting userland proxy: listen tcp4 <IP_ADDRESS>:50320: bind: address already in use


HIVE-27374: Exception while getting kafka delegation tokens in Kerberos/SSL enabled clusters

What changes were proposed in this pull request?

Pick-up user defined security.protocol to obtain the delegation token.
Propagate all necessary SSL properties to Kafka client retrieving the token.
Add KafkaUtils#securityProtocol utility function for fetching the protocol from properties and refactor
KafkaDagCredentialSupplier#isTokenRequired to use it.
Accept fetching Kafka stores from any location; the main motivation is to accept paths to the local file system to facilitate testing without having to setup a DFS cluster. Anyways if the copy fails a proper IO exception will be raised with more details about what went wrong.
Adapt exception in KafkaUtilsTest based on changes in store fetching
Create and configure a SAML_SSL enabled listener in KafkaBrokerResource to allow tests with SSL.

Why are the changes needed?
The Kafka client that is used to obtain the token from the Kafka broker ignores the user defined security.protocol defined in the table properties (and pretty much every SSL configuration) thus the connection between the two cannot be established and an exception is raised. In order to avoid the problem, all the user-defined SSL properties must be propagated to the Kafka client retrieving the token.
Does this PR introduce any user-facing change?
No
Is the change a dependency upgrade?
No
How was this patch tested?
New + existing tests of the Kafka storage handler
cd kafka-handler/ && mvn test

I put 1 nitty nit, otherwise this patch does make the code better than it was. Code dedup, new tests, and fixing an issue, nice!

Minor comment, Changes LGTM +1, Thanks @zabetak

Thanx Stamatis, good from my side, have already approved


create basic implementation for web5.dwn

it's currently a bit crude in that there's only a single "default" profile, and callers of web5.dwn.processMessage can modify all of the user's DWN, but it's at least something a proof of concept :)

nice


Use vscode as textarea in my webpage to edit code

I have a website built by mean-stack, and a page containing a textarea to edit some web code (html & css & javascript) like a playground. I used to use ui-codemirror and ui-ace to implement this textarea, but now, I am wondering if it is possible to use vscode?
So my questions are:

is it legal, given the IP of my website does not belong to Microsoft?
does vscode work well with angularjs 1.6 or 1.5 (ie, ng-model)?
is there any tutorial to let me get started?

Thank you

You probably want the Monaco editor: https://github.com/Microsoft/monaco-editor It is licensed under the MIT License and should work with any framework with the correct adapters


wait-serial with custom chip output

hello @urish !
overview: I created a custom chip that emulates the behavior of an I2C IMU, my idea is that I can check if students are correctly accessing the register bank to make settings on the sensor, or if they can read specific values and process them (with the aim of extracting information from the manual and implementing it correctly in code).
My original idea would be to put some printfs on the custom chip, when the student writes/reads and check this in test.yml with wait-serial, as illustrated below:
- wait-serial: '[chip-i2c-counter] mpu6050 write reg[0x6C]=128

But now I realized that wait-serial doesn't check the output of the custom chip, any suggestions on what we can do? Maybe create a wait-serial-custom-chip? Or add the custom chip log to the serial output?
The log is there, but we cant check!

Hi Rafael!
I was actually thinking about a different mechanism:
Provide an API for chips to declare some kind of output variables, which will complement the "controls" that provide inputs to the chip.
For instance, a chip implementing a servo controller could declare an "angle" output variable, and then the tests could read this variable and assert on its value. And like controls, these output variables will only support floating point values (at least initially).
Would that also be useful for your use case?

Hi! I think this is more complex than necessary because we will need to handle different variable types. What if the angle is a float, or what if it's an array? How would we check for these different kinds of data?

Make sense - output variables may still be useful for more constrained use cases (e.g. angle of a servo), but I agree that just looking for a specific pattern in the chip output can be very useful.


out_of_memory_recovery_test flaking and timing out

out_of_memory_recovery_test is flaky on multiple configurations

current test status
Log MacOS arm64
The flakiness started recently on some configurations:

The last new result being yesterday.
It might be https://github.com/dart-lang/sdk/commit/305c3e30c6aea9c05a1abec35eb5f7e09f716348, as it was the only GC commit yesterday. Those GC tweaks might have caused both https://github.com/dart-lang/sdk/issues/48920#issuecomment-1155161819 and this test to slow down.
@rmacnak-google could you investigate if your GC change could have caused this? If that isn't the culprit, I can dive deeper into what happened that made this test slower.

Same test went from Pass to Timeout again today on the same configuration: log.

Probably was either issues with the test (it's not necessarily the case that a scavenge will be abort before we hit OOM) and the GC (need reset progress bars on aborted scavenge, etc) that have been recently fixed.


Prepare release of SDK 1.9.0

Please review and complement the release notes.

I'm merging this, as it was approved previously, and we have the green light for the release.


Save session dialog woes on Windows

Tried to save a session on windows, received the error message and dialog as shown in the attached screen shots. Upshot is that the drive letter for the 'VISITUSERHOME' path (should be something like C:\Users<name>\Documents\VisIt), was stripped off the path and used as the host instead. Then path reverted to HOME (C:\Users<Name>)
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2380
Status: Resolved
Project: VisIt
Tracker: Bug
Priority: High
Subject: Save session dialog woes on Windows
Assigned to: Brad Whitlock
Category: -
Target version: 2.10
Author: Kathleen Biagas
Start: 09/18/2015
Due date:
% Done: 0%
Estimated time:
Created: 09/18/2015 07:08 pm
Updated: 09/23/2015 08:15 pm
Likelihood: 4 - Common
Severity: 3 - Major Irritation
Found in version: trunk
Impact:
Expected Use:
OS: Windows
Support Group: Any
Description:
Tried to save a session on windows, received the error message and dialog as shown in the attached screen shots. Upshot is that the drive letter for the 'VISITUSERHOME' path (should be something like C:\Users<name>\Documents\VisIt), was stripped off the path and used as the host instead. Then path reverted to HOME (C:\Users<Name>)
Comments:


Support DebugFission format?

See https://gcc.gnu.org/wiki/DebugFission. Unclear whether it's more than split DWARF and whether it's covered by gimli already. Needs some more research.
Edit: As per a discussion, DebugFission seems to be the "codename" for dwo-style split DWARF. DebugFission-dwp then is for dwp-style split DWARF.

Closing this issue in favor of https://github.com/libbpf/blazesym/issues/60


Visma scraper doesn't work. Warning sign appear!

ENVIRONMENT:
https://admin.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
Enter URL in browser
Go to "https://admin.peviitor.ro/" and check "Cont" from top bar
Click on "Scraperi"
Click on "Actualizeaza" button
Click on figure "Scrapy_peviitor_jobs" pictures
Check VISMA scraper
Click on VISMA scraper
EXPECTED RESULTS:
VISMA scraper must to run .
ACTUAL RESULTS:
Scraper don't work. Warning sign appear - see below screenshot:

On 14.12.2024 same problem is valid .

Scraper not running


New Feature as requirement

Hi,
Can you disable multiple scrolling of items...?

Do you mean you want to scroll one by one?
If so, you can archive by setting msrv_interval=1.

I did it and if i swipe pretty fast two items getting swipe not one

@TakuSemba I did it and if i swipe pretty fast two items getting swipe not one

Yea, that's because you scrolled overly more than 2 items at once (the speed doesn't matter).
Unfortunately, there is no way to force it to scroll one by one.
It might scroll multiple items if you overly scroll through multiple items, otherwise, the scroll goes back and gets weird.

But there is a library in which it allows to scroll one by one but i couldnt understand that code ..... So i thought you may help over this :-(


LOAD FILE is not being highlighted

Hi there! I'm studying for an exam at the moment so I can't fix this (I will do it later if you don't fix it first) but I've noticed that LOAD FILE is not being highlighted. I didn't find the load keyword on your syntax file so maybe that's what's missing.
Have a great day!

Thanks, this and the other issue should be fixed in the new version!

Great!


Consistent criteria definitions need to be present in all individual sources

Criteria definitions are present in 1) some but not all audits.toml sources and 2) use inconsistent descriptions:

Fuchsia and ChromiumOS copy the full description text

google3 doesn't have any criteria definitions (this makes this audits.toml file non-importable - it gets zero valid_criteria here)

Chromium currently only populates the description-url value:

This doesn't work with how cargo vet wants to download the description of a single criteria, but we link to descriptions of all criteria (the #text-anchor from the links is ignored when fetching).
This also prevents adding Chromium to sources.list because cargo aggregate will complain about mismatched criteria descriptions (hopefully https://github.com/mozilla/cargo-vet/issues/593 will make this easier to diagnose in the future)

Proposal: edit Fuchsia, ChromiumOS, and Chromium to consistently use audits.toml format like:
[criteria.ub-risk-2]
description = """
Negligible unsoundness - average good crate.

For full description see:
https://github.com/google/rust-crate-audits/blob/main/auditing_standards.md#ub-risk-2
"""

(We'll have to coordinate landing the Fuchsia and ChromiumOS changes, because if there is a temporary description mismatch then cargo aggregate CI will stop working.)

Oh, and we've also discussed adding the criteria definitions to manual-sources/google3-audits.toml in this repo.

I am not sure how we can settle on the exact wording.  For the ub-risk-N criteria, my initial concrete proposal can be found here: https://fuchsia-review.git.corp.google.com/c/fuchsia/+/995606/1/third_party/rust_crates/supply-chain/audits.toml.
FWIW, I've also learned that ChromeOS doesn't cover ub-risk-N (this is lucky for us / for this issue - it means that there is no need to simultaneously edit the criteria descriptions in Fuchsia and ChromeOS).  I am not sure if there is a need to shorten the crypto-related descriptions in ChromeOS - maybe they can just be copied verbatim to Chromium's and google3's audits.toml files.

This issue should be mostly fixed by the following changes:

https://fuchsia-review.git.corp.google.com/c/fuchsia/+/995606
https://chromium-review.googlesource.com/c/chromium/src/+/5328059
https://github.com/google/rust-crate-audits/pull/13

After the changes above if a criteria is used in any of Chromium, ChromiumOS, Fuchsia, google3, then the criteria should have the same description everywhere - this covers the following criteria:

crypto-safe
does-not-implement-crypto
ub-risk-0
ub-risk-1
ub-risk-2
ub-risk-3
ub-risk-4

OTOH I note that some criteria are not universally used.  This is probably okay, but when adding these criteria to other projects, care should be taken to use the exact same descriptions (otherwise the cargo aggregate CI workflow will stop working).  Examples of such criteria include:

rule-of-two-safe-to-deploy (only used by Chromium OS)
ub-risk-1-thorough (not used anywhere) and ub-risk-2-thorough (used in a few audits in google3-audits.toml)