Where is the function named KeyboardEvent to define?

Hi
As the title explained, I searched (KeyboardEvent) globally, but still, find nothing.
Could you just please describe where this function is defined?

Thank you so much~

All of the keyboard event code is in the c++ code not in the javascript. There probably is a keyboardevent some where in the n64wasm.js glue code but that code is all minified and auto generated by Emscripten so you can't really work with that. You need to use the c++ code.

All of the keyboard event code is in the c++ code not in the javascript. There probably is a keyboardevent some where in the n64wasm.js glue code but that code is all minified and auto generated by Emscripten so you can't really work with that. You need to use the c++ code.

Thank you for answering, I found a relative keyword at RetroArch repo, which is named EmscriptenKeyboardEvent,  maybe it's the answer.
https://github.com/libretro/RetroArch/blob/1ef78d3e3d8e8463790b1fb527510be51a38793a/input/drivers/rwebinput_input.c#L52


IsometricTileMapComponent doesn't set its size correctly

I am currently trying to create a draggable IsometricTileComponent. So that a player will be able to drag and re position the board  around the viewport. I tried to copy the drag_events example since IsometricTileComponent is a PositionComponent. However something is wrong with my implementation as it does not act like that example.
class GameBoard extends IsometricTileMapComponent with DragCallbacks {
  late List<List<Enum>> state;
  SpriteSheet spriteSheet;
  int boardsections;

  // late Selector selector;

  bool _isDragged = false;

  // late final board;
  List<List<Vector2>> centerPointMap = List.empty(growable: true);

  GameBoard(
      {required this.boardsections,
      required this.spriteSheet,
      required Vector2 destTileSize,
      Vector2? position})
      : super(spriteSheet, [], destTileSize: destTileSize, position: position) {
    state = List<List<Enum>>.filled(
        boardsections, List<Enum>.filled(boardsections, BoardPiece.empty));
    matrix = List<List<int>>.filled(
        boardsections, List<int>.filled(boardsections, 0));
  }
  @override
  Future<void> onLoad() async {
    debugMode = true;
    print("${anchor} $absoluteCenter} ");
    anchor = Anchor.center;
    // width = 800;
    // height = 80;
    position = Vector2.all(300);

    size = Vector2.all(800);
    centerPointMap = generateCenterPointMap();
    addPiece(centerPointMap[0][1], Buildings.blackWarehouse);
  }

  void addPiece(Vector2 position, Enum type) {
    print("Adding $type to board at $position");
    var piece = GamePiece(type, cartToIso(centerPointMap[3][3]), spriteSheet);
    add(piece);
  }

  @override
  void render(Canvas canvas) {
    super.render(canvas);
  }

  @override
  void onDragStart(DragStartEvent event) {
    _isDragged = true;
    print("Being Dragged");
  }

  @override
  void onDragEnd(DragEndEvent event) {
    _isDragged = false;
  }

  @override
  void onDragUpdate(DragUpdateEvent event) {
    position += event.delta;
    // position += event.delta;

    centerPointMap = generateCenterPointMap();
    print("Board Size: ${size} Board Position: ${position}");
  }

  List<List<Vector2>> generateCenterPointMap() {
    print("From GenerateCenterMap {Matrix:$matrix}");
    List<List<Vector2>> centerPointMap = List.empty(growable: true);
    var tileSize = destTileSize!.y / 2;
    print("TILESIZE: $tileSize");

    //Use tilesize to iterate all positions of Board
    for (var row = 0;
        row <= (boardsections - 1) * tileSize;
        row += tileSize.toInt()) {
      var rowList = <Vector2>[];
      for (var col = 0;
          col <= (boardsections - 1) * tileSize;
          col += tileSize.toInt()) {
        var block = Vector2(row.toDouble(), col.toDouble());
        print("Block at $row,$col = $block");

        rowList.add(block);
      }
      centerPointMap.add(rowList);
    }
    return centerPointMap;
  }
}

Here is the behavior I get with that code. I would like to be able to click anywhere on the board to drag.
Screencast from 2022-11-25 00-33-32.webm

The IsometricTileMapComponent doesn't seem to handle its size properly at the moment.
A workaround for this is to override containsLocalPoint so that it always returns true or to handle the drags in the FlameGame instead of in the component.

Thank you for that tip. I would be interested in learning why overriding the containsLocalPoint function has that effect.

Thank you for that tip. I would be interested in learning why overriding the containsLocalPoint function has that effect.

Because normally it checks whether the event is within the bounds of the effect (the position+size), but since the bounds are wrong wrong here you can say that all events should be regarded as within this component by setting that to true.

I wonder how that effects the mouse clicks on the tiles. Will have to test that functionality when I implement that part of the ui

I wonder how that effects the mouse clicks on the tiles. Will have to test that functionality when I implement that part of the ui

It should be fine since the drags and taps are different events in the gesture arena.

Seem like this issue was solved by #3142.

Seem like this issue was solved by #3142.

It was indeed, thanks


fix: dockerbuild

Changes proposed in this pull request

on PRs, docker builds on amd64 and images are not published
on merge to main and tagging, images are multi-platform builds - amd64 + arm64 - and are published

Context

Checklist

[ ] Related issues linked using fixes #number
[ ] Tests added/updated
[ ] Documentation added
[x] Make sure that all checks pass

Fixes

#1340


add debug-mode setting

some errors, such as "no completion point found", should only be shown as a message when we're in debug mode, since they are useless to end-users but helpful for us

Something like haxe.displayServerArguments that are used for starting server would work (mentioned here).


Have a default way to open a pane

Description
Currently, the user has to create a button to open a pane. The simplest solution for the user is to create a button, but this is not UX-friendly, so he also has to change the button's style. This requires a lot of code for a simple feature.
Solution
We should be able to provide a default way to open the pane with a great UI/UX.
Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%.
[ ] Propagate any change on the demos and run all of them to ensure there is no breaking change.
[ ] Ensure any change is well documented.

Code of Conduct

[X] I have checked the existing issues.
[ ] I am willing to work on this issue (optional)

Which kind of pane ?

How many kinds do you have? Whether it is persistent or not, it results in the same way as opening a pane. You also have different anchors, so the button to open the pane should be different.


Outage in Mumbai

Login cluster is down in mumbai region [start_datetime:1702405740] [end_datetime:1702405920]

comment 1

comment 1


Abbreviations in headings

Are abbreviations allowed in headings?

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

ID: cfc3424a-4163-2d64-ff35-74639571feec
Version Independent ID: b947b5fb-14f4-300b-cab9-fc97bf294e75
Content: indent, outdent - Microsoft Style Guide
Content Source: styleguide/a-z-word-list-term-collections/i/indent-outdent.md
Product: non-product-specific
GitHub Login: @pallep
Microsoft Alias: pallep

https://docs.microsoft.com/en-us/style-guide/acronyms#be-careful-with-acronyms-in-titles-and-headings says the following:
Be careful with acronyms in titles and headings
Avoid using an acronym for the first time in a title or heading, unless it's a keyword that you need to place in the title or heading for SEO. If the first use of the acronym is in a title or heading, introduce the acronym (in parentheses, following the spelled-out term) in the following body text.

Just a quick note - acronyms and abbreviations are different. An acronym forms a 'word' or something you can pronounce - like NASA or SCUBA. An abbreviation cannot be pronounced; like IBM or PMS.


nomodule polyfill does not work when deferred

🐞 Bug report
Command (mark with an x)

- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?
Yes, the previous version in which this bug was not present was: 8.1.1
Description
I believe #15087 breaks the nomodule polyfill for older iOS/Safari. The nomodule polyfill script is now deferred by default and does not seem to work unless I remove the defer attribute.
🔥 Exception or Error
In the reproduction above, "Angular is running in the development mode. Call enableProdMode() to enable the production mode." is logged twice indicating that both the es5 and es2015 scripts were executed. You can prove this by added a console.log to main-es5.js and main-es2015.js.
In my internal application:

polyfills-es2015.d441479….js:1 Error: Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.
Most likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)

🔬 Minimal Reproduction

ng new ...
Add "iOS >=10" to browserslist to enable the nomodule polyfill.
ng build
Serve the output files using a static file server.
Open the site in iOS 10 (iPhone 7 Safari for example).
You can remove the defer attribute from the nomodule polyfill script in index.html manually and refresh to see the problem go away.

🌍 Your Environment

Angular CLI: 8.2.0
Node: 10.15.3
OS: win32 x64
Angular: 8.2.0
... animations, cli, common, compiler, compiler-cli, core
... elements, forms, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                                    Version
--------------------------------------------------------------------
@angular-devkit/architect                  0.802.0
@angular-devkit/build-angular              0.802.0
@angular-devkit/build-optimizer            0.802.0
@angular-devkit/core                       8.2.0
@angular-devkit/schematics                 8.2.0
@nguniversal/common                        8.1.1
@nguniversal/module-map-ngfactory-loader   8.1.1
@schematics/angular                        8.0.0
@schematics/update                         0.802.0
rxjs                                       6.5.2
typescript                                 3.5.3
webpack                                    4.29.5

Anything else relevant?
This happens on iOS 10.3 and probably older.

Fixed via #15246 which has just been merged.

Thanks!

An 8.2 patch version of the fix is also pending: #15276


Parse scope as JSON array in token response

This is to support Twitch OIDC provider which returns
"scope": ["openid"]

in token response.
Fixes #11.

Wasn't able to run tests in the repo as esy command fails for me (same error as on CI related to dune lang version) but tested with dream-social-login example app and it works fine with Twitch now.

Looks good, thank you!
I need to fix the CI setup since I'm mainly using nix now anyway.
Another note for myself is that I need to make things like parsing tokens etc more safe, so that we return result instead of failing on things.


Add a 68k compiler

Requested by Thomas Troeger over email.
CC #82

GCC supports 68k; you can even install 68k cross-compilers in Ubuntu.

Duplicate of #271

Clsoed as duplicate (like @haneefmubarak says!)


feat: kill optional vars

just remember to fix the PR title it should be merged as - feat: remove optional vars

done


EACCES error when running go-lang lambda function

I am getting the following when deploying go functions:
{
  "errorMessage": "Process exited before completing request"
}

With [Error: spawn EACCES] code: 'EACCES', errno: 'EACCES', syscall: 'spawn' in the log.
This is caused by the main executable not having the +x mode set.  The FileInfo isn't being set when creating the zip archive.
A hack using zip.AddFile allows me to deploy lambda functions again, but it looses the mtime fix.

