Connect to a custom scenario

So in the example codes, I'm seeing a new instance of BeamNG being opened and creating a brand new scenario. I was wondering if it's possible to connect to an already running instance of BeamNG or to open a specific custom scenario

Hi, it is possible to connect to an already running instance of BeamNG. However, that instance must be created with arguments that allow the BeamNGpy library to connect. BeamNGpy spawns the simulator with these command-line arguments:
Bin64\BeamNG.tech.x64.exe -rport 64256 -nosteam -console -physicsfps 4000 -lua registerCoreModule('tech/techCore')

Then, you will be able to connect to the existing simulator with the usual way:
from beamngpy import BeamNGpy

beamng = BeamNGpy('localhost', 64256)
beamng.open()

It is also possible to open a specific custom scenario. You use the path argument of the Scenario class for that. You can load either scenarios created with BeamNGpy before or also the ones already existing in the simulator:
from beamngpy import BeamNGpy, Scenario, ScenarioObject, Vehicle

beamng = BeamNGpy('localhost', 64256)
beamng.open()

scenario = Scenario('italy', 'electricHypermilling', path='/levels/italy/scenarios/electricHypermilling.json')
beamng.scenario.load(scenario)
beamng.scenario.start()

vehicles = scenario.vehicles
ego = next(iter(vehicles.values()))
print(f'Connected: {ego.is_connected()}')
ego.control(throttle=1.0)

Hi, scenario.vehicles is a dictionary of all the vehicles found in the scenario. You should change the line vehicle = scenario.vehicles to vehicle = next(iter(scenario.vehicles.values())) and I think the problem you are having should be gone.

Thank you for the quick response. Unfortunately getting an error "StopIteration" at line 33, the warning messages do get resolved though.

Yes, one other small thing, scenario.vehicles contains the list of vehicles of an existing scenario only after it gets loaded. I tested this code and it seems to behave correctly:
import threading
import time

import matplotlib.pyplot as plt
import numpy as np
import openpyxl
import pandas as pd
import seaborn as sns
from beamngpy import BeamNGpy, Scenario, Vehicle, angle_to_quat
from beamngpy.sensors import Electrics

sns.set()  # Make seaborn set matplotlib styling

# Instantiate a BeamNGpy instance the other classes use for reference & communication
# This is the host & port used to communicate over
# beamng = BeamNGpy('localhost', 64256)
beamng = BeamNGpy('localhost', 64256, home='T:/BeamNG/BeamNG.tech.v<IP_ADDRESS>')
beamng.open()

scenario = Scenario('italy', 'electricHypermilling', path='/levels/italy/scenarios/electricHypermilling.json')

beamng.scenario.load(scenario)
beamng.scenario.start()  # After loading, the simulator waits for further input to actually start

vehicle = next(iter(scenario.vehicles.values()))
electrics = Electrics()
vehicle.sensors.attach('electrics', electrics)

vehicle.ai.set_mode('disabled')

positions = []
directions = []
wheel_speeds = []
throttles = []
brakes = []
steerings = []  # New list to store steering values

vehicle.sensors.poll()
sensors = vehicle.sensors

print('The vehicle position is:')
print(vehicle.state['pos'])

print('The vehicle direction is:')
print(vehicle.state['dir'])

print('The wheel speed is:')
print(sensors['electrics']['wheelspeed'])

print('The throttle intensity is:')
print(sensors['electrics']['throttle'])

print('The brake intensity is:')
print(sensors['electrics']['brake'])

# Function to update vehicle controls based on user input
def update_controls():
    while True:
        user_input = input("Enter throttle, brake, and steering values (separated by space), or 'q' to quit: ")
        if user_input.lower() == 'q':
            # Quit the program
            beamng.close()  # End the scenario and close the connection to the simulator
            return False
        inputs = user_input.split()
        if len(inputs) != 3:
            print("Invalid input. Please enter throttle, brake, and steering values.")
            continue
        try:
            throttle = float(inputs[0])
            brake = float(inputs[1])
            steering = float(inputs[2])
            if throttle < 0 or throttle > 1 or brake < 0 or brake > 1:
                print("Throttle and brake values should be between 0 and 1.")
                continue
            if steering < -1 or steering > 1:
                print("Steering value should be between -1 and 1.")
                continue
            vehicle.control(throttle=throttle, brake=brake, steering=steering)
            break
        except ValueError:
            print("Invalid input. Throttle, brake, and steering values should be numeric.")

# Function to collect sensor data
def collect_data():
    while True:
        time.sleep(0.5)
        vehicle.sensors.poll()  # Polls the data of all sensors attached to the vehicle
        sensors = vehicle.sensors
        positions.append(vehicle.state['pos'])
        directions.append(vehicle.state['dir'])
        wheel_speeds.append(sensors['electrics']['wheelspeed'])
        throttles.append(sensors['electrics']['throttle'])
        brakes.append(sensors['electrics']['brake'])
        steerings.append(sensors['electrics']['steering'])

# Create separate threads for user input and data collection
input_thread = threading.Thread(target=update_controls)
data_thread = threading.Thread(target=collect_data)

# Start the threads
input_thread.start()
data_thread.start()

# Wait for both threads to finish
input_thread.join()
data_thread.join()

beamng.close()  # End the scenario and close the connection to the simulator

# Create a DataFrame using the collected data
data = {
    'Position': positions,
    'Direction': directions,
    'Wheel Speed': wheel_speeds,
    'Throttle': throttles,
    'Brake': brakes,
    'Steering': steerings
}
df = pd.DataFrame(data)

# Save the DataFrame to an Excel file using openpyxl explicitly
with pd.ExcelWriter('vehicle_data.xlsx', engine='openpyxl') as writer:
    df.to_excel(writer, index=False)

plt.plot(throttles, 'b-', label='Throttle')
plt.plot(brakes, 'r-', label='Brake')
plt.plot(steerings, 'g-', label='Steering')
plt.legend()
plt.show()
plt.clf()

x = [p[0] for p in positions]
y = [p[1] for p in positions]
plt.plot(x, y, '.')
plt.axis('square')
plt.show()
plt.clf()

angles = [np.arctan2(d[1], d[0]) for d in directions]
r = wheel_speeds
plt.subplot(111, projection='polar')
plt.scatter(angles, r)
plt.show()

This works perfectly, thank you!


Problem with Typescript declaration

When I try to build this I got an error:
node_modules/pdf2pic/dist/index.d.ts(2,25): error TS2307: Cannot find module '@module/types/convert' or its corresponding type declarations.
node_modules/pdf2pic/dist/types/convert.d.ts(1,36): error TS2307: Cannot find module '@module/types/writeImageResponse' or its corresponding type declarations.
node_modules/pdf2pic/dist/types/convert.d.ts(2,34): error TS2307: Cannot find module '@module/types/toBase64Response' or its corresponding type declarations.

---Edit:
Temporarily I solved this issue by adding to compilerOptions property: "skipLibCheck": true

i don't think it would actually matter when it's built, when installed via NPM those type imports won't be accessible from outside. But yea, you can use skipLibCheck to fix it.


UI: indicate why buttons are disabled while onroad

The abbreviated text and non-upper casing is because the button sizes
seem to be hardcoded.
Not sure if the code quality is up to snuff, but this was what I could
hack in and get working.
I just got really tired answering these kinds of Discord questions:
https://discord.com/channels/469524606043160576/728680686101463062/876213799198294046
https://discord.com/channels/469524606043160576/538741329799413760/847980306766233671
https://discord.com/channels/469524606043160576/524327905937850394/841496197025628220
https://discord.com/channels/469524606043160576/524592892627517450/832061398569189427
https://discord.com/channels/469524606043160576/524592892627517450/835642789890359318
https://discord.com/channels/469524606043160576/524592892627517450/842170990280835173
Offroad is still the same:

Onroad is not, and the button is still disabled:

I can do a similar one for the "Device" buttons if this passes muster.

I agree this is confusing, but I can already see the "what is veh.?" questions. We'll think about a better way to handle this as this also applies to most of the toggles.

I agree this is confusing, but I can already see the "what is veh.?" questions. We'll think about a better way to handle this as this also applies to most of the toggles.

I'm not too attached to the wording. "Turn off car" still fits fine and was an earlier string (it's even in the branch name). It's just a cosmetic issue for non-cars.  What do you think about "Turn off car" for the interim? Even if it's not final, maybe some usage data and anecdotes could be gleaned from this non-perfect solution.

Fully agreed about the user confusion, I've had three or four people ask me why the Uninstall button doesn't work, and it turns out their car is running. That said...

I'm not too attached to the wording. "Turn off car" still fits fine and was an earlier string (it's even in the branch name). It's just a cosmetic issue for non-cars. What do you think about "Turn off car" for the interim? Even if it's not final, maybe some usage data and anecdotes could be gleaned from this non-perfect solution for a future more proper revision.

It would probably be best to pop up a dialog with more room for a clear explanation, the same dialog code that pops up for reboot or recalibration. You could do that in addition to graying out the button exactly as it's done today. Remember that we need room to explain the situation clearly not just in English, but in every language the localized UI will support in the future, and we may not be able to find sufficiently clear and compact phrases for all those languages.

It would be very weird and poor discoverability to have a dialog behind a "disabled" button.
Yeah, and you're right, a cursory look at some translations of "Turn off car" shows not all of them would fit into the button. 🤔

I'm going to close this as it'll just sit around for a bit. I talked with @alexcomma, and we don't want to merge this as is. However, we'll keep this in mind as new design is done.

Sounds good! Looking forward to the new design.


How to change interval on iOS?

       const INTERVAL = 600 * 1000; // 10 minutes

        window.BackgroundGeolocation.configure({
          desiredAccuracy: window.BackgroundGeolocation.HIGH_ACCURACY,
          stationaryRadius: 50,
          distanceFilter: 50,
          notificationTitle: 'Background tracking',
          notificationText: 'ENABLED',
          debug: false,
          startForeground: true,
          startOnBoot: true,
          stopOnTerminate: false,
          activityType: 'OtherNavigation',
          pauseLocationUpdates: false,
          saveBatteryOnBackground: false,
          locationProvider: window.BackgroundGeolocation.DISTANCE_FILTER_PROVIDER,
          interval: INTERVAL,
          fastestInterval: INTERVAL,
          activitiesInterval: INTERVAL
        });

