Routing with FirstSolutionStrategy::CHRISTOFIDES fails immediately with any large number of points

What version of OR-Tools and what language are you using?
Version: 9.10.4096
Language: C++
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
Routing with FirstSolutionSolver as CHRISTOFIDES
What operating system (Linux, Windows, ...) and version?
Ubuntu 22.04
What did you do?
Follow tutorial code at https://developers.google.com/optimization/routing/tsp, but replacing the first solution solver as CHRISTOFIDES
What did you expect to see
I expected the result to take exponentially longer but with an eventual solution. I can specify a timeout, and all the other strategies will run until completion or timeout, but Christofides still fails in about 50ms.
What did you see instead?
Routing simply returns the failed status nearly immediately anytime there is more than 20 points as input. I have tried many different points, including different subsets of the points in the tutorial, and nothing >20 works.
Are there any hard limits on running Christofides algorithmn as the solver? I tried clearing out any default time or solution limits, but I haven't found any way around the hard 20 point limit. I am not sure if the exact limit is tied to my hardware, but I can get a solution for 20 or fewer points in less than 50ms but any more points is an immediate failure.

this is expected.
The space complexity is such that > 23 is out of the question.

Ok, thanks for the clarification. Perhaps it would be helpful to add to the documentation since I couldn't find any explanation of the limitations. Maybe I just missed it though.

I may be completely wrong there :-)
We will follow up.

Did anything change on this at all, or are there any plans to? Just wanted to double check before ruling out using christofides completely


[Provider Registration] Provider Information RPC

As an API consumer, I want to be able fetch basic information about a provider.
Related

#319

Questions

State Queries vs RPC? Should this just be a state query or do we need a custom RPC for it?

Design Doc

https://github.com/LibertyDSNP/frequency/blob/main/designdocs/provider_registration.md

Acceptance Criteria

[ ] Given that I have registered as a provider, I should be able to call an RPC to retrieve the information about the provider. Request/response

This is covered by the state query msa.providerRegistry(u64)
In general, if the only data that would be returned is a single data structure, then the state query should be good enough.


raw diamond

there should be a way to collect diamonds without breaking in game progression. raw diamonds are a good work around as it wouldn't be useful until you reach the third boss anyways

Fixed in 546f8dd


fix: l1-l2 tutorial fixes with detailed steps

What :computer:
You can find feedback page here with issues added/fixed:
https://www.notion.so/matterlabs/Send-an-L1-to-L2-transaction-tutorial-QA-feedback-afterfix-check-dc8d9d9fb90a4df6bd4e40c923cc01ee
Why :hand:

Reason why first thing was added to PR
Reason why second thing was added to PR
Reason why third thing was added to PR

Evidence :camera:
Include screenshots, screen recordings, or console output here demonstrating that your changes work as intended

Notes :memo:

Any notes/thoughts that the reviewers should know prior to reviewing the code?

@idea404 can you please review the docs? I added also Testnet instructions.


Add settings for fixed-width tabs

This PR adds a new setting value for workbench.editor.tabSizing: fixed makes all tabs (except pinned when those are compact or shrunk) the same width; and, like the shrink setting, the tabs can shrink when there are too many.
The PR also adds a setting for the maximum (or default) width: workbench.editor.tabSizingMaxWidth, at least 50px to give enough width for the close button as well as at least the icon or part of the title.
This is meant to address #40290 and is a continuation of the unfinished work from #40750.
This is what it looks like:

Limitation: the width are fixed solid while the mouse is over the tab bar, so creating a new tab with the keyboard while the mouse is over tabs behaves a wee bit funny.
Let me know what you think.

Thanks for the pointer @bpasero , I'll see what I can do.

@bpasero done, please let me know what you think. 8-)

Thanks for the thorough review @bpasero, I'll address everything, possibly over the weekend.

@bpasero report from testing:

workbench.editor.pinnedTabSizing and pinned tabs in general are not affected by this; if pinnedTabSizing is normal, pinned tabs are happily cooperating; if the setting is different, pinned tabs never change size anyway.
workbench.editor.tabCloseButton on left or off all behaves well as far as I could see
workbench.editor.wrapTabs being enabled introduced cases where the last tab at the end of a line before the wrap would sometimes move to the next line because of size rounding errors, and when I moved over the tab bar quickly after moving out

I have handled that by making the last tab in every row a tiny bit smaller when fixed-width so it's guaranteed to fit in its row, and by making the transition more immediate and completing it immediately when we move over the tab bar again so tabs don't get frozen in an intermediate size.

I have one outstanding question on your review, on guidance about disposable listeners; I'll put it in a comment there.

I still think the transition should only apply when mouse is over the tab stripe, or maybe there is a bug that we think mouse is over when its not? See how here I change the setting value and get an animation:

I still think the transition should only apply when mouse is over the tab stripe, or maybe there is a bug that we think mouse is over when its not? See how here I change the setting value and get an animation:

I don't understand yet. The way I see it is like this:

when the mouse moves onto the tab stripe, nothing should move - the tabs will become fixed-width and if any disappears, the rest will move only to take its place,
when the mouse moves out of the stripe, the tabs should snap to the widths that they now should have; it makes sense for that snapping to be a smooth transition rather than instant.

In CSS, this means the transition must be there when the mouse is outside of the tab stripe.
I personally like the transition when the setting changes. Maybe I'm just used to this kind of smooth setting change from somewhere - maybe it's a Mac thing.

I wonder how confusing it is now that the size does not change for other actions that are unrelated to closing:

I wonder how confusing it is now that the size does not change for other actions that are unrelated to closing:

Yeah, all that complexity is why I suggested simple fixed-width tabs in the first place… 8-)
I have no idea on how confusing it would be; if someone tries it and doesn't like it, they can go back to the previous behaviour and open issues; if that happens, feel free to tag me in case I can address them.

I'll be happy to chat, I'm also on the vscode discord server, but I don't know my way around there much as I've never really used it…

@jacekkopecky I took the liberty to push more changes, specifically the fixed tabs width now only applies when editors are closed:
https://github.com/microsoft/vscode/pull/181729/files#diff-2cc308dd268844b603ed595ef8cbb6caac75a72a42d51024185932c6df0ac719R578-R582
I will add more feedback in a review.

@bpasero I'll be busy for a few days, so I may not get to working more on this until Friday, sorry. I'll have a look at your changes and try to record the problem above to better illustrate it.

@jacekkopecky I was about to approve this but found another case where it can be hard to close multiple tabs with the mouse: some editors show more actions than other editors, so the available space for tabs can grow and shrink while closing. This currently causes the close button to move and thus prevents closing if you keep the mouse over the same spot:

I think in addition to having tabs be fixed when mouse is over tabs, we also need to prevent actions from drawing and only appear when the mouse moves out?

@bpasero in the recording I don't see you closing a tab, but in my testing, I have found this problem (I don't know if it's the one you mean):
When we click the close button, handleClosedEditors fixes the tab widths too late because it's ultimately called by EditorGroupView.doCloseEditor only after the active editor changes, the action icons are updated, and the tab layout changes.
I have pushed code in cac6854 that fixes that problem; I'm not sure if I've done it right, or if we already have a way to register something that should run before the close action.

Thank you @bpasero for being patient with me; I'm happy to get this through, mainly for myself. 8-)

@bpasero well this is embarrassing, but as you closed #40290 , I looked at it again and saw I missed one corner case – when the tab being closed is the last tab – in which case the tabs might get back to their normal size, as they do in Chrome and Safari.
Here is a fix for your consideration: https://github.com/jacekkopecky/vscode/commit/5e85bb66a62acfee6cff4c206936565b36db973e

@jacekkopecky good catch! want to open a new PR?


First version of C-API

ref #158
The combination of thead vm stack and PyObjectPtr brought me somewhere interesting spot.

@youknowone Has any new developments or progress in c-api? After providing basic c-api, maybe we can start to support hpy.


[flutter_web] Textfield wrong cursor position when using Hanzi characters with html renderer

Steps to Reproduce

Create a Textformfield with maxline = 20
Input some texts containing Hanzi characters like:

测试一下测试一下1234
测试一下1234
测试一下1234
测试一下1234
测试一下1234

Select all texts, the selection box is not matching the actual texts:

Expected results:
Match the texts.
Actual results:
Don't match.

Logs