My bad, yea I guess we need AddBytesInfo instead of AddBytesMTime

waiting on https://github.com/jpillora/archive/pull/5/files

Thanks!  BTW, this is a great tool.


Working with Puma's forking/workers

Edit Here's a StackOverflow question: https://stackoverflow.com/questions/47558606/google-stackdriver-working-with-pumas-cluster-mode-workers-outside-of-google-cl
I'm attempting to get the stackdriver logging gem working with puma's cluster mode on my own server (e.g. outside of Google Cloud). My set up is a brand new rails 5.1.4 ruby 2.4 app with only the stackdriver gem added. I am able to see all logs in the Stackdriver interface when I run in single-mode, but when I run in cluster-mode I do not see any logs. My application.rb and puma.rb are below. Is there something I need to do with puma's forking callbacks to enable stackdriver on each forked worker process?
application.rb
require_relative 'boot'

require 'rails/all'

Bundler.require(*Rails.groups)

require "google/cloud/logging/rails"

module StackTest
  class Application < Rails::Application
    config.google_cloud.logging.project_id = "valid-project-id"
    config.google_cloud.logging.keyfile = "config/stackdriver.json"
    config.google_cloud.use_logging = true
    config.google_cloud.logging.log_name = 'stackdriver-puma-test'
  end
end

puma.rb
project_dir = File.expand_path(File.expand_path(File.dirname(__FILE__)) + "/../")
threads_count = Integer(ENV['MAX_THREADS'] || 16)
workers Integer(ENV['WEB_CONCURRENCY'] || 2)
threads threads_count, threads_count

activate_control_app

rackup DefaultRackup

@britg Thanks for opening this issue. Are you running your cluster on GKE? Is this StackOverflow question relevant?  gce container logs not showing up in cloud logging
/cc @dazuma

You may also want to open a StackOverflow question. If you do so, please link to it from this issue.

Hi @quartzmo - thanks for the reply. I am running this rails app on my own server outside of Google Cloud. I've updated the issue to be more clear and I've created a Stack Overflow question.

@britg Great, thank you. Can you link to your Stack Overflow question?

Sure, I have editing the original issue text with the Stack Overflow link, and here it is as well:
https://stackoverflow.com/questions/47558606/google-stackdriver-working-with-pumas-cluster-mode-workers-outside-of-google-cl

Ah, sorry, missed the edit. Thank you.

@britg This might be the loading grpc before forking problem. There is a summary of the problem here. The grpc library is initialized when you require 'google/cloud/logging/rails'. Could you try forking the process first and then initialize the grpc library?
Also see grpc #7951.

@bmclean Thanks for the pointers. Sounds like in order to solve this I need to require google/cloud/logging/rails after puma forks workers.
To accomplish this, though, I need to somehow set configuration on the config.google_cloud.logging config object, but config.google_cloud is nil on application start.
Is there a way to set config parameters without requiring google/cloud first? Seems to be a chicken and egg problem here where requiring the library to set config params also starts gRPC, which is the root cause of the forking problem.

You can require google/cloud/logging pre-fork to configure. As long as you don’t create a Logging client you should be fine.

@dazuma Any input on this?

Alternatively, if there's a way for me to manually construct a Google::Cloud::Logging.new -- are there any examples of how to do this with a project_id and keyfile.json?
Everything I found in the documentation assumes the configuration exists in the Rails.config

The problem appears to be at the gax/gapic layer. The gapic clients are supposed to avoid requiring grpc until an actual service connection needs to be opened. However, gax is messing this up. Requiring "google/gax" by itself already causes grpc to be loaded: google/gax.rb -> google/gax/errors.rb -> google/gax/grpc.rb -> grpc

@britg a couple ideas:

Does turning off preload help?
Have you tried initializing during on_worker_boot?

@dazuma Turning off preloading does not help. I have tried with both preloading on and off and neither produce Stackdriver logs (but running in single mode does produce logs).
How would I go about initializing in on_worker_boot -- re: my last question on Google::Cloud::Logging.new -- all I have is a project_id and a valid keyfile.json. I can't find an example of setting up a logger with just these two pieces without relying on the Rails conf

Sadly this is a complete blocker for me. We use Passenger Enterprise and see the same issue.
If there is no fix coming, can there be an official workaround that works with a default Rails project, which uses Puma?

I have a Rails app running on passenger in a container in a kubernetes cluster on GKE, and am trying to get logging to stackdriver working. I can log to STDOUT which works ok, but I wanted to use the stackdriver gem (for google-cloud-logging) instead.
The problem is that the logs aren't getting through, so I'm wondering if it's the same issue as described here?
I can log into a pod in the cluster and output to the logs manually via the rails console, but I'm not seeing logs from the app itself on passenger.

I had problems getting the logging working on a Rails app running on Passenger from GKE (currently only staging). Thought it might be this issue.
However, it turned out to be config.google_cloud.use_debugger = true that was stopping the other services working when using the stackdriver gem. When set to false, the logging now works. I think it's a service account permissions issue.
Also worth noting is that by default the stackdriver gem is only enabled for production, so an explicit config.google_cloud.use_logging = true is required for staging.
https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/stackdriver/v0.14.0/guides/instrumentation_configuration

@jopotts Thanks for the tip about disabling the debugger. I spent some time investigating the debugger's behavior in the presence of preforking, and indeed it's opening a grpc connection too early, before the workers are forked, which appears to be wreaking all sorts of havoc with the grpc connection.
So yes, turning off the debugger should be an effective workaround for now. And this is probably the root cause of most of the various prefork issues people have been seeing in this thread. I'm currently working on a more permanent fix.

We released google-cloud-debugger 0.32.0 and stackdriver 0.15.0 with a workaround that delays the debugger startup until after workers are forked. That should mitigate the problem for now. The root cause is https://github.com/grpc/grpc/issues/7951 which is being investigated.
I'm going to close this now. Please feel free to reopen if you are still observing this behavior with the new gem versions.

@dazuma This is still broken with 0.32.0 / 0.15.0 with a passenger setup:
Phusion Passenger 5.3.1
nginx version: nginx/1.14.0
Gems included by the bundle:
  * google-cloud-core (1.2.0)
  * google-cloud-debugger (0.32.0)
  * google-cloud-env (1.0.1)
  * google-cloud-error_reporting (0.30.0)
  * google-cloud-logging (1.5.0)
  * google-cloud-trace (0.33.0)
  * google-gax (1.2.0)
  * google-protobuf (<IP_ADDRESS>)
  * googleapis-common-protos (1.3.7)
  * googleapis-common-protos-types (1.0.1)
  * googleauth (0.6.2)
  * grpc (1.12.0)
  * stackdriver (0.15.0)
  * stackdriver-core (1.3.0)

Disabling forking causes all functionality (logging, tracing, error reporting) to work immediately, enabling forking causes it all to fail immediately.

This is still not working for us as well with google-cloud-debugger 0.32.4 and stackdriver 0.15.2.

Can you upgrade google-gax to 1.3.0 and grpc to 1.15.0 and see if the behavior is the same?

@locriani @joe1chen Can each of you open new issues explaining the behavior you are seeing and include all relevant information. Ruby runtime versions, rails version, operating system, backtraces, etc. A simple rails application that reproduces the behavior is extremely useful, if you don't want to share too much about your applications.
Right now we don't have enough information from either of you to know for sure that this is the same issue.
I am going to re-close this issue. Please reference this issue in your new issues.


Create antigen series from CDC logic

Depends on a subset of the output from #68
Waiting on #68
Next step: Build rails classes for antigen series

Depricated


Shared Blocklist (minus Appeal)

Details
https://www.notion.so/lbry/Shared-Blocklist-Review-3337701e8c68494d92e9cde6b73b2c83
Sorry for the redirect, but it's way easier to type in notion
Closes #6570 Shared Blocked Lists
Test
https://kp.odysee.com

463abc0 to f8754fb

Added help section. TODO: need link to "learn more".
Fixed flickering.
Removed emojis in text area for Edit and Invite

f8754fb to d6935e3

Disable "Invite" button for own SBL when you have accepted another SBL.
Make invitation section collapsed by default, showing only From and Message at first.
Show status on members (accepted or not)
Rebased

--- Close ---
Moving to Odysee repo


how to aggregate multicluster event by kelemetry

From k8s/config/mapoption, there has two field targetClusterName and kubeconfig, seem like meanning kelemetry can watch multicluster event in one master cluster(controlplane cluster). But i just found the informer only watch targetCluster, the other cluster seem like just for the diff api.So i wanna know how to aggregate multicluster event by kelemetry. I have some guess, please correct me if I am wrong:

Deploy kelemetry per cluster with in-cluster mode.
Deploy kelemetry per cluster with out-cluster mode in the controlerplane cluster.

Each Kelemetry controller instance can only watch events from one cluster, namely its "target cluster". The recommended approach is like this:

Deploy central diff cache + span cache databases
Deploy central webhook + consumer instances and connect to the central cache databases
Deploy in-cluster informers instances and connect to the central cache databases.

graph TB
  subgraph central deployment
    consumer[webhook + consumer]
    cache[diff & span cache]
    consumer --> cache
  end
  subgraph cluster1
    apiserver1[kube-apiserver]
    informers1[informers]
    apiserver1 --> |list-watch| informers1
  end
  apiserver2 -->|audit\nwebhook| consumer
  subgraph cluster2
    apiserver2[kube-apiserver]
    informers2[informers]
    apiserver2 --> |list-watch| informers2
  end
  apiserver1 -->|audit\nwebhook| consumer
  informers1 --> cache
  informers2 --> cache

