Temperature range and 8 degree mode

This works very well with my Electrolux heat pump, but the available temp.range in home assistant goes to 17 degrees but in Electrolux app it goes down to 16.
Also, in the Electrolux app there is a 8 degree mode (which actually sets the pump to 10 degrees) can that be added to the integration?

Hi,
The 8 degree heat mode is actually part of the Broadlink extension I wrote, however I don't believe HomeAssistant supports custom modes for the climate component. I have very limited experience with Python and HA so I'm not sure how to add configuration for the temperature range. You could fork the project and update the MIN_TEMP here and here.

Ah I see, yeah you are right. It seems from here that only built-in HVAC modes are allowed.
So either utilize an unused mode like HEAT_COOL for HEAT_8 even if the naming will mismatch, or use a preset like AWAY.
I could only wish for limited experience, mine are non existent. But maybe some day if I feel brave

I made a fork and modified the elux mode HEAT_8 to match hvac mode HEAT_COOL. Also adjusted min temp range to 16 degrees. Works fine for me so I created a pull request #5
Not sure if it is useful to anyone else and should be merged or not, really don't know how to behave in the github and open source world.


Fix/tutorials execution ci

Follow up on https://github.com/kornia/tutorials/pull/65

@ducha-aiki did something change in kornia_moons ?

@edgarriba no. And it works locally for my python 3.10 env.
We discussed that in slack
https://kornia.slack.com/archives/C0102FPN884/p1694997707987449

we will need a new version of kornia moons with a hotfix for this move-on

mpl still mad about the same issue 🤔


[Virus Detect on Starting Bot] HackTool:MSIL/Stimilani.A

Error Show on  SpawnBotThread(BotConfig);
Line 388 of BotManager.cs.
Could not load file or assembly 'SteamTrade, Version=<IP_ADDRESS>658, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Operation did not complete successfully because the file contains a virus or potentially unwanted software. (Exception from HRESULT: 0x800700E1)

Probably a false positive
On Wed, 23 Oct 2019, 08:22 kyilintun2017<EMAIL_ADDRESS>wrote:

Error Show on SpawnBotThread(BotConfig);
Line 388 of BotManager.cs.
Could not load file or assembly 'SteamTrade, Version=<IP_ADDRESS>658,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. Operation
did not complete successfully because the file contains a virus or
potentially unwanted software. (Exception from HRESULT: 0x800700E1)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Jessecar96/SteamBot/issues/1155?email_source=notifications&email_token=ACQGRIK33TYRXFFQQWLC6J3QP7UUFA5CNFSM4JD4OBS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HTWZWYA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACQGRIMQU7PTF4GGMIRGRP3QP7UUFANCNFSM4JD4OBSQ
.

For Visual Refernece. Please kindly advise.

Just add the whole project folder to exclusions in your AV
On Thu, 24 Oct 2019, 03:24 kyilintun2017<EMAIL_ADDRESS>wrote:

For Visual Refernece. Please kindly advise.
[image: image]
https://user-images.githubusercontent.com/26317504/67445563-ee20a480-f63f-11e9-9b39-5c23660bc375.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Jessecar96/SteamBot/issues/1155?email_source=notifications&email_token=ACQGRIMB7KNHVIYFWPA52BTQQD2LVA5CNFSM4JD4OBS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECDLZGI#issuecomment-545701017,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACQGRIKV23GDE3LFNLLJ743QQD2LVANCNFSM4JD4OBSQ
.

ok thanks for the reply. I'll try.


Tracking issue of GSP-729: Redesign HTTP Signer

Rendered RFC

Steps

[ ] Mark HTTPSigner and QuerySignHTTP() as deprecated.
[ ] Add StorageHTTPSigner interface and operations in definitions.
[ ] Implement integration test.
[ ] Update docs in site (Add descriptions for the operaiton and a doc for migration from Reacher to QuerySignHTTPRead).

Maybe we need to release v4.7.0 before we implement it service side?


Show error message when lrs data is incorrect

When there is incorrect LRS information in the wp-swag plugin, the 'my account' page shows a paragraph of text that isn't very useful. It should explain the problem and how to solve it.

This issue was moved to tunapanda/wp-swag#8


Add vk button

fixes #46
Also added new line character to Whatsapp SVG section.

This looks great! 👏
One tiny thing, embedding the VK share script actually does 3 requests and fetches 6.3kb. Could you update those values?
I tested this by creating a index.html file with these contents:
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Test</title>
		<!-- Put this script tag to the <head> of your page -->
		<script type="text/javascript" src="https://vk.com/js/api/share.js?94" charset="windows-1251"></script>

	</head>
	<body>
		<!-- Put this script tag to the place, where the Share button will be -->
		<script type="text/javascript"><!--
		document.write(VK.Share.button(false,{type: "round", text: "Share"}));
		--></script>
	</body>
</html>

(this was just copied from the VK share button site above)
This is what I see in the DevTools network tab:

As you can see it loads the script itself, which injects another script tag into the HEAD and fetches an image. All together that's three requests that weigh 6.3kb!

Now that we've merged the HackerNews support in #74 you'll need to rebase on top of master. Sorry for the troubles! (this video should help in case you've never rebased before!)

Deploy preview failed.
Built with commit 2df31fa91a8dc652069e01cba9f2ddc505ed17fb
https://app.netlify.com/sites/sharingbuttons/deploys/5842f69ed6865d54ae504ff9

Deploy preview failed.
Built with commit 96147e8809246c0e22477e7fb78a12d250d70340
https://app.netlify.com/sites/sharingbuttons/deploys/5842fa24d6865d2ad9504ff1

The deploy error seems to be on Netlify's side, your code looks great! This is the log I get:
6:00:20 PM: Build started
6:00:20 PM: API communication error. Canceling build.

Sounds like Netlify is down?! 😱
Anyhow, thanks very much, I'll merge this! Well done!!

Hey @mxstbr, just wanted to drop in and say thanks a lot for the timely and welcoming review comments 🙂. I worked with @aghh1504 on this PR today at @codebar's 24PRs event. Thanks for the friendly guidance and feedback!

It seems like Netlify is still having issues, as I'm still not seeing your great VK button on sharingbuttons.io 😭
I've reached out to their support team, I hope we'll have this resolved very soon. Sorry for the delay in getting your feature live!

Netlify is back, your VK button is now live! 🎉
http://sharingbuttons.io/

Thanks so much!

Thats great;) happy to help


Remove Toolbar

(Sprint C)
Multiple improvements to the top menu toolbar where the Add Element, Preview Map, etc. items are. The design is based off the doc ‘MAPS_RemoveToolbar_v3’. Requirements are listed below:
Map and Data Library Header

[ ] Remove Header - Move Maps/Data toggle down to menu left of Search (p. 1)
[x] Move Map View/Data View toggle control down and combine into single button. Label to display as "Table" when in map mode, label to display as "Map" when in table mode (p. 2 and 5)

Map View

[x] Move Map Title into separate Map Layer, name should still be editable (p. 2)
[x] Move Side-panel down so it is below the top toolbar (using Map Layer card styling) (p. 2)
[x] Move Edit Metadata fields into Map Layer (p. 3)
[x] Move Options into Map Layer (p. 3)
[x] Clicking Map Layer Collapse icon to collapse side panel. When side panel is collapsed, arrow icon should change to point in opposite direction (p. 4)
[x] Move table grid down to reveal second level toolbar (p. 5)
[x] Add Dataset title above grid to show current selected dataset. Name should change when new dataset is selected. If Map Layer is selected in Table view, the last active dataset remains active (p. 5 - 7)
[ ] Disable Annotate button in Data View
[x] Move back to library functionality under Actions (edit drop-down) with label "Go to My Maps". User to go back to Map Library whether in Map or Table view.

This PDF contains the visual wireframes for each of the items noted in this issue.
MAPS_RemoveToolbar_v3.pdf

Here is an updated version. Only change is the 'globe' icon in the top map
options menu.
On Thu, Jun 16, 2016 at 9:06 AM, Andrew Fink<EMAIL_ADDRESS>wrote:

This PDF contains the visual wireframes for each of the items noted in
this issue.
MAPS_RemoveToolbar_v3.pdf
https://github.com/cartodb-org/cartodb/files/318436/MAPS_RemoveToolbar_v3.pdf
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cartodb-org/cartodb/issues/44#issuecomment-226479315,
or mute the thread
https://github.com/notifications/unsubscribe/AEmtLMxQme4sGS3AHCwKATgS9tQFXRFyks5qMUprgaJpZM4IlzKz
.

--
Matt Forrest
Client Success Manager
CartoDB
201 Moore St, Brooklyn, NY, 11206, USA
T:<PHONE_NUMBER> Skype: mbforr
W: www.cartodb.com
Live sessions to learn CartoDB http://cartodb.com/webinars/

MAPS_RemoveToolbar_v4.pdf

Additional clarifications on this task, from @mbforr:

Leave privacy link as is, place to the left of new search bar
Implementation of search bar will be handled by the client
For annotations toolbar, make a fullscreen width grey bar that slides everything below it down when it appears. It should be added just below the header bar. This task should only be done when all other toolbar tasks are done.

Here are screen shots of the Annotation dropdown progress:
Drop down extended:

Drop down disabled in table view:

The primary issue at the moment is styling, in that the items on the annotate drop-down list are invisible unless moused over. This wasn't the case previously, so it was likely caused by the move in some way. Investigation for that is underway.


set EIP-1559 to not supported in network config for Geth v1.10.x and …

…lower

Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.
Why
The changes ensure compatibility and accurate configuration for different versions of Geth within test environments, specifically addressing network configuration based on the Geth version being used.
What

docker/test_env/geth_base.go

Added condition to set networkConfig.SupportsEIP1559 = false if comparableVersion < 110. This adjustment ensures that the test environment correctly reflects the capabilities of Geth versions prior to 1.10.x, where eth_maxPriorityFeePerGas is not implemented.

repo cleanup: no longer needed


fix #151 - add exception for FF for 201 202 204 205 codes

This is not ready to merge - see #151 for discussion.
To understand why, pull this branch and replace the 201 test with 200, then npm run browser, open in FireFox and watch it fail

Ok, that's the fix. Will merge+release soon.


How to reduce size of output to not be whole page?

Is there a way to set this up so that the output SVG will just the staves with music and not an entire empty page?

That does it.  Thanks.


Cylin fix create table via athena tf

