Draft 76 not working on ipad/safari

Created a server to accept connections from Safari/ipad/iphone devices and connections open then immediately closes. This is connecting using Draft 76 protocol. Works fine on Chrome using Draft 17.

Which side fails the connection?
The console debug output would really help to understand the problem.
WebSocket.DEBUG = true;
I am currently improving the error feedback and the overall closing behavior( 72dbce92f5ca3a072639df7042490a95680edff9 ).

How are you making a connection from an iPad/iPhone? Mobile Safari doesn't currently have any WebSockets support...

@TooTallNate: WebSocket is implemented in iOS natively. This issue is a duplicate of #63 judging by what was posted which has been fixed. I am able to use WebSocket from my iPhone and Mac (on Safari) since the fix.

process(258): {GET / HTTP/1.1
Upgrade: WebSocket
Connection: Upgrade
Host: ws39.ludologic.com:180
Origin: http://ws39.ludologic.com
Sec-WebSocket-Protocol: poker
Sec-WebSocket-Key1: e d394t}0-12 6F1 v1   l  0]  t
Sec-WebSocket-Key2: 953C1      0 $  94 40
Q³Ž¡íÂ²}
write(181): {HTTP/1.1 101 null
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Origin: http://ws39.ludologic.com
Sec-WebSocket-Location: ws://ws39.ludologic.com:180/
`%dvî×<	øe˜ÞÀ
}
open using draft: Draft_76

process(258): {GET / HTTP/1.1
Upgrade: WebSocket
Connection: Upgrade
Host: ws39.example.com:180
Origin: http://ws39.example.com
Sec-WebSocket-Protocol: example
Sec-WebSocket-Key1: e d394t}0-12 6F1 v1   l  0]  t
Sec-WebSocket-Key2: 953C1      0 $  94 40
Q³Ž¡íÂ²}
write(181): {HTTP/1.1 101 null
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Origin: http://ws39.example.com
Sec-WebSocket-Location: ws://ws39.example.com:180/
`%dvî×<	øe˜ÞÀ
}
open using draft: Draft_76

Eek! We should never be sending "null" as the HTTP status message. Let's fix that...

fixed in 1a5a91e
see #68

@Override
public Handshakedata translateHandshake(ByteBuffer buf) throws InvalidHandshakeException
{
HandshakeBuilder bui = translateHandshakeHttp(buf);
byte[] key3 = new byte[role == Role.SERVER ? 8 : 16];
try
{
buf.get(key3);
} catch (BufferUnderflowException e)
{
throw new IncompleteHandshakeException();
}
bui.setContent(key3);
return bui;
}
this method in Draft_76.java allways throw BufferUnderflowException ,this is why draft76 not work.draft75 is ok if you
modify Websocket.java's constractor like this:
public WebSocket(WebSocketListener listener, List<Draft> drafts, SocketChannel sockchannel)
{
    init(listener, null, sockchannel);
    this.role = Role.SERVER;
    if (known_drafts == null || known_drafts.isEmpty())
    {
        known_drafts = new ArrayList<>(4);
        known_drafts.add(new Draft_17());
        known_drafts.add(new Draft_10());
        //known_drafts.add(new Draft_76());//draft76 not work !!!
        known_drafts.add(new Draft_75());
    } else
    {
        known_drafts = drafts;
    }
}

so,this issue coused by the method translateHandshake in Draft_76.java.
please check it ,thanks .


Options to change casing or capitalization behavior

Describe the issue
Is there an easy way to customize the casing behavior for generated OpenAPI documents so that properties are capitalized?
Thank you

Hello Trevor, you might find the following link helpful too: https://github.com/Azure/azure-functions-openapi-extension/issues/485#issuecomment-1519043188


feat(preset-uno): add shortcut for media query-based hover

Simple shortcuts in preset-uno as alternative to #3233

Close in favor of https://github.com/unocss/unocss/pull/3233, I think we'd better to avoid using shortcuts in presets as possible, to leave that to userland. Thanks


Rework KinesisSettings

A proposal for https://github.com/laserdisc-io/fs2-aws/discussions/976
I based this against v6stuff as that seems to be the spot for your next major release, and these changes would break binary compat.

@barryoneill any comments as to why this was not an acceptable proposal?


Update map badly when clicking park names

Not every park has every kind of data apparently.
Also, there's still no CSS so everything is a mess.
ALSO, I can't tell if it's because of 404's or just because it's badly written, but it seems like it only updates the markers once. After that it will hide them, but not render new ones. I could be wrong here, though, it's late.

Also package.json?

Need to update package.json.
    "gulp-symlink": "^2.1.0",

diff --git a/client/js/components/App.react.jsx b/client/js/components/App.react.jsx
index 6393b6d..bbe5245 100644
--- a/client/js/components/App.react.jsx
+++ b/client/js/components/App.react.jsx
@@ -51,15 +51,24 @@ export default class App extends React.Component {
     }

     render() {
-        var s = this.state;
-        //FIXME: Ain't got no CSS
+        var content;
+        if (!!this.state.park) {
+            content = (
+                <ParkMap parkID={this.state.parkID} park={this.state.park}
+                    facility={this.state.facility} amenity={this.state.amenity}
+                    trail={this.state.trail} center={this.state.center} />
+            );
+        }
+        else {
+            content = (
+                <ParkList parks={this.state.parkList}
+                    onSelectPark={this.selectPark.bind(this)} />
+            );
+        }
+
         return (
             <div>
-            <ParkMap parkID={s.parkID} park={s.park}
-                     facility={s.facility} amenity={s.amenity}
-                     trail={s.trail} center={s.center} />;
-                <ParkList parks={s.parkList}
-                          onSelectPark={this.selectPark.bind(this)} />
+                {content}
             </div>
         )
     }

Also, noice work. :deciduous_tree:

COOL

How does writing this.state.* seven times in a row help with readability?

You can quickly glance at the code and see where you use state.

How does that differ from looking for s or st or some other small thing that makes it easier to see the differences between the regions of code that use state?

In particular, this.state and this.props are surely going to be written hundreds of times in a react application. Using a standard abbreviation makes sense in such a case, e.g. $

Convention. Explicitness. s and st could mean anything.

Okay, when the standard abbreviation for this.state and this.props emerges, I will gladly use it. But is there?

Be the change you want to see in the world!

Find the change you want to see on the ground!

Proactive, not reactive!

Okay, we're just spamming people. Looks like there are 7 people watching this project.

This is important debate! Anyway, changes made. We should probably decide on a convention for park id's though. In the data I think they are park_id. Let's use that everywhere.

Camel case for Javascript. Pretty sane styleguide: https://github.com/airbnb/javascript.
Later when we load the park data into a model we can rename it to parkID there

I like you @johntyree but I side with @luqmaan on the most important debate ever.  If it doesn't cause you undue pain, I'd rather be explicit when possible. Concise code is overrated.
But what do I know? :hankey:

For me it's more about looking at a block of code and thinking "Which parts of this are important?"
If there is a lot of copied boilerplate all wrapped up in it then it's harder to recognize the differences between sections.
I defer to @luqmaan on this, though. I won't pretend to understand the js community :)

:deciduous_tree:

Okay, I'm just gonna merge this.


secretless.io navigation is updated to reflect docs website

Update the navigation (top nav and footer links) on secretless.io to reflect move to docs.secretless.io. See attached wireframe for reference

Before I can begin, I am in need of more detail as to what needs to be done.

Task breakdown:

Point the top nav to the new flare site
remove the documentation pages.


X11 forwarding?

When file a bug report (see below for feature requests)
Please answer these quesions for a bug report. Thanks!
What version of GoTTY are you using (gotty --version)?
What operating system and browser are you using?
What did you do?
If possible, please provide the command you ran.
What did you expect to see?
What did you see instead?
If possible, please provide the output of the command and your browser's console output.
When file a new feature proposal
Please provide an actual usecase that requires your new feature.

Is there a method to allow Xforwarding  to the local hast?
Im my current use case I am running GOTTY in a docker container, the container is configured to allow gui apps to run against the local Xserver.
I would like to run GOTTY in a K8's cloud with xforwarding via the http/https connection without having an ssh connection to the host.
Thanks,


Baseline Correction button in xmagpy not enabled

Probably I'm doing something wrong here, but I follow the wiki  on how to produce a baseline with xmagpy (version 1.1.7).
Absolute measurement data can be found here: absolute measurements
Variometer and scalar data can be found here: variometer and scalar data
Logs: magpy logs
We are using a XYZ-oriented magnetometer.
I do the following steps:

Load DI-data. In this case for month 2023-10 which are the absolute measurements 2023-09-11, 2023-10-10, 2023-10-16, 2023-10-23 and 2023-11-02.
As we have a XYZ-oriented magnetometer I choose Data->Select components->xyz.
Then I export the absolute measurements data to PYSTR (exported data).
I load the exported data. File->Open File (choose the exported BLV_*-files).
Go to panel Analysis and choose Fit (applying spline, knots 0.3 on the data in question).
Load variometer files for the month in question (in this case 2023-10) in variometer and scalar data.
To adopt baseline I go to Analysis panel and press button Baseline and choose the appropriate Baseline for the adoption.
The message "Adopted baseline calculated. Baseline parameters added to meta information and option 'Baseline Corr' on 'Data' panel now enabled." appears. I press OK.
Goes to the panel Data but the 'Baseline Corr' option is not enabled!

Is it something wrong in the above procedure or in the data?
/Regards Mats

When I tried with a different dataset. The month of 2023-08 it seems to work. So there is some kind of problmen with the dataset of the month 2023-10 that xmagpy reacts to.

I see now in the logs the warning "Warning! Variation data missing at DI time range" so it seems to be some gaps in our data that leads to the problems decribed above with 'Baseline Corr'-button not enabled. I must check that.

I found a bug in my software that marked data as gaps even if there were no gaps. So there is the reason probably that the 'Baseline Corr'-button was not enabled.

So I guess I can close this one.


Fix to escape special character

Fix to escape special character such as optional marker, quantifiable marker, alternator marker, backslash and so on.
Changes:
If escaped is true, then mask current token.
Add unit test case to cover escape scenario.

#933

@zeskysee ,
Thx for the PR.  Fantastic ;-)

@RobinHerbots Thx you for your fast response and update :+1: Your help is highly apprieciated.


Docker and cluster tests failing randomly

Description
There is a problem with tests on PR, docker and cluster tests are randomly failing at test-cluster-overview.spec. js.
As I can see on screenshots everytime it's failing on fetching i18n

Expected result
Tests passed without retesting.

Actual result
Example failing PR:
https://github.com/kyma-project/busola/pull/1439
https://status.build.kyma-project.io/view/gs/kyma-prow-logs/pr-logs/pull/kyma-project_busola/1439/pre-busola-smoke-test-docker/1536724952319791104
https://status.build.kyma-project.io/view/gs/kyma-prow-logs/pr-logs/pull/kyma-project_busola/1439/pre-busola-smoke-test-docker/1536724952319791104

Steps to reproduce
Not needed, check the history of the latest PRs.

Namespace tests failed too
https://status.build.kyma-project.io/view/gs/kyma-prow-logs/pr-logs/pull/kyma-project_busola/1482/pre-busola-integration-test-k3s-namespace/1539585972457443328


[Publisher] Icons are not placed properly under "Select an icon from the Material Icons for you api".

For some categories, Icons are not placed in proper manner. And first option under "Select a Background" is not working.

First option is working.