But due to multi-cluster linking (if you e.g. use the annotation linker or the LinkRule linker in #109), informers and consumer also need out-of-cluster GET access to all other apiservers. That is, if an informer/consumer processes audit/events from cluster1 but the processed object references a parent-link in cluster2, then the informer/consumer also needs to know how to access the parent object in order to generate transitive parents. (omitted in the diagram since full connection is too messy)
The current helm chart does not explicitly support multi-cluster deployment due to various cluster management techniques, but the rough idea is to do this:

Deploy an etcd cluster and an ElasticSearch cluster without using the Helm chart from Kelemetry.
Edit values.yaml:

Update multiCluster.clusters include connection details for all clusters.
Change externalEndpoint: false for diffCache and spanCache to the URL for the etcd cluster deployed in step 1. (optionally, also change for traceCache to share search results between frontend instances)
Change storageBackend.type to elasticsearch and update storageBackend.options to point to the ElasticSearch cluster deployed in step 1.

For each cluster, update multiCluster.currentClusterName to its cluster name and deploy the chart for that cluster.

Nevertheless, if you expect no inter-cluster parent references, you can skip all these steps and just switch the storageBackend to a common storage backend.


Ability to report pragma no cover as being covered (codecov related)

As codecov.io does not have support for pragma no cover comments we need need to find a way to produce some coverage reports that report the "skipped" lines as being covered, so they will display accordingly in their web interface.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Ideally we would have a configurable option as "no_pragma_as_covered: true" that changes the way the reports are created.
Currently we upload coverage.xml report to codecov.io
Describe alternatives you've considered
I am not aware of any alternative to make the codecov coverage tracking in sync with coverage.py reporting.
Additional context

https://community.codecov.com/t/pragma-no-cover-is-still-being-covered/1128

@ssbarnea Can you provide more detail about what isn't working with codecov.io?
Using # pragma: no cover seems to be working here:
https://app.codecov.io/gh/ansible/ansible/blob/devel/test%2Funits%2Fansible_test%2Ftest_diff.py#L8

Using # pragma: nocover seems to be working here:
https://app.codecov.io/gh/ansible/ansible/blob/devel/test%2Funits%2Fplaybook%2Frole%2Ftest_include_role.py#L202


Frends.Regex.Replace initial implementation

Create initial implementation for Replace task, using the simple tasks Replace task as baseline.
In addition:

The task should have its own nuget (as opposed to having a generic zip package)
The task has to have good unit test coverage, as zipping is something that can be automated
No integration tests required besides just testing zipping in unit tests
It would be nice to have some performance indication in the performance test section of the readme.

Initial implementation done.

Task does regex replacing as expected
Test coverage is adequate
Task gets packed in a separate nuget with dotnet pack --configuration Release


Float precision in problem credit

The addition of problem credit is excellent, but fractional credits are not rounded, so we end up seeing values like 0.333333333. Could we round the credit to, say, 2 or 3 decimal points?

Made to 2 decimal places

Sounds good.


Update Dockerfile

Need to add openssl in order to connect to certain hosts.

Hi @grahamwetzler, thanks for the contribution.  What kind of hosts need openssl for a connection?

The only one I tested for was Simplecast.
On Mon, Mar 19, 2018 at 9:55 PM William Weiskopf<EMAIL_ADDRESS>wrote:

Hi @grahamwetzler https://github.com/grahamwetzler, thanks for the
contribution. What kind of hosts need openssl for a connection?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DArtagan/docker-greg/pull/1#issuecomment-374445925,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARwtl5Y0pT70lSVe_nC2xhPg6D3QuCIks5tgGGngaJpZM4StEmd
.

--
Graham


Add an enum for Keyboard Keycodes like there is for MediaKey and SystemControlKey

Hi, I think it would be more straightforward of an API to have an enum for the the different keyboard scancodes. I am happy to contribute such an enum - I would just populate it with the contents of https://usb.org/sites/default/files/hut1_22.pdf#page=83 right?

This is a somewhat complicated problem because what the labels are depend on the locale of the computer (yes you can just say that US is the default and the rest of the locales have to do their own lookups), but it's rather confusing.
The way I handle this is a bit different, where I have this library https://github.com/hid-io/layouts-rs that pulls in from a database of json files and constructs the lookups on demand. My use case is mainly for a compiler though and isn't directly used with usbd-hid.
I don't really see a good way of handling this directly with enums beyond a bunch of helper functions that can convert the enums to the appropriate locales.

Should be resolved now at least for US keyboards (which is the default per https://usb.org/sites/default/files/hut1_3_0.pdf).


Remove unused map entry for uptime in nginx config

Firstly, there is no upstream defined for "uptime".
Secondly, uptime.signal.org seems to resolve to localhost:
$ nslookup uptime.signal.org <IP_ADDRESS>
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
Name:	uptime.signal.org
Address: <IP_ADDRESS>

Thus it seems, it's not being used anymore and this line might be a remnant and so it may be deleted.

Contributor License Agreement has just been signed.

Thanks, you're correct - uptime.signal.org doesn't need to be here. I've cherry-picked your commit onto main.


Cannot rename travel anchor without breaking it

When I place a travel anchor, I can type in a name, however I cannot delete any characters.  So if I make a mistake in the spelling, I have to break the travel anchor and replace it to fix the spelling. https://imgur.com/QOON0Qd
I am playing ATM8, using mod version 1.19.2-4.1.2

I figured out that it's only the backspace key that does not work, if I manually move the cursor to in front of a character, the delete key does work.


no documentation or rest example

I m searching a simple rest example for a demo in my office. Do you know if i can find it on web?

This project still in development stage

IMO the https://github.com/openapi/actix-swagger/tree/master/demo needs a main.rs so the openapi service can be run , and used to verify it is working.


[backport v.1.1]Support more device type in builder

IMPORTANT: Please do not create a Pull Request without creating an issue first.
backport https://github.com/harvester/harvester/pull/3247
Related Issue:
https://github.com/harvester/harvester/issues/3336
Test plan:

Codecov Report

:exclamation: No coverage uploaded for pull request base (v1.1@2a51eca). Click here to learn what that means.
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             v1.1    #3394   +/-   ##
=======================================
  Coverage        ?   19.33%
=======================================
  Files           ?       59
  Lines           ?     6231
  Branches        ?        0
=======================================
  Hits            ?     1205
  Misses          ?     4900
  Partials        ?      126

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


CH04 [TBC-1] 类的初始化和对象的初始化

https://www.javaworld.com/article/3040564/java-101-class-and-object-initialization-in-java.html


Update log - resource collect data

Short description:
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/approve

/verified
ocp_resources.resource 2021-12-15 11:22:47 WARNING Log collector failed to collect info for import-http-dv-pod
exception: 404
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Audit-Id': '84fe7782-85bc-4582-967c-13eef17b9909', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Kubernetes-Pf-Flowschema-Uid': '75df6fd9-e2aa-415b-bfd3-5f6030e32372', 'X-Kubernetes-Pf-Prioritylevel-Uid': 'b085d6e6-9020-4ade-8c4e-c1b0bc76912d', 'Date': 'Wed, 15 Dec 2021 11:22:47 GMT', 'Content-Length': '204'})
HTTP response body: b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods \\"import-http-dv-pod\\" not found","reason":"NotFound","details":{"name":"import-http-dv-pod","kind":"pods"},"code":404}\n'
Original traceback:
  File "/home/cnv-qe-jenkins/.local/share/virtualenvs/cnv-tests-Y3fdlEPc/lib/python3.8/site-packages/openshift/dynamic/client.py", line 42, in inner
    resp = func(self, *args, **kwargs)


ImportError: cannot import name 'getargspec'

Do you guys have this problem? I have python 3, and should I run the program on python 2?
C:\Users\ying\Downloads\flaskSaaS-master\flaskSaaS-master>python manage.py initdb
Traceback (most recent call last):
File "manage.py", line 33, in
manager.run()
File "C:\Users\ying\AppData\Roaming\Python\Python35\site-packages\flask_script_init_.py", line 412, in run
result = self.handle(sys.argv[0], sys.argv[1:])
File "C:\Users\ying\AppData\Roaming\Python\Python35\site-packages\flask_script_init_.py", line 383, in handle
res = handle(*args, **config)
File "C:\Users\ying\AppData\Roaming\Python\Python35\site-packages\flask_script\commands.py", line 215, in call
with app.test_request_context():
File "C:\Users\ying\AppData\Roaming\Python\Python35\site-packages\flask\app.py", line 1780, in test_request_context
from flask.testing import make_test_environ_builder
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\testing.py", line 17, in
from flask.cli import ScriptInfo
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\cli.py", line 29, in
from ._compat import getargspec, iteritems, reraise, text_type
ImportError: cannot import name 'getargspec'
C:\Users\ying\Downloads\flaskSaaS-master\flaskSaaS-master>python --version
Python 3.5.6 :: Anaconda, Inc.

I am running it with python 3.7.3 that comes with miniconda and have no problems. I am using Ubuntu 18.04 though


Repository actions: Solution files not found in subdirectories

With v1.1.18 solution files are no longer found in subdirectories. Just in the repository root directory.
The following snippet in RepositoryActionsV2.yaml behaves differently to v1.0.87 where this worked
    solution_files = file.find_files(repository.linux_path, "*.sln");

Fixed and created new release
https://github.com/coenm/RepoM/releases/tag/v1.1.19

@coenm
Thanks for the quick fix - works again with v1.1.19 👍


Lanes mismarked among old lanes in construction zone

Describe the bug
Lanes not marked correctly in a construction zone when lanes abruptly transitioned from normal to splitting into new lane markers and scrapes where old lanes were.
Significant steering corrections necessary, twice.
Device/Version information (please complete the following information):

Device: comma two
Dongle ID: 6363a0e48f515f27
Route: 6363a0e48f515f27|2021-02-20--15-00-54
Timestamp: between 4:04 and 4:06pm
Version: 0.8.1
Car make/model: Hyundai Sonata 2018

Additional context
The clock on my dash said 4:04, but I don't know where specifically the major corrections occurred within 2 minutes of that because I don't know how to view better quality video in cabana from the HQ video uploaded.  Please inform me of how to do so, so that I can give precise information in the future.

In explorer, click on download video segment to get the full res video. View it with VLC.  Can't view the the HQ video inside explorer or cabana.

Our laneline detector does not deal well with splitting lanelines. Laneless policy should deal with this better, if not already it will soon. Once laneless is good enough it will be the default policy.


fix(FormlyFormBuilder): address null reference when validation.show…

… is true
Addresses a null reference introduced by #417 that can occur when validation.show is true.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix
What is the current behavior? (You can also link to an open issue here)
Attempts to call markAsTouched on a null object reference.
What is the new behavior (if this is a feature change)?
Calls markAsTouched on the existing reference.
Please check if the PR fulfills these requirements

[x] The commit messages follow our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] A unit test has been written for this change.
[x] Running npm run build produced a successful build. (Unit testing can be done by running npm test;)
[x] My code has been linted. (npm run lint to do this. npm run build will fail if there are files not linted.)