to: @airbnb/streamalert-maintainers
related to:
resolves: #1186
Background
Hope this is the last bug I need to fix for this month 🤞
create_table (used to create table via athena api calls) and generate_data_table_schema  (used to create table via terraform) methods will throw error when the log name contains underscore, e.g. cloudwatch:test_match_types, although it doesn't error out when the log name contains dots, e.g. test:log.name.with.dots, thanks for recent fix #1197
I realize that FirehoseClient.load_enabled_log_sources() returns a dictionary about enabled logs where the key is sanitized log name and the value is the original log name defined either in conf/schemas/*.json or conf/logs.json. So we can use original log name and we don't need to do table.replace('_', ':', 1) anymore.
An example of the return value of FirehoseClient.load_enabled_log_sources() is
{
  'osquery_batch': 'osquery:batch',
  'osquery_differential': 'osquery:differential',
  'osquery_snapshot': 'osquery:snapshot',
  'osquery_status': 'osquery:status',
  'carbonblack_alert_status_updated': 'carbonblack:alert.status.updated',
  'carbonblack_alert_watchlist_hit_feedsearch_bin': 'carbonblack:alert.watchlist.hit.feedsearch.bin',
  'cloudwatch_events_dots_test_crazy_long_name_yay_hahahahaha': 'cloudwatch:events.dots-test.crazy.long_name_yay_hahahahaha',
  'cloudwatch_flow_logs': 'cloudwatch:flow_logs',
  'cloudwatch_rds_aurora': 'cloudwatch:rds_aurora'
}

Changes

Pass original log name to create_table and generate_data_table_schema methods
Add unit test cases

Testing

Unit test cases are passed
python manage.py build works correctly with cloudwatch, osquery and carbonblack logs enabled.

Coverage remained the same at 95.424% when pulling 0764605d97cb5dbdfc09ca8cd3016b5653736234 on cylin_fix_create_table_via_athena_tf into 5df970b265719be3c4a1ed7d10694aba09fdf09b on release-3-1-0.


Very candidacy before processing in PageLoaderMatcherPolicy

Fixes https://github.com/aspnet/AspNetCore/issues/13996

/cc @Pilchie for 3.1.0-preview3

Approved for 3.1.0-Preview3.


Icon and sound for data messages?

Hi,
Probably this is the Nth question on this topic, but I just cannot get this. According to the documentation, push notification messages do not invoke onMessageReceived callback when app is running in background. Data messages do it. Okay. Then:

How do I set tray icon for the message in the notification tray? Right now I get a white blank square. I tried adding data-meta tags in AndroidManifest.xml as shown here – no success.
How do I set sound?
If I cannot set icon + sound for data messages, then why they are shown in notification tray? It is pointless to show just a blank white square.
If I cannot set icon + sound – can I disable appearance in notification tray, but still get onMessageReceived callback executed?

For data messages, in the onMessageReceived you can create any kind of notification you want based on the message type. So you don't need to pass any notification info.
This is the example code from  MyFirebaseMessagingService.java:
	/**
	 * Create and show a simple notification containing the received FCM message.
	 *
	 * @param messageBody FCM message body received.
	 */
	private void sendNotification(String messageBody) {
		Intent intent = new Intent(this, MainActivity.class);
		intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
		PendingIntent pendingIntent = PendingIntent.getActivity(this, 0 /* Request code */, intent,
				PendingIntent.FLAG_ONE_SHOT);

		Uri defaultSoundUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
		NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
				.setSmallIcon(R.drawable.ic_stat_ic_notification)
				.setContentTitle("FCM Message")
				.setContentText(messageBody)
				.setAutoCancel(true)
				.setSound(defaultSoundUri)
				.setContentIntent(pendingIntent);

		NotificationManager notificationManager =
				(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);

		notificationManager.notify(0 /* ID of notification */, notificationBuilder.build());
	}

Here is one of my apps that does it this way:
Pushy Clipboard

Thank you for the reply, @opus1269 , but another portion of questions raises:

Will this work if the application is killed? If I understand correctly, I have to call sendNotification from onMessageReceived, but the latter won't get called when app is killed. And the notification will be already in tray. Or I miss something?

I just cannot get it – is this the only way to customize the notification? I mean, why the icon defined in AndroidManifest.xml is not used?

Is there a way to disable data messages appearing in tray? But in the same time still invoke onMessageReceived?

If the user "swipes away" the app, onMessageReceived will still be called, the notification you create will show up, and if they click on it it will launch whatever is in the intent. If they do a "force stop" that might cause a problem but the user is told all bets are off when they do that. I don't know all the ins and outs of other ways apps might get "killed" in Android, but I haven't had problems with messages not getting delivered. I have seen delivery delays sometimes, even with High Priority messages, on some devices. Not sure why that is, it seems like others have the same problem.

I don't know about that, I've never used any of the built in notification stuff in fcm, just data messages. Maybe one of the firebase people can explain it.

If you pass a data only message with no notification stuff in the manifest, a notification will not show up unless you create one. onMessageReceived will be called.

All my experience is based on sending data messages from a backend server or upstream messages from an app. I've never used the notifications console, for instance, so I don't know how that works.

Hm, on my end, onMessageReceived is called when I open the "swiped out" app again. This may happen 1 minute after I get the tray message. I don't think that I will be able to control the icon and sound of the tray message from onMessageReceived , since it is called after I tap on the tray message.

I am asking about data messages. I do not provide notification payload. Just data.

Nope – I always get the tray message with the annoying white blank square.

Anyway, thanks @opus1269 . I was hoping to get some info from firebase team people...


Allows external rendering of other filetypes 2

Fixes #4996 and #7614
allows rendering of non-text files, or otherwise un-accounted for filetypes
This is a re-do of #8295 as the comment history was corrupted by an accidental git pull between changes.

Codecov Report

Merging #8300 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #8300      +/-   ##
==========================================
+ Coverage   41.52%   41.53%   +<.01%
==========================================
  Files         494      494
  Lines       65384    65396      +12
==========================================
+ Hits        27151    27159       +8
- Misses      34737    34740       +3
- Partials     3496     3497       +1

Impacted Files
Coverage Δ

routers/repo/view.go
42.26% <0%> (-0.28%)
:arrow_down:

modules/log/event.go
65.64% <0%> (+1.02%)
:arrow_up:

models/unit.go
67.56% <0%> (+5.4%)
:arrow_up:

Continue to review full report at Codecov.

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

Could you add a test or give a screenshot?

Not sure how to create a test, but I have attached screenshots.
Poor formatting is due to #8299.

blocked until 1.10 branch created.

Is this ready go into 1.11 and can be unblocked?

So markup.Type is simply a filename extension check - it doesn't do any magic to ensure that the file it's about to attempt to render is actually of the correct type. (Admittedly none of our renderers should fail spectacularly & insecurely on the basis of our IsTextFile check not being correct.) Are we sure that this is the correct thing to do?
Basically if a user commits a binary file as a .md it's going to be attempted to be read and marked-up by this code. That might be ok - but we need to check whether this might be usable to end up displaying non-sanitised html to the user. Browsers can be surprisingly keen to render broken html.
Sorry @HarvsG I'm going to re-add the blocked label until I am allayed of this concern or can allay myself of this concern.

Basically if a user commits a binary file as a .md it's going to be attempted to be read and marked-up by this code. That might be ok - but we need to check whether this might be usable to end up displaying non-sanitised html to the user. Browsers can be surprisingly keen to render broken html.

@zeripath If your concern is security, I think the proper way to handle this is to address the invalid cases in the renderers. File type detection using magic(5) is like character set detection: just a guess. If someone wants to trick the server and exploit a vulnerability, this kind of check is trivial to bypass. Ultimately, it's the browser's responsibility to sanitize the rendering properly, and those are much more capable than us at detecting bad code.
As a side note, we're currently trusting the browser for the attachment file types only by the Content-Type header.
Alternatively, a list of "allowed rendered file extensions" can be added to app.ini (with settings like all and none or even glob patterns), so people in intranets where the source material is trusted can make use of this feature.
However, if you're just concerned about the misuse of the file extension (e.g. a .txt which in fact is a binary file) and that that could garble the page render, then magic(5) is appropriate as a sanity check.

Well, the current isTextfile checks the first 500 bytes. However if you're sure that there's no badness (I can) remove the block. I haven't had a chance to double check the code myself.
My main worry is that we're presuming everything is fine and we've been bitten before like that.

@zeripath How can anyone be certain? 😄 But this PR is intended for rendering externally registered file types, and that means the admin's approval (app.ini's [markup] section). Perhaps we should allow only external renderer and exclude the internals from the list (e.g. .md, .txt, .csv); those should have passed the IsTextFile() check.

OK I've taken another look I think this is OK.


Picking a 3D point

Target Use case
In some editing use cases (nebula.gl, avs.auto), users need to select a 3D position on a path or surface.
Currently, pickingInfo.coordinate is produced by unprojecting the 2D screen position onto the ground (Z=0). When working with extruded or floating geometries, the result will not be on the picked object.
Proposed feature
pickingInfo.coordinate should be a point that is actually on the picked geometry.
To Do List

[x] Add label and assign to milestone
[ ] (mini) RFC
[x] Coding
[x] Doc update
[ ] What’s new update
[ ] Test

How can i utilize this awesome feature? I'm working on a app where I'm loading a 3D model of a steel structure and utilizing the point-cloud-layer to pick reference points for an industrial robotic assembly line and being able to derive the z coordinate is a critical component of the module that i'm working on.
For reference here's my layer definition:
  const pointLayer = s => new PointCloudLayer({
    id: 'point-cloud-layer',
    data: s.points,
    coordinateSystem: COORDINATE_SYSTEM.IDENTITY,
    numInstances: s.pointsCount,
    instancePositions: s.points,
    getColor: [255, 255, 255],
    getNormal: [0, 1, 0],
    pointSize: 2.5,
    opacity: 0.5,
    onClick: (s) => console.log(s)
  })

@jay-manday I believe this feature is only available in alpha releases. If you need it today, you can try 7.4.0-alpha.2, it should be relatively stable/similar to v7.3 as not that many features from our next release have landed yet.

Thanks @ibgreen ! definitely will try that alpha release out :)

Hi @ibgreen, I'm using the release you suggested above 7.4.0-alpha.2, and things are stable, however when i use the onClick method it still returns the following:
{
color: Uint8Array(4) [119, 65, 1, 2]
coordinate: (2) [-1.8511185572271995, -138.25794343693855]
devicePixel: (2) [1265, 617]
index: 82294
layer: PointCloudLayer {props: {…}, id: "point-cloud-layer", count: 222, lifecycle: "Discarded. Awaiting garbage collection", parent: null, …}
lngLat: (2) [-1.8511185572271995, -138.25794343693855]
picked: true
pixel: (2) [632, 637]
pixelRatio: 2
x: 632
y: 637
}

My layer definition is:
 const pointLayer = s => new PointCloudLayer({
      id: "point-cloud-layer",
      data: s.points,
      coordinateSystem: COORDINATE_SYSTEM.IDENTITY,
      numInstances: s.pointsCount,
      instancePositions: s.points,
      getColor: [255, 255, 255],
      getNormal: [0, 1, 0],
      pointSize: 2.5,
      opacity: 0.5,
      pickable: true,
      onClick: s => console.log(s)
    });

Thank you again for the help!

@jay-manday Haven't used this feature myself yet, but I believe you may need to will need pass in an additional parameter to picking function:
See https://github.com/uber/deck.gl/blob/master/docs/api-reference/deck.md#pickobject
Until we make it possible for you to control this parameter, you may need to call picking function yourself:
onClick: this._onClick.bind(this),