[✓] Flutter (Channel stable, 2.0.1, on Mac OS X 10.15.7 19H2 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.0.1 at /Users/li9s/github/flutter
    • Framework revision c5a4b4029c (3 weeks ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/li9s/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • ANDROID_HOME = /Users/li9s/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/li9s/Library/Android/sdk
    • Java binary at: /Applications/Dev/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Dev/Android Studio.app/Contents
    • Flutter plugin version 36.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Dev/Android Studio.app/Contents
    • Flutter plugin version 36.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.3.1)
    • IntelliJ at /Applications/Dev/IntelliJ IDEA.app
    • Flutter plugin version 54.0.3
    • Dart plugin version 203.7759

[✓] Connected device (4 available)
    • iPhone 12 Pro Max (mobile)                     • BFBE42B6-703E-4689-AB1A-F22B90E61232 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • iPad Pro (12.9-inch) (4th generation) (mobile) • 1C1131C6-EB05-431A-B83E-2708A2ACFA0E • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • macOS (desktop)                                • macos                                • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)                                   • chrome                               • web-javascript • Google Chrome 89.0.4389.90

Hi @rockingdice
I cannot reproduce this issue on latest master and stable channel.

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.3, on macOS 11.2.3 20D91 darwin-x64, locale en-AO)
    • Flutter version 2.0.3 at /Users/pedromassango/Code/flutter_stable
    • Framework revision 4d7946a68d (4 days ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/pedromassango/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 54.0.3
    • Dart plugin version 203.7759

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 89.0.4389.90

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.1.0-13.0.pre.207, on macOS 11.2.3 20D91 darwin-x64, locale en-AO)
    • Flutter version 2.1.0-13.0.pre.207 at /Users/pedromassango/Code/flutter_master
    • Framework revision 5d37734ea1 (37 minutes ago), 2021-03-22 23:30:00 -0700
    • Engine revision d59a01d2d3
    • Dart version 2.13.0 (build 2.13.0-150.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/pedromassango/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 54.0.3
    • Dart plugin version 203.7759

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 89.0.4389.90

! Doctor found issues in 1 category.

@pedromassangocode Strange. I'll make a repro for you.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


remove duplicate Broker ServerInventoryView, improve HttpServerInventoryView logging

Description
This PR adds two improvements to brokers. The first, is that SystemSchema was causing a second ServerInventoryView to be created to power the "servers" table, due to injecting InventoryView, which due to bindings uses a ServerInventoryView from the ServerInventoryViewProvider, while everything else on the broker uses FilteredServerInventoryView (including the TimelineServerView used by the "server segments" table which on brokers is BrokerServerView which uses FilteredServerInventoryView).
The "servers" table is only using the InventoryView to get DruidServer, which are not filtered afaict by any of the FilteredServerInventoryView implementations anyway, so it is safe to change SystemSchema to use this instead (and it is also more consistent with the "server segments" table to use the same inventory view).
Prior to this PR, during broker startup you would see
2022-01-28T01:39:45,069 INFO [main] org.apache.druid.java.util.emitter.core.LoggingEmitter - Start: started [true]
2022-01-28T01:39:45,088 INFO [main] org.apache.druid.client.HttpServerInventoryView - Starting FilteredHttpServerInventoryView.

...

2022-01-28T01:39:51,529 INFO [main] org.apache.druid.sql.calcite.schema.MetadataSegmentView - MetadataSegmentView Started.
2022-01-28T01:39:51,530 INFO [main] org.apache.druid.client.HttpServerInventoryView - Starting HttpServerInventoryView.
...

while after now only the FilteredHttpServerInventoryView can be observed to be started.
This might help reduce broker memory footprints by quite a bit since there won't be double the segment tracking happening! I believe this issue has existed since #7706.
The second change reduces the log verbosity when using the HttpServerInventoryView when it runs into any of the scenarios where it needs to perform a 'full sync' on a data server, which can result in "duplicate" segments getting added which causes a flurry of log "warning" messages (which are expected in this case). These log warnings are now suppressed when performing a full sync (but will still warn if it happens during a delta, where duplicates are unexpected).
It was investigation of the latter issue which caused me to stumble into the former, where while debugging I noticed that I had completely separate inventory views running at the same time in my broker.

This PR has:

[x] been self-reviewed.
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] been tested in a test Druid cluster.

still trying to figure out how to get adequate coverage on HttpServerInventoryView to make the bot happy

gave up on getting coverage improved (since the lines not covered are logs)


I think you should use flatMap in this line, too. At least that fixed a bug for me.

https://github.com/okwolf/hyperapp-playground/blob/8ef3713a84c4488423d65a80cdbb6e206d524ef0/src/html.js#L13

You're right, and I missed one more case for deeply nested HTML calls: https://github.com/okwolf/hyperapp-playground/commit/ee4eef5e4121cdabe44e2f9d851935abc7266cbc


Bump lsp-types, lsp-server deps

First of all, thank you so much for this project!
Would it be possible to bump some of the project's dependencies? The lsp-types crate added a #[derive(Hash)] to its Location struct awhile back here, which I'd like to use to simplify some logic in asm-lsp. Versioning conflicts between this crate's dependency on lsp-types and the asm-lsp's direct dependence on lsp-types made this a bit tricky.
Thanks again! :)

v0.4.0 is publish


How to deploy?

I'm new to Webpack. There is a copy of my project on my server. When I run npm run build on the server, I get a __build__ folder. However, when I run node app.js within this folder, I get the following error: ReferenceError: webpackJsonp is not defined. Being that I've never deployed a TS project before, I assume that there is some fundamental error in my understanding of Webpack deployment. What should I do?

I should add that I've read https://github.com/AngularClass/angular2-webpack-starter/issues/174, but the actual deployment process is still unclear to me.

I included dist folder so now you would build the repo into a dist/ with production mode. see changes https://github.com/AngularClass/angular2-webpack-starter/compare/cf4b3f2bf4fc74de37aa6af05a891d29c7c2d0a8...master


5 minute interval Candlestick chart not working in Angular

I'm using Angular 13.2
I wish to plot 5 minute candlestick data. But it shows me only one interval 25 Jun '18 00:00:00 with all data on on this single interval.
I installed using.: npm install --save lightweight-charts --legacy-peer-deps
Lightweight Charts Version: ^3.8.0
Steps/code to reproduce:
import { createChart } from 'lightweight-charts';
const chart = createChart('tv_test', {
      width: 1200,
      height: 600,
      timeScale: {
        visible: true,
        timeVisible: true,
        secondsVisible: true,
    },
});

const candlestickSeries = chart.addCandlestickSeries();

candlestickSeries.setData([
  { time: '2018-06-25T09:15:00.000Z', open: 75.16, high: 82.84, low: 36.16, close: 45.72 },
  { time: '2018-06-25T09:20:00.000Z', open: 45.12, high: 53.90, low: 45.12, close: 48.09 },
  { time: '2018-06-25T09:25:00.000Z', open: 60.71, high: 60.71, low: 53.39, close: 59.29 },
  { time: '2018-06-25T09:30:00.000Z', open: 68.26, high: 68.26, low: 59.04, close: 60.50 },
  { time: '2018-06-25T09:35:00.000Z', open: 67.71, high: 105.85, low: 66.67, close: 91.04 },
  { time: '2018-06-25T09:40:00.000Z', open: 91.04, high: 121.40, low: 82.70, close: 111.40 },
  { time: '2018-06-25T09:45:00.000Z', open: 111.51, high: 142.83, low: 103.34, close: 131.25 },
  { time: '2018-06-25T09:50:00.000Z', open: 131.33, high: 151.17, low: 77.68, close: 96.43 },
  { time: '2018-06-25T09:55:00.000Z', open: 106.33, high: 110.20, low: 90.39, close: 98.10 },
  { time: '2018-06-25T10:00:00.000Z', open: 109.87, high: 114.69, low: 85.66, close: 111.26 },
]);

chart.timeScale().fitContent();

Screenshots:

Lightweight Charts doesn't support time values in that format.
The supported formats are mentioned here: https://tradingview.github.io/lightweight-charts/docs/api#time
To get your example to work, you should use the native Date constructor to convert that date string into a timestamp. Lightweight charts expects the timestamp to be in seconds, not milliseconds, so the value will need to be divided by 1000.
function convertDate(dateString) {
 return new Date(dateString).valueOf() / 1000;
}

Here is a working example of your code: https://codesandbox.io/s/timestamps-dkqr2w

I get the following error for setData(data) statement:
Argument of type '{ time: number; open: number; high: number; low: number; close: number; }[]' is not assignable to parameter of type '(CandlestickData | WhitespaceData)[]'.
  Type '{ time: number; open: number; high: number; low: number; close: number; }' is not assignable to type 'CandlestickData | WhitespaceData'.
    Type '{ time: number; open: number; high: number; low: number; close: number; }' is not assignable to type 'CandlestickData'.