This change is

Codecov Report

Merging #533 into v1 will increase coverage by 0.12%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##               v1     #533      +/-   ##
==========================================
+ Coverage   92.39%   92.52%   +0.12%
==========================================
  Files          18       18
  Lines         789      789
  Branches      214      214
==========================================
+ Hits          729      730       +1
+ Misses         60       59       -1

Impacted Files
Coverage Δ

src/core/src/services/formly.form.builder.ts
97.12% <100%> (+0.57%)
:arrow_up:

Continue to review full report at Codecov.

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

published 1.0.0-rc.14


I faced an issue when clicking on the Time Travel.

TypeError: T1.floating.floating is not a function
at z91 (webpack-internal:///(app-pages-browser)/./node_modules/@chaibuilder/sdk/dist/index-rktN6W1Y.js:38157:142)
at renderWithHooksAgain (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:11272:16)
at renderWithHooks (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:11135:18)
at mountIndeterminateComponent (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:16869:13)
at beginWork$1 (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:18458:16)

Looking at the stack trace, it does not seem to be related to the DevTools. I can double-check. Could you please provide a small repro via Stackblitz?


Convert packetIO buffer to an interface

Description
PacketIO buffer interface will allow to use custom buffer for rtp/rtcp streams
Reference
https://github.com/pion/transport/pull/121

What's the performance hit?

What's the performance hit?

@jech It's negligible
# Interface buffer
BenchmarkWriteRTP-6   	  807013	      1424 ns/op	     820 B/op	       8 allocs/op
# None interface
BenchmarkWriteRTP-6   	  790890	      1411 ns/op	     820 B/op	       8 allocs/op

Clean API, includes test, and we have a convincing benchmark.  I like it, and strongly support.
I have one minor nit and one question I'd like you to consider:

I'd prefer the struct to be called Buffer (exported), NewBuffer to return *Buffer (as it used to), and to avoid creating a new interface;
should the BufferFactory take some extra parameters beyond the SSID?  Perhaps the PeerConnection?  The RTPSender or Receiver?

@jech

I'd prefer the struct to be called Buffer (exported), NewBuffer to return *Buffer (as it used to), and to avoid creating a new interface;

I updated it earlier, now Buffer is the struct as always and the interface is io.ReadeWriteCloser so no new interface was introduced

should the BufferFactory take some extra parameters beyond the SSID?  Perhaps the PeerConnection?  The RTPSender or Receiver?

I personally would like to get a RTCPWriter /RTPWriter, so I could include the congestion control directly in the buffer, that would clean a lot of logic in the SFU and give far better performance than interceptors

* I'd prefer the struct to be called Buffer (exported), NewBuffer to return
  *Buffer (as it used to), and to avoid creating a new interface;

I updated it earlier, now Buffer is the struct as always and the interface is
io.ReadeWriteCloser so no new interface was introduced

Excellent.  Sorry for the confusion, but I find Github's interface confusing.

* should the BufferFactory take some extra parameters beyond the SSID?
  Perhaps the PeerConnection? The RTPSender or Receiver?

I personally would like to get a RTCPWriter /RTPWriter

Yeah, something like that.
But I'm not sure how that would work.  You get your receiver report, and
now you need to find the data structure to update with the packet loss
data you just received (this could be the Track, this could be the
RTPsender, or it could be some data structure that encapsulates the Track,
as in the case of Galène).  I'd expect the BufferFactory to stick
a reference to the right data structure into your ReadWriteCloser, but for
that, we need the BufferFactory to have access to the relevant data.

I see the following ways forward:

Merge the Buffer changes, but name the factory method FactoryInternal.  Replace it later with a proper factory method, when Orlando has grokked the fullness.
Merge the Buffer changes, but do not merge the factory method.  Add a method ReplaceBuffer which allows replacing the buffer associated with a given transceiver.
Merge the Buffer changes, do not merge the factory method.  Have ion and Galène use a forked version of Pion until we can agree on a Factory method.

Ihave a preference for (3) — it's always easy to add a new method, it's always problematic to change one.

I see the following ways forward:

Merge the Buffer changes, but name the factory method FactoryInternal.  Replace it later with a proper factory method, when Orlando has grokked the fullness.
Merge the Buffer changes, but do not merge the factory method.  Add a method ReplaceBuffer which allows replacing the buffer associated with a given transceiver.
Merge the Buffer changes, do not merge the factory method.  Have ion and Galène use a forked version of Pion until we can agree on a Factory method.

Ihave a preference for (3) — it's always easy to add a new method, it's always problematic to change one.

I have been updating ion-sfu, and I think the best approach is to share something like interceptor.StreamInfo the issue is that we have all the info to do that but the modules makes hard to share the info. So I dont have enough info to relate a SSRC to a peer and a codec because it takes some time to fire the track event, is a shame because that way I could get the real arrive time etc.
Going to keep thinking the best approach.


This closes #5 issue with different result from login method call.

Currently login method returns object with {loginResult: userHash}, not pure userHash as expected in tests and code as mentioned in #5

THanks!


chore: Bundler integration tests

@TkDodo a while back you mentioned it would be good to set up CI tests for major bundlers like RTK. Since there have been some immediate bundler problems after deploying https://github.com/TanStack/query/pull/5597 that publint/ATTW couldn't pick up, I thought it would be a good time to look into this!
What's new:

test:bundle script
Runs build steps within the integrations folder for react-cra4, react-cra5, react-vite, solid-vite, svelte-vite
Purpose is to ensure that imports/exports work and can be bundled successfully
(I haven't done one for vue because I've never written a vue file...)

Codecov Report
Patch and project coverage have no change.

Comparison is base (b167883) 88.87% compared to head (f03c6d4) 88.87%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##            alpha    #5756   +/-   ##
=======================================
  Coverage   88.87%   88.87%
=======================================
  Files          71       71
  Lines        2390     2390
  Branches      620      620
=======================================
  Hits         2124     2124
  Misses        218      218
  Partials       48       48

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Error: INTO OUTFILE is not allowed

Hello dier support.
When I am doing some query, I am receiving Error: INTO OUTFILE is not allowed
echo "SELECT * from test.\stats` where date = '2018-05-04' INTO OUTFILE '/var/lib/clickhouse/user_files/1525769878920.csv'" | curl 'http://admin:123456@localhost:8123/' -d @-`
How I can set parameter allow_into_outfile in config file?

As stated in the docs, the output file is created on the client side. It is pretty hard to do via the HTTP interface :) So INTO OUTFILE is disabled in this case. You can use clickhouse-client for that.

I made it via the shell
ssh<EMAIL_ADDRESS>/bin/bash << EOF     clickhouse-client --user=admin --password=111111 --query="SELECT * FROM test.\"stats\" AS t WHERE date = '2018-04-07'  INTO OUTFILE '/user/reports/1525777158845.csv' FORMAT CSVWithNames" EOF
My nodejs solution
function clientExec(sql) {     return new Promise((resolve, reject) => {         const command = config.useSSH ? sshExec(sql) : callClient(sql);         exec(command, (error, stdout, stderr) => {             if (error) return reject(error);             if (stderr) return reject(stderr);             resolve(stdout);         });     }); } function callClient(sql) {     returnclickhouse-client --user=user --password=111111 --query="${sql}"`;
}
function sshExec(sql) {
return 'ssh<EMAIL_ADDRESS>/bin/bash << EOF\n' +
'    '+callClient(sql)+'\n' +
'EOF\n';
}`


Rewrite OID-s to column names on Primary Key lookup

Similar to #14652.
Passes tests even before we write oids to source since by default References have OID_UNASSIGNED and they fall back to take name "as is" behavior.
Applied this in #14662 where oid is actually written. Tests where PKLookup is happening (including UpdateToInsert), pass with this PR applied and fail without.

retest this please
Jenkins hangs on assigning a machine

Hi @seut, could you please take a look?
This is similar to SourceLookup fixing, reuses already introduced DocTableInfo.lookupNameBySourceKey() to rewrite keys.
I had another approach with rewriting keys in
DocRefResolver but faced an issue with passing through a Function DocTableInfo.lookupNameBySourceKey().
PKLookupPhase is Streamable and had to figure out how to serialize the function which was essentially pass needed data and resolve function + weird stuff to avoid NPE.
Basically, abandoned approach was doing late transformation and this PR does early transformation.

More general idea - PKLookup could just reuse SourceParser which is already OID aware on the branch.
We can not only have less similar code but also don't hit such scenarios where we need to apply a fix to both components.
Recent example:
We modified SourceParser to handle empty arrays in https://github.com/crate/crate/pull/14049
And then had to follow up in https://github.com/crate/crate/pull/14255 to deal with PK scenario.
With the single entry point we could have modified only once.
P.S Wild shot: somehow make translog read operation re-use SourceParser, ie applyTranslogOperation should not create SourceToParse but pass source as is and parse it with our component instead.


Decoding dictionary types

Hi, this is a question on how to work with Decodable.
I'm talking to an API that gives me a dictionary of the type Dictionary<String,City> where City is another decodable type. This is the naïve way I tried to start with, but I'm unsure how else to go about this.
struct Metadata: Decodable {
    ...
    let cities: [String: City]

    static func decode(json: AnyObject) throws -> Metadata {
        return try Metadata(
            ...
            cities: json => "cities"
        )
    }
}

TypeMismatch __NSCFDictionary, expected: Dictionary<String, City> in cities object:
Thanks for any tips! :)

Something like
public func => <T: Decodable>(lhs: AnyObject, rhs: String) throws -> [String: T] {
    var dict = [String: T]()
    for (key, value) in try NSDictionary.decode(lhs => rhs) {
        try dict[String.decode(key)] = T.decode(value)
    }
    return dict
}
// Dictionary needs to not be Castable to avoid ambiguity

My Xcode keeps betraying me now, but will look at this again when I have time.


optimize: optimize links in the console header

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
优化控制台页眉中的链接
optimize links in the console header
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

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

Comparison is base (2363715) 49.97% compared to head (7ebe553) 49.91%.

Additional details and impacted files

@@             Coverage Diff              @@
##                2.x    #6243      +/-   ##
============================================
- Coverage     49.97%   49.91%   -0.06%
+ Complexity     4928     4926       -2
============================================
  Files           915      915
  Lines         31927    31927
  Branches       3855     3855
============================================
- Hits          15954    15937      -17
- Misses        14406    14422      +16
- Partials       1567     1568       +1

see 6 files with indirect coverage changes


Awaiting merge with card transaction error shows up for cash transaction

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.30-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @luacmartins
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1705808926749559
Action Performed:

Submit a receipt for smartscan
Once done change the currency to CAD

Expected Result:
Error about merging with card should not display and user should be able to change the currency.
Actual Result:
Awaiting merge with card transaction error shows up for cash transaction
Workaround:
N/A
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0174349ad23995a507
Upwork Job ID:<PHONE_NUMBER>480446976
Last Price Increase: 2024-01-24

@cead22 are you leading this?

bump @cead22 🙇♂

Yes? I'm not sure what you mean.
@luacmartins

Is this violation still showing?
Does it show on old dot?
Can you share transactionID/reportID?

Is this violation still showing?

No

Does it show on old dot?

No and I'm not sure if it ever did.

Can you share transactionID/reportID?

reportID<PHONE_NUMBER>775051
transactionID<PHONE_NUMBER>387093677

I think this is working as expected. This issue was opened --and the violation was showing, on Jan 23, which is 6 days after the transaction created date of Jan 17. We show that violation up to 7 days, which explains why it's no longer showing. I said working as "expected" and not "correctly" because this is a warn, and not a violation, and we have a PR in the works that will filter warns so they don't show. So I'm going to close this since it'll be resolved when that PR gets merged


Anko Layout Preview Doesn't Support Alert Dialogs

If an AnkoComponent returns an AlertDialog, the Preview plugin just shows a preview that says __anko.preview.View
 override fun createView(ui: AnkoContext<T>): View {
        return with(ui) {
            customView<View> {
                alert {
                    title = "Title"
                    customView {
                        verticalLayout {
                            linearLayout {
                                name = editText {
                                    hint = "Name"
                                    layoutParams = android.widget.LinearLayout.LayoutParams(0, wrapContent, 6.0f)
                                }
                                val options = editText {
                                    hint = "Address"
                                    layoutParams = android.widget.LinearLayout.LayoutParams(0, wrapContent, 4.0f)
                                }
                            }
                         }
                    }
                }.show()
            }

Whoops, looks like it is not specific to Alert Dialog, so it's just a duplicate of #421


[MINOR] Sleep 1 ms after versionId was generated

[MINOR] Sleep 1 ms after versionId was generated

VersionId is the same with one generated in last loop randomly, the test failed in this case.

LGTM


Mass Effect Andromeda not loading. DXVK 1.3.3, Wine staging 4.14.

Wine fails to find and load DLLs with DXVK 1.3.3. DXVK 1.3.2 works without problems. No apitrace because this is not about graphics issues or misbehaviour of the application.
Wine reports it can't find DLLs.
Software information
Wine staging 4.14 from ubuntu repo (https://wiki.winehq.org/Ubuntu).
Mass Effect Andromeda.
d3d10, d3d10_1, d3d10_core, d3d11 override. nvapi64 disabled. xaudio2_7 (native, internal).
I have not installed DXGI, as it causes conflict with Wine staging 4.14. DXVK 1.3.2 would not work with that DLL provided by DXVK (this bug describes a problem with DXGI https://github.com/doitsujin/dxvk/issues/1140).
DXVK 1.3.3 does not run at all.
Other winecfg settings:

Staging tab: all disabled except "Hide Wine version from applications".
Graphics tab: Automatically capture mouse in full screen. Allow window manager to control windows.

System information

GPU: AMD Radeon RX 580. AMD RADV POLARIS10 (LLVM 8.0.0)
Driver: AMDGPU 19.0.8.
Wine version: Wine Staging 4.14
DXVK version: 1.3.3
Operating System: Ubuntu 19.04.
I'm only using Ubuntu repositories. Mesa, kernel, etc. versions are the ones shipped with the distro.

Please post logs, and if possible, bisect the problem.

What exactly is your problem anyway? The game works perfectly fine, with DXVK's DXGI implementation.

Please make sure that your wine setup isn't broken.

Okay. Build from latest master commit works (DXVK: v1.3.3-1-gb0552751). The binary release 1.3.3 doesn't. Strange, because nothing relevant changed in the latest commit https://github.com/doitsujin/dxvk/commit/b0552751ada90b754568061c8c3f7e2bb810475a
In both cases I'm installing with the provided script.
But the DXGI issue remains. See the other bug https://github.com/doitsujin/dxvk/issues/1140 (I posted logs and a screenshot).

Well, can you please provide logs?
I tested this with Lutris using the 1.3.3 binaries and it works just fine on my end.

Here you have the logs. Naming convention:

nodebug: without WINEDEBUG="warn+all"
debug: with WINEDEBUG="warn+all"
nodxgi: use Wine's DXGI -> the one that works with DXVK's master https://github.com/doitsujin/dxvk/commit/b0552751ada90b754568061c8c3f7e2bb810475a and DXVK 1.3.2 binary.
with-dxgi: use DXVK's DXGI.
git: DXVK compiled from commit https://github.com/doitsujin/dxvk/commit/b0552751ada90b754568061c8c3f7e2bb810475a
binary: DXVK 1.3.3 binary release

There's also d3d11 logs when the games launches (only with DXVK master or DXVK binary 1.3.2) but fails to continue to main screen due to DXGI problem. I've attached only once because the output is the same. I've attached a screenshot with the error returned by Wine.

I'm not using Lutris. Just plain Wine staging 4.14.
binary-nodebug-nodxgi-output.txt
binary-debug-with-dxgi-output.txt
git-debug-nodxgi-output.txt
git-nodebug-with-dxgi-output.txt
git-nodebug-nodxgi-output.txt
git-debug-output.txt
binary-nodebug-with-dxgi-output.txt
binary-debug-nodxgi-output.txt
git-debug-with-dxgi-MassEffectAndromeda_d3d11.log
git-debug-with-dxgi-MassEffectAndromeda_dxgi.log

002a:err:module:import_dll Loading library d3d11.dll (which is needed by L"C:\Games\Mass Effect Andromeda\MassEffectAndromeda.exe") failed (error c000007b).

Well yeah that's definitely a problem on your end.
I'm not sure about the DXGI error, it's a known issue with all Frostbite games on some setups, but I cannot reproduce it at all and I don't think anyone managed to actually record a proper apitrace showing that problem.

But then binary 1.3.2 nor DXVK master shouldn't work either. I have installed Mass Effect in a clean Wine profile and installed DXVK with the provided script.
The launch command is env LANG=ca_ES WINEPREFIX="/home/user/.wine-mea" /opt/wine-staging/bin/wine C:\\windows\\command\\start.exe /Unix "/home/user/.wine-mea/dosdevices/c:/users/Public/Escriptori/Mass Effect Andromeda.lnk"
I had no problems with DXVK 0.70 and Wine staging 3.xx. :S
I'll investigate more then. Places to look at would be welcome.


[Send] Ladger - reject operation - blanck error

While using the "Send" option in the Nolus dApp with a Ledger wallet, if the user rejects the transaction on the Ledger device, a blank error message appears in the dApp. This error message provides no information on the reason for the transaction failure.

While using the "Send" option in the Nolus dApp with a Ledger wallet, if the user rejects the transaction on the Ledger device, a blank error message appears in the dApp. This error message provides no information on the reason for the transaction failure.

Hello @AArolski
You are experiencing the transcript error,
It sounds like your query would be best dealt with by the support team.
I’ll have to refer you to the official support live chat with the ticket ID LDG120964
Please see the link below to our dedicated support line:
Ledger Wallet DApps Support Ticket Requests.
Note; Click on the live chat icon at the bottom corner of the page to initiate chat with a live support agent.


Play Pause Button

No latching on the play / pause button (resets to pause when popup is minimised).
Investigate messaging the current state of video from the page listener.
If it's playing, the show the pause icon otherwise show the play icon.

Latching has been added


Harvesters and Packers to be implemented

For each of these needs to be decided if they become part of metador-core or or an external plugin.
We collect here a list. If you like to work on one of these, document the implementation decision process in an other issue if it will stay in metador-core or in the new created project.
Harvester:

[x] Base Harvester for any file
[x] Image files
[x] Bib, files
[ ] Code files,
[ ] Notebook files, most important ipynb

What about non-file like data?
Packers:

ok wrong repo...


Bioconductor revision

Hello @zhewa,
Thank you for submitting to Bioconductor. Please see the initial review of the package below. Comment back here with updates that have been made and when the package is ready for a secondary review.
General Package Development
R CMD check

[x] Recommend fixing the missing or unexported object 'stats::mean' NOTE.
We removed stats:: in elbow.R

R CMD BiocCheck

[x] Recommend fixing the runnable examples to man pages that document exported objects 'availableModels.Rd', 'celda.Rd', 'semiPheatmap.Rd' NOTE.
We moved the definition of 'availableModels' to data.R. We added examples to 'availableModels.Rd' and 'celda.Rd'. We removed the export of semiPheatmap function.

[x] Recommend checking to make sure 'dontrun{}/donttest{}' sections are tested some where either in another example or in the vignettes. They are in 'featureModuleTable.Rd', 'plotDimReduceCluster.Rd', 'plotDimReduceFeature.Rd', 'plotDimReduceGrid.Rd', 'plotDimReduceModule.Rd' NOTE.
We removed donttest{}.

[x] Recommend fixing shorter lines NOTE. There are 63 lines that are > 80 characters long.
These lines are within the file RcppExports.R which are automatically generated by Rcpp package.

[x] Recommend fixing multiples of 4 spaces for line indents NOTE. There are 397 lines that are not.
Most of these lines are within documentation files which are automatically generated by roxygen2.

DESCRIPTION

[x] REQUIRED: There are 13 packages listed as 'Imports:' that are not listed in your NAMESPACE file.
We have added them to NAMESPACE file.

NAMESPACE

[x] REQUIRED: Exported functions should use camel case or underscoring and not include "." which indicates S3 dispatch.
We have renamed the function names.

[x] REQUIRED: Fix the import of 'gridExtra', you have both import(gridExtra) and import(gridExtra, except = c(combine)).
We removed import(gridExtra).

[x] REQUIRED: We encourage importFrom() over importing an entire package if there are only a few functions used from the package. If there are many functions being used then import() is okay.
We changed how we import a few packages and used importFrom() if only a few functions are used from the imported package.

data

[x] REQUIRED: Need documentation (creation and source information).
We have examples in the documentation of these objects showing how they are generated. Is there any other documentation we need to add?

vignette
celda-analysis

[x] REQUIRED: There needs to be consistancy with the naming of the package. All documentation (expect for in the vignette) 'celda' is with a lower case 'c'. In the vignette you start calling the package 'Celda' with a capital 'C'. Please be consistant.

[x] SUGGESTION: Break the 'Introduction' section into 'Introduction' and 'Installation'. Line 19 should start the 'Installation' section.

[x] REQUIRED: Whether you split into an 'Installation' section or keep as is, you should show how the user can download the package from Bioconductor and then load the library.

[x] SUGGESTION: Line 31, I would also add some text about how the user can go to the Bioconductor support site to ask questions using the tag 'celda'.

[x] REQUIRED: Line 33-37, this chunk is not needed since it is already run at line 21-23.

[x] REQUIRED: Line 149, this does not render as a section heading. I think this is because you need a line between the plot code (ending at line 148) and the heading (line 149).

[x] REQUIRED: Line 151, end this section with a '.' not a ':'.

[x] REQRUIED: Line 181, this is also not showing as a heading. There needs to be an empty line between the end of the code chunk (line 180) and the heading (line 181).

[x] REQUIRED: Line 183, 'moduleHeatmap' needs to be formated correctly with ` `.

[x] REQUIRED: Line 207, this is not showing as a heading. There needs to be an empty line between the end of the code chunk (line 206) and the heading (line 207).

[x] REQUIRED: Line 213-215, this chunk is not needed because the library is listed under 'Imports' for the package. Also, it is pointless to have if the user can't see it.

[x] REQUIRED: Line 239, this sentence should end with '.' not ':'.

[x] REQUIRED: Line 259, there should be a space in between 'K' and '(' as well as between 'L' and '('.

[x] REQUIRED: The vignette should end with a 'Session Info' section that includes SessionInfo().

DecontX-analysis

[x] REQUIRED: There needs to be consistency with the naming of 'celda' (just like with the first vignette).

[x] SUGGESTION: Like the first vignette, break the 'Introduction' section into 'Introduction' and 'Installation'. Line 23 should start the 'Installation' section.

[x] REQUIRED: Like the first vignette, whether you splity inton an 'Installation' section or keep as is you should show how the user can download the package from Bioconductor and then load the library.

[x] SUGGESTION: Like the first vignette, line 26 could also have some text about how the user can go to the Bioconductor support site to ask questions using the tag 'celda'.

[x] REQUIRED: Line 46, I produce a different output when I run this code. My table(simCounts$z) results in 38, 31, 31 respectively. Should there be a set.seed() before running the code similar to how you had it in the first vignette?

[x] REQUIRED: The vignette should end with a 'Session Info()' section that includes SessionInfo().

man pages

[x] REQUIRED: Since you have the packages listed as 'Imports' in your description file, you don't have to load them in examples.
We removed library(SummarizedExperiment) in the example codes of differentialExpression.

tests

[x] REQUIRED: Nothing is being tested in 'test-recursiveSplit.R', either uncomment some of the code so it's actually tested or remove the file.
We removed 'test-recursiveSplit.R'.

R code

[x] REQUIRED: Avoid the use of direct slot access with '@', accessor methods should be created and used instead.
We have replaced @ with S4 getters for slot access.

[x] REQUIRED: Use various apply functions (we prefer vapply) instead of for loops.
We use 18 vapply, 13 lapply and 10 apply functions within the celda package. 57 for loops are used. We are aware of the advantage of using vapply, lapply and apply functions over for loops. However, there are some cases where we think using *apply functions instead of for loop will not result in a huge improvements in efficiency but instead hinders the readability of the codes. Is it a hard limit that no for loops can be used for R packages on Bioconductor?

Best,
Kayla
Originally posted by @Kayla-Morrell in https://github.com/Bioconductor/Contributions/issues/1041#issuecomment-485875267

Hello @zhewa,
Thank you for all the work done on this package. I have looked over the changes made and have just a couple additional notes before accepting your package. See the secondary review below and comment back here when you are ready for me to look it over again.
General package development

[ ] REQUIRED: Thank you for adding/fixing the runnable examples in the man pages. There are no examples for the man pages 'celdaGridSearch', 'plotDimReduceCluster', 'plotDimReduceFeature', and 'plotDimReduceModule'. Since they are demonstrated in the vignette, it is acceptable to have the examples as 'dontrun{}/donttest{}'.

[ ] REQUIRED: The man page 'plotDimReduceGrid' does not have any examples in it. This function is not demonstrated in the vignette, so there should be runnable examples in this man page.

data
I'm sorry, this was a note to myself to check to make sure there was documentation. I should have not included this in the review, what you have is just fine.
R code
We do not require that there be absolutely no for loops in code, we just want to be sure the code is as efficient, robust, and fast as possible. Our main concern when dealing with for loops is to be sure you vectorize instead of iterate. If iteration is necessary than we want to be sure you 'pre-allocate and fill' rather than copy-and-append. See our common advice here: https://bioconductor.org/developers/how-to/efficient-code/. If your code seems to follow this advice than you can leave your code as is.
Best,
Kayla
Originally posted by @Kayla-Morrell in https://github.com/Bioconductor/Contributions/issues/1041#issuecomment-486247482

#140


pseudo-parallel data for GYAFC

Thank you for this great work!
It seems it's not straightforward to apply the template-based method to the informal-formal dataset since there're no clear attribute markers as those in the yelp dataset. Could you please share more details on how you prepared the pseudo-parallel data for the informal-formal transfer task? Also, I'd really appreciate it if you can share a few examples of the pseudo pairs resulting from the template-based method.

The templates used to generate pseudo-parallel data are some heuristic rules. For the text to formal GYAFC dataset, the templates (or rules) for informal-to-formal text transfer includes:

Capitalize the first word and proper nouns. For example,  i love it => I love it
Remove repeated punctuations. For example, wow!!!!! => wow
Handcraft a list of expansion for acronyms, etc.

More details can be found in the original paper of GYAFC dataset [1].
ps: We also try other methods to generate pseudo-parallel data for GYAFC. For example, JS similarity and Li et al., 2018. Although these methods are not perfect, they can also provide a not bad initialization for the model and a slight warm-start for DualRL training. And the final results don't differ much.
[1] Sudha Rao and Joel R. Tetreault. Dear sir or madam, may I introduce the GYAFC dataset: Corpus, benchmarks and metrics for formality style transfer. In Proceedings of NAACL, 2018.

hi, thanks for the explanations. Could you also put the templates based outputs in the code base so that others can directly use? Those rules can be very complex and misc so that replication could be very hard. Thanks!


swiper 4.5.3 版本在safari浏览器下切换会轮播会闪一下

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: EXACT RELEASE VERSION OR COMMIT HASH, HERE.

Live Link or JSFiddle/Codepen or website with isssue: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP).

Expected Behavior
EXPLAIN WHAT IS TO BE EXPECTED, HERE.
Actual Behavior
EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that.
Before you open an issue, please check if a similar issue already exists or has been closed before.

In English, and fill in all details

Your issue is closed because it is not filled correctly. Before you open an issue please review the contributing guideline.
Please fill the issue template correctly and:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with isssue

It will save a lot of time for other contributors to check your issue and fix it.


Problems with reproducing zero-shot learning results

I tried replicating results for zero-shot learning on CLS, but my results don't match those from the paper. Since the script for predicting labels with LASER seems not be a part of Multifit repository I trained LASER on the CLS dataset (only en and de books for now) by adjusting the MLDoc script from LASER repo to CLS. My fork of LASER with these adjustment is [here]h(ttps://github.com/blazejdolicki/LASER). For the time being I only tested on books in German. After some hyperparameter tuning performed on English training set, my best setup obtains 82.25% accuracy compared to 84.15% from the Multifit paper. My hyperparams are:
n_epochs=200
lr=0.001
wd=0.0
nhid="10 8"
drop=0.2
seed=1
bsize=12
and I'm using the last 10% of the test set as validation.
When I tried to make them more similar to Multifit (n_epochs=8, wd=0.001,bsize=18), the accuracy dropped to around 60%.
Afterwards, I used the best (82.25% acc) LASER classifier (trained on English training set) to predict labels for German books. Then I copied test, training and unsupervised sets in Multifit repo from folder de-books into de-books-laser and replaced ground truth labels in training set with pseudolabels. Afterwards I trained the Multifit classifier on those pseudolabels and while my validation accuracy isn't great but at least similar, my test set accuracy is as low as 70% (compared to 89.60 from the paper and here) as you can see in the attached logs.
Multifit CLS zero shot terrible results 15.04.2020.txt
I did expect some drop due to the issue explained in https://github.com/n-waves/multifit/issues/63, but such big difference shows that the unsupervised set size can't be the only factor deteriorating the results. Other possible reason of the drop in performance that come to my mind are:

I used different hyperparameters for training and predicting LASER pseudolabels?
I used different train-dev split for training and predicting LASER pseudolabels?
your script was loading the LASER model with fastai library and training the classifier with it instead of Pytorch ?

My fork of mutlifit is here, I'm using the ulmfit-original-scripts branch.
I would really appreciate a reply :)

Hey Blazej, I updated the other issue with a solution, can you let me know if that fixed the issue or you still cannot reproduce the results?

Thanks for your response. Using more data helped to some extent, but after some more digging I realized the real issue. The CLS dataset has three columns - label, summary and the actual review text. Initially, in zero-shot learning I was discarding the summary column thinking it's irrelevant. All that adding the summary does is it increases the amount of data used for finetuning the LM. After I included the summary to my surprise the classification test results jumped by ~15%! Without "summary" column the LM had 60% (val) accuracy in the first epoch (out of 20) while with it it has an accuracy of 37%. Not sure why including summaries that are usually shorter than the main text makes such a difference. The LM training time per epoch also changed from 18 seconds to 2 mins and 23 seconds.
So currently my laser results are still ~2% lower than those from the paper and so are zero-shot learning multifit results. So it's just a matter of differences in my implementation of CLS on LASER and yours. Do you have access to the script that you used to train LASER on CLS? Would be great to compare hyperparameters and check if they are responsible for this difference.


Add Boiler (New) and SteamTurbine Techs

See https://github.com/NREL/REopt.jl/pull/121.

@zolanaj Just wanted to finalize these Boiler and SteamTurbine additions quickly into master.


HD-718 add basic CI

make / make test / make check

Was checking if things were working and found this in the meantime:
https://eve.devsca.com/github/scality/liberasurecode/#/builders/5/builds/1
Error in yaml file:
found undefined alias 'wait_for_docker'
  in "<unicode string>", line 91, column 23:
          - ShellCommand: *wait_for_docker

Hello benoit-a,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

2 peers

Was checking if things were working and found this in the meantime:
https://eve.devsca.com/github/scality/liberasurecode/#/builders/5/builds/1
Error in yaml file:
found undefined alias 'wait_for_docker'
  in "<unicode string>", line 91, column 23:
          - ShellCommand: *wait_for_docker

On it

/approve

In the queue
The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.
The changeset will be merged in:

:heavy_check_mark: development/1.0

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.
IMPORTANT
Please do not attempt to modify this pull request.

Any commit you add on the source branch will trigger a new cycle after the
current queue is merged.
Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.
The following options are set: approve

I have successfully merged the changeset of this pull request
into targetted development branches:

:heavy_check_mark: development/1.0

Please check the status of the associated issue HD-718.
Goodbye benoit-a.


[Question]: Installation via Docker resulting in a failed startup

Describe your problem
[WARNING] [2024-04-19 16:18:02,544] [_transport.perform_request] [line:395]: Retrying request after failure (attempt 2 of 3)
Traceback (most recent call last):
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/elastic_transport/_transport.py", line 328, in perform_request
meta, raw_data = node.perform_request(
^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/elastic_transport/_node/_http_urllib3.py", line 202, in perform_request
raise err from None
elastic_transport.ConnectionError: Connection error caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fd492f53ed0>: Failed to establish a new connection: [Errno 111] Connection refused)
[WARNING] [2024-04-19 16:18:02,546] [_node_pool.mark_dead] [line:249]: Node <Urllib3HttpNode(http://<IP_ADDRESS>:1200)> has failed for 4 times in a row, putting on 8 second timeout
But:
curl http://<IP_ADDRESS>:1200
{
"name" : "es01",
"cluster_name" : "rag_flow",
"cluster_uuid" : "urFFAOYGSjGue_CWCj5enw",
"version" : {
"number" : "8.11.3",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "64cf052f3b56b1fd4449f5454cb88aca7e739d9a",
"build_date" : "2023-12-08T11:33:53.634979452Z",
"build_snapshot" : false,
"lucene_version" : "9.8.0",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},

It might meet its service limitation.

@sunggc I had the exact same issue and restarting docker-compose solved it for me, as suggested here: https://github.com/infiniflow/ragflow/issues/348#issuecomment-2054020194

Seeing the same issue when trying to set this up locally. @KevinHuSh Service limitation for?

I mean that the machine is struggling to provide service due to lack of memory or CPU.


Laravel Vapor / Nova / S3 upload size restrictions

I am using Vapor to host several applications, and I recently found that this imposes a 5mb (I could be wrong, but small) limit to file uploads.
Does Nova Filemanager support streaming to s3 instead of the store-and-forward setup? Are there any initiatives underway to support this configuration?

You can chose any disk to be used by the package. Check the docs.

Perhaps I wasn't clear enough about my question. This bit of code:
https://github.com/InfinetyEs/Nova-Filemanager/blob/c6595c29e23cab01be6b7e37a069b13844397c91/src/Http/Services/FileManagerService.php#L179
Will not work when you are using Laravel Vapor for hosting and uploading files that are larger than 5mb (maybe 6?). From the Laravel Vapor docs:
https://docs.vapor.build/1.0/resources/storage.html#file-uploads
I am curious if there is any plan to support streaming file uploads so we can overcome the file size limitation that currently exists.

Hey all, is there any update on this? Would be great, it's bit of a bottleneck

Not sure how streaming file uploads work, but I know this will help with large files, i.e. > GB
https://github.com/pionl/laravel-chunk-upload
I just spent half a day fixing the csrf issues. Anyone wants to tackle larges files together?

Hello, how did you get the filemanager to work in vapor?

We built a custom Tool - i think its not completely ready for production yet... let me know if you want to check out the code

@julianlaibach sure!

We built a custom Tool - i think its not completely ready for production yet... let me know if you want to check out the code

It would be great!


”Ilovița” is listed in the drop-down menu

Description:
"Ilovița" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Ilovița" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Ilovița, MEHEDINȚI".


[WIP] Support statement expressions

This my attempt to bring support for statement expressions extension, I use this extension a lot for my C code gen, so I wish C2M could support it. Request for this feature was mentioned in issue https://github.com/vnmakarov/mir/issues/22 .
I've been able to do the following at this point:

[x] Parsing
[x] Checking
[x] Generating

I am not familiar with MIR code base and this my first attempt to read and modify in its sources, so this may not have good quality and lots of things may be missing.
I was able to first implement a rudimentary parser and checker, with minor changes, it parses and checks the following with success:
int main() {
    int x = ({
        int a = 0, b = 1;
        a + b;
    });
    return x;
}

The AST output:
C2MIR init end           -- 266 usec
    preprocessor tokens -- 52, parse tokens -- 31
  C2MIR preprocessor end    -- 355 usec
  C2MIR parser end          -- 408 usec
    77: MODULE (test.c:1): the top scope, size = 0, offset = 0
    20:   LIST (test.c:1)
    76:     FUNC_DEF (test.c:1): scope node = 77,  extern linkage, func int (params node 39), raw size = 8, align = 8 , offset = 0
    33:       LIST (test.c:1): int
    34:         INT (test.c:1)
    36:       DECL (test.c:1)
     8:         ID (test.c:1) main
    35:         LIST (test.c:1)
    40:           FUNC (test.c:1)
    39:             LIST ()
    41:       LIST ()
    44:       BLOCK (test.c:1): higher scope node 77, size = 0, offset = 0
    43:         LIST ()
    42:         LIST (test.c:2)
    72:           SPEC_DECL (test.c:2): scope node = 44, int, raw size = 4, align = 4 , used, reg
    71:             SHARE (test.c:2)
    45:               LIST (test.c:2): int, raw size = 4, align = 4
    46:                 INT (test.c:2)
    49:             DECL (test.c:2)
    10:               ID (test.c:2) x
    48:               LIST ()
    70:             STMTEXPR (test.c:2): int
    53:               BLOCK (test.c:2): higher scope node 44, size = 0, offset = 0
    52:                 LIST ()
    51:                 LIST (test.c:3)
    60:                   SPEC_DECL (test.c:3): scope node = 53, int, raw size = 4, align = 4 , used, reg
    59:                     SHARE (test.c:3)
    54:                       LIST (test.c:3): int, raw size = 4, align = 4
    55:                         INT (test.c:3)
    58:                     DECL (test.c:3)
    12:                       ID (test.c:3) a
    57:                       LIST ()
    13:                     I (test.c:3) 0: int, raw size = 4, align = 4 , const = 0
    64:                   SPEC_DECL (test.c:3): scope node = 53, int, raw size = 4, align = 4 , used, reg
    63:                     SHARE (test.c:3)
    54:                       LIST (test.c:3): int, raw size = 4, align = 4
    55:                         INT (test.c:3)
    62:                     DECL (test.c:3)
    14:                       ID (test.c:3) b
    61:                       LIST ()
    15:                     I (test.c:3) 1: int, raw size = 4, align = 4 , const = 1
    69:                   EXPR (test.c:4)
    66:                     LIST ()
    68:                     ADD (test.c:4): int, raw size = 4, align = 4
    16:                       ID (test.c:4) a: lvalue, int, raw size = 4, align = 4
    17:                       ID (test.c:4) b: lvalue, int, raw size = 4, align = 4
    75:           RETURN (test.c:6)
    74:             LIST ()
    19:             ID (test.c:6) x: lvalue, int, raw size = 4, align = 4

@vnmakarov Is this PR is a dead end or do you think code generation is doable without touching much other generator parts?

I've got code generation working with 2 lines! I've made the minimal changes as I could, probably there are things missing, but my preliminary tests are passing, and also this one passes:
#include <assert.h>

int f(int x) { return x; }

int div(int a, int b) {
    return f(({
        if (b == 0) return 0; // testing return inside stmt expr
        int res;
        res = a / b;
        goto skip; // testing goto inside stmt expr
        res = 0;
skip:
        res;
    }));
}

int main() {
    assert(div(6, 2) == 3);
    assert(div(1, 0) == 0);
    return 0;
}

I've added this test case to tests folder in the PR.
@vnmakarov Please review if anything is missing or wrong, as I am going to use this.

I've tested this PR with many examples from the test suite of the compiler that I am working, which uses statement expression frequently and all of them passed. So at least for my own use it feels stable.

Thank you for working on implementing this extension.  I'll review the patch on this week.

Thank you for your pull request.  It is a very good first step.  I've merged it.  I'll continue work on this implementation as there are some issues with the patch:

making top_gen_last_op static makes c2m is not thread safe
what happens when there are labels inside {...} and there gotos from outside
possibility of switching off this extension
documenting the extension

Oh indeed, I've not considered those points. Thanks for merging this first step!


[FIX] "Compatibility Rules" section "Inheritance"

sap.ui.extend doesn't exist.
arguments (e.g. event object or constructor settings) should be also passed when calling a method from the super prototypal method.
Removed the comment "do your additional stuff AFTER calling super class" since the order depends on the nature of the method. E.g. the custom exit implementation should be rather processed BEFORE calling the standard SuperClass.prototype.exit.apply(this, arguments).

Hi @boghyon , thanks for your corrections! Fixed as of 1.112


COMP: Fix older gcc build error including "cstddef" for "ptrdiff_t"

This commit fixes a regression likely introduced in c173dfd80 (STYLE: Remove std:: prefix from types that work without it) to support building ITK wheels using manylinux_2_24 providing gcc 6.3.
It fixes build error like the following:
  In file included from /work/ITK-source/ITK/Modules/Core/Common/include/itkImageRegion.h:33:0,
                   from /work/ITK-source/ITK/Modules/Core/Common/include/itkMultiThreaderBase.h:35,
                   from /work/ITK-source/ITK/Modules/Core/Common/src/itkTotalProgressReporter.cxx:19:
  /work/ITK-source/ITK/Modules/Core/Common/include/itkSize.h:242:27: error: ‘ptrdiff_t’ does not name a type
     using difference_type = ptrdiff_t;
                             ^~~~~~~~~

cc: @Leengit
PR Checklist

[x] No API changes were made (or the changes have been approved)
[x] No major design changes were made (or the changes have been approved)

Addressed clang-format issues locally (the applyClangFormat label / action has permissions issue).

:+1: thanks jcfr :pray:

Thanks @thewtex for the follow up :100:

\azp run ITK.macOS

/azp run ITK.macOS


Update README.md

Correct misspelled 'anonimous' to 'anonymous'

Thanks @prahaladbelavadi !!! :bowing_man:


Factory reset option when removing device

Currently, when a device is removed from a location, it is sometimes reset to factory defaults and sometimes not. I don't know how the decision is made, if a device will be reset or not. But I think it would be great to be given the option upon removing the device to manually choose whether the device shall be reset to factory defaults or not.

This is on our internal list of features and should be added before Chrimbo.

This has been added, please read through the docs to see how to control the default action.
http://api-docs.cucumberwifi.io/#!/Boxes/
Changes live today at some point.


TDVT tests with ClickHouse version 25+

The TDVT tests with ClickHouse resulted in 24 failures on version 24.
When upgrading to ClickHouse version 25+, the failures increased to 61 tests.
This increase suggests a potential regression or compatibility issue introduced in ClickHouse 25 that affects the Tableau integration.
A detailed investigation is needed to identify the root causes and ensure compatibility with ClickHouse's latest version.
I've attached the TDVT results for ClickHouse version 25 (with the 61 failed tests).
test_results_combined_latest - test_results_combined.csv

It seems that the only solution is to wrap all date and datetime in toDate() and toDatetime() everywhere in the dialect


Crypto Create refactoring

Signed-off-by: Yoan Sredkov<EMAIL_ADDRESS>

Closing with a comment in the issue


[Feature Request] Controlled components

Feature request of controlled component state. Let users a way to manage the data.
It should be really helpful because a lot of where its really helpful to manage the sorting/filtering via react state.
BTW in a lot of projects are using persisting state of tables to save sortings/column width and selection of users.
I`m happy to open a PR if you will accept. :)