_onClick() {
 const {deck} = this.context.deck;
 deck.pickObject({..., unproject3D: true});
}


More I18N

Currently there are only english and spanish translations. The spanish ones were taken from the original mod so they might not be perfect, also I added some new ones, they are just english (in the spanish language file).
It would be nice to have more languages.

Dutch translation added in #5 by @fly-man-, thanks!

Czech translation added in #7 by @rex2630, thanks :)

@lfuelling I will add Spanish translation in a few minutes. :-)

@lfuelling done #8

@lfuelling German language added. #12

i just got a new server looking to upgrade my server anyone can help me

i just got a new server looking to upgrade my server anyone can help me

You need to go to the FiveM forum.


TM - Session Management

Spartacus Threat Modelling Workshop.
Date: June 14, 2019.
Participants: Bill, Gil, Tobias, Stan, Hernando, Felix, GC
SAP Product Standard Required Compliance:
https://wiki.wdf.sap.corp/wiki/display/PSSEC/SEC-221
Threat Pattern:
Threat: Attackers could predict, tamper or delete valid authentication sessions and therefore be able to impersonate the legitimate users or view, modify or delete their confidential data. Attackers could guess, steal, hi-jack, manipulate or otherwise misuse sessions.
(As informed/discussed/reported by security team during workshop)
TM Comments:

No real session management, but internal state, theoretically an implementing party could persist data in local storage though.

TM Required Actions:

Document that storing such data in local/Session storage may be dangerous (e.g. multi-page under one URL) or have DPP concerns (per data storage)

Need a doc ticket for Spartacus security management and concerns.


Collect logs from a pod

I want collect logs for all pods in my namespace sessaw with label app=seesaw. I'm using  extra_label_selector: "app=seesaw" for collect this but, I'm getting a error:
    x unknown field `extra_label_selector`, expected one of `include`,
    `exclude`, `file_key`, `start_at_beginning`, `ignore_checkpoints`,
    `read_from`, `ignore_older_secs`, `max_line_bytes`, `host_key`, `data_dir`,
    `offset_key`, `glob_minimum_cooldown_ms`, `fingerprint`, `ignore_not_found`,
    `message_start_indicator`, `multi_line_timeout`, `multiline`,
    `max_read_bytes`, `oldest_first`, `remove_after_secs`, `line_delimiter`,
    `encoding`, `acknowledgements`, `log_namespace`

    in `sources.netbox-audit-axiom-source`

My vector-pipeline:
  ```
      apiVersion: observability.kaasops.io/v1alpha1
  kind: ClusterVectorPipeline
  metadata:
    labels:
      app.kubernetes.io/instance: vector
    name: netbox-audit
    namespace: seesaw
  spec:
    sources:
      axiom-source:
        include:
          - /var/log/netbox/plugins.log
        type: file
        extra_label_selector: "app=seesaw"
    sinks:
      axiom-sink:
        token: "key"
        dataset: netbox-dev
        type: axiom
        inputs:
          - axiom-source
  ```

There is a way to collet log from a file only pods with label app=seesaw?

Hi.
ClusterVectorPipeline - not namespace-scope resource.
I think you need to use VectorPipeline if you want create VP in namespace, where pod exist

And you use source type - file.
You need use kubernetes_logs& You can find example here

I guess VectorPipeline is porpose to collect event pod log, not from a file. I'm using this example to collet logs from a file:
https://github.com/kaasops/vector-operator/blob/main/docs/logs-from-file.md
But, I don't want collect logs from all pods, I need

VectorPipeline and ClusterVectorPipeline work the same way. The only difference is that VectorPipeline is limited to the namespace where it is defined. (You cannot use VectorPipeline, defined in namespace a, to collect logs from pods defined in namespace b).
For your case, try:
apiVersion: observability.kaasops.io/v1alpha1
kind: VectorPipeline
metadata:
  labels:
    app.kubernetes.io/instance: vector
  name: netbox-audit
  namespace: seesaw
spec:
  sources:
    axiom-source:
        type: kubernetes_logs
        extra_label_selector: "app=seesaw"
  sinks:
    axiom-sink:
      token: "key"
      dataset: netbox-dev
      type: axiom
      inputs:
        - axiom-source

With this VP you get all logs (stdout and stderr) from pods with label app=seesaw in namespace seesaw.
P.S. May be you need install url field for axiom sink. Docs

Great! There is a way to change log directory from /var/log/pods? I want insert into /var/log/netbox?
I serach this article and found a option: include_paths_glob_patterns
I got this error:
    x unknown fieldinclude_paths_glob_patterns, expected one of     extra_label_selector, extra_namespace_label_selector, self_node_name,     extra_field_selector, auto_partial_merge, data_dir,     pod_annotation_fields, namespace_annotation_fields,     node_annotation_fields, exclude_paths_glob_patterns, read_from,     ignore_older_secs, max_read_bytes, max_line_bytes,     fingerprint_lines, glob_minimum_cooldown_ms,     ingestion_timestamp_field, timezone, kube_config_file,     delay_deletion_ms, log_namespace`
in `sources.seesaw-netbox-audit-axiom-source``

Seems I can't use the attribute

I'm not sure about this field and how it works.
May be vector developers add this field in last releases. If you deploy vector-operator with helm, try to update vector to last release:
vector-operator:
  vector:
    enable: true
    agent:
      image: "timberio/vector:0.37.1-debian"

Or you can update CRD vector manualy)

I saw in the requirements of vector-operator the default volume hostPath  is /var/log/pods
This source requires read access to the /var/log/pods directory. When run in a Kubernetes cluster this can be provided with a [hostPath](https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) volume.
I need change this hostPath to /var/log/netbox, I tried create volumes in the operator
volumes:
  - hostPath:
      path: /var/log/netbox
      type: DirectoryOrCreate
    name: netbox-logs

But the application still collecting logs from /var/log/pods

I tried to your suggest to download other image and download CRD manually, but my VP still catching filePath /var/log/pods
I search all atributes that VP accept here
I didn't find a filePath to change log collector
sources:   my_source_id:     type: kubernetes_logs     auto_partial_merge: true     data_dir: /var/local/lib/vector/     delay_deletion_ms: 60000     exclude_paths_glob_patterns:       - "**/exclude/**"     extra_field_selector: metadata.name!=pod-name-to-exclude     extra_label_selector: my_custom_label!=my_value     extra_namespace_label_selector: my_custom_label!=my_value     fingerprint_lines: 1     glob_minimum_cooldown_ms: 60000     ignore_older_secs: 600     include_paths_glob_patterns:       - "**/include/**"     ingestion_timestamp_field: .ingest_timestamp     kube_config_file: /path/to/.kube/config     max_line_bytes: 32768     max_read_bytes: 2048     oldest_first: true     read_from: beginning     rotate_wait_secs:<PHONE_NUMBER>854776000     self_node_name: ${VECTOR_SELF_NODE_NAME}     timezone: local

I solve this case, using ClusterVectorPipeline, here my file.yaml to collect any logs from hostPath /log
apiVersion: observability.kaasops.io/v1alpha1
kind: ClusterVectorPipeline
metadata:
  name: vector-logs
spec:
  sinks:
    k8s-audit-sink:
      dataset: netbox_dev
      inputs:
        - k8s-audit
      token: ${AXIOM_TOKEN}
      type: axiom
  sources:
    k8s-audit:
      include:
        - /log
      type: file


libsodium build failed on Linux(openSUSE Tumbleweed)

vcpkg install libsodium
The following packages will be built and installed:
    libsodium[core]:x64-linux
Starting package 1/1: libsodium:x64-linux
Building package libsodium[core]:x64-linux...
-- CURRENT_INSTALLED_DIR=/home/mxo/bin/vcpkg.git/installed/x64-linux
-- DOWNLOADS=/home/mxo/bin/vcpkg.git/downloads
-- CURRENT_PACKAGES_DIR=/home/mxo/bin/vcpkg.git/packages/libsodium_x64-linux
-- CURRENT_BUILDTREES_DIR=/home/mxo/bin/vcpkg.git/buildtrees/libsodium
-- CURRENT_PORT_DIR=/home/mxo/bin/vcpkg.git/ports/libsodium
-- Downloading https://github.com/jedisct1/libsodium/archive/1.0.16.tar.gz...
-- Downloading https://github.com/jedisct1/libsodium/archive/1.0.16.tar.gz... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Extracting source /home/mxo/bin/vcpkg.git/downloads/jedisct1-libsodium-1.0.16.tar.gz
-- Extracting done
-- Applying patch /home/mxo/bin/vcpkg.git/ports/libsodium/disable-tests.patch
-- Applying patch /home/mxo/bin/vcpkg.git/ports/libsodium/disable-tests.patch done
-- Building /home/mxo/bin/vcpkg.git/buildtrees/libsodium/src/1.0.16-60968e7afa/libsodium.vcxproj for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: msbuild;/home/mxo/bin/vcpkg.git/buildtrees/libsodium/src/1.0.16-60968e7afa/libsodium.vcxproj;/p:Configuration=Release;/t:Rebuild;/p:Platform=x64;/p:PlatformToolset=external;/p:VCPkgLocalAppDataDisabled=true;/p:UseIntelMKL=No;/p:WindowsTargetPlatformVersion=;/m;/p:WholeProgramOptimization=false
    Working Directory: /home/mxo/bin/vcpkg.git/buildtrees/libsodium/x64-linux-rel
    See logs for more information:

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_msbuild.cmake:114 (vcpkg_execute_required_process)
  ports/libsodium/portfile.cmake:25 (vcpkg_build_msbuild)
  scripts/ports.cmake:72 (include)

Error: Building package libsodium:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: libsodium:x64-linux
  Vcpkg version: 0.0.113-unknownhash

Additionally, attach any relevant sections from the log files above.
 b/vcpkg.git ╍                                                                                (1) (2s 919ms)
 b/vcpkg.git ╍ msbuild
--: searching ...Cannot not open database file '/usr/share/scout/bin-msbuild.db'
--: command not found
 b/vcpkg.git ╍                                                                                (127)
 b/vcpkg.git ╍ cat /home/mxo/bin/vcpkg.git/buildtrees/libsodium/patch-x64-linux-0-err.log
检查补丁 msvc-scripts/sodium.props...
成功应用补丁 msvc-scripts/sodium.props。
 b/vcpkg.git ╍ cat /home/mxo/bin/vcpkg.git/buildtrees/libsodium/^C
 b/vcpkg.git ╍ cat /home/mxo/bin/vcpkg.git/buildtrees/libsodium/build-x64-linux-rel-err.log
 b/vcpkg.git ╍

Same #3621
-- Building /home/mxo/bin/vcpkg.git/buildtrees/libsodium/src/1.0.16-60968e7afa/libsodium.vcxproj for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: msbuild;/home/mxo/bin/vcpkg.git/buildtrees/libsodium/src/1.0.16-60968e7afa/libsodium.vcxproj;/p:Configuration=Release;/t:Rebuild;/p:Platform=x64;/p:PlatformToolset=external;/p:VCPkgLocalAppDataDisabled=true;/p:UseIntelMKL=No;/p:WindowsTargetPlatformVersion=;/m;/p:WholeProgramOptimization=false
    Working Directory: /home/mxo/bin/vcpkg.git/buildtrees/libsodium/x64-linux-rel
    See logs for more information:

These portfile.cmakes hard-coded msbuild for building packages even when in Linux...

+1 for getting this fixed, nearly a year later it is still trying to build for Windows on Linux:
The following packages will be built and installed:
    libsodium[core]:x64-linux
Starting package 1/1: libsodium:x64-linux
Building package libsodium[core]:x64-linux...
-- Downloading https://github.com/jedisct1/libsodium/archive/1.0.17.tar.gz...
-- Extracting source /home/permal/code/vcpkg/downloads/jedisct1-libsodium-1.0.17.tar.gz
-- Applying patch disable-tests.patch
-- Using source at /home/permal/code/vcpkg/buildtrees/libsodium/src/1.0.17-c3f6e35d7b
-- Building /home/permal/code/vcpkg/buildtrees/libsodium/src/1.0.17-c3f6e35d7b/libsodium.vcxproj for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: msbuild;/home/permal/code/vcpkg/buildtrees/libsodium/src/1.0.17-c3f6e35d7b/libsodium.vcxproj;/p:Configuration=Release;/p:ForceImportBeforeCppTargets=/home/permal/code/vcpkg/buildtrees/libsodium/src/1.0.17-c3f6e35d7b/builds/msvc/properties/x64.props;/t:Rebuild;/p:Platform=x64;/p:PlatformToolset=external;/p:VCPkgLocalAppDataDisabled=true;/p:UseIntelMKL=No;/p:WindowsTargetPlatformVersion=;/m;/p:WholeProgramOptimization=false
    Working Directory: /home/permal/code/vcpkg/buildtrees/libsodium/x64-linux-rel
    See logs for more information:

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_msbuild.cmake:119 (vcpkg_execute_required_process)
  ports/libsodium/portfile.cmake:27 (vcpkg_build_msbuild)
  scripts/ports.cmake:71 (include)

Error: Building package libsodium:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: libsodium:x64-linux
  Vcpkg version: 2018.11.23-unknownhash

It looks like this should be resolved as it builds on Ubuntu.  I don't have an openSUSE install to test on, if this still fails for you then please reopen.


feat: add serviceworker

Problem
There is no service worker
Solution
Add service worker

Task linked: CU-860r7h7jn Add serviceWorker.ts


YouTubePlayer seekTo does not work properly when it is paused

We are realizing the forward and rewind function to YouTubePlayerView. We use youtubeplayer seekto function to do this, when the player is playing, all is ok. But when it is paused, seekto will not work. I don't know what the problem is. Can you give some suggestion?

What do you mean "it doesn't work"? what happens? it seems to be working for me.

Sorry, I didn't describe clearly. When the player is paused, and when I
called seek to, and then play, it seems OK. But when I call seekto multiple
times, also the player is paused. And when I let the player play again, the
player will go to the first seekto position but not the last result. So the
forward and rewind button are not working regularly.
Pierfrancesco Soffritti<EMAIL_ADDRESS>于 2019年7月29日星期一 22:47写道：

What do you mean "it doesn't work"? what happens? it seems to be working
for me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PierfrancescoSoffritti/android-youtube-player/issues/402?email_source=notifications&email_token=ADIJ7IRJF5QK6NVNCRYLL33QB3RE5A5CNFSM4IHRAORKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3AS25Q#issuecomment-515976566,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADIJ7IX3LJTF2UJZZLJ37PDQB3RE5ANCNFSM4IHRAORA
.


[ui] outbound traffic view miscalculates 'time ago' across GMT

we did not implement the logic here, we use timeago
        <Text size="xs">{timeAgo(item.Timestamp)}</Text>

this is not reproducing on this end. need to learn more about the user's browser settings


AmazonClientException

I've got some troubles with running this sample.
I've followed instructions on http://aws.amazon.com/ru/developers/getting-started/java/, and after running mvn clean compile exec:java I've got AmazonClientException(Unable to execute HTTP request: peer not authenticated) followed by "Unable to execute HTTP request: peer not authenticated". This things happen when I am trying to create bucket, so I've got "Creating bucket my-first-s3-bucket-865cc23b-7f73-4e09-a9d9-c38382d72e2b" and then an error.
I've looked throw https://forums.aws.amazon.com/message.jspa?messageID=429971, but unfortunately I don't completely understand how to use suggested solution (http://javaskeleton.blogspot.ie/2010/07/avoiding-peer-not-authenticated-with.html) here.

I am trying to run this and am getting the following error Caught an AmazonServiceException, which means your request made it to Amazon S3, but was rejected with an error response for some reason.
Error Message:    Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 3FC6FAECDE3A19A1).  I checked my access keys and believe that they are correct.  How can I go about researching this further?

Answering my own question.  My permissions were not correct.  I needed to give full access to S3.

While iam trying to create a bucket, below exception i got..
Caught an AmazonClientException, which means the client encountered a serious internal problem while trying to communicate with S3, such as not being able to access the network.
Error Message: Unable to execute HTTP request:....


Transpile all C code to Rust

The C code in this crate is a bit of a pain when it comes to cross-compiling. You need to install all kinds of compiler toolchains in a platform-specific way, while with Rust, you usually just needs a rustup target add <my-target> and it Just Works. I figured, why not just Rewrite It In Rust, so I did.
I did the translation with C2Rust (see commits for details). The generated Rust code needed some manual massaging, but nothing too bad. As far as I can tell, everything works, but I don't have any tests that would exercise all the translated functionality. What I do know, is that Fornjot still works fine using this version (also see https://github.com/hannobraun/Fornjot/pull/1278).
In addition, C2Rust has been in development since 2017, and is being developed by a company that specializes in this kind of work. This was the first time that I used it, but I have every reason to believe that it is a solid tool that works well.
I realize that rewriting the whole project in another language might be a controversial proposal. I also realize that the generated Rust code is far from good. However, as far as my own use case is concerned, this is the right step. The previous C code wasn't something that I would have felt comfortable updating anyway (which is not a comment on C or that code, only on my own skill and willingness). If modifications become necessary, the new Rust code provides a much better basis, at least for me.
Given that this C code is old and mature, and it seems unlikely that many updates would have been made to it anyway, I would also be fine just forking this library and moving on with my own Rust-based version (or, as an alternative, contribute the transpiled 3D primitives to robust, if they'll have them). I figured I should open this pull request before I do that though, to prevent further fragmentation in case you want to accept these changes.

Hey @hporro, have you had a chance to think about this? If you need more time, then no rush! And if you don't want to merge this, I understand. But if this won't get merged, I'd like to know rather sooner than later, so I can make other arrangements.

Hello @hannobraun! I would like to review and test the code before merging it. I really like the transpilation of the code to Rust.
Still, I would like to review this, but I'm super busy at work this days. Do you mind waiting one week more? I'll have more time since next Thursday.

Thank you for getting back to me, @hporro! Please take your time. I'm not under any pressure to get this merged. I just wanted to know whether this is acceptable, in principle, because I wanted to explore alternatives if it wasn't.


Can we mention seals in cats' README?

in the list of cats ecosystem projects.

If this means no more than "this stuff is intended to work reasonably well with Cats", then sure. If you can confirm this, I'll send a PR. Thanks!

It also means that you agree to start pay me a $199.99/mo subscription fee. Is that okay? 😄
What you said is exactly what it means. Thanks!

Addressed by https://github.com/typelevel/cats/pull/1817. Thanks!


docs: correct wrong word for source-code-explore

Checklist

[x] documentation is changed or added
[x] commit message follows commit guidelines

Description of change

any feature?
close https://github.com/dvajs/dva/ISSUE_URL

Coverage remained the same at 86.493% when pulling 5f256da0bee7d60c139586f45fea8365c76a85f5 on TeamMicLee:patch-1 into a5e4ca58b8d40685545cc5bff6a92736afc94d24 on dvajs:master.


Doesn't open links in "Build a real game" chapter

Hello!
I'd like to use Korge. I've opened docs to see how to use it.
I can't open any links in "Build a real game" chapter for 2048 game example.
I can find it i tutorials section in site but in docs it doesn't work.
Furthermore, In the start of 2048 game tutorials, I see link to previous part, it also doesn't work.
Please fix it.
Also, I have question: Is still actual tutorial (2048 game) for Korge 3.0?
Thanks

Thanks for reporting. Fixed


Doesn't have addressbook

User needs an address book for external addresses. Address could simplify process of reoccurring transfers.
Operations:

[ ] show screen with addresses
[ ] add address
[ ] remove address
[ ] edit address details

[ ] When Sending Transaction, select from address book


Need a way to get balance while excluding amounts used for claim transactions

getbalance command returns balance of the wallet including those used in claim transactions.
We need a function that returns the balance of the wallet, excluding those used in claimtrie transactions, perhaps called getbalance_noclaimtrietx.

merged exclude_claimtrietx option in getbalance


final update of readme

I experienced some errors while setting up the project in my local machine so I have added a few lines
under the Additional Setup instructions for Ubuntu users in the README.md file in order to assist other developers in smooth setting up of the project.

Better keep these stuff in trouble shooting wiki page

I have included it in the readme cause I think that for those setting up the project it would then be a decent head start to have their issues sorted just by reading the Readme.

Besides the readme should be as informative as it can be I guess


Fix periodic crash when looking up username in dispatcher.

A long-running bot process would occasionally crash w/ a TypeError, because msg is None. I'm uncertain of why msg=None in those cases, but I know that I now have a bot process that has been running for well over a month without a crash!

I think we'd better find out why the msg param could be None, instead of doing a hotfix to catch the error blindly.
btw please send PRs to the "develop" branch instead of master. (I have just set it as the default branch).


Templates are pre-rendered but still flicker on the client

When loading https://ogstudio.app, we see a flicker on the templates:
https://github.com/QuiiBz/ogstudio/assets/43268759/029f003d-b082-4c10-a746-9d61313b495a
They are actually already rendered at build-time:

But since they are wrapped in a Suspense boundary, it still tries to render them again on the client?

Fixed by https://github.com/QuiiBz/ogstudio/pull/76


How to set framingRectSize by code ?

I want to set the framingRectSize according to my Screen.
So I use the method BarcodeView.setFramingRectSize().
But it shows ERROR  "VM with version 1.6.0 does not have multidex support"
How i can do it? Thanks!

oh I have got it
barcodeScannerView.getBarcodeView().setFramingRectSize(size);


dcos-integration-test/test_groups.yaml: rebalance group 3

High-level description
What features does this change enable? What bugs does this change fix?
Rebalance the test groups to bring Group 3 down somewhat from 17mins and bump Group 4 from 7mins. We aim for something like 14mins vs. 10mins, respectively.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-46073 integration tests: rebalance OSS groups

Related tickets (optional)
Other tickets related to this change:

DCOS_OSS- Foo the Bar so it stops Bazzing.

Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot bump-ee

fast-merging to get a couple of changes in for improving CI.

@mesosphere-mergebot bump-ee


Update to fix Incorrect Markdown Syntax

This is a simple fix to the markdown formatting.

@augustshultz thanks!


Amazon AMIs seem to expect ≥ 20GB of EBS storage

Issue description
Amazon EC2 refuses to instantiate NixOS instances with less than 20GB of storage. Clearly the base NixOS install needs a lot less.
Who uploads the NixOS community AMIs and is this 20GB number something that can be set somewhere?
Steps to reproduce
Go in EC2, try creating an instance with, say, 5GB in EBS storage, you'll get this error:

Technical details

AMI name: nixos-16.03.659.011ea84-x86_64-hvm-ebs - ami-ff27a98c

Looks like this is the culprit: https://github.com/NixOS/nixpkgs/blob/master/nixos/maintainers/scripts/ec2/create-amis.sh#L168
                        extraFlags="-b /dev/sda1=$snapId:20:true:gp2"

The doc seems to say that we must specify a size if we want to specify any subsequent arguments:
$ ec2-register --help
[…]
           - '[<snapshot-id>][:<size>[:<delete-on-termination>][:<type>[:<iops>]][:encrypted]]': indicates
             that an Amazon EBS volume, created from the specified Amazon EBS
             snapshot, should be exposed at the specified device. The following
             combinations are supported:

              - '<snapshot-id>': the ID of an Amazon EBS snapshot, which must
                be owned by the caller. May be left out if a <size> is
                specified, creating an empty Amazon EBS volume of the specified
                size.

              - '<size>': the size (GiBs) of the Amazon EBS volume to be
                created. If a snapshot was specified, this may not be smaller
                than the size of the snapshot itself.

              - '<delete-on-termination>': indicates whether the Amazon EBS
                volume should be deleted on instance termination. If not
                specified, this will default to 'true' and the volume will be
                deleted.

              - '<type>': specifies the volume type. This can be either
                'gp2', 'io1' or 'standard'. Defaults to standard.

              - '<iops>': The requested number of I/O operations per
                second that the volume can support. Only valid for io1
                volumes.

              - 'encrypted': Indicates that the volume should be encrypted.

@edolstra: do you think ca155dd would work and enable EC2 users to provision smaller EBS volumes for NixOS?

BTW, the EC2 error is wrong, since the snapshot snap-7ef6f293 has a volume size of 3 GB (probably the diskSize of 2048 in nixos/maintainers/scripts/ec2/amazon-image.nix plus some padding). But apparently the size in the block device mapping is used as a minimum rather than as a default.

@edolstra: how about 4315d5634f23fe1b33fac633545cfe03cc31b3ac ?
cc // @cleverca22

@obadz Looks good to me.

@edolstra, cool. I've never actually run the whole thing though because I'm not setup to upload AMIs. Who usually uploads the community AMIs?

Usually I do, sometimes @rbvermaa.

@edolstra / @rbvermaa, ok I've pushed this to master, pls keep in the back of you mind next time your generate AMIs. Also might make sense to cherry-pick to stable next time you generate AMIs for 16.03?

@edolstra / @rbvermaa:
Hey guys, I see that new images were pushed to Amazon (1073.73e28bc) but still require 20Gb of space. Any chance to use this commit to generate images that require no more space than they need?

Sorry, didn't cherry-pick this until after I generated the new AMI. It should be included next time the AMI get generated.


Admin example -- DON'T MERGE

DON'T MERGE. This branch is just for demo purposes and for testing the CI/CD.

With a PR like this, you make it really tempting to merge this... 😈

Added in all the stuff @armahillo and I paired on! I think it is good to go :)