Allow for evil-org todo feature set

If enabled adds the following keys to the normal mode in org:

t  :: org-todo
T  :: org-insert-todo-heading
M-t :: org-insert-todo-subheading

This is useful if you want to quickly toggle TODO --> DONE. It is just t d
instead of C-x C-t d.
See https://github.com/Somelauw/evil-org-mode/blob/master/doc/keythemes.org#todo

If it was up to me, I would say no to M-t since it is a global shortcut for creating new work space.
I would not mind t and T, since I don't use evil-snipe, but I am pretty used to my SPC m t for setting todo's in org and I can live without inserting todo headings directly, which I assume is a purpose of those functions judging by their name.

This is guarded on an option though (org +evil-org-todo) and the three keys are bundled together by the evil-org https://github.com/Somelauw/evil-org-mode/blob/master/doc/keythemes.org#todo
We cloud of course just add one key to the map, but I think it is better to offer folks the way to opt-in to that particular key theme from evil-org.
What do you think @AloisJanicek ?

Ah, I almost forgot:
Doom binds M-RET to some special behavior on TODOs: they do the same as T in your suggestion by adding a todo below the current one. S-M-RET will add a todo above.
Pressing TAB or S-TAB in any org header will promote/demote (indent/dedent) that header, which is a good substitute for M-t.
Hope that helps!

Thanks for the detailed description :) I totally buy the arguments. The option to customize evil-org-key-theme is handy.


Selecting an action from the datagrid actions dropdown does not remove menu

After selecting an actions in the datagrid menu, the menu does not disappear.
Here i switched between public and private on the project and the menu stays visible.

A known issue

Same root cause with #1614. Fixed after we adopted the Clarity action flow component in their latest released version. (>0.8.6)


you can't write ukraine number to phone field +380999999999

@aglaganov ,
With the latest commit you can enter Ukraine numbers. (+380)
Best regards,
Robin


general question

what version of discord.js does this need?

Most people use anywhere from v11.5.1 to before v12.0.0. We plan on updating to DJS v12 soon though.


alpha in vertex color is in vtx_ref

https://github.com/09th/YABEE/blob/5a9a99bcb9f4375f67e32fe7f679eea6645d80b4/yabee_libs/egg_writer.py#L642
this line should be:
attributes.append('<RGBA> { %f %f %f %f }' % col[:])
or it returns an error

I think some Blender versions use 4 values and some use 3.  It should probably check whether Blender returned 4 values or 3 and adjust the output appropriately.


NetherEx Exception caught

Hello there,
We've been running an ATM 3 remix modpack with some other mods thrown in there. The server we host it on has been crashing as of late, and these are the crash logs that have resulted from that. I honestly do not know what could be causing the issue as we have not gone all to crazy with the Mod itself. Any information you need I can get.

Alex L.

crash-2019-06-17_14.27.28-server.txt

You have an issue with one of your biome config files. In whatever file, the issue is at line 181 and has to do with an incorrect value for "genProbability".

Hey,
Thanks for the quick reply. How would I go about correcting that? Does that particular value in that config need to match the one in NetherEx or will I need to play around and see what works?

Alex

It has to be a number between 0.0 and 1.0. What is it set to?

Welp,
In the hell.json, line 181 only has this "minGenH
In the Torrid Wasteland.json, it has this "genProbability": 1.0,
I've checked the rest of them in the NetherEx config folder and they either don't have a line 181 or it does need a number for it's value.

Alex L.

That's strange. Did you modify any of the values in the config files? If so, try running them through https://jsonlint.com. If not, you can delete them and they should regenerate.

I don't believe we've touched them at all. I'll have to try that over lunch and see what happens.

Alex L.

Hello,
So, from what I found:
The hell.json got the following error:
Error: Parse error on line 178:
...ability": 0.25,				"minGenH
----------------------^
Expecting 'STRING', got 'undefined'
The nex.cfg got the following error:
Error: Parse error on line 1:
#Configuration file
^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

Alex L.

Can you send the hell.json over so I can have a look.

I had to convert it to a txt file.
hell.txt

It looks like the bottom half of the file got cut off. Just delete it and everything should be fine.

¯_(ツ)_/¯ I can dig it. I'll give that a go and let you know what happens then.

Alex L.

Hey,
Thanks for the help! I started the server back up and no crashes so far. The config itself also looks to be rebuilt and corrected as well. If you don't mind, I'd like to keep this open for a day or two incase we encounter the issue again. Thanks again.

Alex L.

No problem.

Hey support,
Bad news bears here. We got the same error again. I checked the config and it again is missing a portion of it's file and looks to be at the same spot. I'll send the config and the latest crash report again. Not certain what could cause a config to remove data like that.

Alex L.
hell (1).txt
crash-2019-06-21_10.23.56-server.txt

Will be updating the pack in the near future, so if there is something that should done pack side, let me know. For reference, the only pack changes done dealt with netherwart iirc.

Hey guys,
I've noticed that the config itself is writable, so would turning it to read only help prevent this issue?

Alex L.

In the upcoming update, a lot has been changed with the config system and this issue should be fixed.


Req: use same size thumbnail in portrait & landscape

I just realise the app generates two sets of thumbnails because switching between portrait and landscape mode for some reason resizes the thumbnails thus requiring new ones to be regenerated.
Any chance you could halve the app's cache by simply reusing the same ones for both?

I already changed this back in January https://github.com/kollerlukas/Camera-Roll-Android-App/commit/c0f2802e0f8914f238a9cae5844c7bbbdffac57b#diff-88a602ca92c85b408e86eb30c3e48a19
But I haven't published an update yet.
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
only caches the Source so only one instance is stored in the cache.


remapping of ctrl/cmd keys on macos

hello! i'm migrating from iterm2, and am accustomed to being able to switch my ctrl/cmd keys on macos as attached. is this possible to do with the current keybind syntax in the ghostty config? i gave it a try but couldn't replicate the behaviour I have in iterm2 with these settings.

Fwiw, and this isn't a solution to your problem in Ghostty - but you might appreciate an OS remapping via:
hidutil property --set \
        '{"UserKeyMapping": [
                {"HIDKeyboardModifierMappingSrc":0x7000000e0, "HIDKeyboardModifierMappingDst":0x7000000e3},
                {"HIDKeyboardModifierMappingSrc":0x7000000e3, "HIDKeyboardModifierMappingDst":0x7000000e0}
        ]}' > /dev/null

@berdon thank you! i'll give this a try next time i'm at my computer


Feature/113

Closes #113
Fixes

Remove opaque warning issued when all tau_contrail values are nan in Cocip evolution.
Emit warning in Cocip.eval if the advected contrail is blown outside of the domain of the met data.

Tests

[x] QC test passes locally (make test)
[ ] CI tests pass

Do we care if the tests for Windows machines pass? looks like they're failing CICD testing.

Yep, we do care! They're passing now after I rebased off my other branch with the fix.


Support for Local Push State Information

Hello! Just started using the Bond integration for Home Assistant, awesome work and thank you!
I was looking through their API documentation and the integration and was wondering if you had any plans to add support for their beta "BPUP" UDP Socket to be able to get faster state change updates in Home Assistant (change from Local Pull to Local Push and get rid of polling)?
http://docs-local.appbond.com/#section/Bond-Push-UDP-Protocol-(BPUP)

It looks like HomeSeer has it working in production
http://plugins.homeseer.com/releasenotes?productid=372

It looks like HomeSeer has it working in production
http://plugins.homeseer.com/releasenotes?productid=372


Alignment issue with overlay

Hi!
There is an alignment issue with the overlay. Using the newest release. Somehow the rendered overlay is unaligned for the bottom 1/4 of the images only - see the discontinuous lines in the images below. I'm predicting on pyramidal tiffs (Philips):

We have observed the same for the cellSens VSI format in this issue https://github.com/AICAN-Research/FAST-Pathology/issues/38
However, it is surprising that this is also an issue for the Philips TIFF format. Although this alignment issue maybe looks a little different? For the VSI format the alignment offset is the same for the entire image, whereas for your snapshots it almost seems like some regions have more offset than others. I might be wrong though. For instance, see middle region of bottom image.
Any ideas, @smistad?

Strange..., I have not seen this before.
Was this error introduced in the latest release, did it visualize properly before?
Can you share the data/model so i can reproduce it?

Hi Erik! I'm not sure if was there before the updata. I can send you the model and an example slide.

Was this error introduced in the latest release

Note that @SahPet was using one of the latest artifacts, but I believe this was also a problem for the latest release.

Hi Erik! I'm not sure if was there before the update. I can send you the model and an example slide.

@SahPet also send @smistad the corresponding FPL you used for produce this result.

I've sent the model, fpl-file and example tiff on filesender now.

This error was due to an incorrect calculation of patch positions at the bottom left most patch (and potentially top right most patch). It was fixed in https://github.com/smistad/FAST/commit/dc8eaf75a6412c6cada675fe3e7d71b7650a57b7 and will be included in FastPathology in the future. Thanks for reporting this issue.


remove spandx.config.js in favor of local-frontend.js

Codecov Report

Merging #87 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #87   +/-   ##
=======================================
  Coverage   16.92%   16.92%
=======================================
  Files          12       12
  Lines          65       65
  Branches        5        5
=======================================
  Hits           11       11
  Misses         51       51
  Partials        3        3

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 03cd568...a56dbeb. Read the comment docs.


DiagnosticableMixin error on flutter master branch