Sorry, I'm trying to understand a little bit more of what you mean.  Are you suggesting moving the local state data source that is inside of DataTable.js to an outside component so a user could do whatever they wish to that data set?
Sounds interesting just want to understand a little bit more

Example from react-table

Ok, I'm looking at that example now.  So obviously we're already providing pass in columns/data but you're asking about this other functionality. Soon as anything changes you can be notified (in this example, say, onFilteredChange triggers) and react to those changes and then pass in the newly changed state. Do I have that right?
          filterable
          defaultPageSize={10}
          className="-striped -highlight"
          // Controlled props
          sorted={this.state.sorted}
          page={this.state.page}
          pageSize={this.state.pageSize}
          expanded={this.state.expanded}
          resized={this.state.resized}
          filtered={this.state.filtered}
          // Callbacks
          onSortedChange={sorted => this.setState({ sorted })}
          onPageChange={page => this.setState({ page })}
          onPageSizeChange={(pageSize, page) =>
            this.setState({ page, pageSize })}
          onExpandedChange={expanded => this.setState({ expanded })}
          onResizedChange={resized => this.setState({ resized })}
          onFilteredChange={filtered => this.setState({ filtered })}

@gregnb exactly

Sounds good to me, but before we start lets put together a list of which actions we're looking to have for props and finalize that list.  BTW thanks for suggesting and even wanting to take this up! Pretty nice of you

