I'm not sure whether slicing strings and string methods should be in s1 intro basics

it might be too much for them for basics idk, we can move it to s3 and expand more about string methods

s3 is too much. recommend move to s2

what r u planning to put in s3. I'm thinking of put strings as an individual session cuz there are a lot to talk about

I think s3 will be about loops and arrays. s4 will be about building a GUI library

ok gud


Just a typo....

Hi All,
The word "input" is spelled "intput".  See the screenshot.
I appreciate the nice report of what changed, and that I can open old files with the new beta.

Thanks,
Rob

I did a quick grep in the source, and the problem is quickly found.
grep -R intput src/stochastic.cpp:		wxMessageBox("Error retrieving weather file intput distribution"); src/stochastic.cpp:		wxMessageBox("Error with weather file intput distribution count"); deploy/runtime/versions.lk:			value('om_replacement_cost_escal', old_escalation, 'Battery replacement cost escalation moved from Battery Storage to System Costs intput page.');

Thanks @frohro ! We will put this on our list to fix for the next patch.

Fixed in https://github.com/NREL/SAM/commit/fe023c87f6cf3c3e1c8079b73c662857dd9ec4cc


JSBUILD failed when init from scratch

Question

I followed the steps from official documentation and hugo server -w says this:
hugo v0.125.3+extended linux/amd64 BuildDate=unknown

ERROR JSBUILD: failed to transform "/scripts/application.js" (text/javascript): Could not resolve "cytoscape/dist/cytoscape.umd.js"
Built in 2165 ms
Error: error building site: JSBUILD: failed to transform "/scripts/application.js" (text/javascript): Could not resolve "cytoscape/dist/cytoscape.umd.js"

Also, direct run locally on fork of hugo-toha.github.io works just fine.

Dependencies check:
> go version; node --version; npm --version
go version go1.22.2 linux/amd64
v21.7.3
10.5.2

Hi @liolok! I just tried the steps in the doc. It is working as expected.
This is my hugo version:
hugo v0.125.6+extended linux/amd64 BuildDate=2024-05-05T10:52:52Z VendorInfo=brew

These are my dependency versions:
go version go1.22.2 linux/amd64
v20.7.0
10.1.0


test Numba on the buildfarm with LLVM 10 enabled llvmlite

DO NOT MERGE

Build-farm id: numba_185.

@esc Could we test this branch again but with #6030 merged instead of using https://github.com/numba/numba/pull/5969/commits/703c4fe394b64a10e3e1adf7c608523ef4302fbc ? Instead of upping the opt level to 3, no optimization is done using LLVM 10.

@gmarkall sure, however, internal build farm is currently down however, so it may be a few more days until I get around to it.

@esc thanks - I had heard about some things that needed to be done with it :-)

@gmarkall I queued it for a Numba CUDA smoketest at BFID: numba_smoketest_cuda_70.

BFID: numba_smoketest_cuda_70 unfortunately failed to build, because the smoketest wasn't configured with the correct channels and was unable to find the correct llvmlite version.

as Numba 0.51.0 and llvmlite 0.34.0 have been released, this branch is no longer needed. LLVM 10 support is now done.


NIFI-10038 Add Java 17 to system-tests workflow

Summary
NIFI-10038 Adds Ubuntu Java 17 as an additional platform to the GitHub system-tests workflow.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks @exceptionfactory this is really helpful to have. Changes look fine to me. Will merge.


Nexus-prisma tries to generate type in production

We upload our code in AWS Lambda function and this is the error we get when starting the apollo-server. _ EROFS: read-only file system, mkdir '/opt/nodejs/node_modules/@types/nexus-prisma-typegen_. This is odd because why would a node_modules folder be modified during run time? And why would @types package be there after running npm install --prod=true or npm prune --production. Is there any way can I config nexus-prisma/nexus to ignore type when running on production?

What is NODE_ENV set to?
Sent with GitHawk

@jasonkuhrt NODE_ENV is production.

What version of nexus-prisma are you using?
Sent with GitHawk

I use ^0.6.1 :)
    "nexus": "0.12.0-rc.5",
    "nexus-prisma": "^0.6.1",

This problem is solved with shouldGenerateArtifacts: false

We will investigate this kore in our next sprint. Meanwhile if you are truly blocked you can try graphql-santa fwiw, which takes care of these sorts of configuration aspects, among (many) other things.
Sent with GitHawk


Offset when using a-camera instead of a-entity camera

Describe the bug
During marker based tracking, when using the <a-camera> primitve instead of an <a-entity camera>, everything is slightly shifted downwards. This shift is of the same amount of pixels as the negative margin applied to the body, yet the canvas' position is shifted correctly, so that is not the problem.
To Reproduce
Steps to reproduce the behavior:

Go to https://codepen.io/jansim/pen/NWPmRwp
Open the hiro marker (https://jeromeetienne.github.io/AR.js/data/images/HIRO.jpg) on another device
See the wrongly tracked blue cube. Compare this to https://codepen.io/jansim/pen/BayELmL which is working as expected.

Expected behavior
The application should behave the same whether using <a-entity camera> or <a-camera>.
Screenshots

Desktop (please complete the following information):

OS: macOS 10.15.2
Browser: Firefox Developer Edition (reproducible in Chrome)
Version: 73.0b9 (64-Bit)

According to the A-Frame documentation: When using <a-camera> the camera is situated by default at the average height of human eye level (1.6 meters). This makes sense for VR application but less so for AR.
You can use the position parameter to put the camera on the ground, for example with <a-camera position="0 0 0" ...>.

Hi there, please feel free to re-open the issue at new AR.js repository: https://github.com/AR-js-org/AR.js
thank you!


feat: virtualized-masonry

Description

This PR resolves []
QA Testing

Acceptance Criteria

Setup Instructions

PR Checklist

[ ] I tested my changes on iOS / Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.
[ ] I have prefixed changes that need to be tested during a release QA with [NEEDS EXTERNAL QA] on the changelog.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

JFYI https://twitter.com/naqvitalha/status/1564867813697024000

JFYI https://twitter.com/naqvitalha/status/1564867813697024000

ooooh exciting!!!

ok this works great here! feel free to continue with this PR, or we can finish it up together, but at least masonry works now. thank you for working on this!

Closing this since we decided to try out the @shopify/flash-list one


Fix numerical issues with better computation of slopes in composition

There were some rounding issues in the composition in the left and right slopes computation.
Now slopes are computed using analytical formulas.

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

Project coverage is 86.24%. Comparing base (b811788) to head (9b463f4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   85.94%   86.24%   +0.29%
==========================================
  Files           2        2
  Lines         185      189       +4
==========================================
+ Hits          159      163       +4
  Misses         26       26

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Exception occured while exploring pipelines: Provided label column 'Sentiment' was of type String, but only type Boolean is allowed. System.ArgumentException: Provided label column 'Sentiment' was of type String, but only type Boolean is allowed.    at Microsoft.ML.CLI.CodeGenerator.CodeGenerationHelper.GenerateCode()    at Microsoft.ML.CLI.Program.<>c__DisplayClass1_0.b__0(NewCommandSettings options) Please see the log file for more info. Exiting ...

Problem encountered on https://dotnet.microsoft.com/learn/machinelearning-ai/ml-dotnet-get-started-tutorial/train
Operating System: windows
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

@chandru2erode can you please provide the following details?
System Information (please complete the following information):

Model Builder Version:
Visual Studio Version

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

@chandru2erode, can you at least supply the first few rows of the dataset you're using for sentiment analysis? I'm guessing the sentiment column is not 0 or 1. But rather something else. Currently there is a limitation of our sentiment analysis that supports only two sentiments.

@chandru2erode if this issue still reproduces, then please open a new issue with more details.

I have this issue with Visual Studio Model Builder.
Here is few rows of data:
Wow ... Volio sam ovo mjesto.	1
Kora nije dobra.	0
Nije ukusna, a tekstura je bila samo gadna.	0
Zaustavio se tokom bankarskog odmora krajem maja, na preporuku Ricka Stevea i svidjelo mu se.	1
Izbor na meniju je bio velik, kao i cijene.	1
Sada se ljutim i želim svoj prokleti fos.	0
Honeslty nije okusio taj svjež.)	0

This could have been caused by a stray newline.
If this was the case, you could
csv.GetField("text").Replace(Environment.NewLine, " ")
.Replace("\r\n", " ")
.Replace("\n", " ")
.Replace("\r", " ")

with any other combination of likely carriage return delimiters


docs: add pre-release notice and review deps sections to RELEASE.md

Checklist

[x] the [individual contributor license agreement][] is signed
[x] documentation is changed or added

Description of change
Added pre-release notice and review dependencies sections to RELEASE.md.

CI is seeing a weird unrelated error.
 org.apereo.portal.concurrency.locking.JpaClusterLockDaoTest > testConcurrentLocking FAILED
    java.lang.AssertionError at JpaClusterLockDaoTest.java:140

373 tests completed, 1 failed, 108 skipped

> Task :uPortal-webapp:test FAILED

restarting CI to see if this resolves itself

Thanks for the reviews @ChristianMurphy 🎉


Connecting through Velocity gives handshake error

Getting handshake errors when connecting through a Velocity Proxy with ping-passthrough enabled, running in modern mode currently as well

Install https://github.com/BasiqueEvangelist/OwoVelocityPlugin on the proxy.

Thanks that was my issue


Create a UWLinkedList to more easily support item-moving operations

Implementation should have:

Function to create a UWLinkedList from an UWObject array or list
Function that adds items before or after the current objects
Function that removes items from any position of the list.
Function that checks if the items in the list end pointing at 0, and point to each other too.

Questions:

Should there be functions that get "good" static and mobile objects in this class? If so, after "popping" the good items, should they be removed, to avoid having two items in different tiles?
Should this just have a hidden List instance that, when adding items, just modifies their "next in chain" property?
How would this interface with a Tile instance? Should they be "separate", and then I call the Tile to update its pointer? (Maybe in a setter? Access UWLinkedList indirectly?)


Remove client block builder

Description of change
Remove client block builder. The wallet should be used to build transactions in the future (people can still build payloads themselves and submit them)
Type of change

Breaking change (fix or feature that would cause existing functionality to not work as expected)

How the change has been tested
cargo check, test
Change checklist

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that new and existing unit tests pass locally with my changes

Will rebase after https://github.com/iotaledger/iota-sdk/pull/671


Prevents minibuffer from popping up, and echo area

Here's how opened minibuffer looks like:

It's like another window is layered on top of it.
Here's how it looks without power-mode:

Also happens with isearch:

The shake effects work by embedding a frame in the root frame, which explains the layered effect, but it doesn't explain the weird focus and sizing issues here. Do you have your dotfiles hosted somewhere so I could attempt to repro?

emacs config: https://gitlab.com/andreyorst/dotfiles/-/tree/master/.config/emacs
I've tested this on a machine without hidpi display and it had no issue, but when I've increased fon scaling the misalignment appeard instantly, without the need to restart Emacs. Maybe that's a hint to this mistery?


chore(deps): dependabot updates

Doing this manually because dependabot doesn't know how to update build.in.yml.

Subsumes: #18017,  #18018, #18019, #18020, #18021, #18022

Could we create a symlink to build.in.yml in workflows, so that dependabot edits this file as well?

Could we create a symlink to build.in.yml in workflows, so that dependabot edits this file as well?

I'm not sure if symlinks work, but maybe we could try using the directories config option with both .github and .github/workflows explicitly (in a different PR?).

Yes, definitely no in this PR!
Thanks!
maintainer merge

bors merge


added gym.spaces.Dict as an available action/state space for OpenAIGy…

added gym.spaces.Dict as an available action/state space for OpenAIGym environments. Partially fixes #405. Still need to investigate the effects of nested spaces within the Environment class

Once you investigated recursive space definitions, a PR covering these would of course be very welcome... :-)