Lightweight Charts doesn't support time values in that format.
The supported formats are mentioned here: https://tradingview.github.io/lightweight-charts/docs/api#time
To get your example to work, you should use the native Date constructor to convert that date string into a timestamp. Lightweight charts expects the timestamp to be in seconds, not milliseconds, so the value will need to be divided by 1000.
function convertDate(dateString) {
 return new Date(dateString).valueOf() / 1000;
}

Here is a working example of your code: https://codesandbox.io/s/timestamps-dkqr2w

I get the following error for setData(data) statement:
Argument of type '{ time: number; open: number; high: number; low: number; close: number; }[]' is not assignable to parameter of type '(CandlestickData | WhitespaceData)[]'.
  Type '{ time: number; open: number; high: number; low: number; close: number; }' is not assignable to type 'CandlestickData | WhitespaceData'.
    Type '{ time: number; open: number; high: number; low: number; close: number; }' is not assignable to type 'CandlestickData'.

If you are using Typescript then you will need to cast the time value to Time.
import { Time } from 'lightweight-charts';

function convertDate(dateString: string): Time {
 return (new Date(dateString).valueOf() / 1000) as Time;
}


Test: focusedView window title variable

Refs #97790

[x] Windows @lszomoru
[ ] macOS @paulacamargo25
[x] Linux @roblourens

Complexity: 3
Create Issue

Add ${focusedView} to window.title and click around the workbench. Verify that it displays the expected view title.
Note that the editor is not a view, so you won't see anything when focus is on one of those.

This works great. Just had a couple thoughts and wondering whether you had considered this

Instead of separate variables for current view (which is blank when not focused) and current editor (which is still set when not focused) how about one variable which is just the name of the currently focused "thing" and will show the editor or view? This also avoids the problem of having a variable in my window.title which is blank and means that I can't use separator characters to demarcate it without having them dangling when the variable is empty. Also it's extendable to other types of focus targets besides editors and views, if that's ever needed
I wonder if you want to expose the view container name too somehow. eg Explorer instead of Folders

Also on this point, when focus is technically not inside the view, the variable is empty. Examples are the search bar in Extensions, and all view container toolbars and search bars
This idea might contradict my first point, like someone might want separate view and view container variables

@roblourens I did think about those points but given that the views service is owned by @sandeep-sen, just wanted to implement what was requested and wait for feedback.
I also figured that a user might want to know simultaneously which view is focused and which editor is active.

This also avoids the problem of having a variable in my window.title which is blank and means that I can't use separator characters to demarcate it without having them dangling when the variable is empty.

One can put this variable at the start or end of the window.title to avoid this.

Sure, but if it's shipped to stable then you decide you want to change the behavior, you may not be able to un-ship it without breaking people's window title.

One can put this variable at the start or end of the window.title to avoid this.

The point is that then it is next to some other text, so I want to add a - or something to separate it from the next thing, then my title starts with a - when that variable is empty.

I'm not able to reproduce that issue @roblourens. Could you provide me with the setting value you're using?

I think we should go with the more flexible approach here and allow the two to exist simultaneously.

I forgot we have ${separator} which avoids what I'm talking about, I used a literal -, so that certainly helps

@paulacamargo25 I stole this TPI from you.


ARROW-16665: [Release] Update binary submit to track binary submission tasks on automatically created PR

This PR updated the binary submission job to also generate badges to track the jobs on the newly created PR to track release verification tasks.
I have tested locally with the following:
archery crossbow submit \
    --no-fetch \
    --job-prefix raul-testing-tracking-crossbow-job \
    --arrow-version 8.0.0-rc0 \
    --arrow-remote "https://github.com/apache/arrow" \
    --arrow-branch apache-arrow-8.0.0 \
    --group example \
    --track-on-pr-titled "WIP: Investigate verify rc linux failures"

and the comments generated can be seen on the expected PR: https://github.com/apache/arrow/pull/13478#issuecomment-1184509765
I've had an issue with the submission of jobs due to a CROSSBOW token but this is for the queue.push() which hasn't been changed.

@raulcd I think I would prefer having a separate command for that, like a report_pr() click command since it would better align with the other report commands.

@raulcd I think I would prefer having a separate command for that, like a report_pr() click command since it would better align with the other report commands.

@kszucs I have created a new report-pr command. I've tested the new report-pr command via:
crossbow_job_prefix="nightly-tests-2022-07-18"
export ARROW_REPOSITORY="apache/arrow"
job_name=$(archery crossbow latest-prefix ${crossbow_job_prefix})
archery crossbow report-pr \
    --no-fetch \
    --arrow-remote "https://github.com/${ARROW_REPOSITORY}" \
    --job-name ${job_name} \
    --track-on-pr-titled "WIP: Investigate verify rc linux failures"

This is the comment generated:
https://github.com/apache/arrow/pull/13478#issuecomment-1186939479

@kszucs thanks! I did apply your suggestions. Let me know if there's something else pending.


MatchHistoryRequest returns Lol::InvalidAPIResponse

I believe the matchhistory endpoint has been deprecated. Would it be possible to deploy a new gem version with the changes in master (match_list)?

Hey Jared,
I am currently on holiday without access to my dev laptop. I'll do it in
January. For now in your Gemfile pull directly from Github.
On Fri, Dec 25, 2015 at 10:53 PM Jared Clifton<EMAIL_ADDRESS>wrote:

I believe the matchhistory endpoint has been deprecated. Would it be
possible to deploy a new gem version with the changes in master
(match_list)?
—
Reply to this email directly or view it on GitHub
https://github.com/mikamai/ruby-lol/issues/49.

Thanks, @intinig. I'll give that a try.
Also, is there a way to pass options to the match_list_request, e.g. ?rankedQueues=RANKED_SOLO_5x5?


Allow custom arguments to be passed to the integrated terminal when starting a debugging session

Suggestion
Allow custom arguments to be passed to the integrated terminal when starting a debugging session.
My use case is WSL specific - this would allow me to run a WSL shell in the VS Code integrated terminal and send debugging output to it - but still run the program from Windows. There may of course be other scenarios where this could come in useful.
Use case
I'm debugging a dotnet core application using the Omnisharp C# extension, and attempting to send output to the integrated terminal (as opposed to the internal console).
  // launch.json
  "console": "integratedTerminal",

My integrated terminal is zsh on WSL:
  // settings.json
  "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe",
  "terminal.integrated.shellArgs.windows": ["-c", "zsh"],

When I start debugging, Omnisharp sends the following command to the WSL bash terminal:

C:\\Users\\{myuser}\\.vscode-insiders\\extensions\\ms-vscode.csharp-1.21.0\\.debugger\\vsdbg.exe --interpreter=vscode --connection=2d1e685322624ffead8027433d49c520

Naturally this fails due to the Windows path. However if I leave the debugger running and amend the path in the WSL shell...

/mnt/c/Users/{myuser}/.vscode-insiders/extensions/ms-vscode.csharp-1.21.0/.debugger/vsdbg.exe  --interpreter=vscode --connection={id}

...everything works. It would be great to be able to customise the command that is sent to circumvent the manual step.
Possible implementation
I suspected being able to customise omnisharp.json to change the path would work, but Gregg (original feature request) has quite rightly pointed out that a more generic solution offered by VS Code might fulfil a wider variety of use cases. This could be:

Add ability to prepend / append argument(s) to the command that is sent to the integrated terminal when debugging
As above, but only when using WSL as the integrated terminal
As above, and allow customisation when sending to external terminal too

Possible workaround
Apologies if this is already possible and I haven't found it, did a fair bit of searching!
There's probably some way to set up the integrated terminal so that when it is opened, I parse the arguments and replace the Windows path. Maybe the overhead is negligible and I should just get on and do this? It just seems less than optimal.
Similarly, for my use case I could achieve about the same effect by running a remote debugger i.e. running the program from the WSL and attaching to this from Windows. However I've got no real need for that at this point - I just like the zsh shell!

Closing as I found this, seems like the right approach: https://code.visualstudio.com/docs/remote/wsl


Pass scopes to gcloud auth command when setting up credentials for the first time

Description
Means folks shouldn't have to run any additional auth commands when using dbt with BigQuery for the first time.
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt-bigquery next" section.

@McKnight-42 done:


How to change the background color?

I took me two days, to no avail.
I know how to change the syntax color, but background change is still a mystery.
Any help appreciated.