I'M TOTALLY MERGING IT


Release v10.5.17 with compilation failure in Java due to missing dependencies of Retrofit 2.10.0-SNAPSHOT

Release: v10.5.17
Java 17
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find com.squareup.retrofit2:retrofit:2.10.0-SNAPSHOT.
     Required by:
         project : > com.contentful.java:java-sdk:10.5.17
         project : > com.contentful.java:java-sdk:10.5.17 > com.squareup.retrofit2:adapter-rxjava3:2.9.0
   > Could not find com.squareup.retrofit2:converter-gson:2.10.0-SNAPSHOT.
     Required by:
         project : > com.contentful.java:java-sdk:10.5.17

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 477ms

My hypothesis is that the build was created with dependencies cached, which went undetected at the time, or today this dependency is no longer available in the Maven central. Could you please verify?

@ilp I tried to reproduce it on the master branch, but it works fine for me. Are you still experiencing issues with the latest changes?


Add Zstd.decompressedSize(src, offset, limit)

Continuation of #133
Methods operating on byte[] are much more useful when offset is paired with limit, this allows to constrict the frame length that ZSTD native will use when calculating the decompressed size
TODO: The official docs recommend moving towards ZSTD_getFrameContentSize as it differentiates between various reasons why the decompressed size may not be available, while current implementation flattens them into 0

I don't mind adding it but I still don't understand the motivation. The decompressed length is just a number in the frame header that may well be missing, e.g. when doing cat foo | zst .... In any case we just pass a pointer to the buffer and the native code will read a few bytes from it. So what would be the advantage to also have limit?

Proper answer:
It makes for a cleaner interface with less assumptions.
It should be "our" goal as a library that the user does not need to understand e.g. the frame header size.
E.g. Regarding the TODO / ZSTD_getFrameContentSize should you send a buffer of length 10, offset 8 I wish for the library to return ZSTD_CONTENTSIZE_ERROR
Paranoia / I'm using it wrongly answer:
In my particular case, I'm streaming individually compressed envelopes of data which contain other non-zstd trailing blobs.
I want to ensure that zstd does not read past the limit that was set, reading data that does not belong to its envelope regardless of if the envelope was corrupted. (e.g. reads garbage for the non-zstd trailing blob, returns that I need to allocate ROLL_DICE space / RAM for processing).
It's paranoia until it happens, then it happened and then I needed to write a ton of "anti-corruption" tests that check libraries respect buffer bounds...

Aaa, I see, merging it and I am happy to merge also commit that adds minimal size for the passed buffer or throws/returns error otherwise.


[Filters] Add Support For Unpublish Filters in Server

Notes for Reviewers
This PR adds API and handlers for unpublishing catalog filters from Meshery UI
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 2d06d8c197c6e3ff91b4d2c21eda5d83ce50b352 at: https://649c3145aaae6012653d3bf1--meshery-docs-preview.netlify.app


UPnP IGD fails to give access

I tried to connect to a UPnP (uproxy.li@) enabled uProxy to get access (both with uProxy v0.8.16), but failed to get access. Feedback logs submitted for both accounts.

(Both peers running uProxy on Chrome, used the FB provider; getter was on Mac, giver on Windows; confirmed that UPnP was found - used node-ssdp to test that)

Note: may not be a networking issue; may be signaling; even when I changed router to use DMZ, I was still unable to get access; or may be UPnP interacting badly with DMZ :/

Interestingly, did see UPnP created ports in my router config view:

My NetGear router has UPNP enabled, but uProxy says it's not. I think they ports are mapped as well. Here's the table, sorry for the shift.
Can we setup fixed portmaps?
Active	Prot	Int. Port	Ext. Port	IP Address
YES		TCP		51276		51276		<IP_ADDRESS>
YES		TCP		64822		64822		<IP_ADDRESS>
YES		TCP		64823		64823		<IP_ADDRESS>
YES		UDP		51276		51276		<IP_ADDRESS>

@iislucas, were you one a Boingo Wireless hotspot?  If you get another chance, maybe you could report the connectivity test results on https://test.webrtc.org/

Going to close this now, @iislucas please re-open if you are still having problems.


feat: Split print_var and print_var_norm behaviors so we can iterate on print_var_norm

