Support SO_REUSEADDR/SO_EXCLUSIVEADDRUSE for Windows (C#) servers

What version of gRPC and what language are you using?
gRPC v1.12.0 using C#
What operating system (Linux, Windows, …) and version?
Windows Server 2012
What runtime / compiler are you using (e.g. python version or version of gcc)
gRPC v1.12.0
What did you do?
Create a simple server while a different application is listening on the same port (vmware-hostd.exe, TCP port 443) using:
_server =
                new Grpc.Core.Server(new List<ChannelOption>
                {
                    new ChannelOption(ChannelOptions.MaxReceiveMessageLength, ...),
                    new ChannelOption(ChannelOptions.MaxSendMessageLength, ...),
                })
                {
                    Services = {...},
                    Ports = {new ServerPort(IPAddress.Any.ToString(), ..., ...) }
                };
...
_server.Start();

What did you expect to see?
Some error like "bind failed: Address already in use" (with a flag that would enforce not accepting multiple holders of the same bound port)
What did you see instead?
The server was running "normally", but did not get any client requests. Instead, all clients connected successfully to the server (one of them) but failed at further communication
Anything else we should know about your project / environment?
I understand there is some support in similar flags (you can set SoReuseport) and some differences between different platforms, but it's not very clear to me as to whether or not it's possible or not to set this flag in Windows or other platforms (and if not possible - why?)

Hey, I'd love to know if that's possible. Did I understand the situation correctly, it's just another flag that could be exported to the user?

First, SO_REUSEADDR is a flag that lets you bind local addresses quicker when they've been freed previously by another process. This isn't about sharing ports across processes, this is about stealing sockets from one process to another basically.
Second, the flag you're thinking about, SO_REUSEPORT, is a Linux-exclusive thing. There's no Windows equivalent for it unfortunately.
Third, if I am reading you correctly, you want to listen on the same port as a different application. Listening on the same exact port as a different application doesn't make any sense whatsoever. The primary purpose of SO_REUSEPORT is to create a cluster of stateless process for a single application, in order to easily parallelize the processing of incoming requests by using the TCP kernel layer as a sort of round robin load balancer across multiple processes. If requests are randomly served by different applications, no application semantic would make sense in form or function.

@l33ds With regard to you not seeing the error "bind failed: Address already in use", we do indicate  indicate non success by returning 0 from bind(), and the error message should be in the logs. What might have happened in your observation of the clients connecting "successfully" to the server is that the client didn't error out, but was left in a reconnection loop.
For example, if you have an invalid certificate, the client will continue attempting to connect forever, and forever failing with the ssl mismatch error.

@nicolasnoble @hcaseyal Thanks for your responses, I think I didn't get the message through. I want the Server to fail (exception, return value etc.) when trying to listen to addr:port that is already listened by a different process. Are you saying that the way to do it is SO_REUSEPORT but it's impossible on Windows? That's not what I understand from this: https://docs.microsoft.com/en-us/windows/desktop/winsock/using-so-reuseaddr-and-so-exclusiveaddruse
Thanks and sorry if I'm misunderstanding anything

The failure is there and reported. The failure is indicated by the bind call returning 0.

@nicolasnoble I don't see the failure you're describing. In my program, _server.Start() succeeds and does not trigger any exception :(


Stop untrusting sources (or new-added repositories specially)

Describe your suggested feature
When I update a source, it gets marked as untrusted, it's annoying to have to mark them as trusted every time.
And, when you start a fresh start in the app, ALL of them are set as untrusted, as someone who has a LOT of sources, you can imagine...
Other details
This is already implemented in Mihon (on advanced settings)
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an request for a feature in the original Tachiyomi, I am opening because multiple versions of Yōkai have been released without this feature.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have checked through the app settings for my feature.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

It is in the backlog, just converted it to an issue on GH-72 for better tracking.


[PROPOSAL] How about excluding opensearch-rest-client-sniffer dependency?

What/Why
What are you proposing?
Hello, spring-data-opensearch seems to have opensearch-rest-client-sniffer dependency by default.
However, spring-data-elasticsearch doesn't have its dependency by default and Elastic said sniffing can be double-edged-sword.

ref: https://www.elastic.co/blog/elasticsearch-sniffing-best-practices-what-when-why-how/

How about excluding opensearch-rest-client-sniffer dependency and leave it to the developers preference ?
As shown in the issue, it seems more reasonable to add dependency only when needed, rather than removing them if an error occurs.
(If using a cluster provided by a cloud service like AWS Opensearch, we'll probably always get errors while sniffing nodes)

@reta Can you comment this for me?

@reta Can you comment this for me?

Thanks @tuguri8 , I think it causes more problems than benefits. we saw a couple of issues with sniffer when connecting toclusters in cloud-based environments or containers. Mind sending the pull request? Thank you!


Factor out 'autologin as' RF keyword.

Pull Request Test Coverage Report for Build 1874

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at ?%

Totals

Change from base Build 1870:
0.0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls

@bloodbare the guillotina tests fail, no idea why. Would you mind having a look?


Horizon hangs

Hi
We are experiencing some hangs issues with our horizon and stellar-core instances. Horizon is buit from git with tag 0.11.0 (but the same was with previous release too). Core version is 0.6.3. Current answer from horizon is
  "horizon_version": "",
  "core_version": "v0.6.3-4-g708237b",
  "history_latest_ledger": 13093894,
  "history_elder_ledger": 13089664,
  "core_latest_ledger": 13094346,
  "core_elder_ledger": 13089664,

core_latest_ledger is synced with the network. history_latest_ledger at some time stops syncing. Resync of horizon db didn't help, only deleting of stellar-core and horizons db works. In stellar-core there are no error messages, in horizon there is
Aug 23 14:15:25 horizon[23092]: time="2017-08-23T14:15:25Z" level=error msg="ledger gap detected (possible db corruption): validateLedgerChain: failed to load cur leedger gap detected (possible db corruption): validateLedgerChain: failed to load cur ledger: sql: no rows in result set" pid=23092 start=13093895

This error spawns a lot.
We tried Correcting gaps in historical data from here https://github.com/stellar/horizon/blob/master/docs/reference/admin.md but it didn't helps. Looking for any help and advices.

@pitersky you need to have your stellar-core configured to use the CATCHUP_RECENT feature to avoid gaps in history.  You can see an example here:  https://github.com/stellar/docker-stellar-core-horizon/blob/master/pubnet/core/etc/stellar-core.cfg#L7  (our docker images can tolerate being out of sync for 60480 ledgers without the need for administrator interference)
By default, stellar-core will only run minimal catchup, which will not fully populate the txhistory table will transactions that happened during the period your stellar-core was out of sync.  If this table is not fully populated, horizon cannot properly ingest the network history.


Translation file has too many lines error

Sorry for the second issue post in the same day, but I got this error in a game that I'm translating atm. Engine is Kirikiri Z core and the file format is .ks. I tried reading old issues and I know that error would appears because too many characters (as the message error says) and by changing some things like " / " to "/". I checked my xlsx and there's not that kind of errors (I also tried to limit the characters writen) but the process still stops always in the third script, script that, needed to say, I haven't worked in at all. Could you take a look on it please? This is the game just in case: https://vndb.org/v28644
and I'm also attaching my xlsx and original scripts.
scenario.xlsx
scenario.zip
PD: Program still resambled the first two scripts, I repacked them and works perfectly (just some wordwrap errors, but I think that's because the difference between the characters in the line translated and the original).

Also I think there's a problem in the wordwrap for this game. The configurations are setted in 50 characters per line by default, but that wordwrap doesn't work and the line cut in the character 71 or so. I don't know if this have relation with the tool or it's just maybe the game but just in case, I point it too.

ProportionalLineWidth" value="1000" is the wrap for kirikiri,

ProportionalLineWidth" value="1000" is the wrap for kirikiri, in your case just decrease to 900 or smaller.

The wordwrap works perfectly now, thank you very much Cosetto.

Should be fixed - please re-extract and try again.

Should be fixed - please re-extract and try again.

Tested and it's repacking all scripts normally now. Thank you very much.

I'm reoping this issue for just a little issue. Extracting and repacking works perfectly with this game now, but in my most recent test, I found 2 errors, I don't know is it's directly related with the tool, but I'll say it just in case. The first error was in the replacement of some original - translated lines. I think it's just in this kind of games that has a system to choose a "nickname" for the main character or let you write your name instead. The lines in the scripts extracted will looks like this

If you write your translation in the TL line, when you repack the script and then the patch, this replacement or change will not shows in the game, althought you can force it just replacing the original line. I haven't tried to do the same process with other tools tho so I'm not sure if it just happen in this one.
The second problem is a message error that close the game abrutly.

I'm reopening this issue for just a some little problems. Extracting and repacking works perfectly with this game now, but in my most recent test, I found 2 errors, I don't know if it's directly related with the tool, but I'll let you know just in case. The first error was in the replacement of some original - translated lines. I think it's just in this kind of games that has a system that allow you to choose a "nickname" for the main character or let you write your name instead. The lines in the scripts extracted will looks like this  If you write your translation in the TL line, when you repack the script and then make the patch, this replacement or change will not shows in the game, althought you can force it just translating in the original line. I haven't tried to do the same process with other tools tho so I'm not sure if this happen just in this tool. The second problem is a message error that close the game abruptly. This only happens if you click on backlog's option.

Try to put scripts back to scenarios folder in data.xp3 not patch.xp3 for the backlog. For the name thing I think they're in .tjs in system folder?

Try to put scripts back to scenarios folder in data.xp3 not patch.xp3 for the backlog. For the name thing I think they're in .tjs in system folder?

Yes, no problem with the names at the moment, names are in the file "nicknames.tjs" and I managed to fix that. I'll try to pack the scenarios in data.xp3 to test again the backlog thing. Thank you very much.

For the split lines, try adding the nickname command to AllowedInlineCommands in KirikiriScript.cs. (As mentioned in the README of this repository, Kirikiri typically requires some game-specific customization)

Understood, thank you for your assistance.


fix(material/list): add selected shape to list item

Add a 4px border radius to selected-state of list item. Fix issue where selected state is visually communicated only with color (#25900, WCAG 1.4.1).
Fix #25900

Closing in favor of #25933


Don't bypass attackEntityFrom is LivingHurtEvent is cancelled

Don't bypass the rest of the attackEntityFrom method if damageEntityHook returns false
This brings our method much closer to what Forge does and should fix SpongePowered/SpongeForge#3178

Test build: spongeforge-1.12.2-2838-7.2.3-RC0.jar.zip


51 non standard rpc error response from hive rpc node

@agates I monitor my logs and I think something I fixed before... needed more fixing.

This PR doesn't make any code changes, what am I missing?

Oh.  You already pushed the code change to develop.  Please don't do that.

Oh.  You already pushed the code change to develop.  Please don't do that.

I kinda messed up and tried to reverse that commit and then put my changes in a branch.

Success... this is the only error I've had for days and the code dealt with it properly:
2022-08-13T13:02:55+0000 | INFO | Lighthive Fastest: https://rpc.ecency.com
2022-08-13T13:02:55+0000 | INFO | Status - Uptime: 7:02:49 | IRIs Received: 46 | IRIs Deduped: 46 | IRIs Sent: 46 | last_node: https://rpc.ecency.com
2022-08-13T13:04:59+0000 | INFO | IRI batch_id 2f810e23-3cd3-43ee-8d20-0254a320f525 - Size of IRIs: 36
2022-08-13T13:04:59+0000 | INFO | Received 1 IRIs
2022-08-13T13:05:03+0000 | INFO | Backing off _send_request(...) for 0.9s (requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='rpc.ecency.com', port=443): Read timed out. (read timeout=3))
2022-08-13T13:05:40+0000 | INFO | Backing off _send_request(...) for 0.1s (requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='rpc.ecency.com', port=443): Read timed out. (read timeout=3))
2022-08-13T13:05:41+0000 | ERROR | send_notification error: transaction expiration exception:
2022-08-13T13:05:41+0000 | ERROR | Failed to send 1 IRIs
Traceback (most recent call last):
  File "/home/podping/app/src/podping_hivewriter/cli/podping.py", line 245, in server
    loop = asyncio.get_running_loop()
RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/podping/app/src/podping_hivewriter/podping_hivewriter.py", line 482, in failure_retry
    await self.send_notification_iris(
  File "/home/podping/app/src/podping_hivewriter/podping_hivewriter.py", line 456, in send_notification_iris
    await self.send_notification(payload.dict(), hive_operation_id)
  File "/home/podping/app/src/podping_hivewriter/podping_hivewriter.py", line 416, in send_notification
    raise ex
  File "/home/podping/app/src/podping_hivewriter/podping_hivewriter.py", line 401, in send_notification
    await self._async_hive_broadcast(op=op, dry_run=self.dry_run)
  File "/home/podping/app/src/podping_hivewriter/async_wrapper.py", line 32, in wrapper
    return await async_fn(*args, **kwargs)
  File "/home/podping/app/.venv/lib/python3.10/site-packages/asgiref/sync.py", line 435, in __call__
    ret = await asyncio.wait_for(future, timeout=None)
  File "/usr/local/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
    return await fut
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/podping/app/.venv/lib/python3.10/site-packages/asgiref/sync.py", line 474, in thread_handler
    return func(*args, **kwargs)
  File "/home/podping/app/.venv/lib/python3.10/site-packages/lighthive/client.py", line 184, in broadcast
    return self.transaction_builder.broadcast(
  File "/home/podping/app/.venv/lib/python3.10/site-packages/lighthive/broadcast/transaction_builder.py", line 202, in broadcast
    resp = self.client('condenser_api').broadcast_transaction(
  File "/home/podping/app/.venv/lib/python3.10/site-packages/lighthive/client.py", line 53, in callable
    return self.request(attr, *args, **kwargs)
  File "/home/podping/app/.venv/lib/python3.10/site-packages/lighthive/client.py", line 152, in request
    self.validate_response(response)
  File "/home/podping/app/.venv/lib/python3.10/site-packages/lighthive/client.py", line 164, in validate_response
    raise RPCNodeException(
lighthive.exceptions.RPCNodeException: transaction expiration exception:
2022-08-13T13:05:41+0000 | ERROR | transaction expiration exception:
Traceback (most recent call last):
  File "/home/podping/app/src/podping_hivewriter/cli/podping.py", line 245, in server
    loop = asyncio.get_running_loop()
RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/podping/app/src/podping_hivewriter/podping_hivewriter.py", line 482, in failure_retry
    await self.send_notification_iris(
  File "/home/podping/app/src/podping_hivewriter/podping_hivewriter.py", line 456, in send_notification_iris
    await self.send_notification(payload.dict(), hive_operation_id)
  File "/home/podping/app/src/podping_hivewriter/podping_hivewriter.py", line 416, in send_notification
    raise ex
  File "/home/podping/app/src/podping_hivewriter/podping_hivewriter.py", line 401, in send_notification
    await self._async_hive_broadcast(op=op, dry_run=self.dry_run)
  File "/home/podping/app/src/podping_hivewriter/async_wrapper.py", line 32, in wrapper
    return await async_fn(*args, **kwargs)
  File "/home/podping/app/.venv/lib/python3.10/site-packages/asgiref/sync.py", line 435, in __call__
    ret = await asyncio.wait_for(future, timeout=None)
  File "/usr/local/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
    return await fut
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/podping/app/.venv/lib/python3.10/site-packages/asgiref/sync.py", line 474, in thread_handler
    return func(*args, **kwargs)
  File "/home/podping/app/.venv/lib/python3.10/site-packages/lighthive/client.py", line 184, in broadcast
    return self.transaction_builder.broadcast(
  File "/home/podping/app/.venv/lib/python3.10/site-packages/lighthive/broadcast/transaction_builder.py", line 202, in broadcast
    resp = self.client('condenser_api').broadcast_transaction(
  File "/home/podping/app/.venv/lib/python3.10/site-packages/lighthive/client.py", line 53, in callable
    return self.request(attr, *args, **kwargs)
  File "/home/podping/app/.venv/lib/python3.10/site-packages/lighthive/client.py", line 152, in request
    self.validate_response(response)
  File "/home/podping/app/.venv/lib/python3.10/site-packages/lighthive/client.py", line 164, in validate_response
    raise RPCNodeException(
lighthive.exceptions.RPCNodeException: transaction expiration exception:
2022-08-13T13:05:41+0000 | WARNING | Waiting 3s before retry
2022-08-13T13:05:44+0000 | INFO | FAILURE COUNT: 1 - RETRYING 1 IRIs
2022-08-13T13:05:55+0000 | INFO | Lighthive Node: https://rpc.ausbit.dev
2022-08-13T13:05:55+0000 | INFO | JSON size: 96
2022-08-13T13:05:55+0000 | INFO | FAILURE CLEARED after 1 retries, 3s

If the exception is being caught and handled gracefully, is there any way to clean that up and make it less of a huge log barf?

If the exception is being caught and handled gracefully, is there any way to clean that up and make it less of a huge log barf?

I think we can stop logging known exception tracebacks now that we know what's working.


conformance multiarch image manifest is broken - amd part points to arm build

What happened:
With KubeVirt 1.0+, some of the containers are now built with aarch64 instead of amd64. conformance:v1.0.0 image built from https://github.com/kubevirt/kubevirt/blob/94006f89ac20340566a6a1aa9989f217d38b4e1e/tests/BUILD.bazel#L75 contains aarch64 executable. To get amd64, you need to pull conformance:v1.0.0-amd64 explicitly.

What you expected to happen:
Conformance multiarch image manifest should be correct, as is the case for i.e. virt-controller+

How to reproduce it (as minimally and precisely as possible):
Steps to reproduce the behavior.
Additional context:
Add any other context about the problem here.
Environment:

KubeVirt version (use virtctl version): N/A
Kubernetes version (use kubectl version): N/A
VM or VMI specifications: N/A
Cloud provider or hardware configuration: N/A
OS (e.g. from /etc/os-release): N/A
Kernel (e.g. uname -a): N/A
Install tools: N/A
Others: N/A

@zhlhahaha hey, I remember you were working on that multiarch build, would you have time to look into this?

Hi, Daniel, I have checked the https://quay.io/repository/kubevirt/conformance?tab=tags, and can see there are some issues. I will take a look this issue.


Make heading auto-numbering a user changeable option

Currently only web developers can set the auto-numbering option for headers and their users may prefer different selections.

Implemented along with ability for user to switch colour schemes


[Bug] Black squares appear on webview resize !

[x] I have read the Get Started - Installation section
[x] I have read and done the Get Started - Setup Android section
[ ] I have read and done the Get Started - Setup iOS section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
2.0.2

Plugin version
5.2.1+1 , also on 4.0.0+4 (before null safety)

Android version
Android 10 (API 29)

iOS version

Xcode version

Device information:
MI 9T Xiaomi
Description
I would be able to resize InAppWebView without see weird effect.
When wrapping InAppWebView with a container and then updating the container size, we can see some black square at the top of the screen... I don't know where they come from.
Please, look the video which i provided.
Steps to reproduce

Create new flutter projet
Add depencies
Add the following code
Run the app
Click to the button to resize the webview parent.

import 'package:flutter/material.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  double height = 200;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(widget.title)),
      body: Column(
        children: [
          TextButton(
            onPressed: () => setState(() => height += 10),
            child: Text("Add 10"),
          ),
          SizedBox(
            height: height,
            child: InAppWebView(
              initialData: InAppWebViewInitialData(data: """

                           <meta name="viewport" content="width=device-width user-scalable=no zoom=1.1">

???? 4 dpts en #vigilanceRouge

???? 35 dpts en #vigilanceOrange

Restez informes sur https://t.co/CSYEovTI83 pic.twitter.com/7SCala2Y9i

— VigiMétéoFrance (@VigiMeteoFrance) February 12, 2021

                    """),
            ),
          ),
        ],
      ),
    );
  }
}

Images
Each time i clicked the button (so each time the webview is resized we see the black square)
https://user-images.githubusercontent.com/37028599/112539045-cc859880-8db0-11eb-92e8-927ada9814b3.mp4
Stacktrace/Logcat
Performing hot restart...
Syncing files to device Mi 9T...
W/ContentCatcher(25918): Failed to notify a WebView
E/InputMethodManager(25918): b/117267690: Failed to get fallback IMM with expected displayId=619 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{f2ca933 VFEDHVCL. ........ 0,0-1080,1265}
Restarted application in 738ms.
D/EgretLoader(25918): EgretLoader(Context context)
D/EgretLoader(25918): The context is not activity
W/ContentCatcher(25918): Failed to notify a WebView
W/System  (25918): A resource failed to call release.
W/ContentCatcher(25918): Failed to notify a WebView
E/InputMethodManager(25918): b/117267690: Failed to get fallback IMM with expected displayId=620 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{1f1a2a8 VFEDHVCL. ........ 0,0-1080,550}
W/ContentCatcher(25918): Failed to notify a WebView
W/ContentCatcher(25918): Failed to notify a WebView
E/InputMethodManager(25918): b/117267690: Failed to get fallback IMM with expected displayId=621 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{1f1a2a8 VFEDHVCL. ........ 0,0-1080,550}
W/ContentCatcher(25918): Failed to notify a WebView
W/ContentCatcher(25918): Failed to notify a WebView
E/InputMethodManager(25918): b/117267690: Failed to get fallback IMM with expected displayId=622 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{1f1a2a8 VFEDHVCL. ........ 0,0-1080,578}
W/ContentCatcher(25918): Failed to notify a WebView

y

Probably, you need to use  useHybridComposition: true Android-specific webview option.
Without Android Hybrid Composition enabled, Android WebView has bad performance in Flutter unfortunately.
That's not a limitation of the plugin but on how Flutter PlatformViews work.

Oh, I will test that tomorrow thanks :).

useHybridComposition Fixed my issue, I've add an other package to get the android version if needed (device_info) base on Platform.isAndroid.
Thank you !

is there a faster solution ?

Nope. If you need to get the Platform version, you can try to implement it yourself using Flutter platform channels: https://flutter.dev/docs/development/platform-integration/platform-channels


Refs #23919 -- Removed unused django.test.utils.str_prefix()

Unused since 289fc1bfa54af563d17549ade8d77553711453a1

If user projects might be using this, we can add its removal to Cleanups when no supported version of Django supports Python 2 anymore instead.

It's not documented and doesn't seem to have widespread usage but since we already have a process to remove these later I'd say it can't hurt to keep it around a bit longer.

Okay.


Updated animation documentation to enable LayoutAnimation in Android.

Added a note in the Animation documentation to let people know that they need to enable LayoutAnimation with UIMananger for Android.
Resolves #5267.

@facebook-github-bot shipit


Fix nock compatibility with fake timers

The nock library is not compatible with the fake timers we use in unit tests because it uses the Node.js timers API. This API is not mocked correctly by the version of Jest we are using.
Jest uses @sinon/fake-timers internally, which didn't support mocking the Node.js timers API until v11.0.0 (see https://github.com/sinonjs/fake-timers/pull/467) This package is updated in Jest as part of the v30 release, which is currently under development.
Elsewhere we have worked around this problem by patching the nock library to use global timers rather than the timers API. Global timers are mocked correctly by our fake timers. We should implement the same fix here, so that fake timers work more predictably. We can remove this workaround when we update to Jest v30.
See here for how we did this in the extension repository: https://github.com/MetaMask/metamask-extension/pull/24805/
I suspect that we haven't seen this issue come up in core yet because all of our nock delays use very small intervals, so we don't notice that they aren't correctly mocked.

Thank you! I ran into the same problem and solving it using your patch.


SVG Corruption

Laravel Mix Version: 0.8.9
Node Version: 7.7.3
NPM Version: 4.1.2
OS: MacOS 10.12.3

Description:
I'm using the CSS flag icon library flag-icon-css https://github.com/lipis/flag-icon-css when using this with mix and the assets are copied it seems to be messing with the file.
The Original File ( fr.svg )
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480">
  <g fill-rule="evenodd" stroke-width="1pt">
    <path fill="#fff" d="M0 0h640v480H0z"/>
    <path fill="#00267f" d="M0 0h213.337v480H0z"/>
    <path fill="#f31830" d="M426.662 0H640v480H426.662z"/>
  </g>
</svg>

The File that is copied to the public/fonts directory
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480">
  <g fill-rule="evenodd" stroke-width="1pt">
    <path fill="#fff" d="M0 0h640v480H0z"/>
    <path fill="#00267f" d="M0 0h213.337v480H0z"/>
    <path fill="#f31830" d="M426.662 0H640v480H426.662z"/>
  </g>
</svg>
vg>

This does not always happen for example with the gb flag gb.svg it copies fine
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480">
  <defs>
    <clipPath id="a">
      <path fill-opacity=".67" d="M-85.333 0h682.67v512h-682.67z"/>
    </clipPath>
  </defs>
  <g clip-path="url(#a)" transform="translate(80) scale(.94)">
    <g stroke-width="1pt">
      <path fill="#006" d="M-256 0H768.02v512.01H-256z"/>
      <path d="M-256 0v57.244l909.535 454.768H768.02V454.77L-141.515 0H-256zM768.02 0v57.243L-141.515 512.01H-256v-57.243L653.535 0H768.02z" fill="#fff"/>
      <path d="M170.675 0v512.01h170.67V0h-170.67zM-256 170.67v170.67H768.02V170.67H-256z" fill="#fff"/>
      <path d="M-256 204.804v102.402H768.02V204.804H-256zM204.81 0v512.01h102.4V0h-102.4zM-256 512.01L85.34 341.34h76.324l-341.34 170.67H-256zM-256 0L85.34 170.67H9.016L-256 38.164V0zm606.356 170.67L691.696 0h76.324L426.68 170.67h-76.324zM768.02 512.01L426.68 341.34h76.324L768.02 473.848v38.162z" fill="#c00"/>
    </g>
  </g>
</svg>

With other files it corrupts in different ways I wonder if it could be something to do with file-loader https://github.com/webpack-contrib/file-loader but from my limited understanding of webpack I can't see any reason it would be corrupting the file in this way.
Steps To Reproduce:

npm install flag-icon-css
Add @import "node_modules/flag-icon-css/sass/_flag-icon.scss"; to app.scss
npm run
Check public/fonts/fr.svg

Hmm I haven't seen this before. Sounds like a file-loader bug more than a Mix issue. Not sure that there's anything we can do about that.


Feature request: LaTeX support

I know there's Markdown preview enhanced, but I like this extension better since it feels a lot more lightweight (hopefully it would still feel lightweight after this addition).
That said, do you think it's possible to implement support for parsing LaTeX and generating it in the preview? I'm not sure how stackoverflow does it but they seem to be rendering LaTeX-typset equations in html fairly well.

We already have math support via KaTaX. I think it will meet your need. (You can find more  info in the README)


Python publish workflow is not kicked on the release

The trigger of python-publish.yaml workflow (below) does not triggers when I created v0.1.8 release draft and published it.
on:
  release:
    types: [created]

type published may fix this.
ref: https://github.com/community/community/discussions/16244

I also want to use pypa/gh-action-pypi-publish.


Fated raids

Doesnt show fated raids when they are up

It showed yesterday (11/1/2022) but doesn't show today. Wondering what updated or changed overnight....

Just came back to the game and didn't have a character with high enough ilvl for fated raids, should be fixed now


Support basic auth in client

It does not seem possible to connect to a server using basic auth?
For example:
<EMAIL_ADDRESS>

Indeed this isn't supported right now.
This paragraph of the RFC says this feature may be implemented:

The request MAY include any other header fields, for example,
cookies [RFC6265] and/or authentication-related header fields
such as the |Authorization| header field [RFC2616], which are
processed according to documents that define them.

In the meantime, you can add the basic auth header yourself with the extra_headers argument to connect.
Roughly it should look like this:

from base64 import b64encode

def basic_auth_header(username, password):
    assert ':' not in username
    user_pass = f'{username}:{password}'
    basic_credentials = b64encode(user_pass.encode()).decode()
    return ('Authorization', f'Basic {basic_credentials}')

websockets.connect(
    'wss://myserver.com',
    extra_headers=[basic_auth_header('myuser', 'mypass')],
)

If you can confirm that my proposal above works, that's helpful.

Yes, that works! Thanks for the help! Would be great if the connect call did this header setup automatically.

@koliyo PR #374 implements this feature.
If you're able to remove the solution I suggested above, to try that patch and to confirm that it does the job, that's much appreciated.
Assuming you're using a virtualenv (or something built on top such as virtualenvwrapper or pipenv), you can test the patch that way:
cd $VIRTUAL_ENV/lib/python3.6/site-packages  # adjust the Python version number if needed
curl https://patch-diff.githubusercontent.com/raw/aaugustin/websockets/pull/374.diff | patch -p1

Then pip uninstall websockets; pip install websockets to restore the original version.

I think you can simply use pip install -U https://github.com/aaugustin/websockets/archive/client-basic-auth.zip to try #374

Indeed this isn't supported right now.
This paragraph of the RFC says this feature may be implemented:

The request MAY include any other header fields, for example,
cookies [RFC6265] and/or authentication-related header fields
such as the |Authorization| header field [RFC2616], which are
processed according to documents that define them.

In the meantime, you can add the basic auth header yourself with the extra_headers argument to connect.
Roughly it should look like this:
from base64 import b64encode

def basic_auth_header(username, password):
    assert ':' not in username
    user_pass = f'{username}:{password}'
    basic_credentials = b64encode(user_pass.encode()).decode()
    return ('Authorization', f'Basic {basic_credentials}')

websockets.connect(
    'wss://myserver.com',
    extra_headers=[basic_auth_header('myuser', 'mypass')],
)

Looks working OK on client side. My question is how to retrieve and check in server side?
Would be nice to see an example like client_headers.py and server_headers.py to check the correct method to implement headers on both sides.
Thanks and great job! @aaugustin

It's slightly more complicated than it should be...
Server
from websockets.headers import build_basic_auth  # private API!

import asyncio
import http
import websockets

USERNAME = 'foo'
PASSWORD = 'bar'
AUTHORIZATION = build_basic_auth(USERNAME, PASSWORD)

class BasicAuthServerProtocol(websockets.WebSocketServerProtocol):

    async def process_request(self, path, request_headers):
        print("HTTP connection")
        try:
            authorization = request_headers['Authorization']
        except KeyError:
            return http.HTTPStatus.UNAUTHORIZED, [], b'Missing credentials\n'
        if authorization != AUTHORIZATION:
            return http.HTTPStatus.FORBIDDEN, [], b'Incorrect credentials\n'

async def run(ws, path):
    print("WS connection")

async def start():
    await websockets.serve(
        run, '<IP_ADDRESS>', 3737, create_protocol=BasicAuthServerProtocol)

asyncio.get_event_loop().run_until_complete(start())
asyncio.get_event_loop().run_forever()

Client
import asyncio
import websockets

async def run():
    async with websockets.connect('ws://foo:bar@localhost:3737') as websocket:
        pass

asyncio.get_event_loop().run_until_complete(run())

Let's follow up in #492.

system/priv-app/GoogleExtServices/GoogleExtServices.apk


ChangeDocumentType does not fully remove vbaProject reference

Description
I'm using the sample code at https://docs.microsoft.com/en-us/office/open-xml/how-to-convert-a-word-processing-document-from-the-docm-to-the-docx-file-format to remove macros from a docm file and convert it to docx because we have some filtering software in place that prevents transferring files with macros.
Using that sample code I delete the VbaProjectPart, change the document type, and change the file extension.  However, our filtering software identifies the resulting file as corrupt (Word 2016 opens the file just fine though, so it is probably within spec).
When I examine the contents of the .docx file, I notice that the [Content_Types].xml file at the root   still contains the following line:
<Default ContentType="application/vnd.ms-office.vbaProject" Extension="bin"/>
The VbaProjectPart PartName reference is gone and no other content in the .docx file structure contains any macro components.  I think that one line in [Content_Types].xml is enough to trip up our scanner.
Is there some other way to get rid of this line that I'm missing, is this a bug, or is this structure just something that our scanning software should accept?
Information

.NET Target: .NET Core 2.1.12
DocumentFormat.OpenXml Version: 2.10.0-beta0002

Repro
        bool fileChanged = false;

        using (WordprocessingDocument document = WordprocessingDocument.Open(sourcePath, true))
        {
            // Access the main document part.
            var docPart = document.MainDocumentPart;

            // Look for the vbaProject part. If it is there, delete it.
            var vbaPart = docPart.VbaProjectPart;
            if (vbaPart != null)
            {
                // Delete the vbaProject part and then save the document.
                docPart.DeletePart(vbaPart);
                docPart.Document.Save();

                // Track that the document has been changed.
                fileChanged = true;
            }

            // Change the document type to not macro-enabled
            document.ChangeDocumentType(WordprocessingDocumentType.Document);
        }

        if (fileChanged)
        {
            // If it already exists, it will be deleted!
            if (File.Exists(destinationPath))
                {
                    File.Delete(destinationPath);
                }

            // Rename the file and save changes
            Directory.CreateDirectory(destinationDirectory);
            File.Move(sourcePath, destinationPath);
        }

Observed
file.docx [Content_Types].xml still contains a macro reference.
Expected
file.docx should not contain any references to macros.

same issue here is there any solutions?

Can you include something I can repro?

@mc2002tii Can you include something I can repro?

I'll have to test this when I'm back in the office next week.  I couldn't reproduce it today, but at home I have a completely different environment (O365 vs Word 2016, Mac vs. Windows).  I know I could still reproduce it with .NET Core 3.1 and DocumentFormat.OpenXML 2.10, but I don't think I tried again when 2.11 came out.

I am facing this issue with .Net 6 DocumentFormat.OpenXML 2.16

related to issue 1551

#1551


Tabs do not change when swiped

Finding an issue where the tabs are not being informed of a new currentSlide. Happens in my local environment as well as in the demo page.
Unless I'm missing something, is there a workaround for this?

Oops, I should I have been messing around the demo.

I'm closing this issue for #358.


Bulk Executor Support for Java - Gremlin API

It is not clear from the documentation whether a Java SDK is available for Bulk inserts/updates on Cosmos DB Gremlin API. Is it only available for .NET?

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

ID: f942c792-655b-4174-a427-644108abd6d5
Version Independent ID: 4009eeb3-ee41-ab49-d0d0-4269d678a0bc
Content: Use bulk executor Java library in Azure Cosmos DB to perform bulk import and update operations
Content Source: articles/cosmos-db/bulk-executor-java.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @tknandu
Microsoft Alias: ramkris

@AnirvanK Thanks for reaching out. Yes you are correct. Java Bulk Executor library is supported only for SQL API. There is a user voice already in place for Java, you can upvote it:
Gremlin bulk executor for java library

@AnirvanK We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


feat: build custom VHD with new HNS binaries

What type of PR is this?
kind feature

What this PR does / why we need it:
build custom VHD with new HNS binaries
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 78.984%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2240

Relevant Lines:
2836

💛  - Coveralls


[[CHORE]] Remove I003

This warning is inappropriate in cases where esversion has been
globally set to a value other than 5 (e.g. in a project's .jshintrc
file) and a specific file overrides this value with an in-line
directive.
Although it is possible to detect this case while interpreting option
values, the warning itself has minimal utility. Some users may set
options to their default values in the interest of explicitness.
Preventing this practice (and doing so inconsistently--only for the
esversion option) adds little value.
Remove I003 completely.

@rwaldron thoughts?

Coverage decreased (-0.004%) to 97.598% when pulling f0c8f08171c191773228b0c61627250f60f62bc8 on jugglinmike:remove-i003 into 351e8f3c30b5457ca51d034a2dbbfb6e66d8bbf5 on jshint:master.

Hey looks who's back

This resolves gh-2518,  gh-2766, and gh-2874

Although it is possible to detect this case while interpreting option
values, the warning itself has minimal utility. Some users may set
options to their default values in the interest of explicitness.
Preventing this practice (and doing so inconsistently--only for the
esversion option) adds little value

This is compelling.
 Bug in your tooling, @rwaldron?


rPi image missing docopt and h5py

A builder just started from scratch and said when he/she tried to drive after a fresh install the python process stated it wouldn't find docopt.  I recommended running "sudo pip install donkeycar --upgrade" but a new rPi image would be better for the rest.

believe this is fixed w latest


feat(#30): enable qulice

Enable qulice check.
Closes: #30

PR-Codex overview
This PR focuses on enabling the dependency check and removing the exclusion for dependencies in the pom.xml file.
Detailed summary

Added a comment explaining the need to enable the dependency check
Removed the exclusion for dependencies in the pom.xml file

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 2min)


Show blast results summary for individual submission

Description
Added blast results page showing results summary of individual submission
One thing to notice is the type for blast response. Even though I use it in the blastApiSlice endpoint I get the full blast result json back. Should it be like this?
Related JIRA Issue(s)
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-1646
Deployment URL(s)
https://blast-result-box.review.ensembl.org/
Views affected
Blast

I occasionally get this error on the blast submission results page after refreshing it:

This suggests that there is a race condition between reading the data from indexed db (it's an asynchronous process) and rendering the React component.
It is the same if I enter an invalid submission id in the url.
You should add a guard against the submission not being present.

I have updated the code to make the delete icon visible and disabled while a job is running

What's this?

Why are the distances in these two components different?
https://user-images.githubusercontent.com/6834224/182552863-c62f9fb9-bd37-4b66-9823-2fb7a77f7357.mov
(probably not a blocker for this PR, but needs fixing)

The disabled download button in the header continues to show pointer on hover. Should it appear as an arrow instead?


Documentation doesn't explain enough to get started

I'm getting an assertion error: "Assertion Failed: A helper named "burger.menu" could not be found".
This looks great, with plenty of options, but nothing that really explains how to use them.  I don't know how to set options for the menu, even though your demo site has tons of options that you've already created and set up.
Is there any way to get some better documentation for the rest of it like you did for animations?

@Hucxley I'm not sure what you mean. The Readme has all the options for each components laid out and explained. Is there something specific you do not understand?
As for your error, can you post a snippet of your code? Maybe I can be of better help then 😄

I have the same problem here, I installed the plugin via ember-cli and I can't import the sass files into my style.scss and also the helper is not found. I check node_modules and the folder for burger menu is available. It seems that burger menu is not added to the build path... :/

I have the same problem as @emanuelschmitt regarding the @import 'ember-burger-menu after doing an ember install ember-burger-menu on ember 2.10. All scss files are installed in the node_modules/ember-burger-menu/app/styles, but importing them in the ember app is not working. I feel there is something I'm doing wrong, so perhaps something is missing from the docs?

You have to reload your dev server. Close the ember server process and restart it again, then it will work!

On Jul 18, 2017, at 10:54 AM, Tommy Eliassen<EMAIL_ADDRESS>wrote:
I have the same problem as @emanuelschmitt https://github.com/emanuelschmitt regarding the @import 'ember-burger-menu after doing an ember install ember-burger-menu on ember 2.10. All scss files are installed in the node_modules/ember-burger-menu/app/styles, but importing them in the ember app is not working. I feel there is something I'm doing wrong, so perhaps something is missing from the docs?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/offirgolan/ember-burger-menu/issues/76#issuecomment-316000887, or mute the thread https://github.com/notifications/unsubscribe-auth/AEXJ0L1H3XXt_2WDoc1ux60AEK9qVtQ0ks5sPHKrgaJpZM4NQNLG.

@emanuelschmitt Sorry for wasting your time. I can not believe I made that mistake!


Namespace ''@swimlane/dragula'' has no exported member 'DragulaOptions'

Getting this issue - using the latest Angular version (6.0.2)
ERROR in node_modules/@swimlane/ngx-dnd/release/services/drake-store.service.d.ts(21,35): error TS2694: Namespace ''@swimlane/dragula'' has no exported member 'DragulaOptions'

Did you mean to open this in ngx-dnd? ngx-ui does not have ngx-dnd as a dependency.


[Error]: Access to the path '/Users/User/PowerApps-TestEngine/samples/basicgallery' is denied

I am trying to set up TestEngine but I ran into the following error while running command "dotnet run" to start the tests.
Unhandled exception. System.UnauthorizedAccessException: Access to the path '/Users/User/PowerApps-TestEngine/samples/basicgallery' is denied.
--->System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
I set the variables in Power Shell to the email and password I use for PowerApps.
I understand this is an access/rights issue, but I don't know how to set the right access.
This is my personal machine I am using and TestEngine folder is stored locally.
I am running the command from where the project is located - /Users/User/PowerApps-TestEngine/src/PowerAppsTestEngine .
I am running it on a Mac. I tried to run it as root and got the same error message.

Solved. The field "testPlanFile" in config.json needs to be given the file name also, not only the path to the folder: "/Users/User/PowerApps-TestEngine/samples/basicgallery/testPlan.fx.yaml"


Remove obsolete version of after_sign_in_path_for

In PR #852 there is an after_sign_in_path_for method added to ApplicationController. However, there is already an existing method with the same name, causing Rubocop to complain. This PR removes the old method.

While I generally feel that PRs should be limited to doing one thing, or a very limited number of related things, this change is really part of updating Mimemagic. Having it as a separate PR that is based on the current master branch makes it so we can't actually see if either of these PRs actually fully fixes the problems which they set out to fix (i.e. we will only see CI actually pass or fail once both of them are merged).
Given that this is directly necessary due to the dependency updates which go along with updating Mimemagic, the commit included here should be part of PR #853. Having it there should allow CI to fully run on the combination of the two commits and would tell us if the changes actually fix the problems (or, at least the problems with CI). That way we will know if anything else is needed.

I'm merging this into a temporary branch to allow CI to run with the other commit from #853.


Add kustomize support for deploying pulumi kubernetes operator

Problem:
Operator install experience is not optimal. Kubectl install instructions link directly to README.md and instruct user to clone repo, cd to dir, and execute multiple kubectl apply commands against the local directories.
Recommendation:
Change kubectl apply install methods to support Kustomize allowing users to kubectl customize https://github.com/pulumi/pulumi-kubernetes-operator or similar single command to deploy the operator without requiring locally cloning repositories or other un-necessary steps.

Kustomize bases are now available in /operator/config.  We also create a rendered version of the quickstart kustomization into deploy/yaml/manifest.yaml.


fix repository name and version up to 6.2.1

What this PR does / why we need it:

Fix datadog docker image repository name for agent6
Update DataDog Agent chart to the newest version.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

Hello, please check me :)
/assign @irabinovitch
/assign @hkaj
/assign @xvello

/ok-to-test

/recheck /retest /ok-to-test

/retest

/lgtm

/retest

/test all


Github code search stop due negative interval

Hello,
The github code search task usually stop due to error : "Error: time interval must be positive", have anyone encountered the same? Please see below for the full error log:

Unable to run task Github Code Search on Users. Error: time interval must be positive ["/home/scumblr/Scumblr/lib/scumblr_tasks/security/github_analyzer.rb:106:in sleep'", "/home/scumblr/Scumblr/lib/scumblr_tasks/security/github_analyzer.rb:106:in rate_limit_sleep'", "/home/scumblr/Scumblr/lib/scumblr_tasks/security/github_analyzer.rb:543:in block (2 levels) in run'", "/home/scumblr/Scumblr/lib/scumblr_tasks/security/github_analyzer.rb:494:in each'", "/home/scumblr/Scumblr/lib/scumblr_tasks/security/github_analyzer.rb:494:in block in run'", "/home/scumblr/Scumblr/lib/scumblr_tasks/security/github_analyzer.rb:490:in each'", "/home/scumblr/Scumblr/lib/scumblr_tasks/security/github_analyzer.rb:490:in run'", "/home/scumblr/Scumblr/app/models/task.rb:161:in perform_task'", "/home/scumblr/Scumblr/app/workers/task_worker.rb:30:in perform'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/processor.rb:155:in execute_job'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/processor.rb:136:in block (3 levels) in process'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/middleware/chain.rb:128:in block in invoke'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-status-0.6.0/lib/sidekiq-status/server_middleware.rb:37:in call'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/middleware/chain.rb:130:in block in invoke'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/middleware/server/active_record.rb:6:in call'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/middleware/chain.rb:130:in block in invoke'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/middleware/server/retry_jobs.rb:74:in call'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/middleware/chain.rb:130:in block in invoke'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/middleware/server/logging.rb:11:in block in call'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/logging.rb:32:in with_context'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/middleware/server/logging.rb:7:in call'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/middleware/chain.rb:130:in block in invoke'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/middleware/chain.rb:133:in invoke'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/processor.rb:131:in block (2 levels) in process'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/processor.rb:171:in stats'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/processor.rb:130:in block in process'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq.rb:35:in block in <module:Sidekiq>'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/processor.rb:122:in process'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/processor.rb:81:in process_one'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/processor.rb:69:in run'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/util.rb:17:in watchdog'", "/home/scumblr/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sidekiq-4.2.3/lib/sidekiq/util.rb:25:in block in safe_thread'"]

Looks like the timezone logged in sidekiq.log is not identical with local system timezone, so I wonder if it's the cause for this issue? How can I change the timezone to correct one please help me?

Hi @cafeitduong,
Sidekiq by design logs in UTC (https://github.com/mperham/sidekiq/wiki/Logging).
You can update the time zone for Scumblr in config/application.rb. There should be a line that indicates the current setting that you will need to update.
Additionally please make sure your system time is correct as this could cause the issue as well.
Please try the above and report back.
Thanks!

Hi @ahoernecke ,
In my config/application.rb already has
config.time_zone = 'Hanoi'
config.active_record.default_timezone = :local

And local machine has been set to Hanoi time too.
I also restart the scumblr after save the config, but it's still the same result.
The job get running for first about 30 search, and stop due to above error.
Thanks.

Can you run this command from your Scumblr folder and post the result:
rails r 'puts DateTime.now.to_i';date "+%s %Z"; curl -I https://api.github.com/events | grep '\(X-RateLimit-Reset:\)\|\(Last-Modified\)'

Hi @ahoernecke,
Here is the result:
DEPRECATION WARNING: The configuration option `config.serve_static_assets` has been renamed to `config.serve_static_files` to clarify its role (it merely enables serving everything in the `public` folder and is unrelated to the asset pipeline). The `serve_static_assets` alias will be removed in Rails 5.0. Please migrate your configuration files accordingly. (called from block in <top (required)> at /home/scumblr/Scumblr/config/environments/production.rb:37)
DEPRECATION WARNING: You did not specify a `log_level` in `production.rb`. Currently, the default value for `log_level` is `:info` for the production environment and `:debug` in all other environments. In Rails 5 the default value will be unified to `:debug` across all environments. To preserve the current setting, add the following line to your `production.rb`:

   config.log_level = :info

. (called from block in tsort_each at /home/scumblr/.rbenv/versions/2.3.1/lib/ruby/2.3.0/tsort.rb:228)
1481728110
1481728110 ICT
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0  129k    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
X-RateLimit-Reset:<PHONE_NUMBER>
Last-Modified: Wed, 14 Dec 2016 15:08:25 GMT

I'm not positive what's going on here, but it does look like your system time is slightly ahead of Github's and this could cause you to get an error when the sleep gets a negative number. I'll try to push up a fix later today.

Hi, I pushed an update that should hopefully address your issue. Can you update to the latest code on master, restart your server and sidekiq, and let me know if you notice a difference?

Hi @ahoernecke
Looks like the issue  has gone, currently there are negative sleeping value but the task still running. I think issue has been resolved. Thanks a lot for prompt respond :)

Awesome, good to hear!


wastesorting

Why wastesorting was deleted in the latest version? I also want to know how to make a map and apply it in wastesorting

Or tell me how big the venue is when performing garbage sorting, and I want to achieve the effect when performing

Hi @bigboss10186, sorry for the delay in response. This github repo is largely intended to more easily/widely distribute the Kaya assembly files & instructions. For questions about Isaac SDK, please post on the NVIDIA Devtalk forum:
https://forums.developer.nvidia.com/c/agx-autonomous-machines/isaac/sdk/68
Isaac SDK 2020.1 is now available for download:
https://developer.nvidia.com/isaac/downloads
I have also included some photos which provide the dimensions of the table originally used for the Kaya waste sorting app:

To clarify, the wastesorting app was dropped from recent releases because it has not been actively maintained by the Isaac team. It's possible that there may be some issues running it with 2020.1, though I would not expect them to be difficult fixes.


COLLECTIONS-799 - Prevent modifications of UnmodifiableNavigableSet

This prevents modifications via pollFirst() and pollLast() for UnmodifiableNavigableSet instances.
https://issues.apache.org/jira/browse/COLLECTIONS-799

Coverage increased (+0.001%) to 90.145% when pulling 6387e46c996ce335dbaec875a8344c4be3f7f030 on scordio:COLLECTIONS-799-UnmodifiableNavigableSet into ddb4f78cfffc3392d897f7d59b75db946bf3a055 on apache:master.

Should I add an entry to changes.xml or is that part of the merge process?

Should I add an entry to changes.xml or is that part of the merge process?

That's part of the merge process, since a committer normally goes in the dev field, and the contributor name/id goes in the due-to field, so we need to wait to see which committer will be merging it.

Merged! Thanks!

@kinow do you know when the next version will be released? I'd be happy to have this fix available.

@scordio it only depends on one of the committers to volunteer for a RM. I might be able to cut a release in December or January if others are too busy (planning to release Text/Imaging/Lang too if possible these next holidays).

Hi @kinow, I was wondering if a release is in sight. No pressure, just curiosity.

Hi @kinow and @garydgregory, anything I could do to help get this released?

I'll take a look over the weekend...

@garydgregory hope you can get unstuck from that weekend soon! (just a joke, of course, inspired by https://github.com/gkoberger/stacksort/pull/4#issuecomment-747656340 🙂 )


404 when MethodRoute and WeightRoute are configured

spring:
  cloud:
    gateway:
      routes:
       - id: test-server-1
         predicates:
         - Path=/test/**
         - Weight=test-server,50
         - Method=GET
         uri: http://<IP_ADDRESS>:9089
       - id: test-server-2
         predicates:
         - Path=/test/**
         - Weight=test-server,50
         uri: http://<IP_ADDRESS>:9088

config like this,all post request are expected to be route to test-server-2.
In fact,sometimes it works right,other times, 404 exceptions appear randomly

Delicates #659

Again, Weight needs to be last. Remember it's a logical, short-circuiting AND.


Improve the engine CI

Build

[x] Build for each arch/mode/profile

Analyze

[x] Formatting ~& Linter~ → #90
[x] API checker (ensure no internal API is used by the wearable embedder) → #140

Release

[ ] Automatic release (the GitHub Release task didn't work when I tested last time 🤔)
[ ] File server for hosting releases (we need our own domain)
[ ] Admin dashboard (to check the number of downloads for each release, etc.)

Test

[ ] (meta) Add a self-hosted instance to the Pipelines (pricing: $15/month) to run tests on a local machine
[ ] Run integration tests (run sample apps on a set of test devices and check if they behave correctly)
[ ] Run regression tests (measure the performance of sample apps and compare with the previous results)
[ ] Add unit tests for the Tizen embedder and run

See also:

The official Flutter CI

https://ci.chromium.org/p/flutter
https://ci.chromium.org/p/flutter/g/engine-try/builders
https://www.chromium.org/developers/testing/chromium-build-infrastructure/tour-of-the-chromium-buildbot
https://github.com/flutter-tizen/engine/tree/flutter-2.0.1-tizen/ci/dev

I'm working on Add unit tests for the Tizen embedder and run task

I would like to suggest two things about the CI environment.
1.  Use docker image for build and test environment.
We can get an easily manageable and extensible CI environment by using docker image. I was able to get a docker image with an environment to build the engine code by optimizing https://github.com/flutter-tizen/tizen_tools/pull/3.

Dockerfile for PoC: https://github.com/WonyoungChoi/tizen_tools/blob/dockerfile/Dockerfile

The size of the generated docker image is about 3.2GB, so there is no big problem in using it for engine build.
We can add more scripts like the symbol checker to the tizen_tools repo and the docker image also.
2. Move to the Github Actions
I tested the engine build with the Github Actions using the docker image generated above.

Workflow : https://github.com/WonyoungChoi/engine/blob/buildtest/.github/workflows/build.yml
Build : https://github.com/WonyoungChoi/engine/actions/runs/1033273597

I used my linux PC in our company network as a self-host and the incremental builds were also possible in that case.
If we use Github Actions, we will be able to reduce costs and secure management efficiency.

I have a question ! this doesn't cost money? Are there any limitations for free?

@bwikbs yes, Github Actions is free for public repositories.
for more detailed limitations, you can see in

GH hosted runner : https://docs.github.com/en/actions/reference/usage-limits-billing-and-administration#usage-limits
Self hosted runner : https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#usage-limits

@WonyoungChoi
Thanks for the information!
I would like to use Github Actions instead of Azure in https://github.com/flutter-tizen/plugins/pull/150.
I have one question though,

I used my linux PC in the company network (behind proxy and firewall) as a self-host

Does this mean we can just attach without notifying the company?
How are you planning to proceed?

@HakkyuKim Sorry for late response. I missed your mention.
Yes we can just attach machines without notifying technically. But I think we need some security approvals about using local agents. Let's talk about details in your seat on Thursday with @swift-kim.

@WonyoungChoi  No problem and sounds good to me!

The migration to GitHub Actions is being worked on: https://github.com/flutter-tizen/engine/pull/176 (will use GitHub-hosted runners for security reasons).

Closing in favor of https://github.com/flutter-tizen/engine/issues/239 and further new separate issues.


CONTENT-50

can we somehow integrate in with https://github.com/rs/zerolog#pretty-logging  maybe via an Env variable?
Running as is is really hard to read

i guess its fine for now.  We can re-evaulate as we go along.
I was getting a log for each request on your previous push, but now i'm not getting anything when curling /ping, any idea?

You might also checkout the provisioning team's zerolog integration: https://github.com/RHEnVision/provisioning-backend/blob/c6f31b463defcd55861434ab42b74fdd8d6ddd91/internal/logging/zerolog.go

and we should probably integrate with https://github.com/spf13/viper at some point, in a simialr way.  I'll add a card to do that to the board

I'm investigating now.


⚠ Bofrost.de has degraded performance

In 9d563ff, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1640 ms

Resolved: Bofrost.de performance has improved in fadb9b0 after 1 hour, 21 minutes.


[flutter_plugin_tools] firebase-test-lab silently dies on second attempted test (?)

After @bparrishMines recently discovered that we were silently not running webview_flutter integration tests for Android via FTL, I wanted to change the command to fail whenever an Android-supporting package doesn't run any tests, just as we now do with drive-examples for the same reason. I uploaded the draft PR to get the list of failing plugins to temporarily exclude and file an issue for, and was surprised that only one shard was failing.
On investigation, the other three shards have output that just ends abruptly. In each case it appears that it had previously run one test, and the last thing it has printed is the banner that indicates that it's about to run for another plugin. I checked, and those final plugins do have the test folders. Given that, my current theory is that somehow the script is aborting (but not exiting with a non-zero code somehow) when trying to run a second test.
/cc @bparrishMines @blasten I'm going to investigate, but FYI since it's relevant to current work.

Turns out this has been broken for a year and a half :/
I'm not sure why it wasn't timing out the bots, since it should be hanging forever AFAICT. But I have a fix, and test.


Add login command to custom commands

Custom command to automatically login to Drupal
Provide a ddev login command that automatically opens the default browser and logs in to the current Drupal project.

I tested it on Linux, I'll ask for a test on windows too.
Thanks

Hello
ddev login works great in WSL


Codegen doesn't bring in .gitignore, making the initial checkin include node_modules

we should use plop to invidivually add this file and rename it to the correct destination file

fixed!


Fix: rename badge from Mac OS X to macOS

The Travis failure is due to our decision to abandon a TemplateEngine 2.0 release.  I'm about to push another PR that fixes this and reintroduces Swift 3.1 support.  Once that's in, you should be able to rebase.


Restyle header as a result of ng-bootstrap removal

Realign, add paddings and margins to header elements.

Not sure how the header should look like now. But now I see this: #2907
@Xymmer Please take a look.


feat(bounties-v2-responsive): integrate bounties v2 with Chakra UI to support responsive view

Large Desktop View

Smaller Desktop View

Mobile view

@VERZUOL1 Rebased to develop and upgraded the chakra ui to version 2. Please review again 🙏


How to modify a StructureDB?

I'm trying to modify an existing class definition through a script, however ProgramBasedDataTypeManager.getDataType returns a DataType whose concrete type is StructureDB, which is not visible to scripts. Is there a way to convert the value to a StructureDataType and modify it through there? Or do I have to create a new StructureDataType and override the old definition, and if so, how do I iterate the fields of the old StructureDB to be able to copy them over to the new structure?
I'm using Ghidra 11.0 with JDK 17.0.9.
final var manager = currentProgram.getDataTypeManager();
var classDataMembers = manager.getDataType(classDataTypePath);
classDataMembers.growStructure(4);
//               ~~~~~~~~~~~~~ Undefined, classDataMembers has type DataType
var asStruct = (StructureDataType) classDataMembers;
//             ~~~~~~~~~~~~~~~~~~~ Throws a ClassCastException since classDataMembers is a StructureDB instead

It is a Structure. Use the methods in the interface.

Oh I see, don't know how I managed to overlook that while looking at the docs. Thank you!


Feedbacks from milestone 1, 2 and peer review

Milestone 1

There are unnecessary files present in the repo.
Mismatch in the design principles between the different user-facing code (e.g., a class is created, but no methods are created for that class, functions are used instead).
GitHub issue milestones were not used.

Milestone 2

There are unnecessary files present in the repo.
There are cases of functions that clearly do not follow the tidyverse/black style guide
One or more documentations are missing one or more required elements (title, argument, returned, example)(- 1 * total number of cases)
codes are not commented (except scaling.py).
find_neighbors.py and scaling.py are missing examples in the documentation. -
calculate_distance works with two other methods (other than Euclidean) for calculating distance but there is no information about the "method" parameter in the documentation.
There are cases of functions that do not check for proper input and/or do not provide useful error messages
calculate_distance.py: what if the function gets examples of different dimensions?
data_loading.py: what if the target_column does not exist?
find_neighbors: again, what if the function gets examples of different dimensions? in the documentation you mentioned k must be positive and less than labelled examples but you do not check for these error cases in the function.
predict.py: again, not checking the input
note: will adding a default for some parameters like "pred_method" in predict.py be helpful?
there are 5 functions that do not test at least 2 expected input per function argument: test_find_neighbors, test_evaluate.py, test-calculate_distance.py, test_predict.py, test_scaling.py

Peer Review

Minor typos in the file
The installation instruction doesn't correctly instruct an user to install the package. You skip the step to install poetry inside the conda environment pyknnclassifier, you should add "pip install poetry" before give us instruction to run "poetry install" or give instruction like "If you dont have poetry installed in your base environment, you can follow the installation guide(with provided link) for poetry."
Consistency in the code block by adding $ to all the code blocks.
Also, we needed to read the toy data from data folder inside the repository, which seems needed, but for the short example, maybe a toy dataset in the code could help avoid any errors regarding reading data from another file.
Minor typos in the file
The installation instruction doesn't correctly instruct an user to install the package. You skip the step to install poetry inside the conda environment pyknnclassifier, you should add "pip install poetry" before give us instruction to run "poetry install" or give instruction like "If you dont have poetry installed in your base environment, you can follow the installation guide(with provided link) for poetry."
Consistency in the code block by adding $ to all the code blocks.
Also, we needed to read the toy data from data folder inside the repository, which seems needed, but for the short example, maybe a toy dataset in the code could help avoid any errors regarding reading data from another file.
By the time I am reviewing your repo, there is a file named scaling.py, which was created 2 weeks ago in your root directory. This file seems unnecessary and does not align with the Python package structure.
In the "Narrative" section of your vignettes, the term "some transformation" seems a bit unclear to users. It would be better to rephrase and clarify this term, for instance, "If your data involves some categorical features, please convert them into a numerical format using appropriate encoding techniques before using our package".
In the vignettes, "Data-Loading" section, the species' Latin names should be italic: Iris Setosa and Iris Versicolor. Also in this section, no code is involved. It seems the code chunk
The initial cell of the example usage file contains a version print statement (print(pkg_pyknnclassifier.version)). It could be beneficial to relocate this to a separate cell to maintain the import cell's focus, or it might be streamlined away if deemed non-essential.
In the example file, referencing the iris dataset towards the end of the example file is a wise choice.
Also in the example file, displaying the head of the dataset in a table format would give readers a quick snapshot of the data structure at a glance.
Additionally, pruning any commented-out code could tidy up the examples, ensuring that each line serves a purpose.
In the vignettes (example.ipynb): For the data-loading: in my opinion, You should cut off the "Preprocessing" head line or using different font size , as it may confused an user because you have tried to explain your package function, not the process on data wrangling For the Scaling explanation: it would be great if you provide some briefly on how you scale from the function. For the Prediction: it would be better if you print out the prediction to show us the form of prediction you give from the package, as you did in evaluate.

Milestone 1:

fixed at commit c8c8e82
fixed by adding milestone

Milestone 2:

fixed at commit c8c8e82

Peer review 1-8 solved at commit fcab8c1 and e05fecf

Peer review from 9 -16 solved at commit fcb0c85c23bdb90a4bea48d65d6f15d367076a89 and 19ed9b7b7688ebe2c704e5f6e794dce546aa489e

Milestone 2, part of point 3,4,5 fixed at 3b5e5daea51d62e5a827d8589f358a1a17a45d2b,  1688484f45603f910990ec82723357679044db3e,
34710a3f2c48a5ab4fad0327f133f605f3afcfe0,
728d07dbdd0676cc02cabdefd6e36af589a12caf

Milestone 2: 3, 4 fixed at 71f703775f125cb70d653a6284bb0046fdc5d289, d4ea38c9c611a015118d925197e359fdb9cd7848

Milestone 2: 8. calculate_distance.py: what if the function gets examples of different dimensions?fixed at f60d8c0b77e895a2f4ee8f0b01e16826f5a2cdec

Milestone 2:
9. data_loading.py: what if the target_column does not exist?
solved at 06661a02a15b9696ded67e01d937fbc6953a8344
10. find_neighbors: again, what if the function gets examples of different dimensions? in the documentation you mentioned k must be positive and less than labelled examples but you do not check for these error cases in the function.
solved at 893028996dbe0d5ffc2448c4fa1e70da18972789
12. predict.py: again, not checking the input
note: will adding a default for some parameters like "pred_method" in predict.py be helpful?
solved at 32cff894c52e42b99c711e9a50ec9832406b861e

Milestone 2:
12. there are 5 functions that do not test at least 2 expected input per function argument: test_find_neighbors, test_evaluate.py, test-calculate_distance.py, test_predict.py, test_scaling.py
solved at 3cddbca5b39a4e13ef7628d610394b6b189709bd

Peer Review 1-3 fixed by commit, a70bfc1
Peer Review 4 - not addressing, since we want to use the function, data_loading.py

Addition note: in peer review, we received mixed comments about the logo size (one think it is too big, but some other like it), so we are keeping as it is


Move snapshot build into cut release branch step

Similar to #26434, this takes our already mostly automated snapshot build step and fully automates it. It also moves it into the cut_release_branch step since there's no reason not to automatically run it after updating the master branch.
I ran this on my fork and it created https://github.com/damccorm/beam/pull/160

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @jrmccluskey


New http-request agent

Added new http-request agent
It accepts

url: http(s) url to call without query-string
query-string (map): accepts string as template. encoding is done automatically
method: "get" by default
headers (map):  accepts string as template e.g. X-Custom-Header: {{{ value.id }}}
body: body to send, must be a string:  accepts string as template e.g. X-Custom-Header: {{{ value.id }}}
output-field: field where to output in the record. in case the response return content-type: application/json it will be deserialized as map. otherwise will be threated as string
allow-redirects: set to false to never redirect
handle-cookies: set to false to not manage cookies during redirects

Example with authentication
                                  - name: "http-request"
                                    type: "http-request"
                                    input: input-topic
                                    output: output-topic
                                    id: step1
                                    configuration:
                                        output-field: value.api
                                        url: "https://somewhere/api/test/{{{ value.id }}}"
                                        method: POST
                                        body: '{"id": "{{{ value.id }}}"}'
                                        headers:
                                          Content-Type: application/json
                                          Authorization: Bearer {{{ secrets.s1.token }}}

It can be interesting to look at what features LangStream loaders provide when we create these Sources.


Support to switch between slots

Hi,
@rmrfl5 has softbricked his Xperia 5 II due to flashing his device with newflasher while the currently active slot is 'b'. Due to super.sin containing a valid image set for the slot a, but an empty or otherwise non-bootable image set on slot b, the phone is now not able to boot. The phone's bootloader is locked, and trying to switch slots with fastboot results in an error.
For this reason, I made a small snippet in newflasher's source that switches the currently active slot to the opposite slot than the one that's selected. patch-0001.zip
Obviously, I am not going to submit that to upstream. But I cannot test it either due to unclear instructions on how to replicate the build environment needed to make the windows crossbuild.
Would you please help me build newflasher for windows with the patch I submitted so that we can make @rmrfl5's device boot again?
Thank you.

We fixed the issue by running newflasher set_active:a. It would be nice if the fact that sending individual commands is a possibility within newflasher. One would not expect to be able to write extra parameters for a program that has no built-in help, and doesn't say it accepts them when you run it. And I have not seen this documented neither here or in the XDA thread. Closing the issue.

Hi, I'm allready mentioned in changelog about new features inside newflasher:

version v24 (04.07.2020)
new feature - now you can run newflasher from script or console with your own command, e.g. newflasher getvar:Emmc-info , I didn't tested all the list of commands, if you do it share them with us!

You can do a lot of things, yes its not documented because I didn't tested few, but you can try some, for example:
newflasher getvar:Emmc-info (a lot of similar commands can be done)
newflasher Read-TA:2:2050 (this one will read last boot log from bootloader! A lot of other trim area units can be read)

the rest: I don't know, hope somebody get idea :)

Nice, thank you!


Add another converter/check to list joining

(I made this a draft so I can actually test it before actually changing it)

0/4 checks passed my arse


Fix panic when k.begin() attempts to return early

https://github.com/go-piv/piv-go/blob/master/piv/key.go#L537-L541
The defer calls tx.Close() when needed to clean up, however all of the early return paths explicitly return nil for tx, causing a nil dereference panic.  This PR has two commits, one with the test case proving the panic and the other with a fix.
Another approach could be setting err = fmt.Errorf(...) and just doing a bare return at the end.

Thanks!


Investigate query param support

Hi,
Thanks for compiling this info! You might also check out @TehShrike's abstract-state-router. It is cool in that it attempts to decouple the actual components from their composition. That project inspired me to start writing screen-machine.
I started reading source on the other big projects for ideas on how to model the problem. I found your repos via the Backbone.Blazer Gitter room. I'm really grateful as your work will help my learning, thanks!


Change alternating background pattern to row border-bottom lines

Instead of the zebra

we want something like this

Looks good!

isn't that part of the engine?

We decided to remove the border at all and only show the border for hover and selected rows.


Fix ReadUInt8 method name

This should allow the image API to actually function. I have no idea how it managed to work before this--can you confirm that it was actually enabled?

readUInt8 is aliased as readUint8 as per nodejs/node@332e384

readUInt8 is aliased as readUint8 as per nodejs/node@332e384


Support piping contents of a file via stdin for checking

This will allow linting via ALE in vim. I have a pull request ready for that once this is merged. Other editors can also use this feature to implement linting of erubies via ruumba.
I've also done some refactoring and added spec coverage for the things I promised quite a while ago in https://github.com/ericqweinstein/ruumba/pull/11#issuecomment-353236532.

Any updates on this one @ericqweinstein ?

@aclemons Thanks so much for your patience—my son was born recently and I'm starting a company, so things have been super hectic on my end. I'll try to review this week 👍

@aclemons Thanks again for your patience—if you can resolve conflicts, this LGTM.

@ericqweinstein I've rebase and tidied up the conflicts now. Should be ready to go again.


Add debug file dump

Motivation

It could be very helpful to be able to dump to a JSON file whole debugger context: calls, source code, refs, etc. It would allow then to do a post processing like for example creating heatmap for most costly lines in terms of gas usage.
Closes https://github.com/foundry-rs/foundry/issues/7364
Closes https://github.com/foundry-rs/foundry/issues/7112
Solution

New --dump param is being added to forge debug and forge test --debug commands. It requires a path to file where to dump data and passing --debug flag same time. Debugger code is refactored to create abstraction over it. It is then used by two different presenters: TUI (interactive debugger) and file dumper. I also added to debugger data original path for the source file to allow figuring out where to make changes when debugging.

Thanks for comment! Do you find the idea of changing record/replay approach as a new feature request or a blocker for that functionality? This record/replay could be also run only for the dumping or dump can be created on the fly and written to file. The main idea is to be able to use that output for post processing things. Other approach could be to create a plugin system and move things like that out of the core of foundry. What do you think?

hmm, thinking about this more, I think this is ok. if/when we move away from record/replay we can always change this as well
would like input from @DaniPopes iirc there are some coming changes to the debugger?

ping @DaniPopes

Just fixed tests (clippy + fmt)

Fixed (again) - now using proper rust version locally. I don't know if this is intentional or not but in Cargo.toml there is rust-version = "1.76" while CI is using nightly version.

Any chances for merging this one? :) I don't want to mix same code and I could then work on fixing this https://github.com/foundry-rs/foundry/issues/7292.

very sorry about this @piohei
this now has a few conflicts that must be resolved first, still supportive of that feature

No problem. I will fix them. :)

Hi @piohei thanks for your PR! Would you mind updating the PR to resolve the merge conflicts? Looks like there is consensus on the feature and the approach so it would be great to get this merged

Hi @zerosnacks! Sorry for late response. I will try to find some time to resolve conflicts here and prepare it to merge.

Hi @zerosnacks! Sorry for late response. I will try to find some time to resolve conflicts here and prepare it to merge.

No problem! Thanks!

Just so I understand correctly, would this supersede https://github.com/foundry-rs/foundry/pull/7135?
I quite like the idea of having a keybinding that would trigger the dump to disk from inside of the debugger so you can decide on-the-fly too

Friendly ping @piohei on the above ^

Just so I understand correctly, would this supersede #7135?
I quite like the idea of having a keybinding that would trigger the dump to disk from inside of the debugger so you can decide on-the-fly too

@piohei would be great to get this functionality included as part of this PR

Sorry for such a big delay. I added dumping whole "debug data" and workflow should pass (fixed fmt and clippy). About the buffers dump during debug mode - it would be better to make this as a seperate PR. It is different kind of dumping as the need is to have only the part of the big dump from current "moment" during debug. I will try to find time to create this PR as well.

@zerosnacks Updated with suggestions and rebased with master again to allow merging. :)

@piohei would you mind fixing the merge conflicts one last time? I don't have the permissions to push directly to your fork.

@grandizzy Thanks for suggestions! Test added and code refactored as suggested. :)
@zerosnacks I have rebased with master once again.

Merging this, any additional feedback or improvements can be handled in follow-ups


Rate value is wrong

Describe the bug
Rate value isn't correct while trying to get it.
To Reproduce
Steps to reproduce the behavior:

Clone this repo
Add MouseDown event on Rate control and add Console.WriteLine

Click on Rateitem

Expected behavior
Right value is shown
Screenshots

Environment (please complete the following information):

.net: [e.g. 4.7.1]
IDE [e.g. vs2019]

Additional context
Add any other context about the problem here.

Added valuechanged event.
Don't get value of rate in mousedown event or any other event, value property is not under its control.

@Nabian I was using it because there was no proper event. Thanks


Fix: requireArrowFunctions to error on f(function () {}.bind(this))

Fixes #1659
Closes gh-1799
@SimenB

@SimenB would you mind checking this out?

Yup, it warns with this change, but not without it. Thanks!

Ok merging then


New Releases ? Library maintenance ?

We used to see very active development on this project, but not a single commit in the last 25 days ? There are a ton of open issues and PRs. Is there any expectations around when will development be resumed ?

Evan is focusing on Vue 3 for now. He will be back soon. Anyone who would like to contribute may help with the discussions in issues or reviewing PRs and leave some comments. They will help Evan better reviewing them when he back to Vite. Thanks for your understanding.

I do appreciate a lot on Evan's hard work of Vite, but since Vite is not part of Vue ecosystem (it works for all frameworks and libraries, and has renamed from vuejs/vite to vitejs/vite), I hope Vite can be maintained consistently and independently from Vue ecosystem. I can understand Vue 3 may have higher priority than Vite for Evan so he doesn't have time on Vite for now, but maybe he can invite some person as co-maintainers which merge some PRs or even develop some new features.

@antfu and @underfin are both working actively on Vite - they are co-maintainers. PRs being submitted that fixes issues is progress. Reviewing PRs in batches is more efficient for me.
Also, if you want to help with the process, here are a few things you can do:

Help triage issues or submit PRs yourself.
Help review and test PRs so that it is easier to merge them.

The last thing you want to do though, is opening an issue asking why the author hasn't been active. Adjust your expectations when you use open source software. Nobody owes you anything for providing this to you for free. Maintainers are entitled to maintain a project at whatever pace/priority that makes sense for them.


Limits on the number of queries?

Is there a way to limit the number of request to my webapp based on their IPs?
Say we limit 100 queries per IP, per day.
Is that possible?

We don't support that out of the box, no.

I think there are numerous solutions using Apache or Nginx to solve that problem.


regarding the TypeError: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int32.`

Hi Marvin,
When running the demo.py, I got the following error message. In specific, the related error is TypeError: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int32.  I googled the error, which seems to be caused by version problem. I am using tensorflow 0.12.0-rc0.
Thank you for the advice.

2017-03-22 21:46:48,881 INFO Modules loaded successfully. Starting to build tf graph.
npy file loaded
Traceback (most recent call last):
File "/devl/tensorflow/tf_0.12/lib/python3.4/site-packages/tensorflow/python/framework/op_def_library.py", line 490, in apply_op
preferred_dtype=default_dtype)
File "/devl/tensorflow/tf_0.12/lib/python3.4/site-packages/tensorflow/python/framework/ops.py", line 669, in convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "/devl/tensorflow/tf_0.12/lib/python3.4/site-packages/tensorflow/python/framework/ops.py", line 583, in _TensorTensorConversionFunction
% (dtype.name, t.dtype.name, str(t)))
ValueError: Tensor conversion requested dtype int32 for Tensor with dtype float32: 'Tensor("ExpandDims:0", dtype=float32)'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "demo.py", line 101, in
tf.app.run()
File "/devl/tensorflow/tf_0.12/lib/python3.4/site-packages/tensorflow/python/platform/app.py", line 43, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "demo.py", line 87, in main
prediction = core.build_inference_graph(hypes, modules,image=image)
File "/home/ug/GPU-Study/keras/FCN/fcn/tensorvision/core.py", line 137, in build_inference_graph
logits = modules['arch'].inference(hypes, image, train=False)
File "/data/dsp_emerging/ug/FCN/KittiSeg_pretrained/model_files/architecture.py", line 28, in inference
vgg_fcn.build(images, train=train, num_classes=2, random_init_fc8=True)
File "/home/ug/GPU-Study/keras/FCN/fcn/tensorflow_fcn/fcn8_vgg.py", line 60, in build
red, green, blue = tf.split(rgb, 3, 3)
File "/devl/tensorflow/tf_0.12/lib/python3.4/site-packages/tensorflow/python/ops/array_ops.py", line 1159, in split
name=name)
File "/devl/tensorflow/tf_0.12/lib/python3.4/site-packages/tensorflow/python/ops/gen_array_ops.py", line 3241, in _split
num_split=num_split, name=name)
File "/devl/tensorflow/tf_0.12/lib/python3.4/site-packages/tensorflow/python/framework/op_def_library.py", line 508, in apply_op
(prefix, dtypes.as_dtype(input_arg.type).name))
TypeError: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int32.

This is due to your tensorflow version. Use tensorflow version 1.0 or newer.


Create 2.0 branch

It would be nice to have a 2.0 boilerplate branch so you do not have to checkout a specific commit. Or is there any other way to simply clone the 2.0 app?

I did not see that the master branch is on 2.0...


Simulator.reset should change default_lighting_key to point to scene instance lighting setup

Motivation and Context
Moved this change from https://github.com/facebookresearch/habitat-sim/pull/2451 for closer evaluation in isolation and unit test updates.
How Has This Been Tested
CI
TODO: requires changes to unit test GT images.
Types of changes

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

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Changed this to merge into the dev branch


⚠ Roblox Devforum has degraded performance

In 3dfe29a, Roblox Devforum (https://devforum.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 2341 ms

Resolved: Roblox Devforum performance has improved in 989aa67.


Runtime manager does not display when ./run is tried

It did display but now it doesn't. Here's what I see on the terminal (Ubuntu 16.04)
... logging to /home/bayesian/.ros/log/7fd194ee-d0b7-11e7-ad5d-4439c4519f9c/roslaunch-bayesian-3710.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://bayesian:37281/
ros_comm version 1.12.7
SUMMARY
PARAMETERS

/rosdistro: kinetic
/rosversion: 1.12.7

NODES
auto-starting new master
process[master]: started with pid [3741]
ROS_MASTER_URI=http://bayesian:11311/
setting /run_id to 7fd194ee-d0b7-11e7-ad5d-4439c4519f9c
process[rosout-1]: started with pid [3754]
started core service [/rosout]

Could you send me a log when the following command is executed?
source devel/setup.bash; roscore & rosrun runtime_manager runtime_manager_dialog.py
if you not using bash, please select other setup file.(setup.sh, setup.zsh)

Thank you so much for your help;
here is the output
bayesian@bayesian:~/Downloads/Autoware/ros$ source devel/setup.bash;
roscore & rosrun runtime_manager runtime_manager_dialog.py
[1] 5430
... logging to /home/bayesian/.ros/log/a19a23a6-d0bd-11e7-ad5d-4439c4519f9c
/roslaunch-bayesian-5430.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
Traceback (most recent call last):
File "/home/bayesian/Downloads/Autoware/ros/src/util/packages/
runtime_manager/scripts/runtime_manager_dialog.py", line 33, in
import wx
ImportError: No module named wx
bayesian@bayesian:~/Downloads/Autoware/ros$ started roslaunch server
http://bayesian:44721/
ros_comm version 1.12.7
SUMMARY
PARAMETERS

/rosdistro: kinetic
/rosversion: 1.12.7

NODES
auto-starting new master
process[master]: started with pid [5449]
ROS_MASTER_URI=http://bayesian:11311/
setting /run_id to a19a23a6-d0bd-11e7-ad5d-4439c4519f9c
process[rosout-1]: started with pid [5462]
started core service [/rosout]

Looking at the error message; ImportError: No module named wx,
I checked
bayesian@bayesian:~$ apt list --installed | grep python-wxtools
WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.
python-wxtools/xenial,xenial,now <IP_ADDRESS>+dfsg-1build1 all [installed]
On Fri, Nov 24, 2017 at 11:13 AM, Yusuke FUJII<EMAIL_ADDRESS>wrote:

Could you send me a log when the following command is executed?
source devel/setup.bash; roscore & rosrun runtime_manager
runtime_manager_dialog.py
if you not using bash, please select other setup file.(setup.sh, setup.zsh)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CPFL/Autoware/issues/919#issuecomment-346724908, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHfKgD9d3kKqTOSLTeO2wTOVyVzrqwU3ks5s5iZVgaJpZM4QpSuj
.

it seems that you not installed wx python module.
Please install wx with following command.
sudo apt install python-wxgtk 3.0

Dear Mr. Fujii,
it says python-wxgtk3.0 is already installed.
On Fri, Nov 24, 2017 at 12:04 PM, Yusuke FUJII<EMAIL_ADDRESS>wrote:

it seems that you not installed wx python module.
Please install wx with following command.
sudo apt install python-wxgtk 3.0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CPFL/Autoware/issues/919#issuecomment-346732370, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHfKgEZSphCnkWh8I3I_bhK5jYxFZJkPks5s5jI1gaJpZM4QpSuj
.

ummh....
What version are you using python?
Is import wx valid in your python?

No, it says "no module named wx"
Is it a sudo issue?

it means your environment have not installed wxpython corresponding to python you're using.
I think that it is a problem of python version.
What is the version of python used?
Could you reinstalled wxpython?

#736


Take extra SANs as an agrument

ping #91

This change is

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

Comments from Reviewable