have you figured it out? same question

Not sure exactly what you mean but if it's switching between light and dark its
set background=light " or dark

If you mean change the background color of the colorscheme think you can do
one#highlight('Normal',  'foreground', 'background' 'gui options') " more details in the readme

I wanted the background to be #ffffff instead of dark grey, figured it out now though

I switched over to this theme where in the autoload/onedark.vim I changed black to #ffffff and the term value to 0. It did not work without the cterm value change. Looking at the source for this theme, dark is tied to a value of 1 on like 294, perhaps try changing that to 0? otherwise I would recommend the other one dark theme, very good so far!

It worked for me on neovim v0.4.4.
colorscheme one
set background=light
au ColorScheme * highlight Normal ctermbg=231


Implement mobile changes

Implement mobile changes based on #124:
Would like feedback on this PR.
Issue 1. Edge padding increase in drop-down menu
Commit: Add padding to inner menu for mobile

Issue 2. Decrease edge padding on Dogepedia page
Commit:  Increase dogepedia box width to 90vw

Issue 3. Minor nit: sub-heading font looks out of place and left-margin
Commit: Make dogepedia h3 have 0 left margin
Issue 7. Dark mode social media has white background
Commit: Remove background and text decoration from social

Can squash commits if needed.

I have rebased against the main branch.

Sorry for late response, I believe I can fix these in separate issues. I talked to @qlpqlp about the second screenshot and he said we would fix it and there was some bug on the emulator which caused that. I feel like it's better to make separate issue/PRs to make it more clear what's being changed/added.
Thanks for reviewing!

Sorry for late response, I believe I can fix these in separate issues. I talked to @qlpqlp about the second screenshot and he said we would fix it and there was some bug on the emulator which caused that. I feel like it's better to make separate issue/PRs to make it more clear what's being changed/added.
Thanks for reviewing!

ACK. Sounds good to me!

Will merge this now to continue to apply + improvements :)


Wrap XIOS API calls part 2: setters

Wrap XIOS API calls part 2: setters
Fixes #558
Task List

[x] Defined the tests that specify a complete and functioning change (It may help to create a design specification & test specification)
[x] Implemented the source code change that satisfies the tests
[x] Documented the feature by providing worked example
[x] Updated the README or other documentation
[x] Completed the pre-Request checklist below

Change Description
Note that #555 will need to be merged first. This PR wraps more of the XIOS API for use in neXtSIM-DG. In particular, it allows neXtSIM-DG to create XIOS objects itself rather than relying on XML input files.

[x] Wrap axis setters from XIOS API.
[x] Wrap domain setters from XIOS API.
[x] Wrap grid setters from XIOS API.
[x] Wrap field setters from XIOS API.
[x] Wrap file setters from XIOS API.
[x] Method for creating an axis.
[x] Method for creating a domain.
[x] Method for creating a grid.
[x] Method for creating a field.
[x] Method for creating a file.
[x] Method for associating a domain with a grid.
[x] Method for associating an axis with a grid.
[x] Method for associating a field with a file.

Test Description
Update TestXiosInit_MPI2.cpp...

[x] To test setter methods.
[x] To test creation methods (checking valid IDs).
[x] To test association methods.

Pre-Request Checklist

[x] The requirements of this pull request are fully captured in an issue or design specification and are linked and summarised in the description of this PR
[x] No new warnings are generated
[x] The documentation has been updated (or an issue has been created to track the corresponding change)
[x] Methods and Tests are commented such that they can be understood without having to obtain additional context
[x] This PR/Issue is labelled as a bug/feature/enhancement/breaking change
[x] File dates have been updated to reflect modification date
[x] This change conforms to the conventions described in the README

Managed to figure this out! We can set up the entire example using the API introduced in this PR.
Also opened #571, which will allow us to reduce iodef.xml further.


DataSatEdinburgh - Fix config errors that blocks updates for other ev…

…ents

This should never happen again thanks to new PR build
See #447


get stats from docker stat (cpu/mem/disk/network/pids)

Would it be possible to use docker stats directly, and remove the need for cadvisor ?
The docker api already provides stats per container
https://docs.docker.com/engine/api/v1.45/#tag/Container/operation/ContainerStats
you can set stream=1 to get an infinite stream of stats. or call it every second.
This is a sample of the stat event object, and a js code that parses that to show what the command "docker stats" would show :
statEvent = {
    "read": "2024-04-30T11:18:04.64496506Z",
    "preread": "2024-04-30T11:18:03.339280322Z",
    "pids_stats": {
        "current": 73,
        "limit": 38254
    },
    "blkio_stats": {
        "io_service_bytes_recursive": [
            {
                "major": 8,
                "minor": 32,
                "op": "read",
                "value":<PHONE_NUMBER>92
            },
            {
                "major": 8,
                "minor": 32,
                "op": "write",
                "value":<PHONE_NUMBER>
            },
            {
                "major": 8,
                "minor": 16,
                "op": "read",
                "value":<PHONE_NUMBER>6
            },
            {
                "major": 8,
                "minor": 16,
                "op": "write",
                "value":<PHONE_NUMBER>
            },
            {
                "major": 8,
                "minor": 0,
                "op": "read",
                "value":<PHONE_NUMBER>32
            },
            {
                "major": 8,
                "minor": 0,
                "op": "write",
                "value":<PHONE_NUMBER>
            },
            {
                "major": 9,
                "minor": 2,
                "op": "read",
                "value":<PHONE_NUMBER>64
            },
            {
                "major": 9,
                "minor": 2,
                "op": "write",
                "value":<PHONE_NUMBER>
            }
        ],
        "io_serviced_recursive": null,
        "io_queue_recursive": null,
        "io_service_time_recursive": null,
        "io_wait_time_recursive": null,
        "io_merged_recursive": null,
        "io_time_recursive": null,
        "sectors_recursive": null
    },
    "num_procs": 0,
    "storage_stats": {},
    "cpu_stats": {
        "cpu_usage": {
            "total_usage":<PHONE_NUMBER>07000,
            "usage_in_kernelmode":<PHONE_NUMBER>3000,
            "usage_in_usermode":<PHONE_NUMBER>63000
        },
        "system_cpu_usage":<PHONE_NUMBER>000000,
        "online_cpus": 8,
        "throttling_data": {
            "periods": 0,
            "throttled_periods": 0,
            "throttled_time": 0
        }
    },
    "precpu_stats": {
        "cpu_usage": {
            "total_usage":<PHONE_NUMBER>08000,
            "usage_in_kernelmode":<PHONE_NUMBER>5000,
            "usage_in_usermode":<PHONE_NUMBER>93000
        },
        "system_cpu_usage":<PHONE_NUMBER>000000,
        "online_cpus": 8,
        "throttling_data": {
            "periods": 0,
            "throttled_periods": 0,
            "throttled_time": 0
        }
    },
    "memory_stats": {
        "usage":<PHONE_NUMBER>,
        "stats": {
            "active_anon": 76201984,
            "active_file": 515674112,
            "anon": 255762432,
            "anon_thp": 0,
            "file":<PHONE_NUMBER>,
            "file_dirty": 8192,
            "file_mapped": 85618688,
            "file_writeback": 0,
            "inactive_anon": 179929088,
            "inactive_file":<PHONE_NUMBER>,
            "kernel_stack": 1196032,
            "pgactivate": 38043914,
            "pgdeactivate": 82162570,
            "pgfault":<PHONE_NUMBER>,
            "pglazyfree": 0,
            "pglazyfreed": 0,
            "pgmajfault": 2069775,
            "pgrefill": 83958218,
            "pgscan": 75579106,
            "pgsteal": 73354032,
            "shmem": 0,
            "slab": 60212600,
            "slab_reclaimable": 59373704,
            "slab_unreclaimable": 838896,
            "sock": 8192,
            "thp_collapse_alloc": 0,
            "thp_fault_alloc": 0,
            "unevictable": 0,
            "workingset_activate": 0,
            "workingset_nodereclaim": 50304,
            "workingset_refault": 0
        },
        "limit":<PHONE_NUMBER>4
    },
    "name": "/gitea",
    "id": "062a3a2005b6399b447a05a8f3c309352a90d251b1325b2572f17b7489f3cd91",
    "networks": {
        "eth0": {
            "rx_bytes":<PHONE_NUMBER>1,
            "rx_packets": 173544686,
            "rx_errors": 0,
            "rx_dropped": 0,
            "tx_bytes":<PHONE_NUMBER>05,
            "tx_packets": 174026745,
            "tx_errors": 0,
            "tx_dropped": 0
        }
    }
}

        const data = {};
        data.name = statsEvent.name;
        data.id = statsEvent.id;

        data.netIn = 0;
        data.netOut = 0;
        for (const i in statsEvent.networks) {
            data.netIn += statsEvent.networks[i].rx_bytes;
            data.netOut += statsEvent.networks[i].tx_bytes;
        }

        data.mem = statsEvent.memory_stats.usage;
        data.memPercent = (statsEvent.memory_stats.usage / statsEvent.memory_stats.limit) * 100;
        data.memPercent ||= 0;

        data.pids = statsEvent.pids_stats.current;

        // duration in seconds between each reads
        const duration = (new Date(statsEvent.read).getTime() - new Date(statsEvent.preread).getTime()) / 1000;

        // console.log(statsEvent.precpu_stats.cpu_usage);
        // console.log(statsEvent.cpu_stats.cpu_usage);
        // console.log(duration);

        const cpu = (statsEvent.cpu_stats.cpu_usage.total_usage - statsEvent.precpu_stats.cpu_usage.total_usage) / duration;
        const cputotal = (statsEvent.cpu_stats.system_cpu_usage - statsEvent.precpu_stats.system_cpu_usage) / duration;
        data.cpuPercent = ((cpu / cputotal) * 100) / duration;
        data.cpuPercent ||= 0;

        data.ioIn = 0;
        for (const i in statsEvent.blkio_stats.io_service_bytes_recursive)
            if (statsEvent.blkio_stats.io_service_bytes_recursive[i].op == 'Read')
                data.ioIn += statsEvent.blkio_stats.io_service_bytes_recursive[i].value;

        data.ioOut = 0;
        for (const i in statsEvent.blkio_stats.io_service_bytes_recursive)
            if (statsEvent.blkio_stats.io_service_bytes_recursive[i].op == 'Write')
                data.ioOut += statsEvent.blkio_stats.io_service_bytes_recursive[i].value;

