Importing from node builtins gets messed up when libdef does so as well

Repro repo: https://github.com/iamdustan/flow-import-server-from-http-issue-when-express-exists
In short, if flow-typed/npm/express_v4.x.x.x.js is present then you can no longer do import type { Server } from 'http'; in other app code.
To repro:

git clone https://github.com/iamdustan/flow-import-server-from-http-issue-when-express-exists.git
yarn
flow

The only app code present in that repro is:
/* @flow */
import type { Server } from 'http';

If you delete the flow-typed directory then Flow understands this to be the Server class from node's http module. Otherwise you'll get the following error:
  3: import type { Server } from 'http';
                   ^^^^^^ Named import from module `http`. This module has no named export called `Server`.

This issue can be closed, because it was fixed in v0.143.0.
The cause of the symptoms above is that that libdef began with this line (linking to what was the latest version when this was filed):
import type { Server } from 'http';

That's an import at the top level of a libdef file, outside any declare module block. This has always been invalid… and until v0.143.0 Flow's behavior was to give no error where it happens, and instead to give either very confusing errors (like above) elsewhere in your codebase, or else silently no errors at all where related types are used.
Since v0.143.0 Flow gives a nice clear error when a libdef does this, and when you move the import inside the declare module block all is well. See #6414 for details.


[Feature Request] Ability to disable command not found loggings

What happened?
Now, if a command is not found, it will log these:

We should be able to disable them, it's annoying to see it logging messages from my parents' line group.
By the way, the feature request form is not working, so I'm using a bug report form instead.
Version
v0.1
Relevant log output
No response
Just to make sure...

[X] I've checked other issues, and this is not a repeated report.

Yes, it's possible to disable it, yet it's not documentated.
If you're using the latest version:
class EasterEgg(Cog):
    show_not_found_log = False # by default
    ... # commands

Source

Reminder: Although linelib still works, it is not recommended due to its:

slow speed (ping > 1000ms)
insecure source code
doesn't coverage more APIs than LineX

It'd be better if you chose to use LineX.
LineX also supports commands and is >50% faster.
Best,
awd

I tested it, and it's not working. Why?

PyPi version is probably a "wontfix."
Please just try out LineX instead, since this project will no longer be maintained.
There won't be any migration docs, so if you have any inquries, feel free to ask.
Best,
awd


Epic logs out on every restart

For about a two weeks now, every time my PC reboots Playnite's "Epic Settings" revert to "Requires authentication" - Neither the Epic website (through Firefox), nor the Epic launcher have this issue, and retain my login for 30 days.
"Remember me" is ticked when authenticating, and cookies should not be cleared on shutdown.
The issue does not occur when restarting Playnite within the same Windows session, only after a reboot.
Diagnostics ID: 5ff3e6cc-606c-4455-8c0d-c06ba046c838

Epic integrations doesn't do anything different in regards to app restarts vs system restarts. So most likely something is messing with auth token files in %appdata%\Playnite\ExtensionsData\00000002-dbd1-46c6-b5d0-b1ba559d10e4 (or just install folder instead of appdata if you are using portable version).
Also that token file is encrypted with encryption tied to a Windows user account which created the file, so running Playnite under different user or syncing the file from different computer will invalidate authentication.


[Help Request] Role cannot be empty when authentication with the PLAIN mechanism

Problem
When authentication with the PLAIN mechanism, got the error msg: Role cannot be empty
To Reproduce
The producer code:
package org.example;

import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerConfig;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.common.serialization.IntegerSerializer;
import org.apache.kafka.common.serialization.StringSerializer;

import java.util.Properties;

public class Main {
    public static void main(String[] args) {
        Properties props = new Properties();
        props.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, "<IP_ADDRESS>:" + 9092);
        props.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, IntegerSerializer.class);
        props.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, StringSerializer.class);

        String jaasTemplate = "org.apache.kafka.common.security.plain.PlainLoginModule "
                + "required username=\"%s\" password=\"%s\";";
        String jaasCfg = String.format(jaasTemplate, "public/default", "token:" + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbXSwiaWF0IjoxNjg3NjMwMjY5LCJleHAiOjE4NDU0NzUxOTksImF1ZCI6IiIsImlzcyI6IiIsInN1YiI6IiJ9.bVKykCNNg4eh3FiiUf69ZkGkyMSN_OrAOJUHS9bP5fg");
        props.put("sasl.jaas.config", jaasCfg);
        props.put("security.protocol", "SASL_PLAINTEXT");
        props.put("sasl.mechanism", "PLAIN");
        var producer = new KafkaProducer<>(props);
        producer.send(new ProducerRecord<>("test", "kop-demo"));
    }
}

Screenshots

Configurations
I'm using a standalone broker. (streamnative/sn-pulsar:<IP_ADDRESS>)
There are all the configurations under the conf folder:
standalone.conf
client.conf
proxy.conf
broker.conf(if needed)
PS
The code I can produce messages:
from pulsar import Client, AuthenticationToken

# create an authentication token object with the token string
auth = AuthenticationToken('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbXSwiaWF0IjoxNjg3NjMwMjY5LCJleHAiOjE4NDU0NzUxOTksImF1ZCI6IiIsImlzcyI6IiIsInN1YiI6IiJ9.bVKykCNNg4eh3FiiUf69ZkGkyMSN_OrAOJUHS9bP5fg')

# create a pulsar client with the authentication token object
client = Client('pulsar://<IP_ADDRESS>:6650', authentication=auth)

producer = client.create_producer(
    topic='persistent://public/default/test',
)

producer.send('demo-msg'.encode('utf-8'))
client.close()

I see you set up a Pulsar proxy, KoP might not work well with the proxy.
Could you also upload the logs from broker?

I just rechecked again, it's expected that the token you used did not work.

The "sub" field is the role, which is empty.
I generated a token following the guide here and you can see the "sub" field is "test_user"

I think the issue is at the Pulsar side. It seems that Pulsar can work with an empty role when authorizationEnabled is false

Nice catch! Fast and accurate!
I did overlook this point, did not carefully compare the guide and the "sub" field in the Token I generated myself, and I think I can use the token in the native pulsar client because I configured anonymousUserRole=admin in the standalone.conf file.
I think I should raise an issue about the "sub" field in the token to pulsar, because they don't seem to describe what rules need to be followed when generating token by self
A great help, thanks!


V153 Pre-Release, Random Crash - Logs included.

 Since updating to v153 Aurora is crashing sometimes, W11, Latest LGHub. Hardware: G512 & G503
Expected Behaviour
 Normal operation
Actual Behaviour
 Ramdom crash, can happen at the start of the program or hours later.
Frequency
Daily
Aurora Version:
 V153 Pre-Release
Previously an Issue?
 No

2023-07-22 06.42.04.log
2023-07-22 08.47.28.log
2023-07-22 21.19.05.log
2023-07-23 06.14.07.log
2023-07-23 20.11.48.log
2023-07-23 20.47.00.log

V159 crashed too, Testing V160 now.
2023-07-25 20.55.1120230725.log

Thanks, this is very random for me so will be hard do debug. It should still be present in v160
Sadly logs don't tell me much

I'm using a wireless headset and noticed that this error message always occurs twice when my headset is connected / disconnected while Aurora is running. With that knowledge I took a quick look at the source code and found out that commenting out this line prevents the issue from happening. Which explains why I get the message twice as the headset's microphone and playback device are added / removed. Of course this is no real fix but I hope it give you enough information to check the context in which the code is run.

Thanks all, I think I solved this. Will push next release with fix soon

Please confirm it is fixed:
https://github.com/Aurora-RGB/Aurora/releases/tag/v161

Works as expected on my end with v162.
Thank you for the quick fix.

Yeah, v162 was pretty solid yesterday. Thanks for the prompt fix!
But my bug wasn't triggered by any connect/disconnect event, but that fix also worked here. Thanks again!


[NEW CONTENT TYPE REQUEST] DOOM WAD

What type of file would you like magika to detect?
DOOM "Where's All the Data" file (.wad)
What software can create/open these files?
Ultimate Doom Builder, Doom Explorer
Where can these files be found?
doomworld,
idgames,
archive.org 2020-03-22 DOOM,
DOOM CDs,
doomwadstation,
ZDOOM,
realm667,
Rabbit's All-comers Mapping Project 2021,
Rabbit's All-comers Mapping Project 2022,
Rabbit's All-comers Mapping Project 2023,
vargskelethor DOOM mapping contest,
vargskelethor DOOM mapping contest,
itch.io,
doomshack,
Area-X1,
euroboros,
allfearthesentinel,
Austral Doom Realms,
moddb/doom,
moddb/doom II,
dogsoft,
wadseeker
If possible, please provide a specification for this file type.
Additional context

Closing, see #152 for context. Thanks!


build demo_ncnn in linux error(Target "nanodet_demo" links to target "OpenMP::OpenMP_CXX" but the target   was not found)

Dear author:
thanks for you code.
I did follow your readme.md in linux only skip the step2, and the cmake logs is:
xxx@xxx-System-Product-Name:~/freespace/nanodet-main/demo_ncnn$ mkdir build
xxx@xxx-System-Product-Name:~/freespace/nanodet-main/demo_ncnn$ cd build/
xxx@xxx-System-Product-Name:~/freespace/nanodet-main/demo_ncnn/build$ cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
OPENMP FOUND
-- Found OpenCV: /usr/local/opencv3 (found version "3.4.16")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
ncnn FOUND
-- Configuring done
CMake Error at CMakeLists.txt:31 (add_executable):
Target "nanodet_demo" links to target "OpenMP::OpenMP_CXX" but the target
was not found.  Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:31 (add_executable):
CXX_STANDARD is set to invalid value '17'
-- Generating done
-- Build files have been written to: /home/xxx/freespace/nanodet-main/demo_ncnn/build
========================
my cmake version is 3.5, ubuntu16.04
thanks