@gregnb BTW why you are not using react defaultProps - it would be much more efficient from the rendering side. At all I have a lot of small refactoring suggestions. Where it would more convenient to place?

Ok, let's try to separate the concerns. I've had some refactoring thoughts of my own as well. I would rank things in this order

Server side pagination
Refactoring
Controlled component

As for the refactoring, if you knock out the server side pagination lets open up an issue and discuss what items you think are work redoing.  How about that?

A lot of work has been done to add more support for SSR. If there are items still lacking open up new issues


Resolve Join us on Discord issue

Description
When I tried to click on the Join us on Discord anchor tag on the top of the Opentek website then it's not redirecting to the discord channel, It's not behaving like a hyperlink, I want to fix this issue.
Screenshots

Additional information
Also, the mouse cursor is not changing to a pointer, I'll fix that too.
Kindly assign me this issue under gssoc23
Do you want to work on this issue?

[X] I want to work on this issue.

@AnirudhPanda is this issue already assigned?

Closing this issue for reference #301


[Fix #11182] Fix an incorrect autocorrect for Style/IfUnlessModifier with Style/HashSyntax

This PR intentionally separates two commits to resolve #11182.
First, this resolution of #11182 requires a change of Style/HashSyntax behavior.
The first change makes Style/HashSyntax aware of without parentheses call expr follows. It prepares to prevent Style/HashSyntax with Style/IfUnlessModifier autocorrection conflicts that resolve #11182.
Before
Previously Style/HashSyntax accepted the following syntax to prevent syntax errors:
foo bar value: value
baz

This avoids the following incompatible syntax:
foo bar value:
baz

After
Style/HashSyntax registers an offense for:
foo bar value: value
baz

And the autocorrection adds parentheses to prevent syntax errors shown in the URL:
https://bugs.ruby-lang.org/issues/18396
foo bar(value:)
baz

By assuming the above first change of Style/HashSyntax, the next commit fixes an incorrect autocorrect for EnforcedShorthandSyntax: always of Style/HashSyntax with Style/IfUnlessModifier when using Ruby 3.1.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


[Feature] Show the real estimated wait time

The wait time xCloud showed to you is not entirely accurate. For example, it may show that the wait time is 10 minutes, but actually, it's only 6 mins.
If your wait time is 10, then the actual time is somewhere between 5 to 11 mins, and if it's 15 then it's in the 10-16 mins range, etc.
I think the reason they didn't show the exact time is that they don't want you to be angry when the estimated time is wrong (and you feel happy when you get in the game sooner than expected).
This feature is also useful when you want to implement something like showing an alert dialog (switch to tab) when the game is ready.

Implemented in 1.13


fix(cache): exclude cache-control with new property

Information

Type
Breaking change

Fix
No

Additional info
Fix for https://github.com/tsedio/tsed/issues/2774

Todos

[ ] Tests
[ ] Coverage
[ ] Example
[ ] Documentation

hello @pdeveltere
Thanks for the PR. Can you add extra option documentation in cache.md please ?
also to have correct release note you have to write your commit message followings the angular commit convention here:
https://www.conventionalcommits.org/en/v1.0.0-beta.4/
See you :)