Multiple issues with RigidBody sleeping/active state with both GodotPhysics and Bullet

Godot version:
v3.0-rc1_x11.64
OS/device including version:
Debian 9 64-bit
Issue description:
Multiple issues. I am not sure is this correct behavior or my mistake.
Running with Bullet:

performance monitor incorrectly reports number of active 3d objects (it seems it doesn't work at all?

Running with GodotPhysics:

left body seems to be counted as active even though it should not be (see below)

Explanation about left body:
Left rigid body has attached StaticBody with cube shape (much smaller) and it has layer mask set so it should not be colliding with anything. Idea is to use it for ray picking (which works), but it seems that it affects parent RigidBody in a way that prevents it to ever become inactive, even though parent is sleeping.
I am not sure if this is correct use of StaticBody. When it is replaced by Area, both ray picking and parent rigid body inactiveness work as intended.
Steps to reproduce:
Run attached program. Switch between physics engines.
Minimal reproduction project:
_GodotStaticBodyBug.zip

Can anyone still reproduce this bug in Godot 3.2.1 or 3.2.2beta4?

Closing due to lack of response. Please comment if you can still reproduce this bug.
PS: If no minimal reproduction project was included in the original bug report, please upload one as well to ease troubleshooting.


[feature-request] Tighter integration of universal and ng serve

The way universal has been integrated into cli has always felt off a bit. Though the tools assist in generating some of the server side code, the experience of running it is not ideal, with app dev left choosing between universal rendering, or the conveniences of ng serve like watch mode, fast partial compiles, and live reload. It seems like it would be possible to create a setup where something like:
ng serve --prod --ssr
Could be used on a production system, likely just running the generated express app, and
ng serve --ssr
running in a developer mode would render pages on server, but still include partial compiles, live reload, and maybe even HMR.
I imagine if it got good enough, the --ssr would not even be required, but instead universal server rendering would be the default.
Some further thoughts:

With today's modern infrastructure of containers and micro-services, the angular client can be completely separated from a backend API. I imagine the most basic of API integration points would need to be added, but this could be something as simple as reverse proxy config which I believe is already in webpack dev server.

Though the app developer would still be responsible for dealing with TransferState, the server / client modules could already be included to make this easier

The specifics above and the specific design aren't important to me, just the larger goal of a more complete developer experience for universal rendering, and tighter parity between development time experience and production experience with ssr.

I realize this is a large request. Thanks for all the great work that has already been done!

Moving this to the universal repo, as such builders should be part of nguniversal.


500 Execution layer rewards not available...

Using your tax tool and encountering "500 Execution layer rewards not available for proposer ..." error. Is there a way to work around this?

Hi there, should be fixed now. The block reward indexing is not 100% bullet-proof and may fail to process MEV correctly, which is what happened in this case.


Plugin can't be translated

Description
Even though static message translations are given, the plugin still shows the default strings "Copy", "Clone" and "Paste". I can't find those strings in JSON translations strings in the CP either.
Steps to reproduce

Add static translations to either translations/de/app.php or translations/de/smith.php:

<?php

return [
  "Clone" => "Duplizieren",
  "Copy" => "Kopieren",
  "Paste" => "Einfügen",
];

Still find the old strings in the CP

Additional info

Plugin version: 1.1.12
Craft version: 3.6.10
Multi-site: Yes

Fixed in 1.1.13

Thanks for the quick fix!


Error on jinja render for matched documents created by python-logstash-async

We use python-logstash-async in our python services, which adds a 'type' field to the document
https://github.com/eht16/python-logstash-async/blob/master/logstash_async/formatter.py#L104
Since #282 both the match and the rule are expanded into the same function call.
They clash since they both have a field called type

TypeError: render() got multiple values for keyword argument 'type'

If I check on how it works with alert_text_args works in BasicMatchString, it prioritizes the content of the match before the content of the rule.
We'll have to do something similar for alert_text_jinja.


I think there may be a small bug that will cause errors.

It occurs in file utils/arch.py, Line 38. In my opinion, "num=0" should be placed out of the outer cycle. Or it can't create the correct directory.

Thank you so much for notifying me of this bug. I have fixed it in utils/prepare_city.py .


feat(rust): move multiaddr_to_socket_addr method into MultiAddr

Current behavior

The multiaddr_to_socket_addr is a static function that operates on a MultiAddr.
Proposed changes

Move that function as part of the MultiAddr struct.
Closes #4390
Checks

[x] All commits in this Pull Request are signed and Verified by Github.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] I accept the Ockam Community Code of Conduct.
[x] I have accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository. The easiest way to do this is to edit the CONTRIBUTORS.csv file in the github web UI and create a PR, this will mark the commit as verified.

Looks ready to merge now @hugoamalric , thanks again for working on this one! 💪

Hi @hugoamalric, I didn't spot this but the build is failing because you need to sign your commits (that's actually the first item in the PR checklist :-)). Please follow the instructions on the Github page on how to do it. It shouldn't take long and then it's done forever!

You're welcome ! :) @adrianbenavides
You're right @etorreborre, my commit wasn't properly signed for some reason.


Commit after setting up template pages

Removed the unwanted comments in template pages, and made the template pages to work by testing index and widgets pages by setting up the mapping path in application controller file.

Removed the unwanted comments in template pages, and made the template pages to work by testing index and widgets pages by setting up the mapping path in application controller file.


Request: Create mode "click to duplicate" for power lines and tress, etc.

Hi,
I have been attempting to create long high voltage power lines over hundreds of kilometers.
It would be useful when adding a large number of trees is to have a duplicate mode. After you click it, it stores the previous node tags and then as you click around, it adds a duplicate of the original node at that point.
The same for power lines.  You create the first power pole or tower and then click the duplicate mode and every time you left click, it extends the power line (if connected) and creates a pole or tower (what ever was selected).  It would make adding large numbers of like nodes a whole lot easier.