Can we get this data about a container in a swarm worker node from a swarm manager node?

ah, good point.
i dont have a swarm of more than one machine. So i can't test it to be sure.
But i believe the call will only work on local containers.
The usual solution is to create an agent in "global" mode (replicated once on evey node)
and this agent would send data to the central service.
Or the other way: docker api can go on ssh connections, so the project could use ssh to connect to every node but some people may dislike it.

If you want to test more, you can use multiple VMs to create a swarm cluster with more than one node. See commands.md in the test-cluster directory.
About using an agent, actually, we are using cadvisor instead of writing an agent ourselves.

OK makes sens. You may close this issue then.


Couple hotfixes to Event Command

Ignore moderation configuration changes if it has been done already.

Duplicate of #30


Containers

can be open/closed, locked, put-in/take-out context verbs
lootable locked chests, smash em open?
backpacks, bags

container ui is the hard part here

container UI is done.  still need chests (immobile containers), locking, smashing


Can't install pipreqs

While attempting to install pipreqs via:
pip install pipreqs

Getting the following error:
Collecting pipreqs
  Obtaining dependency information for pipreqs from https://files.pythonhosted.org/packages/36/38/cc1343c3a63655e18328e51e00c6e6851be648f1b8babffc5131f1b9f226/pipreqs-0.5.0-py3-none-any.whl.metadata
  Using cached pipreqs-0.5.0-py3-none-any.whl.metadata (7.9 kB)
Collecting docopt==0.6.2 (from pipreqs)
  Using cached docopt-0.6.2.tar.gz (25 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Python 3.11.5

The issue is not reproducible with Python3.11.5.
For better clarity, provide information about your OS as well.
Meanwhile, Can you check with updating your setuptools with pip install -U setuptools?

The error you're encountering during the installation of pipreqs is due to the absence of setuptools in your build environment. setuptools is a crucial package for building and installing Python packages. To resolve this issue, please follow these steps:

Upgrade setuptools:
Ensure that setuptools is installed and up to date by running:
pip install --upgrade setuptools

This command will install the latest version of setuptools, which is necessary for building packages that rely on setup.py.

Install pipreqs after upgrading:
Once setuptools is updated, proceed to install pipreqs:
pip install pipreqs

This should complete without errors.


Element: Security check

An element as a checklist for some security issues:

Current page txt file permission?
Current user password strength?
Latest versions of Kirby installed?
I don't know what to put in there.

(I brainstormed yesterday so I spam a little bit all the ideas.)

Just wanted to add... In this list, the only thing that might be relevant from it in real life is probably:

Latest versions of Kirby installed? (green / red, checkbox?)

There are more things about security but I'm not a pro of the security part.

I agree, the versions are probably the most important part. They are included in the systemelement.


add support annotation-3

New try after branch mass (#146 #139 ).
Signed-off-by: oraz<EMAIL_ADDRESS>

/retest

/lgtm


Update: Add sidebar to blog posts

This adds a sidebar with recent posts to each blog post on medium-sized screens and up. I wanted an easy way to look across a bunch of posts without needing to navigate back to the index. The sidebar disappears on smaller screens.

Forgot to mention, this is also to keep the blog content width sane on large screens. :)

Really like this idea!:+1:
But is it possible to remove sidebar from the blog landing page? Two lists make the page look extra busy: https://deploy-preview-646--eslint.netlify.com/blog

Oh nice catch! It looks like the blog index page is incorrectly using the post layout. I'll fix that up.

Should be set now. I'd like to give the blog landing page a facelift soon, too.


[FEATURE] - Adding a delay timer/disconnect on active Bluetooth connection.

Is your feature request related to a problem? Please describe.
Wireless Android Auto does not work with a VPN active and it requires a Bluetooth connection before it connects to the wifi direct network. Unfortunately, the tunnel connects before the wifi network connects so android auto does not work.
Describe the solution you'd like
I believe a delay timer would solve this if I were able to connect to the AA wifi network in time.
Describe alternatives you've considered
Alternatively, not turning on the tunnel if a specific Bluetooth device is connected would also work.
Additional context
N/A

Hello! Configuring split tunneling on your tunnel config is the best way around this issue. Please see the faq for more information. Let me know if you have any issues, but this should solve your problem.

I just found the option and it worked great, this is not needed, thanks!


IPv6 links can not be Ctrl+Clicked

Windows Terminal version
1.12.2931.0
Windows build number
10.0.22000.348
Other Software
No response
Steps to reproduce

Run any command that writes an IPv6 link in the terminal window, for example echo http://[::1]/
Hover over the link, or try to Ctrl+Click it to follow it

Expected Behavior
Hovering over the link should show the underline and the tooltip about Ctrl+Clicking it, and Ctrl+Clicking it should follow the link like any other link.
Actual Behavior
Nothing happens when hovering over the link or Ctrl+Clicking it.

This is kinda a variation on #8321 or #7562, but it's atomic enough that I'll leave it open as a sub point for #5001. Thanks!


feat: attempt base image update

update to latest buster
Issue

Link:
Summary:

How

Screenshots

References

Checklist

[ ] Tests added
[ ] Cleaned up commit history (rebase!)
[ ] Documentation added
[ ] Thought about variable and method names

Waiting for these before merging:
radxa/apt#51

Waiting for these before merging: radxa/apt#51

This is in now so should work ☺


Fixed Razer.Synapse.3

Not possible to silent install

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@denelon this one too

no >:c


grub: make sure grub builds again

When configuring grub, it would fail to execute with the following error:
parallel-tests: error: required file './test-driver' not found
parallel-tests:   'automake --add-missing' can install 'test-driver'

So that's what I added to the preConfigure phase.
Additionally while generating documentation it needed makeinfo, which is part of texinfo.
I'm not sure whether we should disable the tests and generating documentation. Let me know if this is preferable.

Is there even a reason to keep grub1 around anymore?

I saw the build failing on Hydra, so I thought I'd give it a try. I'm also fine with removing it ;)

Pushed. We can always easily delete it later.


Include Falcon 40B

Please include the Falcon Family of models in Awesome-LLM. AFAIK this family includes the 7B, 40B, and 40B-instruct variants, all now available under the Apache 2.0 license.
Additional info:

Falcon LLM - Home
https://huggingface.co/tiiuae/falcon-40b
https://huggingface.co/tiiuae/falcon-40b-instruct
https://huggingface.co/tiiuae/falcon-7b
Foundation model trained on 1,000B tokens of RefinedWeb.

Done. Thanks!


Column autosizing not working on worksheet with fieldcatalog table