feat: Split print_var and print_var_norm behaviors so we can iterate on print_var_norm
As discussed in #321 and from other issues/PRs raised, we can have a normal mode print_var function (in this case print_var_norm) to get variable under cursor in normal mode while leaving the old print_var that uses visual mode in place.
@pranavrao145 Let me know if you want go this route (I'm alright to scrap this if we want to do something else). I figured this way we have the normal print var people have been asking for and can iterate on that, while still having the visual mode option. For not it's just a copy paste with one func difference, we can clean up the internals later but have these difference exposed interfaces. This way we have a fallback but give users what they want as well.
Also please double check my doc changes. I think I updated the required places, but I want to make this clear to end users.

@teddylear since the current behaviour uses normal mode by default if nothing is selected, then optionally visual mode as a fallback, I'm not quite sure what splitting up commands for the two modes will buy us. As of right now, to access both behaviours, the config can be set up like this:
vim.keymap.set(
  "n", -- normal mode map
  "<leader>rv",
  ":lua require('refactoring').debug.print_var({})<CR>",
  { noremap = true }
)
vim.keymap.set(
  "v", -- visual mode map
  "<leader>rv",
  ":lua require('refactoring').debug.print_var({})<CR>",
  { noremap = true }
)

With splitting them up, it will be pretty much the same thing but with print_var_norm instead, which is why I'm not sure what it will do for us.
However, After reading #321, I am realizing that the docs for print_var state that the remap must be made in visual mode, which is misleading and causing users to think this is the case. If we update the docs to state that either can be used, will that not solve the issue? Later on, if we want to upgrade the command's capabilities in normal mode (to find class fields and such using treesitter), I think we can even just update the code in the get_variable function later on under that large if statement.  Let me know what you think about this.
Also, if we were still to split these, perhaps we could do it with a { normal = true } in the opts? Will likely mean less code migration overall, as well as one less function to keep track of. The resulting map would look extremely similar, something like:
vim.keymap.set(
  "n", -- normal mode map
  "<leader>rv",
  ":lua require('refactoring').debug.print_var({ normal = true })<CR>",
  { noremap = true }
)

Apologies for the long comment - I'm not sure if everything I said quite made sense, let me know if you have any questions and I can clarify.

To follow up, I've opened #323 to show what a docs update would look like to clear up the discrepancy for the end user. Take a look and let me know what you think!

@pranavrao145 Thanks for taking a look at this. Agreed this isn't optimal, let me edit this PR to go the config route where we default visual, but can optionally attempt to find var under cursor in normal mode. I'll comment again once ready for re-review. I'll take a peek at your doc update as well.

@pranavrao145 Updated PR with implementing it another way. Lmk if you would like me to do it another way you mentioned, here I just set it as a config on the plugin itself so users can globally turn it on and off depending if they want to opt into it.

@teddylear so I'm thinking about this a bit more, and there are two issues that I'm seeing arise:

Putting the option in the global config (setup function) will essentially force users to always choose between one or the other. I was more thinking that the user could pass in the opts in their mapping itself, like we do in printf with below = true or below = false.

Example map would be (with the normal = true):
vim.keymap.set(
  "n", -- normal mode map
  "<leader>rv",
  ":lua require('refactoring').debug.print_var({ normal = true })<CR>",
  { noremap = true }
)

That way, the user can make two separate maps like this, still using both modes whenever they want instead of choosing one for always:
vim.keymap.set(
  "n", -- normal mode map
  "<leader>rv",
  ":lua require('refactoring').debug.print_var({ normal = true })<CR>",
  { noremap = true }
)

vim.keymap.set(
  "v", -- visual mode map
  "<leader>rv",
  ":lua require('refactoring').debug.print_var({ normal = false })<CR>",
  { noremap = true }
)

I think doing it this way, passing in the opts for each function (like in printf) gives the user maximum control.

The only thing about problem number 1 is that doing it is basically pointless because the plugin actually already supports this behaviour. The docs were outdated, but that's fixed by #323. Essentially, right now, if the user makes these maps (this is the same set of maps from before without the normal = true):

vim.keymap.set(
  "n", -- normal mode map
  "<leader>rv",
  ":lua require('refactoring').debug.print_var()<CR>",
  { noremap = true }
)

vim.keymap.set(
  "v", -- visual mode map
  "<leader>rv",
  ":lua require('refactoring').debug.print_var()<CR>",
  { noremap = true }
)

This works, and the plugin already is able to pick up which mode we're in and do whatever the user wants. If they're in normal mode, it automatically finds the var, and if it's visual, it automatically prints the selection. With the current behavior of the plugin, the user can already use whichever mode they want by default, and always switch to the other one if they're unhappy (even using the same map). So what I'm wondering is if we even need to make any changes to this at all. If we put in the opts, I think it would just be a matter of adding in { normal = true } to the current config (like the maps in 1.), which might be a little redundant.
There was some confusion in the commit history due to reverts and whatnot, as well as a lag in docs (my fault), so I think we may have confused ourselves. Take a look and let me know how you want to move forward on this.

@pranavrao145 I still think we need the change you mentioned in your last message because of this piece of code here. This means if we go from visual mode once and highlight something, then when going back to normal mode the print_var operation for normal mode is broken because the region is not all zero values. This means that what was highlighted will be printed, not what is under the cursor. I do like the way you implemented it, because then you have two separate keymaps for using normal mode vs visual mode. I'll update my PR and post when ready for re-review.

@pranavrao145 Ok updated PR, please let me know what you think. For testing I'm using the following key binds
     map(
          "v",
          "<Leader>dv",
          ":lua require('refactoring').debug.print_var()<CR>",
          {
               noremap = true,
               silent = true,
               expr = false,
               desc = "Refactoring plugin debug print var",
          }
        )

     map(
           "n",
            "<Leader>dn",
            ":lua require('refactoring').debug.print_var({ normal = true })<CR>",
           {
              noremap = true,
              silent = true,
              expr = false,
              desc = "Refactoring plugin debug print var",
           }
     )


Requirements.txt file is missing

The requirements.txt file is missing and when i try running the backend by the ovicorn command, it keep on saying that :
ModuleNotFoundError: No module named 'opendevin'

The repo does not use pip, rather it uses pipfile (soon to be converted to poetry).
This means there is a [pipfile](https://github.com/OpenDevin/OpenDevin/blob/main/Pipfile) rather than a requirements.txt.
Please follow the installation steps in Readme.
https://github.com/OpenDevin/OpenDevin?tab=readme-ov-file#-get-started

I did these steps then got the requirement.txt file and the installation :
python -m pip install pipenv  # Install Pipenv if you haven't already
python -m pipenv install -v  # Install dependencies specified in Pipfile
python -m pipenv shell  # Activate the virtual environment created by Pipenv
uvicorn opendevin.server.listen:app --port 3000  # Start the backend server
Then generating the requirement.txt
python -m pip freeze > requirements.txt  # Generate requirements.txt from current environment
python -m pip install -r requirements.txt  # Install dependencies from requirements.txt

Yes, as @foragerr pointed out I believe if you follow the README for installation it should install the packages appropriately. I'll close this issue for now, but if you cannot get it to work, please feel free to re-open with more detail on the exact installation steps you ran and where you encountered a problem.

The repo does not use pip, rather it uses pipfile (soon to be converted to poetry). This means there is a pipfile rather than a requirements.txt.
Please follow the installation steps in Readme. https://github.com/OpenDevin/OpenDevin?tab=readme-ov-file#-get-started

Thanks


Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'

`node:internal/errors:466 timing npm:load Completed in 95ms
ErrorCaptureStackTrace(err);
^
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'

at new NodeError (node:internal/errors:377:5)
at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:1076:11)
at defaultResolve (node:internal/modules/esm/resolve:1156:3)
at ESMLoader.resolve (node:internal/modules/esm/loader:605:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:318:18)
at ESMLoader.import (node:internal/modules/esm/loader:404:22)
at importModuleDynamically (node:internal/modules/esm/translators:106:35)
at importModuleDynamicallyCallback (node:internal/process/esm_loader:35:14)
at file:///C:/Users/Renaud%20Horace/IdeaProjects/creativetribe-website/node_modules/astro-imagetools/utils/runtimeChecks.js:44:50 {

code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}`

@renaudHorace this looks like an issue. I am closing this PR. Please create a new issue including more details.


Softlayer Virtual Guest CRUD operations - Complete w/Tests

Now improved with tests :)

It's not passing Travis due to some build issue. See this in the log:
Failed to compile services:
test_helpers/mock_softlayer_product_package.go:6:2: cannot find package "github.com/TheWeatherCompany/softlayer-go/data_types" in any of:
	/home/travis/.gimme/versions/go1.3.3.linux.amd64/src/pkg/github.com/TheWeatherCompany/softlayer-go/data_types (from $GOROOT)
	/home/travis/gopath/src/github.com/maximilien/softlayer-go/Godeps/_workspace/src/github.com/TheWeatherCompany/softlayer-go/data_types (from $GOPATH)
	/home/travis/gopath/src/github.com/TheWeatherCompany/softlayer-go/data_types
	/home/travis/gopath/src/github.com/TheWeatherCompany/softlayer-go/data_types
Ginkgo ran 2 suites in 3.213723442s
Test Suite Failed
SUITE FAILURE
The command "bin/ci" exited with 1.
Done. Your build exited with 1.

Please address and update this PR and I'll review then

I'm going to do a new PR, I'm not sure where this is coming from:
	/home/travis/.gimme/versions/go1.3.3.linux.amd64/src/pkg/github.com/TheWeatherCompany/softlayer-go/data_types (from $GOROOT)
	/home/travis/gopath/src/github.com/maximilien/softlayer-go/Godeps/_workspace/src/github.com/TheWeatherCompany/softlayer-go/data_types (from $GOPATH)
	/home/travis/gopath/src/github.com/TheWeatherCompany/softlayer-go/data_types
	/home/travis/gopath/src/github.com/TheWeatherCompany/softlayer-go/data_types```

We were using "TheWeatherCompany" for local testing but changed everything back to "maximilien" .


Organization level password validation management

Is your feature request related to a problem? Please describe.
Organization administrators should be able to configure password strength parameters and those should be enforced when the passwords are set by users.
Describe the solution you would prefer
Passwords should be of sufficient complexity and secrecy, making it impractical for an attacker to guess. The identity admins of an organization can decide the complexity they want to enforce on the users' passwords. Or else the users themselves can pick a password with strong complexity.
There can be various constraints like

a minimum length
contains uppercase and lowercase
contains numbers
contains special characters
unique characters

tracking via https://github.com/wso2/product-is/issues/16323


hide keyboard on resume

workaround for #1166

This seems to have resolved this issue.
@vitorpamplona my only guess is that low memory on the device stops and resumes the app occasionally and the windowSoftInputMode="adjustResize" pops up the keyboard on each resume.
Old phones (tried Oreo):
The adjustResize causes the keyboard to always be up when app is resumed. From google docs: "Android gives focus to the first text field in your layout when the activity starts". (https://developer.android.com/develop/ui/views/touch-and-input/keyboard-input/visibility)
It looks like the "Status update" field is put in focus and the keyboard is shown.
Exiting a text field does NOT close the keyboard on older phones.
Using stateHidden will not show keyboard on resume... Even if a text field is in focus (eg. create a not or login screen nsec). One has to click on the text field for keyboard to show up
Newer phones (tried API 34):
The keyboard is not shown on resume, the "Status update" is not in focus.
If you exit a text field the keyboard is closed automatically.
Only drawback with this change I noticed on newer phones: If you exit app while in a text field and resume the keyboard will not show until you click the text field again.

Only drawback with this change I noticed on newer phones: If you exit app while in a text field and resume the keyboard will not show until you click the text field again.

Interesting. IMHO I don't know if it's much of a drawback though. :thinking:

Just investitigating one more on device workaround before requesting this pull request.

Just investitigating one more on device workaround with the user before requesting this pull request.

Got it.

Marking as ready for merge as the user reported this fix is the only thing that resolves their "popping up-onscreen keyboard" issue on their Samsung A5 Android 8 device.

Hum... isn't this an issue with the status update in the drawer being in focus? That element is not visible so the code for the drawer shouldn't even be running.
We might need to keep resize there, like on stateHidden|adjustResize, but the issue with not showing the keyboard on newer phones if you leave the app on the new post screen is quite annoying.

I agree. There should be a higher percentage of newer phones that benefit from keyboard being closed/open promptly than this fix.
Maybe there is a solution to avoid focus in elements that are not visible. Perhaps using FocusRequester() in addition to the focusManager.
I'm happy to close this!


Fix the umber upgrades.

Description
This PR fixes the umber and umber-rc upgrades that were failing for the following reasons:

The HRP for mainnet was incorrectly being set to tp (instead of pb). So the group migration failed when it tried to do stuff with existing addresses in state. This was because SetConfig could change the HRP to tp, but not back to pb. At the beginning of NewRootCmd we were changing it to tp. Later, in the PersistentPreRunE, without the --testnet flag, we were calling SetConfig(false, <seal>) which ultimately wasn't doing anything.
Several modules' params migrations were failing because of missing key info, e.g. panic: parameter uploadAccess not registered.

This PR also moves the upgrade registration further down in app.New. The call to injectUpgrade now needs to be added in there. Part of that injection is providing a different pre-blocker (used to be begin-blocker). But the call to registerUpgradeHandlers was above the call to app.SetPreBlocker so that customization was being undone, and I had to move it back down below.
Related to:

#1760

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

I forced both the umber and umber-rc1 upgrades to run using mainnet data. Both ran until it got a consensus failure.
The slashing modules' v3 -> v4 upgrade takes a couple minutes (on my mac), but the rest of the steps are pretty snappy.


Value "c++20" (of type "string") for combo option "C++ language standard to use" is not one of the choices.

I got this error when compiling, how we can skip this?
subprojects/jetstream/src/render/metal/tools/meson.build:1:0: ERROR: Value "c++20" (of type "string") for combo option "C++ language standard to use" is not one of the choices. Possible choices are (as string): "none", "c++98", "c++11", "c++14", "c++17", "gnu++98", "gnu++11", "gnu++14", "gnu++17".
c++ version:
jetstream| C++ compiler for the host machine: ccache c++ (clang 12.0.5 "Apple clang version 12.0.5 (clang-1<IP_ADDRESS>)")

Ran into that last night and it seemed to be a meson issue after some googling.
I had installed a venv to build this (OSX 13.4) and pip installed meson which gave me version 1.2.2
This gave me the same issue.
Then whilst debugging I accidentally ran  meson setup $HERE $HERE/build outside the venv and it picked up my homebrew installed meson at version 1.2.99 and ran to completion with no issues.
Still stuck with another issue but hope this helps!

 Their Objective-C++ compiler uses hard-coded standards codes and they never updated them with the C++20 standard. I reported this error early this year. However, the Meson team is being very slow in releasing a stable version containing the fix linked above by @ion-concepts.

I asked the Meson team to consider distributing the patch as a minor release instead of version 1.3.0. Meanwhile, as @ion-concepts suggested, this can be avoided by installing the head version of Meson with Brew brew install --HEAD meson. Make sure to uninstall any previously installed Meson version (e.g. pip uninstall meson).

The first alpha release is now live. This issue should be resolved with the latest version of Meson.


Replication stopping after having indexed a quarter of the documents

Hi all,
I've the following configuration:

couchbase 2.5 with more than 2 million docs - 3 nodes
elasticsearch 1.3 - 3 nodes
elasticsearch-transport-couchbase 2.0

I'm running a XDCR replication and that is indexing fast but I'm having only a quarter of documents in my Elasticsearch index.
Elasticsearch does not show any particular logs except known malformed document issues (couple of hundred, defintely not explaining the 1.5 million missing).
Couchbase however shows a large number of error logs. A few hundred  but around 500 000 doc indexed, it keeps logging a huge number of error logs per seconds over and over.
In the XDCR console:
2014-12-02 18:41:54 [Vb Rep] Error replicating vbucket 630. Please see logs for details.
2014-12-02 18:41:54 [Vb Rep] Error replicating vbucket 612. Please see logs for details.
2014-12-02 18:41:54 [Vb Rep] Error replicating vbucket 564. Please see logs for details.
...

In XDCR_errors logs we have two kind of logs going over and over:
[xdcr:error,2014-12-02T19:03:04.091,ns_1@<IP_ADDRESS>:<0.14777.1543>:xdc_vbucket_rep:init_replication_state:571]WARNING! Database delete purger current sequence is ahead of replicator starting sequence for (source:<<"soter">>, target:<<"/remoteClusters/cfb93ac0e62932d4983cc0f0f437cdef/buckets/soter18">>) that means one or more deletion is lost (vb: 697, purger seq: 2754, repl start seq: 0).
[xdcr:error,2014-12-02T19:03:04.135,ns_1@<IP_ADDRESS>:<0.14801.1543>:xdc_vbucket_rep:init_replication_state:571]WARNING! Database delete purger current sequence is ahead of replicator starting sequence for (source:<<"soter">>, target:<<"/remoteClusters/cfb93ac0e62932d4983cc0f0f437cdef/buckets/soter18">>) that means one or more deletion is lost (vb: 779, purger seq: 2934, repl start seq: 0).

Then
[xdcr:error,2014-12-02T19:03:04.476,ns_1@<IP_ADDRESS>:<0.12909.1543>:xdc_vbucket_rep:terminate:381]Replication (CAPI mode) `cfb93ac0e62932d4983cc0f0f437cdef/soter/soter18` (`soter/683` -> `http://*****@<IP_ADDRESS>:8070/soter18%2f683%3beec8a424a5394578b3bc7ac369f96d68`) failed: {http_request_failed,"POST",
                     "http://Administrator:*****@<IP_ADDRESS>:8070/soter18%2f683%3beec8a424a5394578b3bc7ac369f96d68/_bulk_docs",
                     {error,{code,503}}}