I know the interval properties are only for Android, but is there any similar system at all for iOS? On Android the location updates every 10 minutes, but on iOS it's every 1 minute.

This is not possible on iOS. Because of limitation of ios, it could be implemented in foreground mode only.

@mauron85 I have this issue as well and your comment does absolutely nothing to help. Clearly it must work in some capacity because otherwise how do you implement background location tracking on iOS?
Right now in my app it's implemented in it gets the location every single minute, and that uses about 35-40% of battery life in a day.
There has to be a workaround, otherwise you might as well remove iOS from the package entirely with background location tracking.

I'm sorry that this plugin didn't fulfil your expectations.

There has to be a workaround, otherwise you might as well remove iOS from the package entirely with background location tracking.

One would expect some degree some degree of gratitude, but well let's keep this upon my consideration. OK?
The problem is iOS LocationProvider doesn't have timeouts. Some libraries are doing interval polling by setting timer. The problem is that timers don't fire when app is in background. So I don't want to spend time implementing something that actually I wont use. However if something implement this as separate location provider (as we have RAW, DISTANCE, ACTIVITY). I would merge it.

Sorry, I don't mean to seem unappreciative it's just that this is one of the only working repo's  and I've hit a few roadblocks, with this being one of them.
If you were in my shoes what next step would you take? I'm trying to poll every 10 or 15 minutes, because that would use 10-15 times less battery than it currently is using (assuming it works like that)
I'll look into it more and see what I can dig up

If I were in your shoes. First I would reconsider, if I just can't make it happen with existing solution (adjust my expectations). And if that's really hard requirement, that can't be changed, I would implement new LocationProvider. Later I would push PR to this repo so other can benefit too (describing all it's limitations). Also I don't recommend you to "outsmart" apple and do some crazy workaround, or it can end like https://github.com/mauron85/cordova-plugin-background-geolocation/issues/394 (not saying it's your case).

@mauron85
This plugin is not working properly,
As my config looks like :
let config = {
		desiredAccuracy: 0,
		stationaryRadius: 10,
		distanceFilter: 20,
		stopOnTerminate: false,
		startOnBoot: true,
		startForeground: true,
		locationProvider: 1,
		interval: 10000,
		fastestInterval: 5000,
		activitiesInterval: 10000,
		url: "https://.........",
		method: "POST",
		httpHeaders: {
			'content-type': 'application/json'
		},
		autoSync: true,
		maxDaysToPersist: 1,
		params: {
			latitude: '@latitude',
			longitude: '@longitude',
			username : global.nav_username,
			auth_key : global.nav_auth_key
		},
		notificationTitle: 'Background tracking',
		notificationText: 'enabled',
		debug: true
	};

But it does not send the location to the server.
Although I have provided of 10000 milliseconds it updates the lat, long in 2-3 seconds.
If the device is at the stationary position then also it updates the location.


Could not compiler in Raspberry Pi Codeblocks

I was download from githhub and cmake & make install it. Install process show as follows.

I add  <sio_client.h> <sio_message.h> <sio_socket.h> into project common header, compiler failure. show as follows.

I try to add linker show as follows.

And add compiler path

Add linker path, too.

But, there are still can not work!?
Please support me how to solve it, thanks.

Hi, can you give me a sample of the file that you are trying to compile?

Hi Joan,
Please see sample code link: https://github.com/linuxrd007/sample.git
Thank you.

Hi @linuxrd007 thanks for the sample project. It seems that your project is a C project while the socket.io library is a C++ library. If you want to use this library you'll need to change your project to C++.

Hi @jmigual,
I chose C++ when I start this project at first, but still can not compiler.

Should I download release version(v3.1.0) to test again?
Thank you.

Hi @linuxrd007 yes download the newest release version as the issue you are having is with missing Boost libraries which were removed in the 3.0.0 release.

Hi @jmigual,
v3.1.0 was include Boost libraries? If not, which is the suggested source code?
Thank you.

Hi @linuxrd007,
v3.1.0 does not need the boost libraries. They were removed so you don't need to install them.

Hi @jmigual,
asio/
catch/
rapidjson/
websocketpp/
Are there 4 more libaries need to install by myself, which are the suggested source code?
Thank you.

As far as I know these are the only libraries that you need. Also, catch is only needed if you want to test socket.io

Hi @jmigual,
I found the library as follows:
asio/ : https://github.com/chriskohlhoff/asio
catch/ : https://github.com/catchorg/Catch2
rapidjson/ : https://github.com/Tencent/rapidjson
websocketpp/ : https://github.com/zaphoyd/websocketpp
Socket.IO/ : https://github.com/socketio/socket.io-client-cpp/releases
re-build source code by "cmake" & "make install".

Create new project for pure C++ in Raspberry Pi, but it still error occur.

new sample please clone: https://github.com/linuxrd007/sample.git
The project is pure C++ and only add socket.io source file, but still error occur!?
Please support me, thank you.

You should follow the installation without CMake instructions: https://github.com/socketio/socket.io-client-cpp/blob/master/INSTALL.md#without-cmake
Clone the repository as a submodule in your project. The asio library version that we are using is not the latest one.

Hi @jmigual,
Follow the installation without CMake instructions method is work, thank you.

Don't link asio, rapidjson and webpsocketcpp as they are header-only libraries.


Added Data Prepper Expression Grammar

Description
Added data-prepper-script package.
Added Antlr grammer file for DataPrepperScript (when statement) syntax from #522
Testing will be added in a follow up PR
Issues Resolved
n/a
Check List

[ ] New functionality includes testing.
[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks for making the changes to the order of parser and lexer rules.

That was a good suggestion. I think it makes it much easier to read now.

Nice work! And thanks for making some of those changes. I only wish I could have approved it as well. :)


How to Judge App Running in Front or Background

How to Judge App Running in Front or Background

use WidgetsBinding

谢谢

helped me lot


[MCS-DE-GO] Ability to rename Intents in Triggers and Actions

@joaollq @goergenj @garypretty

Closing as its a dupe
#1361


[Gluten-2967][CH] add a switch to control int type infer reading with excel format

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #2967)
How was this patch tested?
add new test case in GlutenClickHouseFileFormatSuite

Run Gluten Clickhouse CI


Experiment speed issue

Sometimes, experiment (callback) is being processed slowly, although incoming data are being inserted into database (ElasticSearch) swiftly.
We should be able to reproduce this if it occurs again.

hard to reproduce

also related with user study & to see if it's happening too often & annoying to the user


Warnings reproduced from previous issue and redundant file "pds.log"

Reproduced the warning from previous issue #28. Propose fix in new PR, need to update documentation

I had removed the file pds.log and created sdt.log in it's place. Somehow it's recreated, not needed

closing this issue since Divya will be making PR along with doc changes


I have the font size increase on linux after deploy my appllication

I think it is phantomjs issue we use CSS {zoom: 0.7;} on Linux as a workaround

I think it is phantomjs issue we use CSS {zoom: 0.7;} on Linux as a workaround

Thank @real-artswan for your response, I changed zoomFactory and height and width that solve my problem.

To fix the above issue ,

worked thanks :-)


recursive cte triggers "java.lang.NullPointerException"

Description
While coding recursive cte queries DBeaver constantly pops up alerts as you type - literally at every keypress!
"'SQL editor markers refresh' has encountered a problem.
An internal error has occurred."
Clicking "Details > >" then displays :
"An internal error has occurred.
java.lang.NullPointerException"
Notes:

the code being written does execute successfully.
Source connection is AWS Redshift

DBeaver Version
Community <IP_ADDRESS>408041450
Operating System
Windows 11
Database and driver
AWS Redshift JDBC42 [<IP_ADDRESS>]
Steps to reproduce
Example code in SQL tab:
SET enable_case_sensitive_identifier TO true;

with recursive cte ("top", "path", "parent", "child", "level")
as (
	-- TOP LEVEL items the are not children to others
	select
		p.containerdescriptor as "top",
		p.containerdescriptor as "path",
		p.containerdescriptor as "parent",
		p.memberdescriptor as "child",
		1 as "level"
	from
		azdo.vw_memberships p
	where
		p.containerdescriptor not in (select distinct ii.memberdescriptor from azdo.vw_memberships ii)
	union all
	select
		c."top",
		c."path" || '_' || e.containerdescriptor as "path",
		e.containerdescriptor as "parent",
		e.memberdescriptor as "child",
		level + 1 as "level"
	from
		azdo.vw_memberships as e
		, cte as c
	where
		e.containerdescriptor = c."child"
		and c."level" < 4
)
select *
from cte
where level > 2
limit 100

Additional context
No response

Hello @simonB2020,
Please provide log files: https://github.com/dbeaver/dbeaver/wiki/Log-files

We can't reproduce the issue. And it's been a while since no update here. If the issue is still actual please let me know and provide log files.


Support Collapse/Expand a container via Custom Links

Is that possible to use custom links in order to collapse/expand a particular container via its ID?
I saw toggle/show/hide but no collapse/expand/toggle container feature.
https://desk.draw.io/a/tickets/35943

Asked for online version also
"I can expand or collapse a container by clicking on the '+' or '-' box on the top left corner of a container. I was wondering if I can make a Custom Link that toggles the expand/collapse function for ALL containers."
https://desk.draw.io/a/tickets/13000

I think this would be a very useful feature.

I think this would be a very useful feature.

To vote for an issue thumbs up the original comment.

To vote for an issue thumbs up the original comment.


Substrate Public key finder

Is your feature request related to a problem? Please describe.
To support substrate a public key finder is required.
Describe the solution you'd like
Implementation of PubKeyFinder interface
// PubKeyFinder find public key to encrypt message with
type PubKeyFinder interface {
	PublicKeyFromAddress(ctx context.Context, network string, address []byte) ([]byte, error)
}

Describe alternatives you've considered
N/A
Additional context
The public key can be calculated from the address, To extract a public key from a substrate address, the following steps need to occur:

Decode the address from base58
Remove the 1st byte (network identifier) & last 2 bytes (blake2b hash)

/assign @yourself

/assign @robdefeo


Improve frontend static asset files size

Home page first time access, then will loading big static asset files, has a very bad experience

@zhongjixiuxing how do we fix it?

Unresolvable


Bad DM+D name "Generic"

This is for starch powder
https://openprescribing.net/all-england/190700000AABABA/price-per-unit/?date=2019-04-01

Duplicate of #1770.