Hi,
First I am using ABAP2XLSX release 6.0
I am creating a workbook with two worksheets (summary/detail). The first one does not include a table and I am able to determine the column width myself using :
  go_column_dimension = go_worksheet->get_column_dimension( 'A' ).
  go_column_dimension->set_width( ip_width = '11').

On the second worksheet, I present a detail view of Z DB table. First, is it normal the table columns are not auto-sized? Secondly, I am not able to auto_size the column after I the Bind_table with the active worksheet.  As an information I would like to be able to set a frame around my account summary from A1:J23?
  gt_field_catalog = zcl_excel_common=>get_fieldcatalog( ip_table = gt_inv_dtl_sel ).

  gs_table_settings-table_style      = zcl_excel_table=>builtinstyle_light1.
  gs_table_settings-show_row_stripes = abap_true.
  gs_table_settings-top_left_column  = 'A'.
  gs_table_settings-top_left_row     = '1'.

* Add table to worksheet
  go_worksheet->bind_table( ip_table          = gt_inv_dtl_sel
                            is_table_settings = gs_table_settings
                            it_field_catalog  = gt_field_catalog ).

* Adjust Columns Dimension
  CLEAR: l_lines.
  DESCRIBE TABLE gt_field_catalog LINES l_lines.

  DO l_lines TIMES.

*    Table containing column names: A, B, C... AA, AB
    READ TABLE gt_column_names INDEX sy-index.

    IF sy-subrc NE 0. " Max Column reached
      EXIT.
    ENDIF.

    go_column_dimension = go_worksheet->get_column_dimension( gt_column_names ).
    go_column_dimension->set_auto_size( ip_auto_size = abap_true ).
  ENDDO.

Cleanup of open issues:
This topic is older than one year:  Unless someone comments that this topic should be kept as an open issue I'll close this in about two weeks time.

Closed because no objections have arisen.


Timeout socksToRtc.start after 30 seconds, special screen if no uproxy contacts are found

Fix for https://github.com/uProxy/uproxy/issues/547: Show special screen if no uproxy contacts are found
Fix for #763: Add socksToRtc timeout after 30 seconds
Fix word-wrap in roster, set roster scrollbars to auto
Remove access fields from ui.spec.ts

Tested in Chrome, Firefox, re-ran grunt test
Here's a screenshot of the new "no contacts" screen:

:+1:


Strong named / signed assemblies

Hi,
Thanks for this library, it is really useful.
Would you entertain the idea of creating strong named / signed assemblies. Currently I am getting the following warning:
CSC : warning CS8002: Referenced assembly 'Stowage, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have a strong name

Awesome. Thanks


Environment variables are not correclty injected to Supervisor

Airflow has problems with the Celery user key defined inside the Supervisor environment, but works normally with the bash environment.

It looks like variables are getting set, but there may be something going wrong with quoting.

Apparently Supervisor3 had some quoting needs that Supervisor2 didn't. IIRC In the past I had to quote the % from supervisord config files because they get interpolated, and it wasn't being unquoted now.


[Improve] Improve streampark-flink module based on [3.4 Collection Rule]

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
[Improve] Improve streampark-flink module based on 3.4 Collection Rule
Usage Scenario
No response
Related issues
#2986
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

i pick it

I'd like to try it. Can you assign it to me


Spanish translations?

Issue Type

Feature Idea

Summary
Hello I would like to collaborate with your project by serving as a translator to Spanish. could translate your text documents.

Hello @UlisesTJ . I'm not a maintainer, but I assume the additions would be welcome. You could write the content and submit a pull request to the project on GitHub. If you don't know how to create a pull request, please let me know and I can help you with that.
I think the only "technical" issue here would be how to organize the files, but I expect that creation of the translations would be welcome. If this is something you'd like to pursue, I recommend that you translate specific files and submit those new files via a pull request.

ok thanks a pleasure, I will soon send you the pull requests @ashabed

@UlisesTJ - can you be more specific about what you'd like to help with, and whether you'd be willing to be a long-term 'spanish translation manager' or something of that sort?
Basically, I've been burned plenty of times on projects where someone offers a translation of something, then they drop a file that translates everything using something like Google Translate, and I never hear from them again. I'm not saying you're doing this... I just want to make sure that we don't leave this ticket open indefinitely unless there's some movement and motivation.
As someone who has tried to maintain multilingual docs for years on various projects... I know how Herculean such a task can be, unless there are dedicated and ongoing-committed volunteers.

Nevermind about the above—found https://github.com/geerlingguy/drupal-vm/pull/1709/files :)

Did you like the PR @geerlingguy ? Are you going to merge it?

@UlisesTJ are you considering translating the rest of the docs? Just wondering the scope of this.


Added GetGXTEntry function

Used for localization in the game.
Example use: Game.GetGXTEntry("ninef") will return "9F" as shown in
game.

There you go :)


Provide Importable PrismaService

For our use case, we don't need to customize the PrismaService. Can this package provide simple importable PrismaService and PrismaModule?

@iddan I added a PrismaModule in the latest release 0.5.0. Does this cover your use case?

Thank you for the quick triage! This is better, but I would like to import PrismaService and PrismaModule directly from the package instead of code generating them into my source code. Can that be possible?

It is possible, but it was designed at the moment just as a schematics module. But makes sense to include the PrismaService and PrismaModule as they don't require any adjustment usually.

Right, I think those are two use cases the library can support

@iddan Can you please test the new dev version 0.6.0-dev.2
You can run
nest add nestjs-prisma@dev

This package now also exports PrismaModule and PrismaService.
import { PrismaModule } from 'nestjs-prisma';
import { PrismaService } from 'nestjs-prisma';

Great stuff! Works perfectly.

Can you publish it as a stable version?

Thank you!

No worries :) will be in the next version

@iddan I released 0.6.0 and it includes your great suggestion! Keep your feedback coming 👍


CIFAR10 example cannot work

Hi
Thank you for sharing the code.
I tried to run the cifar10 example;  however, I got an error like the bottom.
Is there something wrong in reading cifar10 dataset?
(btw, I can run mnist example perfectly.)

@tiffany61706
Hi,
Have you solved this problem?
How can I run this code in PyTorch 1.0.

Hi!
@tiffany61706
It is working on MNIST however I got a warning the following variables has renamed automatically. But for the CIFAR10 dataset, I replaced self.targets instead of self.train_labels and self.test_labels as well as self.data instead of self.train_data and self.test_data


Null Object Reference

Describe your bug here.
When trying to play the mod "Vs Sonic.exe Encore" in the engine version "0.6" the game crashes
This bug did not occur in version "0.5.2h"

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

Try again in 0.6.1
Close the issue if the problem was solved.


[Suggestion]Update the button from "View Errors" to "View Output"

OS: All
Build Version: 20191112.2
Regression: Not a Regression
Repro Steps:

Enable "Azure Storage : Enable View In File Explorer" in User Settings.
Create a storage account --> Create a new blob container --> Upload one folder which contains one blob at least.
Acquire lease in Azure Storage Explorer for the new uploaded blob --> Delete this folder in File Explorer.

Actual:
Pop up an error "Errors occurred when deleting 'resource_name' " both from VS Code -Insiders and Azure Storage Extension.

Suggestion:
Update the button from "View Errors" to "View Output". Due to it will take you to "OUTPUT" window after click "View Output" button and there are more error message in "Output" window.

Thanks for reporting, but we've decided not to fix this one :)


Platform.script.toFilePath() duplicates next to current directory.

Platform.script.toFilePath() duplicates next to current directory, when run recursively from itself.
To repro, follow the devtools release steps, and get the issue on the step devtools_tool release-helper.
The script is available in PATH that contains /Users/polinach/_/devtools/tool/bin, and it is run initially from /Users/polinach/_/devtools, and then switches directory with Directory.current = pathFromRepoRoot("tool");,
and then runs itself and new instance returns wrong value for Platform.script.toFilePath().
Code:
    print(Directory.current);
    print(Platform.script.toFilePath());

Actual output:
Directory: '/Users/polinach/_/devtools/tool'
/Users/polinach/_/devtools/tool/tool/bin/devtools_tool.dart

Expected output:
Directory: '/Users/polinach/_/devtools/tool'
/Users/polinach/_/devtools/tool/bin/devtools_tool.dart

(cd tool solves the problem)

Any progress here?

Adding special handling for this path: https://github.com/flutter/devtools/pull/7466


adding support for net4.0 in .NET and extension list as an example

created an example of agent extension policy that is used for Azure agent extensions.
added support for .NET framework 4.0 binding.
Reorganized the structure accordingly due to the above changes.

