cli: use predefined flags for raw mode

Signed-off-by: Nobuhiro MIKI<EMAIL_ADDRESS>

Coverage remained the same at 73.423% when pulling ff0f04eb15568f8eca61de75e1d59308900210e7 on use_predefined_flags_for_rawinput into ca6226c38f33b09121a3c8575250428ae7e6cce2 on main.

Coverage remained the same at 73.423% when pulling ff0f04eb15568f8eca61de75e1d59308900210e7 on use_predefined_flags_for_rawinput into ca6226c38f33b09121a3c8575250428ae7e6cce2 on main.


consistently refer to PostgreSQL using the correct name

LGTM, merging.

merged: https://github.com/openshiftio/appdev-documentation/commit/bbd05b0e16ab00b3ff2ca8b04af29842e7fcc89a


Vertical lines seen in the waterfall

First SatNOGS observation with your code.
Looking at this waterfall https://network.satnogs.org/observations/6694954/ something is off, those parallel lines shouldn't be there.
This is a Doppler corrected observation and that is the reason for the S shape.
The Airspy used in the observation:
airspy_info
airspy_lib_version: 1.0.11

Found AirSpy board 1
Board ID Number: 0 (AIRSPY)
Firmware Version: AirSpy NOS v1.0.0-rc10-6-g4008185 2020-05-08
Part ID Number: 0x6906002B 0x00000030
Serial Number: 0x466C64C8306B65C7
Supported sample rates:
	10.000000 MSPS
	2.500000 MSPS
Close board 1

Running at 2.5e6 sample rate and the Soapy driver settings used "driver=airspy,serial=466c64c8306b65c7,biastee=true"

Here an observation with a Airpsy mini https://network.satnogs.org/observations/6695041/ there we don't see the vertical parallel lines. Here we are using the following Airspy;
airspy_info
airspy_lib_version: 1.0.11

Found AirSpy board 1
Board ID Number: 0 (AIRSPY)
Firmware Version: AirSpy MINI v1.0.0-rc10-6-g4008185 2020-05-08
Part ID Number: 0x6906002B 0x00000030
Serial Number: 0x04A464C83670830B
Supported sample rates:
	6.000000 MSPS
	3.000000 MSPS
Close board 1

Running at 3e6 sample rate and the Soapy driver settings used: "driver=airspy,serial=4a464c83670830b,biastee=true"

So the driver works with the Mini but not the R2? Did I understand correctly?

Nov 3th 18:55 UTC I moved back to the PothosWare SoapyAirspy version.
My first impression is, that your code has a positive influence on the Mini but not on the R2.
If I can provide more information, please let me know.

I saw there where some other changes in the code, can we already give it a new try?

I don't think I have fixed anything related to your issue yet. But I think I have a good hypothesis what it could be.

Opening new issue, testing a new release.


add update checker via github-release-checker

Just needs some live testing to make sure it works as intended


add quote customization and non-positional segmentations

Summary

Add quotes customization for SQL engines that have different quotes
Remove positional dimensions (also not supported by all engines)
Remove abbr nms in templates in favor of locals()

Hey Dan! You read my mind.. nice patch. Medium term I was thinking of adding a 'dialect' option, rather than "quote", which would then bundle several related changes together. Does this code actually work for you, though? I get errors during the formatting step within the generator, presumably because the generator has its own "locals".

Superseded in master.


Remove the need to run docker-auto-labels

The instructions on how to create the labels are there in the changes.

@therealmarv I believe I resolved the comments. I removed mention of docker-auto-labels in the docs and I also removed the documentation on creating the tunnel as that is not needed when paramiko is also installed. I've tested this out with the new CORGI CD pipeline and works great. We're able to set the ssh host and docker takes care of the rest.


🐛 cmd/sharded-test-server: Reuse Certificates instead of generating new ones

Summary
This PR changes sharded-test-server binary so that it reuses various cryptographic certificates (i.e CAs or ClientCerts) instead of always creating new ones.
This allows for preserving a previous environment created by the binary. (yes, you can run sharded-test-server multiple times!)
Note  it will work as long as the default IP address stays the same. We could change that as well but that would make the code a bit more complex. Given that most of us run make clean-workdir before anyway I think it is a good starting point.
Related issue(s)
Fixes #https://github.com/kcp-dev/kcp/issues/2726

/assign @ncdc @davidfestal

/lgtm
/approve


Query: Optimize certain queries by deduplicating SubQueryExpressions

Fixes #7776

@tuespetre,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

We are closing this pull request due to lack of response. If you decide to work on the issue again then feel free to reopen the PR and push more commits to it. We would be happy to review it.
Thank you helping us out in improving EF Core.


Receipts storage optimization

Firstly, it does not store information like Transaction hashes and block hashes with every single log entry. Secondly, it does not store bloom filter (256 bytes) with every transaction, but calculates it on the fly from the logs during the RPC request.
See Turbo-Geth

Bloom filter is 256 bytes, that is 256 * 6,000,000blocks * (tx per block) = 1.43G * (tx per block).
Assume tx per block is (600,000 tx per day) / (5760 blocks per day) = 100
The size in bytes of 6,000,000 blocks would be 1.43G * 100 = 143G.
Of course, the  (tx per block) is less than 100 before i.e. 4,000,000 blocks.

After (at block 6285787)
23G	.khipu.eth/leveldb
457M	.khipu.eth/kesque.logs/receipts_idx-0
654M	.khipu.eth/kesque.logs/evmcode-0
655M	.khipu.eth/kesque.logs/td-0
50G	.khipu.eth/kesque.logs/body-0
3.8G	.khipu.eth/kesque.logs/header-0
13G	.khipu.eth/kesque.logs/account-0
457M	.khipu.eth/kesque.logs/td_idx-0
25G	.khipu.eth/kesque.logs/storage-0
38G	.khipu.eth/kesque.logs/receipts-0
4.4G	.khipu.eth/kesque.logs/account_idx-0
12G	.khipu.eth/kesque.logs/storage_idx-0
457M	.khipu.eth/kesque.logs/body_idx-0
262M	.khipu.eth/kesque.logs/evmcode_idx-0
457M	.khipu.eth/kesque.logs/header_idx-0
147G	.khipu.eth/kesque.logs
4.0K	.khipu.eth/keystore
169G	.khipu.eth/


run problem

when I run this code, there occurred some problems
(1)  in LabelSmoothing class
this line => true_dist.index_fill_(0, mask.squeeze(), 0.0)
RuntimeError: invalid argument 3: Index is supposed to be a vector at /Users/soumith/code/builder/wheel/pytorch-src/aten/src/TH/generic/THTensorMath.cpp:569
(2) in SimpleLossCompute class
this lien = > loss = self.criterion(x.contiguous().view(-1, x.size(-1)), y.contiguous().view(-1)) / norm
RuntimeError: Expected object of type torch.FloatTensor but found type torch.LongTensor for argument #2 'other'
my torch version is 0.4.1
does anyone have these problem? thanks~

Hello! I met the same problem in LabelSmoothing class as you proposed. Did you solve this problem? Looking forward to your reply. Thanks!

I can't remember that, but this link https://github.com/pytorch/pytorch/issues/3416 maybe help.

Thank you very much

hello, I have the same problem  in SimpleLossCompute class  as you proposed, and  can't  figure it out. Did you solve this problem? Looking forward to your reply. Thanks!


Supported versions build machine details are horribly out of date compared to the referenced link

It states OS X 10.11.6 on this page but on the other page it shows 10.13 and 10.14 nodes are available (which happen to also be the details of the versions available in Azure DevOps).

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fc01291c-f6a0-4610-a27d-60718852390d
Version Independent ID: 2b51b117-6b8c-f4d9-a2b2-43c891d20171
Content: Configure a Objective-C or Swift iOS build - Visual Studio App Center
Content Source: docs/build/ios/first-build.md
Service: vs-appcenter
GitHub Login: @nrajpurkar
Microsoft Alias: nirajpur

@espoelstra you're correct, thanks for pointing this out. The detailed list of agent software is most update. I'll update the page that lists OS X 10.11.6


docs: Easy bug fix in website docs.

Bug fix as discussed in this issue with @pcuenca

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks a lot @bhanu-pm and @Vaibhavs10!


Bossmod visible in xbox windows dvr and obs

Is it possible to make it not show up when using game recording.

No.

No, but also ethically, no.
If you're going to cheat, you can't pretend in your recording that you're playing legitimately. That's the trade-off.

I don't think ethics apply at all here, because the plugins themselves are already in violation of the ToS.
Correct reasoning, but incorrect conclusion IMO.
It's against the terms of service to use any plugin, mod, or "aftermarket" thing to change the way the game works. But I rely on plugins that make my cursor more visible against visual-noise so I get to play the game the same as everyone else. I relied on a Combat Parser once because my BLM output felt bad and I needed solid numbers to tell me that I was doing something wrong - I'm far more effective now. And as a combat mentor, I still use ACT to troubleshoot a player who asks me why pressing the buttons doesn't feel good.

It wouldn't be unethical to use Splatoon to highlight every Gathering Point nearby. But it would be to highlight every player using a Healer Role so I can decimate them in PvP.
It wouldn't be unethical to use Cammy to look at bullshit that the camera can't get to, but it was certainly unethical to use it to get a World First Clear a while ago.
As with everything else, "legal doesn't mean ethical", and the inverse is also true.
So yes. Ethics definitely apply here, because the Dalamud scene depends on them.

How can you talk about ethics when there is no generally accepted norm to use plugins? Most of the community do not use plugins. They have a norm of behavior - compliance with the ToS. What you're talking about is morality. Your personal idea of good and evil.

that will only lead to trouble for everyone else down the road

The people using the plugins have agreed to accept the risk and consequences.

I have no plans to accommodate for hiding the plugin windows specifically for streams, or in general make it more streaming-friendly (but neither I have any plans to actively prevent any workarounds - if something like putting a window on a second monitor works - good for you).
This is a personal project that I do for fun (since for me spending 10 hours reverse engineering how fights work, how to optimize rotations etc. is infinitely more interesting than spending 10 hours building muscle memory and learning visual cues), and I don't care about streaming like at all.


Feature: custom css for light/dark themes

Love the new Dark mode #189 support. As an addition, it would be awesome if we could provide two .css files each containing separate :root{} css  variables for our own custom light/dark theme customization:
theme: {
  "light": "/themes/light.css"
  "dark": "/themes/dark.css"
},

If this is already possible via the existing setup and I've misunderstood, I apologize for the noise.

Maybe allow the cssVariables option to be a function:
new Docute({
  cssVariables(theme) {
     return theme === 'dark' ? {} : {}
  }
})

wdyt?
https://docute.org/guide/customization#custom-style

Would that be used like this?
	return theme === 'dark' ? {
		--success-color: #42b983;
	} : {
	  --success-color: #008000,
	}

Could you elaborate on that a bit more?

check out the link in my previous comment

I did, must have been a cached version of the site as that subheading wasn't there. Opening in a different browser showed the new docs.
Looks like a good solution to me!