[to-do] Cloning

Need a segment in the docs for cloning the repo, if its to be the base of a project. Also information on how to change a repositories url and safely remove fe-skeletons maybe beneficial for those not in the know.

By this you mean a paragraph on how to delete the .git folder which would leave you free to git init as a whole new project, right?

I don't think we should be encouraging people to delete .git, simply changing the origin remote would preserve the history which IMO is very valuable


Agent name backwards compatabiltiy

The jenkins name change here: https://github.com/jenkinsci/docker-jnlp-slave/commit/96c1c94 was a breaking change for me when I upgraded my Jenkins cluster.
Make this commit backwards compatabile. @carlossg

thanks for the fix!


Isolate.resolvePackageUri crashes with RangeError

In an isolate with a package config that includes a mapping for path, The code Isolate.resolvePackageUri("package:path") crashes with the following error:
RangeError: Value not in range: 5
#0      _StringBase.substring (dart:core-patch/string_patch.dart:365)
#1      _resolvePackageUri (dart:_builtin:298)
#2      _resolvePackageUriFuture.<_resolvePackageUriFuture_async_body> (dart:_builtin:757)
#3      _RootZone.runUnary (dart:async/zone.dart:1137)
#4      _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:551)
#5      _Future._propagateToListeners (dart:async/future_impl.dart:637)
#6      _Future._completeWithValue (dart:async/future_impl.dart:424)
#7      _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:479)
#8      _microtaskLoop (dart:async/schedule_microtask.dart:41)
#9      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#10     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#11     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)

I'd expect this to return the URI associated with the path package in the config map.

It shouldn't fail that way.
The URI isn't a valid "package:" URI because it doesn't have a slash after the package name, but the VM builtin.dart code seems to assume that the slash is there.
What happens if you have an import "package:path"; in your code?

The URI isn't a valid "package:" URI because it doesn't have a slash after the package name, but the VM builtin.dart code seems to assume that the slash is there.

Why isn't it valid? I don't think we have a concrete specification for valid package: URIs, and it's pretty clear from the user's perspective that it refers to the directory that contains path's contents. That's how it works if you're using a package root.

What happens if you have an import "package:path"; in your code?

It doesn't work. That URI refers to a directory, not a file.

URIs have a nice and (somewhat) consistent specification. Package-URIs are ... not matching that specification very well.
I have tried to specify how a package URI is interpreted for the package-spec DEP and in the resource package (although I'm not entirely sure how much of that ended up in the package documentation).
In the perfect world, a package URI would be "package://path/something" with the first "path" not being part of the hierarchical path. That's how we try to treat it anyway.
That means that "package:file" is not specifying a directory. The "file" is not a directory, it's a package selector. We could default that to meaning the same as "package:file/", but it is a different URI (read as plain URIs, the former is a file, the latter is a directory).

In the perfect world, a package URI would be "package://path/something" with the first "path" not being part of the hierarchical path. That's how we try to treat it anyway.
That means that "package:file" is not specifying a directory. The "file" is not a directory, it's a package selector. We could default that to meaning the same as "package:file/", but it is a different URI (read as plain URIs, the former is a file, the latter is a directory).

If we're using an analogy to more common URI schemes, I'd expect package:path to work the same as http://host, which is resolved the same as http://host.

If you do Uri.parse("package:file").resolve("file.dart"), you get the URI package:file.dart.
If you do Uri.parse("package:file").resolve("/file.dart"), you get the URI package:/file.dart.
It just doesn't work very well without the slash.

But you said above that you try to treat package:path as package://path. Uri.parse("package://path").resolve("file.dart") returns package://path/file.dart.
All this debate over URI semantics is kind of beside the point, though. It's clear what the user means when they write package:path. It costs nothing to make it work. That should be enough to do so.

Crash in VM builtin --> @iposva-google.

Out for review: https://codereview.chromium.org/1822863002

Fixed with 3b2a695d71057f3a538f79f48a96f6bdca2474bb


Fixed a few concepts links

1. Description of changes:
Fixed a few broken links.
4. Does this change impact docs?

[X] Yes, PR includes docs updates
[ ] Yes, issue opened: link to issue
[ ] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

3:25:51 PM: ERROR 2022/01/18 23:25:51 [en] REF_NOT_FOUND: Ref "./getting-started": "/opt/build/repo/website/content/en/preview/concepts/_index.md:27:40": page not found

Looks like you might've missed one
 3:25:51 PM: ERROR 2022/01/18 23:25:51 [en] REF_NOT_FOUND: Ref "./getting-started": "/opt/build/repo/website/content/en/preview/concepts/_index.md:27:40": page not found

Ah, okay. I'll check that.


Automate Elixir dependency updates

Hey, I noticed you were using Renovate for automated JavaScript updates, and wondered if you'd be up for giving Dependabot a go for automated Elixir dependency updates. I built it, and it's totally free for open source projects (and always will be) - I'm just trying to get more people using it. :octocat:

@greysteil Thanks! I'll look into it.


Grabbing focus when calling debugger.display_html

Which OS: MacOS 10.13
Which extension version: 0.8.9
Which LLDB version: lldb-370.0.42
Which VSCode version:  1.27.2
What is the problem and how did you get there:
When using the debugger.display_html() (like described in e.g. https://github.com/vadimcn/vscode-lldb/wiki/Data-visualization) the new panel grabs the focus. This is not optimal in general and integrates especially poorly when using the python expressions calling debugger.display_html in Watch window. For example, you cannot add new watch expression anymore, because the VsCode for some reason reevaluates all the expressions, which grabs the focus away from Watch window.
What did you expect to have happened instead: either not changing the focus when calling debugger.display_html or at least have an option in debugger.display_html to not change the focus.

I've found that replacing commands.executeCommand('vscode.previewHtml', ...) with newer WebkitPanel APIs fixes this and am willing to create a PR, but this raises the vscode dependency to 1.21. Is this something you will be interested in merging?

WebkitPanel? Not sure what you are referring to...  Linky?

Sorry, misspelled the webview =) https://code.visualstudio.com/docs/extensions/webview

CodeLLDB now uses webviews to render HTML.


Fix builder with no custom parameters

@NicolasDorier this PR fixes a defect when we use custom (non-default) value for the M parameter (something we do in Wasabi Wallet).
We have added more tests covering the previously uncovered code.
I have never before asked you to do this but, could you merge it and generate a new version with this PR, please?
Thank you very much.

done .13


[Bug] When converting JWT tokens System.OverflowException is used internally for control flow

Which version of Microsoft.IdentityModel are you using?
Note that to get help, you need to run the latest version.
System.IdentityModel.Tokens.Jwt 6.12
Where is the issue?

[x] S.IM.Tokens.Jwt

Is this a new or an existing app?
This is an existing app in production, the issue has always been there. But it's not critical, just log spam.
Repro
Log FirstChanceExceptions and do a request using a jwt token. When trying to read any jwt token that has dates, such as exp later than year 2038. (Unix time larger than Int32.MaxValue).
Expected behavior
Expecting no exceptions to be thrown internally, even exceptions that are caught by the program itself.
Actual behavior
Each time a request is done using a jwt token for authentication. If the jwt token has dates larger than Int32.MaxValue, an exception is thrown and caught internally in GetIntClaim. This causes log spam is the FirstChanceExceptions are logged.  This is an anti-pattern, decrease performance slightly.
The exception is thrown here:
https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/82fda2c0ae2e6c623dcdb137b1ebcba918236d32/src/System.IdentityModel.Tokens.Jwt/JwtPayload.cs#L616
[2023-01-03 23:00:05Z DBG] FirstChanceException event raised in xxxxxxxxxxx
System.OverflowException: Value was either too large or too small for an Int32.
   at System.Convert.ToInt32(Double value)
[2023-01-03 23:00:05Z DBG]    at xxxxxxxxx.<>c.<LogFirstChanceExceptions>b__2_0(Object source, FirstChanceExceptionEventArgs e)
   at System.Convert.ToInt32(Double value)
   at System.IdentityModel.Tokens.Jwt.JwtPayload.GetIntClaim(String claimType)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at EMX.Common.Middleware.WarnOldTokenMiddleWare.InvokeAsync(HttpContext context)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at EMX.Common.Middleware.WarnOldTokenMiddleWare.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context, ICorsPolicyProvider corsPolicyProvider)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.HandleRequest()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.HandleRequest()
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Possible solution
Use Int64 conversion by default. Or do a check if the number is bigger than Int32.MaxValue instead of relying on the Exception for control flow of the program. I'm willing to attempt to create a PR if this issue is deemed valid.
Additional context / logs / screenshots / links to code
The JWT token looks something like this:
{
  "sub": "xxx",
  "name": "xxx",
  "nbf":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "iat":<PHONE_NUMBER>,
  "iss": "xxx",
  "aud": "xxx"
}

In this case the "exp" field is bigger than<PHONE_NUMBER> and thus causes the exception.

@JeremyMahieu we are closing as we fixed this in our 7.x release.
We are only fixing issues in 6.x associated with security.


Fix for const qualified warnings

When Hazelcast was built up from scratch for our project, we will use our warning flags for this subproject as well.
So, this is also cleanup for Hazelcast library.
Please review if possible, thanks in advance.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

verify

Can you please describe which warnings do these changes fix? There were good reasons for making those as const, hence we really need to understand what the need is here. It also means public API change and we have to be backward compatible.

Actually, it is known warning raised by the most of compilers. const on primitive types has no direct effect for a return value, because you can't modify an rvalue of a primitive type. If you compile Hazelcast source code with "-Wextra" flag, you will get the same warning as we did.

Linux test PASSed.

Windows test PASSed.

-Wextra causes other types of warnings which would make our builds failed since we treat the warnings as errors. This PR fixes -Wignored-qualifiers and -Wtype-limits warnings so I can add these specialized warning flags.
Yes, I agree to @cngzhnp, we can merge after all checks have been completed.

Hi @cngzhnp. Thanks a lot for your contribution!
The Clients team at Hazelcast would be very interested learn more about your project.
Would you like to join us for a short call to say hi and exchange some thoughts?
Regards,
Georgi

verify

Windows test FAILed.

Linux test PASSed.

verify

verify

Linux test PASSed.

Windows test PASSed.

Thanks @cngzhnp for the contribution.


Update Aives' Smoke Exhalation from RollOption toggle to effect