Replaced URLs to private registry with npmjs URLs solving #293

Q
A

Bug fix?
yes

New feature?
no

New sample?
no

Related issues?
fixes #293

What's in this Pull Request?
Replaced URLs to private registry with npmjs URLs solving #293

thx Waldek, appreciated.


Use the aspect-ratio property.

The aspect-ratio property has support across all major browsers. Since CodyFrame v3 has dropped support for IE, I propose it adopts proper aspect ratio implementation, as opposed to the padding hack. Cheers!

Hi Paul, we're still looking into this because 1. support is not that great yet (e.g., aspect-ratio is not supported in iOS < v15, which is about 10% according to caniuse), and 2. it would be great if the new classes are somehow 'compatible' with the old ones - not sure if possible. Anyway, this is def on our radar 👍

Hi @sebastiano-guerriero, thanks for the feedback. I just added the fallback again for browsers that don't support the property natively. (Props to CSS Tricks for providing the @supports logic.)

Hi @peiche! I've run many tests based on your suggestion. Here are the results:

the aspect-ratio CSS property is quite smart, and it's not possible to provide a real fallback right now. The method described in the CSS Tricks article, for example, wouldn't work if you apply the utility class to an image or any other element that can't have pseudo elements (while the CSS aspect-ratio property can be used on images etc.).
the current implementation requires to use the .aspect-ratio-{ratio} class on the parent of an image/video/iframe. Hence the new, proposed implementation would cause a breaking change.
the only way to create utility classes based on the aspect-ratio property is to use them in projects where support for older browsers is not needed. E.g., you can create custom ratio classes in your 'custom-style/_util.scss' CodyFrame file:

.ratio-16\:9 { aspect-ratio: 16/9; }
.ratio-3\:2  { aspect-ratio: 3/2; }
.ratio-4\:3  { aspect-ratio: 4/3; }
.ratio-5\:4  { aspect-ratio: 5/4; }
.ratio-1\:1  { aspect-ratio: 1/1; }
.ratio-4\:5  { aspect-ratio: 4/5; }
.ratio-3\:4  { aspect-ratio: 3/4; }
.ratio-2\:3  { aspect-ratio: 2/3; }
.ratio-9\:16 { aspect-ratio: 9/16; }

In the future, probably the best approach would be renaming the current classes to something like .media-wrapper-{ratio} and use the aspect-ratio property for the `.aspect-ratio-{ratio}' classes - with no fallback.
Any feedback is welcome.


500 errors when opening any items

Describe the bug
When I open a project and click on an item, I got this error shown in the screenshot with this stack trace
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: undefined
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.writeHead (node:_http_server:314:11)
    at ServerResponse.writeHead (/usr/src/app/node_modules/on-headers/index.js:44:26)
    at ServerResponse._implicitHeader (node:_http_server:305:8)
    at write_ (node:_http_outgoing:867:9)
    at ServerResponse.end (node:_http_outgoing:977:5)
    at ServerResponse.send (/usr/src/app/node_modules/express/lib/response.js:221:10)
    at ServerResponse.json (/usr/src/app/node_modules/express/lib/response.js:267:15)
    at errorHandlerMiddleware (/usr/src/app/dist/src/utils/error.js:28:22)
    at Layer.handle_error (/usr/src/app/node_modules/express/lib/router/layer.js:71:5)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:315:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:335:12)
    at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/usr/src/app/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:315:13)

Expected behavior
The item should open correctly.
Screenshots

Desktop (please complete the following information):

Version 1.0.13, 1.21.1

The error seems to come from Keycloak ADMIN REST Api that returns an error.

:tada: This issue has been resolved in version 1.2.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


1.19.4 support

Any chance we could get a version that works with 1.19.4?

A version for 1.19.4 will be released when I finish tweaking some stuff and updating the save system.