:tada: This issue has been resolved in version 4.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Mate, you work fast! Thanks so much :tada:


Add healthcheck

I suggest moving the healthchecks ping request to the finally {} section. So if there was an error while doing the backups, you can add /fail to the URL to let the admin know something went wrong.
Another possibility is to skip the healthchecks ping if the HEALTH_CHECK_URL is not defined. For our team , I think we definitely want to use healthchecks for our backups. But if this script is used by some hypothetical 3rd party AppBuilder user, maybe they don't have a healthchecks.io account. I guess we haven't decided exactly who is the end user for this script yet, so I don't know.


rename branch

remane to MTVHousing

Renamed the repository, but you'll also need to rename it in the docassemble packages menu

Quinten renamed to MTVHousing


Cluwne Beast

Adds a new creature, the cluwne beast. The cluwne beast has a chance to cluwne any humanoid it hits, turning them into cluwnes. This is an antagonist that should be limited to admin only events and uses the ventcritter event to spawn 1 cluwne beast in a random location on the station. Essentially it is a fun way to have cluwnification be contagious for those times when the admins want to have a little fun.

https://github.com/space-wizards/space-station-14/assets/113240905/20ddd815-c3aa-4295-9b34-6b428219854e

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Added - cluwnebeast.
Added- honk cloak.
:cl:

add: Cluwne Beast has been added as an admin event. Honk!

@brainfood1183 are you still working on this.

@brainfood1183 are you still working on this.

yea, i plan to work on it this weekend.

Hey there @brainfood1183, are you still working on this PR?

Hey there @brainfood1183, are you still working on this PR?

not currently, can probably be closed for now and maybe reopened later.

No worries, you can always re-open this if you decide to come back to it later


[HTML/GWT Backend] HttpRequest doesn't work with custom headers

Example code:
public class HttpRequestTest extends ApplicationAdapter {

	@Override
	public void create() {
		go();
	}

	public static void go() {
		Gdx.app.setLogLevel(Application.LOG_DEBUG);

		com.badlogic.gdx.Net.HttpRequest gdx_request = new com.badlogic.gdx.Net.HttpRequest();

		gdx_request.setUrl("http://localhost:31676/entry-point");
		gdx_request.setMethod("GET");
		gdx_request.setHeader("Custom-Header", "Hello");

		HttpResponseListener httpResponseListener = new com.badlogic.gdx.Net.HttpResponseListener() {

			@Override
			public void handleHttpResponse(
					com.badlogic.gdx.Net.HttpResponse httpResponse) {
				com.badlogic.gdx.net.HttpStatus status = httpResponse
						.getStatus();
				log("status", status);
				int statusCode = status.getStatusCode();
				log("statusCode", statusCode);

				log("httpResponse", httpResponse);

				java.util.Map<String, java.util.List<String>> gdx_result_headers = httpResponse
						.getHeaders();

				log("gdx_result_headers", gdx_result_headers);

				log("headers.size", gdx_result_headers.size());

				for (Iterator<String> i = gdx_result_headers.keySet()
						.iterator(); i.hasNext();) {
					String key = i.next();
					java.util.List<String> values = gdx_result_headers.get(key);
					log(" " + i, values);
				}

				exit();
			}

			@Override
			public void failed(Throwable t) {
				log("failed", t);
				t.printStackTrace();
				exit();
			}

			@Override
			public void cancelled() {
				log("cancelled");
				exit();
			}

		};
		Gdx.net.sendHttpRequest(gdx_request, httpResponseListener);

	}

	public static void log(String string) {
		Gdx.app.error("G", string + "");
	}

	public static void log(String name, Object value) {
		Gdx.app.error("G", name + " > " + value);
	}

	private static void exit() {
		System.exit(0);
	}

}

Error message:

The web server (http://localhost:31676/entry-point) didn't receive any incoming connections. So the request stuck somewhere at the backend side.

The browser is blocking cross-origin resource access (cross-origin includes different ports on the same host). Look up CORS for details and solutions.
This is not a libgdx specific problem so I'm going to go ahead and close this.

I'm sorry but I didn't get it. What I suppose to fix?
My web server didn't receive any incoming connections from gwt-backend. Is it something wrong with the Jetty server on which the the gwt-backend is running on?

Look up CORS, that will tell you what you need to do to make this work. Alternatively, use the same origin (scheme, host, port).

Ok, as I see from wiki: CORS is something that I have to fix on a server side.
I have two servers:

Jetty server provided by libGDX setup to run HTML/GWT backend.
My testing web server.

When I run the example code above my testing web server does not receive any incoming connections. Nothing.
This lefts the Jetty server provided by libGDX setup. Is it correct? Is it the Jetty I should fix?

This is an issue tracker. Please use the forum or IRC if you need help, see https://github.com/libgdx/libgdx/wiki/Getting-Help.

Ok, I want to report the issue:
Jetty server provided by libGDX setup to run HTML/GWT-backend doesn't work with custom headers.
Thank you.

The problem you are seeing has absolutely nothing to do with custom headers.

Case A (https://github.com/libgdx/libgdx/issues/3243): I send HttpRequest. Testing web server receives incoming call.
Case B (This): I add one line of code:   gdx_request.setHeader("Custom-Header", "Hello"); and request stuck at the client side. Testing web server does not receive any incoming connections.
Please see the output and example code above.

LibGDX uses standard GWT requests and the Gradle Jetty plugin. If you are seeing a problem, it is not due to libgdx code.
I suggest you learn and understand how cross-origin requests work.


High Level Component SideBar

Description
Create a high-level SideBar component that will be used across multiple pages of the application. This component should be designed to be flexible, reusable, and easy to integrate into various parts of the application.
Suggested Solution
Structure:

A container that holds the entire sidebar.
Menu items that can be dynamically rendered based on the provided data.
Optionally, submenus for certain menu items.
A footer section for additional links or information.

Functionality:

Collapsible sections for menu items with submenus.
Highlight the active menu item based on the current route.
Optional icons for each menu item.
Accessibility features like keyboard navigation...

Styling:

Should be responsive and adapt to different screen sizes.
Follow the application's design system for colors, fonts, and spacing.
Smooth animations for expanding/collapsing sections.

Alternatives
No response
Additional Context
This SideBar component will be a critical part of the user interface, as it will provide navigation across different sections of the application.
Related Issues/Pull Requests
No response

I'm closing all issues on new high-level components. The ideas in the current issues are quite out of date and don't fit the current state of Rio. IMO we should have another discussion on which components we want to add, and add appropriate new issues.


Re-creation of old environment with TF 1.0.1 leads to "No module named _pywrap_tensorflow" issue

Click to expand!
Issue Type
Build/Install
Source
binary
Tensorflow Version
1.0.1
Custom Code
No
OS Platform and Distribution
Windows 10 , 64-bit
Mobile device
No response
Python version
2.7.18
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
8.0.61 / 5.1
GPU model and memory
RTX A 2000 (Laptop GPU) ; 4GB
Current Behaviour?
Basically I try to re-create an old environment to re-use a scientific publication (https://github.com/okraus/DeepLoc).
I install CUDA 8 and CUDNN 5.1 according to various step-by-step tutorials (primarily https://shawnhymel.com/1961/how-to-install-tensorflow-with-gpu-support-on-windows/#Install_cuDNN).
(I keep the current up to date graphics card driver.)
I then install tensorflow_gpu-1.0.1-py2-none-any.whl which I found somewhere in the depths of the net after some research.
Unfortunately even the simple import tensorflow will give the error message below.
I have been through various github/stackoverflow issues/threads and cannot find the solution to this.
(relevant) System variables:
CUDA_PATH_V8_0 = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
CUDA_PATH = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0 (just to be safe)
PATH = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin ; C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp

Regarding the MSVCP140.DLL suggestion:
(DeepLoc) C:\Users\Jens>where MSVCP140.DLL
C:\Windows\System32\msvcp140.dll
C:\Program Files\HDF_Group\HDF5\1.8.22\bin\msvcp140.dll
C:\ProgramData\Anaconda3\msvcp140.dll
C:\Program Files\Java\jdk-19\bin\msvcp140.dll

And I have the Microsof Visual C++ 2015-2022 Redistributable (x64) - 14.32.31326, which is the reason - I assume - that I cannot install the Redistributable referenced here https://github.com/tensorflow/tensorflow/issues/8385#issuecomment-286621655
I have no more sensible ideas to try out.
Even though this is one of your first versions and I understand this is not a top priority I would still greatly appreciate any kind of help!
Best,
Jens

### Standalone code to reproduce the issue

python
import tensorflow

Relevant log output
(DeepLoc) C:\Users\Jens>python
Python 2.7.18 |Anaconda, Inc.| (default, Apr 23 2020, 17:26:54) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> print(os.environ.get('CUDA_PATH'))
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
>>> import tf
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named tf
>>> import tensorflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Jens\.conda\envs\DeepLoc\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "C:\Users\Jens\.conda\envs\DeepLoc\lib\site-packages\tensorflow\python\__init__.py", line 72, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\Users\Jens\.conda\envs\DeepLoc\lib\site-packages\tensorflow\python\__init__.py", line 66, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\Jens\.conda\envs\DeepLoc\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 28, in <module>
    _pywrap_tensorflow = swig_import_helper()
  File "C:\Users\Jens\.conda\envs\DeepLoc\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 20, in swig_import_helper
    import _pywrap_tensorflow
ImportError: No module named _pywrap_tensorflow

Failed to load the native TensorFlow runtime.

See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error

@JensWendt,
Tensorflow version 1.x is  no longer supported. Hence, kindly update to the latest stable version 2.11 and let us know if you are facing the same issue. Thank you!


Unnecessary friend class declaration (b2RopeJoint)

https://github.com/erincatto/box2d/blob/95f74a46c077825478f989df6a81003ca538c2c2/include/box2d/b2_body.h#L404
b2RopeJoint was removed in v2.4.1.

Duplicate of #665


Set up scheduled analysis

Suggestion to add analysis of the repository/website through a scheduled GitHub Actions Workflow. Currently I set it to run once a month and to run:

A Lighthouse scan, which will report on the "health" of the website, things such as performance, a11y, and SEO. This can be pretty useful to find improvements for the website, though our performance score is incredibly bad because of our large HTML.
I currently configured it to just upload the results as an artifact so that anyone can look at it without having to perform the scan themselves. To be fair, anyone can do that pretty easily if they have Chrome/ium installed.

A CodeQL scan, which runs some basic security queries on the (static) source and can report potential vulnerabilities. I think it's unlikely it will report something interesting for us, but it could still be worth it.

I'm opening this as a Pull Request because I'm not sure if everyone sees value in it. As per the above, Lighthouse is pretty easy for anyone to use and CodeQL is unlikely to find anything interesting. So if no one is interested in this we can just close it :slightly_smiling_face:

With two :+1: from other simple-icons maintainers I will merge this in as a "trail". If it turns out it isn't useful we can remove the workflow later.


Dutch Strings.xml

Translation to Dutch

You have edited the English file. This will cause the app to show Dutch when English is selected. Please move it to the Dutch folder.

There isnt any folder called values-nl or dutch, please create this folder

Deleting this old PR


API break in pod responses

While testing 4.11 with ansible integration tests, I noticed an unexpected change in the types of the responses for pods. the startip endip,vlanid return type changed from string to list as well as forsystemvms doesn't look that is should be a list.
This is a undocumented (unexpected) API change and breaks clients (ansible)
related to #2048 and https://github.com/apache/cloudstack/pull/2048/files#r148808665
/cc @nitin-maharana
ISSUE TYPE

Bug Report

COMPONENT NAME

API

CLOUDSTACK VERSION

4.11.1

CONFIGURATION

N/A
OS / ENVIRONMENT

N/A
SUMMARY

STEPS TO REPRODUCE

call listPods api

EXPECTED RESULTS

in cloudstack 4.5.

{
  "count": 1,
  "pod": [
    {
      "allocationstate": "Enabled",
      "endip": "<IP_ADDRESS>",
      "gateway": "<IP_ADDRESS>",
      "id": "f70e1090-7bc6-421f-8faa-8de8322abfcc",
      "name": "Pod01",
      "netmask": "<IP_ADDRESS>",
      "startip": "<IP_ADDRESS>",
      "zoneid": "f2ed7eda-a1f3-4a0b-b666-8f31f9a3d03e",
      "zonename": "ZUERICH_EQ"
    }
  ]
}

ACTUAL RESULTS

in cloudstack 4.11
{
  "count": 1,
  "pod": [
    {
      "allocationstate": "Enabled",
      "endip": [
        "<IP_ADDRESS>"
      ],
      "forsystemvms": [
        "0"
      ],
      "gateway": "<IP_ADDRESS>",
      "id": "a7837885-f6a7-4180-b64c-c9893c13e5d1",
      "name": "POD0-basic",
      "netmask": "<IP_ADDRESS>",
      "startip": [
        "<IP_ADDRESS>"
      ],
      "vlanid": [
        "vlan://untagged"
      ],
      "zoneid": "885d35d4-5702-4e46-99aa-80f08ca4a2b5",
      "zonename": "Sandbox-simulator-basic"
    }
  ]
}

/cc @nvazquez @borisstoyanov

Workaround implemented in ansible https://github.com/ansible/ansible/commit/041fcb2435e780d3482febe651311ad7efbfce3b#diff-af64ef403161b2bb70484582040d915aR239

I've just confirmed this, looks like we don't have marvin tests coverage, once we get a PR fixing this I'll add tests, thanks @resmo

@resmo @rhtyd @borisstoyanov removing this from the milestone as there is no activity on this for over a year. also there is no decision made on how it should work, other than the always favorit backwards compatible.

@resmo The pod can hold multiple ranges of management network IPs, and so the parameters: "startip, endip, vlanid, forsystemvms" were updated to List (from String) and the relation between them is maintained with the list index. I've moved all these response parameters to ipranges, a new parameter that hold the list of IP ranges (and the relation is properly maintained). Please check the changes at PR #5424. Thanks.


PySCF fails to compile with GCC 9

PySCF fails to compile with GCC 9 due to broken OpenMP code. For example,
/home/work/pyscf/pyscf/lib/np_helper/npdot.c:74:34: error: ‘k’ not specified in enclosing ‘parallel’
   74 |                 int nblk = MAX((k+nthread-1) / nthread, 1);
      |                                 ~^~~~~~~~
/home/work/pyscf/pyscf/lib/np_helper/npdot.c:27:27: note: in definition of macro ‘MAX’
   27 | #define MAX(X,Y)        ((X) > (Y) ? (X) : (Y))
      |                           ^
/home/work/pyscf/pyscf/lib/np_helper/npdot.c:70:9: error: enclosing ‘parallel’
   70 | #pragma omp parallel default(none) shared(a, b, c) \
      |         ^~~
/home/work/pyscf/pyscf/lib/np_helper/npdot.c:76:59: error: ‘m’ not specified in enclosing ‘parallel’
   76 |                 double *cpriv = malloc(sizeof(double) * (m*n+2));
      |                                                          ~^~
/home/work/pyscf/pyscf/lib/np_helper/npdot.c:70:9: error: enclosing ‘parallel’
   70 | #pragma omp parallel default(none) shared(a, b, c) \
      |         ^~~
/home/work/pyscf/pyscf/lib/np_helper/npdot.c:76:59: error: ‘n’ not specified in enclosing ‘parallel’
   76 |                 double *cpriv = malloc(sizeof(double) * (m*n+2));
      |                                                          ~^~
/home/work/pyscf/pyscf/lib/np_helper/npdot.c:70:9: error: enclosing ‘parallel’
   70 | #pragma omp parallel default(none) shared(a, b, c) \
      |         ^~~

This error is caused by the changes in OpenMP 4.5 standard.  In the old OpenMP standard (up to v4.0), session <IP_ADDRESS> states "Variables with const-qualified type having no mutable member are shared.". GCC 9 uses OpenMP 4.5 standard by default and the new standard removes this rule.
Although this error is easy to fix, I'd recommend NOT to use GCC 9 in your production code, for pyscf-1.6, pyscf-1.7. We didn't have enough tests for GCC 9. The changes of OpenMP standard is an example of the problem using GCC 9 series.

Problem is solved by PR #330


error checker broken

tools error checker said error but my script seem don,t have error he work perfect
thanks

Just released v2023.1.0 where I completely removed error checking. It'll be rewritten from scratch in the future due to large amount of problems


Feature request: ID3 tags

Would be really nice if some of the video information could be written as ID3 tags, author, title, publish date, description, thumbnail.
I tried to setup my own dev environment but failed :disappointed: is easiest using vagrant? should be cd ansible; vagrant up more or less? https://gist.github.com/wader/3f1fd3d3da203f43b6e9

Hey Mattias, sorry I haven't tried this on a Windows machine.  But easiest in my opinion is with Docker.
The error message seems to say it couldn't find Ansible:
The executable 'ansible-playbook' Vagrant is trying to run was not
found in the PATH variable.

Got the site running with docker-compose after reverting 3cb4aa403cfe57fc0dc8b6df3d3ecf24e2e17c6e and using psycopg2 2.6.1(some source files was missing for gcc with 2.6 hmm).
But the site seems to hang after submitting a youtube URL. But i managed to fiddle around using a ipython console instead to try out the metadata stuff.


Vulnerability on bundler-2.1.4  CVE-2020-36327

bundler (2.2.23, default: 2.1.4)  is getting installed from td-agent .and we are using td-agent-4.2.0 can you provide fix plan for this .
CVE ID : CVE-2020-36327
Thanks in advance

As you mentioned, td-agent 4.2.0 uses bundler 2.2.23.
It is not an affected version.


type "dead" characters actually set Dead in the textbox

Hello, i notice when i associate textbox to a mask with your library, when i type a dead character (dead character are actually character who need to be associate with another one, like ^ or ¨), it will literally write Dead in the field (the behavior expected is nothing happen, and it will be the next character pressed which will be associate with the dead character).
In french, we use it for a lot of word (noël or crême for example)
so basically when i want to write crême it will write crDeademe in the textbox
you can reproduce it on your demo on the field email address :https://robinherbots.github.io/Inputmask/#/demo
type a dead character in the field, you will see Dead appear
Thanks !

@julienGrd ,
I fixed the issue in  version 5.0.9-beta.1 (no npm release yet)

Hi, We updated from 4.x where the accents were working,  but there's still a minor issue with those characters. With 5.0.9-beta.1, the DEAD word is not inserted anymore, but instead of getting the accented character like é in café, you get the accent and then the letter. So you end up with caf'e.
Thanks.

@sjacq ,
Can you have a retry with the latest beta.
I tried something like
	Inputmask({
		mask: "a{*}"
	}).mask("#test1");

and i could type élève and café


Memory issues, add swap

Reading material:

https://tecadmin.net/add-swap-partition-on-ec2-linux-instance/
https://stackoverflow.com/questions/17173972/how-do-you-add-swap-to-an-ec2-instance
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html

no longer needed


Set upper bounds for solar radiation based on DOY and location

This is determined by stuff like where the sun is relative to the earth.  The max solar radiation for a location and DOY should be knowable.

Could also be useful for a dirty sensor.  E.g. if it's not raining and solar radiaion is x ammount below theoritcal max, flag the data

Getting closer!
Hourly (in April 2022)

Daily (2022)

Not totally sure why sensor data is going beyond estimated theoretical max in some times of year.   There are a few parameters that are set with some assumptions (e.g. vertically integrated water vapor concentration, visibility), but adjusting these within reason doesn't seem to make noticeable impacts.  Might need to stick with this model and just flag data that is above the estimated max by some arbitrary amount.

Other R packages:

https://github.com/bnasr/solrad
https://github.com/trenchproject/TrenchR

Resources:

https://emf-creaf.github.io/meteolandbook/solarradiation.html

@jeremylweiss do you have elevation for the sites? (forgive me if I've asked this before)

Yes, will send it over

The functions in the TrenchR package do a great job and are much easier to use, so thanks for finding that.  My calculations still underestimate the total solar radiation in mornings and evenings and I now understand why.  All of these packages estimate instantaneous solar radiation (W/m^2) and I've been converting it to total solar radiation just by multiplying by 1 hr.  That assumption works in the middle of the day because assuming the slice of the instantaneous solar radiation curve is a rectangle (1 hr width * solar radiation at the midpoint height) is close enough.  However, because of the shape of that curve in the mornings and evenings, this rectangle calculation underestimates the actual area under the curve.  This feels like a geometry/calculus problem that there is a better solution for, so maybe I'll take a lilttle more time on this before giving up and just setting the threshold for error at my estimate + 10% or whatever.

I guess I just need to use a smaller ∆x 🤦♂.  I'll try estimating instantaneous solar radiation every 15 min and summing it for each hour and see if that's close enough.  Might still have to add a bit of a "buffer" before a validation failure is triggered.  Just thinking outloud here.

Ah yes, good ol' calculus . . . it's been a long while, but you're helping me recall the ∆x approach!

No... that's not quite it.  The observed curves (black) are still wider than the theoretical curves (red) I'm calculating even if I integrate over each hour using 2 min increments.  This theoretical curve includes direct, diffuse, and reflected radiation and assumes a 100% atmospheric transmissivity and 100% albedo.

Perhaps I'm missing something in my understanding of what exactly the sensors are measuring and reporting?

missing something in my understanding of what exactly the sensors are measuring and reporting?

not sure if this is relevant but I'll point out that the solar spectrum changes throughout the day; the sensitivity of the sensor does not.

See also
https://www.campbellsci.com/li200r-l
https://s.campbellsci.com/documents/us/product-brochures/b_li200r.pdf

While trying to make a reprex to share with the TrenchR folks, I somehow solved my own problem.  I'm honestly not quite sure what I was doing wrong yet, but re-writing the code in a fresh .R file seems to have fixed it somehow 🤣.

There's a little blip where observed data is slightly above predicted, but I'm solving that by adding a tolerance to the validation function that will allow you to ignore small differences.

That's happened to me before, too, more times than I can remember. Nothing like a just-start-from-scratch solution! 🤣


[Bug][1.18.1][1.0.1] Equipping Axolotls underwater causes weird desync

Axolotl teleports back to its original point after dismounted:
https://imgur.com/a/H15ODIK
Modlist:
axolotlhats-1.0.1
fabric-api-0.45.2+1.18
fabric-language-kotlin-1.7.1+kotlin.1.6.10

I thought this would get reported. I'm not exactly sure how to fix this one though I'm still looking into it. If anyone else can figure it out or already knows whats up, please submit a PR

I would suggest asking someone on the Bewitchment team. They had similiar problems with their brooms in the past.


"file" variable not available in IPython after kernel restart

Environment data

VS Code version: 1.50.1
Extension version (available under the Extensions sidebar): v2020.10.332292344
OS and version: Win 10
Python version (& distribution if applicable, e.g. Anaconda): 3.8
Type of virtual environment used conda
Value of the python.languageServer setting: Jedi

Expected behaviour
__file__ variable is always defined in IPython
Actual behaviour
__file__ variable is available when IPython first starts, but is not available after kernel restart.
Reverting to version v2020.9.112786 fixes the problem
Steps to reproduce:

open VSCode
create new Python script (.py)
type print(__file__)
Run Selection/Current line in Python Interactive
Restart Jupyter kernel
Run Selection/Current line in Python Interactive again

Thanks for reporting it @alexbogun. That's a good catch. I could also repro it.
We'll discuss it on our next meeting.


How to use workflows in the fully On-Premises scenario

I plan to use workflows to track state of the complex and distributed execution of the multiple actions running on the multiple microservices. My software product will be able to run in the Azure cloud (AKS), but also in a completely closed On-Premises environment (under local K8s or microK8s cluster). In case of the Azure I understand that I can use Logic Apps, and there are some videos, documentation etc.
What is not yet clear to me is how (if possible at all) can I use workflows in completely closed environment without any connection to the Azure (no Logic Apps) or any cloud? As I see it must be possible, but I don't see any example.
The thing is also, because my microservices will execute steps of the workflows, and I only need to track the state of the execution, do I need anything like Logic Apps, even in the Azure? Can I just use workflows itself to track state?
Please, help me to understand and clarify this.

This question is answered yesterday during open discussion of the Community Call 55. Conclusion is -> it is not possible to use workflows in a fully closed On-Premises scenario.
My further step will go in a direction of using Actors to achieve the same goal.
Thanks anyway!


Enabling the use of AIML

This creates a stable version of an aiml fallback.
Removed returning random pickup lines when not understanding something but will now expect an response when having asked a question.
Also the user may have the aiml skill reset his memory reset your memory
Future ideas: Use set predicates from aiml to set conversational context

Hi looks like a good addition. The thing I'd like to have added is to not load aiml data until the skill is enabled. So you could have in the handle_fallback() a check for enabled and not loaded and load if needed. (and the similar in initialize)
Does that sound good?

I already thought a our that but it doesn't seem like a good idea because I see no harm in pre-loading the brain. It occupies about 16 MB of RAM (at least the brn file is that big) and makes the fallback a lot faster.
Also I have removed the possibility of disabling/enabling the fallback completely. It seemed like a good idea at first but on my opinion the user should simply remove the skill if he doesn't want it. Of course this makes it necessary that the skill is not installed per default/ default skills can be removed.

Just checked, AIML chatbot skill is install per default, but removable. The user thus may simply choose to uninstall it if it isn't wanted.

We had severe issues with this skill since the memory footprint is significant (~5% of available memory on the pi if I recall correctly) so I very much would like this to be unloaded by default and only after enabling having it loaded.

Opened #7, making the use of the AIML fallback optional.
Still I don't see why you don't make use of letting the user uninstall the fallback.

Merged through #11. (Once again sorry for the delay with this)


Error: Solution required to convert onnx model to use in the pipeline

Solution required to convert onnx model to use the same in the pipeline:
Converted this onnx model to openvino-IR using the following option
https://huggingface.co/CompVis/stable-diffusion-v1-4/tree/onnx/unet
mo.py --use_legacy_frontend --input_model onnx\model.onnx --static_shape --disable_fusing

Got the following error when used the same model while execution of the following line
https://github.com/bes-dev/stable_diffusion.openvino/blob/72d3ad67f078b25bc5ae191f6e49078cebd1f791/stable_diffusion_engine.py#L41
Updated this statement to use the optimized openvino-IR here instead of hubface_download
https://github.com/bes-dev/stable_diffusion.openvino/blob/72d3ad67f078b25bc5ae191f6e49078cebd1f791/stable_diffusion_engine.py#L37
Found the files here but still wanted to check the correctness of any updated model(Stable-Diffusion-v1.5 or v2.0) - just testing it with default model:
https://huggingface.co/bes-dev/stable-diffusion-v1-4-openvino/tree/main
Could someone help here, Thanks in advance

@bes-dev can you share your thoughts on above issue

https://huggingface.co/ShadowPower/waifu-diffusion.openvino/discussions/1
maybe old onnx conversion worked differently? I also fail to convert (new) onnx unet so i was trying the older method as your files look different.
https://huggingface.co/ShadowPower/waifu-diffusion-v1-3-onnx/blob/main/unet.tar.zst


Update web-publish-options.md

and each one will maintain its assigned IP address as long as desired.
How is desire related to IP not changing? When does it change?
Any chance you could add a comment that App Service is much simpler to get a web app set up? Maybe that's all in the comparison.

Long sentences are difficult for me and impossible for ESL and our machine translators.
Removed trailing space.
Excellent article.

@Rick-Anderson,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Vercel deploy error:  Cannot read properties of undefined (reading 'vendor')

Trying to deploy on vercel but getting the following error on browser:
Application error: a client-side exception has occurred (see the browser console for more information).
the console has the following erors:

Section personalization not found
Cannot read properties of undefined (reading 'vendor')

This last error seems to be related to model...
env vars defined (Checked correct values):
GOOGLE_CLIENT_SECRET
GOOGLE_CLIENT_ID
NEXTAUTH_URL
NEXTAUTH_SECRET
NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY
SUPABASE_SERVICE_ROLE_KEY
SUPABASE_JWT_SECRET
try adding  DEFAULT_MODE and still not working...
Any ideas how to solve this?

Hi @altrome, thank you for raising this issue.
I'm trying to reproduce this on Vercel with only those variables set but not being able to.
Can you provide some more information:

Are you able to run on local computer?
What steps did you take to deploy on vercel?
Does this happen at startup or after login page?
Is this error itself being thrown by NextJs or the browser-console? If so, are you able to see any more error logs?

Hi @jorge-menjivar, thanks for your amazing work!
I've only tested at Vercel, not on local. This error happens after login, when loads the chat and shown at browser-console.
As far as I have been able to investigate, the errors seems to be initially located at SystemPromptSelect.tsx file. In particular, the methods getAvailableSystemPrompts &  getDefaultSystemPrompt, when trying to select the model of the selectedConversation. If you start from scratch, without any conversations, the model is undefined so you can not select the vendor later on the code. I've figured out a workaround, is still trowing other errors, but at least I can test your version.
In short, I believe that the errors thrown by the platform have to do with the fact that there are no conversations available and therefore you cannot select the model, and hence the errors are triggered.

I was able to reproduce the described issue with a fresh account on a vercel instance. However, on local it was giving a different error. I fixed the error described in the local instance which also seems to have fixed the vercel issue. Let me know if you continue to have this issue and I will investigate further.


Generalize 2 option forced choice tasks to take more options (forcedChoice, sentenceChoice, imageSelection)

Currently, the template views forcedChoice, sentenceChoice and imageSelection all take two options to select from. We should ideally generalize this to allow an arbitrary number of choice options.
Instead of providing options like this:
{
    picture: 'path/to/picture_of_bread.jpg',
    option1: 'jam',
    option2: 'ham'
}

We could have:
{
    picture: 'path/to/picture_of_bread.jpg',
    options: ['1', '2', '3', '4', '5', '6'],
    grid_layout: [3,2],
    fill_by: 'row',
}

with also an optional field grid_layout which takes the numbers of rows and columns of a table to be filled in with the options. Here [3,2] would give us three rows and two column. The optional field fill_by would specify whether to fill the grid row- or column-wise. The above would yield an display like this:
1 2
3 4
5 6

This should be possible, but first we should finish/decide on #48


Feign client sending multipart/form-data request parameters as query params instead of request parts

Describe the bug
A dynamic Feign client generated from Spring MVC annotations sends @RequestParam parameters as query params instead of request parts for multipart/form-data requests.
As in Spring MVC @RequestParam maps to both query parameters and parts in multipart requests, such definition may be ambiguous for the client. And although a Spring MVC server is capable of processing parameters passed as either query parameters or request parts, this may not be the case for other servers that will ignore query parameters for those requests.
Replacing @RequestParam with @RequestPart for such parameters resolves the issue.
Is this the expected behaviour and the main workaround should be the usage of @RequestPart? Or is there another way to send such parameters as request parts for multipart/form-data requests?
Sample
Request definition for the client:
  @RequestMapping(method = RequestMethod.POST,
      value = "/server/resources",
      produces = {"application/json"},
      consumes = {"multipart/form-data"})
  ResponseEntity<ApiResponse> createResource(@RequestPart(value = "file") MultipartFile file,
      @RequestParam(value = "category", required = false) String category,
      @RequestParam(value = "priority") int priority);

A more detailed example is available in the sample repository.
Additional context
Request interface gets generated from the external OpenAPI definition

Hello @Seregy, while with many scenarios, there's a feature parity between Spring MVC controller annotations and the ones used in SC OpenFeign, we do not strive for complete parity (which would also be impossible due to the intrinsic difference between client and server logic). We are not planning on supporting multipart/form-data request parameters with @RequestParam. Please use @RequestPart.


Add core chain information endpoint

Add chain information to the model and admin. The endpoint will be available under /api/v1/chains.
Each chain should have the following data:
{
   "chainId": <stringified-int>, // stringified-int due to int size constraints
   "chainName": <string>, // optional
   "nativeCurrency": {
       "name": <string>, // optional
       "symbol": <string>,
       "decimals": <uint>,
   },
   "rpcUrl": <url-string>,
   "blockExplorerUrl": <url-string>
}

Optional fields are marked with // optional
⚠ Note: this does not include parameters regarding client theme and gnosis/safe-client-gateway. The data represented here is only related with "core" chain data.

Metamask has the following form for adding a new RPC endpoint:

I'd say that a Currency Symbol should also be expected and required in our service. Or shall we set ETH as the default in these scenarios?


AnimationTree Blendspace1D animation shows in editor but not in the game

Godot version:
3.2.3.stable.official
OS/device including version:
Windows 10 x64
Ryzen 3 Vega 8
Issue description:
I have a character with a blendspace that works, I duplicated that character to make a sidekick, but the walking animation only shows on the editor, not in the game.
Steps to reproduce:
Created a new blendspace, It shows the animation on the editor, but not in the game.
(res://Scenes/Characters/Rosa.tscn.AnimationTree)
Minimal reproduction project:
Kaliina.zip

I finally solved it.
Since the sidekick character was an instantiated scene, in the original file, the animation wasn't tagged as loop, so It didn't saved the animation once it was implemented as an scene, It loaded the original value of the scene, which lacked the looped tag.


outgoing images are broken?

Posted a photo just now and it's not working. Forgot to include u-photo first, but then I tried attaching it to the img and then the surrounding a and updated both times. No luck, shows a black rectangle with "Not available."
https://indieweb.social/<EMAIL_ADDRESS>BF log: https://fed.brid.gy/log?start_time=1678231601&key=https://snarfed.org/2023-03-07_49461&module=
If I click on it, it links to the image on my site ok though. The a and img are fetting federated inside content, but Mastodon should be stripping the img, so I doubt that's a problem.

Also older post with photos aren't working either: https://indieweb.social/<EMAIL_ADDRESS>, https://indieweb.social/<EMAIL_ADDRESS>

The plot thickens. Evidently u-featured works ok, this is just a u-photo issue? Examples from www.jvt.me:

successful u-featured post, original, BF log
broken u-photo post, original, BF log

Another broken u-photo example, from gregorlove.com, 2/26:

broken post, original, BF log

They're also broken on other instances, so it's not an indieweb.social thing. eg:

https://tech.lgbt/<EMAIL_ADDRESS>https://social.coop/<EMAIL_ADDRESS>https://mastodon.social/<EMAIL_ADDRESS>

Oddly gregorlove.com has two successful u-photo posts since then:

3/4 Mastodon post, original, BF log
3/13 Mastodon post, original, BF log

Pruned down JSON AS2 objects from five of these examples. The second and third bad ones make sense, they have no image and their attachments aren't images. The first one though, my original example, looks identical to the two good ones except it's missing name. Guess I'll try adding that?  No dice. 🤷 https://indieweb.social/<EMAIL_ADDRESS>

Oh man. I switched the image URLs from the Jetpack CDN to my site directly (snarfed.org), and that fixed it. Ugh, so that CDN is blocking Mastodon, or it's otherwise failing to fetch from it? Oh, sheesh, looks like it was just indieweb.social, the image wasn't broken on other instances, eg https://tech.lgbt/<EMAIL_ADDRESS>I bet Reclaim Hosting is the culprit here. Ugh. https://github.com/snarfed/bridgy/issues/885

Also, the two bad gregorlove.com posts were probably unrelated, I suspect Mastodon expected their attachments were images and choked on them?

Confirmed. I removed the attachment from one of them, and the broken image went away. https://indieweb.social/<EMAIL_ADDRESS>

Oh and re https://github.com/snarfed/bridgy-fed/issues/439#issuecomment-1469040563, looks like indieweb.social is hosted on https://masto.host/, not Reclaim.

Looks like we started adding attachment for Mastodon, initially discovered in https://github.com/snarfed/bridgy-fed/issues/33#issuecomment-440965618. Evidently they still use it:
https://github.com/mastodon/mastodon/blob/65669d3c5719e72000bf26849d0ee1eaec1f9d1b/app/lib/activitypub/activity/create.rb#L255-L282

https://mastodon.art/ has the same problem, and they're also on masto.host.

Hrm, so does https://mastodon.social/ , and they're not on masto.host.
Haven't yet found anything relevant in https://github.com/mastodon/mastodon/issues

I think this is fixed, maybe on Jetpack's end. Example: https://pin13.net/mf2/?url=https://snarfed.org/2024-10-09_53823 => https://indieweb.social/<EMAIL_ADDRESS>


Timesweep Indicator #151

Signed-off-by: nicolaskolbenschlag<EMAIL_ADDRESS>

We should specify the units somewhere. The example in the issue is secs/div which doesn't map the current implementation (e.g. current 0.5 should be 2 secs/div).

I think we need the refactor the overall layout if we want to add more as any new character causes a line break

Regarding the above comments, look at my PR (#157), there we have a complete restructuring of the layout. Especially the point of displaying the value should be extremely easy using it.
Additionally, I'd suggest we add the units to the header (e.g. "Time Sweep [sec/div]")

Regarding the above comments, look at my PR (#157), there we have a complete restructuring of the layout. Especially the point of displaying the value should be extremely easy using it.
Additionally, I'd suggest we add the units to the header (e.g. "Time Sweep [sec/div]")

The unit is for time-sweep is just × (e.g., ×2). I think, we do not know the actual speed expressed as pixels per time, as this dependent on the values delivered by the generator.

Regarding the above comments, look at my PR (#157), there we have a complete restructuring of the layout. Especially the point of displaying the value should be extremely easy using it.
Additionally, I'd suggest we add the units to the header (e.g. "Time Sweep [sec/div]")

The unit is for time-sweep is just × (e.g., ×2). I think, we do not know the actual speed expressed as pixels per time, as this dependent on the values delivered by the generator.

Spoke with Wieland about it, he also thinks the unit for the time sweep should be [sec/div], just as previously mentioned

Okay I see. I just currently see one difficulty with this, because in our implementation, the one div is added with one update from the generator. Hence, the time/div would be dependent on the (sending frequency of the) generator and only could be derived empirically/approximally. Currently, our time-sweep does control something like divs/update rater then time/div.

Good point, @nicolaskolbenschlag. I'd suggest not including the units for this sprint and asking Mr. Eckert if he wants/needs those to be displayed in the next JF. What do you think?


Optimize the strategy for extracting text from HTML webpages by removing unnecessary and distracting information

Remove all the tags of ['nav', 'footer', 'aside', 'script', 'style'] that are not meaningful for the extraction #61


Added TYPO3-CORE-SA-2017-001 for TYPO3

Mh. Not that easy.
Version 6.2.0 to 6.2.29 are directly affected.
7.6.x and 8.x are not effected directly, you could easily fix the issue by updating swiftmailer through composer. I would remove them :)

I agree with @marcomenzel. If those versions are not directly affected, there is no need to list them here. People being vulnerable due to an affected version of Swiftmailer will get a warning anyway because this repository includes the Swiftmailer entry too.

Agree, thanks for the feedback @marcomenzel. I updated the PR.


get minimum value from an array

I think it shows a good use of the spread operator in variadic functions

@Chalarangelo @darrenscerri
Thanks for the review notes.
If this is good we should definitely add a version to get the max value as well.


Merging master branch into live

/cc @richlander @BillWagner

This has the correct PRs from today. :shipit:


Fix lint errors in multiple files

Description
There are some shellcheck errors, this PR fixes these

Motivation and Context
N/A
How Has This Been Tested?
Locally, on linux
Screenshots (if appropriate):

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[x] I have added tests to cover my changes, and all the new and existing tests pass.

@davidpfarrell @NoahGorny can we merge it then?


TestBench program hangs if answering "No" when exiting the program with a data change

Reported in another issue by Yannick;
"After deselecting "ChangeCalcToMoveStatement" and trying to exit the application through the windows X button I get a prompt asking "Changes exist in Functions List. Exit this Application?". When I click "Yes", the application closes normally, but when I click "No", nothing happens, but the entire application is locked out and no butters can be clicked anymore. I have checked and there are no sneaky hidden error windows."
Something weird happens when "No" is selected from the exiting dialog: "Changes exist. Do you want to exit?" The focus tree then seems to be totally confused and doesn't know where to go next. Hence, no control can take the focus and the program appear to "hang".

I have "fixed" it by overriding the Function Verify_Exit_Application. It now always returns a 0, which makes the app exit properly.
I will now close this issue.


Fix intermittent react renderer test failure

Previously, in over half of test runs, a random test in ReactTest would fail with a Task.await timeout. The cause seems to be that we were starting a copy of the renderer process within one of the tests, which somehow interfered with the "real" process. At least, when this test is deleted, the intermittent failure disappears. The reason may have something to do with Poolboy, but it's hard to pursue further than that as Poolboy is written in Erlang and has zero documentation.
Since this test doesn't appear to provide much value, and neither does the one that stops the process, we can probably safely remove them. React.stop was only used in this test, so it can be deleted as well.
Finally, this change also removes a 10000ms timeout on the Task.await call that could never be reached. This is because the GenServer.call within the task was not given a timeout parameter, and so would time out after the default of 5000ms. This is also what Task.await defaults to, so removing the parameter aligns the timeout values.

Ironically Elixir tests failed on this branch due to other intermittent timeout errors, but not the one this change is intended to fix 😄

I notice that Site.ReactTest is marked as async: true. It sounds like that shouldn't be the case, as it's modifying global state.

This particular failure wasn't affected by whether async: true was present or not (that was one of the first things I tested). With the start/stop tests deleted, however, it should be safe to use async since there is no modification of global state.

Perhaps there are also other tests which are modifying global state and are marked as async: true?

Perhaps! Our remaining intermittent failures seem to be caused by HTTP request timeouts, but async could still be a suspect 🙂


Linux: Support ARM architecture

The porting to cmake was a great job, however we lack ARM support. I'm willing to take on the task if provided some indication where to start as I'm fairly new to chromium and webrtc.

Should be done easily for this weekend, hoping I can find some time for it.
I have to make sure that the Android dependencies are included inside the aisouard/libwebrtc-chromium-deps repository ( https://github.com/aisouard/libwebrtc-chromium-deps )

Okay, would it also work for a rasperry pi, nvidia jetson and other SBC?

It could for Raspberry Pi if we can add these steps inside CMake: https://github.com/mpromonet/webrtc-streamer/wiki/Cross-compile-WebRTC-for-Raspberry-Pi
Not sure for the others, I hope that we would just have to change some values depending on these.

The only maintained webrtc builds are for linux ARM, iOS and android. Anything else, you are on your own. You can look at tutorials, but they are likely outdated.
This can help:
https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/cross_compiles.md
for arm on android, linux or iOS, you have to change two GN flags: target_os and target_cpu. see the following pages for more info:
https://webrtc.org/native-code/android/
https://webrtc.org/native-code/ios/
The link axel gave for raspberry pie pre-date GN, it won t work with depot_tool.

@agouaillard thanks very much it worked for the target linux arm :). I managed to compile the sample code too. Though I had to disable the tests for rtc otherwise it runs into an llvm bug 😕
Thanks also for the blog posts, they got me that far 👍
@aisouard gclient is throwing some errors at me :/

copy the error messages, maybe we can help.
On Fri, Jan 20, 2017 at 9:31 AM, Nolaan<EMAIL_ADDRESS>wrote:

@agouaillard https://github.com/agouaillard thanks very much it worked
for the target linux arm :). I managed to compile the sample code too.
Though I had to disable the tests for rtc otherwise it runs into an llvm
bug 😕
Thanks also for the blog posts, they got me that far 👍
@aisouard https://github.com/aisouard gclient is throwing some errors
at me :/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aisouard/libwebrtc/issues/5#issuecomment-273951857,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAT1nqMlYrvUT95m-EWpKdJ8ddDAmGG9ks5rUA5VgaJpZM4KWuIA
.

--
Alex. Gouaillard, PhD, PhD, MBA
President - CoSMo Software Consulting, Singapore
sg.linkedin.com/agouaillard

Android support done, need to test with a CMake Android toolchain.
Can build for arm64 under Linux with the following command: cmake -DTARGET_OS="android" -DTARGET_CPU="arm64" ..
@Nolaan, feel free to tell me if it's working out of the box for Raspberry Pi, or if extra steps are required, such as specifying an ARM toolchain instead of just doing cmake -DTARGET_OS="linux" -DTARGET_CPU="arm" ..

Does not build for arm, had to do:
./webrtc/src/build/linux/sysroot_scripts/install-sysroot.py --arch-arm

Great find! I'll fix it once I find the time for it, ARM support is planned in the next release.
Thanks.

Also package is not good, if you try it to install on armbian
sudo dpkg -i libwebrtc-1.0.0-linux-arm.deb
dpkg: error processing archive libwebrtc-1.0.0-linux-arm.deb (--install):
package architecture (amd64) does not match system (armhf)

Adding into CPackConfig.cmake
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "armhf")
solved the problem, deb can be installed on armbian

Looks like LibWebRTC.pc is not distributed in package

It's not added yet since I'm not sure about rpm/deb package structure and absolute paths.
Should I hardcode the prefix to "/usr/lib" depending on the Linux distrib ?

Armbian and ubunut have /usr/lib/pkgconfig/

Man pkg-config says:
On most systems, pkg-config looks in /usr/lib/pkgconfig, /usr/share/pkgconfig, /usr/local/lib/pkgconfig and /usr/local/share/pkgconfig for these files

What about the default lib directory ?
CMake's default prefix seems to be /usr/local/lib, I don't remember having any deb or rpm package installing their lib inside /usr/local/lib, that directory was always empty when I was exclusively installing packages instead of building from source.

You also have to adapt LibWebRTC.pc as it contains for Libs:
-L/usr/lib/x86_64-linux-gnu
it should be /usr/lib/arm-linux-gnueabihf/ in my case

I see, the directory is the same, depending on the target.
I'll maintain a list for .deb first.

Deb package it creates for arm have library in /usr/lib even my cmake is my own build and installed in /usr/local.
Also headers are in /usr/include/webrtc
But, deb contains also /usr/local/src/libwebrtc/out/lib/cmake/LibWebRTC with 3 *.cmake files, guess those are wrong, but not so familiar with cmake to tell where it should go.

Also rc file contains -I/usr/local/include, for deb package is not needed

To build latest webrtc master I had to remove libjingle_peerconnection target in
webrtc/build/CMakeFiles/webrtc-build.dir/build.make

this is a temporary file you are trying to modify....
On Mon, Apr 3, 2017 at 2:53 PM, 9a4gl<EMAIL_ADDRESS>wrote:

To build latest webrtc master I had to remove libjingle_peerconnection
target in
webrtc/build/CMakeFiles/webrtc-build.dir/build.make
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aisouard/libwebrtc/issues/5#issuecomment-291078351,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAT1njOhzg_fNf6-G5WDlotnVqpr3Nn8ks5rsKxwgaJpZM4KWuIA
.

--
Alex. Gouaillard, PhD, PhD, MBA
President - CoSMo Software Consulting, Singapore
sg.linkedin.com/agouaillard

I know, my point was this target is probably removed in newer webrtc releases and we have to adapt to this change

Another issue, related to ARM. Linking application with libwebrtc.a fails on armbian complaining a lot about missing protobuf. Linking with system one (protobuf or protobuf-lite) does not help.
But linking with ./webrtc/src/out/Release/obj/third_party/protobuf/libprotobuf_lite.a created with libwebrtc helped. IMO, this libprotobuf_lite.a should be part of libwebrtc.a at least for arm.

I'm not used to ARM at all, I just have a raspberry pi 2 model B, but I'd gladly work on its support as soon as I can.
In the meantime, could you please state the toolchain you're using so I can setup Travis to build for ARM efficiently ?
Would that one be enough: https://github.com/raspberrypi/tools ?
Is it enough to just focus on gcc-linaro-arm-linux-gnueabihf-raspbian and gcc-linaro-arm-linux-gnueabihf-raspbian-x64 to support all ARM cpus ? Or are there a lot of variants to take care ?
I also hope that it won't take a lot of time to boot QEMU with an ARM image to test the library under Travis.

Well, I just bought Orange Pi Zero few days ago and started to play with it. I bought the smallest one as it has to fit in my electric rack to control light in house :) I have installed Armbian (Ubuntu Xenial). I wanted also to run webrtc-streamer on it, to show camera on webpage next to buttons to controll lights. So far failed with webrtc on arm. I think libwebrtc use toolchain from ./webrtc/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm. Should I use something else, I have no idea. But so far I am experiencing crashes relaeted to stdlib (stl) in calls between webrtc-streamer and libwebrtc. Looks stl on ubuntu xeinal is not compatible with one linked with libwebrtc.

I prepared sysroot based on ubuntu xenial, is there an easy way to tell libwebrtc build system to use my sysroot ?

I was going to suggest you to replace the whole downloaded sysroot folder inside the libwertc/out/webrtc/src/build/linux directory, until I found something interesting over there: https://github.com/kclyu/rpi-webrtc-streamer/blob/master/BUILD_ubuntu.md
Some gn arguments are very interesting: https://github.com/kclyu/rpi-webrtc-streamer/blob/master/misc/webrtc_build_args.gn
In the meantime, you can add these arguments to gn with the GN_EXTRA_ARGS CMake config variable, for instance:
cmake -DGN_EXTRA_ARGS="arm_float_abi=\"hard\" arm_use_neon=true arm_tune=\"cortex-a7\"
 target_sysroot=\"/path/to/rpi_rootfs\"
 system_libdir=\"/path/to/rpi_rootfs/usr/lib/arm-linux-gnueabihf\"
 gold_path=\"/path/to/rpi_rootfs/tools/arm-linux-gnueabihf/bin\""

Don't forget to check if you need the neon stuff.

I noticed you have sometimes bcm2708 and sometimes bcm27080 in path, check you do not have issues bacause of this typo. I do not have cortex-a7 and bcm2708, so I am afraid I cannot use sysroot as you. My device has allwinner A2+ cpu. I even created ubuntu xenial sysroot, built with it and still have crashes related to stl. I think I will give up, until someone smarter finds solution.

You mentioned about the Orange Pi Zero, that's why I thought about using cortex-a7 as an example.
I'll have more time to build a sysroot during this week, it looks like I'll have to find a microSD card to boot my raspberry pi, install the required development packages such as gtk, then copy all files on my machine. I want this to be done.

Just in case you already do not know, you cannot build webrtc on arm. Build system do not support that and if you try it will soon tell you that. Only way is crosscompile.

Testing under branch arm-support, needs to use an arm gnueabi gcc linker for the static libs.
Got the unit tests working under Raspberry Pi 2, using the provided sysroot located inside the webrtc/src/build/linux/debian_wheezy_arm-sysroot/ folder.
Built with the following command
$ cmake -DTARGET_CPU=arm -DARM_VERSION=7 -DARM_FLOAT_ABI=hard -DARM_THUMB=ON -DARM_FPU=neon-vfpv4 ..

/proc/cpuinfo contents
processor	: 0
model name	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

/etc/issue contents
Raspbian GNU/Linux 8 \n \l

uname -a contents
Linux raspberrypi 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux

It seems that BoringSSL does not support ARMv6, I'll try again and see if I can let the developer provide an external SSL library like WolfSSL.

Attaching rtc_pc_unittests.zip in case someone is interested.

Compiled it successfully for ARMv6
cmake -DTARGET_CPU=arm -DARM_VERSION=6 -DARM_FLOAT_ABI=hard -DARM_THUMB=OFF \
      -DARM_FPU=vfp -DARM_USE_NEON=OFF -DARM_USE_THUMB=OFF ..

BoringSSL is failing because of these lines inside
third_party/boringssl/linux-arm/crypto/chacha/chacha-armv4.S
#if defined(__thumb2__) || defined(__clang__)
#define ldrhsb	ldrbhs
#endif

I have to remove these for now, or use an external sysroot. Maybe I can find a workaround, like specifying the same sysroot in a way that it won't check the value of the is_clang variable.

@aisouard Could you please upload your libwebrtc.a for raspberry pi 1 somewhere? It's impossible for me to get it to build.

I also had quite some difficulties building for ARM (odroid sbc with ubuntu 18.04), this is how I got the code to at least crosscompile (didnt test the result):

I set up the sysroot to the actual target using sshfs sshfs -o idmap=user,follow_symlinks odroid@<IP_ADDRESS>:/ /odroid-sshfs-mount/. I suppose the following also works with one of the supplied sysroots, but didnt try.
Used v60: cmake -DTARGET_CPU=arm -DARM_VERSION=7 -DARM_FLOAT_ABI=hard -DARM_USE_THUMB=ON -DARM_FPU=neon-vfpv4 -DWEBRTC_BRANCH_HEAD=refs/branch-heads/60 ..
Adapted CMakeModules/Gn.cmake, added:

set(_GEN_ARGS ${_GEN_ARGS} system_libdir=\\"/odroid-sshfs-mount/usr/lib/gcc/arm-linux-gnueabihf/8.0.1\\")
set(_GEN_ARGS ${_GEN_ARGS} gold_path=\\"/odroid-sshfs-mount/usr/bin\\")
set(_GEN_ARGS ${_GEN_ARGS} use_sysroot=true)
set(_GEN_ARGS ${_GEN_ARGS} is_clang=false)
set(_GEN_ARGS ${_GEN_ARGS} rtc_enable_protobuf=false)
set(_GEN_ARGS ${_GEN_ARGS} treat_warnings_as_errors=false)

Protobuf is disabled because enabling it tries to run an executable that was build for ARM on the compiling machine for some reason. Dont treat warnings as errors because newer versions of GCC give a couple of extra warnings. Inspiration: https://github.com/mpromonet/webrtc-streamer/wiki/Cross-compile-WebRTC-for-Raspberry-Pi

I also needed to export PKG_CONFIG_PATH=/odroid-sshfs-mount/usr/lib/arm-linux-gnueabihf/pkgconfig

I also tried building on the ARM machine itself, but gn.py uses the gen executable that is supplied for linux x64 and i couldnt figure out how to get an arm executable there..
I will now try with some newer versions, because I'm personally only interested in datachannels and apparently v63 has some way of only building those and leaving out the media stuff..

I would like to build libwebrtc, for use with node-webtrc, to run on Raspberry Pi 3 B+ (armv7), on the latest raspbian stretch OS.
I tried a couple variations of instructions for building this, but have not had any luck.  I get errors about finding not sysroot for jesse.   Even if I had a working jesse sysroot for the build to reference, would a lib built for that be able to run on stretch?
Would the most reliable thing be to link sysroot directly to a running pi using sshfs, as described here?
https://wiki.dlang.org/GDC/Cross_Compiler/Existing_Sysroot#Sysroot_over_SSH
sshfs -o idmap=user,follow_symlinks user@targethost:/ $SYSROOT

I've made some progress with using sshfs on the Rpi3 B+, but I've reached another error that I'm not sure about.   My steps to reproduce are as follows.
Checkout libwebrtc and made branch arm-support up to date with dev:
git checkout arm-support
git rebase dev

(no conflicts)
Created sshfs mount point, pointing to my raspberry pi 3 running raspbian stretch
sudo apt install sshfs
sudo mkdir /rpi3-sshfs-mount
sudo chown `whoami`:`whoami` /rpi3-sshfs-mount
sshfs -o idmap=user,follow_symlinks pi@<IP_ADDRESS>:/ /rpi3-sshfs-mount/
export PKG_CONFIG_PATH=/rpi3-sshfs-mount/usr/lib/arm-linux-gnueabihf/pkgconfig:/rpi3-sshfs-mount/usr/share/pkgconfig

Note there are two paths listed for PKG_CONFIG_PATH, otherwise it would fail on finding xproto.pc which is on the second path on the rpi3.
Appended lines to my CMakeModules/Gn.cmake
set(_GEN_ARGS ${_GEN_ARGS} system_libdir=\\"/rpi3-sshfs-mount/usr/lib/gcc/arm-linux-gnueabihf/6.3.0\\")
set(_GEN_ARGS ${_GEN_ARGS} gold_path=\\"/rpi3-sshfs-mount/usr/bin\\")
set(_GEN_ARGS ${_GEN_ARGS} use_sysroot=true)
set(_GEN_ARGS ${_GEN_ARGS} target_sysroot=\\"/rpi3-sshfs-mount\\")
set(_GEN_ARGS ${_GEN_ARGS} is_clang=false)
set(_GEN_ARGS ${_GEN_ARGS} host_toolchain=\\"//build/toolchain/linux:arm\\")
#set(_GEN_ARGS ${_GEN_ARGS} rtc_enable_protobuf=false)
#set(_GEN_ARGS ${_GEN_ARGS} treat_warnings_as_errors=false)

I wanted to see if I got the same errors as @RemcoTukker before disabling rtc_enable_protobuf and 'treat_warnings_as_errors' so I commented those lines out.  Also is it really necessary to set gold_path, because it appears use_gold=false is a default setting anyways?  Not sure what "gold" does to be honest.
I also edited /webrtc/CMakeLists.txt.in, under libwebrtc_command, I replaced the COMMAND line, which would normally run install-sysroot.py script, with a do-nothing command:
    COMMAND echo skipped
I couldn't figure out how to override the sysroot related variables from outside of the webrtc project, so I have to run make, let it fail, then replace my out/webrtc/src/build/config/sysroot.gni with this:
import("//build/config/chrome_build.gni")

declare_args() {
  # The absolute path of the sysroot that is applied when compiling using
  # the target toolchain.
  target_sysroot = "//rpi3-sshfs-mount"

  # The absolute path to directory containing linux sysroot images

  use_sysroot = current_cpu != "s390x" && current_cpu != "s390" &&
                current_cpu != "ppc64" && current_cpu != "ppc"
}

sysroot = target_sysroot

Basically simplified hardcoded values for target_sysroot and sysroot.  I know this is all terribly hacky, is there some more proper way to override these?  I'm really unfamiliar with this build system.
I think that's all the relevant changes I had to make to get this far.  And the output I get now is:
$ make clean
$ make
[  4%] Creating directories for 'depot-tools'
[  8%] Performing download step (git clone) for 'depot-tools'
-- Avoiding repeated git clone, stamp file is up to date: '/home/thehans/libwebrtc/out/depot_tools/src/depot-tools-stamp/depot-tools-gitclone-lastrun.txt'
[ 12%] No patch step for 'depot-tools'
[ 16%] No update step for 'depot-tools'
[ 20%] No configure step for 'depot-tools'
[ 25%] No build step for 'depot-tools'
[ 29%] No install step for 'depot-tools'
[ 33%] Completed 'depot-tools'
[ 33%] Built target depot-tools
[ 37%] Creating directories for 'webrtc-src'
[ 41%] Performing download step (git clone) for 'webrtc-src'
-- Avoiding repeated git clone, stamp file is up to date: '/home/thehans/libwebrtc/out/webrtc/stamp/webrtc-src-gitclone-lastrun.txt'
[ 45%] Performing patch step for 'webrtc-src'
[ 50%] No update step for 'webrtc-src'
[ 54%] Performing configure step for 'webrtc-src'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thehans/libwebrtc/out/webrtc/build
[ 58%] Performing build step for 'webrtc-src'
[ 14%] Built target webrtc-sync
[ 28%] Built target webrtc-gn
[ 42%] Built target webrtc-clang
[ 57%] Built target webrtc-toolchain
[ 71%] Built target webrtc-clang-format
[ 85%] Generating build files
Done. Made 262 targets from 111 files in 1223ms
[ 85%] Built target webrtc-generate
Scanning dependencies of target webrtc-build
[100%] Running ninja
ninja: Entering directory `out/Release'
[1/2098] CC obj/third_party/boringssl/boringssl/cpu-ppc64le.o
FAILED: obj/third_party/boringssl/boringssl/cpu-ppc64le.o
../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/boringssl/boringssl/cpu-ppc64le.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=\"303369-1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_NO_STATIC_INITIALIZER -DOPENSSL_SMALL -D_XOPEN_SOURCE=700 -I../.. -Igen -I../../third_party/boringssl/src/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -fcolor-diagnostics --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -pthread -mfpu=neon-vfpv4 -mthumb -O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g0 --sysroot=../../rpi3-sshfs-mount -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-auto-raw-pointer -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Werror -Wall -Wno-unused-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -std=c99 -c ../../third_party/boringssl/src/crypto/cpu-ppc64le.c -o obj/third_party/boringssl/boringssl/cpu-ppc64le.o
In file included from ../../third_party/boringssl/src/crypto/cpu-ppc64le.c:15:
In file included from ../../third_party/boringssl/src/include/openssl/cpu.h:64:
../../third_party/boringssl/src/include/openssl/base.h:61:10: fatal error: 'sys/types.h' file not found
#include <sys/types.h>
         ^~~~~~~~~~~~~
1 error generated.
[2/2098] CC obj/third_party/boringssl/boringssl/crypto.o
FAILED: obj/third_party/boringssl/boringssl/crypto.o
../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/boringssl/boringssl/crypto.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=\"303369-1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_NO_STATIC_INITIALIZER -DOPENSSL_SMALL -D_XOPEN_SOURCE=700 -I../.. -Igen -I../../third_party/boringssl/src/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -fcolor-diagnostics --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -pthread -mfpu=neon-vfpv4 -mthumb -O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g0 --sysroot=../../rpi3-sshfs-mount -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-auto-raw-pointer -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Werror -Wall -Wno-unused-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -std=c99 -c ../../third_party/boringssl/src/crypto/crypto.c -o obj/third_party/boringssl/boringssl/crypto.o
In file included from ../../third_party/boringssl/src/crypto/crypto.c:15:
In file included from ../../third_party/boringssl/src/include/openssl/crypto.h:18:
../../third_party/boringssl/src/include/openssl/base.h:61:10: fatal error: 'sys/types.h' file not found
#include <sys/types.h>
         ^~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
CMakeFiles/webrtc-build.dir/build.make:60: recipe for target 'CMakeFiles/webrtc-build-complete' failed
make[5]: *** [CMakeFiles/webrtc-build-complete] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/webrtc-build.dir/all' failed
make[4]: *** [CMakeFiles/webrtc-build.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/webrtc-src.dir/build.make:112: recipe for target 'webrtc/stamp/webrtc-src-build' failed
make[2]: *** [webrtc/stamp/webrtc-src-build] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/webrtc-src.dir/all' failed
make[1]: *** [CMakeFiles/webrtc-src.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

It feels like I'm close.   Not sure what the sys/types.h error is about, but it appears to be attempting something related to ppc64 which is definitely not what I want.  Any ideas on this?

Hey @thehans -- I was wondering if you were able to get this working.


Write unit tests with Mocha and enable travis CI build

https://docs.travis-ci.com/user/languages/javascript-with-nodejs

2.0.0 implements this


New docs!

There is probably a lot to look at here...

Removez docz
Fancy, new, custom Nextjs doc generation

Mostly POC
Should work with all existing MDX files
No "page level" support for MDX files yet

Updates build commands for CI
Updates netlify.toml for publishing

@lordpixel I am merging. Still a lot more to do on the docs, but I think, other than not having prop type documentation, we are almost as good as what docz is without using it. Will have to try to circle around before the end of this patch release to get those on there too. We do want documentation to also ship with out code. That should be non-negotiable if we are going to support developers.
The tricky part to see is if this actually works with deploying to netlify.... we will see in a few min.


fix isvalidpoint

fixes an exception in is_valid_point.

should be fixed now

Do we need to add/run any tests for code here or in ddf-isoscaopes that depend on this?

I did not see anything impacted, but those could have been in branches.


Allows forked repository to run workflow

Allows forked repository to run workflow
Motivation : I have seen that, in this pr, build run fails and since i was unable to run it on my forked repository, i didn't know about this issue unless it was merged by the maintainer.So, to fix that issue this PR has been made.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Codecov Report

Merging #17 (62a7a05) into main (7b67e36) will increase coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   96.87%   97.05%   +0.18%
==========================================
  Files           3        5       +2
  Lines          32       34       +2
  Branches        1        1
==========================================
+ Hits           31       33       +2
  Misses          1        1

Impacted Files
Coverage Δ

styleMock.js
100.00% <0.00%> (ø)

fileMock.js
100.00% <0.00%> (ø)

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 4c654d9...62a7a05. Read the comment docs.

@kbhutani0001 @Abhirup-99


use jetty-bom to simplify dptMngt in top pom

Signed-off-by: Olivier Lamy<EMAIL_ADDRESS>

Thanks!


Could not find branch support-crystal-0.31 for shard "crystglfw"

Hey,
i created a new project. Added this to my shard.yml:
dependencies:
  prism:
    github: da1nerd/prism

and after shards install i run in the following error:
Resolving dependencies
Fetching https://github.com/da1nerd/prism.git
Fetching https://github.com/neutrinog/crash.git
Fetching https://github.com/grottopress/annotation.cr.git
Fetching https://github.com/neutrinog/render_loop.git
Fetching https://github.com/calebuharrison/libgl.git
Fetching https://github.com/exilor/matrix.git
Fetching https://github.com/stumpycr/stumpy_png.git
Fetching https://github.com/neutrinog/crystglfw.git
Could not find branch support-crystal-0.31 for shard "crystglfw" in the repository https://github.com/neutrinog/crystglfw.git

Thanks for the bug report @DevertNet.
I haven't been able to maintain this project at all, but it does look like some fixes to the crystglfw dependency were finally merged in (that was the support-crystal-0.31 branch).
I've updated the shard.yml to use the latest version of crystglfw in #83. Good luck!

Thank you for your quick answer!
I think you need to make a new release on this repo. Because in the last release there is the old shard.yml.
As workaround i added branch: master to shard.yml:
dependencies:
  prism:
    github: da1nerd/prism
    branch: master

Now i can shards install :)
With the demo code from the readme, i run in this error. I use macOS, so i am not sure if still miss something or it is a bug of prism.
Invalid memory access (signal 11) at address 0xa646574
[0x1001c31b8] *Exception::CallStack::print_backtrace:Nil +104 in /Users/leon/.cache/crystal/crystal-run-helloworld.tmp
[0x1001ac13c] ~procProc(Int32, Pointer(LibC::SiginfoT), Pointer(Void), Nil)@/opt/homebrew/Cellar/crystal/1.9.2/share/crystal/src/crystal/system/unix/signal.cr:131 +320 in /Users/leon/.cache/crystal/crystal-run-helloworld.tmp
[0x1897b2a24] _sigtramp +56 in /usr/lib/system/libsystem_platform.dylib
[0x1950e1070] _ZN9libunwind12UnwindCursorINS_17LocalAddressSpaceENS_15Registers_arm64EE4stepEv +48 in /usr/lib/system/libunwind.dylib
[0x1950e3f00] _Unwind_Backtrace +348 in /usr/lib/system/libunwind.dylib
[0x1001b02e0] *Exception::CallStack::unwind:Array(Pointer(Void)) +80 in /Users/leon/.cache/crystal/crystal-run-helloworld.tmp
[0x1001b027c] *Exception::CallStack#initialize:Array(Pointer(Void)) +20 in /Users/leon/.cache/crystal/crystal-run-helloworld.tmp
[0x1001b0254] *Exception::CallStack::new:Exception::CallStack +48 in /Users/leon/.cache/crystal/crystal-run-helloworld.tmp
[0x100197a04] *raise<Exception>:NoReturn +76 in /Users/leon/.cache/crystal/crystal-run-helloworld.tmp
[0x1001979b8] *raise<String>:NoReturn +16 in /Users/leon/.cache/crystal/crystal-run-helloworld.tmp
[0x1002ea818] *Prism::Shader::Loader@Prism::Shader::Loader::load_shader<String, UInt32>:UInt32 +348 in /Users/leon/.cache/crystal/crystal-run-helloworld.tmp

Glad you got the shards to install.
Unfortunately, I was exclusively working on Linux at the time I was developing this library. I think I only ran it once on Mac, and it was quite buggy. Also, the Mac I ran it on had an old Intel processor, not the new M1/M2 Apple chips.
I have dreams of resurrecting this project, but that's not going to be for awhile. Good luck.


Admins can Set/Change the timezone of someone else

let admins be able to set timezones for people in the server by default atleast
and give the user the option to not allow admins to change their timezone

#26 would make setting the timezone much easier, especially for servers where setting a default timezone for the server makes sense
a caveat for server timezones is it might be confusing when their timezone works in one server but not in another, alternatively it could default to the server-set timezone unless they changed it manually, but that might be even more confusing
i think a better option for restricting timezone modify access for some admins is a flow like

admin runs /change_other_user_timezone {user} (ideas on a better name?)
bot follows the same /timezone flow
sends a message saying {moderator} would like to change your timezone to {timezone} with buttons saying allow and deny
when the user clicks allow, it changes the timezone
when any button is clicked, it deletes the message

with this approach the moderator permissions requirement could be lifted too

for changing timezones this works, but when the other user doesnt have a timezone set yet, they dont have to have permission if theyre a moderator

i think timezone being set for a user out of the blue would be confusing, especially when it's wrong
alternative (or additional) approach, allow moderators (or users?) to execute a /send_timezone_setter_message (ideas on naming?), which sends a message click change to change your timezone to {timezone}, which they can pin to let others change their timezone with just a click, this addition might even make #26 redundant

expanding on the last comment, because i think it solves this issue with the least work

.../pin_timezone_setter command for moderators! with an optional timezone option

when timezone is given, it sends a message with a button saying set your timezone to {timezone}
when it isn't, it sends the regular old message sent on /timezone but this time not ephemeral

this makes it work like custom role bots
it also means the flow for #26 should be changed so that its not dependent on /timezone being used


Sema: Change behavior of implied 'Sendable' conformance

Today, this gives you a conditional conformance to Sendable in Swift 5 and 6 language mode:
protocol P: Sendable {}
struct G<T> {}
extension G: P where T: P {}
// implied: extension G: Sendable where T: P {}

Change this so that in Swift 5 mode, the implied conformance is unconditional:
extension G: P where T: P {}
// implied: extension G: Sendable {}

And ban it outright in Swift 6 mode:
extension G: P where T: P {}  // error

Fixes rdar://95695543.
Fixes rdar://122754849.
Fixes https://github.com/swiftlang/swift/issues/71544.

@swift-ci Please smoke test


request: move from Github

what?  why?

github is a stupidly designed website, also proprietary software.And there is better alternative out there.

Ah, I understand.  You got blocked (or someone you care about got blocked) -- possibly because of geopolitical reasons or a failure to follow github's policies.
So no, I won't be moving.  Pretty much the entire open source world is on github.


feat: ledger instructions popover

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #5531   👈

This comment was auto-generated by Graphite.


Narrow section border in parent page

Lines on both sides of FAQs and Student Outcomes Headers should be narrower.

Removed !important from css style

Great work and screenshots!!!
Can this be done without !important?

Removed !important from css style

@mohit-codecombat  Did you mean to close the PR?

@mohit-codecombat Did you mean to close the PR?

No, Sorry It was by mistake. Reopened again.


Why only in the terminal in which I installed .Net core?

Problem encountered on https://dotnet.microsoft.com/download/dotnet-core/thank-you/sdk-3.1.100-linux-arm32-binaries
Operating System: linux
Well as many other beginners I believe: How to make dotnet work in every terminal that I open? It's mentioned but not explained to detail on dotnet.microsoft.
Thx, over an out

Try this. Add the following line to the end of your .profile file:
PATH=$PATH:$HOME/dotnet

You'll need to restart your shell (or just type bash again).


ECS-Cluster Cloud-Init Sequence Yields Yaml Parsing Errors for Private Docker Registry Auth

The last ecs-cluster cloud-init sequence deals with private docker registry authentication:
- echo 'ECS_ENGINE_AUTH_DATA=${docker_auth_data}' >> /etc/ecs/ecs.config
The problem is that the auth is in the form of JSON which causes Yaml parsing issues due to the colons present.

Do you have an example of the error, as well as a value for docker_auth_data that triggers it?

@achille-roussel You'll find entries like this in your /var/log/cloud-init-output.log:
util.py[WARNING]: Failed loading yaml blob
The EC2 instance won't execute any of the sequences if it encounters any yaml issues.
I've just submitted PR #80 which resolves this issue.

@achille-roussel And an example value is:
{"private.docker.registry.com": {"auth": "test-token","email"<EMAIL_ADDRESS>The problem is the colons coming from the JSON format.

If anyone runs into this in the future, I needed to add a chomp due to a newline being inserted somewhere in the process of loading data into docker_auth_data
"${chomp(var.docker_auth_data)}"


App crashes while in background

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Do nothing
See error

Smartphone (please complete the following inform

Device: Xiaomi Redmi Note 7
OS Version: Android 10 with MIUI 12
App Version: v2.2.2 (125)

I hope I have fixed this problem in the latest betas. Let me know if the problem persists.

I hope I have fixed this problem in the latest betas. Let me know if the problem persists.


Make respec timeouts configurable

I am trying to use this action with a respec project that makes heavy use of markdown. The transpilation into static html seems to be quite resource intensive. This causes this action to fail, see logs [1]. I'm quite sure that this because there's a timeout of 20 seconds hardcoded in this action [2].
My feature request thus is to introduce a new configuration parameter RESPEC_TIMEOUT that defaults to 20 and can be set in each workflow.
[1]
Generate Static HTML
  [INFO] Build respec document "index.html" (common)…
    $ respec -s "http://localhost:3000/index.html" -o "index.html.built.html" --verbose -t 20 -e
      [INFO] [Timeout: 20000ms] Processing resource: http://localhost:3000/index.html ...
      [INFO] [Timeout: 20000ms] Launching browser
      [INFO] [Timeout: 19203ms] Navigating to http://localhost:3000/index.html
  Error: ROR] undefined
      [INFO] [Timeout: 18884ms] Navigation complete.
      [INFO] [Timeout: 18857ms] Using ReSpec v35.1.1
      [INFO] [Timeout: 18856ms] Processing ReSpec document...
      [FATAL] Error:
      😭  Sorry, there was an error generating the HTML. Please report this issue!
      Specification: http://localhost:3000/index.html
      ReSpec version: 35.1.1
      File a bug: https://github.com/speced/respec/
      Error: undefined

          at generateHTML (file:///home/runner/work/_actions/w3c/spec-prod/v2/node_modules/.pnpm/respec@35.1.1_typescript@5.4.5/node_modules/respec/tools/respecDocWriter.js:233:11)
          at async toHTML (file:///home/runner/work/_actions/w3c/spec-prod/v2/node_modules/.pnpm/respec@35.1.1_typescript@5.4.5/node_modules/respec/tools/respecDocWriter.js:100:18)
          at async run (file:///home/runner/work/_actions/w3c/spec-prod/v2/node_modules/.pnpm/respec@35.1.1_typescript@5.4.5/node_modules/respec/tools/respec2html.js:254:38)
          at async file:///home/runner/work/_actions/w3c/spec-prod/v2/node_modules/.pnpm/respec@35.1.1_typescript@5.4.5/node_modules/respec/tools/respec2html.js:215:5
    Command `respec -s "http://localhost:3000/index.html" -o "index.html.built.html" --verbose -t 20 -e` failed with exit code: 1.
  Error: Process completed with exit code 1.

[2] https://github.com/w3c/spec-prod/blob/796e4101600225fe24d1e967416e348fefdcc266/src/build.ts#L102

A more general way would be to pass BUILD_FLAGS which would allow passing custom parameters to either respec/bikeshed. We've the setup in place, just need to add an input.

Thanks, Sid, for picking this up. In either case, it'd be good to remove the hardcoded 20 sec timeout. I don't know how respec would behave if the -t parameter was passed twice.

I don't know how respec would behave if the -t parameter was passed twice.

That's something I need to fix on ReSpec side (it parses it as: timeout: [20, 30])


Improve documentation on how to use the library

The current documentation is copied from the READMEs of d3's modules, e.g. d3-shape, d3-axis. It is... quite opaque if you are not already familiar with such modules.
I propose making it much clearer that there are two ways to consume the library:

in a browser with a script tag (added to the d3 global variable)
using a bundler such as webpack or rollup (import or require as needed)

See #31 for a good example of the docs confusing a user.

README updated with #160