This really isn't worth making an effect


Moved PR check's raw toolchain hashes to the pipeline UI.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] Ready to merge

Summary

Moving the raw toolchain hashes to the pipeline UI. Unifying approach with #10294.
Does this affect the toolchain?

No.
Associated issues

#10294

Test Methodology

PR check.

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/10324

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=633433&view=results


Cleanup archetype

I made some minor changes to the archetype.
Please review and merge. Thx

Looks good to me, I'll merge now.

Post-merge :+1:


Fix bug where single newaxis yields wrong shape

This looks good to me. 👍 Waiting for Travis to be green.

Argh, not sure if this is the correct fix ...

Seems to work. Could you add the test that triggers the bug ?

Seems logical.

xview is the one of the most involved piece of meta-programming I know of.

unfortunately, it doesn't fix the printing bug #129 :(

That would be too easy !

If there is another example that would fail without your patch but not without, that would do it.

I had to hunt this other bug in the meantime, will get back to this shortly :)

I have fixed both bugs in #133


pr2_mechanism: 1.8.19-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository pr2_mechanism to 1.8.19-1:

upstream repository: https://github.com/pr2/pr2_mechanism.git
release repository: https://github.com/pr2-gbp/pr2_mechanism-release.git
distro file: noetic/distribution.yaml
bloom version: 0.10.7
previous version for package: 1.8.18-1

pr2_controller_interface

No changes