Hi, I'm using your plugin and I think it's useful.
but i have trouble with an error on flutter master branch.
I switch to flutter master branch, when I run this error is occured.
../../.pub-cache/hosted/pub.dartlang.org/flutter_cupertino_date_picker-1.0.26/lib/src/date_picker_theme.dart:23:32: Error: Type 'DiagnosticableMixin' not found.
class DateTimePickerTheme with DiagnosticableMixin {
                               ^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/flutter_cupertino_date_picker-1.0.26/lib/src/date_picker_theme.dart:23:7: Error: The type 'DiagnosticableMixin' can't be mixed in.
class DateTimePickerTheme with DiagnosticableMixin {
      ^

FAILURE: Build failed with an exception.

No issue on stable channel, but only master channel.
I think you should review this error. Thank you!

Same issue with:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 1.20.0-2.0.pre, on Mac OS X 10.15.5 19F101, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.46.1)
[✓] Connected device (4 available)

@songyiYu @rignaneseleo
I have the same problem.
How did you solve this problem?

I downgraded to dev v1.19.0-4.0.pre using flutter downgrade 1.19.0-4.0.pre

@songyiYu @rignaneseleo
I have the same problem.
How did you solve this problem?

Not yet, I'm just working on stable channel now.
Flutter 1.17.4 • channel stable

me too
../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_cupertino_date_picker-1.0.26+2/lib/src/date_picker_theme.dart:23:32: Error: Type 'DiagnosticableMixin' not found.
class DateTimePickerTheme with DiagnosticableMixin {
                               ^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_cupertino_date_picker-1.0.26+2/lib/src/date_picker_theme.dart:23:7: Error: The type 'DiagnosticableMixin' can't be mixed in.
class DateTimePickerTheme with DiagnosticableMixin {

Removed ‘with DiagnosticableMixin’ or change 'DiagnosticableMixin' to 'Diagnosticable'  and it work well for me.

Removed ‘with DiagnosticableMixin’ or change 'DiagnosticableMixin' to 'Diagnosticable' and it work well for me.

yes with this change it works

Eliminado 'con DiagnosticableMixin' o cambie 'DiagnosticableMixin' a 'Diagnosticable' y funciona bien para mí.

it work for me

How do we modify the package? I can't find it in the project. Any help please?

I had input_sheet as dependency.... Removing it solved the issue

Removed ‘with DiagnosticableMixin’ or change 'DiagnosticableMixin' to 'Diagnosticable' and it work well for me.

Not the best solution as pub get will eventually update the package sometime and would return the same error.

Error: Type 'DiagnosticableMixin' not found.
and i am on stable channel  Flutter (Channel stable, 1.22.4,
how do i fix this error please let me know?

Is this package being maintained, or is it dead? This is a breaking error that has been around for some time and has not been addressed. This is not a complaint, I'm just wondering whether or not I should use it.

How do we modify the package? I can't find it in the project. Any help please?
Update:
Sorry, figured out right away. Actually, didn't modify the package (because it's been already fixed) but just changed the dependency source in pubspec.yaml. For example,
flutter_cupertino_date_picker:
    git: https://github.com/daveleenew/flutter-cupertino-date-picker.git

Thanks for this fix, the referenced repo has been working well for us. However, it seems the latest beta channel of Flutter breaks the flutter-cupertino-date-picker library yet again, so I've worked the repo again and implemented the necessary fixes. Feel free to reference our fork for now: https://github.com/winteragency/flutter-cupertino-date-picker.git

How do we modify the package? I can't find it in the project. Any help please?
Update:
Sorry, figured out right away. Actually, didn't modify the package (because it's been already fixed) but just changed the dependency source in pubspec.yaml. For example,
flutter_cupertino_date_picker:
    git: https://github.com/daveleenew/flutter-cupertino-date-picker.git

Thanks for this fix, the referenced repo has been working well for us. However, it seems the latest beta channel of Flutter breaks the flutter-cupertino-date-picker library yet again, so I've worked the repo again and implemented the necessary fixes. Feel free to reference our fork for now: https://github.com/winteragency/flutter-cupertino-date-picker.git


Visual Studio 2015 emmits false build error

I'm using

Typescript Tools for Visual Studio 2015 <IP_ADDRESS>

custom tsconfig.json
{
  "compileOnSave": true,
  "compilerOptions": {
    "noImplicitAny": true,
    "noEmitOnError": true,
    "strictNullChecks": true,
    "removeComments": true,
    "sourceMap": true,
    "target": "es5",
    "outFile": "../Scripts/_typescripts.js",
    "module": "none"
  },
  "files": [ "./index.d.ts" ]
}

and it works like a charm! I have just little problem with Visual Studio and its integrated TS support.
I'm using no module system, instead I reference all my files and their order in file ./index.ts. That way I have no need for <reference path="..." \> in code files. VS handles compile on save flawlessly. But when I add new .ts file into my project through solution explorer and run build, I'm getting build errors about missing references. IntelliSense analysis displays no errors and tsc has no problem with that file.
I've find out, that adding new .ts file into project creates <TypeScriptCompile Include="file.ts" \> tag in .csproj and all files in such tag produces build errors for me, like if VS is unable to read my tsconfig.json and follow the references.
If I manually rewirte the tag to simply <Content Include="file.ts" />, then the build errors disappears . It seems to me, that <TypeScriptCompile> tag is redundant, but I do not see any way how to disable it. Every times I add .ts file, it is added in .csproj as <TypeScriptCompile> and then it produces build errors, so I have to manually rewrite it as <Include> tag, which is annoying.
Is there any way how to disable <TypeScriptCompile> tag in VS2015 or do I have some configuration problems in my setup?

Can you share a build log for your project? Tools -> Options -> Build and Run then set MSBuild project build output verbosity to Detailed, build, and send us the log.
Also can you share your project file.
I suspect your tsconfig.json is not being loaded in your project.

TypeScript related part of build log
1>Target "PreComputeCompileTypeScript" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets" from project "project\project.csproj" (target "CompileTypeScript" depends on it):
1>Using "VsTsc" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\TypeScript.tasks.dll".
1>Task "VsTsc"
1>  C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.0\tsc.exe  --removeComments --module None --out "Scripts\_typescripts.js" --sourcemap --target ES5 --sourceRoot "..\TypeScripts\" --noEmitOnError --locale en-US --listEmittedFiles "project\TypeScripts\resizesensor.ts"
1>Done executing task "VsTsc".
1>Done building target "PreComputeCompileTypeScript" in project "project.csproj".
1>Target "PreComputeCompileTypeScriptWithTSConfig" skipped, due to false condition; ('@(ConfigFiles)' != '') was evaluated as ('' != '').
1>Target "CompileTypeScript" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets" from project "project\project.csproj" (target "Compile" depends on it):
1>Task "VsTsc"
1>  C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.0\tsc.exe  --removeComments --module None --out "Scripts\_typescripts.js" --sourcemap --target ES5 --sourceRoot "..\TypeScripts\" --noEmitOnError --locale en-US --listEmittedFiles "project\TypeScripts\resizesensor.ts"
1>project\TypeScripts\resizesensor.ts(10,32): error TS2304: Build:Cannot find name 'JQueryWidget'.
1>project\TypeScripts\resizesensor.ts(23,31): error TS2339: Build:Property 'element' does not exist on type 'ResizeSensor'.
1>project\TypeScripts\resizesensor.ts(26,23): error TS2339: Build:Property 'element' does not exist on type 'ResizeSensor'.
1>project\TypeScripts\resizesensor.ts(26,43): error TS2339: Build:Property 'widgetFullName' does not exist on type 'ResizeSensor'.
1>project\TypeScripts\resizesensor.ts(28,30): error TS2339: Build:Property 'options' does not exist on type 'ResizeSensor'.
1>project\TypeScripts\resizesensor.ts(35,30): error TS2339: Build:Property 'element' does not exist on type 'ResizeSensor'.
1>project\TypeScripts\resizesensor.ts(63,30): error TS2339: Build:Property 'element' does not exist on type 'ResizeSensor'.
1>project\TypeScripts\resizesensor.ts(76,33): error TS2339: Build:Property 'element' does not exist on type 'ResizeSensor'.
1>project\TypeScripts\resizesensor.ts(92,18): error TS2339: Build:Property 'element' does not exist on type 'ResizeSensor'.
1>project\TypeScripts\resizesensor.ts(92,39): error TS2339: Build:Property 'options' does not exist on type 'ResizeSensor'.
1>project\TypeScripts\resizesensor.ts(96,5): error TS2304: Build:Cannot find name 'JQueryWidget'.
1>  The command exited with code 1.
1>Done executing task "VsTsc" -- FAILED.
1>Done building target "CompileTypeScript" in project "project.csproj" -- FAILED.
1>Target "_CheckForCompileOutputs" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "project\project.csproj" (target "_CleanGetCurrentAndPriorFileWrites" depends on it):
1>Done building target "_CheckForCompileOutputs" in project "project.csproj".

This line indicates that tsconfig.json indeed is not loaded
Target "PreComputeCompileTypeScriptWithTSConfig" skipped, due to false condition; ('@(ConfigFiles)' != '') was evaluated as ('' != '').

I can see tsconfig.json in Solution Explorer as included and TypeScript card in project Properties is disabled with note, that TS options are managed by tsconfig.json.

1>  C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.0\tsc.exe  --removeComments --module None --out "Scripts_typescripts.js" --sourcemap --target ES5 --sourceRoot "..\TypeScripts" --noEmitOnError --locale en-US --listEmittedFiles "project\TypeScripts\resizesensor.ts"
1>Done executing task "VsTsc".

This shows that the tsconfig.json was not loaded. can you make sure your tsconfig.json is 1. part of the project you are building, and 2. has content type Content

Mine was set to None, setting it to Content seems to solve build Errors. BIG Thank You!


[FEATURE] mcdev join

handles joining an existing project.
would ask for repo and branch,
then clones that and runs mcdev init right after
should
to clone a specified branch: git clone --branch <branchname> --single-branch <remote-repo-url>
if no branch name is given, execute git clone <remote-repo-url> instead
both clone commands need to set our local config changes: https://stackoverflow.com/questions/49398443/how-to-clone-using-git-and-chain-git-config-user-name
avoids issues with long file paths

the following clones the repo into the current directory, checking out branchname:
git clone --branch BRANCHNAME --config core.longpaths=true --config core.autocrlf=input REPOURI ./

this command should also trigger asking for git user name + email!


Update FixPosition Driver to Latest

This Pr brings the Greenzie fixposition_driver repo up to date with the version from FixPosition and brings in all of the changes since the last update.

Is there a changelog or summary of all the changes that can be added to the PR description?

This is probably the closest thing to a changelog that we will probably get due to being a few versions behind.
https://github.com/Greenzie/fixposition_driver/compare/noetic-devel...fixposition:fixposition_driver:main

My next pedantic question. Have we tested this on a mower yet?

My next pedantic question. Have we tested this on a mower yet?

This driver set has been running on GZDEV11 for two days and I have not seen any issues.


refactor(#7): restructure to match new outline

[ ] I have considered whether this PR needs review, and requested a review if necessary.

Fixes issue #
Notes for reviewers
Reviewers can skip X, but should pay attention to Y.

Merge activity

Feb 3, 3:14 PM GMT+1: @MartinBernstorff merged this pull request with Graphite.


ISSUE-3460 - Fix link to Notary repo

See https://github.com/vmware/harbor/issues/3460 for more info

Coverage increased (+0.008%) to 56.18% when pulling ec3fe0678c59bc5d8448fbaea136602d23f935e3 on Evalle:fix-notary-link into 1840aefea934b04fcaa90c0adfbf8e4b359c9524 on vmware:master.

Not sure why continuous-integration/vic/pr is failing, could someone take a look at it?

Thanks for the PR.

@Evalle , this PR LGTM, could you please reword the commit message? It's because that we have a message convention which should be a imperative sentence.

Coverage increased (+0.04%) to 56.247% when pulling 4b54cb8194a23f0b2a88393955cd12b926e3abe6 on Evalle:fix-notary-link into 10199c10efe5dff3479ddc174e287b34cb39b306 on vmware:master.

@reasonerjt, do we need to update the vendor README?

@Evalle , could your remove the change for README.md? This shouldn't be changed.
I will merge the PR if it done.

@wy65701436 sure I can. thank you for the review btw :)

Coverage increased (+0.008%) to 56.212% when pulling 67e3cefcdb316e2cd487523034074fcf63392295 on Evalle:fix-notary-link into 7cd44e4eb639bf6afd420551e4f9d2661ba099b4 on vmware:master.

@Evalle coud you please help to sync with latest code and commit again? The CI has a limitation when the .drone.yml is changed, it cannot sync with the latest but manually.
No PR can be merged if the CI fail.

@wy65701436 Sure, it's already done

Coverage increased (+0.02%) to 56.236% when pulling 6c07689d85df9dae0a20c44b02025f804126d1fd on Evalle:fix-notary-link into a0bd3ed8dbf41f74a5159d69bee3a988a301c868 on vmware:master.


changes in files of the expr in alerts, service and targets

Add expr in service discovery, targets and alerts url, fixes issue #10171
Example:
alert?expr='expression'

Thanks, will take a look! The tests are still failing, could you look into those? It looks like mostly some test snapshots need to be updated. To update the snapshots, you can run npm run test from web/ui/react-app and then when it reports the test failures, it will give you the interactive options to either update all failing snapshots at once (press u) or update the snapshots interactively (press i).

Thanks, will take a look! The tests are still failing, could you look into those? It looks like mostly some test snapshots need to be updated. To update the snapshots, you can run npm run test from web/ui/react-app and then when it reports the test failures, it will give you the interactive options to either update all failing snapshots at once (press u) or update the snapshots interactively (press i).

man, could you guide me, since in my place the tests work according to your guide, but I don't know what changes to upload with respect to those snapshots...

man, could you guide me, since in my place the tests work according to your guide, but I don't know what changes to upload with respect to those snapshots...

So when I check out your PR locally and run:
cd web/ui/react-app
npm run test

...and then press a to run all tests, it shows me a failed snapshot test with a diff. You may have to further press w to see a menu with available actions, upon which it will show:
Watch Usage
 › Press f to run only failed tests.
 › Press o to only run tests related to changed files.
 › Press u to update failing snapshots.
 › Press i to update failing snapshots interactively.
 › Press q to quit watch mode.
 › Press p to filter by a filename regex pattern.
 › Press t to filter by a test name regex pattern.
 › Press Enter to trigger a test run.

Then when I press u, it updates the file src/pages/alerts/AlertContents.test.tsx. That (or any other changed snapshot files) needs to be added to git and committed.

@juliusv Hello, do you know why it does not detect one of the test files?

No estoy seguro de por qué falló esa prueba de Windows, ¡reiníciela!

sigue fallando :(

These are the two Go tests that are failing on Windows:
=== RUN   TestNewHTTPCACert
2022/04/26 13:56:19 http: TLS handshake error from <IP_ADDRESS>:50204: remote error: tls: bad certificate
    target_test.go:242: Get "https://<IP_ADDRESS>:50203": x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate "Prometheus Test CA")
--- FAIL: TestNewHTTPCACert (0.01s)
=== RUN   TestNewHTTPClientCert
2022/04/26 13:56:19 http: TLS handshake error from <IP_ADDRESS>:50206: remote error: tls: bad certificate
    target_test.go:275: Get "https://<IP_ADDRESS>:50205": x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate "Prometheus Test CA")
--- FAIL: TestNewHTTPClientCert (0.01s)

I don't see how that can be related to your PR, so I would just ignore them for merging.

Estas son las dos pruebas Go que fallan en Windows:
=== RUN   TestNewHTTPCACert
2022/04/26 13:56:19 http: TLS handshake error from <IP_ADDRESS>:50204: remote error: tls: bad certificate
    target_test.go:242: Get "https://<IP_ADDRESS>:50203": x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate "Prometheus Test CA")