add my cmakelist.txt
cmake_minimum_required(VERSION 3.4.1)
set(CMAKE_CXX_STANDARD 17)
project(nanodet_demo)
set(OpenCV_DIR /usr/local/opencv3/share/OpenCV/)
find_package(OpenMP REQUIRED)
if(OPENMP_FOUND)
message("OPENMP FOUND")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
endif()
find_package(OpenCV REQUIRED)
find_package(ncnn REQUIRED)
if(NOT TARGET ncnn)
message(WARNING "ncnn NOT FOUND!  Please set ncnn_DIR environment variable")
else()
message("ncnn FOUND ")
endif()
include_directories(
${OpenCV_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
)
add_executable(nanodet_demo main.cpp nanodet.cpp)
target_link_libraries(
nanodet_demo
ncnn
${OpenCV_LIBS}
)


using ngMockE2E to test live http requests is throwing error in the latest 1.5.7 version but it is working in 1.4.0-rc.2 version

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
BUG
What is the current behavior?
I am trying to follow this blog post
http://www.bradoncode.com/blog/2015/06/16/unit-test-http-ngmock-passthrough/
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
http://plnkr.co/edit/K4wtX5grhdiQQ8CkJIyR - works fine (AngularJS version 1.4.0-rc.2)
http://plnkr.co/edit/Ku2thXHgUgeNzcg2LC5d - does not work .. (AngularJS version 1.5.7)
What is the expected behavior?
Should not throw an error
TypeError: $controller is not a function or Error: [$injector:modulerr] Failed to instantiate module ngMock due to:
Error: [$injector:unpr] Unknown provider: $$asyncCallbackProvider
What is the motivation / use case for changing the behavior?
The different versions of angularjs
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
it is working with (AngularJS version 1.4.0-rc.2) but not with the latest stable build
Other information (e.g. stacktraces, related issues, suggestions how to fix)

That post is out-dated (refers to older Angular versions) and messes with internals, so it runs the risk of breaking at any point (as happened here). You can apparently fix it by removing the bits about $$asyncCallbacks (which has been removed from Angular): Updated plnkr
Yet, since ff0395f, it is possible (even if not recommended) to use ngMockE2E alongside ngMock, so you might be able to spare the trouble: Demo
--
Closing, since everything works as expcted.


add grpc tcp als support

Please provide a description of this PR:

add grpc tcp als provider
respect FilterStateObjectsToLog in MeshConfig

Hi @zirain. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


On resume not fired

Ionic version:
ionic --version    : 2.1.8
cordova --version   : 6.4.0
cordova platform version android :6.0.0
I am stuck with on resume event. I can't get it fired when launching the app from coldstart. And at times it gets fired after few seconds when app is started and opened home page.
var app = angular.module('myIonicApp', ['ionic',
    'ngCordova',
    'angular-md5',
    'ngStorage',
    'angularSpinner',
    'ngMessages',
    'ngMap',
    'ngAnimate'
]);

app.run(function($ionicPlatform, $rootScope, $location, $localStorage,
    appConstants) {

	$ionicPlatform.ready(function() {
		console.log('$ionicPlatform.ready'); // This works

                document.addEventListener("resume", function() {
                       console.log("resume"); // Fired sometimes and that too after few seconds of ready console.
                  }, false);

                document.addEventListener("pause", function() {
                         console.log("pause"); // This works. Prints all time when I close that app or switch to different app.
                 }, false);
	 });
});

Am I missing anything..?

@sadiq-mc Have you checked if the device-ready is realy fired?
If the device-ready is not fired the $ionicPlatform.ready won't be executed at all.
Maybe try to wrap your listener on $(document).ready or $(window).load
Are you using crosswalk?
Greetings
Grapheruit

This is my console log on launching app by tapping app icon.
app.config
app.run
/login
$stateChangeStart
$stateChangeSuccess
$ionicPlatform.ready
Received gcm token

This is my console on launching app by tapping notification in coldstart.
app.config
app.run
/login
$stateChangeStart
$stateChangeSuccess
$ionicPlatform.ready
$cordovaPushV5:notificationReceived
Received gcm token

This is my console on switching the apps:
app paused
app resumed

And am using cordova webview.
Where can I place the $(window).load listener.?

This would be an approache
app.run(function($ionicPlatform, $rootScope, $location, $localStorage,
    appConstants) {
    $( window ).load(function() {
            document.addEventListener("resume", function() {
                       console.log("resume");
                  }, false);
  });
//or if you don't have jquery
    window.onload = function () {
          document.addEventListener("resume", function() {
                       console.log("resume");
                  }, false);
    }
});

Or have a look here: https://cordova.apache.org/docs/en/latest/cordova/events/events.html
// example.js file
// Wait for device API libraries to load
//
 document.addEventListener("deviceready", onDeviceReady, false);

// device APIs are available
//
function onDeviceReady() {
    document.addEventListener("pause", onPause, false);
    document.addEventListener("resume", onResume, false);
    document.addEventListener("menubutton", onMenuKeyDown, false);
    // Add similar listeners for other events
}

function onPause() {
    // Handle the pause event
}

function onResume() {
    // Handle the resume event
}

I couldn't able to resolve this issue as the 'resume' event didn't fire as expected...
I was integration phongap-plugin-push into my project and detected the launch by 'notificationReceived' of the plugin.
I am wondering why the 'resume' event fired after few seconds and that too some times on app launch... but fires as expected on switching back to the app from background.

@sadiq-mc Have you tried to install a fresh setup and adding this events? Just to make sure your application doesn't do anything strange.

Not yet.. will try it and will update..

This issue was moved to driftyco/ionic-v1#55

This issue was moved to driftyco/ionic-v1#56


[BUG] Tooling missing CFrameSpecialCases

Describe the bug
The file generated when you have the tooling option enabled is missing the CFrameSpecialCases variable.
Reproduction
Playground
Expected behavior
CFrameSpecialCases should exist so the tooling script doesn't error.

I'm so sorry - I forgot to release this!

It will be out in v0.6.14 momentarily.


Adding in Datasource lookup to footprint and emissions objects

Adding in the ability to lookup datasources using metadata as is done in ObsSurface.

@rt17603 could you have a look at https://github.com/openghg/openghg/blob/f9d42312f0d969b15ac11788bf877e667a7062c9/openghg/modules/_footprints.py#L148 to make sure this way of identifying a footprint makes sense?

result = self._datasource_table[site][domain][model][height]
For a footprint, site domain and height are always needed to be able to identify with "model" and "species" optional additional identifiers i.e. "model" and "species" won't always be included.


Is there already a way to list metadata attributes?

I see::
    async def _getxattr(self, path, attr):
        """Get user-defined metadata attribute"""
        meta = (await self._info(path)).get("metadata", {})
        return meta[attr]

    getxattr = sync_wrapper(_getxattr)

Could we have as well something like:
    async def _listxattr(self, path, attr):
        """List all user-defined metadata attribute"""
        meta = (await self._info(path)).get("metadata", {})
        return meta

    listxattr = sync_wrapper(_listxattr)

My specific application is to check if a certain attribute exists and then x/y/z. I can do this at the moment with a try/except loop. If I had a list of available attributes then that would be a little cleaner.
Maybe this capability already exists?
Thanks, T.

I would suggest that allowing getxattr with attr=None should return the whole of the meta variable, so you have everything you want in one.

Sure, if that is more Pythonesque.


RouteCache correctly handles dynamic predicates

Motivation:
We received a report where a route cached by RouteCache actually didn't have a route present.
https://github.com/line/armeria/blob/ed16bf6f8846415fdadd70d46afc364376669058/core/src/main/java/com/linecorp/armeria/server/RouteCache.java#L127
https://github.com/line/armeria/blob/4b1a2be9ae3b9492925fee179d33d4215a2e60d3/core/src/main/java/com/linecorp/armeria/server/Routed.java#L50-L52
This can be reproduced by

Sending a request first which satisfies the dynamic predicate to populate the cache
Send a request which doesn't satisfy the dynamic predicate

In the process of fixing this bug, I also found that excludedRoutes cannot be cached correctly, and thus added it to the list of dynamic predicates.
We already have a mechanism to guard against incorrect routing from the cache layer using ambiguousRoutes.
I propose that we also add all routes with dynamic predicates to ambiguousRoutes to ensure all cached routes are present.
Modifications:

Expose Route#paramPredicates, Route#headerPredicates

RoutingPredicate extends Predicate to support this more easily

Use Route#paramPredicates, Route#headerPredicates, Route#excludedRoutes to check if a route has dynamic predicates
Modify resolveAmbiguousRoutes to:

Extract routes with dynamic predicates
Extract all routes that have the same "routing key" as routes with dynamic predicates. This condition is needed because we can't differentiate from routingCtx between routes with and without dynamic predicates.

i.e. /routeA with headerPredicate vs. just /routeA

Result:

Routes with dynamic predicates are not cached
Closes #4927

(finally) ready for review 😄

Still LGTM. 👍


Add a restaurant website template

I can make a responsive restaurant website template

Hello! I would like to make a responsive restaurant template.
I will be using the following languages to build the website:

HTML
2)CSS
3)Bootstrap
4)Javascript
5)Jquery

Kindly assign this task to me.

I want to work on this under GSSOC2022. Can you assign it to me.


The automated model downloader block cuts off the magnet url in the middle if there's a - or _

The magnet link
magnet:?xt=urn:btih:ed9f0e3f849d7119107ef4e072c6abeb129e1a51&dn=r34_e4.ckpt&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2f9.rarbg.com%3a2810%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a6969%2fannounce&tr=http%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2fopentracker.i2p.rocks%3a6969%2fannounce&tr=https%3a%2f%2fopentracker.i2p.rocks%3a443%2fannounce&tr=udp%3a%2f%2fopen.stealth.si%3a80%2fannounce&tr=udp%3a%2f%2ftracker.torrent.eu.org%3a451%2fannounce&tr=udp%3a%2f%2ftracker2.dler.org%3a80%2fannounce&tr=udp%3a%2f%2ftracker.tiny-vps.com%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.moeking.me%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.dler.org%3a6969%2fannounce&tr=udp%3a%2f%2fpublic.tracker.vraphim.com%3a6969%2fannounce&tr=udp%3a%2f%2fp4p.arenabg.com%3a1337%2fannounce&tr=udp%3a%2f%2fopen.demonii.com%3a1337%2fannounce&tr=udp%3a%2f%2fmovies.zsw.ca%3a6969%2fannounce&tr=udp%3a%2f%2fipv4.tracker.harry.lu%3a80%2fannounce&tr=udp%3a%2f%2ffe.dealclub.de%3a6969%2fannounce&tr=udp%3a%2f%2fexplodie.org%3a6969%2fannounce&tr=udp%3a%2f%2fexodus.desync.com%3a6969%2fannounce