pr2_controller_manager
* add noetic to .travis.yml, remove indigo/lunar (#342 <https://github.com/PR2/pr2_mechanism/issues/342>)
  use '2to3-2.7 -w -fprint -fraise -fexcept -fdict .' to fix python2 to python3
* Added missing dependencies for catkin_EXPORTED_TARGETS (#341 <https://github.com/PR2/pr2_mechanism/issues/341>)
  This fixes race conditions when compiling from scratch.
  Co-authored-by: Lasse Einig<EMAIL_ADDRESS>* Contributors: Kei Okada, Michael Görner

pr2_hardware_interface

No changes

pr2_mechanism

No changes

pr2_mechanism_diagnostics
* Merge pull request #342 <https://github.com/PR2/pr2_mechanism/issues/342> from k-okada/add_noetic
  add noetic to .travis.yml, remove indigo/lunar
* use '2to3-2.7 -w -fprint -fraise -fexcept -fdict .' to fix python2 to python3
* Added missing dependencies for catkin_EXPORTED_TARGETS (#341 <https://github.com/PR2/pr2_mechanism/issues/341>)
  This fixes race conditions when compiling from scratch.
  Co-authored-by: Lasse Einig<EMAIL_ADDRESS>* Contributors: Kei Okada, Michael Görner

pr2_mechanism_model

No changes

@ahcorde we already released 1.8.20 (#32729 ), so do not this any more.


VOG database install fails

Installing the VOG database fails
mkdir: cannot create directory ‘/tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/../../databases/VOG’: File exists
[Sat Mar 30 17:51:49 2024]
Error in rule vog_db_download:
    jobid: 2
    output: /tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/../../databases/AllVOG.hmm
    conda-env: /tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/conda/233e73b39830a98b818f43b5ca8b38d3_
    shell:

            curl -Lo /tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/../../databases/vog.hmm.tar.gz http://fileshare.csb.univie.ac.at/vog/latest/vog.hmm.tar.gz
            mkdir /tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/../../databases/VOG
            tar -xf /tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/../../databases/vog.hmm.tar.gz -C /tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/../../databases/VOG
            cat /tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/../../databases/VOG/* > /tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/../../databases/AllVOG.hmm
            rm -rf /tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/../../databases/vog.hmm.tar.gz
            rm -rf /tmp/10353939/mamba-build/opt/mamba/envs/reneo/lib/python3.10/site-packages/reneo/workflow/../../databases/VOG

        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message

ERROR: Databases were not setup.

(Note, I have a funky install location, so I've truncated it to start at python3.10)
The HMMs are downloaded and extracted to python3.10/site-packages/databases/VOG/hmm/:
$ ls python3.10/site-packages/databases/VOG/hmm/ | wc -l
59207

The cat command is failing:
first, the extraction puts everything into VOG/hmm and then, you can't cat VOG/hmm/* as there are too many files:
This is what reneo is trying to do:
cat python3.10/site-packages/reneo/workflow/../../databases/VOG/* > python3.10/site-packages/reneo/workflow/../../databases/AllVOG.hmm
cat: python3.10/site-packages/reneo/workflow/../../databases/VOG/hmm: Is a directory

This doesn't work
cat python3.10/site-packages/reneo/workflow/../../databases/VOG/hmm/* > python3.10/site-packages/reneo/workflow/../../databases/AllVOG.hmm
bash: /usr/bin/cat: Argument list too long

but this does:
find python3.10/site-packages/reneo/workflow/../../databases/VOG/ -type f -exec cat {} + > python3.10/site-packages/reneo/workflow/../../databases/AllVOG.hmm

Hi @linsalrob,
The version 0.2.0 had the cat command to combine the VOGDB HMM files. I've released a new version to fix this issue.

Hi @linsalrob,
The new version of Reneo is now live on Bioconda.

Thanks, This closes #3
On Thu, 6 Jun 2024 at 14:49, Vijini Mallawaarachchi <
@.***> wrote:

Hi @linsalrob https://github.com/linsalrob,
The new version of Reneo is now live on Bioconda.
—
Reply to this email directly, view it on GitHub
https://github.com/Vini2/reneo/issues/3#issuecomment-2151431774, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGMFBZJFDHEPIPPCATN733ZF7WNDAVCNFSM6AAAAABFPNYSQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRGQZTCNZXGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Skip 2FA for a given subnet?

I would like to know if there is a way to disable the 2FA e.g. just for a local subnet?

That is best done by having another PAM module check the remote address, and "jump" over the GA PAM module in that case.
I've not tried it, but here is a module that seems to allow that.


Add a flag to disable certain metrics

Description
Add a flag to allow disabling certain metrics. To ensure backward compatibility, the default value is false, no metric is disabled.  Turn on the custom JVM system property 'COSMOS.IGNORE_METRIC_ENABLED' to overwrite the flag value.

@microsoft-github-policy-service agree [company="Walmart"]

Closing this PR - this PR https://github.com/Azure/azure-sdk-for-java/pull/33436 is tracking the option to disable certain metrics based on category or individually as discussed.


tags are removed when directly before a closing tag

Jodit Version:  3.6.x
Browser:  Any
OS:  Any
Is React App:  false
Steps to reproduce:
Visit Jodit demo page https://xdsoft.net/jodit/play.html. In editor make a line-break (shift+enter) at the end of "Illum mallem levares, quo optimum atque humanissimum virum, Cn." - which has a light-yellow background. You can check in code-view that the
 tag was created just before the  closing tag.
Now in wysiwyg view move the cursor around (using arrow keys or mouse) and notice, that the
 was removed.
I have tried and obsereved this in FF, Chrome and Edge on Linux and Windows 10.
Expected behavior:
If I insert a
 tag anywhere it should stay there.
Actual behavior:
The
 tag is removed if it is directly before a closing tag.

 tag removal is causing an issue for me with migrating HTML into Jodit from another editor.

hi there, seeing the exact same behaviour in our implementation as well as in the jodit playground. is there a workaround so far?


Bank Account: race detector not run

Solution 88c019dd66f14fd088b1fbc26af734e8 does not obtain the mutex when calling Balance, yet the tests pass. For this exercise, the tests need to be run with the -race flag to catch data races.

Thanks for the hint! The test runner currently does not include this capability. I created an issue for this in the test runner repo: https://github.com/exercism/go-test-runner/issues/62 Once that issue is addressed, we can use the capability for the bank account exercise.


After upgrading to<EMAIL_ADDRESS> Module PickerIOS does not exist in the Haste module map

[X] I have reviewed the documentation
[X] I have searched existing issues
[X] I am using the latest React Native version

I upgraded react-native from version 0.54.2 to latest 0.55.3.
After that when i run react-native run-ios i get the following from the Metro bundler:
error: bundling failed: Error: Unable to resolve module `PickerIOS` from `/Users/sebbe/code/pitchler-app/node_modules/react-native/Libraries/react-native/react-native-implementation.js`: Module `PickerIOS` does not exist in the Haste module map

This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:
  1. Clear watchman watches: `watchman watch-del-all`.
  2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.
  3. Reset Metro Bundler cache: `rm -rf /tmp/metro-bundler-cache-*` or `npm start -- --reset-cache`.  4. Remove haste cache: `rm -rf /tmp/haste-map-react-native-packager-*`.
    at ModuleResolver.resolveDependency (/Users/sebbe/code/pitchler-app/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:161:1460)
    at ResolutionRequest.resolveDependency (/Users/sebbe/code/pitchler-app/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:91:16)
    at DependencyGraph.resolveDependency (/Users/sebbe/code/pitchler-app/node_modules/metro/src/node-haste/DependencyGraph.js:272:4579)
    at dependencies.map.relativePath (/Users/sebbe/code/pitchler-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:376:19)
    at Array.map (<anonymous>)
    at resolveDependencies (/Users/sebbe/code/pitchler-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:374:16)
    at /Users/sebbe/code/pitchler-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:212:33
    at Generator.next (<anonymous>)
    at step (/Users/sebbe/code/pitchler-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:297:313)
    at /Users/sebbe/code/pitchler-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:297:473

I tried following the steps in the output: clear watchman watches, delete node_modules and the Metro Bundler cache but it did not work.
I removed node_modules and clear caches again. After that i installed the previous version i had of react-native again (0.54.2) and ran react-native run-ios again and it worked just fine.
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 9.5.0
Yarn: 1.5.1
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.1 AI-173.4697961
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.3 => 0.55.3
Steps to Reproduce
Using react-native 55.3, try including PickerIOS and use it in the code. Then try to build it using react-native run-ios
Expected Behavior
The Metro Bundler should not give any errors and build the app.
Actual Behavior
The Metro Bundler terminal window gave me the error stated above.

Ran into this also, I had to use yarn start --reset-cache when running the bundler till it actually cleared that error for me

Same here. @Slessi 's solution didn't work:

Not working on 0.55.4 either

+1 Any solutions yet?

I have same problem! any solutions ?

Working on 0.55.4
yarn start --reset-cache
and press or execute 'Reload JS'

Working on 0.55.4
yarn start --reset-cache
and press or execute 'Reload JS'

This above solution by @EdgarXolop does not work for me either. I am on exactly the same stack as @Spetastian.

@klapperkopp cool but should be the same, I'm working with npm 5.6.0. Maybe is the npm version. What is your current version?

I'm using npm 5.6.0 and just hit the same issue with RN 0.55.2. Upgrading to 0.55.4 and clearing everything with watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache fixed it for me.

on the same versions as @dchersey and it was fixed for me.

@EdgarXolop yes might be that. I'm also on npm 5.6.0.

$TMPDIR/react-* in @dchersey's answer didn't work for me, but then that folder, nor my /tmp folder, had any react files in it that I could see.
Removing that part of the line worked fine.

@StrictlySkyler Which part of the line?

@srameshr rm -rf $TMPDIR/react-* && was what I removed, so it looked like:
watchman watch-del-all && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache

Its working on 0.55.4 but in case of any error I have to clear the cache again and reload JS. Anybody has solution to this?

@dchersey solution works for 0.55.2 , if you are using yarn instead of npm use yarn --reset-cache

Closing since errors like Module XX does not exist in the Haste module map are fixable via a variation of the solution proposed here:

https://github.com/facebook/react-native/issues/19019#issuecomment-384277548
https://github.com/facebook/react-native/issues/19019#issuecomment-392152966
https://github.com/facebook/react-native/issues/19019#issuecomment-397100641


Generate client's signature in ClientManager

Codecov Report

Merging #190 (b80e47a) into master (acb671e) will decrease coverage by 0.62%.
The diff coverage is 59.74%.

@@             Coverage Diff              @@
##             master     #190      +/-   ##
============================================
- Coverage     34.68%   34.06%   -0.63%
+ Complexity      653      650       -3
============================================
  Files           196      196
  Lines          8660     8649      -11
  Branches        274      274
============================================
- Hits           3004     2946      -58
- Misses         5506     5557      +51
+ Partials        150      146       -4

Flag
Coverage Δ

java
59.44% <59.74%> (-1.35%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...pache/rocketmq/client/java/impl/ClientManager.java
100.00% <ø> (ø)

...mq/client/java/impl/consumer/PushConsumerImpl.java
33.61% <0.00%> (+0.69%)
:arrow_up:

...cketmq/client/java/impl/producer/ProducerImpl.java
32.56% <33.33%> (+0.34%)
:arrow_up:

...g/apache/rocketmq/client/java/impl/ClientImpl.java
33.22% <35.71%> (-6.46%)
:arrow_down:

...cketmq/client/java/impl/consumer/ConsumerImpl.java
73.72% <83.33%> (-0.26%)
:arrow_down:

...e/rocketmq/client/java/impl/ClientManagerImpl.java
73.26% <85.71%> (-9.28%)
:arrow_down:

...apache/rocketmq/client/java/rpc/RpcClientImpl.java
53.62% <0.00%> (-31.89%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update row-level-security.md

feat: include clarification on the nature of the WHERE clause in filter predicates, and the insignificance of the SELECT value returned by the filter predicate.

@RobertZFord : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit 5eb1328:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/relational-databases/security/row-level-security.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@VanMSFT
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks for the submission, @RobertZFord! I'm asking my colleague, @WilliamDAssafMSFT to review.

@RobertZFord if possible, please restore your patch-1 branch so that you may get credit in the commit history of a future update to this article.

#please-close


Calendar not displaying in UIView

Hi, your library are awesome but I m facing some issue with this library. I am adding this calendar in a UIView when i am instantiate this UIView, then its not show calendar dates on first time again i m instantiate then it show calendar.. I am facing some problem in "setupViewsOfCalendar" first time it not show date and again it show date. Can you help me a little bit???
  class CalendarLauncher:NSObject {
            var container = UIView()

      //calendar View
      var calendarView : JTAppleCalendarView = {
         let view = JTAppleCalendarView(frame: .zero)
         return view
     }()
     override init() {
        super.init()
     }
     func showCalendar() {
       if let window = UIApplication.shared.keyWindow {
            window.addSubview(container)//here I am adding my calendar container for show calendar
           setupCalendar()
       }
    }
    func setupCalendar() {
        let y = calendarContainer.frame.height - 68 - 30 - 8
        calendarView = JTAppleCalendarView(frame: CGRect(x: 0, y: 106, width: calendarContainer.frame.width, height: y))
        calendarView.registerCellViewClass(type:CalendarCell.self)
        calendarView.backgroundColor = bgColor
        calendarView.cellInset = CGPoint(x: 0, y: 0)
        calendarView.direction = .horizontal
        calendarContainer.addSubview(calendarView)
        calendarView.visibleDates { (visibleDates: DateSegmentInfo) in
            self.setupViewsOfCalendar(from: visibleDates)
        }

        calendarView.dataSource = self
        calendarView.delegate = self
      }

      func setupViewsOfCalendar(from visibleDates: DateSegmentInfo) {
        guard let startDate = visibleDates.monthDates.first else {
            return
        }
        let month = testCalendar.dateComponents([.month], from: startDate).month!
        let monthName = DateFormatter().monthSymbols[(month-1) % 12]
        // 0 indexed array
        let year = testCalendar.component(.year, from: startDate)
        topStripLabel.text = monthName + " " + String(year)
      }
    }

when I am instantiate this class
 let destination = CalendarLauncher()
destination. showCalendar()

then it not show calendar first time because DateSegmentInfo is nil

Ok, i will look into this in the morning. Will update you afterwards

Hi, ok I am not understanding your code.
Is it possible you can create a small empty sample project demonstrating the bug, and send the zip file here?

Ok it has been 2 days and I have heard no response from you.
I will assume that this issue has been resolved. I you are still having the issue, then reopen this exact issue again and I will continue where we left off.

Here is code url. Please see this and check what type of error I am facing.
https://www.dropbox.com/s/9kkxpq304upyf8n/DemoCalendar.zip?dl=0


Introduce CMake support for SwiftFoundationICU

Add Cmake support for SwiftFoundationICU which includes:

CMakeLists.txt in major directories
module.modulemap for each include directory (these files will be automatically generated during export)

Unfortunately we also had to merge all ICU modules into one as part of this change.

@swift-ci build toolchain

I see one of your questions on the email notification, but not in the GitHub UI, so I'll answer it here.

These are the shared settings across different targets. Should I repeat the same settings in each target?

CMake scoping rules are kind of strange to get used to at first. The directory structure defines scopes. Things set add_compile_definition, add_compile_options, etc... are applied to all targets defined in CMake files under add_subdirectory calls made after the add_compile_definitions/add_compile_options call. It's a scripting language too though, so the order of the add_compile_definitions and add_subdirectory calls does matter.

Addressed @etcwilde 's comments.

One thing I noticed is that it looks like stubdata is not part of any target.
Is that intentional?

Yes that's intentional - the stub data is part of the icu project and part of the sources that get copied over into this repo, but it is not used because we provide data that is built directly into the binary. The stub data is only necessary to build a version of ICU without any data files. We can probably remove that in a future PR


Mobs spawned from spawners spawn with backpacks

Could leave this option in as a config setting.

Hello copygirl. First congrats your excellent, amazing work with this necessary mod, that I think should come inside vanilla minecraft.
Second to say: I test your 1.12 3.0.4 44 test file, but almost all mobs are using the backpacks. If it possible put the option to disable mobs spawning with the backpacks.
Thank you very much.

@charliedown Thank you!
And, obviously, the test file from issue #44 has spawn chances set to 100% (for supported mobs) to test the crash issue :P. I don't think there's any other changes in that version compared to the official 3.0.4 release, so you're not missing out.
The next version of the mod will not only have the option to disable backpacks spawning on mobs using a single button but to completely adjust the chances (and more) and add support for more in-built and custom mobs!


Segmentation Fault

Strandtest.py works for me, however i keep getting Segmentation fault when running visualization.py. Using a usb mic with Raspberrypi 3. Anyone else get this or know how to fix it?

I think I used to get it too, solved it by using sudo to run the visualizer

@jrafferty15 have you tried @singhkpratham 's solution of running it under sudo? If so did that work for you?


Getting Library not loaded

I'm getting the following error in the console but am at a miss to fix it.
Can someone help?
dyld: Library not loaded: @rpath/XCTest.framework/XCTest
  Referenced from: /Users/Dev/Library/Developer/Xcode/DerivedData/test-hehyhfozbszkqvgifetexjhfsqsz/Build/Products/Debug-iphonesimulator/Mockingjay.framework/Mockingjay
  Reason: image not found

This would seem that XCTest is not available to your target. How did you integrate Mockingjay into your project?

Same problem here.  So the following Podfile (if you're running CocoaPods 1.x):
platform :ios, '9.0'
inhibit_all_warnings!
use_frameworks!

target 'MyApp' do
  pod 'Alamofire', '~> 3.1.4'
  pod 'AlamofireObjectMapper', '~> 2.1.0'
  pod 'RealmSwift', '~> 0.97.0'
  pod 'KeychainAccess', '~> 2.3.3'
  pod 'Mattress', '~> 1.0.2'
  pod 'ReachabilitySwift', '~> 2.3.3'
  pod 'SwiftyBeaver', '~> 0.3'

  target 'MyAppTests' do
    pod 'Mockingjay', '~> 1.1.1'
  end
end

Great! This solves it!

Perfect!


When clicked on invitation link sent by notification service to approve a proxy submission, user encountered spinning web page

a lot of troubleshooting had taken place for this behavior, the issue boils down to this:

when a user is required to go through authentication, one of the services involved in this process fails to encode the URL properly.
this cases ember app to munch the URL of the submission (by dropping one of the url's slashes) and therefore it cannot load.

fixes can are considered in two different places:

updating Ember to explicitly NOT dropped the slash ( this was chosen as a short term, quick fix solution)
update one of the services involved in encoding and decoding submission URL as user goes through the authentication process: Though a more robust fix, this is more involved, and requires more thoughts and consideration. We can/probaly will revisit this approach after we put out some active fires.

Closed by: https://github.com/OA-PASS/pass-ember/pull/1087 AND https://github.com/OA-PASS/pass-docker/pull/248

deployed via ticket ticket to DEMO and PROD https://jhulibraries.atlassian.net/browse/OPS-1189


Missing D.Mass 2014 cases? (e.g. Piccone v. Bartels)

I hope this is the right place to file this sort of issue. (Lemme know if it should be filed under courtlistener instead?)
I chanced to notice that Piccone v. Bartels, 40 F. Supp. 3d 198, 201-02 (D. Mass. 2014) is missing from CourtListener. that's Case 3:11-cv-10143-MLW Document 76 Filed 08/25/14 Page 1 of 53 in D.Mass.
It appears in FDSYS at https://www.gpo.gov/fdsys/pkg/USCOURTS-mad-3_11-cv-10143/pdf/USCOURTS-mad-3_11-cv-10143-1.pdf
Since I'm under the impression that CL had scraped all recent opinions as of last month, I assume something's wrong. (I assume, also, that it has no way to know about the F. Supp 3rd reporter, so the absence of https://www.courtlistener.com/c/F. Supp. 3d/40/186/ is not surprising.

Interesting. Is this not it: https://www.courtlistener.com/docket/4965972/piccone-v-bartels/#entry-76
How were you searching for this?

That is indeed it. Per my seach history, I tried:
https://www.courtlistener.com/?q=PICCONE+v.+BARTELS&type=r&order_by=score+desc&party_name=Veritas
https://www.courtlistener.com/?q=Piccone+v.+Bartels&type=r&order_by=score+desc&party_name=Veritas
https://www.courtlistener.com/?q=11-cv-10143
Whoops. So, clearly the problem is somehow there was a lingering "Veritas" in the party name field in the first two queries. My bad! Properly amended, they do indeed find it:
https://www.courtlistener.com/?q=Piccone+v.+Bartels&type=r&order_by=score+desc
https://www.courtlistener.com/?q=PICCONE+v.+BARTELS&type=r&order_by=score+desc
but the third search (by docket #) does not! It finds the appellate case, but the district case.
Do you see something obvious I'm missing?

So, clearly the problem is somehow there was a lingering "Veritas" in the party name field in the first two queries. My bad!

This really a CL issue not a JS issue, but looking at this, there are several UI issues:

The left side search criteria don't fit on one screen, so it's easy to have stuff in the lower fields (Party, Atty name) that are affecting the search but not obviously.

The right side repeats the search criteria: "Your search — Piccone v. Bartels — had no results." but incompletely. It makes me think I don't need to worry about fields I can't see because it's telling me the search I did. But it's leaving out important information.

It's probably hard to fix 1, depending on design and mobile and resizing and all that. But 2 should be solvable. And the problem is bad really because of the combination of both. Fixing either of them would help. (But don't let me stop you from fixing 1)! :)

The third query:
https://www.courtlistener.com/?q=11-cv-10143
Is against the opinions search because it lacks the &type=r param. If you add that back, it seems to work.
As for the UX issue, I don't know what we can do about inputs being off the screen. LOTS of sites have this problem, from Amazon to Kayak to Hotels.com. But you're right, it'd be nice if we could have a better error message. That's actually a bug we have in CourtListener: https://github.com/freelawproject/courtlistener/issues/716
Anyway, I'm going to close this issue since it seems like it was just an error in your search and since the rest of it is already going in https://github.com/freelawproject/courtlistener/issues/716. Feel free to reopen though if I missed something.


Only black screens after purged NVIDIA dGPU

I'm using a mid-2014 15 inch Macbook pro with NVIDIA dGPU:

My eGPU setup is HP Omen Accelerator + AMD RX 580, connected with TB3 + TB3 -> TB2 converter.
I installed purge-wrangler, and then used purge-nvda to install NVIDIA suppression. Whenever I connect to the eGPU, all my external monitors would power up but stay dark; and the system would freeze (can only move cursor)... I've tried the methods detailed on https://egpu.io/forums/mac-setup/script-enable-egpu-on-tb1-2-macs-on-macos-10-13-4/paged/1/ but had no luck (the macbook freezes after hot plugging eGPU and I am not able to log out at all 😕).

Never mind, enable AMD eGPU didn't work for me the first time, so I tried suppress NVIDIA dGUP and it still didn't work, so I uninstalled the system and retried enabling AMD eGPU and it worked 😄

Hello r-Luo
I am having the exact same problem you had last year - on the almost same configuration
I have a late 2013 mbp with Intel Iris and NVIDIA GeForce GT 750M.
Mac OSx Mojave 10.14.1
I can enjoy the power of computing 7 Times faster thanks to my Sapphire Nitro+ Vega 56 but I cannot use external display through this new eGPU ( of course with tb2/tb3 adaptor).
A/ I did use purge-wrangler -> it works well but only black screen on my external Display of the eGPU.
B/ Then I tried Purge-NVDA, I trid all kind of option and combination ( option 1  / option  1+ option 2 - option  1+option 4 - or option 3 only....)  but I just cannot boot anymore... or have black screen...
So when you said "uninstalled the system"  and retried enabling AMD eGPU... What exactly did you do please ( step by step please ) ?
Do you still use this set up with Mojave ?
Thanks a million time for your help
Julien

https://egpu.io/forums/mac-setup/nvidia-workaround-for-high-sierra-egpu-acceleration/
For details. It is mentioned that this may leave the system unbootable because the mux may not change.


.find fails when format doesn't include Log Level

Here's the test I added to test_log2d.py which currently fails:
def test_find_without_loglevel():
    """ fmt may not include loglevel e.g. ERROR.  Test that .find still works"""
    fmt = Log.presets['name_and_time']
    mylog = Log("mylog", to_file=True, mode="w", to_stdout=True, fmt=fmt)
    mylog("This format has no log level")
    assert len(mylog.find()) == 1
    cleanup()

I think your approach for .find is based on the Log Level as separator.  Sadly this isn't going to work for all formats.  Maybe another approach is based on either or both of:
a) Passing the separator explicitly as an argument e.g. mylog.find(text="search for this", separator="|")
b) We know what mylog.fmt is... perhaps we can derive the logic from this, at least for the 5 or so preset formats?
c) Use a handful of regexes e.g. one to find a datetime element (if any), one to find loglevel, one to find log name?  Then compare to see if they all start/end with the same character e.g. "|" which is likely to be the separator?

Fixed in pull request #17


No newline at the end of generated files

Version: 1.1.19 (fastchan install)
It’s a minor issue but files generated by nbdev_build_lib do not end with a newline, which is not a POSIX-compliant behaviour.

fixed in v2 IIUC


Update 04-Bar-Chart.md

Changed second instance of "Options for xAxes" heading to "Options for yAxes" since it is the heading for the y-axis options.
Thanks for your great work on Chart.js!

Thanks @jimkring


merge from arlac77/template-github,arlac77/template-kronos-module

package.json

chore(package): add >=14.1.0 remove >=14.0.0 (engines.node)

.travis.yml

chore(travis): (jobs.include)
chore(travis): remove 14.0.0 (jobs.include.node_js)

:tada: This PR is included in version 2.1.8 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Integrate column builder web application

The "column builder" web application is the starting point for stratigraphic column editing in Macrostrat, based on the frontend components here. This change seeks to integrate the application into the Macrostrat web environment. Several major things need to be accomplished:

[x] Get the application to work as a sub-package of the web monorepo
[x] Update web-components to modern versions
[ ] Enable the application using an environment-variable controlled feature flag
[x] Convert Next.js routes to Vike
[x] Enable authentication gateway for pages and API

Required schema elements are being tracked in UW-Macrostrat/macrostrat#100

We've got the page behind an auth gateway now, so there doesn't appear to be an immediate need to disable the app in production, yet. We can do this as we move towards production overall.


Create base-image and minimize layer count

What changes were proposed in this pull request?
Use one single layer for the run command and tool installation. Also move all the common parts into one base-image.
Fixes https://github.com/apache-spark-on-k8s/spark/issues/323
How was this patch tested?
Tested with the Minikube integration test (https://github.com/apache-spark-on-k8s/spark/blob/branch-2.1-kubernetes/resource-managers/kubernetes/README.md#preserve-the-minikube-vm)
cc @ash211

Thanks for contributing this - I see no problems and think we can afford to put this in the next release. What do you think @ash211 ?

Actually the image tagging question stands as something that might make us want to reconsider this approach.

@johscheuer I'm not sure what spark-base gives us that Docker doesn't already provide through its layer deduplication.  When I pull the existing driver and executor images before this change, the docker daemon recognizes that the earlier layers have the same hash and reuses the layer, even without the separate tagging for the spark-base layer.
Can you explain more what spark-base does?
It seems most of the benefits are in squashing the RUN commands vs the introduction of spark-base

In using a base image we can avoid duplicating the Dockerfile code itself.

So for example when we start supporting Python we only have to include the Python installation in one Dockerfile and not two.

The main idea is like @mccheah said to avoid duplicating Dockerfile code. Assume we need to adjust a library or we want to include another one in all images then we would need to modify all images.
If you want I can separate these changes into two PR's -> one for the merge of the RUN commands and another one for the base image (open for discussion).

LGTM pending question for Erik (and updating the branch)

Thanks @johscheuer !


Add Code of conduct

standard COC from Contributor Covenant.

Added your twitter link for contact. We could have other mode of contact if you wish.

Thanks @rizwankce, this is useful and necessary. I'm wondering if the policy as described is, in fact, applicable on GitHub? For example:
A permanent ban from any sort of public interaction within
the community.

I'm not sure if there's a way to ban accounts from interacting with an open source repo?

@icanzilb there is option from GitHub to add it automatically by providing only the contact person link.
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-code-of-conduct-to-your-project
I have followed above. I guess permanent ban would be from repo wise. I need to check how other repos does the restrictions.

So indeed it's possible. TIL


Update Dockerfile

upgrade version to 11

can someone merge

I also need this change..
I hope it will be merged ASAP
thank you guys

please approve, I also need it
Thanks 👍

https://github.com/puckel/docker-airflow/pull/576


Exception thrown when security requirement key doesn't match a security scheme definition

Exception thrown when security requirement key doesn't match a security scheme definition.
We should parse the document normally, but yield a validation error instead of throwing.

Hi, I have checked in fix for this issue pr#339.

@senthilkumarmohan Thanks for the PR. I'll take a look.


IFS broken after first run

Here follows a bats that fails. First run passes,not the second.
loop_func() {
  local search="none one two tree"
  local d

  for d in $search ; do
    echo $d
  done
}

@test "loop_func" {
  run loop_func
  [[ "${lines[3]}" == 'tree' ]]
  run loop_func
  [[ "${lines[2]}" == 'two' ]]
}

outputs:
bats loop.bats
 ✗ loop_func
   (in test file loop.bats, line 14)
     `[[ "${lines[2]}" == 'two' ]]' failed

1 test, 1 failure

a patch that works here, may be other IFS should be saved too.
bash --version
GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)
git diff
diff --git a/libexec/bats-exec-test b/libexec/bats-exec-test
index 5a07665..8f3bd51 100755
--- a/libexec/bats-exec-test
+++ b/libexec/bats-exec-test
@@ -48,7 +48,7 @@ load() {
 }

 run() {
-  local e E T
+  local e E T oldIFS
   [[ ! "$-" =~ e ]] || e=1
   [[ ! "$-" =~ E ]] || E=1
   [[ ! "$-" =~ T ]] || T=1
@@ -57,10 +57,12 @@ run() {
   set +T
   output="$("$@" 2>&1)"
   status="$?"
+  oldIFS=$IFS
   IFS=$'\n' lines=($output)
   [ -z "$e" ] || set -e
   [ -z "$E" ] || set -E
   [ -z "$T" ] || set -T
+  IFS=$oldIFS
 }

 setup() {

Patch looks good. You should submit a pull request with it! Thanks

Ok, I'm preparing it.
Curliously this patch brakes one test, in some strange way:
bats/test$ bats bats.bats
 ✓ no arguments prints usage instructions
 ✓ -v and --version print version number
 ✓ -h and --help print help
 ✓ invalid filename prints an error
 ✓ empty test file runs zero tests
 ✗ one passing test
   (in test file bats.bats, line 40)
     `[ ${lines[1]} = "ok 1 a passing test" ]' failed with status 2
   /tmp/bats.23082.src: line 40: [: too many arguments
[…]
36 tests, 1 failure

and this test seems dumy simple…
cat fixtures/bats/passing.bats
@test "a passing test" {
  true
}

but:
bats fixtures/bats/passing.bats
 ✓ a passing test

1 test, 0 failures

hum and in the test/ dir too, this run fails too
bats .
gives 43 tests, 10 failures with the patch
but still
43 tests, 8 failures, without my patch
bash --version
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
I'm not yet sure the expected behavior of the command bats . I suppose it should run all test in the given folder.

Found!
The test in bats.bats line 40 was false, relaying on the IFS wrongly set, before the patch.
Last test is wrong [ ${lines[1]} = "ok 1 a passing test" ] : ${lines[1]} is multi characters and must be surrounded by double quotes. I correct both bats.bats and suite.bats failing on the same wrong assertion.
@test "one passing test" {
  run bats "$FIXTURE_ROOT/passing.bats"
  [ $status -eq 0 ]
  [ ${lines[0]} = "1..1" ]
  [ ${lines[1]} = "ok 1 a passing test" ] # <-- wrong
}

Do you need more test to merge the request?

Hi there,
I see a fix was merged and then the issue was closed, but subsequently the fix was reverted (but the issue was not reopened?)
Any chance this could be addressed? It would avoid needing to do workarounds in tests. I see some comments in the corresponding PR (#90) talking about a requirement to document the breaking changes?
Thanks

@alzadude This issue has been bugging me too. I think the sooner this is addressed the less painful it'll be. It's already on my list of issues I'm planning to propose for the next release.

@ztombol that's great news, I've just subscribed to notifications on issue #150 :)


Support for 9tsu

Please add support for http://video.9tsu.com/
Thanks!

Post an example URL.

Sorry.
Example URL:
http://video.9tsu.com/video/ピタゴラ装置_大解説スペシャル「前半戦」_20150804

Provided URL redirects to http://video.9tsu.com/video/not_approved.

Yes, and other videos on 9tsu.com can be downloaded. (via jwplayer)


[Fix #224] Added check for scripts in metadata and wrote tests

Fixes #224

@jaimergp

Codecov Report

Merging #238 (452f07f) into main (9c3242e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #238   +/-   ##
=======================================
  Coverage   91.30%   91.31%
=======================================
  Files          17       17
  Lines        1576     1577    +1
=======================================
+ Hits         1439     1440    +1
  Misses        137      137

Flag
Coverage Δ

unittests
91.31% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

grayskull/pypi/pypi.py
96.15% <100.00%> (+0.01%)
:arrow_up:

grayskull/base/track_packages.py
94.20% <0.00%> (-0.09%)
:arrow_down:

grayskull/license/discovery.py
97.12% <0.00%> (-0.02%)
:arrow_down:

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 56d8ea2...452f07f. Read the comment docs.

just for reference:
https://pre-commit.com/

Hey, @marcelotrevisani !
When I run pre-commit for all files, this is what I get:

yeap, the first time will fail because it is showing you the problems, but it will auto fix the black stuffs
if you run it again it should pass

@marcelotrevisani
Ahh, got it. Thanks. :))

@marcelotrevisani ,
just one last thing:
I am printing a warning message that 'scripts were detected. marking the package as non-noarch' in RED font.
@jaimergp , pointed out that Red font is usually for errors. We could probably use regular white font color instead. But then again, white font color will not stand out from all the other text in white. We really want to the user to know that we have marked their package as non-noarch because it had scripts.
What do you think?

@marcelotrevisani ,
just one last thing:
I am printing a warning message that 'scripts were detected. marking the package as non-noarch' in RED font.
@jaimergp , pointed out that Red font is usually for errors. We could probably use regular white font color instead. But then again, white font color will not stand out from all the other text in white. We really want to the user to know that we have marked their package as non-noarch because it had scripts.
What do you think?

You can use Yellow in this case or convert that to use
logging.warning("...")

Please let me know when you are done with your modifications then, and I will review and integrate it


Export responses as CSV/Excel

Option to download all responses from the results page in CSV-, or Excel-format.

added export functionality in https://github.com/couchforms/couchforms/commit/5e618ab7de44ff730af92c4eae9db1198bc99c1f


ROS2 branch build failing

Currently, the ros2 branch build fails. Without the latest commit everything build is fine.
See the following compiler output:
In file included from /home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/bio_ik.h:43,
                 from /home/florian/Projekt/bitbots/colcon_ws/src/bitbots_meta/bitbots_motion/bitbots_moveit_bindings/src/bitbots_moveit_bindings.cpp:1:
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h:688:39: error: ‘IKCostFn’ in ‘class kinematics::KinematicsBase’ does not name a type
  688 |     const kinematics::KinematicsBase::IKCostFn function_;
      |                                       ^~~~~~~~
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h:691:91: error: ‘IKCostFn’ in ‘class kinematics::KinematicsBase’ does not name a type
  691 |     IKCostFnGoal(const geometry_msgs::msg::Pose& pose,  const kinematics::KinematicsBase::IKCostFn& function,
      |                                                                                ^~~~~~~~
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h: In constructor ‘bio_ik::IKCostFnGoal::IKCostFnGoal(const Pose&, const int&, const RobotModelConstPtr&, double)’:
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h:695:11: error: class ‘bio_ik::IKCostFnGoal’ does not have any field named ‘function_’
  695 |         , function_(function)
      |           ^~~~~~~~~
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h: In member function ‘virtual double bio_ik::IKCostFnGoal::evaluate(const bio_ik::GoalContext&) const’:
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h:716:16: error: ‘function_’ was not declared in this scope
  716 |         return function_(pose_, robot_state, &jmg, seed_state);
      |                ^~~~~~~~~
gmake[2]: *** [CMakeFiles/libbitbots_moveit_bindings.dir/build.make:76: CMakeFiles/libbitbots_moveit_bindings.dir/src/bitbots_moveit_bindings.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:167: CMakeFiles/libbitbots_moveit_bindings.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

IKCostFn was added to MoveIt main on July 12th. Could you try building with the latest version of MoveIt?

I build it with the released version. Maybe it wasn't synced with the package sources of ros rolling yet.


Added Gradle to modelist and Updated JS and Kotlin mode

Added prompt as a support function with alert.


using gradient difference for the attack

We need to show that the attack works when some linear combination of gradients is collected from different rounds observed

implementing only the gradient differences of consequent rounds should be enough


fix for optimizer hook namespace change

Old optimizer hook deprecated in #3977 is still documented.

LGTM!


How to increase API timeout more then 60 sec

Bug Description
The API responds very slow, if the workflow is too long or call LLM multiple times the API fail to respond due to timeout error with 504.
How to increase the API timeout limit?
Reproduction
The API responds very slow, if the workflow is too long or call LLM multiple times the API fail to respond due to timeout error with 504.
How to increase the API timeout limit?
Expected behavior
The API should have timeout parameter to set the API timeout issues.
Who can help?
No response
Operating System
ubuntu 22.04
Langflow Version
1.0.17
Python Version
3.10
Screenshot
No response
Flow File
No response

You can adjust the Langflow API timeout by using the --worker-timeout parameter in the command line as shown below:
langflow run --worker-timeout 30

Alternatively, you can set this parameter through an environment variable:
LANGFLOW_WORKER_TIMEOUT=30 langflow run


move tests to micromamba

The tests here will fail as they default to numpy 2. Need to either refactor np.NaN >> np.nan or merge #183 first

I think codecov has been silently broken for a while. This PR would bring it back into service

Thanks @callumrollo


Allow Specify --chain and Replace sudo_key for Testing

Thanks a lot, @AurevoirXavier and @HackFisher for this improvement.
Apologies for not merging this sooner. I've merged your commits alongside an update to the reame in https://github.com/maxsam4/fork-off-substrate/pull/49


Update secure dev and AWS guidance

Updated AWS public resources here reference IRAP/ISM and would improve guidance
https://aws.amazon.com/blogs/security/aws-customer-compliance-guides-now-publicly-available/
Also worth increasing references to secure by design guidelines
https://www.cyber.gov.au/resources-business-and-government/governance-and-user-education/secure-by-design
secure configuration guideline / supply chain / standalone software dev? page targets for updates.

Incorporate below:
Standards

Design
Implementation
Build and Deployment
Verification
Operation
Outsourced Development and Managed Services


support for other diacriticals

I implemented support for other diacriticals in a fork of your project -- I can supply a PR if you're interested in keeping that within your codebase.
https://github.com/grahampcharles/vscode-simpleaccents

Oh, man! Thanks for you attention and sorry for long delay replay, have skipped such great job for unknown reason. I'll read it in few days

Just amazing idea with cycles, it would be great to get PR and update plugin.
Could you please also tell little bit more about few things:

Json symbolCycles are not correlates with default value export const array symbolCycles. Last one is far more extensive than config one. I think they should be same, right?
There are few excess empty lines and inconsistent tabs (super minor issue)
What happened with package-lock.json? Have you added ~3000 lines of packages just for string_decoder? I'm not so experienced with it and it looks scary and overengineered to me :) (sorry if I'm wrong)

Thanks again! It would be honor for me to pull your code into and refresh plugin in store

Hey there!

Json symbolCycles are not correlates with default value export ...

I'm not sure what you mean -- symbolCycles is only defined once, in staticStorage.ts. There is no json file defining them. (I wonder if you mean in the readme.md file? If so, I probably pasted something in there as I was working. Feel free to update it, but it's probably not critical.)

There are few excess empty lines and inconsistent tabs

Oh, yeah, I probably didn't lint it. Feel free.

What happened with package-lock.json?

No idea, and I didn't add any dependencies, although my npm has updated it to version 2. But I know it doesn't matter. It only exists to make reproducible builds.

Hi, @grahampcharles!
Yeah, ok :)
Please provide pull request and we'll check it, merge and update plugin in store.

Hey, @grahampcharles! Could you please provide pull request?

Sure thing.
On Tue, Jan 18, 2022 at 1:31 AM Theliraan @.***> wrote:

Hey, @grahampcharles https://github.com/grahampcharles! Could you
please provide pull request?
—
Reply to this email directly, view it on GitHub
https://github.com/Theliraan/vscode-simpleaccents/issues/6#issuecomment-1015226385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA3QRFYXLOURDXFRACWVN63UWUXOPANCNFSM5G3FCHQA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sure thing.
…
On Tue, Jan 18, 2022 at 1:31 AM Theliraan @.> wrote: Hey, @grahampcharles https://github.com/grahampcharles! Could you please provide pull request? — Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3QRFYXLOURDXFRACWVN63UWUXOPANCNFSM5G3FCHQA . You are receiving this because you were mentioned.Message ID: @.>

Thank you so much. There are too many concerts this month, bit I'll review and approve it :)

Ok, it looks like we have an issue with cyrillic, but I'll fix soon.
The source:

become:

It kills vowel letters for some reason. Different character length?.. Donno, digging.

Ok, array usage allows to avoid problem:

The source:

become:

That's much better :)


New version: DimisAIO.DindeGDPS version 2<IP_ADDRESS>

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
Resolve #162946

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

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

Microsoft Reviewers: Open in CodeFlow

Hi @Dragon1573,
This manifest adds Apps and Features entries that aren't present in previous PR versions. These entries should be added to the previous versions, or removed from this version.
(Automated response - build 886.)


Invoker with Ubuntu 18.04

Hi, I'm trying to use Invoker with a fresh 18.04 Ubuntu installation but I can't get it to work. When I run sudo invoker setup --tld test I keep getting an error: failed to create listening socket for port 53: Address already in use I tried to find a solution but nothing really worked and I'm not an Ubuntu expert so modifying system files without knowing what I'm doing seems like a bad idea for me. Anyone that knows a solution?

BTW it is possible that you are running into conflicts between systemd-resolved and dnsmasq. In which case suggested workaround appears to be:
https://unix.stackexchange.com/questions/304050/how-to-avoid-conflicts-between-dnsmasq-and-systemd-resolved?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa


Update pipectl version to the latest that plan-prevew uses

Why is this needed:
The new command flags are missing.
https://github.com/pipe-cd/pipe/blob/6b6bf58bb08440e44d55609e35d74a98710da133/dockers/actions-plan-preview/Dockerfile#L5

Probably this is already fixed.
The new one:
https://github.com/pipe-cd/pipecd/blob/2f57e0ab1d314871ff2c88d7eac3dc9299bb509c/tool/actions-plan-preview/Dockerfile#L8


Conform to Golang Standard Layout

Golang Standard Layout
Todo:

Put main.go into cmd sub-directory
Put library code into pkg directory
Evaluate internal directories

Implemented in d9a84ab58374fe56c5e8cbd6d9c4d0c3261b543a


Use aiohttp for the HTTP requests instead of requests

Is your feature request related to a problem? Please describe.
Nordigen client uses requests library which makes blocking http calls. This creates bottlenecks when fetching data for multiple requisition ids.
Describe the solution you'd like
Use aiohttp library which is asycnio-native. This will enable concurrent work using asyncio.gather which will dramatically speed up execution when working with multiple requistion ids.
The codebase is fairly small and I'm happy to make the change if the owners are happy with the idea.

I would also be happy with this. If I implement this myself I'll share it back.


[Security] Bump sprockets from 3.7.1 to 3.7.2

Bumps sprockets from 3.7.1 to 3.7.2. This update includes security fixes.

Vulnerabilities fixed
Sourced from The GitHub Vulnerability Alert Database.

CVE-2018-3760
See https://groups.google.com/forum/#!topic/ruby-security-ann/2S9Pwz2i16k.
Affected versions: >=3.0.0,<3.7.2

Sourced from The Ruby Advisory Database.

Path Traversal in Sprockets
Specially crafted requests can be used to access files that exist on
the filesystem that is outside an application's root directory, when the
Sprockets server is used in production.
All users running an affected release should either upgrade or use one of the work arounds immediately.
Workaround:
In Rails applications, work around this issue, set config.assets.compile = false and
config.public_file_server.enabled = true in an initializer and precompile the assets.
This work around will not be possible in all hosting environments and upgrading is advised.
Patched versions: >= 2.12.5, < 3.0.0; >= 3.7.2, < 4.0.0; >= 4.0.0.beta8
Unaffected versions: none

(This is an example of the kind of PRs Dependabot creates, so you can see it in action alongside #761. It won't automatically rebase or any of the clever stuff Dependabot normally does because I've manually copied it across, though.)

Very helpful, thank you for your effort!

My pleasure, thanks for speakerinnen.org @tyranja!


Ways to style the table?

Is there any way to pass className or style to table and cell components? I know I can attach CSS styles directly to generated elements and classes, but that's not very ideal because it generates hard linkings with inner workings of the component which should be opaque to the outside and is subject to changes.

I think you can pass the props to the  as part of the columnData and then use that in the cellRender to style your components.


MWPW-162067- Update favicon for project red

Update favicon

This is same PR as this one that got merged to stage and is verified on stage https://github.com/adobecom/news/pull/38
Resolves: MWPW-162067
Test URLs:

Before: https://main--news--adobecom.hlx.live/?martech=off
After: https://favicon-prod--news--adobecom.hlx.live/?martech=off

Verified in STAGE. good for production


fix constituent stdnames in state_converters.meta

There is a mismatch in standard names for the following:

cloud_liquid_water_mixing_ratio_wrt_moist_air vs cloud_liquid_water_mixing_ratio_of_moist_air
rain_water_mixing_ratio vs rain_water_mixing_ratio_wrt_moist_air

The only place that the first names were used was in state_converters.meta. Switching those to the second names listed for consistency. The corrected names match those listed in https://github.com/NCAR/CAMDEN/wiki/Metadata-standard-names

Agree with @cacraigucar , as the wrt versions follow the CCPP standard name rule number 5 here:
https://github.com/ESCOMP/CCPPStandardNames/blob/main/StandardNamesRules.rst#ccpp-standard-name-rules
However, it does look like we need to update the CAMDEN standard names list (whoops!), so I'll go ahead and do that now.

Hi All, just letting you know that I have updated the standard names page on CAMDEN to better take into account the CCPP standard name rules for constituents (at least for the ones associated with water).  If you find anything wrong, or have any questions or concerns, please let me know.  Thanks!

Thanks all! Closing this - will fix on the CAMDEN side


Make old reddit module hidden and always enabled for v5

We may have to do some extra work to make sure this module can't be disabled even when importing settings from v4, where it can be turned off.

tbutils has a section for this sort of stuff. But we do need to make sure it is indeed included there :D

543d3c8


Add a Day type to provide better handling of day value

Introduce a type Day to enforce static validity of the value and provide better error message to the user.
Before / after example with an invalid value

Compile time checked value

Hey @tguichaoua, let me know once this is ready and I'll review it. The change looks like a good improvement, happy to merge it once ready. Thank you! 🙂

@fspoettel should be ready now 😉

Thank you for the contribution! 🙂


Update to batect 0.17.

Update wrapper script to the latest version

Looks good to me, thanks @ekamara.


Decimal place error for transaction fee

Summary
Actually, transaction fee is 0.001078 KRT but it is displayed 0.010780 KRT on Transaction details page of Finder.
https://finder.terra.money/soju-0013/tx/F16B19211BA176EC01AC29EF6AC93B4EA0A03B70379E4E1DDF5027E238975D06
Expected
Transaction fee is displayed correctly.
Environments

Chain: soju

Closed


Channel basic_nack with delivery tag "0" (basic_recover) with prefetched messages

Starting Consumer with Qos options setted prefetch count > 1, we receive message stream.  If one will send basic_nack with delivery tag "0" or basic recover on the channel used, by documentation - "If the multiple field is 1, and  delivery tag is zero, this indicates rejection of  outstanding messages". So all messages that were prefetched became not valid, acking or nackacking them will result to raise channel exception and close it, because delivery tag is not valid anymore.
There is a proposal to clear prefetched queue when one of this events appear.

Thanks for the report!
So, let me sum this up, to make sure we're on the same page. Two similar problems here:

basic_nack with multiple = true and delivery_tag = 0 should drop all messages that have been prefetched from the stream
basic_recover should also drop all messages that have been prefetched from the stream

Is there something similar for basic_ack?
Could you point me to the right place in the documentation?

For basic ack here what i found in documentation: "If the multiple field is 1, and delivery tag is zero, this indicates acknowledgement of outstanding messages." So suppose that we need also drop all prefetched messages in this case.

@michaelklishin Could you maybe clarify what we are supposed to do there?

This should be fixed by 40294dbde464a63199e77efdfa33fad120c84570 and f1e798b77d9d0f4804ab6e616697eb5f73088486
This also led me to fix 827966fffe98287502b52f4b788138be061848b6
I'll make a new release shortly