@yangjie-msft Thanks for the contribution. Kindly squash you commits to a single changelist.


README is missing references.

The README currently references a number of external links but only one reference is actually given?
e.g. "Also looks linux-mm can't support zero copy for this case yet[3]."

Yes, README is missing some links. I get some links from a early kernel patch:
<EMAIL_ADDRESS>Here is some useful links
[2] qcow2 kernel driver attempt
https://www.spinics.net/lists/kernel/msg4292965.html
<EMAIL_ADDRESS>[3] [LSF/MM/BPF TOPIC] block drivers in user space
<EMAIL_ADDRESS>[4] Follow up on UBD discussion
https://lore.kernel.org/linux-block/YnsW+utCrosF0lvm@T590/#r

Fixed now!


[NO STORY] fixed documentation using 'as' word in lowercase

PHP keywords must be lowercase; expected "as" but found "AS"

Issue found on Codeclimate. Great job on this bundle, @johnmadrak ! :)

:+1: Thanks @luiztiago!


UDP Socket Invalid Argument exception

Description
When running multiple containers on the same docker service and same network overlay, each sending and receiving UDP packets from/to every nodes I get Exception "OSError: [Errno 22] Invalid argument"
Steps to reproduce the issue:

Create a service consisting of a tracker running on an overlay network
Create a service with 150 nodes executing the python3 script running on the same overlay network
Request all ips from the tracker
Wait for nodes to start sending UDP packets

Describe the results you received:
2017-01-09 09:01:53,170 - ERROR: Exception catched for address: <IP_ADDRESS>
Traceback (most recent call last):
  File "./server.py", line 56, in <module>
    sock.sendto(bytes('{}'.format(i), "utf-8"), (address, PORT))
OSError: [Errno 22] Invalid argument

Describe the results you expected:
Every packet should be sent with no error
Additional information you deem important (e.g. issue happens only occasionally):
During the same run a node will one time be able to send the packet and the next time fail.
We can see this in the following log:  https://gist.github.com/jocelynthode/dc0ceea7658e6722cb9a5c2f3db5576a
I am currently using Docker 1.12.2 although the problem also happens on Docker 1.12.5. This problem does not seem to appear on a inhouse OpenNebula cluster we use. We can only reproduce this problem on AWS (Either using Ubuntu server 16.04 or Debian stretch).
Here is the UDP class I use to send messages : https://github.com/jocelynthode/EpTOTester/blob/aws-test/projects/EpTOTester/scripts/server.py
Here is the tracker I use : https://github.com/jocelynthode/EpTOTester/blob/aws-test/projects/EpTOTester/tracker/tracker.py
Output of docker version:
Client:
 Version:      1.12.2
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   bb80604
 Built:        Tue Oct 11 18:29:41 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.2
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   bb80604
 Built:        Tue Oct 11 18:29:41 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 3
Server Version: 1.12.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 18
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge overlay null
Swarm: active
 NodeID: ek9vxftn7noow9gw3bbhb9ue9
 Is Manager: true
 ClusterID: c960n73tqhh9lr45tm0qywac1
 Managers: 1
 Nodes: 5
 Orchestration:
  Task History Retention Limit: 10
 Raft:
  Snapshot Interval: 10000
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: <IP_ADDRESS>
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-57-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.303 GiB
Name: ip-172-31-17-24
ID: FE2S:3IMA:UZAP:HOEA:YAOR:3OR4:WILJ:EN3L:A5HR:GI5Q:SKTQ:LYL3
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
I'm using 5 EC2 containers of the type c4.xlarge with Ubuntu server 16.04.
I'm using Docker 1.12.2 but the problem is the same with Docker 1.12.5

Here is a gist for the manager node logs : https://gist.github.com/jocelynthode/02bd334ab268d1cc0353247d6cafc399

ping @mavenugo @sanimej PTAL

This seems related to this issue as well (opened since docker 1.10!) https://github.com/docker/docker/issues/26019

Also note plenty of errors like this in the nodes' logs
Jan 09 08:59:01 ip-172-31-19-41 docker[1197]: time="2017-01-09T08:59:01.385435171Z" level=error msg="Failed to create real server <IP_ADDRESS> for vip <IP_ADDRESS> fwmark 257 in sb 9d5e1336786a5e0d164296a1cc532f2f23765d9434619d5521ff0a97671adf42: no such process"

I've written a C version of @jocelynthode's Python scripts to reproduce the issue and make sure the problem isn't somehow caused by Python. You can find it here: https://github.com/iSma/sock-test
I managed to reproduce the problem on a 1-node swarm (i.e. my Laptop, running NixOS unstable and Docker 17.03-ce), but the issue also appeared on a 4-node Ubuntu deployment. But only if the number running containers is high enough, with 100 the problem appears almost instantly on my machine.
Here's an excerpt from the logs:
...
[2017-06-01T13:29:57]	[dd089ea59fce]	INFO:	Sending to <IP_ADDRESS>:54321
[2017-06-01T13:29:57]	[dd089ea59fce]	DEBUG:	socket: domain=2 type=2 protocol=17
[2017-06-01T13:29:57]	[dd089ea59fce]	DEBUG:	sendto: sockfd=5 buf='8' len=16 dest_addr=<IP_ADDRESS>:54321 addrlen=16
[2017-06-01T13:29:57]	[dd089ea59fce]	ERROR:	sendto: [22] Invalid argument
...

On the line before the error, the arguments to sendto() are printed. They don't seem invalid.

We had a similar problem when running multiple docker containers (350) using udp to communicate. It was a configuration issue with our host machine.
The following threads solved our issue :
https://github.com/hashicorp/serf/issues/263
https://github.com/docker/libnetwork/issues/1522
We also increased other values concerning udp in sysctl (net.ipv4.udp_{mem/rmem_min/wmem_min})
Hope it helps.


Lyon P2P #1 - 2019-12-11 (next)

Info

Meetup link: https://www.meetup.com/France-P2P/events/266104402/

Talks

Available slot
Available slot

Related with https://github.com/francep2p/community/issues/10

🎉

Crypto Lyon the community crypto at Lyon, helps me to organize the event
Their event's link: https://www.crypto-lyon.fr/event/lyon-p2p-1-🇫🇷-monthly-peer-to-beer

Hello 👋
We have 3 talks for this event:

The P2P Learning - by @lpieri
Introduction to Cryptography for Developers - by @moul
How Bitcoin works - by Antoine Poinsot

Closing (done)


feat(general): prompt for invalid users