--- FAIL: TestNewHTTPCACert (0.01s)
=== RUN   TestNewHTTPClientCert
2022/04/26 13:56:19 http: TLS handshake error from <IP_ADDRESS>:50206: remote error: tls: bad certificate
    target_test.go:275: Get "https://<IP_ADDRESS>:50205": x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate "Prometheus Test CA")
--- FAIL: TestNewHTTPClientCert (0.01s)

No veo cómo se puede relacionar eso con sus relaciones públicas, así que simplemente los ignoraría por fusionarse.

Okey, thank you :)

Wonderful, looks good :+1: Thank you for the patience :) Will merge when tests pass (ignoring Windows ones).

Maravilloso, se ve bien👍Gracias por la paciencia :) Se fusionará cuando pasen las pruebas (ignorando las de Windows).

Thank you very much for being patient with me hehe, and for teaching me so much with this issue, greetings.


$in query operator not properly supported

Filter params with the $in operator like:
{ filter: { name: { $in: ['abc, 'def'] } } }

should be passed as is to the feathers client in order to result in query parameters of the format:
/path?name[$in]=abc&name[$in]=def

The flatten function in restClient.js incorrectly translates the input filter incorrectly to the following query:
{ 'name.$in': ['abc', 'def'] }

which results in the query parameters: /path?name.$in[0]=abc&name.$in[1]=def
Simply adding $in to the queryOperators (as stopKeys parameter input) results in the correct query format
{ name: { $in: ['abc', 'def'] } }

which results in the query parameters /path?name[$in][0]=abc&name[$in][1]=def

@alex-all3dp
good catch, can you recheck if the last commit fix this problem.

after you confirmation i will release a new version

Hi @josx,
thank you for the quick response and fix! That commit works.
We just encountered that it would be necessary for us to support even more operators, e.g. from https://github.com/feathersjs-ecosystem/feathers-objection#query-operators. Other users may want to use query operators from other feathers adapters as well.
Would it be possible to make a change that allows to pass custom queryOperators and merge them with the currently hardcoded defaults?

I think it would be great, to have that feature.
Can you make a PR on that? (please also include an example on how to do it in README)

@josx https://github.com/josx/ra-data-feathers/pull/142


Rename PrivateName.name to .id

Q
A

Bug fix?
yes

Breaking change?
not for release

New feature?
no

Deprecations?
no

Spec compliancy?
no

Tests added/pass?
yes

Fixed tickets
N/A

License
MIT

Given that it refers to an identifier, it's somewhat confusing to have
to use .name.name to get the actual string. The type declared within
types.js is also incorrect, which this commit fixes.
This will also require anything using PrivateName in the main Babel repository to be changed, but it's probably better we do this now rather than after release.

Need to change https://github.com/babel/babylon/blob/master/ast/spec.md#privatename too then

Done.


chore(main): release 1.7.0

:robot: I have created a release beep boop
1.7.0 (2024-03-27)
Features

Add federated secrets (#64) (315c9f2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ai4os/ai4-dashboard/releases/tag/v1.7.0 :sunflower:


Cursor in Expiry date field works incorrectly

Describe the bug
Cursor in credit card expiry date input field works incorrectly.
To Reproduce
Steps to reproduce the behavior:

Click credit card expiry date input field in DropIn
Enter "1222"
Place the cursor between "12" and "/22" either by keyboard or mouse
Hit backspace or delete key on the keyboard
Cursor remains at the same position although the digit was deleted properly, so when you now enter "1" for example you'll get the date "12/12" instead of "11/22"

Expected behavior
Digit will be deleted and cursor moves one position to the left / right. So when you now enter "1" for example you'll get the date "11/22".
Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version 107.0.5304.88

Hi @pof-wojciechszubryt - thanks for raising this.
This is a known issue - an annoying "quirk" of the card component (basically when reduced to 3 digits the expiryDate tries to create the basis for a new date from what is left in the field)
At the moment, however, this is low on our priority list for fixing

The major release, v6.0.0, was launched today!
See the documentation here:

release notes
migration guide

After this upgrade you will see that the expiryDate behaves in a much less quirky way when being edited


Race condition in macOS Meson build between _matfuncs_expm and cython_lapack.pxd

It happens rarely in CI, but I've seen it twice now in the build logs:

https://github.com/scipy/scipy/runs/5823922422?check_suite_focus=true
https://github.com/scipy/scipy/runs/5891684256?check_suite_focus=true

Traceback:
[627/1564] Generating 'scipy/linalg/_matfuncs_expm.cpython-310-darwin.so.p/_matfuncs_expm.c'.
FAILED: scipy/linalg/_matfuncs_expm.cpython-310-darwin.so.p/_matfuncs_expm.c
/usr/local/miniconda/envs/scipy-meson/bin/python /Users/runner/work/scipy/scipy/scipy/_build_utils/cythoner.py scipy/linalg/_matfuncs_expm.pyx scipy/linalg/_matfuncs_expm.cpython-310-darwin.so.p/_matfuncs_expm.c

Error compiling Cython file:
------------------------------------------------------------
...
import random
cimport numpy as cnp
import numpy as np
from libc.stdlib cimport malloc, free
from libc.math cimport fabs, ceil, log2, pow
from scipy.linalg.cython_lapack cimport (sgetrf, sgetrs, dgetrf, dgetrs,
^
------------------------------------------------------------

scipy/linalg/_matfuncs_expm.pyx:9:0: 'scipy/linalg/cython_lapack.pxd' not found
Traceback (most recent call last):
  File "/Users/runner/work/scipy/scipy/scipy/_build_utils/cythoner.py", line 28, in <module>
    main()
  File "/Users/runner/work/scipy/scipy/scipy/_build_utils/cythoner.py", line 20, in main
    sbp.run(['cython', '-3', '--fast-fail',
  File "/usr/local/miniconda/envs/scipy-meson/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cython', '-3', '--fast-fail', '--output-file', '/Users/runner/work/scipy/scipy/build/scipy/linalg/_matfuncs_expm.cpython-310-darwin.so.p/_matfuncs_expm.c', '--include-dir', '/Users/runner/work/scipy/scipy/build', '/Users/runner/work/scipy/scipy/build/scipy/linalg/_matfuncs_expm.pyx']' returned non-zero exit status 1.

It looks like a dependency for the Cython generator involved here isn't quite correct.

Aha - yes - I specified that file depended on the local __init__.py file, but it also depends on the generated Cython lapack etc files - I think the correct fix is in #15970


Fix pdf networkjs reference file

Based on the difficulty of the problem, it was necessary to make a file that will work as a reference for networkjs inside the workerjs file

Change pointer on client apps.


Add automatic deploy & version upgrade

This new deploy action able our repo to automatically deploy on crates.io.
It also upgrade the current version of the crate and stores it as a commit.
It's triggered by releases with a tag name as: "x.x.x"
This PR closes the last milestone issue for first release.

[ ] https://github.com/bluerobotics/navigator-rs/issues/24

@patrickelectric


Suggestion: Have null aware annotations for the SDK

Description
When I override classes or implement interfaces from SDK IDE generates me methods with nullable parameters.
Example:
abstract class TwilioChatListenerAdapter : ChatClientListener{
    override fun onChannelDeleted(p0: Channel?) {
        TODO("Not yet implemented")
    }

I believe in almost all cases it is non null value.
Expected Behavior
Parameter type is non nullable in Kotlin
Reproduces how Often
Always
Chat Android SDK
5.0.1
P.S. Can you also submit some dummy source code some param name is not p0. Unfortunate IDE doesn't take it from javadoc.

Hi @emartynov!
Thank you for using twilio!
Yes, this improvements are on the table as well as providing convenient kotlin interfaces based on coroutines and many others. Unfortunately I can't provide any ETA at the moment.
Right now we are focused on providing adjustable network timeouts and reducing SDK size.
Also I can confirm that it is safe to change auto-generated method signature to
override fun onChannelDeleted(channel: Channel) {

Why not to open source library? I believe it is just using Chat API and doesn't contain any company secrets?
In this way you can expect other people contribution in these small improvements that will land faster.

@emartynov we will opensource it at some point certainly. Currently it doesn't seem doable.

Cool, I'm closing ticket then.


Official Google product

DISCLAIMER: This is not an official Google product.

How is this not an official Google product if it's in the google organization and is featured here too?

https://opensource.googleblog.com/2017/03/a-new-home-for-google-open-source.html

One of the tenets of our philosophy towards releasing open source code is that "more is better." We don't know which projects will find an audience, so we help teams release code whenever possible. As a result, we have released thousands of projects under open source licenses ranging from larger products like TensorFlow, Go, and Kubernetes  to smaller projects such as Light My Piano, Neuroglancer and Periph.io.

This project is in the "just for fun" category.

BTW, I sent a message to the relevant folks for the google organization and Google Open Source Website to suggest adding description / FAQ to clarify. Dunno if they'll feel like updating anything, though.

Thanks for the explanation and the message forwarding. I hope they do, as it will avoid other issues like this one


Make auto_merge script use new update-branch API call

No more cookies!

Beyond the scope of this PR, but your error handling in this file is very interesting. It's sortof functional-style (but without an explicit Maybe type). Python typically uses try/catch exception handling


Fix istanbul dev dependency

According to npm's documentation[1], dependencies on github
repositories are declared with the following syntax:
"module": "person/module"
This commit changes the package.json syntax on istanbul's dependency,
to follow the documentation.
[1] https://docs.npmjs.com/files/package.json#github-urls

Shouldn't we be using the NPM package (https://www.npmjs.com/package/istanbul), instead of the git repo?

This fork introduces something that's being used on handlebars.js and
still(?) not merged upstream.
On Nov 14, 2016 16:58, "Travis Nelson"<EMAIL_ADDRESS>wrote:

Shouldn't we be using the NPM package (https://www.npmjs.com/
package/istanbul), instead of the git repo?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wycats/handlebars.js/pull/1272#issuecomment-260393457,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACBixOcPVviAtA9mpmsXDwfbTRH9Cc-ks5q-JMogaJpZM4KwSCr
.

Mhm, you are right. The "github:user/repo"-syntax is not mentioned in the documentation, although it seems to work.

Mhm, you are right. The "github:user/repo"-syntax is not mentioned in the documentation, although it seems to work.


@Vehmloewff i tried using that but i'm getting "can't find module 's3'" error.

What version on npm to you have?

Nevermind, turns out the readme on auth0's is incorrect. You have to require like this:
var s3 = require('@auth0/s3')
just forked it and updated it myself. Seems like they're not doing anything with pull requests.

My issue is this library depends on an old version of graceful-fs which doesn't work with Node v12.
If you are simply uploading files to s3, consider just using the aws-sdk like this: https://stackabuse.com/uploading-files-to-aws-s3-with-node-js/

@whatsdis I think should be ashamed, this is not the way to treat people who spent precious time on contributing but had to quit. Yeah, there are better ways to quit but calling their 'shit' is a shame

@goldbergyoni ok boomer.


compose: Change UI which toggles enter_sends setting.

Use a popover which displays both the options instead of long text.
We only use a small text indicating the current state which user
can click on to trigger the popover.

Deploying this to chat.zulip.org for feedback.

Sorry, completed missed your review on this PR somehow. Will update them by tomorrow.

Hm, playing around with this, it looks like "Help" is horizontally aligned to the edge of the compose box, but not to the paperclip. I think it might look better if we aligned it to the paperclip.

I don't know happened to the text here -- sorry if I'm just reviewing this before it's ready! I wanted to play with the tooltip experience. :

)

Can we hide the tooltip when the switcher is open?

Okay, fixed those 3. Should be ready for review.

Deploying to chat.zulip.org.  I do note that the "to send" string doesn't handling i18n with a language with a different word order; we can handle that with a z-button sort of thing to have the string translators see be "{z-button} to send" and they can reorder where the span with the fancy syntax goes?

Merged, thanks @amanagr!
The i18n piece still needs work, but it's not a regression, and merging this will make it easier to do that as a small PR on top of this.

#20717


How to reference images that are embedded in another DLL?

Description
Hello. Sorry it is not a bug but I can't get it working. I'm evaluating FFImageLoading for a big project and wan't to store all resources in one DLL and reference them from a Xamarin.Ios project and later a Xamarin.Forms project. It works when I store all images in the same DLL but doesn't when I store the resources in a separate DLL.
Steps to Reproduce
For the POC I named the DLL Images.Resources.DLL. For now I got one SVG image 'Android.svg' stored on disc under "Icons\General". Build action is set to Embedded Resource.
In the Xamarin.Forms (.NET Standard) I have a simple WPF form and reference the image this way:
  <StackLayout> 	<Label Text="Welcome to Xamarin.Forms!" HorizontalOptions="Center" />         <ffimageloadingsvg:SvgCachedImage WidthRequest="300" HeightRequest="300" BackgroundColor="Red"              DownsampleToViewSize="true" Source="resource://Images.Resources.Icons.General.Android.svg">         </ffimageloadingsvg:SvgCachedImage>     </StackLayout>
So I follow the pattern [DLL].[SubDirs].[FileName]. I can't find any documentation on this direct way of supplying the URL in XAML. If I can't get this to work, there is no need on proceeding with the value converter and binding to a property in the view model.
Can you give me a hint how to reference embedded resources in another DLL?
Thanks.

Hi @ErikStroeken,
It's described here: https://github.com/luberda-molinet/FFImageLoading/wiki/Data-URL-&-Embedded-Resources-support-(including-base64) (also feel free to update docs)
resource://{resourceName}?assembly={Uri.EscapeUriString(resourceAssembly.FullName)}


IHashMap Implementation

I am looking for an immutable version of Dart's HashMap (not the LinkedHashMap). Is there a reason why this package doesn't provide that? Can I reasonably assume that a HashMap variant would be more memory efficient than the current IMap based on a LinkedHashMap or is that not really the case?

Got you covered.
IMap uses a ListMap internally:
MFlat(Map<K, V> _map, {ConfigMap? config})
      : _map = ListMap.of(_map, sort: (config ?? IMap.defaultConfig).sort);

And the ListMap uses a HashMap internally:
ListMap.of(
    Map<K, V> map, {
    bool sort = false,
    int Function(K a, K b)? compare,
  })  : assert(compare == null || sort == true),
        _map = HashMap.from(map),
 ...

Oh lol, thanks! I seem to have misread the code then. I thought the IMap employed Map which defaults to LinkedHashMap. Thanks for clarifying and thanks for providing this package. I use it in nearly every project I work on and it's been fantastic.

Glad you like it! :)


Excessive local storage use

Environmental Info:
K3s Version: v1.24.4+k3s1
Node(s) CPU architecture, OS, and Version:
arm64, Ubuntu 22.04
amd64, Ubuntu 22.04
Cluster Configuration:
1 server, 5 agents
Describe the bug:
When the node only has ~32GB of eMMC storage, it's very quickly eaten by /var/lib/rancher/k3s/agent/containerd.
Steps To Reproduce:

Installed K3s: Using the ansible role at https://github.com/PyratLabs/ansible-role-k3s

Expected behavior:
I would expect that it wouldn't leave ~10-15GB of things laying around.
Actual behavior:
It leaves ~10GB of things laying around, and it usually doesn't seem to be able to fee storage.
Additional context / logs:
root@k8s-worker7:~# du -sh /var/lib/rancher/k3s/agent/containerd/* |sort -h
4.0K    /var/lib/rancher/k3s/agent/containerd/bin
4.0K    /var/lib/rancher/k3s/agent/containerd/io.containerd.runtime.v1.linux
4.0K    /var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.btrfs
4.0K    /var/lib/rancher/k3s/agent/containerd/lib
4.0K    /var/lib/rancher/k3s/agent/containerd/tmpmounts
8.0K    /var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.fuse-overlayfs
8.0K    /var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.native
32K     /var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.stargz
384K    /var/lib/rancher/k3s/agent/containerd/io.containerd.runtime.v2.task
6.6M    /var/lib/rancher/k3s/agent/containerd/containerd.log
7.2M    /var/lib/rancher/k3s/agent/containerd/io.containerd.metadata.v1.bolt
409M    /var/lib/rancher/k3s/agent/containerd/io.containerd.grpc.v1.cri
3.0G    /var/lib/rancher/k3s/agent/containerd/io.containerd.content.v1.content
9.4G    /var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs

By default the kubelet aggressively caches images until the disk holding the image store is about 85% full  You'd want to tune the --image-gc-high-threshold and --image-gc-low-threshold values if this does not work for you. See the kubelet documentation for more details:
https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/


Unexpected consistency between sigma2_B_from_mask and sigma2_B_disc for large fsky

Hi,
I was playing around with the computation of SSC and I noticed something unexpected: for a large survey area of 15000 deg2, corresponding to fsky = 0.36, the sigma2_B obtained with the flat-sky approximation and the one obtained from the survey mask (which in this case is a simple polar cap) are very close.
I may be missing something, but I would have expected for the flat-sky result to diverge from the full computation given the very large survey area, as shown in Fig. 1 of this paper: https://www.aanda.org/articles/aa/pdf/2022/03/aa42052-21.pdf
The curves in the plot have been produced with this code:
ell_mask = np.load(pyccl_cfg['ell_mask_filename'].format(area_deg2=area_deg2, nside=nside))
cl_mask = np.load(pyccl_cfg['cl_mask_filename'].format(area_deg2=area_deg2, nside=nside))
cl_mask_norm = cl_mask * (2 * ell_mask + 1) / (4 * np.pi * f_sky)**2

cosmo_ccl.compute_linear_power()
p_of_k_a = cosmo_ccl.get_linear_power()

sigma2_B_mask = ccl.covariances.sigma2_B_from_mask(
    cosmo=cosmo_ccl, a_arr=a_grid_sigma2_B, mask_wl=cl_mask_norm, p_of_k_a=p_of_k_a)
sigma2_B_disc = ccl.covariances.sigma2_B_disc(cosmo=cosmo_ccl, a_arr=a_grid_sigma2_B,
                                    p_of_k_a=p_of_k_a, fsky=f_sky)
plt.figure()
plt.plot(a_grid_sigma2_B, sigma2_B_mask, label='mask')
plt.plot(a_grid_sigma2_B, sigma2_B_disc, label='disc', ls='--')
plt.xlabel('$a$')
plt.ylabel('$\sigma^2_B(a)$')
plt.yscale('log')
plt.legend()
plt.show()

Could there be some issue, or am I missing something trivial?
PS, in the code snipped I am defining manually the linear matter Pk, since calling sigma2_B_mask with p_of_k_a='delta_matter:delta_matter' produces the error
  File [~/anaconda3/envs/spaceborne/lib/python3.11/site-packages/pyccl/covariances.py:246](https://file+.vscode-resource.vscode-cdn.net/home/davide/Documenti/Lavoro/Programmi/Spaceborne/~/anaconda3/envs/spaceborne/lib/python3.11/site-packages/pyccl/covariances.py:246), in sigma2_B_from_mask(cosmo, a_arr, mask_wl, p_of_k_a)
  [244](https://file+.vscode-resource.vscode-cdn.net/home/davide/Documenti/Lavoro/Programmi/Spaceborne/~/anaconda3/envs/spaceborne/lib/python3.11/site-packages/pyccl/covariances.py:244) chi = cosmo.comoving_angular_distance(a=a_arr)
  [245](https://file+.vscode-resource.vscode-cdn.net/home/davide/Documenti/Lavoro/Programmi/Spaceborne/~/anaconda3/envs/spaceborne/lib/python3.11/site-packages/pyccl/covariances.py:245) k = (ell+0.5)[/](https://file+.vscode-resource.vscode-cdn.net/)chi[i]
--> [246](https://file+.vscode-resource.vscode-cdn.net/home/davide/Documenti/Lavoro/Programmi/Spaceborne/~/anaconda3/envs/spaceborne/lib/python3.11/site-packages/pyccl/covariances.py:246) pk = p_of_k_a(k, a_arr[i], cosmo)
    [247](https://file+.vscode-resource.vscode-cdn.net/home/davide/Documenti/Lavoro/Programmi/Spaceborne/~/anaconda3/envs/spaceborne/lib/python3.11/site-packages/pyccl/covariances.py:247) # See eq. E.10 of 2007.01844
    [248](https://file+.vscode-resource.vscode-cdn.net/home/davide/Documenti/Lavoro/Programmi/Spaceborne/~/anaconda3/envs/spaceborne/lib/python3.11/site-packages/pyccl/covariances.py:248) sigma2_B[i] = np.sum(pk * mask_wl)[/](https://file+.vscode-resource.vscode-cdn.net/)chi[i]**2

TypeError: 'str' object is not callable

Thanks!
Davide

@damonge thanks for the fix!
Fig. 1 of the paper I shared actually shows a very bad agreement in the case of large fsky (15_000 deg2, dashed lines), which is what I use in my plot. For such a large survey area, I would have expected the sigma2_B_disc function to yield incorrect results (hence the two curves in my plot to disagree, a bit like in the attached plot). But again maybe I'm missing something.


Force r10k to use puppet-ruby version

https://forge.puppet.com/puppetlabs/ruby

R10k has been removed. This issue is not necessary anymore


feat: launcher pod requests/limits

for now via defaults as configured in the new "global" config configmap

wrap up in #59


[ja] translation of instrumentation scope and sampling

Docs PR Checklist

[X] This PR is for a documentation page whose authoritative copy is in the
opentelemetry.io repository.

@katzchang please take a look!

@chalin should I remove the duplicated images from this PR as well (ref: #4741)

@svrnm @chalin could you take another look and give your LGTM?


[24.12.10] [FEAT] Improve briefing for dumb

try to make the briefing more detailed, explaining the key stages or important production/items.
Possibly in several sub-chapters to avoid spoilers, so people won't come and read them unless they're stuck on the next step.
Between the bugs, the lack of certain resources and the lack of information, it's a bit complex to deal with it when you have only two functional neurons.

Improving the story to help bridge that steep learning curve is important.     Maybe we can begin the conversation with phase 1, creating a list areas of Maraxsis that are not too noob friendly.    And then phase 2, brain storm ways to help new ones overcome those hurdles using a variety of methods that trickle knowledge in consumable pieces.
Here is the rough draft of potential pain points I see:

Is the trench a moon of maraxis?  How does a new player get there when they land there for the first time.
how and what are your first resources to find on maraxsis and how/where do you find them.
hydro reactor is most important tool required to process path of saline water -> brackish water -> salt
Why can't i build crap on sand?
Where can I get atmosphere?
What's the item path to get plastic, oil
Example how to program submarines to transport items  to/from trench

Something I think that would help new players is help them have proper expectations.

you CAN NOT just raw dog Maraxsis.   You need a steady supply of resources from other planets to get established at first.
YES quality surplus issues can be mitigated through engineering.    Its a feature not a bug.
Platform travel to Maraxis is similar to Aquilla in that it needs rockets.

Ideas on how to teach that:

Factopedia -  Easy to miss a description on an item.  Important instructions/ non intuitive process/ or new concepts may not be best placed here.    Reference for item stats, boiler plate descriptions are perfect here.    For example controls for a submarine to enter the trench (control + enter) may not be best place for factopedia
Achievements - Perfect for short actions like,   "Staying Glassy" - Mine first glass from mullusk husk",  "Pound Sand" - place first drill on any sand tile to get sand", "Get Trenched - after finding trench entrance (dark tiles) in a submarine,  press control  + enter"   Usually achievements are created in a way NOT to have any dependencies on other achievements nor designed to be completed in a predetermined order.
Quests/ Story -  This is IMO the gold standard to teach by action with guidance that feels natural and unforced.   here would be some cool quest ideas to introduce new concepts to the game:
"Find the abandoned submarine"  -  [park an abandoned working sub with enough light oil to drop to the trench with enough torpedos to kill ONLY 1 enemy].  When the player enters the sub,  continue the story, "Huh i wonder what killed  the crew?!  While exploring the submarine controls you see a message flash on a monitor   'Danger -  multiple anomalies detected detected below!'.   Next to the monitor you see a lever that's labeled, "Descend = control  + enter".   What do you do next?  do you pull it?"  Then when the submarine descends,  spawn exactly 1 enemy that instantly is already on top of the submarine attacking it.

To add...
Maraxsis does require the first 3 planets to be completed and can be unlocked the same time as aquilo, but it still might not be obvious to a player that planetary logistics is required. I have attached the aquilo tips and tricks for our reference in solving this.
(sorry for the brightness, windows snip tool doesnt like capturing HDR content for some reason)

This one is now fixed, thanks for the suggestion.

Thanks for the report. Over the last few weeks I have greatly increased the user experience through localized descriptions, tips and tricks, and other means. Today I watched a 5hr Krydax stream where most of the mechanics were flawlessly learned. All that effort seems to be paying off.
The last communication problem was having two seperate mods both performing spidertron logistics.
With the removal of construction continued, I am marking this one as resolved.


Setup releases and environments in github

After removing the github repo connection to vercel, the releases links stopped working.

Already done! 🎉


Healthcheck message fix

This fixes the two healthcheck messages.
On the yellow notification bar at the top of the task view, there will be a message stating how many times the healthchecks were retried if they were tried more times than allowed. If not, instead it will state the number of seconds the checks were configured to run before timeout.
In the healthchecks subview, now the retry limit is explicitly stated next to the timeout limit.

:+1:

Thanks for all the changes and small tweaks to this @Calvinp , LGTM


Spring Boot Versions and EOL Details

Spring Boot is the most used Web Development framework in Java and Kotlin. EOLs for Spring Boot are lost easily. It is good to have it here.

Best upstream sources I've found so far:

https://github.com/spring-projects/spring-boot/wiki/Supported-Versions
https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Versions

This is the same. This works. We can close this.

Why not add spring boot lifecycle? Also, spring cloud.


Linked List: Find Middle of the Linked List in Go

https://leetcode.com/problems/middle-of-the-linked-list/

I'll take this one up

Thank you


[CLI] wandb sync --id=3ry7a3m2 syncs all experiments instead of the provided one

wandb --version && python --version && uname

Weights and Biases version: 0.8.36
Python version: 3.7.6
Operating System: Debian 9.0

Description
I modified wandb-summary.json locally and want to upload my changes. I'm probably missing something from the CLI docs, but no matter what command combination I try, I keep uploading all the runs instead of just the provided one.
Docs from CLI:
wandb sync --help

Usage: wandb sync [OPTIONS] [PATH]...

  Upload an offline training directory to W&B

Options:
  --id TEXT           The run you want to upload to.
  -p, --project TEXT  The project you want to upload to.
  -e, --entity TEXT   The entity to scope to.
  --ignore TEXT       A comma seperated list of globs to ignore syncing with
                      wandb.

  --help              Show this message and exit.

What I Did
I tried with all the following commands, and the result was always the same: wandb would upload all the runs on my local directory. There is a folder wandb  and a run inside it under the folder run-20200602_150630-3ry7a3m2 from where the command was invoked.
Commands I tried:
wandb sync --id=3ry7a3m2
wandb sync --id=3ry7a3m2 wandb/
wandb sync --id 3ry7a3m2 wandb/
wandb sync --id=3ry7a3m2 wandb/
wandb sync --id "3ry7a3m2"
wandb sync --id '3ry7a3m2'
wandb sync --id '3ry7a3m2' wandb/
wandb sync --id='3ry7a3m2' wandb/
wandb sync --id="3ry7a3m2" wandb/

Am I missing anything?
Thanks,
Sebastian

We iterate over all directories by default.  You can pass the individual directory to sync only that one.  i.e. wandb sync wandb/run-XXXXX-3ry7a3m2

Hey @sebastian-sosa
In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen. :smile:

We iterate over all directories by default. You can pass the individual directory to sync only that one. i.e. wandb sync wandb/run-XXXXX-3ry7a3m2

to clarify, if pathA has a nested structure and has structure pathA/h/*tfevents, and pathA/g/*tfevents, and if i do wandb sync --sync-tensorboard pathA, does it also iterate over all directories? I somehow got a warning saying wandb: WARNING Found {} directories containing tfevent files. If these represent multiple experiments, sync them individually or pass a list of paths.; wanted to confirm the warning might not be needed and the sync is correct


ErrorHandler getting stuck processing ACDC documents

ErrorHandler started misbehaving in the newest WMAgent version and the cause is probably in this PR that got in #8533
This is one of the components watched/restarted by a cronjob, but I'm bumping it to run every hour or so.

Just an observation, reducing maxProcessSize from 500 to 100 seems to make the component stable again (though its performance gets degraded...)

dup of #8614


Collission with tailwind spin class => please update json-editor dependency

Currently, when using vue-json-editor together with tailwind < 2, the tailwind spin animation is replaced by the spin animation from vue-json-editor, or to be more specific, from the animation defined by the json-editor dependency. I already renamed the spin animation in json-editor and a new version 9.4.0 has been released with the fix. Could you consume this version to avoid the collissions?
Here's the (already merged) PR:
https://github.com/josdejong/jsoneditor/pull/1333
And the fix has been published in this version:
https://github.com/josdejong/jsoneditor/releases/tag/v9.4.2

Wrong repo. Sorry for disturbing you. :)


Merge of and for version 1.24.1124 (#11)

prj: Refactor project structure Overhaul ExplorerBrowser, and add second Browser pane

Refactor ShellNamespaceService Bump Application version="1.24.1113.0"

Bump AssemblyVersion to v1.24.1113. Update vulnerable package System.Private.Uri

Update Application Icon Assets. Bump Package and Project version.

Refactor

Refactor AbstractBrowserItem

Refactor ShellNamespaceService

Refactor

gui: Add HeaderedContentControl Remove SecondaryExplorerBrowserBorder

Move SoftwareBitmapSource from BrowserItem to AbstractBrowserItem

gui cleanup

Refactor .xaml, esp. the SideBar

Refactor Stock Icons

Add Command Resources from Assets\Legacy Assets from Old-School electrifier\commands\visual studio image library\

Rename them

...add them to the AppBar

gui: Do some Refactoring, add dummy Drives Selector Bar

Some Prototyping

Refactor gui: Add some Prototypes

Refactor StockIcons

gui: Workbench

gui: Workbench

Remove old, obsolete Stock Icons from Source

Remove Expander Controls

gui: Workbench

Refactor gui, especially AppBar and artifacts

Add StockIconImages to ShellListView

Fix Navigation via ShellNamespaceTreeControl

Refactor debug stuff of NativeTreeView_SelectionChanged()

Add BrowserItemFactory

src: Organize static Helpers

Miscellaneous Debris

Add and fix assets

Fix AppWindow.SetIcon() package asset path
Add src\electrifier\Assets\Themes\Miscellaneous Debris\Boing Ball Flash Icon.png Add src\electrifier\Assets\Themes\Miscellaneous Debris\Ying Yang Icon, gray 64px.ico

Still needs *.pfx


Batching & Compression[HELP + INFO Request]

I would like to know what is the recommended practice for Writer with a Codec. If say we have a thousand items of a particular record, are we suppose to append_ser each record iteratively rather than a batch insert? If so when does the compression codec kicks in, upon flush?
P.S. Sorry for the trivial question.

That was actually not a trivial question at all! I had to look back at the code to answer, given that I haven't written the Codec implementation.
Compression indeed happens over the invocation of flush over the stream of bytes in the buffer. flush gets also called when the buffer size grows over the block size, so I believe that doesn't really matter if you append many small records or you batch them, at least from the perspective of when the compression happens.
If you are curious about performances with many small records vs few big ones, we have some benchmarks that cover exactly this case. Maybe you could run them and change them in a way that is more meaningful to your use case?


stm32: sdmmc & HSI48: Fix issues around HSI48 and SDMMC clock configuration

Fix basic issues in the driver and configuration issues in l4 dtsi files

@hjuul FYI


Sync upstream

What this PR does / why we need it:
Noticable changes:

https://github.com/kubernetes/ingress-nginx/pull/3425
https://github.com/kubernetes/ingress-nginx/pull/3374
https://github.com/kubernetes/ingress-nginx/pull/3417
https://github.com/kubernetes/ingress-nginx/pull/3383
https://github.com/kubernetes/ingress-nginx/pull/3372

and more visibly https://github.com/kubernetes/ingress-nginx/pull/3437 - this is expected to fix unexpected nginx: configuration file /tmp/nginx-cfg216910757 test failed errors (there will still potentially by legit errors caused by misconfigured ingresses).
@Shopify/edgescale

And I don't know why it's showing the commits that are already in our master branch, diff is correct though.


Add support creating preview with none-empty volumes from CLI

Related issue https://github.com/UffizziCloud/uffizzi_platform/issues/169

An edge case, not critical, closing


problem with 30 mins Time frame for ^NSEI (national stock exchange of india)

There is problem with 30 mins time frame with indian stocks.
the 30 mins time interval data is showing wrong open and close.
for example:
in nifty, the first 30 mins candle is starts from 9:15 and, ends at 9:30.
and after that it is continueing from 9:30 to 10:00.
but, because of this, our all strategies getting destroied, as normal candle starts at 9:15, and ends at 9:45.
the last candle of nifty should be of 15 mins, i.e. starts at 15:15, and ends at 15:30.
Please solve this issue as soon as possible, because due to this, our all strategies / scanner gets destroied.
Thank you.
regards,
Abhishek Raut.

Only because you say this:

our all strategies / scanner gets destroied

Try yfinance, price history fetches work perfect. I know it has other issues but they are separate.

This is because yfinance resamples 30m data from 15m, because apparently the 30m data Yahoo returned was bad years ago, but the resampling is lazy. But today Yahoo's data looks fine, so potentially the resampling is not needed.
If someone wants to solve, do this:

resample properly, by offsetting the intervals times by market open time (get this from history_metadata)
move this resampling into a unit test, and verify that the resampling is now not necessary (test on variety of stock exchanges)

Regarding 60m - I can't reproduce, all the hourly intervals start/end at hh:15

This is because yfinance resamples 30m data from 15m, but naive resampling assumes alignment at hh:00. Why resample? Because apparently the requesting Yahoo for 30m data returned 60m, but this was years ago. Today Yahoo's data looks fine, so potentially the resampling is not needed.
If someone wants to solve, do this:
• resample properly, by offsetting the intervals times by market open time (get this from history_metadata)
• move this resampling into a unit test, and verify that the resampling is now not necessary (test on variety of stock exchanges)

I do not understand your solution.
can you please provide python code to solve this?

I do not understand your solution.

That's ok. Someone else will, someone familiar with yfinance code.

That's ok. Someone else will, someone familiar with yfinance code.

It means, We have to wait for the update of yfinance.
How long we can expect this?
or there isn't any temporary solution to solve it?

There's a real bug here, leave it open. Your hack doesn't fix the underlying problem, the first interval of day is wrong.

There's a real bug here, leave it open.

Your hack doesn't fix the underlying problem, the first interval of day is wrong.
You are right, I didn't notice this.
also one more bug in it, it direct take the closing of last candle as opening of new. but on real chart, its not like that.
i will try to fix it, if you can, Please help me to solve this.
Thank you.

Your Pandas skills look basic so first do tutorials on Timedelta and Groupby, and avoid using apply as rarely needed. Once your Pandas knowledge is good, you will understand my earlier post.

https://github.com/ranaroussi/yfinance/blob/7b95f554bd6019d64caceaf1809fc5af11737776/yfinance/base.py#L726

Hi @AbhishekSRaut,
30min intervals for ^NSEI on YahooFinance start at HH:00 - [9:00AM; 9:30AM], [9:30AM; 10:00AM], [10:00AM; 10:30AM], ... [2:30PM; 3:00PM]
60min intervals for ^NSEI on YahooFinance start at HH:15 - [9:15AM; 10:15AM], [10:15AM; 11:15AM], [11:15AM; 12:15PM], ... [2:15PM; 3:15PM]
yfinance is a scraping package so it will present the same data as on finance.yahoo.com.

@ivan23kor Read the thread carefully, you are wrong.

@ValueRaider you are right that 30m data is resampled from 15m.
I am not debating that, I am saying that 60m data starts at HH:15 on YahooFinance.
As I understood @AbhishekSRaut, he wants 60m data to start at HH:00. Is that the issue?

No they want it aligned to HH:15. Yahoo returns this, but yfinance loses this when it resamples.

I am running this script:
import yfinance as yf
print(yf.download('^NSEI', start='2023-03-03', interval='30m'))
print(yf.download('^NSEI', start='2023-03-03', interval='60m'))
print(yf.download('^NSEI', start='2023-03-03', interval='1h'))

and this is the output I am getting:
[*********************100%***********************]  1 of 1 completed
                             Open          High           Low         Close     Adj Close  Volume
Datetime
2023-03-03 09:30:00  17467.300781  17495.250000  17453.099609  17485.949219  17485.949219       0
2023-03-03 10:00:00  17485.750000  17527.300781  17474.000000  17521.199219  17521.199219       0
2023-03-03 10:30:00  17520.500000  17555.849609  17516.750000  17542.099609  17542.099609       0
2023-03-03 11:00:00  17542.599609  17569.000000  17534.900391  17561.750000  17561.750000       0
2023-03-03 11:30:00  17562.150391  17578.449219  17561.050781  17566.599609  17566.599609       0
2023-03-03 12:00:00  17566.300781  17578.050781  17559.550781  17560.650391  17560.650391       0
2023-03-03 12:30:00  17559.949219  17563.949219  17535.900391  17556.199219  17556.199219       0
2023-03-03 13:00:00  17557.250000  17579.050781  17553.400391  17573.150391  17573.150391       0
2023-03-03 13:30:00  17573.449219  17607.650391  17572.699219  17598.000000  17598.000000       0
2023-03-03 14:00:00  17597.750000  17628.349609  17596.949219  17624.250000  17624.250000       0
2023-03-03 14:30:00  17623.800781  17644.699219  17615.099609  17627.400391  17627.400391       0
2023-03-03 15:00:00  17626.699219  17627.050781  17585.000000  17592.300781  17592.300781       0
[*********************100%***********************]  1 of 1 completed
                             Open          High           Low         Close     Adj Close  Volume
Datetime
2023-03-03 09:15:00  17451.250000  17514.300781  17430.500000  17512.650391  17512.650391       0
2023-03-03 10:15:00  17513.900391  17555.849609  17508.550781  17547.849609  17547.849609       0
2023-03-03 11:15:00  17547.500000  17578.449219  17534.900391  17570.550781  17570.550781       0
2023-03-03 12:15:00  17570.550781  17575.250000  17535.900391  17561.650391  17561.650391       0
2023-03-03 13:15:00  17561.050781  17613.750000  17560.550781  17609.750000  17609.750000       0
2023-03-03 14:15:00  17609.699219  17644.699219  17587.199219  17591.900391  17591.900391       0
2023-03-03 15:15:00  17592.449219  17598.349609  17585.000000  17594.349609  17594.349609       0
[*********************100%***********************]  1 of 1 completed
                                   Open          High           Low         Close     Adj Close  Volume
Datetime
2023-03-03 09:15:00+05:30  17451.250000  17514.300781  17430.500000  17512.650391  17512.650391       0
2023-03-03 10:15:00+05:30  17513.900391  17555.849609  17508.550781  17547.849609  17547.849609       0
2023-03-03 11:15:00+05:30  17547.500000  17578.449219  17534.900391  17570.550781  17570.550781       0
2023-03-03 12:15:00+05:30  17570.550781  17575.250000  17535.900391  17561.650391  17561.650391       0
2023-03-03 13:15:00+05:30  17561.050781  17613.750000  17560.550781  17609.750000  17609.750000       0
2023-03-03 14:15:00+05:30  17609.699219  17644.699219  17587.199219  17591.900391  17591.900391       0
2023-03-03 15:15:00+05:30  17592.449219  17598.349609  17585.000000  17594.349609  17594.349609       0

which corresponds to Yahoo Finance:

30m:

60m:

@ivan23kor You are presuming the data returned by Yahoo via the API calls matches the chart contents. Not necessarily, and not in this case. PLEASE review base.py

@ValueRaider 30m data is downsampled 15m data.
@ValueRaider can you explain me what's the problem, if the output of yfinance.download is the same data as on Yahoo Finance (the reference)?

Problem 1: the actual 30m data returned by Yahoo is aligned to HH:15, but the 15m->downsampled->30m is aligned to HH:00, so yfinance is not simply returning what Yahoo returns.
Problem 2: the first 15m interval of day disappears during downsampling - meaning the Open, High and Low of first 30m interval are wrong

@ivan23kor My issue is not with 60 mins time frame.
issue coming in 30 mins interval.
in the indian stock market, 30 mins interval is from hh:15 to hh:45. and hh:45 to hh:15.
but yfinance returning from hh:00 to hh:30, and hh:30 to hh:00.
as previously said by @ValueRaider
since, my pandas knowledge is basic, so i don't know even how to deels with it, and how to solve this problem.

I have solved this problem by following code:
import yfinance as yf
import pandas as pd
import os

#function to convert 15 mins data to 30 mins data.
def mins_30(df):
	datetimelist=[]
	openlist=[]
	highlist=[]
	lowlist=[]
	closelist=[]
	volumelist=[]
	for i in range(len(df)):
		datetime1=df.iloc[i,0]
		hour1=int(f'{datetime1[-8]}{datetime1[-7]}')
		# hour1 is only hour extracted from date time column
		min1=int(f'{datetime1[-5]}{datetime1[-4]}')
		# min1 stands for minits from the datetime column
		if min1==15 and hour1 != 15:
			datetimelist.append(df.iloc[i,0])
			# date time is of starting candle, so if last candle, that is 15:15 to 15:30, for that, we have to write seprate conditions. this is for other than last candle. because, yfinance returns starting time of candle, not ending time.
			openlist.append(df.iloc[i,1])
			highlist.append(max(df.iloc[i,2],df.iloc[i+1,2]))
			lowlist.append(min(df.iloc[i,3],df.iloc[i+1,3]))
			closelist.append(df.iloc[i+1,4])
			volumelist.append(df.iloc[i,5])
			# i+1 is given to take the data of 15 mins of current iteration, and next wrow of 15 mins. i.e. in current iteration, its hh:15. but for hh:15 to hh:45, we need max high and min low of 2 15 mins candle. so second is hh:30 to hh:45. for that, we take this i+1.
		elif min1==45 and hour1 != 15:
			datetimelist.append(df.iloc[i,0])
			openlist.append(df.iloc[i,1])
			highlist.append(max(df.iloc[i,2],df.iloc[i+1,2]))
			lowlist.append(min(df.iloc[i,3],df.iloc[i+1,3]))
			closelist.append(df.iloc[i+1,4])
			volumelist.append(df.iloc[i,5])
		elif min1==15 and hour1==15:
			# This condition is for last candle. i.e. 15:15 to 15:30. yfinance return starting time of candle, not ending time.
			datetimelist.append(df.iloc[i,0])
			openlist.append(df.iloc[i,1])
			highlist.append(df.iloc[i,2])
			lowlist.append(df.iloc[i,3])
			closelist.append(df.iloc[i,4])
			volumelist.append(df.iloc[i,5])
		else:
			continue
	new_df={'datetime':datetimelist,'open':openlist,'high':highlist,'low':lowlist,'close':closelist,'volume':volumelist}
	return new_df

def third():
	check1 = os.path.exists('nifty.csv')
	if check1 == True:
		os.remove('nifty.csv')
	data = yf.download(tickers='^NSEI', period='60d', interval='15m', group_by='ticker', auto_adjust=False)
	df = pd.DataFrame(data)
	df.reset_index(drop=False, inplace=True)
	df.rename(columns={'Datetime': 'datetime'}, inplace=True)
	df.to_csv('nifty.csv', index=False, columns=['datetime', 'Open', 'High', 'Low', 'Close', 'Volume'])

third()
old_df = pd.read_csv('nifty.csv')
old_df = pd.DataFrame(old_df)
newdf= mins_30(old_df)
newdf=pd.DataFrame(newdf)
if os.path.exists('nifty_30mins.csv'):
	os.remove('nifty_30mins.csv')
newdf.to_csv('nifty_30mins.csv',index=False)

Maybe this code can looks like complicated, but I can't make it more simplify, since, I am not professional developer or not having good skills of pandas.
I don't think now it have any bugs.
my special thanks to @ValueRaider because, if they given me full code, then i won't get the knowledge of pandas.
I request you to review the code, and tell me. if it works perfect, then we will close this issue.

@AbhishekSRaut Absolutely no way that code is being merged. Pandas isn't difficult, just do some tutorials.

I'm not reviewing that code, it's awful. Pandas isn't difficult, do some tutorials, and Numpy tutorials too because I suspect you don't understand vector programming.

Yes. You are right, I do not know vector programming.
And, will surely follow your advice.
but. about this code, if you run and check, the data is coming in a desired format.
if you can update the code from complex to simple code, then it will be good, as i am not aware of much pandas function.
I think since there is no bug, and issue also resolved, should we close this?
*note: I am not professional developer, so in above code, you may face dificulties.
I ask sorry for this.
just this yfinance sudden change destroied my strategies and scanner, That's why i gon in that much depth.

if you can update the code from complex to simple code

Impossible because this is fundamentally wrong way to fix bug. You could look inside base.py and see how '30m' is handled specially, maybe should be handled normally like other intervals.
So please don't close Issue.

Impossible because this is fundamentally wrong way to fix bug. You could look inside base.py and see how '30m' is handled specially, maybe should be handled normally like other intervals.
So please don't close Issue.

yeah, you are right. Will try...

see how '30m' is handled specially, maybe should be handled normally like other intervals.

You are right.
In base.py:
if we comment line 631, 632, line 725 to line 734, then also the issue getting solved.
technicaly we can say, maybe the bug which yfinance assume, is not exists. because, if we comment those lines, still we getting correct interval data from yahoo.

@ValueRaider, referring to the two problems you mentioned here:

so yfinance is not simply returning what Yahoo returns.
Yahoo's frontend at finance.yahoo.com is the reference which yfinance must always return. Yes, for the bug @AbhishekSRaut found yfinance might process the backend data in a different way, but that doesn't matter as long as the final output is equivalent to finance.yahoo.com

@ValueRaider, you are right here, the first data point (9:00AM) is dropped from the final output, and this is the bug here. I have traced it down to fix_Yahoo_returning_prepost_unrequested, called in base.py.

@AbhishekSRaut is right that ^NSEI opens at 9:15AM and closes 3:15PM local time. However, Yahoo Finance's frontend returns HH:00 timestamps for some reason and yfinance should follow that behaviour.

yfinance returns the right timestamps for ^NSEI (9:30AM, 10:00AM, 10:30AM, ...), except it misses the first one (9:00AM). Right here means equal to Yahoo Finance frontend data.
I am against switching to 30m data for 30m intervals, because Yahoo's frontend gets 15m from the backend. That's what yfinance should keep doing. I suggest disabling fix_Yahoo_returning_prepost_unrequested for this particular case (^NSEI + 15m interval).

I suggest disabling fix_Yahoo_returning_prepost_unrequestedfor this particular case

I think exchange-specific code bad idea, and better fix is moving resampling to after.
I personally don't care whether 30m is aligned to HH:00 or HH:15, but would like to see community agree. @AbhishekSRaut why do you need 30m aligned to HH:15?

why do you need 30m aligned to hh:15?

Because for ^NSEI the main time frame for 30 mins interval, starts as market starts at 9:15. not only ^NSEI, its applicable to both indian stock exchanges, "NSE" and "BSE"
it means, all stocks, listed on these both exchanges, follow this interval.
as official 30 mins interval for all is hh:15 to hh:45, all technical analysis is based on level of hh:15 to hh:45.
if we follow hh:00 to hh:30, then technical levels will be wrong, and result in wrong trade.

if we follow hh:00 to hh:30, then technical levels will be wrong, and result in wrong trade.

Good argument.
@ivan23kor I must point out that Yahoo doing something isn't necessarily a good thing. They routinely have errors in non-US price data that yfinance fixes - see the fix_*() methods and repair.

@AbhishekSRaut thanks for pointing out the two Indian stock exchanges that have this issue.
@ValueRaider the order of fix_Yahoo_returning_prepost_unrequested and downsampling doesn't matter in this case, as trading start date is 9:15 but the downsampling interval is 30m.
@AbhishekSRaut @ValueRaider I've opened #1447 to fix this issue. Let's move the conversation there.

#2027 is merges, and solves this issue. It should be closed


Firesquid crashing on qanet

It's progressing blocks but crashing after
indexer qa: {"level":5,"time":1673862465470,"ns":"sqd:substrate-ingest","err":{"length":249,"name":"error","severity":"ERROR","code":"08P01","hint":"the maximum message size can be configured using the sql.conn.max_read_buffer_message_size cluster setting","file":"encoding.go","line":"286","routine":"NewProtocolViolationError

Proposed fix:
Attempt to insert too much data at once. Either try to reduce --write-batch-size, or likely better, to increase the value of mentioned setting.
SET CLUSTER SETTING sql.conn.max_read_buffer_message_size cluster = bigger_value
Use SHOW CLUSTER SETTING to get the current value.

@coesensbert can you please execute this on the Qa net indexer db?

First on devnet

SET CLUSTER SETTING sql.conn.max_read_buffer_message_size = '32MiB';
seems to have resolved the issue, applied on dev en qanet cockroach db's

Also apply on testnet and mainnet please

@coesensbert are we documenting this in an operational guide? and if yes can you please link it?


Added Class Functions

Added class functions for quit video feed, display video feed, and grab frame

Sick, congrats on the first commit!


Cannot Upgrade k3s version

Hi,
Thanks for the project and your efforts really amazing.
I having issue to upgrade.
no matter the version I'm getting the following error:
=== k3s version upgrade ===
error: resource mapping not found for name: "k3s-server" namespace: "system-upgrade" from "STDIN": no matches for kind "Plan" in version "upgrade.cattle.io/v1"
ensure CRDs are installed first
Failed to create upgrade plan for controlplane:
error: resource mapping not found for name: "k3s-server" namespace: "system-upgrade" from "STDIN": no matches for kind "Plan" in version "upgrade.cattle.io/v1"
ensure CRDs are installed first

After Installation this are the CRD availble
kubectl get crds
NAME                              CREATED AT
addons.k3s.cattle.io              2024-03-01T14:31:14Z
etcdsnapshotfiles.k3s.cattle.io   2024-03-01T14:31:14Z
helmchartconfigs.helm.cattle.io   2024-03-01T14:31:14Z
helmcharts.helm.cattle.io         2024-03-01T14:31:14Z

Any Idea what could be the reason?
Thank you
I using WSL. and here is my cluster definition file.
cluster_name: sis-rnd-cluster
kubeconfig_path: "./kubeconfig"
k3s_version: v1.29.1+k3s2
public_ssh_key_path: "~/.ssh/id_rsa.pub"
private_ssh_key_path: "~/.ssh/id_rsa"
use_ssh_agent: false # set to true if your key has a passphrase or if SSH connections don't work or seem to hang without agent. See https://github.com/vitobotta/hetzner-k3s#limitations
# ssh_port: 22
ssh_allowed_networks:
  - <IP_ADDRESS>/0 # ensure your current IP is included in the range
api_allowed_networks:
  - <IP_ADDRESS>/0 # ensure your current IP is included in the range
private_network_subnet: <IP_ADDRESS>/16 # ensure this doesn't overlap with other networks in the same project
disable_flannel: false # set to true if you want to install a different CNI
schedule_workloads_on_masters: false
# cluster_cidr: <IP_ADDRESS>/16 # optional: a custom IPv4/IPv6 network CIDR to use for pod IPs
# service_cidr: <IP_ADDRESS>/16 # optional: a custom IPv4/IPv6 network CIDR to use for service IPs
# cluster_dns: <IP_ADDRESS> # optional: IPv4 Cluster IP for coredns service. Needs to be an address from the service_cidr range
# enable_public_net_ipv4: false # default is true
# enable_public_net_ipv6: false # default is true
# image: rocky-9 # optional: default is ubuntu-22.04
# autoscaling_image: 103908130 # optional, defaults to the `image` setting
# snapshot_os: microos # optional: specified the os type when using a custom snapshot
cloud_controller_manager_manifest_url: "https://github.com/hetznercloud/hcloud-cloud-controller-manager/releases/download/v1.18.0/ccm-networks.yaml"
csi_driver_manifest_url: "https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.5.1/deploy/kubernetes/hcloud-csi.yml"
system_upgrade_controller_manifest_url: "https://raw.githubusercontent.com/rancher/system-upgrade-controller/master/manifests/system-upgrade-controller.yaml"
masters_pool:
  instance_type: cpx11
  instance_count: 3
  location: nbg1
worker_node_pools:
- name: small-static
  instance_type: cpx11
  instance_count: 2
  location: nbg1

Thanks @michaelfresco - I will see if I can update the tool this coming week to handle this properly.

I have fixed the setup of the System Upgrade Controller in main and this fix will come with the next release. I have tested fine but if any of you has a chance to double check that it's working as expected that would be nice.

Related https://github.com/vitobotta/hetzner-k3s/issues/332

Closing for inactivity.


Allow "I have just turned on!" posts by OSB to be posted in outside servers like Updates/Subscriber posts

🚀 Feature Proposal
As mentioned in the title, requesting the "I have just turned on!" posts made by OSB be broadcast-able like the OSB Update Subscriber. Since OSB hasn't received a changelog in a while, code difference will allow individuals to see what's changed, if any were made.
Picture is related
https://i.imgur.com/vXJVwaB.png

I second this. I've mentioned it before it would be nice to a channel under special(where dev/git channel are) for the bots to post their "I have just turned on!" messages. Would also allow people to subscribe to the channel to get the messages in their own servers.


[Port] System.Reflection.Assembly::GetEntryAssembly()

System.Reflection.Assembly::GetEntryAssembly()

Straightforward, should just do this. Need to build intrinsics. Cost high - several people.