In case you didn't know, you can select a tree node and then use ctrl+c and ctrl+v to copy and paste them.
Same goes for power poles or towers (although you need to manually input the tags as the preset doesn't for nodes). For a power line - if you left click on each pole or tower, you can then return to select each one individually and add a pole or tower from the preset list. Or use { } to move left/right through the nodes.

Yes this would be super useful.. What you described is how I'm imagining #590 would work, so I'm closing here as a duplicate.


How do you set ZBM parameters?

I have just installed ZBM for the first time relying upon "Complete beginner's guide to installing ZFSBootMenu". After solving a few problems, I have ZBM booting Debian Testing on ZFS and it looks great. Thank you.
The issue is that ZBM.Timeout seems to default to -1, and sits forever waiting for a \n.
The man page explains that I need to set ZBM.Timeout=5, or something, to have it boot without further intervention. But the obscurity is in how one would do that. Is there a config file somewhere? I would really appreciate clear directions and examples. Thank you.

Please link the exact guide that you followed; ZFSBootMenu defaults to a 10 second timeout. There are too many ways to install it to say conclusively how you're getting a timeout of -1.

You probably just forgot to set bootfs on the pool.

Thanks for the replies. The Guide is here https://github.com/zbm-dev/zfsbootmenu/wiki/Complete-beginner's-guide-to-installing-ZFSBootMenu#334-start-the-new-environment-enter-any-encryption-password-and-select-your-boot-envrionment-in-zfsbootmenu.
As for bootfs and the other parameters, it is really unclear in the docs how they are set. But there is no mention of bootfs in the guide.

that guide is unofficial and there is an official debian install guide on the official docs: https://docs.zfsbootmenu.org/en/v2.2.x/guides/debian.html

Thanks. That guide does include the bootfs parameter, which I can probably figure out how to set with the command supplied there. But since my system boots when I press enter, what I really need to know is how to set the ZBM.Timeout parameter.

The bootfs property is intrinsic to ZFS. See zpoolprop(7) for more details.
Parameters for ZFSBootMenu are set on its kernel command-line as documented on zfsbootmenu.7. If you are using a pre-built UEFI executable, you can use the zbm-kcl(8) tool to modify the command-line, as well as adjust your boot environment's command line. The tool can be fetched at https://get.zfsbootmenu.org/zbm-kcl and is a standalone utility, although it needs access to the objcopy executable to manipulate the UEFI bundle.

As for the timeout, the default is 10 seconds. The timeout is ignored when you don't set bootfs because ZBM never tries to guess your intent. Set the property and the default countdown should take effect.


Validation mode

In various places like #80 we relax the rules to accommodate some questionable Ninja behaviors.
We currently key some of these off a "ninja compat" flag, but I wonder if it would be better to make some sort of explicit mode flag that is extra strict.
I think there are basically two categories of users of n2:

people who are just trying to build something and at the mercy of whatever their build system emits; n2 emitting warnings doesn't help them much
people who are working explicitly on generating ninja files, e.g. CMake authors; n2 helping them find bugs is helpful

This is very similar to the question of whether you want to enable -Werror on a project, where you have the same two categories of people.

(I wrote a much longer post with some thoughts about -Werror here https://neugierig.org/software/blog/2022/01/rethinking-errors.html )

I think it would be good if n2 had a kind of "capabilities" config file, where each little thing that could be stricter was a separate flag. "ninja compat" mode would be one built-in configuration, and "strict" mode would be another. But projects could start out in ninja compat mode and turn on flags one by one until they eventually reach strict mode.
I think there would probably multiple "editions" (like rust's editions) of strict mode as well, where we have a certain strict mode edition to start, but then when we add more checks we don't want to add them to that strict mode because it will break existing users, but instead we add a new edition of strict mode that has the checks enabled.

It just occurred to me that a reasonable place to put configuration like this is in the ninja file itself, given that the generator is the tool where you know what settings you care about.  You could imagine some sort of like
config
  missing_depfiles = error

kind of block, though it would mean breaking syntax compatibility with Ninja.  (Ninja already has some configurationy stuff in magic globals that ought to have been done this way)


BAU - Handle inactive agreement status

WHAT

Display the correct tag for inactive agreement status
Also removed expired status which is no longer needed

Closing due to https://github.com/alphagov/pay-toolbox/pull/1694


feat: update the steps about how to run test cases

Codecov Report

Merging #388 (3ddb99a) into main (43c55b4) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #388   +/-   ##
=======================================
  Coverage   62.56%   62.56%
=======================================
  Files          68       68
  Lines        9848     9848
=======================================
  Hits         6161     6161
  Misses       3687     3687

Flag
Coverage Δ

rust
62.56% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix compile/assert on group_size

Fix compile.  Could not compile without the change.

[x] PASS compile
[x] Inference Test with group_size 7 (Yi-1.5 34B)
[x] Inference Test with group_size ? (Command-r 30B)

It's no longer required as #301 get merged :)
Thank you again for your contribution!


serialport not "fully" opening a connection with Arduino Micro

Summary of Problem
I am trying to use my Arduino Micro as an HID device for keyboard input using serialport. If I simply open the serial monitor from the Arduino IDE and then run my code node keyboard-transmit.js then everything works perfectly and the letter A is written by the cursor. If I do this without first opening the serial monitor in the IDE then I get nothing written by the cursor however if I were to open the monitor after running the code, the serial output is shown there in the monitor.
My question is 1) what is happening to the connection by opening the serial monitor in the IDE and 2) can I do it in serialport so that I do not have to manually open the serial monitor from the IDE?
Is this a DTR issue? I have already tried disabling DTR with no change in outcome but maybe I was doing it wrong?
Code to Reproduce the Issue
Javascript:
var SerialPort = require('serialport');
var port = new SerialPort('/dev/cu.SLAB_USBtoUART', {
  baudRate: 9600,
  autoOpen: false,
});

port.open(function (err) {
  if (err) {
    return console.log('Error opening port: ', err.message);
  }
});

port.on('open', function() {
  // Keyboard
  port.write(Buffer.from('A'));
});

Arduino:
#include <SoftwareSerial.h>
#include <Keyboard.h>

SoftwareSerial rpiSerial(10, 11); // RX, TX

void setup() {
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  // Set the data rate for the SoftwareSerial port
  rpiSerial.begin(9600);
  // initialize control over the keyboard:
  Keyboard.begin();
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }

  Serial.println("Serial Connection Established");
}

void loop() {
  if (rpiSerial.available()) {
    // read incoming serial data:
    char inChar = rpiSerial.read();
    // Type the ASCII value received:
    Keyboard.println(inChar);
    Serial.println(inChar);
  }
}

Versions, Operating System and Hardware

SerialPort@ 2.0.1
Node.js v10.10.0
macOS Mojave
Arduino Micro ATmega32U4

@SterlingButters Serialport#write takes a callback that is "called once the write operation finishes." As well as:

Returns a boolean false if the stream wishes for the calling code to wait for the drain event to be emitted before continuing to write additional data

Checking the return value of your port.write(Buffer.from('A')) call and adding a callback with some logging, should give you more info about if the port is open when writing to the device.
You can also check out the debugging output from serialport while your program is running. If you can share that here, it can help with figuring out the issue.