[xdcr:error,2014-12-02T19:03:04.557,ns_1@<IP_ADDRESS>:<0.12891.1543>:xdc_vbucket_rep:terminate:381]Replication (CAPI mode) `cfb93ac0e62932d4983cc0f0f437cdef/soter/soter18` (`soter/772` -> `http://*****@<IP_ADDRESS>:8070/soter18%2f772%3beec8a424a5394578b3bc7ac369f96d68`) failed: {http_request_failed,"POST",
                     "http://Administrator:*****@<IP_ADDRESS>:8070/soter18%2f772%3beec8a424a5394578b3bc7ac369f96d68/_revs_diff",
                     {error,{code,503}}}

I don't see anything in the Elasticsearch logs at the same time.
Those error logs are generated over and over and does not even seem to ever stop... It sounds like ES (and maybe CAPI or transport plugin) just refused to continue accepting XDCR replications.
Also, if I delete the xdcr replication, create a new index in ES and then create a new replication from the same bucket into this new index in ES, it just does not start. A couple of couchbaseCheckpoint is created and no document is coming. However if I restart elasticsearch before creating the replication, it all start nicely (and eventually stop after 600 000 documents)
Is this a bug or this can be fixed by tuning some settings/configuration?

Hi,
We are having a similar issue. We start up replication, (which just a few documents). Everything gets replicated correctly and is indexed nicely. Then at some point (usually within half hour or so) we get replication errors (even though no new documents have been added) and from that point onward, if we try to add new documents, they do not get replicated.
At first the replication is successful, and all the documents get replicated ( so it is not the case with invalid JSON). But after a while it crashes without us having made any changes to the dataset.
I've checked that couchbaseCheckpoint documents are present, and each contains a source with uuid. The structure of each is as follows:
    {
        _index: main_v1
        _type: couchbaseCheckpoint
        _id: vbucket3UUID
        _version: 1
        _score: 1
        _source: {
            doc: {
                   uuid: 49525f6d9e6e401a968f696aa1c9f974
            }
        }
    }

Elastic logs are clean. Couchbase logs keep printing the following:
couchdb.log and xdcr_errors.log both print this:
<EMAIL_ADDRESS>  <0.10441.10>:couch_log:info:41]Retrying POST request to http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f18/_bulk_docs in 0.5 seconds due to error {code,503}
[couchdb:info,2015-02-12T19:24:57.512,ns_1@couchbase.dev.bestforme.com:<0.10459.10>:couch_log:info:41]Retrying POST request to http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f60/_revs_diff in 0.5 seconds due to error {code,503}
[couchdb:error,2015-02-12T19:24:57.890,ns_1@couchbase.dev.bestforme.com:<0.10441.10>:couch_log:error:44]Replicator, request POST to "http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f18/_bulk_docs" failed due to error {code,503}
[couchdb:info,2015-02-12T19:24:57.901,ns_1@couchbase.dev.bestforme.com:<0.10479.10>:couch_log:info:41]Retrying POST request to http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f18/_bulk_docs in 0.25 seconds due to error {code,503}
[couchdb:error,2015-02-12T19:24:58.018,ns_1@couchbase.dev.bestforme.com:<0.10459.10>:couch_log:error:44]Replicator, request POST to "http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f60/_revs_diff" failed due to error {code,503}
[couchdb:info,2015-02-12T19:24:58.032,ns_1@couchbase.dev.bestforme.com:<0.10497.10>:couch_log:info:41]Retrying POST request to http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f60/_revs_diff in 0.25 seconds due to error {code,503}
[couchdb:info,2015-02-12T19:24:58.157,ns_1@couchbase.dev.bestforme.com:<0.10479.10>:couch_log:info:41]Retrying POST request to http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f18/_bulk_docs in 0.5 seconds due to error {code,503}
[couchdb:info,2015-02-12T19:24:58.285,ns_1@couchbase.dev.bestforme.com:<0.10497.10>:couch_log:info:41]Retrying POST request to http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f60/_revs_diff in 0.5 seconds due to error {code,503}

debug.log prints the following:
[ns_server:debug,2015-02-12T20:24:01.961,ns_1@couchbase.dev.bestforme.com:<0.5409.14>:remote_clusters_info:do_mk_json_get:1527]Doing get of http://<IP_ADDRESS>:9091/pools/default/buckets?uuid=dc197740d72e32c7abc6b40b0890baf4&forXDCR=1
[ns_server:debug,2015-02-12T20:24:01.963,ns_1@couchbase.dev.bestforme.com:<0.5409.14>:remote_clusters_info:do_with_mcd_to_couch_uri_dict:1414]Going to pick plain couchApiBase for mcd_to_couch_uri_dict: <<"http://<IP_ADDRESS>:9091/main_v1">>
[ns_server:debug,2015-02-12T20:24:01.966,ns_1@couchbase.dev.bestforme.com:<0.5408.14>:xdc_vbucket_rep:init_replication_state:650]Inited replication position: {0,0,0,0,<<"be9367b897fb4e38aa7884e99ccf27f7">>}
[ns_server:debug,2015-02-12T20:24:02.728,ns_1@couchbase.dev.bestforme.com:remote_clusters_info<0.685.0>:remote_clusters_info:handle_call:369]FoundCluster: {remote_cluster,<<"dc197740d72e32c7abc6b40b0890baf4">>,
                  [{remote_node,"<IP_ADDRESS>",9091,9091,undefined,
                       undefined,undefined}],
                  undefined}
[ns_server:debug,2015-02-12T20:24:02.728,ns_1@couchbase.dev.bestforme.com:<0.5430.14>:remote_clusters_info:do_mk_json_get:1527]Doing get of http://<IP_ADDRESS>:9091/pools
[error_logger:error,2015-02-12T20:24:02.728,ns_1@couchbase.dev.bestforme.com:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]** Generic server <0.5408.14> terminating
** Last message in was {'EXIT',<0.5418.14>,
                           {http_request_failed,"POST",
                               "http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f63/_bulk_docs",
                               {error,{code,503}}}}