when fetching the user going to auth-only page, we check if it's valid, and if not, redirect them to /profile/update
added /profile/update page and validation of user (currently only checks if you are a body member/your email is valid, can be expanded
made mail change confirmation page accessible without auth (as otherwise you won't be able to confirm email change and will be stuck in /profile/update redirect loop)

Should we merge the other validation checks that we are working on, like if they have consented to the privacy policy into this one, or make separate PR's for them after this one is merged?

I'd say we can go step by step and do small changes, so we can add privacy consent later

This really shows what the auth-only pages are, which might confuse some people but that's okay. The Confluence pages are auth-only, but I want the Terms of Service (Legal Info) page to be visible for everybody. Is there a way we can change it for just that one page? Otherwise we just leave all Confluence pages open, that's not a problem

The Confluence pages are auth-only

actually we can make this public, as it's open information

now the confluence page are available for unauthorized users, so watching ToS shouldn't be a problem

Oops, forgot to make my commits into a branch

@WikiRik @LeonVreling can you review my last commit and check if it's working for you?

One thing we'll have to add here is a check for their GSuite account. If they do not have one but they do have the permission to have an active GSuite account, we need to create it and they have to confirm their password so we can synchronize it.
Another thing is if people have not logged in since we deployed this, we have to ask for their password so we can synchronize it with their GSuite account. Maybe something like this;
"To confirm that<EMAIL_ADDRESS>is your GSuite account, please type your password below."
The only difficulty in this is how we check for this case. What we can do is checking if they agreed to the privacy policy, if they haven't then we know this is the first time they logged in since the deployment. Only thing is that in the future if we update the privacy policy we can not reset the field in the database for all users, but we'll have to check if they agreed after the date that we changed it.
Other option is to look at when they last logged in, but then we have to manually input the date of deployment for this feature and that is also quite strange

I'd say we can deploy this and add GSuite checks later, what do you think?

While it might be better to figure out the cause in case we get bugs from this, it is not very nice from a user's perspective if they get this screen twice.

@serge1peshcoff okay, maybe we will just merge this already and do the GSuite changes later

I'll make this the overview PR for the changes that we will merge;

@LeonVreling can you add a tooltip in this PR telling people where they can change their notification email?
@LeonVreling can you implement the changes I requested on https://github.com/AEGEE/frontend/pull/722
@linuxbandit can you update/run https://github.com/AEGEE/core/pull/188 and fill the gsuite_id fields in core? The updated model has been deployed

The following PRs are ready and should be merged with this;

https://github.com/AEGEE/events/pull/416
https://github.com/AEGEE/statutory/pull/438
https://github.com/AEGEE/discounts/pull/211
https://github.com/AEGEE/core/pull/179

@WikiRik were those all the chances you wanted to see?

Yeah, should be fine

:tada: This PR is included in version 1.23.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Containers detached from bridge upon configuration update

Issue description
Containers attached to a declaratively-created bridge aren't re-attached when the bridge configuration is changed and bridge-netdev.service is restarted.
It is necessary to restart (not reload) containers manually to attach them back to the bridge and recover networking.
Automatic restart of the bridge service unit is also triggered by some automatic system updates for example.
Steps to reproduce

Declare a bridge:

  networking.bridges.br.interfaces = []; # veth are created and added upon container startup.
                                         # declaration is necessary to set an IP address
  networking.interfaces.br.ipv4.addresses = [ { address = "<IP_ADDRESS>"; prefixLength = 24; } ];

Declare a container attached to the bridge:

  containers.test = {
    autoStart = true;
    privateNetwork = true;
    hostBridge = "br";
    localAddress = "<IP_ADDRESS>/24";
  };

Activate the new configuration: # nixos-rebuild switch

# brctl show br: the veth of the container is listed in the bridged interfaces.

Make any change causing br-netdev.service to be restarted (destroying and recreating the bridge).

# brctl show br: the veth of the container isn't listed anymore in the bridged interfaces.

Technical details
# nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.52, NixOS, 18.03.132803.2f06e04b74e (Impala)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.0.4`
 - channels(root): `"nixos-18.03.132803.2f06e04b74e"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

Still a problem on 20.03.


Added entries at end of CHANGELOG.md

This PR adds two entries to the end of CHANGELOG.md that create hyperlinks to version 0.11.3 and 0.11.4 that compare those versions to the previous versions. I don't think the link to version 0.11.3 will work because we never tagged that update.

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

Project coverage is 72.25%. Comparing base (e7f6fe8) to head (f75230c).

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #920      +/-   ##
==========================================
- Coverage   73.44%   72.25%   -1.20%
==========================================
  Files          19       19
  Lines        4610     4610
==========================================
- Hits         3386     3331      -55
- Misses       1224     1279      +55

Flag
Coverage Δ

unittests
72.25% <ø> (-1.20%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files with indirect coverage changes


Additional optional config and optional repo integration

This allows overriding some defaults with additional config (:current_revision, :previous_revision, :sentry_release_version, :deploy_name). Also, for those without repo integration on Sentry, this can be bypassed by set :sentry_repo_integration, false in config/deploy.rb or config/deploy/{stage}.rb.
I not sure it you want this, but I'm finding it useful.

Indeed, it could be useful, I'll merge that and release a new version after.


error when i convert the weight

hello guys,
i have an issue when i convert the weights i just got the error message :
Killed
and nothing more  there is any verbose mode to understand what's happend ?
full log
~/lit-llama$ python3 scripts/convert_hf_checkpoint.py --checkpoint_dir checkpoints/open-llama/7B/open_llama_7b_preview_300bt_transformers_weights --model_size 7B
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 0.1.43ubuntu1 is an invalid version and will not be supported in a future release
warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release
warnings.warn(
Initializing lit-llama
Processing pytorch_model-00001-of-00002.bin
Killed

Hi @papipsycho
On what machine did you execute this?

I have had this happen to me when I run out of memory. I think you need at least 26 GBs of memory.
I think we should clarify these requirements in our howtos

I have the same issue. I am running the script on a A10 graphics card (24 GB) of graphics memory, with a g5dn.4xlarge instance.
Here's the output from the run :
(python) root@0508-054119-7va9hy6i-10-198-85-93:/databricks/driver/lit-llama# python /databricks/driver/lit-llama/scripts/convert_hf_checkpoint.py --checkpoint_dir /dbfs/Shared/llm/checkpoints/open-llama/7B/open_llama_7b_preview_300bt_transformers_weights --model_size 7B --output_dir /databricks/driver/lit-llama/checkpoints/                                                                                /databricks/python/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory
  warn(f"Failed to load image Python extension: {e}")
2023-05-11 11:43:24.441285: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMATo enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-05-11 11:43:25.029966: I tensorflow/core/util/port.cc:104] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
/databricks/python/lib/python3.9/site-packages/pkg_resources/__init__.py:122: PkgResourcesDeprecationWarning: 0.23ubuntu1 is an invalid version and will not be supported in a future release
  warnings.warn(/databricks/python/lib/python3.9/site-packages/pkg_resources/__init__.py:122: PkgResourcesDeprecationWarning: 0.23ubuntu1 is an invalid version and will not be supported in a future release
  warnings.warn(
Initializing lit-llama
Processing pytorch_model-00001-of-00002.bin
Killed

Can you specify the requirement, is it 26 GB of graphics memory? I am running it on an A10 GPU which has 24 GB of graphics memory.

I ran the conversion script on g4dn.2xlarge, which has 32GiB of RAM and the machine ran out of memory. Am I missing something?

I can successfully convert the 7B checkpoint on a 24BG instance. However larger checkpoints will require more memory.
The real solution here is using lazy loading (and eager unloading), as shown at
https://github.com/Lightning-AI/lit-llama/blob/main/lit_llama/utils.py#L274
Who wants to volunteer? :-)

Chiming in here. In order to run this conversion on WSL (Ubuntu 22.04) I needed to expose 25GB of RAM (since WSL does not expose all of your RAM by default).  Even exposing 20GB of RAM failed with the error:
Initializing lit-llama
Processing pytorch_model-00001-of-00002.bin
Killed

as mentioned above

@connershoop answer almost worked for me, I had to set the memory of WSL to 32Gb instead of 25Gb by editing the C:\Users\<Username>\.wslconfig to be
[wsl2]
memory=32GB

This was resolved by https://github.com/Lightning-AI/lit-llama/pull/326. Converting weights should not require that much RAM anymore


Re-enable mount datum tests and update them for the new naming scheme

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Kevin Yang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


cli: records delete command

Coverage increased (+0.06%) to 98.056% when pulling d12d93cab8b61dfe629b4c944f509fa04f64af92 on jirikuncar:cli into 9a380e8adc0167da1220f722f8f94da3ae2a58a0 on inveniosoftware:master.


The script to convert pdf file to text.

The script to convert pdf file to text.

Thanks for making Pr, but we have some guidelines for making PR to reduce error, bugs and merge conflict and spam Pull request.

before creating any change in the code create an issue for the problem and discuss the problem statement and your script. It helps us to track the pull request.

Please Visit - README.md and CONTRIBUTING.md for more information.
Thanks

Hi @codePerfectPlus , thank you for your response. I have fixed the coding convention following the PEP8 convention.
Thank you very much.


List usage throws errors even if working right

Running the following simple program using lists:
main
    Int i = 0;
    Int length = 0;
    List<Int> list = new List(5, null);
    List<Int> list2 = new List(5, list);

    length = list2.length();
    print(length);

    while i < length do
        Int value = list2.get(i);
        print(value);
        i = i + 1;
    end
end

throws the following errors even if working fine and printing all the correct results:
Line 0, ERROR: Matching List<LISTT> with List failed.
Line 0, ERROR: Applying the matching on LISTT failed.
Line 4, ERROR: Type Int is not assignable to ERROR
Line 0, ERROR: Matching List<LISTT> with List failed.
Line 0, ERROR: Applying the matching on LISTT failed.
Line 4, ERROR: Type List is not assignable to List<Int>
Line 0, ERROR: Matching List<LISTT> with List failed.
Line 0, ERROR: Applying the matching on LISTT failed.
Line 5, ERROR: Type Int is not assignable to ERROR
Line 0, ERROR: Matching List<LISTT> with List failed.
Line 0, ERROR: Applying the matching on LISTT failed.
Line 5, ERROR: Type List<Int> is not assignable to List<ERROR>
Line 5, ERROR: Type List is not assignable to List<Int>

Constructors require the type parameters, change your code to
    List<Int> list = new List<Int>(5, null);
    List<Int> list2 = new List<Int>(5, list);