I know that the data is being written though, its just that the action Keyboard.println(inChar); is not taken in the arduino script but Serial.println(inChar); is.
Debugging:
bash-3.2$ DEBUG=* node keyboard-transmit.js
  @serialport/bindings loading DarwinBinding +0ms
  @serialport/stream opening path: /dev/cu.SLAB_USBtoUART +0ms
  @serialport/binding-abstract open +0ms
  @serialport/bindings:poller Creating poller +0ms
  @serialport/stream opened path: /dev/cu.SLAB_USBtoUART +9ms
  @serialport/stream _write 1 bytes of data +1ms
  @serialport/binding-abstract write 1 bytes +9ms
  @serialport/bindings:unixWrite Starting write 1 bytes offset 0 bytesToWrite 1 +0ms
  @serialport/bindings:unixWrite write returned null 1 +1ms
  @serialport/bindings:unixWrite wrote 1 bytes +0ms
  @serialport/bindings:unixWrite Finished writing 1 bytes +0ms
  @serialport/stream binding.write write finished +1ms```

As a workaround (for now) I inserted the following into my code:
var spawn = require("child_process").spawn;
var process = spawn('pio', ["device", "monitor", "--port", "/dev/cu.usbmodemHIDPC1"])

Though it is important to notice that the port I am actually sending data to is /dev/cu.SLAB_USBtoUART as can be seen below:
// TODO: Figure out why I need this
var spawn = require("child_process").spawn;
var process = spawn('pio', ["device", "monitor", "--port", "/dev/cu.usbmodemHIDPC1"])

// Set up Serial connection
var serialPort = require('serialport');
var port = new serialPort('/dev/cu.SLAB_USBtoUART', {
  baudRate: 9600,
  autoOpen: false,
});

// Report error if Serial connection cannot be made
port.open(function (err) {
  if (err) {
    return console.log("Error opening port: ", err.message);
  }
});

port.on('open', function() {
  console.log("Serial connection made")
  setInterval( function() {
  var msg = 'test';
  // console.log(msg.toString('utf8'))
  port.write(msg.toString('utf8'));
  }, 1000);
});

Lucky for me, platformio in atom text editor has a serial monitor which gave me command I spawned in the first two lines of code. It appears the command initiates a miniterm instance on the other port:
--- Miniterm on /dev/cu.usbmodemHIDPC1  9600,8,N,1 ---

Maybe someone can explain why this is necessary and a cleaner way to move forward?

@SterlingButters To clarify, you're currently expecting serialport to send a character to the Arduino Micro, which should then send that keystroke back to your computer and show in your terminal?
I'm a little confused about the setup because I see some code related to a raspberry pi as well.

@HipsterBrown Since I dont have access to my RPi3 at the moment I am having to use my MBP as both the sender and receiver of the data so your understanding is spot on: the laptop is currently emulating the RPi3.

Are you thinking it might work from the RPi3 without the additional command?

Thanks for the tip but for my application it is necessary as constant changes will need to be handled often. Keyboard.write yields the same as Keyboard.println; although, once I changed it to write things stopped working as expected for a little bit but now everything works as before (Idk what happened but scared to change it again) - point being I still need to "initialize" the serial monitor from the CLI.


Reduce nix inputs

OK it will be fun

There's one more possible optimization, when all dependencies stop using addChecks from liqwid-nix it can be also overwritten to follow one from agora repo

There's one more possible optimization, when all dependencies stop using addChecks from liqwid-nix it can be also overwritten to follow one from agora repo

What would this look like?
You mean specifically that currently liqwid-nix cannot be followed because liqwid-nix being out of sync causes build issues? I suppose API stability around liqwid-nix will help this problem.

What would this look like?

Add inputs.liqwid-nix.follows = "liqwid-nix"; to each dependency that uses it. You can inspect them with nix flake metadata.

You mean specifically that currently liqwid-nix cannot be followed because liqwid-nix being out of sync causes build issues?

Some dependencies are out of sync with newest liqwid-nix and use addChecks feature that was removed in a version used by agora repo. On the other hand we cannot use older liqwid-nix on agora because hlint version is too old and fails to parse some language extensions


Add AllContributors

add https://allcontributors.org/docs/en/overview

@all-contributors please add @siriwatknp for design & code

@all-contributors please add @siriwatknp for design, code, bug, doc, example, ideas, projectManagement, maintenance, infra, review, test

@all-contributors please add @futurouz for tool

@all-contributors please add renamoo as documentation

@all-contributors please add @p-siriphanthong as code

@all-contributors please add @borbier as code

@all-contributors please add @bokherus as code

@all-contributors please add @Kijpokin  as code

@all-contributors please add renamoo as documentation

@all-contributors please add @p-siriphanthong as code

@all-contributors please add @borbier as code

@all-contributors please add @bokherus as code

@all-contributors please add @p-siriphanthong as code

@all-contributors please add @borbier for code

@all-contributors please add @bokherus for code

@all-contributors please add @bokherus for code

@all-contributors please add @Kijpokin for code


closes #63 | add modal support

Codecov Report

Merging #93 (eb69bd9) into master (acf9a83) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #93   +/-   ##
=======================================
  Coverage   96.74%   96.74%
=======================================
  Files          14       14
  Lines         123      123
  Branches        3        3
=======================================
  Hits          119      119
  Misses          2        2
  Partials        2        2

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 acf9a83...eb69bd9. Read the comment docs.

Codecov Report

Merging #93 (eb69bd9) into master (acf9a83) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #93   +/-   ##
=======================================
  Coverage   96.74%   96.74%
=======================================
  Files          14       14
  Lines         123      123
  Branches        3        3
=======================================
  Hits          119      119
  Misses          2        2
  Partials        2        2

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 acf9a83...eb69bd9. Read the comment docs.


small fixes to echograms

added inverted yaxis by default. The hv bug (holoviz/holoviews#5727) got addressed and the plot seems to work without extra axis modifications (fixes #136)
added a few installation instructions for running pyvista on ec2 ubuntu (for rendering)

Great! We really need to have the right side up :)


The first run popup helper deal always says node…even if you pick C#, which is the default

dup of #485, fixed in 1885f9f12b89953bf0c832dff118e93f32f27ce8. Fix should be in https://functions-staging.azure.com and will go live soon.


Webpack build process - module not found: Error: Cannot resolve module *

Please see the following S.O. question. I imagine that it is a simple fix, but I have found it difficult to understand what the next step is from the Webpack documentation.
http://stackoverflow.com/questions/41516931/webpack-build-process-module-not-found-error-cannot-resolve-module

@joetidee take at look at your "resolve" entry. Specifically the "root". I would remove it and use "context" instead.
Here are docs on context: https://webpack.github.io/docs/context.html
Here are docs on resolve: https://webpack.github.io/docs/resolving.html


fix(app): Fix paths to BR premigration wheels on Windows

overview
This hotfix PR fixes the 3.11.x migration update flow in Windows.
changelog

fix(app): Fix paths to BR premigration wheels on Windows

review requests

[ ] BR migration on Windows works

https://s3.amazonaws.com/opentrons-app/builds/Opentrons-v3.11.0-win-b11636-hotfix_br-windows-update.exe

[x] BR migration on macOS works

https://s3.amazonaws.com/opentrons-app/builds/Opentrons-v3.11.0-mac-b17183-hotfix_br-windows-update.zip

[ ] BR migration on Linux works

https://s3.amazonaws.com/opentrons-app/builds/Opentrons-v3.11.0-linux-b17183-hotfix_br-windows-update.AppImage

incident report

A dependency we use (globby) to find filenames based on wildcards updated to a version that did not support Windows path separators, only posix
In the app, globby was used to get the premigration wheel files to send them to the robot during a BR update
The app specified the patterns to find the wheels using whatever path separators were appropriate for the OS it was installed on
The app specified the non-Windows-supporting version of globby in its package.json, so it's unclear how migrations on Windows ever worked

Speculation

Due to some quirk of our build process / yarn's node_modules layout, and the fact that globby is a common dependency in a lot of utilities, our app was building with an earlier, Windows supporting version of globby

This is why migrations on Windows worked at all

#3791 included the latest version of globby to help with the LL build process, which then changed yarn's node_modules layout

Back to stuff that happened

Edge was pulled  change made it into our 3.11.x release line between alpha.2 and alpha.4
Much of our BR migration testing was done on alpha.1 and alpha.2, missing the fact that later alphas had a broken migration flow on Windows

Tested on Windows and Ubuntu

Tested on Window 10 - migration to 3.11 was successful ✔


Context menu - Git stage/unstage/revert selected ranges only displayed in "view changes"

I used to be able to Stage / Unstage / Revert selected ranges using the context menu on right click.
Now these options disappeared and are only available when viewing a file through "Git: Open Changes".

VSCode Version: 1.30.1
OS Version: macOS High Sierra 10.13.6

Steps to Reproduce:

Project versioned with Git

Add changes to a file and save the file

Select the lines that include your changes in step 2

Right click on your selection : no Git actions

Open the Command Palette and select "Git: Open Changes"

Select the lines that include your changes in step 2

Right click on your selection : Git actions are displayed

Does this issue occur when all extensions are disabled?: Yes

Unfortunately this is impossible to implement with today's API.

Closing this with the alternative: click the gutter decoration.


Null-ls support for on_attach

It would be nice if null-ls could support on_attach to allow configuration like https://github.com/jose-elias-alvarez/null-ls.nvim/wiki/Formatting-on-save

I'll be home next week and will be able to work on this. In the meantime, feel free to come up with something!


[5.5] Add all deserialization fatal output to the pretty stack trace

Cherry-pick of https://github.com/apple/swift/pull/37743

Rather than outputting diagnostics and to stderr, output all the extra
information added when deserialization fatally fails to the pretty stack
trace instead. Since the pretty stack trace is added to crash logs, this
should avoid the dance of requesting the compiler output.

Moves the previous "**** DESERIALIZATION FAILURE ..." output to the
last pretty stack trace line

Removes the module and compiler version notes added to the fatal
diagnostic

Adds a new effective compiler version line for all frontend failures

Adds a new line for the full misc version of the module that failed.
May double up with previous "While reading from ..." lines that are
added in various deserialization methods, but better to have it
twice than not at all

Build failed
Swift Test Linux Platform
Git Sha - fb92cfc6888165bc5846ac82e299937634ad8493

@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - fb92cfc6888165bc5846ac82e299937634ad8493

@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - fb92cfc6888165bc5846ac82e299937634ad8493

@swift-ci please test Linux platform


Support for opening URL from the UI through automate.

requires https://github.com/ManageIQ/manageiq-schema/pull/380
https://bugzilla.redhat.com/show_bug.cgi?id=1550002
TODO:

tests (what should I test?)
add user to the SavedUrl

Apart from the fact that there are other objects in the list on https://bugzilla.redhat.com/show_bug.cgi?id=1550002, looks like an okay start to me.

@d-m-u : Thx! Looking in the BZ, the objects are:

Provider, Service, User, Group, Tenant, Cloud Tenant, Generic Object

I will make sure I have the correct list in the PR.

@gmcculloug : Renamed, used the polymorphic relationship. Filled in the User relation.
Please, check it once again.
Thx!

Thank you for the review, @gmcculloug!
I updated the PR according to your comments.

@martinpovolny can you add the new table to the excluded tables for replication in https://github.com/ManageIQ/manageiq/blob/master/config/replication_exclude_tables.yml ?
I think replicating these could only cause problems.

@martinpovolny can you add the new table to the excluded tables for replication in https://github.com/ManageIQ/manageiq/blob/master/config/replication_exclude_tables.yml ?
I think replicating these could only cause problems.

Will do.

Updated according to PR review. I wonder if travis will go green now that the schema is merged.

tests (what should I test?)

Maybe a test to ensure that an external url for a particular user is replaced with the new one when a new one is assigned (rather than there being multiple).

Maybe a test to ensure that an external url for a particular user is replaced with the new one when a new one is assigned (rather than there being multiple).

Added.

@carbonin : all green now.
Are there any further changes needed in this PR?

@carbonin : updatated according your comments.


Violet title for some reason

Out of nowhere title of qbittorrent became violet. using mica version.

Strange, I reloaded W11 and it is normal again.


[WIP] Fixed apt::ppa path in Ubuntu Wily

No clue why, but the filenames that apt-add-repository produces seems to have changed in Wily. This update does the trick for me, but might not be backwards compatible.

Test tests tests.

This branch is not ready for merger yet, rather I wanted to discuss how to properly fix the issue. The filename for PPAs sources in /etc/apt/sources.list.d/ has changed in Ubuntu 15.10:
pre-wily: $team-$ppa-$release.list`    (e.g., `fish-shell-release-2-wily.list`)
wily    : $team-$distro-$ppa-$release` (e.g., `fish-shell-ubuntu-release-2-wily.list`)

I think the change was introduced here. This obviously confuses puppetlabs-apt, which triggers add-apt-repository and apt-get update unnecessarily.
Could you advise as to how properly fix this? Should I simply mirror the code in Ubuntu software-properties conditioning it on the release version? Or should I grep the whole /etc/apt/sources.list.d/? What mechanism would be more backwards compatible and more robust to future changes?

This branch is not ready for merger yet, rather I wanted to discuss how to properly fix the issue.

It would be helpful to mention that when you open a PR. As it stood all we got is a "here's a bug fix" that broke all our tests.
Since the behaviour on Willy and forward includes the -distro- thing we should include that too to keep inline with the new behaviour and not confuse Puppet and the CLI tools. However, do note that you can't hardcode $distro to ubuntu as that will vary.

Btw, this addresses the same issue as https://github.com/puppetlabs/puppetlabs-apt/pull/582.

Closed in favour of #582


Covid-Tracker version 1

In this PR I have completed the entire project and met the required specifications of the project.

no linter error.
the project is professionally documented.
best practices have been utilized using JavaScript.
I have fetched the COVID API.
I have made use of React, and redux to build the interface.
I have performed the required test on the project.

Thanks for your time @mateo951


CentOS 7: something wrong with iptables

Hello,
sorry, don't know the origin of the issue...

yesterday I saved the iptables into /etc/sysconfig/iptables

today removed the old openvpn and installed by your script
so, the 1st time it worked and the clients connected as usual

then on purpose I rebooted the virtual machine and unfortunately I had no route to host on the client log and TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)... TLS Error: TLS handshake failed

I went back to check /etc/sysconfig/iptables and
Generated by iptables-save v1.4.21 on Mon Sep 16 01:48:51 2019
that means the yesterday edits are there...

I had to stop the iptables service to let it run good
So, does it mean that your script doesn't permanently save firewall rules? Or better, I see that you autostart some rules by service...so What Do i need to do now? I think I need to reset those old bad iptables to default...wait for confirmation
Thanks

I removed iptables, then openvpn..., reinstalled iproute/iptables and reinstall by your script
maybe I didn't notice it before but on your install log there is...
sysctl: cannot open "/etc/sysctl.conf": No such file or directory
why this, please?

The script adds /etc/iptables/add-openvpn-rules.sh and /etc/iptables/rm-openvpn-rules.sh and executes them with /etc/systemd/system/iptables-openvpn.service. That's all there is to it. All these files are deleted when you uninstall OpenVPN with the script

I don't know why you have sysctl: cannot open "/etc/sysctl.conf": No such file or directory. This doesn't seem related. The script only adds/removes /etc/sysctl.d/20-openvpn.conf.

centos 7 using firewalld,not iptalbes.
try edit /etc/systemd/system/iptables-openvpn.service, add After=firewalld.service

Description=iptables rules for OpenVPN
Before=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/etc/iptables/add-openvpn-rules.sh
ExecStop=/etc/iptables/rm-openvpn-rules.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
~
Where i have add please let me know

@manickamk Below Wants=

centos 7 using firewalld,not iptalbes.

Indeed, this issue is likely the same as #356

Closing as duplicate of https://github.com/angristan/openvpn-install/issues/356


create schedulers base on configuration.

Now schedulers are initially created statically: https://github.com/pingcap/pd/blob/5cb02b14cd67457f3328c773cfee969241790869/server/coordinator.go#L128-L134
We can also add/remove schedulers at runtime:
https://github.com/pingcap/pd/blob/7b9052c149bab4febdf685aaa1b64ca4680b4303/server/handler.go#L71
https://github.com/pingcap/pd/blob/7b9052c149bab4febdf685aaa1b64ca4680b4303/server/handler.go#L80
We need to do:

make it configurable, support load initial schedulers' names from config file.
after add/remove a scheduler, the schedulers list should persist to etcd. So the schedulers can be recreate after leader change or pd-server restart.

#759 #769

#769


Implement centered version of RMSProp optimizer

Purpose
Centered version of RMSProp normalizes the update by the moving average of the gradient. RMSPropOptimizer can receive centered parameter like rmsprop in tensorflow.
This is a followup of https://github.com/PAIR-code/deeplearnjs/pull/687#issuecomment-364771968
see: https://github.com/PAIR-code/deeplearnjs/issues/729

This change is

@dsmilkov @nsthorat Could you take a look when you get a chance?

Nice work, implementation looks correct. One comment about code structure. Let me know what you think.

Review status: 0 of 3 files reviewed at latest revision, all discussions resolved, some commit checks failed.

src/optimizers/rmsprop_optimizer.ts, line 110 at r1 (raw file):

  }

  private applyGradientsWithPlain(variableGradients: NamedVariableMap) {

Nice work! This implementation looks correct (the TF comment here is actually wrong).
I'm wondering, can we merge these methods? There is quite a bit in common, I think we can reduce the amount of code by merging with the bit flip inline.

Comments from Reviewable

Nice work!


Automatically Associate work items with a shelve command.

#908 : shelve - associate work items from commit message

It would be handy if shelve also respected the git-tfs-work-item: in the commit message as currently I have to add -w= as well.

Created ShelveSpecificCheckinOptionsFactory to deal with a limited set of parsed commands (similar to existing CommitSpecificCheckinOptionsFactory.

Moved the bulk of CommitSpecificCheckinOptionsFactory private methods into 'CheckinOptionsExtensions'.

The shelve message should be passed from the checkinOptionsFactory, rather than figured out later on by the TfsWorkspace.

Builds on Vs2015 and Vs2013, works on Vs2015. I don't get the sense that version specific shenanigans are to be expected on this one, however.

I'll admit the test coverage isn't great, if anyone has any specific suggestions I could look into that.

I should point critism to Line 62 GitTfs/Commands/Shelve.cs might be a bit of an unnecessary null check. It's partly caution, but also I found that bit of the testing hard to moc

Created ShelveSpecificCheckinOptionsFactory to deal with a limited set of parsed commands (similar to existing CommitSpecificCheckinOptionsFactory.

Why not just re-use CommitSpecificCheckinOptionsFactory? Is there something that does that is wrong for shelvesets? Is there a way to use the same class in both places?

I think I've addressed your feedback now.

Looks good. Thanks!

I've found the current release (0.25) appears to ignore the -m option when shelving - the latest commit message is always used, despite specifying an alternate message.
Looking at the intent of this PR, it seems a likely culprit. Has anybody else observed this?

@cmshawns Looking at the diff, I'm not seeing where the -m option would have been used in the old version of the code. That said, it looks like maybe this code should consider the -m option? Is that something you could start a PR to fix?

I couldn't find anything to point to in the diffs either. I'll be happy to do a PR after some more investigation and if/when I can find the time. For now I just wanted to get it out there and see if anybody else was running into this.

Created a PR for this 946


DApp hangs if metamask is not installed or if Ropsten network is not selected

In either case we should display a screen with the appropriate message

Fixed by showing the appropriate message in the loading component.


clean out stuff I won't use

crap, forgot this was a fork >_<
just messing around with my own copy


App force closed on Android 6+ (need permission request on runtime)

i got this error when want to picked an image:

java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=7143, uid=10142 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

i added <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> manually into plugin.xml's plugin, then i re-build my project. But still force closed.
Then i open app info to grant Storage Permission manually. And no force close anymore

+1 same issue. Also on iOS too.

@MayankLogiciel try this out: https://github.com/mirulumam/cordova-imagePicker but, for Android version only. Forked from @wymsee's imagepicker plugin
tested on Android N 7.1


[Azure.Core] Consider explicit/implicit cast operators

Consider explicit / implicit cast operators Model -> RequestContent and Response -> Model.

Explicit P1, Implicit P3 TODO split


Missing index in IDN_OAUTH_CONSUMER_APPS table

We need to add the below index on IDN_OAUTH_CONSUMER_APPS table
CREATE INDEX IDX_IDN_OAUTH_CONSUMER_APPS ON IDN_OAUTH_CONSUMER_APPS(USERNAME,TENANT_ID,USER_DOMAIN, APP_NAME)
When an OAuth application is created through DCR or through Management console, the OAuthApplicationMgtListener checks whether there is an already existing app with the same name at [1]. Without the index its a sequential search on the  IDN_OAUTH_CONSUMER_APPS. With the increase in the number of OAuth apps in IDN_OAUTH_CONSUMER_APPS table, this causes performance degradation and high CPU usage on the DB server.
[1] https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/ca4690d734709b108ef2df33a69ae3c9242febc8/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/internal/OAuthApplicationMgtListener.java#L553

These changed need to be added to the migration client as well..

Created [1] to track the fix for migration client.
Closing this as this is fixed


Get aux_metadata from a TrackHandle

Songbird version: 0.4.0
Rust version (rustc -V): 1.75-nightly
Serenity/Twilight version: Serenity 0.12.0, Poise 0.6.0
Output of ffmpeg -version, yt-dlp --version (if relevant):
...
Description:
Is there an ability to get AuxMetadata from a track handle if applicable? While migrating a bot from an older version of Songbird, my custom audio inputs were destroyed and there is not no way to keep the information in the queue for later use with a queue list command. I am currently working with a Float PCM stream, and obtain given metadata though an API endpoint.
From the docs that i've seen, there appears to be no way of doing this with the current default queue implementation.
...

You can solve this by attaching metadata to the track handle's typemap when creating a trackhandle -- see https://docs.rs/songbird/latest/songbird/tracks/struct.TrackHandle.html#method.typemap
The reason you can't necessarily do this natively is that while we could put a &Input into View, it's then deceptively easy to fire off and block on a (possibly long-running) aux_metadata call in a time-sensitive context. The flip side of 'why don't we always add this' is because not all Inputs have AuxMetadata, and not all users will care for the resource wastage at scale.
(apologies for typos/sloppy typing, responding from my phone)


fix test signal external workflow

signal external workflow in test framework was not handled correctly. this would cause test failure in this pull request https://github.com/uber-go/cadence-client/pull/444

Coverage decreased (-0.03%) to 60.966% when pulling f19e3ca9d36cf3d641f999e9cc10b4a672f6003b on yiminc:fix_test_signal_external into 32963a7dcdeaf27facfc0cc354c81d4d56ea4afd on uber-go:master.


Reduce the contention when starting spans

We depend on a global mutex when creating new spans. Try to reduce the contention.

For root spans PR #850 removes usage of one global mutex lock as we can reuse lower 64bit of TraceID for SpanID.

fixed by #851


CAMEL-16896: make DefaultMessage.getHeader() evaluate Expression values

Add a unit test illustrating the reported issue.
Modify DefaultMessage.getHeader() methods to check if the value is an Expression and evaluate it. This is the same approach used in the mock method expectedHeaderReceived(). Refactor the getHeader() methods in DefaultMessage to remove duplicated code.

Posted a longer reply on the user mailing list.


minor refactor

Pull Request Test Coverage Report for Build 508216574

85 of 87 (97.7%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 95.597%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/protoc-gen-nexus/src/dslgen/types/types.ts
74
76
97.37%

Totals

Change from base Build 507263907:
-0.04%

Covered Lines:
744

Relevant Lines:
766

💛  - Coveralls

Pull Request Test Coverage Report for Build 508216574

85 of 87 (97.7%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 95.597%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/protoc-gen-nexus/src/dslgen/types/types.ts
74
76
97.37%

Totals

Change from base Build 507263907:
-0.04%

Covered Lines:
744

Relevant Lines:
766

💛  - Coveralls


Default deserialization of optional parameter

Currently if the tag of optional parameter is not recognized, jsmpp treats it as a COctetString (https://github.com/opentelecoms-org/jsmpp/blob/master/jsmpp/src/main/java/org/jsmpp/bean/OptionalParameters.java#L109). This leads to losing last one byte of the data (since COctetString should be terminated by NULL).
We have a use case where the SMSC sends a value of type short in custom optional parameter. Since jsmpp treats it as a COctetString, we end up losing one byte information.
In my opinion, we should by default treat the returned value as OctetString or add a check if the last character is null and then only parse it as a COctetString.
I can submit a patch after knowing your opinions.

I think the main problem in using this library in production without changes - that it is not flexible with tlv.
And I am talking not only about default type.
Most mobile operators use custom tlv, they are not supported at all,
Some of the operators use non standard type for standard tlv.
And library is not flexible in handling these situations.

Most of the providers which we have worked with follow SMPP 3.4 protocol and we didn't face any issues till now. This issue happens in the case of parsing the status received in delivery receipt only.

SMPP 3.4 allow to use custom tlv. And operators use them. If you can just skip them - good for you, but in my case I can't afford to skip that information.
Operator send transaction id in custom tlv of incoming messages. And when I sent response to abonent - I need to set transaction id in tlv of response, otherwise operator will reject the answer.

I'll change it anyway to OctetString. In the past the COctetString was not storing the trailing NULL, now it is. I was thinking of adding a mechnism to register additional OptionalParameters, so depending on the vendor you can add the deserialization code for that type.

Custom OptionalParameter can be decoded now, with:
final OptionalParameter.OctetString octetString = (OptionalParameter.OctetString) deliverSm.getOptionalParameter((short) 8192);
LOG.info("deliver_sm custom: '{}'", octetString.getValueAsString());
I added the getOptionalParameter(short) method for easy access.

Hi All, Can anybody help me with write a custom TLV while submit sm. I got the idea of OptionalParameter usage but Unable to implement for a submit.
Thanks in advance.

Hi nyIdeas,
The session.submitShortMessage() method takes optional OptionalParameters as last parameter.
Just create a OptionalParameter like (these are just examples):
OptionalParameter op1 = new OptionalParameter.User_message_reference((short)2222);
OptionalParameter op2 = new OptionalParameter.COctetString((short)1111,"This is a C-octetstring");
The tag value (short) is either a predefined or an SMSC defined one.
Then call submitShortMessage like
final String messageId = session
.submitShortMessage(
sm.getServiceType(), ......... ,replaceIfPresentFlag,
dataCoding, (byte) 0,
data, op);
Regards, Pim

On 31 jan. 2016, at 15:12, nyIdeas<EMAIL_ADDRESS>wrote:
Hi All, Can anybody help me with write a custom TLV while submit sm. I got the idea of OptionalParameter usage but Unable to implement for a submit.
Thanks in advance.
—
Reply to this email directly or view it on GitHub https://github.com/opentelecoms-org/jsmpp/issues/16#issuecomment-177508512.

Thanks alot pmoerenhout. I implemented the same and able to submit.


multi-person in Holistic

How to use Holistic in multi-person?

I believe that media solution "Holistic" only supports single-person mode currently.  Holistic runs several different detection and landmark models to produce whole-body landmarks, and it would be much more difficult to coordinate all of those for multiple bodies.

I believe that media solution "Holistic" only supports single-person mode currently.  Holistic runs several different detection and landmark models to produce whole-body landmarks, and it would be much more difficult to coordinate all of those for multiple bodies.


Fix of the get pushers method usage with synapse

In Synapse for the new users the pushers are created with lang == null, but in the dart sdk it was required field.
https://github.com/matrix-org/synapse/blob/3de82bb2af28f56696a79bf41ccffc81385b6e2c/synapse/handlers/register.py#L1022
https://github.com/matrix-org/synapse/blob/3de82bb2af28f56696a79bf41ccffc81385b6e2c/synapse/rest/admin/users.py#L470

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hm, this field is listed as required in the specification and we just generate the models directly from the openapi spec. As such the proper fix for this would be to file a spec issue and in the meantime add a patch to our existing patch set to not mark this field as required and regenerate the spec.
Upstream requirement: https://github.com/matrix-org/matrix-spec/blob/99e2ff4927b56db927d52e82ff802b38f6fa8407/data/api/client-server/pusher.yaml#L103
Our patches: https://github.com/famedly/dart_openapi_codegen/tree/main/scripts
So while your change would work temporarily, it would break with the next spec update, if it isn't added as a patch.

I filed a spec issue for you, feel free to add context there, if you have any: https://github.com/matrix-org/matrix-spec/issues/1643


Cannot ping agent from client using Ethernet UDP transport

I've been trying to ping the micro-ROS agent from my Arduino Portenta over Ethernet using rmw_uros_ping_agent() as described here. Here's the code snippet:
rmw_ret_t ping_result = rmw_uros_ping_agent(timeout_ms, attempts);

if (RMW_RET_OK == ping_result)
{
    // micro-ROS Agent is reachable
    ...
}
else
{
    // micro-ROS Agent is not available
    ...
}

the ping_result is never OK and always enters the else condition. I only see this issue with the Ethernet (UDP) transport, it works as expected with Serial and Wifi (UDP) transports. Has anyone tried this with the Ethernet transport (with or without the Portenta)? I'm not sure if it is a SW issue or something wrong with my network configuration. Pub/Sub and services work over ethernet, just the ping does not.

Hardware description: Arduino Portenta H7
RTOS: -
Installation type: micro_ros_arduino, and this reconnection example
Version or commit hash: galactic

Steps to reproduce the issue
This Reconnection example. The set_microros_transports() in the setup is replaced with this:
byte arduino_mac[] = {0x01, 0xAB, 0x23, 0xCD, 0x45, 0xEF};
IPAddress arduino_ip(192, 168, 1, 109);
IPAddress agent_ip(192, 168, 1, 100);
set_microros_native_ethernet_udp_transports(arduino_mac, arduino_ip, agent_ip, 8888);

Expected behavior
Solid LED when the ping is successful to indicate that the agent is connected
Actual behavior
Flashing LED (error loop) as the ping function does not return OK
Additional information
I've been meaning to try this with the Teensy 4.1 + Ethernet to see if that works, but that transport is not officially tested/supported yet.
Update: With #1065 closed, I tried this on the Teensy 4.1 with Ethernet and it works.

Hello @adityakamath could you make sure that you have the very latest version of the galactic branch of this repo? Also, could you make sure that you are using the latest version of the micro-ROS Agent? If you are using a dockerized agent please make a docker pull ...

I'm using the latest release (2.0.5), but I will try the latest version of this repo when I get the chance. What change do you think causes this issue?

Make sure that you have an updated agent. If you have a very old version we have found some incompatibilities with the ping feature.

same issue with me, i'm using Portenta H7 also, any update about this ?

@Jenifen, any chance you can debug this as the transport contributor?
Come ideas:

rmw_uros_ping_agent will open and close the transport if no session is active, check if this methods are failing.
Does the ping work if the Agent is available on the first iteration?
Check if there is data exchange (wireshark, ...) and compare it with the working Wifi or Teensy Ethernet packets.

No problem on the first iteration,
how can i debug rmw_uros_ping_agent, and how and where can i modified https://github.com/micro-ROS/rmw_microxrcedds/blob/humble/rmw_microxrcedds_c/src/rmw_microros/ping.c ?

Dont worry about the behavior of rmw_uros_ping_agent. Check the return of the transport methods, focusing on the open and close functions: arduino_native_ethernet_udp_transport_open and arduino_native_ethernet_udp_transport_close.
They should succeed each time, otherwise the ping wont even try to send a message.

@adityakamath, could you test this PR modifications on a Teensy 4.1: https://github.com/micro-ROS/micro_ros_arduino/pull/1094?

@Acuadros95, it works with Teensy 4.1 + Ethernet. Tested it with the reconnection example. Also works for the Arduino Portenta with Ethernet as expected. Thanks for the fix @Jenifen!

The fix just got merged: https://github.com/micro-ROS/micro_ros_arduino/pull/1094
Thanks @adityakamath and @Jenifen, closing!


NullReferenceException fix for VariableLayoutRenderer

It is possible that LogManager.Configuration may be null so calling loggingConfiguration.Variables may throw a NullReferenceException.

Current coverage is 74.80%

Merging #1298 into master will decrease coverage by -0.01% as of 085de9f

@@            master   #1298   diff @@
======================================
  Files          267     267
  Stmts        15449   15449
  Branches      1620    1621     +1
  Methods          0       0
======================================
- Hit          11558   11557     -1
- Partial        382     383     +1
  Missed        3509    3509

Review entire Coverage Diff as of 085de9f

Uncovered Suggestions

+0.09% via ...gingConfiguration.cs#282...295
+0.09% via ...gingConfiguration.cs#248...261
+0.09% via ...argets/FileTarget.cs#1713...1725
See 7 more...

Powered by Codecov. Updated on successful CI builds.

Thanks!


Update overview.md

Docs Build status updates of commit 04a6799:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit dd813c2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Refactoring

The emulator is working, but it's far from being a nice rust codebase.
I'll keep track of the progress and ideas here.

The opcode fetch could easily be improved using u16::from_be_bytes.

Remove opcode from Chip8 struct, it's only used at clock posedge.

Split the way too big tick function


Problems with grib2json.cmd on Mac OSX

Hi, I have got to the point where I am trying to launch the grib2json.cmd file.
However I am getting this error.
/Users/matteveritt/Google Drive/grib2json-0.8.0-SNAPSHOT/bin/grib2json.cmd: line 1: @echo: command not found
/Users/matteveritt/Google Drive/grib2json-0.8.0-SNAPSHOT/bin/grib2json.cmd: line 3: syntax error near unexpected token `"delims=X"'
/Users/matteveritt/Google Drive/grib2json-0.8.0-SNAPSHOT/bin/grib2json.cmd: line 3: `for /f "delims=X" %%i in ('dir /b %LIB_DIR%\grib2json-*.jar') do set LAUNCH_JAR=%LIB_DIR%\%%i'

I am running OSX El Capitan.

.cmd is for Windows. The other script is for unix/mac
2015/11/12 7:24$B!"(Beveritmatt<EMAIL_ADDRESS>$B$N%a%C%;!<%8(B:

Hi, I have got to the point where I am trying to launch the grib2json.cmd file.
However I am getting this error.
/Users/matteveritt/Google Drive/grib2json-0.8.0-SNAPSHOT/bin/grib2json.cmd: line 1: @echo: command not found
/Users/matteveritt/Google Drive/grib2json-0.8.0-SNAPSHOT/bin/grib2json.cmd: line 3: syntax error near unexpected token "delims=X"' /Users/matteveritt/Google Drive/grib2json-0.8.0-SNAPSHOT/bin/grib2json.cmd: line 3: for /f "delims=X" %%i in ('dir /b %LIB_DIR%\grib2json-*.jar') do set LAUNCH_JAR=%LIB_DIR%%%i'
I am running OSX El Capitan.
$B!=(B
Reply to this email directly or view it on GitHub.


Order or stacks

Hello,
Thanks for this great tool. Do the stacks have to be in a certain order according to acquisition. I am getting the error that there is not enough correspondence between stack02 and stack 01 or stack02 and stack04 for the rigid registration. Thanks!
Best,
Alex

Hi Alex,
No particular order is required. It's important to pick the 'target stack' to cover the entire/sufficient anatomical region of interest so that other stacks (which might cover less) can be registered to it.
Best,
Michael


Deprecation warning on bare variables

TASK [pyenv : Install versions] ************************************************
task path: /Users/yujunz/Develop/denv/roles/pyenv/tasks/main.yml:4
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax ('{{pyenv_versions}}').
This feature
will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

duplicated


Getting 404 status code for a valid https url

I am getting a 404 status code for this url, I tried with https or http, it gives the same error, but the url is working on any navigator.
It didn't just failed in test mode, but also in running mode.
I also try it with Java, it's working fine too !
String url = "http://showflix.org:5890/get.php?username=Wadihh15&password=15012021dggdj&type=m3u"
httpClient = new IO.HttpClient();
httpClient.badCertificateCallback = ((X509Certificate cert, String host, int port) {
        return true;
}); //
Uri uri = Uri.parse(url);
IO.HttpClientRequest request = await httpClient.openUrl("GET", uri);
IO.HttpClientResponse response = await request.close();
print (response.statusCode)

When I run the check_domain_access.dart with this URL , I get :
Testing host resolves...
- showflix.org IPv4 resolve and connect succeeded: 0 / 1
- showflix.org IPv6 lookup failed: SocketException: Failed host lookup: 'showflix.org' (OS Error: Hôte inconnu.
, errno = 11001)
- pub.dev IPv4 resolve and connect succeeded: 4 / 4
- pub.dev IPv6 lookup failed: SocketException: Failed host lookup: 'pub.dev' (OS Error: Le nom demandé est valide, mais aucune donnée du type requise n’a été trouvée.
, errno = 11004)
....

PS C:\Users\cd_bo\StudioProjects\dart_vlc\example> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.1, on Microsoft Windows [version 10.0.19044.1889], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.6)
[√] Android Studio (version 2021.2)
[√] IntelliJ IDEA Community Edition (version 2019.3)
[√] IntelliJ IDEA Ultimate Edition (version 2018.3)
[√] IntelliJ IDEA Community Edition (version 2021.3)
[√] VS Code (version 1.67.2)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

Hello @nassimus26. Thank you for filing this issue. Can you please provide the following information?

A complete and minimal, reproducible example.
The output of flutter doctor -v
The output of flutter run-v

Hi @exaby73 , I think I put everything you need to reproduce, you just need the URL, try to call it with any Http dart client, it won't works, that's it !, but it works on Java or any navigator !

Hi @exaby73 it has nothing to do with Flutter, it seems it's an android JVM bug
In a normal JVM it's wroks, but not an android or Dart Jvm.
try {
   InetAddress[] dnsNames = InetAddress.getAllByName("showflix.org");
   System.out.println(Arrays.toString(dnsNames) );
 } catch (Throwable e) {
   e.printStackTrace();
 }

at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1605)
        at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:115)
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:103)
        at java.net.InetAddress.getAllByName(InetAddress.java:1152)

So actually writing an alternative native wrapped Java client is not solving the issue !

I think it's related to this https://forum.developer.samsung.com/t/unknownhostexception-after-android-11-update/12126
please close this issue it has nothing to do with Flutter


A couple of small enhancements to util/check-format.pl, add it to NEWS.md

Report empty lines only if -s (--sloppy-spc) is not used
Add check for essentially empty line at beginning of file
Add check for multiples essentially empty lines in a row
Allow comment start /* after opening (, [, or {
Add an entry about the tool in NEWS.md and CHANGES.md

Could any OTC member please have a quick look at the entries on check-format.pl
that I propose here to NEWS.md and CHANGES.md?
I don't expect deep thoughts on the couple of changes I did to util/check-format* :wink:

Ping OTC review/approval

One grammatical nit but others this looks good.

Thanks @paulidale for having a look and approving this!
I've fixed the grammatical nits, so could you please re-approve.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Travis CI failures are the usual ones and obviously unrelated.
Can I proceed and merge this (having adapted the grammar of some comments and diagnostic output as suggested)
or should I continue waiting for re-approval?

Merged - thanks


Multiple functionalities and support for other contexts (not only angular js)

Changed structure to support adapters

removed dependency on gulp-concat

supports multiple angular templates in a single module - see example
added JS Adapter - this will open the posibility of using the plugin with underscore.js, vue.js and other similar libraries.
Added support for future development of adapters
The demo files are now ignored. Eventually we could provide support in running the examples or put the examples responses to readme.md

Great work @cfv1000 !


fix(costmodels): reordered modal buttons correctly

Fix the following modals:

assign sources
edit markup
edit rate
add rate

Codecov Report

Merging #1588 into master will increase coverage by 0.38%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1588      +/-   ##
==========================================
+ Coverage   78.33%   78.71%   +0.38%
==========================================
  Files         235      237       +2
  Lines        3886     3881       -5
  Branches      716      712       -4
==========================================
+ Hits         3044     3055      +11
+ Misses        743      727      -16
  Partials       99       99

Impacted Files
Coverage Δ

...dels/costModelsDetails/components/addRateModal.tsx
90.76% <100.00%> (ø)

src/store/djangoUtils/query.ts
100.00% <0.00%> (ø)

src/store/djangoUtils/pagination.ts
89.47% <0.00%> (ø)

src/store/sourceSettings/selectors.ts
100.00% <0.00%> (+8.33%)
:arrow_up:

src/store/costModels/selectors.ts
82.35% <0.00%> (+17.64%)
:arrow_up:

Continue to review full report at Codecov.

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

Thank you @dlabrecq and @ddonahue007


styles/school-book.css applies style to all  (element selector, no classes)

Hi there!
I'm facing a case where my bundle un-intendenly included all the css files from hljs/styles (that's something I ought to fix, yes, but...)
Unlike all other .css files, school-book.css has a block defining styles for all pre elements, without any specificity
That's causing that, without initializing hljs in any way, all <pre> blocks are getting that yellow background image.

closed via https://github.com/highlightjs/highlight.js/pull/2034

thanks for your help on this @tincho!


Running K3S Binary does not complete,  Failed to find cgroups of kubelet.

Environmental Info:
K3s Version:

k3s version v1.25.0+k3s1 (26e94057)
go version go1.19
Node(s) CPU architecture, OS, and Version:

Linux osboxes 4.18.0-408.el8.x86_64 #1 SMP Mon Jul 18 17:42:52 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
(It is from Centos Stream 8.5)
Cluster Configuration:

Have not gotten far enough to have any K3 service/servers/agent.
Describe the bug:

Trying to run the downloaded binary located on Downloads Folder.
Note 1: that I do have success with script:
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.25.0+k3s1 |sh -s - --token=MyCToken --write-kubeconfig-mode 644 --node-name k3s-01
Had several issues even after following Rancher's basic instructions for Centos.
systemctl disable firewalld --now
yum update
yum install -y container-selinux selinux-policy-base
sudo yum install -y https://rpm.rancher.io/k3s/latest/common/centos/8/noarch/k3s-selinux-1.2-2.el8.noarch.rpm
Steps To Reproduce:

Installed K3s:

Expected behavior:

I would expect running the binary would succeed like the script succeeds.  Also I would expect running the binary would stop on first FATAL, or first error.
First attempt, is same results:
sudo ./k3s server --debug
SecondAttemp
sudo ./k3s server --debug --write-kubeconfig-mode 644  --token=MyCluToken --selinux --node-name k3s-02
Actual behavior:

Error output below.
Note 2:  inconfig has a lot of new interfaces now
Additional context / logs:

Error Logs are attached, summarized here
ime="2022-09-17T12:41:06-04:00" level=info msg="Cluster-Http-Server 2022/09/17 12:41:06 http: TLS handshake error from <IP_ADDRESS>:41260: remote error: tls: bad certificate"
...
...
I0917 12:41:06.948372   19991 shared_informer.go:255] Waiting for caches to sync for node_authorizer
time="2022-09-17T12:41:06-04:00" level=info msg="Cluster-Http-Server 2022/09/17 12:41:06 http: TLS handshake error from <IP_ADDRESS>:41288: remote error: tls: bad certificate"
...
0917 12:41:06.967481   19991 genericapiserver.go:656] Skipping API apiextensions.k8s.io/v1beta1 because it has no resources.
...
time="2022-09-17T13:18:24-04:00" level=warning msg="SELinux is enabled for k3s but process is not running in context 'container_runtime_t', k3s-selinux policy may need to be applied"
ime="2022-09-17T12:41:07-04:00" level=info msg="Running containerd -c /var/lib/rancher/k3s/agent/etc/containerd/config.toml -a /run/k3s/containerd/containerd.sock --state /run/k3s/containerd --root /var/lib/rancher/k3s/agent/containerd"
I0917 12:41:07.111073   19991 instance.go:574] API group "internal.apiserver.k8s.io" is not enabled, skipping.
time="2022-09-17T12:41:07-04:00" level=warning msg="containerd config version 1 has been deprecated and will be removed in containerd v2.0, please switch to version 2, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
k3sStart_Ifconfig_AfterStart.txt
k3sStartLogDump.txt
k3StartLogDump2_longerCommand.txt

The tls handshake errors are normal to see if you've enabled --debug.
It is unclear to me if you are using the install script, or are installing the RPMs and downloading the k3s binary manually. You show your commands to do both; which is it?
Don't run k3s with sudo. Start the systemd unit, or user su/sudo to get a root shell, and then run it from there. You should also ensure that you are downloading and running the k3s binary from the correct path. If it is not in the expected path, the selinux policies won't apply to it.

Thanks for the reply.  My problem is that running the binary does not start K3S.   I mentioned the script approach to only to show that all things being equal, the only difference is running the binary directly on VM2.  My VM2 is a clone of VM1 before doing anything.   So to repeat in other words, on VM1 I ran using the script with success (except I get a SELinux activity for a later investigation), so VM1 kubectl get nodes , returns as expected.
    VM1 script success shows environment is ok:
    [osboxes@osboxes Downloads]$ kubectl get nodes
        NAME     STATUS   ROLES                  AGE   VERSION
        k3s-01   Ready    control-plane,master   12h   v1.25.0+k3s1

HEREON VM2 binary has a problem:
K3S Bin Downloaded FROM::
wget https://github.com/k3s-io/k3s/releases/download/v1.25.0+k3s1/k3s
I switched to su root as you suggested, below capture two longs, one with --debug, and one without.
[root@osboxes osboxes]# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor >
Active: inactive (dead)
Docs: man:firewalld(1)
[root@osboxes osboxes]# k3s server --debug --write-kubeconfig-mode 644 --token=MyCluToken --selinux --node-name k3s-02 > try1.txt 2>&1
Wait about 4 minutes, and kubectl command not found.
Log--debug attached, summarized here:
time="2022-09-17T16:55:46-04:00" level=warning msg="containerd config version 1 has been deprecated and will be removed in containerd v2.0, please switch to version 2, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
time="2022-09-17T16:55:46.255802154-04:00" level=info msg="starting containerd" revision= version=v1.6.8-k3s1
I0917 16:55:46.281255    7316 instance.go:574] API group "internal.apiserver.k8s.io" is not enabled, skipping.
time="2022-09-17T16:55:46.298189542-04:00" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.aufs"..." error="aufs is not supported (modprobe aufs failed: exit status 1 "modprobe: FATAL: Module aufs not found in directory /lib/modules/4.18.0-408.el8.x86_64\n"): skip plugin" type=io.containerd.snapshotter.v1
W0917 16:55:46.070099    7316 genericapiserver.go:656] Skipping API apiextensions.k8s.io/v1beta1 because it has no resources.
WITHOUT --debug:  summary here, plu log attached
time="2022-09-17T17:03:22-04:00" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: https://<IP_ADDRESS>:6443/v1-k3s/readyz: 500 Internal Server Error"
E0917 17:03:23.004685    7947 controller.go:163] Error removing old endpoints from kubernetes service: no master IPs were listed in storage, refusing to erase all endpoints for the kubernetes service
STUCK for a couple of minutes at log line 550, so I CTRL-C
I0917 17:03:37.762927    7947 garbagecollector.go:163] Garbage collector: all resource monitors have synced. Proceeding to collect garbage
Try1_withDebug.txt
Try2_noDebug.txt

Can I ask what specifically you're trying to accomplish? You're trying to run k3s from a user sesssion, with su/sudo, and selinux? Is there any particular reason you're not just starting it from the systemd unit or openrc script?

Well I am on a learning path.  The eventual goal is to run the binary on an airgap environment.  Thus one step at a time as done above.  The reply above is all based on at the root level, [root@osboxes osboxes],  per your suggestion, but failed.
The OS currently is Centos Stream 8.
I need read up on how to start from systemd unit, or openrc, I am not familiar with that, the few minutes I spent looking at that seemed complicated,  I saw no mention of it on Rancher/K3S,  but I guess you are saying that is my two ways to run the binary,

Two different things, the first is what I followed to be stuck.   The second is a simple question

First  I followed these instructions
https://github.com/k3s-io/k3s
Manual Download  (scroll far down)
Download k3s from latest release, x86_64, armhf, arm64 and s390x are supported.
Run the server.
sudo k3s server &
Kubeconfig is written to /etc/rancher/k3s/k3s.yaml
sudo k3s kubectl get nodes
On a different node run the below. NODE_TOKEN comes from
/var/lib/rancher/k3s/server/node-token on your server
sudo k3s agent --server https://myserver:6443 --token ${NODE_TOKEN}

I think I eventuall have to do the Air-Gap approach, might as well jump to that, which tar do I download for Linux on Intel 64 bit?
amd64.tar.gz, or -arm.tar.gz?  of does it matter in the case of air-gap.

I switched to an airgap environment.  Created a local repo with the Linux  .iso (it is on a USB so I mounted the USB) (googled how to create a local repo).  yum install (yes install knows to go to my repo)  the selinux container per that local repo.   Then disabled firewalld and selinux (on boot up disabled).
K3S runs.
I hope that helps others.
You may close this issue.


unicode under win platform

C:\dev\workspace\Restweb\src\handler.cpp(91): error C2440: 'initializing': cannot convert from 'const wchar_t [32]' to 'std::basic_string<char,std::char_traits,std::allocator>'

from my perspective , it happens because you are using unicode strings under windows however I don't see any flags in cmakelists to specify this.
I suppose you build this in visual studio which sets _UNICODE by default? have you tried to build the project using cmake only? without IDE?

Yes I tried and I also got same error but I don't have time to debug it right now  so  I build it with ide "and that's why I created new branch vs15_v140 for win ". I will try to debug it and fix the error but not right now.
if you have time and willing to help others also , you are more than welcome to contribute .


Migrate TimeStretch and AmplitudeToDB to torch.nn.Module

Fixes #454

@vincentqb @tomassosorio in TimeStretch, phase_advance should be a buffer not a tensor, or it won't be correctly moved between devices.

Example code:
import torch
from torchaudio.transforms import TimeStretch
m = TimeStretch().cuda()
m(torch.randn(1, 2, 201, 400, 2).cuda(), 1.3)


SourceMapConsumerV3.visitMappings() omits the last mapping on the last line

This issue was imported from Closure Compiler's previous home at http://closure-compiler.googlecode.com
The link to the original issue is:
https://blickly.github.io/closure-compiler-issues/#1311

@concavelenz Can you verify this?


unittests: silence -Wqual-cast warnings

Qualify the casts to ensure that we do not trigger -Wqual-cast
warnings from the compiler.  NFC.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test and merge


Patch in saving user's last output device

When restarting RPG Sounds, the last-used output device should be automatically selected.

According to the RPG Sounds code, this is actually supposed to already work.


[CHORE] On the FrontEnd React, in order to not be hindered by the backend, create a mock server you can interact with creating your client code. The response from the mock server has to be in agreement with what the final production-ready backend server will be generating. Have a discussion with the person working on the backend to for you to agree on the JSON structure.

@Sebuliba-Adrian and @peter-geek  work do you think about the mock server I created using postman and shared to you


skip DockerSuite.TestDevicePermissions on lxc

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

@jfrazelle is this an issue?

yes its an issue anyone can fix
On Mon, Jun 1, 2015 at 2:12 PM, Jubilee Makanjuola<EMAIL_ADDRESS>
wrote:

@jfrazelle https://github.com/jfrazelle is this an issue?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/13641#issuecomment-107713436.

Kool. I try to answer docker questions that are familiar and unfamiliar with. I am really excited about docker and its potential for it's impact on the industry. I have been learning all I can about docker and have been trying to actively contribute to the open source community, mainly through resolving issues on github.

great thats awesome! thanks!
On Mon, Jun 1, 2015 at 2:42 PM, Jubilee Makanjuola<EMAIL_ADDRESS>
wrote:

Kool. I try to answer docker questions that are familiar and unfamiliar
with. I am really excited about docker and its potential for it's impact on
the industry. I have been learning all I can about docker and have been
trying to actively contribute to the open source community, mainly through
resolving issues on github.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/13641#issuecomment-107721369.

closed by https://github.com/docker/docker/issues/13656


Stop F5 from autocompleting on mac

F5 triggers list of autocompletions on MacOS and because NSTextView is global for the whole app, it shows in the bottom left corner. This change disables it.

Hi @mnowotnik, thank you for the PR, and sorry for the long delay.
For reference, can you say which hardware platform you tested against? IE:  M1 Macbook Pro, etc.
There seems to be slightly different behavior between different architecture Macs.

Just M1 MacBook Pro

Thanks Michał!


Old Sample app on Google Play

Hi,
on Gplay, there is old version of the app with wrong SE Linux check (that missing negation)
Btw it would be better to distinguish between checks done in Sample app vs library.
Maybe add isRooted()  check as example of output of the library and add note thet SE Linux is just informative ?

The sample has been removed from google play for the time being. When it we republish it'll be the latest version. Thanks for flagging this.


new nodes and changes for sky130

Some new nodes and changes to support sky130. Based on Priyanka's work here: https://code.stanford.edu/ee272/skywater-digital-flow
@rsetaluri

Very cool! Is it a/the goal that we could someday tape out garnet in sky130?
Also: are there any unit/CI tests that exercise these new changes?

@steveri Yes I think long-term that could be possible, although we lose tons of area with sky130 compared to tsmc16, so it would have to be a much smaller CGRA.
No unit tests so far, any suggestions or tests I could build off?

Wait, one thing... I think the cadence-innovus-power node should work for SKY130 without the custom package.
Any way to take custom stuff and just make it the default?

I looked at the diff... it was mostly the problem with the 0th layer in SKY130, which "adds 1" to most of the layer counting:
< set M2_direction [dbGet [dbGet head.layers.name 2 -p].direction]
---
> set M2_direction [dbGet [dbGet head.layers.name 3 -p].direction]

Any thoughts on whether we could get this to work with just the default node in a tech-agnostic way?
Technically, we want to inspect the top metal used in the stdcells...

Integrated the custom power node into the main one. Here's the screenshot after the power step for GcdUnit in Freepdk45 with the updated step:

Looks good now! I think in the future we can more tightly integrate mflowgen+adk together, and we will have a better adk interface. For now this is fine so sky130 works out of the box.


test starRocks error in Debian 9 linux 4.14

hi, I run cmd sh ./run-ut.sh --be --run in my Debian 9 linux 4.14.
And got the error ./run-ut.sh: 19: set: Illegal option -o pipefail

you could try to use
bash ./run-ut.sh --be --run

you could try to use
bash ./run-ut.sh --be --run

i run this command and see Python 2.7.13 in new line..

@BanBuDu0
sorry
try to use
bash ./run-ut.sh --run

I know why i get ./run-ut.sh: 19: set: Illegal option -o pipefail error.
the reason is debian default shell is dash rather bash.
Solution:

run sudo dpkg-reconfigure dash
select No

I change shell from dash to bash,
but whatever i run bash ./run-ut.sh --run or sh ./run-ut.sh --be --run, I got Python 2.7.13 output..

you could comment this line in ./run-ut.sh

set -eo pipefail

and execute bash  ./run-ut.sh --run
it was because the shell command was terminated early with an error

I advise execute this command and paste the log
bash -x  ./run-ut.sh --run

I think may be some dependency is wrong

bash -x  ./run-ut.sh --run

yes, the command shows
Error: mvn is not found QAQ

@BanBuDu0 Hi !
Are you willing to submit Pull Request to provide more friendly error message in Debian 9?

@BanBuDu0 Hi !
Are you willing to submit Pull Request to provide more friendly error message in Debian 9?

thanks, but I am not good at shell langunge. (ㄒoㄒ)