** When Server state == [{data,
                          [{"State",
                            {rep_state,
                             {rep,
                              <<"dc197740d72e32c7abc6b40b0890baf4/main/main_v1">>,
                              <<"main">>,
                              <<"/remoteClusters/dc197740d72e32c7abc6b40b0890baf4/buckets/main_v1">>,
                              "capi",
                              [{optimistic_replication_threshold,256},
                               {worker_processes,4},
                               {worker_batch_size,500},
                               {failure_restart_interval,30},
                               {doc_batch_size_kb,2048},
                               {checkpoint_interval,1800},
                               {max_concurrent_reps,16},
                               {connection_timeout,180},
                               {http_connections,20},
                               {retries_per_request,2},
                               {socket_options,
                                [{keepalive,true},{nodelay,false}]},
                               {pause_requested,false},
                               {supervisor_max_r,25},
                               {supervisor_max_t,5}]},
                             {rep_vb_status,63,<0.5408.14>,replicating},
                             {1423,790641,966684},
                             nil,nil,<0.11052.10>,<0.11049.10>,<<"main/63">>,
                             <<"*****@<IP_ADDRESS>:9091/main_v1%2f63">>,
                             {httpdb,
                              "*****@<IP_ADDRESS>:9091/main_v1%2f63/",nil,
                              [{"Accept","application/json"},
                               {"User-Agent","CouchDB/2.1.1r-432-gc2af28d"}],
                              180000,
                              [{connect_options,
                                [{keepalive,true},{nodelay,false}]},
                               {connect_timeout,180000},
                               {send_retry,0}],
                              2,250,xdc_lhttpc_pool,20},
                             {db,<0.1830.0>,<0.1831.0>,nil,
                              <<"1423773839449534">>,<0.1826.0>,<0.1836.0>,
                              {db_header,11,0,nil,nil,
                               <<0,0,0,0,97,216,0,0,0,0,5,139>>,
                               0,nil,nil},
                              0,
                              {btree,<0.1826.0>,nil,
                               #Fun<couch_db_updater.7.78420415>,
                               #Fun<couch_db_updater.8.78420415>,
                               #Fun<couch_btree.1.39972947>,
                               #Fun<couch_db_updater.9.78420415>,1279,2558,
                               true},
                              {btree,<0.1826.0>,nil,
                               #Fun<couch_db_updater.10.78420415>,
                               #Fun<couch_db_updater.11.78420415>,
                               #Fun<couch_db_updater.6.78420415>,
                               #Fun<couch_db_updater.12.78420415>,1279,2558,
                               true},
                              {btree,<0.1826.0>,
                               {25048,<<>>,1419},
                               identity,identity,#Fun<couch_btree.1.39972947>,
                               nil,1279,2558,true},
                              0,<<"main/master">>,
                              "/Users/Levon/Library/Application Support/Couchbase/var/lib/couchdb/main/master.couch.1",
                              [],nil,
                              {user_ctx,null,[],undefined},
                              nil,
                              [before_header,after_header,on_file_open],
                              [create]},
                             <<"be9367b897fb4e38aa7884e99ccf27f7">>,0,
                             undefined,0,0,4230,4230,0,13797118081439,
                             [4230],
                             0,
                             {0,0},
                             "Fri, 13 Feb 2015 01:24:01 GMT",
                             {1423792441967640,#Ref<<IP_ADDRESS>150>},
                             {1423,790641,967308},
                             {1423,790641,966710},
                             [<0.5418.14>],
                             <0.5415.14>,false,
                             {"http://Administrator:kva%24im0d0@<IP_ADDRESS>:9091/",
                              [{<<"vb">>,63},
                               {<<"bucket">>,<<"main_v1">>},
                               {<<"bucketUUID">>,
                                <<"fc70a8224cc64abe933b826a29c8bba3">>}],
                              {httpdb,
                               "*****@<IP_ADDRESS>:9091/main_v1%2f63/",nil,
                               [{"Accept","application/json"},
                                {"User-Agent","CouchDB/2.1.1r-432-gc2af28d"}],
                               180000,
                               [{connect_options,
                                 [{keepalive,true},{nodelay,false}]},
                                {connect_timeout,180000},
                                {send_retry,0}],
                               2,250,xdc_lhttpc_pool,20}}}}]}]
** Reason for termination ==
** {http_request_failed,"POST",
                        "http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f63/_bulk_docs",
                        {error,{code,503}}}

[ns_server:debug,2015-02-12T20:24:02.729,ns_1@couchbase.dev.bestforme.com:<0.5430.14>:remote_clusters_info:do_mk_json_get:1527]Doing get of http://<IP_ADDRESS>:9091/pools/default?uuid=dc197740d72e32c7abc6b40b0890baf4
[error_logger:error,2015-02-12T20:24:02.732,ns_1@couchbase.dev.bestforme.com:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================CRASH REPORT=========================
  crasher:
    initial call: xdc_vbucket_rep:init/1
    pid: <0.5408.14>
    registered_name: []
    exception exit: {http_request_failed,"POST",
                        "http://Administrator:*****@<IP_ADDRESS>:9091/main_v1%2f63/_bulk_docs",
                        {error,{code,503}}}
      in function  gen_server:terminate/6 (gen_server.erl, line 744)
    ancestors: [<0.11053.10>,<0.11049.10>,xdc_replication_sup,xdcr_sup,
                  ns_server_sup,ns_server_cluster_sup,<0.59.0>]
    messages: []
    links: [<0.11053.10>]
    dictionary: [{changes_reader,<0.5416.14>}]
    trap_exit: true
    status: running
    heap_size: 6772
    stack_size: 27
    reductions: 13694
  neighbours:

[error_logger:info,2015-02-12T20:24:02.732,ns_1@couchbase.dev.bestforme.com:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {<0.11053.10>,xdc_vbucket_rep_sup}
             started: [{pid,<0.5429.14>},
                       {name,63},
                       {mfa,
                        {xdc_vbucket_rep,start_link,
                         [{rep,
                           <<"dc197740d72e32c7abc6b40b0890baf4/main/main_v1">>,
                           <<"main">>,
                           <<"/remoteClusters/dc197740d72e32c7abc6b40b0890baf4/buckets/main_v1">>,
                           "capi",
                           [{optimistic_replication_threshold,256},
                            {worker_processes,4},
                            {worker_batch_size,500},
                            {failure_restart_interval,30},
                            {doc_batch_size_kb,2048},
                            {checkpoint_interval,1800},
                            {max_concurrent_reps,16},
                            {connection_timeout,180},
                            {http_connections,20},
                            {retries_per_request,2},
                            {socket_options,
                             [{keepalive,true},{nodelay,false}]},
                            {pause_requested,false},
                            {supervisor_max_r,25},
                            {supervisor_max_t,5}]},
                          63,<0.11051.10>,<0.11052.10>,<0.11049.10>,"capi"]}},
                       {restart_type,{permanent,30}},
                       {shutdown,100},
                       {child_type,worker}]

[ns_server:debug,2015-02-12T20:24:02.732,ns_1@couchbase.dev.bestforme.com:<0.5430.14>:remote_clusters_info:do_mk_json_get:1527]Doing get of http://<IP_ADDRESS>:9091/pools/default/buckets?uuid=dc197740d72e32c7abc6b40b0890baf4&forXDCR=1
[ns_server:debug,2015-02-12T20:24:02.735,ns_1@couchbase.dev.bestforme.com:<0.5430.14>:remote_clusters_info:do_with_mcd_to_couch_uri_dict:1414]Going to pick plain couchApiBase for mcd_to_couch_uri_dict: <<"http://<IP_ADDRESS>:9091/main_v1">>
[ns_server:debug,2015-02-12T20:24:02.737,ns_1@couchbase.dev.bestforme.com:<0.5429.14>:xdc_vbucket_rep:init_replication_state:650]Inited replication position: {0,0,0,0,<<"be9367b897fb4e38aa7884e99ccf27f7">>}

Any guidance would be really appreciated. I could send over the full logs if that helps.
Thank you,

Fixed in v2.1.1


Unable to find package MSI: How to install?

I was unable to find the package MSI. I run Windows 7, Powershell 5.
PSVersion                      5.0.10586.117
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.10586.117
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
I am on Windows 7 and must struggle with Powershell parts that haven't been written to work on Windows 7, only Windows 10 etc.
I suppose I can install another way, just downloading and running the MSI.
Well, that worked. But, where do I find the PSM1 or PS1 files? I did not see them pop into any module directory.

The MSI is available on the releases page.
You really should not use the MSI; I'm going to get rid of it eventually. Instead, in PowerShell 5 you should get the PackageManagement module, which lets you simply do: install-package MSI.
You'd need to restart the PowerShell environment when using the MSI. The MSI updates the PSMODULEPATH environment because of design issues with how PowerShell dictated module locations that don't jive with Windows' own guidelines on install locations (i.e. not in Documents folder).

I was able to install the module using the command on Windows 10. There is probably a better way to install it as a PSM1 module. You have that, I assume, but I could not find it.

With the PackageManagement module, you should be able to do that just fine in Windows 7. If not, you can use the MSI but you need to restart PowerShell afterward. Console-based applications like powershell.exe do not automatically get refreshed when the machine environment is updated.

I found the module under Chocolatey. It is called PSMSI. Is your front matter, calling it MSI, correct?

Do not use the Chocolatey package. I haven't updated that in years (and won't). Did you look at the Release link I sent you originally? It's on the Releases tab on this very site where you can find the MSI. The chocolatey package was not an MSI, nor is it necessary when using install-package MSI (or install-module MSI, which is recommended and the MSI will go away).

Aha, the module might be in two different galleries. I found the "MSI" one at PSGallery.
out.txt
My default providers on my other Windows machine, running Visual Studio, points to Chocolatey and Nuget, but not PsGallery.
Are you able to delete the version on Chocolatey?

No need. You control what providers are used, or use install-module which uses the psgallery by default. The Choco version remains for people that used those versions and want to restore them. It predates OneGet and new versions will not go there.

That is fine. It was confusing for me. It did help me figure out that across three different machines, Windows 7 and Windows 10, I have Powershell configuration problems on two.


Initial setup for implementing server-sent events

@ef4 @habdelra Here is part 1 of SSE implementation that is ready to merge. I removed the setInterval that we were using to mimic messages being sent. However, this means that when running the app locally, realm doesn't instantly recognize when a tab is closed and client is disconnected, unless the page is refreshed. This is because of the way client disconnection is handled in local-realm-adapter. We only recognize client disconnecting when there's a write attempt via try/catch.


Update README.md

updated readme for 2023 participants

Hi @Afola-Ode, well done for making your first contribution. Please do not forget that there are other tasks awaiting in the contribution guide

_ No description provided. _

@Afola-Ode Just in case, you can list or simply describe the tasks you carried out in the description section. So that the reviewer can at least know what you have done

@codewithmide @Chinex-Boroja if this is someone’s first contribution adding their name there’s not much to be said :) I think just a name is fine.
Welcome to the club @Afola-Ode!


Python: Add login_anonymous(), refactor login_confirm() (per #750)

Adds login_anonymous
Refactors login_confirm() to handle hashing/unprotection for caller
Handles blank/unspecified ecosystem in login()

All per #750

Codecov Report

Merging #755 (2fc5d8e) into main (eb1f6a9) will increase coverage by 32.09%.
The diff coverage is 33.33%.

@@             Coverage Diff             @@
##             main     #755       +/-   ##
===========================================
+ Coverage   48.44%   80.53%   +32.09%
===========================================
  Files          14       26       +12
  Lines         481     1598     +1117
===========================================
+ Hits          233     1287     +1054
- Misses        248      311       +63

Impacted Files
Coverage Δ

python/trinsic/account_service.py
73.91% <33.33%> (ø)

dotnet/Trinsic/ProviderService.cs

dotnet/Trinsic/Extensions/Base64Url.cs

dotnet/Trinsic/TrinsicService.cs

dotnet/Trinsic/Extensions/MessageExtensions.cs

dotnet/Trinsic/AccountService.cs

dotnet/Trinsic/Storage/FileTokenProvider.cs

...net/Trinsic/Extensions/ServiceOptionsExtensions.cs

.../Trinsic/Extensions/ServiceCollectionExtensions.cs

dotnet/Trinsic/TemplateService.cs

... and 31 more

Continue to review full report at Codecov.

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