gets cropped as magnet:?xt=urn:btih:ed9f0e3f849d7119107ef4e072c6abeb129e1a51&dn=r34 by the regex which leads to a failed download.
Changing the regex from magnet:\?xt=urn:btih:[_A-Za-z0-9&=%.]* to magnet:\?xt=urn:btih:[_A-Za-z0-9\-_&=%.]* (also match the literal - and _) seems to help in this specific case, but I'm not sure if this will result in any issues with other URIs
Other small issue: the line after !aria2c <...> says exit without the parentheses, which leads to not exiting and then throwing an exception when the GDrive link variable is not set, adding the parentheses (exit()) fixes the issue
EDIT: exit() stops the kernel, so instead it would be better to add another elif magnet_match: pass to the final elif block would be enough to avoid a misleading Downloaded! followed by a Failed to parse URI
There's also the small QoL issue that the apt update and apt install aria aren't behind an !if which leads to it being reinstalled on every run
I can make a pull request with the changes if needed

Good catch on the regex issue! One tiny suggestion: use magnet:\?xt=urn:btih:[_A-Za-z0-9\-&=%.]* so you don't repeat the underscore in the literals.
And I didn't know that exit() stops the kernal. Thanks.
For the apt install aria it seems I forgot to copy this code to the downloader:
!if [ $(dpkg-query -W -f='${Status}' aria2 2>/dev/null | grep -c "ok installed") = 0 ]; then sudo apt update && sudo apt install -y aria2; fi

A pull request would be fantastic.

use magnet:?xt=urn:btih:[_A-Za-z0-9-&=%.]* so you don't repeat the underscore in the literals.

thanks for pointing out, didn't notice I specified it twice
as for exit(), it turned out that exit() doesn't do anything, doesn't even raise a NameError which is weird, and the reason it stopped the kernel was because I typed sys.exit() out of habit. There seems to be no way to exit early from the cell without stopping the kernel.
I'm gonna make a pull request with the 2 changes later today

Small edit: turns out exit() does stop the kernel, but only after the cell is finished, so it will not exit early, it will just stop the kernel after the current cell is finished and it also resets the environment unlike sys.exit(), so the user has to go back to the first cell and set the variables again

Cool, I'll take a look at it.

There seems to be no way to exit early from the cell without stopping the kernel.


Add providepw to posting contracts #778

Resolves #778.

CI is failing not because golos contracts tests.
Golos contracts tests are passing.
Fails are in cyberway.contracts/tests/cyber.stake_tests.cpp.
Same fails if just create empty branch and add empty commits.
I can try fix this problem but it is outside this issue.


KNOX-2239 - Websocket use the configured truststore in gateway-site config file

What changes were proposed in this pull request?
In Knox wss support was broken, the jetty implementation was picking up system keystore and not the keystore configured in gateway-site.xml file. This PR fixes it.
How was this patch tested?
This was tested locally with ws and wss protocols.

So we have to get and set the truststore on every single connection? We can't setup the HTTP client or websocket client once and reuse it? Seems a bit weird to me.

So we have to get and set the truststore on every single connection? We can't setup the HTTP client or websocket client once and reuse it? Seems a bit weird to me.

The issue is the javax.net api does not support adding custom truststore as a result jetty does not support it either. New instance of WebSocketContainer is created on every connection (along with the underlying httpclient) this is the only entry point i could find where we could update truststore.


DCR verify registration request JWT signature in IG

The DCR request sent to IG is a signed JWT, we are currently not validating the signature of this JWT, see:
https://github.com/SecureBankingAccessToolkit/securebanking-openbanking-uk-gateway/blob/9aba9eb9f864f6e6a650f1ce47a5cbe1186ae85d/config/7.1.0/securebanking/ig/scripts/groovy/ProcessRegistration.groovy#L61
As a note, the JWT is not passed on to AM, only the body (which we modify). Therefore it is our responsibility to ensure this is validated.

Thinking about this a bit more....
I wonder if it would make sense for IG to do the validation of the SSA (where ever it is issued from) and then re-sign the SSA contents and then provide the SSA signed by IG (using the OBSeal in OB case), and then pass that on to AM? Then AM would do all the usual SSA field validation etc?
This way, if a customer was protecting custom APIs using their own directory things would still change and AM would always just need to be configured to trust the IG signed SSA?
Even if the OB issued SSA was RFC-7591 compliant, I guess AM only checks the validity of the signing certificate. It won't be checking that the certificate used to sign the SSA is valid via a jwks_uri, so it will not be doing all the necessary checks for SSAs issued by the OB Directories.
So, the above approach means any ecosystem specific SSA checks would only concern IG.
This approach might of course have knock on effects that I haven't thought through....

I guess the returned SSA in the registration request would then be signed by us, which would be odd for TPPs?

On a more general note, this issue concerns validating the OB DCR JWT https://openbankinguk.github.io/dcr-docs-pub/v3.2/dynamic-client-registration.html#obclientregistrationrequest1 , which wraps the SSA (in the software_statement claim).
We have implemented logic to validate the SSA (see SSAVerifier) but we do not have logic to validate the OB DCR JWT.
As mentioned above, ideally we don't to have the SSAVerifier filter as the onus is on us to get it implemented correctly and maintain it which is something that AM can do.

Hey team! Please add your planning poker estimate with Zenhub @BohoCode @dbadham-fr @frlaura-jianu @mariantiris


Any update on continuous action spaces

I am working with continuous action space environments and could really use some speed-ups with the vector environments.
I am flattening the observations and actions by default.
Open to making a contribution if I understand the challenges with continuous actions spaces

Hi -- these should work as is right now. The only thing that doesn't work yet is mixing discrete and continuous action spaces. Our emulation layer will even do that flattening for you. What issues are you having? Happy to reply here, but will be even faster on discord.gg/puffer


cannot download "binding.node" file

CANNOT download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.1/win32-x64-node-1.5/binding.node :point_down: :point_down: :point_down: :point_down: :point_down:

:point_down: :point_down: :point_down: :point_down: :point_down:

AND there's no such file or dir like v2.0.1/win32-x64-node-1.5/binding.node in node-sass-binaries project :bangbang: :point_down: :point_down: :point_down: :point_down: :point_down:

How can I solve this problem?

What's the use case here?
You should be installing node-sass via NPM with npm install gulp-sass.
Can you please explain what you're trying to achieve?

It downloads the binary when installing gulp-sass so it seems like a node-sass issue

Please file this issue over on the node-sass issue queue.


Compact conky 1.8 color mode

Resolve #10

Resolve #10

thank you. that fixed it

Merged, thanks,


'MintClient' object has no attribute 'close' at end of run

Just re-ran mint-amazon-tagger for the first time in about 3 months, and find that it is reliably failing on the last step. As far as I can tell, transactions are being updated correctly, but there appears to be an error during the final clean-up. The error occurs and is visible on the command-line as well as in the GUI.
Creating a new webdriver
Getting Mint categories.
Get all Mint transactions since 2021-04-07.
Internal error while sending updates: 'MintClient' object has no attribute 'close'
Traceback (most recent call last):
  File "/Users/<username>/.cache/pypoetry/virtualenvs/tagmint-1tgIL90G-py3.9/lib/python3.9/site-packages/mintamazontagger/main.py", line 623, in send_updates
    self.do_send_updates(updates, args)
  File "/Users/<username>/.cache/pypoetry/virtualenvs/tagmint-1tgIL90G-py3.9/lib/python3.9/site-packages/mintamazontagger/main.py", line 689, in do_send_updates
    self.mint_client.close()
AttributeError: 'MintClient' object has no attribute 'close'
Internal error while sending updates: 'MintClient' object has no attribute 'close'

Hi @felciano! The updates were pushed to Mint. This error was first reported here and is fixed at HEAD, but I haven't cut new binary releases just yet. I'll do that now. Thanks for checking in.

Ah sorry my bad--should've found that on my own--thx

My apologies! I was just being laze. The 1.41 release is all there and should be good to go. Thanks


Typo "Azure key vault"→"Azure Key Vault"

https://learn.microsoft.com/en-us/azure/key-vault/secrets/quick-create-node?tabs=windows
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/key-vault/secrets/quick-create-node.md
#PingMSFTDocs

It looks like "key vault" is an instance of the service, so we'll close this PR as correct as-is. Thanks for contributing!


can this be used with angular2?

Hi, can this be used with angular2 with typescript and browserify?
should I use the cloudinay-core or cloudinary-npm for an angular2 app?

You will need to create a definition file to use the Cloudinary library with TypeScript (just like any other plain javascript library).
The Cloudinary AngularJS does not support AngularJS 2 yet, but you can use cloudinary-core or cloudinary-jquery with AngularJS 2 apps.


Fixing #3246 - Windows kubelet configs shouldn't overwrite Linux configs in hybrid cluster

What this PR does / why we need it:
The previous code would apply Windows kubelet static configs over the Linux ones in a hybrid cluster. That would break the Linux nodes
Which issue this PR fixes:
fixes #3246

/lgtm


Enabling cache buster on webpack

More information on https://github.com/kossnocorp/assets-webpack-plugin

This change is

Hey @jedrzej, this is ready for review. Both bundle.js and main.css includes hash on npm run build.
Thanks!

Reviewed 3 of 3 files at r1, 3 of 4 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


release: binaries show git hex version, not pretty version

I tried using the release binaries:
$ ./camput -version
./camput version: fbbbc8a81

It should say:
$ ./camput -version
./camput version: 0.9 (git rev bbbc8a81)

https://camlistore-review.googlesource.com/6006

21604dbe568b1d997453575ba9717168ee1316d2


Getting ready for v11 release

Planned steps for release of v11 STABLE:

Update alpha workshop to alpha 12 (bug fixes to array index errors, localisation updates, etc) - @aubergine10
Make sure that's working well (confirm bugs fixed) - whole team needs to be on lookout for error reports
Update changelog to fill in missing info about alpha releases etc (via PR #431) - @aubergine10
Update graphics for workshop pages (see notes below) - @FireController1847 can u do that?
Change mod name/version as applicable for LABS/STABLE builds - anyone with source access
Once we confirm 11-alpha12 is bug free, we can then update the two workshop pages (text will need some tweaks) - @aubergine10 and @krzychu124
Once 6 is done, it marks the offiical 'end of life' and obsolecence of LinuxFan's version / page; a comment will be posted to that page as necessary to remind users to move over to v11

Changes to workshop pages
Old STABLE page (linuxfan's page):

We are not able to alter anything on this page :(

LABS workshop page (krzychu1245's page):

Will become "TM:PE V11 STABLE"
Use RELEASE (ie. STABLE) builds
Preivew image and thumbnail to be updated to reflect new name/version

Add "V11" and "STABLE" to the images to make different from linuxfan images

Updated occasionally to latest stable builds

ALPHA workshp page (aubergine18's page):

Will become "TM:PE V11 LABS"
Use RELEASE LABS builds
Preview image and thumbnail to be updated to reflect new name/version
Regular updates soon after any PRs are merged so we get fast end-user feedback cycle going and thus faster progression of new features to stable releases

Other stuff
What happens to labels used on github? I propose:

LABS -> rename to V11 STABLE
11 ALPHA -> rename to V11 LABS

lmk if I missed anything...

Alpha12 bug fixes seem to be working well. Suggest wait a week or so to be sure, then we formally release v11.
@FireController1847 Will you be able to update the graphics as described above?

@aubergine10 Yes sir, on it! :)

Hopefully, this is kind of what you were going for. Let me know if you'd like any changes! :)

As talked about in the Discord and confirmed, here are the four logos to be used anywhere that's necessary. The source files and zip was uploaded to the Discord to not violate copyright by distributing the icon.

From discord:

FireController:
Also, here is the color sheme for the images: https://coolors.co/202225-6cbeeb-427b9c-f7b73c-7cc17b

@krzychu124 stuff for v11 STABLE page:
Please sub and enable Improved Mod Upload as it will tag releases with active game version at time of publishing to workshop.

Title: TM:PE v11 STABLE
Images: square preview image & slideshow image
Description: markup for description

v11 released to the wild!


Upgrade projects to LTS versions of .NET

Update library projects to .NET Standard 2.1 and test projects to .NET Core 3.1. (Versions with LTS support.)

CI fails for some reason in AppVeyor:
https://ci.appveyor.com/project/robertogiachetta/aegis/builds/38111551
It seemingly uses .NET Core SDK 2.2.110, although the image was upgraded to Visual Studio 2019.


Password whitespace and input in browsable API

Do not trim password whitespace (trim_whitespace, see: http://www.django-rest-framework.org/api-guide/fields/#charfield)
Mask password input (inspired by https://github.com/encode/django-rest-framework/blob/master/rest_framework/authtoken/serializers.py#L11-L12)

Coverage remained the same at 97.089% when pulling 28e712cf4b4784522589f4678ccf0d2a26e8cbb3 on illagrenan:patch-1 into e4c04528a2c3aaf21f638589639d84df278866ec on Tivix:master.

The same change should also be done to the PasswordChangeSerializer and PasswordResetConfirmSerializer.

Coverage remained the same at 97.089% when pulling cfe6c5b6933b5406a601707734d795cf462e81ed on illagrenan:patch-1 into e4c04528a2c3aaf21f638589639d84df278866ec on Tivix:master.

@sloria Thanks! Done.

Coverage remained the same at 97.089% when pulling dfe3f12356db3028f18c06c3fed97e5feac275b0 on illagrenan:patch-1 into e4c04528a2c3aaf21f638589639d84df278866ec on Tivix:master.

Hi,
as a user of rest-auth, thanks for the contribution!
This repo is not maintained anymore, so the development moved to dj-rest-auth. (reference: https://github.com/Tivix/django-rest-auth/issues/568)
It may be best, if you move this PR there. (and upgrade to using dj_rest_auth)
new repo link: https://github.com/jazzband/dj-rest-auth (I'm not the upkeeper of that repo, it just makes sense for me to help you merge your PR)
Many Thanks,
Barney


KubernetesRuntime translates pulsar object names to values that are RFC1123-compliant when generating Kubernetes Resource Specs

Is your enhancement request related to a problem? Please describe.
Currently, it's valid to (via pulsar-admin and the admin rest api) specify names that include the colon ':' character. For example, I can create a namespace via pulsar-admin and the rest api as something like 'my:example:namespace'. We've found this useful for purposes of adding structure to object names that is then easier to programmatically parse.
We've been able to use this format with no problems with the ProcessRuntime for deploying functions.
The KubernetesRuntime, however, is currently not compatible with pulsar object names that are not compliant with RFC1123, because KubernetesRuntime attempts to use these object names verbatim in the labels it attaches to the resource specifications.
Trying to use the KubernetesRuntime with the name format described above prevents the functions from deploying successfully.
More detail provided by @sijie :
there is a disconnection pulsar name verification and kubernetes name verification. Pulsar supports more legal characters than kubernetes naming convention. The disconnection causes an issue when using KubernetesRuntime to run functions and connectors. Kubernetes requires a name that can be used as a DNS subdomain name as defined in RFC 1123 (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). If the name doesn’t follow the rule, you will fail to run functions/connectors using kubernetes runtime.
However, we can’t change the pulsar naming convention to use the DNS subdomain name convention because there are already many applications built before we introduce functions.

Describe the solution you'd like
The KubernetesRuntime could translate the names of the pulsar objects to forms that are RFC1123-compliant. This could be as simple as replacing all illegal characters with a '-', for example. The KubernetesRuntime already does something similar in generating the pod names.
Describe alternatives you've considered
Without this feature, we'll need to either change our naming convention (which works well for us) or go back to using the ProcessRuntime. We'd really like to be able to use the KubernetesRuntime for the scaling benefits.

@csthomas1 yes we should create a conversion for namespace as well like we do for the pod names. But I think Pulsar already provide a ManifestCustomizer interface for k8s, so you can implement the interface to make your own customizer. Also pr is welcome to add the rfc1123 conversion for namespace in k8s runtime.
ref: https://github.com/apache/pulsar/blob/db6afd52841108b0c35f0a0bdd0759f5243d93e0/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/kubernetes/KubernetesManifestCustomizer.java#L36


in webpack, the Logs tab click calls logs instead of wsk activation logs

logs command not found; this only seems to affect webpack builds, for some reason

should be addressed now


Improve docker top

It would be nice to have an option to get the original output from docker top. (skip this line https://github.com/swipely/docker-api/blob/master/lib/docker/container.rb#L24)
From documentation it should look like this :
{
     "Titles": [
             "USER",
             "PID",
             "%CPU",
             "%MEM",
             "VSZ",
             "RSS",
             "TTY",
             "STAT",
             "START",
             "TIME",
             "COMMAND"
             ],
     "Processes": [
             ["root","20147","0.0","0.1","18060","1864","pts/4","S","10:06","0:00","bash"],
             ["root","20271","0.0","0.0","4312","352","pts/4","S+","10:07","0:00","sleep","10"]
     ]
}

It will ease table rendering with gem like terminal-table or tty-table.

Hi there! Any news?

Merged : https://github.com/swipely/docker-api/pull/353#event-1036452176


Run swift test on Linux

Use #if only on codes that can't be compiled.
Add printing message to crashing test on Linux and run them.

Nice! Thank you :grin:

@norio-nomura: I’ve invited you to the repo. We use a PR-based workflow for the core contributors just like you’ve been doing already, but this way it should be slightly more convenient for you to e.g. tag a release if/when you need to.
Thanks again for your contributions!

Thanks for merging and invitation! :pray:


experimental-gls

When running Var module : Getting error messages
"/speedseq/bin/freebayes: unrecognized option '--experimental-gls'
did you mean --use-best-n-alleles ?  "
Seems "experimental-gls" option is decapitated
hope it does not effect the outcome?

I think Erik may have made --experimental-gls default now. However, the version of speedseq packaged in speedseq (freebayes commit f46d24f) still uses experimental-gls, so it should not fail. Is it?

It would be great if we can use the latest tools available...Is it possible to update?

Updated to freebayes v0.9.21, https://github.com/hall-lab/speedseq/commit/27906e6b725892c61afae309917b9975b8c8aa72


Input labels overlay problem

Here is what I get after hiding and showing div using jquery

How can I programmatically refresh the form?

add class "active"

is there anyway to refresh form and add active class to all filled inputs' labels

Becase as far as I know, initially when you have values and open page, materialize does it automatically

Can you provide a codepen ?

Call Materialize.updateTextFields()

its not working in my case


Improve formula bar UX

Currently, the formula bar doesn't work the way that it does in Excel or other spreadsheet programs.
*There isn't any differentiation between editing in the cell or editing in the formula bar.
*Selecting a cell immediately puts the cursor at the end of cell contents (in the "hidden" entry). Typing doesn't replace as in Excel, but rather appends.
Does this have to work the way other programs do though? Since range selection will likely be very different (#5), and formula syntax is fairly different, maybe it's possible to break from the mold. Perhaps this means a more overt editing mode.
*No in-cell editing.
*Double-clicking or hitting Enter (or Space?) will open editing mode and put the focus in the formula bar.
*Hitting Enter in the formula bar exit editing mode, "save" the formula and recalculate the sheet.
*Clicking the sheet during editing mode would select ranges.
*A small Edit/Done Editing button (symbols) next to the formula box would also open/close editing mode.
*Perhaps double-clicking the sheet could close editing mode?

Esc would of course be another option for exiting edit mode.


SMTP-IP authentication not working after upgrade to 2.1.4

Describe the bug
Hi,
I've just upgraded from 2.1.2 to 2.1.4 and I have a problem with SMTP-IP authentication.
I've an authorization based on my IP subnet that did work until the upgrade. Now, when I perform the anonymous SMTP session to submit a message, the server respond "530 Authentication required" and does not accept an anonymous session.
To Reproduce

enable a SMTP-IP credential assigning a subnet IP
submit an email from an IP included in the subnet of #1

Expected behaviour
The email is accepted, as it did in 2.1.2
Environment details

OS: Debian
Version 2.1.4
Client Thunderbird or simple telnet session

Additional information/context
with credential SMTP-IP created as "<IP_ADDRESS>/25":
[9] [2023-08-08T16:05:41.257] DEBUG -- : [IRJDVX]    Connection opened from ::ffff:<IP_ADDRESS>
[9] [2023-08-08T16:05:41.259] DEBUG -- : [IRJDVX]    Client identified as ::ffff:<IP_ADDRESS>
[9] [2023-08-08T16:05:41.323] DEBUG -- : [IRJDVX] <= EHLO [<IP_ADDRESS>]
[9] [2023-08-08T16:05:41.334] DEBUG -- : [IRJDVX] => 250-My capabilities are
[9] [2023-08-08T16:05:41.336] DEBUG -- : [IRJDVX] => 250-STARTTLS
[9] [2023-08-08T16:05:41.337] DEBUG -- : [IRJDVX] => 250 AUTH CRAM-MD5 PLAIN LOGIN
[9] [2023-08-08T16:05:41.402] DEBUG -- : [IRJDVX] <= STARTTLS
[9] [2023-08-08T16:05:41.402] DEBUG -- : [IRJDVX] => 220 Ready to start TLS
[9] [2023-08-08T16:05:41.493] DEBUG -- : [IRJDVX] <= EHLO [<IP_ADDRESS>]
[9] [2023-08-08T16:05:41.498] DEBUG -- : [IRJDVX] => 250-My capabilities are
[9] [2023-08-08T16:05:41.499] DEBUG -- : [IRJDVX] => 250 AUTH CRAM-MD5 PLAIN LOGIN
[9] [2023-08-08T16:05:41.550] DEBUG -- : [IRJDVX] <= MAIL FROM:<----->
[9] [2023-08-08T16:05:41.550] DEBUG -- : [IRJDVX] => 250 OK
[9] [2023-08-08T16:05:41.562] DEBUG -- : [IRJDVX] <= RCPT TO:<------>
[9] [2023-08-08T16:05:41.593] DEBUG -- : [IRJDVX] => 530 Authentication required
[9] [2023-08-08T16:05:43.303] DEBUG -- : [IRJDVX]    Connection closed

We have had the same problem yesterday, after upgrading. Every setting was the same as before, there did not seem to be any particular reason for the problem.

Same problem here, new installation though

Do you know if a solution has been found yet? @Trapulo

Same issue being faced, any solution found?

Do you know if a solution has been found yet? @Trapulo

it seems not

Dirty fix.
Add to the IP-SMTP credential "::ffff:" before the IP address. Like ::ffff:<IP_ADDRESS>
And posts start go thru.
There is some problem when identifying the address (if using SMTP-IP as authentication) that it adds "::ffff:" somewhere front of the ip.

Dirty fix.
Add to the IP-SMTP credential "::ffff:" before the IP address. Like ::ffff:<IP_ADDRESS> And posts start go thru.
There is some problem when identifying the address (if using SMTP-IP as authentication) that it adds "::ffff:" somewhere front of the ip.

Works like a charm! Thanks!

This will be fixed by 8b525d0381a9e0113af808b9ec2eb47bf78ec60b on the next release.

This will be fixed by 8b525d0 on the next release.

Thanks! Is there a target date for next release?


⚠ Jenkins Plugins Artifactory has degraded performance

In 2a917f2, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1393 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 0303b15 after 33 minutes.


ClrMd floods syslog with stackwalk messages

We have a tool running on Ubuntu 22.04 that periodically attaches to .NET processes on the server (most of them .NET 6) and does something like this (simplified):
var dataTarget = DataTarget.AttachToProcess(pid, false);
var runtime = dataTarget.ClrVersions[0].CreateRuntime();

if (runtime.ThreadPool != null)
   (Log ThreadPool properties)

foreach (var thread in runtime.Threads)
{
    (Log thread properties)

    if (thread.CurrentException != null)
    {
        (Log exception)
    }

    foreach (var frame in thread.EnumerateStackTrace().Take(1000))
        (Log stack frame)
}

We recently upgraded the Microsoft.Diagnostics.Runtime NuGet package in it from 2.0.142701 to 3.0.442202 and now it logs a LOT of messages to syslog, like this ("ThreadDumper" is the name of our EXE):
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: BEGIN STACKWALK - X64
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: END STACKWALK - hr:S_FALSE
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: BEGIN STACKWALK - X64
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: END STACKWALK - hr:S_FALSE
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: BEGIN STACKWALK - X64
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: END STACKWALK - hr:S_FALSE
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: BEGIN STACKWALK - X64
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: STACKWALK - hr:S_OK
Nov 12 05:43:21 glomgold ThreadDumper: ThreadDumper Information: 0 :
Nov 12 05:43:21 glomgold ThreadDumper: END STACKWALK - hr:S_FALSE
...

How do we stop it from flooding the log with this useless info?

What version of ClrMD are you on?  These were fixed in 3.1, so let me know if you are seeing this on the most recen builds and I'll reopen this.  Thanks!


Class levels should not return subclass features

(Discussed on the Discord)
The URLs like 'classes/barbarian/levels/7' should not be returning specific features of the berserker primal path such as as it is a choice made at level 3.
It doesn't make sense that the barbarian class itself would know about the specific primal path features.
Also, while I used barbarian as an example, it applies to all of the classes for their subclass feature levels.

I think that sounds reasonable, however, I think this is an issue with the API and not the underlying database. (I think we already discussed that on Discord).

I'm looking at the JSON for the levels, and it seems like it's an issue with the database.

Oh! Interesting.

I think this was solved by #153. I definitely removed the cases I found so I'll close it


Marshal time stamp as string

Commit message body:
The server now encodes the time stamp at which it received the POST
operation as a string instead of using the default `float64` type
imposed by the standard `json` interface.

We also take the opportunity to record the time stamp as early as
possible and coalesce the code a bit.

Layered on top of PR #82.

fine by me! thanks, i guess we don't have to error out when we can't parse the timestamp as float


How does parent component re-render a redux state which updated by its child modal?

I am using a modal child component from my parent component. OnSubmit of the modal, it updates the redux state which has rendered in my parent component. (behind the modal).
I want to update my parent component's rendered content by updated redux state when closing the modal.
what is the way to do above scenario in react-redux?

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!

https://stackoverflow.com/questions/55609776/how-does-parent-component-re-render-a-redux-state-which-updated-by-its-child-mod


Update theming variables hex to rgba

Good morning,
I am currently having a problem with the internal css colors. I saw that some are in rgba and the other in hex.
My concern is that I want to change the style of the tags and I can't apply transparency on the default color because it's set to hex.
Currently the css4 standard is still in draft state. This means that it is not yet possible to use the hex to rgba transformation in browsers.
It would be interesting to have a uniformity of the variables in variant-internal.css in rgba rather than hexa as well as in the variants of the themes.
The idea is not to have to override hex variables in rgba.

I am open to PRs for it if you want to provide this but will not work on this for myself.
A better way would probably be, to add a new color variable for the tags and defaulting it to the secondary color.
By that you could create your own variant without changing the color by CSS rules. CSS rules may break at any time as the DOM is not ensured to be stable between releases.

I opened a PR but I've not make change in Neon theme. I make later the conversion.

I've made further conversions to fix whitespacing and the neon variant.


memory consumption with 0.6.1 makes builds to fail

banana-rdf got switched to 0.6.1 with @InTheNow's sbt-scalajs 0.6.1. All the subsequent builds using scala-js 0.6.1 failed.
Errors include:

java.lang.OutOfMemoryError: PermGen space
org.scalajs.jsenv.ComJSEnv$ComClosedException: JSCom has been closed

java.util.concurrent.TimeoutException: Timeout expired
at org.scalajs.jsenv.rhino.RhinoJSEnv$Channel.recvJVM(RhinoJSEnv.scala:463)```
(local builds using the same memory constraints than for travis-ci)
Forcing banana-rdf to use sbt-scalajs 0.6.0 fixed the problem.
You can see the builds at https://travis-ci.org/w3c/banana-rdf/builds .
Note that we already had similar (but different (but probably related)) issues with travis-ci as we are not able to enable FastOptStage for the entire build (see https://github.com/w3c/banana-rdf/commit/f6a01302e1256d84f326aa78b97c24b48ec0058c). So I do not know if this is a regression or something else, but I really tried many options before getting that one to work.

I can't load the banana-rdf project. I get this, just running sbt:
[info] Compiling 3 Scala sources to /localhome/doeraene/projects/banana-rdf/project/target/scala-2.10/sbt-0.13/classes...
java.lang.ClassCastException: Cannot cast com.typesafe.sbt.SbtPgp$ to sbt.AutoPlugin
        at java.lang.Class.cast(Class.java:3176)
        at sbt.ModuleUtilities$.getCheckedObject(ModuleUtilities.scala:20)
        at sbt.ModuleUtilities$$anonfun$getCheckedObjects$1.apply(ModuleUtilities.scala:23)
        at sbt.ModuleUtilities$$anonfun$getCheckedObjects$1.apply(ModuleUtilities.scala:23)
        at scala.collection.immutable.Stream$$anonfun$map$1.apply(Stream.scala:376)
        at scala.collection.immutable.Stream$$anonfun$map$1.apply(Stream.scala:376)
        at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1085)
        at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1077)
        at scala.collection.immutable.Stream.foreach(Stream.scala:548)
        at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48)
        at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:176)
        at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:45)
        at scala.collection.TraversableLike$class.to(TraversableLike.scala:629)
        at scala.collection.AbstractTraversable.to(Traversable.scala:105)
        at scala.collection.TraversableOnce$class.toList(TraversableOnce.scala:257)
        at scala.collection.AbstractTraversable.toList(Traversable.scala:105)
        at scala.collection.immutable.List.$plus$plus(List.scala:193)
        at sbt.PluginDiscovery$.discoverAll(PluginDiscovery.scala:38)
        at sbt.Load$.loadPlugins(Load.scala:833)
        at sbt.Load$.loadPluginDefinition(Load.scala:790)
        at sbt.Load$.buildPlugins(Load.scala:785)
        at sbt.Load$.plugins(Load.scala:773)
        at sbt.Load$.loadUnit(Load.scala:431)
        at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
        at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
        at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:91)
        at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:90)
        at sbt.BuildLoader.apply(BuildLoader.scala:140)
        at sbt.Load$.loadAll(Load.scala:334)
        at sbt.Load$.loadURI(Load.scala:289)
        at sbt.Load$.load(Load.scala:285)
        at sbt.Load$.load(Load.scala:276)
        at sbt.Load$.apply(Load.scala:130)
        at sbt.Load$.defaultLoad(Load.scala:36)
        at sbt.BuiltinCommands$.doLoadProject(Main.scala:481)
        at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:475)
        at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:475)
        at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:58)
        at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:58)
        at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:60)
        at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:60)
        at sbt.Command$.process(Command.scala:92)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:98)
        at sbt.MainLoop$.run(MainLoop.scala:91)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:70)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:65)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:65)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:48)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:32)
        at sbt.MainLoop$.runLogged(MainLoop.scala:24)
        at sbt.StandardMain$.runManaged(Main.scala:53)
        at sbt.xMain.run(Main.scala:28)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:57)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:77)
        at xsbt.boot.Launch$.run(Launch.scala:57)
        at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
        at xsbt.boot.Launch$.launch(Launch.scala:65)
        at xsbt.boot.Launch$.apply(Launch.scala:16)
        at xsbt.boot.Boot$.runImpl(Boot.scala:32)
        at xsbt.boot.Boot$.main(Boot.scala:21)
        at xsbt.boot.Boot.main(Boot.scala)
[error] java.lang.ClassCastException: Cannot cast com.typesafe.sbt.SbtPgp$ to sbt.AutoPlugin
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

Do you think you could git bisect the commit in Scala.js that would have caused this additional memory consumption?

I can't load the banana-rdf project. I get this, just running sbt:

Looks like it's either a dependency issue with sbt (then wiping your .ivy2 folder might solve it), or you already have sbt-gpg defined globally.

Do you think you could git bisect the commit in Scala.js that would have caused this additional memory consumption?

I won't have time in the near future (Scaladays then moving to California for a new job). Maybe I will see you at Scaladays?

I won't be at ScalaDays SF, but I'll be in Amsterdam.

@betehess: I'll be at Scaladays. Hope to see you there.

After investigations with @betehess, we found several issues:

Rhino filling up PermGen space
Node.js timeouts being too low (#1546)

The latter was most likely caused by the way we launch slaves in the test interface. Using CPU count to estimate the number of JS VMs does not work very well in a kernel-virtualized environment like docker, which Travis uses IIUC. It is unclear to me how and whether this needs addressing.

@betehess could you please try the workaround in #1556 and confirm this fixes your issues?

@InTheNow has just confirmed (on gitter) that the workaround in #1556 fixes this issue.

@betehess can we close this?

I am still off the grid until tomorrow. I am happy to close this now if
@InTheNow is happy with his experiments.
On Mar 23, 2015 8:43 AM, "Tobias Schlatter"<EMAIL_ADDRESS>wrote:

@betehess https://github.com/betehess can we close this?
—
Reply to this email directly or view it on GitHub
https://github.com/scala-js/scala-js/issues/1525#issuecomment-85054991.

@gzm0  The workaround works, you have an issue for further ideas and I agree with your analysis.
:+1: from me to close this issue

dependencyOverrides += "org.scala-js" %% "scalajs-sbt-test-adapter" % "0.6.0" workaround does not help me

Did you add it in project/build.sbt? (not in project/Build.scala or build.sbt)

It is an override for the sbt-plugin's dependencies, not your project's.

I added it to project/plugins.sbt

Ok. That should be fine. Could you give us some debug information? Apparently you are facing a different problem that banana-rdf, since they report that the dependency override works for them.

? Apparently you are facing a different problem that banana-rdf, since they report that the dependency override works for them.

I have the same problem with b-rdf  I am really surprised that @InTheNow managed to successfully run tests with "org.scala-js" %% "scalajs-sbt-test-adapter" % "0.6.0" hack

the tests were run on travis - see https://travis-ci.org/w3c/banana-rdf/builds/55200281 and related PR for code changes


[feature] rye install multiple binaries

Could it be possible that rye install supported multiple arguments? Like rye install pre-commit cookiecutter maturin rather than one line at a time. This is also currently a limitation with pipx.

The issue with that is flags. Only for the simple case where no flags are passed does that work. The moment you need to pass something it will stop working. So it would be a feature that doesn’t always work.

Uh, I see. I was "expecting" this to work out of the box since cargo allows you to install multiple crates. The rationale behind flags has a lot of sense. Do you think both could be supported and, in case both are used (i.e. multiple packages + flags) an error is raised?
I understand it's a bit too much to add + maintain just to avoid writing a for loop in bash or executing multiple statements.

It would be trivial to add, it's just a question if it's a good idea :)


Support for long versionCodes

Luckily, ApkMeta.versionCode is already a Long, so I didn't need to add a hacky versionCodeMajor field like in android.

Thank you for quickly merging this :)
Would you mind making a release with the recent changes?

Sure. New version 2.6.10 now released.

Thanks!


Changed open_rate from Int to Double

This variable is causing the following error while being an Int:
java.lang.IllegalArgumentException: com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 40.20618556701 at line 1 column 6339 path $.lists[1].stats.open_rate

Done


Support bucket policy

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind feature

Anything else we need to know?:
Include:

PUT/GET/DELETE policy of bucket.
Make sure those policy can take effect.

Environment:

Gelato(release/branch) version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

policy feature is moved to the next milestone.


Es 74 receive2

Use a timer to flush the receiver if no code is received in 8 'true dot' times. This flushes the last 1-2 buffered characters out if nothing further is received.
Fixes #74
Tests:

Send from MKOB-2.5 and receive using 4.0 on a different machine. Notice that the complete message is received/displayed in a timely manner.

@AESilky Thanks for adding the timer to pykob.morse. It works great on my tests so far on machine sent code. I have a feeling 8 dot lengths will turn out to be too short with Morse sent by real operators. Very often, when someone's sending with a bug the dots will be significantly faster than the overall speed of the Morse. Where this comes into play is that the internal space of the 'Morse' letters can be more the 8 dot lengths. In this case, the internally spaced letters would be incorrectly decoded as two separate letters.
I'd rather merge this branch now and deal with any tweaking of the timer later. I went ahead and did the merge myself. I hope I wasn't out of line in doing this on my own initiative. Feedback welcome!

@leskerr great insight! I just thought that basing it off of dot speed was better than a fixed value (say 0.8 seconds). But I took a guess as what percentage of 'dot-speed' would be reasonable.

@leskerr great insight! I just thought that basing it off of dot speed was better than a fixed value (say 0.8 seconds). But I took a guess as what percentage of 'dot-speed' would be reasonable.

@AESilky Your approach is exactly right. The delay should indeed be a multiple of the currently received dot length. When we get on the wire together I can send on my bug and we'll see what actually happens. Maybe even make some adjustments on the fly.

I look forward to the live code (even though I can't contribute (I can key "THE" semi-reliably)), but I would love to hear some 'real' code.

"THE" appears twice in 'The quick brown fox...' and it is fairly simple and common. :-)

Yup, 'the' and 'and' occur so frequently, pretty soon you start hearing them as entire words rather than individual letters.

I stand corrected. Eight dot lengths for the timer is just fine. I tried sending with my bug, and even when I exaggerate the spacing in my sending it decodes beautifully. No need to change anything. Nice job!

Thanks for confirming. I did think quite a bit about it (leaning on some of my Watson STT (speech to text) work), but (being a Morse novice) I did have to 'take a best guess' at it.


🐛 FIX: Unloadable home page when offline

Because of this, if https://aiidalab.materialscloud.org/ is offline (as it is currently),
you can't even start aiidalab 😒.
I suggest  you also look through the rest of the code-base,
to check if there is anywhere else that assumes an internet connection.

I think #171 is addressing exactly that.

Well get it merged and released then lol, because currently it has completely broken aiidalab

I assume related, in that when this is fixed, and the registry fails to load, the title of widgets does not show:

Surely these can be sourced from the widget itself?


Upgraded libp2p to 0.3.1

Build is failing here

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f5ad645). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #97   +/-   ##
=========================================
  Coverage          ?   48.13%
=========================================
  Files             ?       42
  Lines             ?     4531
  Branches          ?        0
=========================================
  Hits              ?     2181
  Misses            ?     2070
  Partials          ?      280

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 f5ad645...fd727ac. Read the comment docs.

A rebuilding worked.

Thanks. Merging now.


disassembler.cc might need <inttypes.h> header.

I had to add #include <inttypes.h> in dissassembler.cc to prevent the following error during compilation:
source/disassembler.cc:80:18: error: expected ‘)’ before ‘PRIx64’
     printf("0x%" PRIx64 ":\t%s\t\t%s\n", disassembled_ins.address,

issue ha been fixed in https://github.com/finixbit/ftrace/commit/1bc5099864c7eadc5846a14e0027ab07daca6549


Invitation to Open-Source

Appreciations to the creative works. Your app is really fantastic. I would like to invite you to contribute to the open-source - Project

Hi, thanks for the kind offer. I'm going to create more complicated projects maybe these projects would be better for that. I will think about that again once I created my new projects.
thanks again

Thank you @muratali016


How to run test_translation_speed.py

easynmt docker install is working fine through http requests. Now i'd like to run some benchmark. How do you run /examples/test_translation_speed.py ?

To answer my own question...
Probably not the optimal way but I succeeded by going to the container shell, installing a text editor and copy/pasted the content of the file:
docker exec -it easynmt bash
apt install nano
nano ~/test_translation_speed.py
(paste the code)
python ~/test_translation_speed.py opus-mt

For the record I get the following result: 74.41 sentences/second
Machine spec:
Intel i5-10400, 2.9 Ghz, 6 cores
32GB RAM
HD: 512GB NVMe
GPU: Geforce RTX 3070 Ti XC3 Ultra (8GB GDDR6)

On my older server I get: ~49 sentences/second
Machine specs:
Intel Xeon E5-2620 v3 Hex Core 2.40 GHz, 15M cache, 6 cores
32GB RAM
HD: 2 x 250GB SSD (RAID 1)
GPU: NVIDIA GeForce RTX 2080 Ti


How do I set it up behind a proxy server

My server is behind a squid proxy. I have whitelisted the mozilla url (https://mxr.mozilla.org/nss/source/lib/ckfw/builtins/certdata.txt?raw=1) that the module tries to get to get the latest CAs but looks like it cannot reach it. I get the following error:
Use "require('ssl-root-cas')" instead of "require('ssl-root-cas/latest')"```

Here's a couple of options:

Don't worry about it, just use the latest version and occasionally reinstall the new latest version
Install it on a system with a full internet connection and then copy it over


🐧 Add systemd-timesyncd to all images that use systemd

What this PR does / why we need it:
The project has documentation about using timesyncd, but the reality is that not all images included it.  This change adds systemd-timesyncd to all machines that also install systemd.
Originally discovered while working on #821, but fixing for all systemd-based images here.  However, fedora doesn't have systemd-timesyncd and tells people to use chrony instead, so it might make sense to standardize around chrony in the future.  opensuse also does not have the packages.

Codecov Report

Merging #840 (a23e500) into master (9e7a1ad) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master     #840   +/-   ##
=======================================
  Coverage   19.29%   19.29%
=======================================
  Files          18       18
  Lines        1467     1467
=======================================
  Hits          283      283
  Misses       1135     1135
  Partials       49       49

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

I guess the big benefit of using chrony is that we would not have to maintain two packages/configs, so IMO it would make sense.
@mudler do you have more context of why systemd-timesyncd was introduced?

Thanks! that's a good catch!

I guess the big benefit of using chrony is that we would not have to maintain two packages/configs, so IMO it would make sense.
@mudler do you have more context of why systemd-timesyncd was introduced?

That's actually the benefit of systemd-timesyncd.  Some distros ship that separately, some doesn't and it is just inside the same systemd package.
Note, systemd-timesyncd was introduced almost ~9 years ago: https://lists.freedesktop.org/archives/systemd-devel/2014-May/019537.html so I expect it to be present - if not, at some point it definetly should =).
I don't have big preference - our cloud config supports configuring it, however, it's not expected it to be present e.g. in distros that don't use systemd.


Best practices for modal overlay markup?

This sort of pattern is commonplace:

            Some information here.
          <button color={color} onClick={this.handleClose} />Close</button>
          <button color={color} onClick={this.handleOK} />OK</button>

What is currently considered best practice for the overlay element? Making it an anchor or button element feels bizarre to me, though I'm willing to entertain the idea. Adding role="button" seems plausible (though because of #214 this currently doesn't pass the default airbnb config in eslint. Arrgh.) Thanks.

an override comment seems appropriate

You mean disabling linting for this one line? I have this general  pattern hundreds of times in the codebase I'm working on. And it's ubiquitous in the wild. Having to selectively disable linting for such a fundamental interface pattern makes me wonder if something needs to be rethought. I'd love to hear other ideas on the matter.

@blord-fullscreen that a pattern appears frequently doesn't mean it's a good pattern nor "fundamental"; and code in the wild is irrelevant since one only lints one's own code.
If you're using an overlay hundreds of times in your codebase, why is that not using the fundamental pattern of code reuse, and shared as an <Overlay> component? Then it'd need a single override comment, not hundreds.

that a pattern appears frequently doesn't mean it's a good pattern nor "fundamental"

True. I didn't say modal windows were always good. I said that they are ubiquitous, and therefore authors of linters ought to think seriously about them.

and code in the wild is irrelevant since one only lints one's own code.

Trivially true, but you're missing the point. You're producing a public product that provides widely used specific guidelines that help to shape the future of markup on the web.

If you're using an overlay hundreds of times in your codebase, why is that not using the fundamental pattern of "code reuse", and shared as an  component? Then it'd need a single override comment, not hundreds.

Great question. Answer: because the contexts are often very different, because it would be a significant refactor on a large existing codebase, and because there are more pressing features to be implemented.
I'll just disable your product, the way you initially suggested, and advise other people to do the same.
Have a nice day.

For modal overlays I use role="presentation" , which is designed to hide it from screen readers and remove it from the accessible tree.


checkDeviceAuthorizationStatus is not work!!!

Hello!!!
if(Camera.checkDeviceAuthorizationStatus) {
console.log('yes');
} else {
console.log('no');
}
PLease Help

checkDeviceAuthorizationStatus is a promise method.
So your check would have to be something like:
const someAsyncFunction = async () => {
 if(await Camera.checkDeviceAuthorizationStatus()) {
  console.log('yes');
 } else {
  console.log('no');
 }
}

@SpidGiarz what about if on false we want to ask user to allow camera access , so if some other time user want to redo the permission .

For Android leverage PermissonsAndroid or a third party module to determine the camera permission state and act accordingly:

if denied; request again with the appropriate rationale.
if never_ask_again; explain the situation and, optionally, provide a button to quickly take them to your app's settings page.

For iOS if false then justify the need for the permission while providing a button to transport them to your app's settings page.

@SpidGiarz thanks for a quick response , I am developing for IOS .. Is there really no way other then manually changing permission of the app ?

Sadly none, other than providing them a compelling reason to manually grant you that coveted permission.

componentDidMount(){
const someAsyncFunction = async () => {
if(await Camera.checkDeviceAuthorizationStatus()) {
console.log('yes');
} else {
console.log('no');
}
}}
none work (((

@aspidvip check this: https://github.com/lwansbrough/react-native-camera/blob/master/README.md#requirements

Camera.checkDeviceAuthorizationStatus()
.then((result)=>{
this.setState({
accessFoto: result,
});
})
this is work!!! thansk!!!

please close topic! thansk)


Schedule checks

Related to #749
I would love to see a way to schedule a standalone check immediately, at the end of a chef run for example.

Sensu 0.27 adds an HTTP socket to the Sensu client. We could continue the theme of adding Sensu API routes (w/ feature parity) to the Sensu client HTTP socket, route code re-use.

I like this idea. So basically a POST to a specific route would trigger the check?

@axos88 yes, only if defined locally as a standalone check :+1:

Sounds good to me. Any roadmap on when 0.27 is going to be released?

This happened; see: https://sensuapp.org/blog/2017/01/31/sensu-core-v0-27-0.html
#monitoringlove


KaTeX math sometimes doesn't render

Describe the bug
Sometimes the math just... doesn't render. Refreshing seems to fix it.
It occured to @Blind4Basics on Cracking the digital hash lock (at the end), and I've seen kata mentioning something like 'if you don't see the math render, refresh', but I can't remember where. So this is definitely a problem.
Need details from users who have experienced this.
To Reproduce
Steps to reproduce the behavior:

Go to a kata where the description has math
Hope you can reproduce the issue
See that the math is not rendered despite being correctly formatted in markdown

Expected Behavior
A clear and concise description of what you expected to happen.
Screenshots
(Missing, to be filled in)
Contexts
(Missing, to be filled in)
Please complete the following information:

OS: ?
Browser: ?
Browser Version: ?

OS: Win7
Browser: firefox 79.0

screenshot:

Happened again. I feel like it could be the same problem than the one about the links to the coments that is not making the screen scroll down when the user lands on the page... (?)

OS: macOS Catalina 10.15.6
Browser: Firefox 79.0

Screenshot:

To reproduce, visit a Kata with KaTeX in its description for the first time since boot. Refresh the page once and the problem does not appear again until the next boot.
I actually noticed this back when KaTeX support was first added but didn't consider it an issue worth reporting ¯\_(ツ)_/¯

Kazk said somewhere that the first time you open a page using KaTeX markdown, some dependency, or whatever, is loaded without which it can't be rendered correctly,

Yeah, I feel like this is a known bug, but I found no issue tracking it so I opened this.

@dramforever Thanks for opening it. I was going to fix it when I commented on Codewars, but had something else come up and forgot to.
I'll probably just include the JS in the application bundle.

Fixed


Fix url regex to not be so restrictive

Fixes #65.

@clenk are you planning to pull this change into the validator?

Yes; I just wanted this merged in first.

Thank you!


Tips for training MTL on large dataset

Are there tips on how to train MLT model on large datasets that have millions of trainable parameters. I am trying to train this on 1TB memory of machine but still facing memory limit.
Thanks.

How large are your train/dev/test datasets (in terms of size). The architecture loads the complete datasets into memory. If they are too large, your machine will crash. You then need to change the code so that the data is streamed from disk and not read into memory.

The dataset is small, less than 3 million per task. I have seen the training failing due to memory limit for any model that has more than 1M trainable parameters. The training goes smoothly for models that have less than 1 million trainable parameters.

That is strange. How many tasks are you training?
It should be no issue to train with more than 1 million parameters, even with much smaller memory. I personally have about 16 GB of RAM and training runs smoothly on larger networks with datasets.
Are you using Python 3.6 (or newer) and a recent Linux system?

Yes, I am using Python 3.6 on CentOS version 7

I sadly don't have an idea why this could be the case. It should work fine.
You could also test this implementation:
https://github.com/UKPLab/elmo-bilstm-cnn-crf
It works similar to this repository, but it also allows to use ELMo representation. Maybe there this issue does not happen?

Still the same issue even with the elmo implementation. Here is the error:
Training: 0 Batch [00:00, ? Batch/s]/tmp/slurmd/job1924456/slurm_script: line 18: 21081 Segmentation fault      (core dumped) python Train_multitask.py

Is python actually allocating that much memory? Maybe the OS imposes some limit on the memory / heap / stack size, so that the scripts crashes even if only e.g. 4 GB RAM are allocated.
Maybe this thread helps:
https://stackoverflow.com/questions/10035541/what-causes-a-python-segmentation-fault


Some problems with sdk

1. After I run yarn add @nervosnetwork/ckb-sdk-core, I can't find the folder in the local node_modules:

node_modules/@nervosnetwork/ckb-sdk-core/lib/types -> https://github.com/nervosnetwork/ckb-sdk-js/tree/develop/packages/ckb-sdk -core/types

node_modules/@nervosnetwork/ckb-sdk-rpc/lib/types/CKB_RPC -> https://github.com/nervosnetwork/ckb-sdk-js/tree/develop/packages/ckb-sdk-rpc/types/CKB_RPC

node_modules/@nervosnetwork/ckb-sdk-utils/lib/types/blake2b-wasm -> https://github.com/nervosnetwork/ckb-sdk-js/tree/develop/packages/ckb-sdk-utils/types/blake2b-wasm

Should be missing these folders and files when packaging.
2. My project can be successfully built in the macOS catalina, but fails on docker node:12.12.0.
After my debug, the reason for the guess is that the problem of the folder "node_modules/@nervosnetwork/ckb-sdk-rpc/lib/types/CKB_RPC` is uppercase. After changing to lowercase, my project can be built success.
The second question is consistent with #371 .

I'll fix them ASAP.

They should be fixed in https://github.com/nervosnetwork/ckb-sdk-js/pull/388, and will be released in v0.25.0

Very looking forward to!

Feel free to re-open if there are still problems related to the type definition.


chore(main): release 0.5.2

:robot: I have created a release beep boop
0.5.2 (2024-08-23)
Bug Fixes

Fix issues identified by golangci-lint (#16) (9d655f8)

Documentation

Add changelog for previous versions (#18) (e5019c1)

Miscellaneous Chores

Delete IntelliJ project config (#15) (c30df76)

Continuous Integration

Add basic GitHub actions configuration for release (#12) (e571c45)
Add Golangci-lint GitHub action (#19) (592ac55)
Add golangci-lint, flake.nix to run it and VSCode config for it (#17) (921f5b6)
Add tests and benchmarks to CI (#14) (00985c8)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.5.2
:sunflower:


Fix CSS to be BEM

A lot of the CSS isn't proper BEM from what I could tell.  This issue is to run through all our css and verify we follow BEM.

Sounds good to me 😃

@codyseibert I have gone through the CSS files and seems good to me

Ok let me double check.  Did you paste them into a BEM validation site such as https://torleif.nz/bem/ ?

there are tons of BEM validation errors in all the CSS.  Take any css file and put it into an online BEM validator and it'll show the errors.

Yeah, i noticed.. thanks for the feedback.
I will be fixing that asap.

Yeah, I noticed.. thanks for the feedback.
I will be fixing that asap.
Oh, My My, I tried fixing the CSS to BEM but almost all the CSS files have issues and I'm not really comfortable with frontend.

Yeah, i noticed.. thanks for the feedback.
I will be fixing that asap.

Oh, My My, I tried fixing the CSS to BEM but almost all the CSS files have issues and I'm not really comfortable with frontend.

Yeah, i noticed.. thanks for the feedback.

I will be fixing that asap.

Oh, My My, I tried fixing the CSS to BEM but almost all the CSS files have issues and I'm not really comfortable with frontend.

No worries, maybe I can get to this soon

I fix a lot of the issues, but there are still some css files not properly doing BEM

I just checked, there is still css failing bem validation

@codyseibert Can you share the files link ?
So that i can fix that issue


Cifar10 Tutorial Link to Example Code 404's

Following any of the links to the code for the CIFAR10 tutorial 404's.
Example link: https://www.tensorflow.org/versions/master/tutorials/deep_cnn#code_organization
Any from above.

I've added this to our docs fixit event list. Thanks for reporting this.

Seems like the github has already fixed this issue, while the tensorflow.org does not, until next release.

Closing this but there seems to be similar issues cropping up with the 1.1 branch on the website for example: #9774


Update VSIX version prefix

### Summary of the changes

Will add updating this file to tiger docs

Superseded by https://github.com/dotnet/razor/pull/8497/


act does not seem to work with multiple points

Hi,
Thanks for the great project and paper. I'm trying to use to act operator on multiple points, but can't seem to get it to work. As a toy example, consider:
a = torch.FloatTensor([0.4230, 0.5557, 0.3167, 0.6419])
so3 = SO3(a)
b = torch.rand(10, 3)
so3.act(b)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/hturki/miniconda3/envs/test/lib/python3.8/site-packages/lietorch-0.1-py3.8-linux-x86_64.egg/lietorch/groups.py", line 163, in act
    return self.apply_op(Act3, self.data, p)
  File "/data/hturki/miniconda3/envs/test/lib/python3.8/site-packages/lietorch-0.1-py3.8-linux-x86_64.egg/lietorch/groups.py", line 120, in apply_op
    inputs, out_shape = broadcast_inputs(x, y)
  File "/data/hturki/miniconda3/envs/test/lib/python3.8/site-packages/lietorch-0.1-py3.8-linux-x86_64.egg/lietorch/broadcasting.py", line 15, in broadcast_inputs
    check_broadcastable(x, y)
  File "/data/hturki/miniconda3/envs/test/lib/python3.8/site-packages/lietorch-0.1-py3.8-linux-x86_64.egg/lietorch/broadcasting.py", line 5, in check_broadcastable
    assert len(x.shape) == len(y.shape)
AssertionError

And note that so3.act(b.T) doesn't fail but seems to silently return None. Am I calling this operation incorrectly?

Also, more broadly speaking, this is the sort of function I was hoping to implement with lietorch:
def get_rays(directions, c2w):
    # Rotate ray directions from camera coordinate to the world coordinate
    rays_d = directions @ c2w[:, :, :3].transpose(1, 2)  # (n, H*W, 3)
    # The origin of all rays is the camera origin in world coordinate
    rays_o = c2w[:, :, 3].unsqueeze(1).expand(rays_d.shape)  # (n, H*W, 3)
    return torch.cat((rays_o, rays_d), -1)

Where directions is an (N, M, 3) tensor and c2w would be an SE3 transform. Note that the rotation and translation components of the transform are treated separately. So ideally I'd be able to:

Get the rotation component of the SE3 transform and call the equivalent of [tensor * rotation_transposed] on it
Also extract the translation vector from the SE3 transform

The easiest solution I could think of was to call the matrix() function on the SE3 transform, but doesn't currently seem to be differentiable.

Hi, that function is possible to implement.  In your code, you just need to add a dimension to so3
a = torch.FloatTensor([0.4230, 0.5557, 0.3167, 0.6419])
b = torch.rand(10, 3)
so3 = SO3(a)
so3[None].act(b)

or if you were acting on an even higher dimensional point cloud
a = torch.FloatTensor([0.4230, 0.5557, 0.3167, 0.6419])
b = torch.rand(10,10,10, 3)
so3 = SO3(a)
so3[None,None,None].act(b)

Right now, broadcasting assumes that both the group element and point have the same number of dimension, so you have to manually expand the dimensions you want to broadcast over.

hi, I want to implement a toy example for optimizing rotation, here is my code, but it did not converge, are there any wrong things in my code?
import torch

from pytorch3d.transforms import random_rotation
from lietorch import SO3

x = torch.randn(100, 3, requires_grad=False).cuda()
rotation = random_rotation().cuda().requires_grad_(False)
print(rotation)
y = x @ rotation

class Model(torch.nn.Module):
    def __init__(self):
        super(Model, self).__init__()
        self.phi = torch.nn.Parameter(torch.randn(1, 3, requires_grad=True).cuda())

    def forward(self, x):
        so3 = SO3(self.phi)
        return so3.act(x)

model = Model().cuda()

optimizer = torch.optim.Adam(model.parameters(), lr=0.0001)

for i in range(1000):
    y_hat = model(x)
    loss = torch.nn.functional.mse_loss(y_hat, y.detach())
    optimizer.zero_grad()
    loss.backward(retain_graph=True)
    optimizer.step()
    print(loss.item())

print(SO3(model.phi).matrix())


refactor(log): modify log level

Codecov Report
Attention: Patch coverage is 20.58824% with 27 lines in your changes missing coverage. Please review.

Project coverage is 59.93%. Comparing base (757e8dc) to head (9b7dbbd).
Report is 819 commits behind head on develop.

Files with missing lines
Patch %
Lines

mediaPlayer/MediaPlayerConfig.cpp
0.00%
14 Missing :warning:

framework/data_source/IDataSource.cpp
14.28%
12 Missing :warning:

framework/demuxer/play_list/HLSStream.cpp
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #34      +/-   ##
===========================================
- Coverage    60.66%   59.93%   -0.74%
===========================================
  Files          200      200
  Lines        10343    10370      +27
===========================================
- Hits          6275     6215      -60
- Misses        4068     4155      +87

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


TPA Separation of concerns - MEF example

Managed Extensibility Framework (MEF)
Scope:

Expand the Composition project
Add loosely coupled component with an External dependent on Composition.ILogger and exporting DataProcessing  class
Add to UT composition procedure calling the DataProcessing and testing if it uses ILogger.Log

I am taking ovetr it.

The UT for MEF should be simplified .


risc-v/esp32c3: Support ESP32-C3 wireless ioctl cmd

This feature was implemented by Chen Wen<EMAIL_ADDRESS>and reviewed by Abdelatif Guettouche && Gustavo Henrique Nihei.
Summary

Support more ESP32-C3 wireless ioctl commands
Support station and softap mode.

Impact

Provide better WAPI support on ESP32-C3

Testing

Tested with ESP32-C3-Devkitc

./tools/configure esp32c3-devkit:wapi  or ./tools/configure esp32c3-devkit:sta_softap

Hi @cwespressif please update the board configs:
$ ./tools/refresh.sh --silent esp32c3-devkit:board_config_name

Hi @cwespressif please update the board configs:
$ ./tools/refresh.sh --silent esp32c3-devkit:board_config_name

It is a issue of mismatch in the print output format in fs/spiffs, I have fixed these warnings.

@cwespressif please rebase this branch.  There was an issue with an STM32 configuration that seems to be fixed now.

@cwespressif please rebase this branch. There was an issue with an STM32 configuration that seems to be fixed now.

Done.


Python visualization

Technical Description
Port the Visualizer from serialbox1 to serialbox2 and update the documentation accordingly.
Note: After this merge the documentation should be deployed again to github (see https://eth-cscs.github.io/serialbox2/Documentation.html) to reflect this update.

I would stronlgy advice against exporting it in __init__.py as forces a dependency on matplotlib on entire serialbox module. I don't think this is worth it for such a niche functionality, no?

The place where you especially want to use the python integration is for debugging and visualization. We have matplotlib on kesch and daint so it's not a problem.

Yeah but you can still import it, no? And it is clearly stated in the documentation how to do it.. I don't see a problem here but I guess it Hannes call (I don't care :))

I tested it following the documentation. Looks good!

@thfabian I'll let @havogt decide whether he wants to have it in the module or not.

It is about an explicit from serialbox.visualizer import Visualizer?

Yes it is still part of the module of course but it is not automatically exported as this would force a dependency on matplotlib (even if you don't need it). Instead of writing
from serialbox.visualizer import Visualizer

you can simply write
from serialbox import Visualizer

which I think is a small benefit for a hefty price.

Yes, I don't care. I am fine with the current state.


Multiple async/await middlewares not being executed in the correct order

import koa from 'koa';
import Router from 'koa-router';

const router = new Router();
const app = koa();
async function first(next) {
  console.log('Running first function');
  this.body = 'first';
  await next;
}

async function second() {
  console.log('Running second function');
  this.body = 'second';
}

router.get('/', first, second);
app.use(router.routes());

app.listen(3000);
console.log('Listening...');

If you run this code, you will get Running second function before Running first function (both in the console and in the final response body). Shouldn't the second function only run when first awaits it? This is the current behavior of yield, where the next will only run if it's yielded by the previous middleware.

This is fixed with koa 2.x and koa-router 6.x:
import Koa from 'koa';
import Router from './';

const router = new Router();
const app = new Koa();

async function first(ctx, next) {
  console.log('Running first function');
  ctx.body = 'first';
  await next();
}

async function second(ctx, next) {
  console.log('Running second function');
  ctx.body = 'second';
}

router.get('/', first, second);
app.use(router.routes());

app.listen(3000);
console.log('Listening...');

It's working fine on 2.x, thank you!