pub.utils: HTTP GET failed on https://dartdoc-dot-dartlang-pub.appspot.com/documentation/<...>/latest/pub-data.json (1 retry left) Error: TimeoutException after 0:00:10.000000

I am seeing a lot of these errors for the search service in the logs. It seems to be for various packages, for instance, the below trace is for navigate. When I request the URL in question, it is slow. Should it be that slow?

pub.utils: HTTP GET failed on https://dartdoc-dot-dartlang-pub.appspot.com/documentation/navigate/latest/pub-data.json (1 retry left)

Error:
    TimeoutException after 0:00:10.000000: Future not completed

Stack:
    #0      getUrlWithRetry (package:pub_dartlang_org/shared/utils.dart:333:16)

    #1      DartdocClient.getContentBytes (package:pub_dartlang_org/shared/dartdoc_client.dart:71:24)

    #2      SearchBackend.loadDocuments. (package:pub_dartlang_org/search/backend.dart:75:23)
    #3      MappedListIterable.elementAt (dart:_internal/iterable.dart:414)
    #4      ListIterator.moveNext (dart:_internal/iterable.dart:343)
    #5      Future.wait (dart:async/future.dart:385)
    #6      SearchBackend.loadDocuments (package:pub_dartlang_org/search/backend.dart:74:35)

    #7      BatchIndexUpdater._updateBatch (package:pub_dartlang_org/search/updater.dart:122:16)

    #8      BatchIndexUpdater.runTask. (package:pub_dartlang_org/search/updater.dart:91:9)
    #9      StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:209:15)
    #10     StackZoneSpecification._registerCallback. (package:stack_trace/src/stack_zone_specification.dart:119:48)
    #11     _rootRun (dart:async/zone.dart:1122)
    #12     _CustomZone.run (dart:async/zone.dart:1023)
    #13     _CustomZone.runGuarded (dart:async/zone.dart:925)
    #14     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:965)
    #15     StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:209:15)
    #16     StackZoneSpecification._registerCallback. (package:stack_trace/src/stack_zone_specification.dart:119:48)
    #17     _rootRun (dart:async/zone.dart:1126)
    #18     _CustomZone.run (dart:async/zone.dart:1023)
    #19     _CustomZone.bindCallback. (dart:async/zone.dart:949)
    #20     Timer._createTimer. (dart:async-patch/dart:async/timer_patch.dart:21)
    #21     _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382)
    #22     _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
    #23     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

Looks like 64 dartdoc instances are running, as I increased the upper limit as a test. I'll decrease it to 4 and see if that reduces the load.

yesterday I've profiled this a bit, and IIRC larger amount of the time was spent in listing the files int the directory of the entry files, e.g. $packageName/$packageVersion/entry on the dartdoc storage bucket. Not sure if it is because a storage issue or if they had more files there than usual.

May be unrelated, but I've also found this in the log files, printed on the stdout, and with that it is not showing up in the logs as error:
ERROR from frontend isolate #2: [type 'MemCacheError' is not a subtype of type 'String', package:memcache/src/memcache_native_connection.dart 749:11 MemCacheNativeConnection.onError

Not sure of the caller stack (hard to copy everything to here), but it seems it is related to appengine initialization:
package:memcache/src/memcache_native_connection.dart 711:41 MemCacheNativeConnection.connect
package:memcache/src/dialer.dart 58:57 Dialer._performSingleDial
===== asynchronous gap ===========================
[...]
package:appengine/src/appengine_internal.dart _initializeAppEngine

The search instances are hitting this a lot on https://dartdoc-dot-dartlang-pub.appspot.com/documentation/jaguar/latest/pub-data.json which takes 17 seconds.

I believe this can be closed:

the original exception seems to be gone (there was a single entry in search in the past week)
there are a few memcache errors, but not the cast error we had (mostly connect issues and too large content)
accessing the pub-data.json above is much faster, and doc browsing feels faster


Fix bugs in derive implementation

Avoid adding extern crate rand declarations in expanded code. Doing that requires the crate you're expanding into have the rand crate as a dependency, which we should not require. Instead, the necessary Rand trait is re-exported through the quickcheck crate, which we can safely assume the consumer uses.

Don't just expand into (self.a, self.b, self.c).shrink(). That produces borrowck errors when the struct members aren't Copy. Instead, clone self and then do it.

Add a derive feature to the main quickcheck crate, and re-export the Arbitrary derive macro alongside the Arbitrary struct. This is basically copying what serde does, and it allows the user to just write this:

[dependencies]
quickcheck = { features = ["derive"], version = "TBD", optional = true }

#[cfg(feature = "quickcheck")]
use quickcheck::Arbitrary;

#[cfg_attr(feature = "quickcheck", derive(Arbitrary)]
struct Directive {
    name: String,
    value: Vec<String>,
}

Which is pretty much the UX we want.

Thanks for this PR! It's very helpful to see the fix for the rand issue - I remember being unsure about my use of extern crate.


Cannot disconnect more than 32767 records from a one to many relationship

Bug description
I'm using the following query to disconnect all the locations from a job.
await prisma.jobs.update({
    data: {
      locations: {
        set: [],
      },
    },
    where: {
      id: payload.jobId,
    },
  });

However, when I have more than 32767 locations already attached I receive the following error:
Invalid `prisma.jobs.update()` invocation:Assertion violation on the database: `too many bind variables in prepared statement, expected maximum of 32767, received 40960`

I can get around this in the attaching process by chunking. But this new query just sets an empty array so there is nothing to chunk!
How to reproduce

Attach more than 32767 records in a one-to-many relationship
Then try to disconnect them all with set: []

Expected behavior
All records are disconnected without error
Prisma information

model jobs {
  id                  String        @id @default(dbgenerated("uuid_generate_v4()")) @db.Uuid
  createdAt           DateTime?     @default(now()) @db.Timestamptz(6)
  updatedAt           DateTime?     @db.Timestamptz(6)
  publishedAt         DateTime?     @db.Timestamptz(6)
  clientId            String?       @db.VarChar
  title               String?       @db.VarChar
  description         String?
  url                 String?       @db.VarChar
  email               String?       @db.VarChar
  salary              String?       @db.VarChar
  active              Boolean?      @default(true)
  experience          String?       @db.VarChar
  freightTypes        String[]      @default([])
  routeTypes          String[]      @default([])
  phone               String?       @db.VarChar
  majorCategory       String?       @default("Trucking") @db.VarChar
  licenseClass        String?
  endorsements        Json?         @default("[]") @db.JsonB
  driverType          String?       @db.VarChar
  soloOrTeam          String?       @default("SOLO") @db.VarChar
  slug                String?       @db.Text
  confirmationMessage String?       @db.Text
  client              clients?      @relation(fields: [clientId], references: [id], onDelete: NoAction, onUpdate: NoAction)
  locations           locations[]   @relation("jobsLocations")
  feeds               jobsOnFeeds[]

  @@schema("public")
}

model locations {
  zip        String @id @db.VarChar
  statecode  String @db.VarChar
  state      String @db.VarChar
  city       String @db.VarChar
  population Int
  county     String @db.VarChar
  countycode String @db.VarChar
  latitude   Float  @db.DoublePrecision
  longitude  Float  @db.DoublePrecision
  jobs       jobs[] @relation("jobsLocations")

  @@schema("public")
}

await prisma.jobs.update({
    data: {
      locations: {
        set: [],
      },
    },
    where: {
      id: payload.jobId,
    },
  });

Environment & setup

OS: Mac OS
Database: PostgreSQL 15.1
Node.js version: v18.16.0

Prisma Version
prisma                  : 4.16.2
@prisma/client          : 4.16.2
Current platform        : darwin-arm64
Query Engine (Node-API) : libquery-engine 4bc8b6e1b66cb932731fb1bdbbc550d1e010de81 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 4bc8b6e1b66cb932731fb1bdbbc550d1e010de81 (at node_modules/@prisma/engines/migration-engine-darwin-arm64)
Format Wasm             : @prisma/prisma-fmt-wasm 4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81
Default Engines Hash    : 4bc8b6e1b66cb932731fb1bdbbc550d1e010de81
Studio                  : 0.484.0
Preview Features        : multiSchema, postgresqlExtensions

Hey @danielkellyio, are you facing the same issue on the most recent Prisma version as well? (5.2.0-dev.72, not recommended for production, it should be promoted to 5.2.0 - which is ok for production - in ~24 hours). Thanks.

Can you please also enable query logging and share what queries are being generated and executed?
Sounds a bit like the generated SQL query is far more complex that it could be, or even if, it would need to be chunked/split to be viable - but is not.

@jkomyno I have updated to 5.2.0 and still having the same issue.
@janpio I have logged the query but it has so many bound variables it won't all show up in my terminal at once. Essentially I'm trying to delete 40,959 records at once.
This is what's logged for the same query when I do it with fewer records:
DELETE FROM "public"."_jobsLocations" WHERE ("public"."_jobsLocations"."A" = ($1) AND "public"."_jobsLocations"."B" IN ($2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13))

I was able to work around this with a raw query like so:
await prisma.$queryRaw`DELETE FROM "_jobsLocations" WHERE "A"=${payload.jobId}::UUID`;

I guess it's not really a bug with Prisma then but me going about it the wrong way. Thanks!

No, definitely a bug - the Prisma query you executed should work!

Might be related to this https://github.com/prisma/prisma/issues/8832


Questions

Hey everyone, was trying to look up github for ride sharing platform for foss. Well guys I have been working over a year into this, made app for ios only due to mapkit offering everything for free, appwrite as my BaaS. However, didn't manage to get it going on since lot of upfront cost for drivers when I live atm and word of mouth didn't work much. That's fine learnt lot in the process on setting up business and everything.
Why did I start since Uber was a monopoly and not favoring drivers, students used to pay lot since winter here is very bad but left with no option.
So what was your motivation? Just curious?
Well now I'm working rather more towards a monolith however I love P2P networks and have been interested in for many years and have been following it lot. However still not there where I want, its called dat/hypercore protocol and iroh.computer. I like iroh lately however still in alpha yet. Most us forget the cost effectiveness and over engineering things just like cloud (in my opinion)
The next thing is that I'm working towards Kotlin Multiplatform from apps to backend. Plus, I'm going to change my environment for the business in developing countries. All going to be in the open and looking for a community that wants to work towards that, plus end goal is P2P
Want to ask you guys if anyone's up for it?

Also if you have question on why P2P, sustainablity for the longer where we wouldn't need servers that would have less impact on the environment plus infra cost would be zero

hey @warmachinesocial  Glad to answer all your questions.

Our motivation : we are students in an university and live off campus in an apartment nearby and have to travel everyday either by foot( its usually too hot to do this) or by auto rickshaw . There are a few 2-wheeler rental shops that offer better pricing for 10 min trips to the uni, so we used to rent one and drop it off to a friend who used to take it back and split it 4 ways. We tried to centralize this method at a foss hackathon and this is the result.

We are unsure what p2p would look like in this sense,  because we hope to make this a b2p where users can find rented vehicles to and from their daily commute and form a strong network of users who use our service daily to commute to work. however we would love to collaborate and build rideshare together .

Going to add into an organization

Hey @warmachinesocial, totally agree, I really think P2P ridesharing could change transport big time, especially in places like India. Like, instead of big companies, locals could just share rides with each other, way more affordable and chill. And maybe even people could share electric bikes or scooters where buses don’t go. Wouldn’t just save money, but also build a community vibe, you know? Less corporate, more personal. Could even help with traffic too.


Chrome extension not working with Pandora.

The extension will no longer scrobble my Pandora. A few days ago it was working fine and now it just will not work. I disabled and re-enabled the connector, logged out and back in to Pandora, and re-verified my account with last.fm. The extension will work fine on other sites like Spotify however. I'm stumped and not sure if the issue is on my end or not and so far I can't find anything to make me think that it is.

I've been having this same issue for a number of days, after checking the forum I attempted to delete the extension, reboot, and then re-download/add it and sync it up to all my accounts - but still failing to work with Pandora.

Same here

me too

Closed as a duplicate of #1339.


reverse_vecs is missing its __

Clearly something is meant to be reversed but there is no marker for where to do it.

dupe, missed it.


[Doc] A tutorial for adding custom diagram types

This tutorial should cover:

Brief introduction of how pintora works, how DiagramIR and GraphicsIR are layered in the process, and how to implement parser and artist.
How to register a custom diagram - say a simple mermaid-style pie chart - in a separate project

Current published package is kindof flawed, I need to adjust the exports a little

Add an example repository for code in the tutorial.

先写了中文版 实现你自己的图表 | Pintora，之后再翻译到英文 😪

Done. Here is the link of the article.


Update vendor for EKS GA Fix

Depend on:
https://github.com/rancher/kontainer-engine/pull/65
Issue:
https://github.com/rancher/rancher/issues/13857

Lgtm


FIx for linux modal sizing

Summary
Some Linux users report not seeing the Add Server modal when the app first launches, this is likely due to the issues Electron has getting the size of the window on Linux. We've fixed it for the Mattermost views, but not the modals, this is an attempt to do the same for modals.
Ticket Link
Closes https://github.com/mattermost/desktop/issues/1853
Release Note
Fixed an issue where Linux users might not see the Add Server modal

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/desktop/15075
https://circleci.com/gh/mattermost/desktop/15074
https://circleci.com/gh/mattermost/desktop/15073

Artifact links:
https://15075-43964563-gh.circle-artifacts.com/0/tmp/artifacts/mattermost-desktop-5.0.0-develop-linux-ia32.tar.gz
https://15075-43964563-gh.circle-artifacts.com/0/tmp/artifacts/mattermost-desktop-5.0.0-develop-linux-x64.tar.gz
https://15074-43964563-gh.circle-artifacts.com/0/tmp/artifacts/mattermost-desktop-5.0.0-develop-mac-arm64.dmg
https://15074-43964563-gh.circle-artifacts.com/0/tmp/artifacts/mattermost-desktop-5.0.0-develop-mac-x64.dmg
https://15073-43964563-gh.circle-artifacts.com/0/tmp/artifacts/mattermost-desktop-setup-5.0.0-develop-win.exe


Advice on updating macros in AsmOffsets.h

While adding arm64 support in AsmOffsets.h, I added a new argument to the ASM_OFFSET/ASM_SIZEOF/ASM_CONST macros. Although for the time being we will be limited to 4 platforms, if we had more in the future, that will be cumbersome.
Should we instead use the PLAT_... macros instead and have in AsmOffsets.h an inclusion of AsmOffsets.$BuildArch.h located in the $BuildArch subdirectory? That would be cleaner and comparing architecture will be easy to do with a textual diff.
In addition, one could be a tool to build the proper values. Is it possible that such a tool already exists?

I agree that the current structure does not scales with number of platforms.
A lot of the offsets just differ between 32-bit and 64-bit platforms, or are even identical accross platforms. Perhaps we can keep those defined in central location to avoid duplication (AsmOffsetsCommon.h?), and just have the platform-specific offsets defined in the platform-specific file.

AsmOffsets.$BuildArch.h located in the $BuildArch subdirectory

The current pattern is that the files in the $BuildArch do not have redundant $BuildArch in the name - it would just lead to move ifdefs.

one could be a tool to build the proper values

We have used this trick to find the offsets in CoreCLR - it should work for CoreRT too. Nothing automated though - it have not changed often enough to make somebody write it.

Thanks for the tip, I used something similar too. Should I move the code for the trick to corert as well, or simply reference CoreCLR?

I would copy it over so that it is easy to turn on.

Fixed by #494


Updated libs.

This is not at all ready for prime time but wanted to get in front of you to see if there is already work being done to update the libs.

I have recently updated a few of the server side deps to remove deprecations within node/npm on the develop branch.  There is also work to remove bower in favor of webpack/browserify being done on the browserify branch.


Add chdig to brew

https://github.com/Homebrew/homebrew-core/pull/157665

Not popular enough:

GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)

So here is an alternative for now:
brew install https://raw.githubusercontent.com/azat-archive/homebrew-core/a7efdb499da46af57b90d5e55c60bca947a4dd50/Formula/c/chdig.rb

We have now 75 starts, but I'm not going to submit it into brew, since the functionality will be limited (it will not have flamegraphs) so let's not confuse users with limited builds.


*args support

Hello,
How pass a variable number of arguments to a function with PyCall?
e.g.
list = [1,3,4,5]
foo(*list)

I cannot do this on Julia.
Thanks,
Raphael.

foo(list...) is the Julia syntax for this.  It works fine with PyCall.

See: http://docs.julialang.org/en/latest/manual/functions/#varargs-functions


fix: install additional deps on doc-style action for rST support

As title says. This was modified in https://github.com/errata-ai/vale-action/commit/1262efadd6fde1040255db25589fe57804d785d2 inside the vale-action so now we need to install it manually.

Validated here: https://github.com/ansys/pyansys-geometry/pull/1483

Merging and releasing since this is blocking for the entire ecosystem

Failing status is due to the fact that the PR uses the version in main


Doc: updated pytorch sprint doc

I figured out how to build pytorch for m1/m2 macs and have posted the instructions that I used

@rodrigogiraoserrao I figured out how to build pytorch on m1 macs and have updated the sprint docs accordingly

Thanks for pinging me; apologies for the time it took.
See you soon!


Update client3:async-http-client-backend-cats, ... to 3.8.9

Updates

com.softwaremill.sttp.client3:async-http-client-backend-cats
com.softwaremill.sttp.client3:core

from 3.5.2 to 3.8.9.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (3.5.2).
You might want to review and update them manually.
build.sbt

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client3" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.client3" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

Superseded by #12.


[question] 2 Longhorn instances in the same cluster

I need to backup 2 volumes to different S3 backupstores:
Vol1 --> S3-1
Vol2 --> S3-2
Would it be a problem to run 2 instances of Longhorn (each one in it's own namespace) in the same cluster?
Is there another way to do this?

@jocarren we don't support installing multiple Longhorn systems in a cluster since we're also operating depends on some configuration files on the node.
Currently, we also don't support multiple backup targets but that sounds like a better approach to your problem. We can put multiple backup target support into consideration.

Thanks!
If I come up with a workaround I'll let you guys know.


Ported network_impl into typescript

check-docs should be passing - if you just remove the kurtosis-core/ from the URLs in README then it'll work


Fix rare potion race condition with forge clients

Tl;dr: This PR fixes a rare race condition which causes Forge clients to crash when switching between servers.
Background
When a Forge client connects to a Forge server, the client and server perform a special handshake before continuing with the login process. During this handshake, the server and client exchange their respective mod lists (disconnecting if a mod is missing on either ide). They also exchange registry information, which includes blocks, items, and potions.
Normally, this handshake is performed only once - when a player initially connects to a server (e.g. opening a singleplayer world, or connceting to a server from the 'Multiplayer' screen). However, with Waterfall/Bungeecord, players can switch between different Forge servers, each having distinct mod lists and registry data. To facilitate this, Forge allows a special reset packet to be sent. This resets the handshake process toits initial state, allowing it to be re-performed by the server the player is switching to. Accordingly, Waterfall/Bungeecord sends this packet when switching a Forge client to a Forge server.
However, there is a critical difference between the intiial handshake performed when a client first joins, and any handshakes performed after a reset packet is sent. The former handshakes take place right at the start of the connetion, becfore the client has joined the world. Because of this, WorldClient has not been instantiated yet, and thus cannot interact with the registry (more on this later). Any handshakes initiated by reset packets, however, are performed while the player is still in the world! This has the advantage of allowing the player to be rejected by the target server (if the client is missing a required mod of the new server, for example), without the need to first respawn them or switch their dimension (as is done during an actual successful transfer). However, this means that while the handshake is taking place, the client world is still running and ticking. This leads to the issue described below.
The issue
Because the secondary handshake is happening in parallel (specifically, on a Netty thread) with the main game execution (on the main thread), race conditions have the potential to occur. Fortunately, while the handshaking process can cause some temporary odd behavior (the player falling through the ground while the block registry is being rebuild), it doesn't result in crashes - with one notable exception.
When the client starts to load registry data from the server, it first clears out the Potion.potionTypes array. Normally, this is fine, since the client world doesn't yet exist. However, during a reset-triggered handshake, the client world is still ticking entities - importantly, entity potion effects. If the client happens to tick an entity after Potion.potionTypes is cleared out, but before it's filled back in with data from the server, the client will crash:
java.lang.NullPointerException: Ticking entity
	at net.minecraft.potion.PotionEffect.func_76455_a(PotionEffect.java:113)
	at net.minecraft.entity.EntityLivingBase.func_70679_bo(EntityLivingBase.java:517)
	at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:300)
	at net.minecraft.entity.Entity.func_70071_h_(Entity.java:279)
	at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1564)
	at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:283)
	at net.minecraft.client.entity.EntityPlayerSP.func_70071_h_(EntityPlayerSP.java:117)
	at net.minecraft.world.World.func_72866_a(World.java:1862)
	at net.minecraft.world.World.func_72870_g(World.java:1831)
	at net.minecraft.world.World.func_72939_s(World.java:1663)
	at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:2089)
	at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1024)
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:349)
	at net.minecraft.client.main.Main.main(SourceFile:124)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

The following code snippet, from PotionEffect#onUpdate, shows why:
if (Potion.potionTypes[this.potionID].isReady(this.duration, this.amplifier))

When the race condition occurs, all elements in Potion.potionTypes will be null, causing an NPE. This happens very infrequently, since there's only a small window of time - specifically, while PersistentRegistryManager.injectSnapshot - during which ticking an entity's potion effect will cause the crash.
Reproducing
Since this is a race condition, it can be difficult to reproduce through normal means. The best way to reproduce it is through a breakpoint in an IDE. Done correctly, this can reproduce the issue 100% of the time.
Steps to reproduce:

Setup a Waterfall/Bungeecord instance, with two forge servers connected to it.
Start a Forge 1.8.9 client with a debugger connected. This can be done through the GradleStart class in a forge mod workspace, or by specifying the necessary arguments in the profile settings of your minecraft client.
Give yourself, or any entity on the server, any potion effect (preferrably with a long duration, so that it won't expire while you're trying to switch servers).
Set a breakpoint on this line of PersistentRegistryManager in your IDE. IMPORTANT: This breakpoint must be set to only suspend the thread it's in, rather than all threads. This simulates an arbitrarily long execution time of that method (as well as the Netty thread that it's called from).
Attempt to connect to the other Forge server in the network. The client should crash almost immediately, provided that the breekpoint is set correctly.

The fix
Fixing this issue turns out to be farily simple. It consists of two parts:

Removing all potion effects from the client's world (on all entities) before performing the handshake
Supressing any new potion packets sent during the handshake

The first part is accomplished by keeping track of all potion effects on a client. This is done by listening for Entity Effect and Remove Entity Effect packets, and adding/removing mappings from entity ids to potion ids as necessasry. When the client switches to a Forge server, Remove Entity Effect packets are sent to the client for each mapping stored. Since this is done before the handshake packet is even sent, it guarantees that no potions are present on the client when the handshake begins.
The second part is accomplished by blocking all potion packets sent from the server while the handshake is in process. During testing, it was discovered that the first part alone was not necessary to stop all crashes. Rarely, the old server (the one being switched away from) may send a potion packet to the client at just the right time during the handshake, so as to trigger ticking a potion while
Potion.potionTypes is cleared out. By temporarily blocking potion packets, we ensure that no potions are present on the client for the duration of the handshake.
FAQs
Why not fix this on Forge's side?
Due to changes made in 1.9 and 1.10 to how potions are registered, this issue only affects 1.8.9, which Forge is no longer accepting PR's for. Additionally, fixing the issue in Forge would require substantial modifications, in order to move handshaking logic to the main thread when the player is already in game.
Can't you just remove all possible potions ids from the client, instead of keeping track of which ones need to be removed?
While this approach is appealing, it would have to be done for every entity present on the client, in order to ensure that the race condition cannot occur. Since Forge bumps the maximum number of potions from 32 to 256, this would require sending 256 * n packets, where n is the total number of entities on the client. On a popular server with 30 or 40 players, this would require sending literally thousands of almost entirely useless packets every time a forge player switched servers. Additionally, it would require keeping track of which entities are present on each client, which has basically the same overhead has keeping track of potions.
Why would you write this gigantic wall of text for an issue that's pretty simple to fix?
While the probabilty of this issue occuring during any individual server switch is very low, popular servers can have 30-40 people on at a time, with each person switching servers many times throughout the day. This virtually guarantees that the issue will come up at least a few timees. Several different servers that I've heard of have had this issue, which creates a constant headache for server owners who can't figure out how to stop a small percentage of their users from crashing.
Since I couldn't find anyone who'd found a solution to this issue, this PR description servers as a reference for anyone having trouble with the issue. This includes people running proxy software other than Waterfall (e.g. a custom BungeeCord build), who may want to implement the fix themselves.

Yes this crash is quite frustrating. Many of my players experience it on my 1.8.9 Pixelmon server. For servers still running 1.8.9 (which is many), this is a problem.

Unfortunately bungee hasn't got the nicest formatting but also unfortunately we are forced to go by them as so that we don't have a huge number of merge conflicts. Thankfully this is remedied by the small number of commits to bungee, and minimalistic patches we have.

@Aaron1011 whats the status of this pr?

I'll fix the formatting and merge this if there are no objections.

Actually Aaron said he would be finished it up today ;)

Oh wait, it's not finished?

Well fixing up all your comments.

@fuzzybot @jamierocks: Ok, the formatting should be all cleaned up. Let me know if I need to make any more changes.

Thanks for the work


Add by default runc as known_memfd_execution_binaries

Motivation
Since runc 1.1.15, that was notably deployed in AKSUbuntu-2204gen2containerd-202410.15.0 vs previous version, we do experience a hell lot of falco CRITICAL alerts
I'm clearly not a subject expert, so pardon me if it is non-sense, but I think this change in runc 1.1.15 may be the culprit of why it is now trigerring alerts.
Nonetheless, I think runc may be added to known_memfd_execution_binaries as it was suggested here but for unknown reason didn't make it to final release
Feature
Add runc as a known_memfd_execution_binaries to avoid false critical alerts
Alternatives

Additional context

We observe the same issue in our AKS clusters, and apparently, other people are experiencing it as well.
https://learn.microsoft.com/en-us/answers/questions/2113575/experiencing-critical-fileless-execution-via-memfd
Well done, @borrelm, for identifying the root cause of the issue!

I don't think the changes mentioned will solve the issue.
In our case the process.name is reported as 5, not "runc", while process.pname is reported as "runc."
proc.name: 5
proc.pname: runc

In addition to adding "runc" to the items, I believe the rule should be changed to look at "pname" instead of "name".
From
macro: known_memfd_execution_processes
condition: (proc.name in (known_memfd_execution_binaries))

To
macro: known_memfd_execution_processes
condition: (proc.pname in (known_memfd_execution_binaries))

At the very least, this would allow us to add the necessary exception—if it makes sense to permit runc to operate like this.

We also experience this problem since upgrading AKS from 1.28 to 1.30. Is there any progress on this?

We have modified our rules to ignore runc for now by adding this (we are using the Falco Helm chart).
customRules:
  rules-memfd.yaml: |-
    - list: known_memfd_execution_binaries
      items: [runc]
      override:
        items: append
    - macro: known_memfd_execution_processes
      condition: (proc.pname in (known_memfd_execution_binaries))
      override:
        condition: replace

It would be interesting to understand why runc's behavior changed to trigger the rule. And I guess we need this knowledge before deciding whether this exception belongs in the default rules?

I also encountered this problem by upgrading k0s from v1.29.6+k0s.0 to v1.30.6+k0s.0.
And I confirmed https://github.com/falcosecurity/rules/issues/266#issuecomment-2506347253 setting ignored this issue.
For known_memfd_execution_binaries  settings backword compalibility, Is it good to introduce known_memfd_execution_pnames for PullRequest ?


Customer reference in the article

A customer reference to Coverdell in the article could possibly be replaced by links to other (many) case studies on the official MS case study sites, where so many different organizations have reached their fiscal outcomes and met their strategy by using the Cloud. Although Coverdell's reference is a good one, the article doe snot point out that it's a reference, and new readers might have the perception it's the only one.

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

ID: 853378ad-ac67-59e4-fb6b-b8158da3b8e9
Version Independent ID: a441f60f-03b7-7bb0-308b-40b73101b685
Content: Examples of fiscal outcomes - Microsoft Cloud Adoption Framework for Azure
Content Source: docs/cloud-adoption/business-strategy/business-outcomes/fiscal-outcomes.md
Service: cloud-adoption-framework
Sub-service: strategy
GitHub Login: @BrianBlanchard
Microsoft Alias: brblanch

Hi @eyast Thanks for reaching out. We will review and update as appropriate.

@eyast, do you have additional examples from our case studies that you think would be good to highlight? URLs?

Holding on reply from @eyast regarding additional examples prior to closing this issue.

Closing due to lack of response. Will reopen, if a reply comes back from @eyast


General: Always perform logout

A user cannot logout if the server corresponding to the user session is unavailable. They are in bad luck if this is permanent.

Stale


Microsoft Store auto-rejects UWP app submission due forbidden kernel32 imports at NLog

Type (choose one):

Bug

NLog version: (e.g. 4.2.3)
Latest commit cbecb43 on Dec 7 2015
Platform:
UWP
In case of a BUG:

What is the current result?
You can't pass Microsoft Store submission

What is the expected result?
You can successfully pass Microsoft Store submission

Did you checked the Internal log?
No

Please post full exception details (message, stacktrace, inner exceptions)
There is no exception, just app submission rejected. Reason: attempt to import WinAPI functions that are not allowed for MS Store.  Could you just switch off the following two by conditional compilation?

public static extern Microsoft.Win32.SafeHandles.SafeFileHandle CreateFile
public static extern bool GetFileInformationByHandle

Are there any work arrounds? yes/no
No

Is there a version in which it did worked?
No

Can you help us by writing an unit test?
N/A

@yschkatula What version of NLog are you using?
NLog 5.0 BETA07 doesn't include any native API-calls (See #if !NETSTANDARD)
https://github.com/NLog/NLog/blob/coreCLR/src/NLog/Internal/Win32FileNativeMethods.cs

@snakefoot, I'm on UWP branch. It's nice if there is any stable version of trunk that supports UWP apps (Windows 10, Windows 10 Phone)

The coreclr branch is very stable and can be used for production. Much better than the stale uwp branch.
Sent from my Samsung device
-------- Original message --------
From: yschkatula<EMAIL_ADDRESS>Date: 19/09/2017 11:12 (GMT+01:00)
To: NLog/NLog<EMAIL_ADDRESS>Cc: Rolf Kristensen<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [NLog/NLog] Microsoft Store auto-rejects UWP app submission due   forbidden kernel32 imports at NLog (#2282)
@snakefoothttps://github.com/snakefoot, I'm on UWP branch. It's nice if there is any stable version of trunk that supports UWP apps (Windows 10, Windows 10 Phone)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/NLog/NLog/issues/2282#issuecomment-330479016, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK-fnAsyXA0GmXKfKnAw4kzaaf1P1_JPks5sj4VigaJpZM4Parn7.

@snakefoot could we close this for NLog 4.5?

@304NotModified Yes can be closed as already working with NLog 5.0 (and now also working with NLog 4.5)

Sorry to disturb you, guys, but while trying to add NLog reference to a new & empty UWP project I receive "Unable to add a reference to project 'NLog'." (I'm on VS2017). Steps: sync with NLog 4.5 sources, add empty UWP project, then try to add a reference to NLog class library to this new project.
If I try to add a reference from NuGet, I see "Package NLog 4.4.12 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86-aot."
5.0 beta11 Installs from NuGet just fine (and the only issue here I'm not allowed to use pre-release nugets by our internal policy).
So, after all, UWP seems not to be a first-class citizen at NLog world ;(

You need nlog 4.5 rc. Almost in rtm.


Added phpunit .sh files

#1039

@marcj Travis not running, please enable travis hook

What about the setup.sqlite.sh file? Shouldn't this be added, too?

@nymo No, it does not work)

allright thanks for the info :)

#1059


Beautify Documentation

What do you mean?

Do you want to restructure the docs? Anyway, I close this issue for now and if you still want to do that, you can open a new issue :)


Graph Editor: Keyboard entry affects all panels causing unexpected behavior

Currently there are hotkeys are being interpreted regardless of which panel is in focus. This causes unexpected especially in an field in a panel for which the action is unexpected.
Examples:

Pressing u key for entering text goes up a level unexpectedly
Pressing tab key to go to next field brings up the 'add node` dialog.
Pressing the delete key can end up deleting a node instead of a character in a text field.

This has also been noted by @zicher3d where these examples are paraphrased from.
Proposed Changes:

Only allow hotkeys meant to work in the node graph panel to apply there. The property editor is one example where node graph hotkeys are affecting text input.
Conversely allow property editor keys to not be overridden by hotkeys for the node graph panel. e.g. tabbing.
Fix the logic for exclusion from file-dialogs to exclude all dialogs as that those get affected as well.
Exclude the rendering panel as well to allow any current or future hotkeys to work there.

On purpose the adverse affect of mouse interaction is excluded from here as there is already a separate issue.

I'll take a look at this one too

Thanks for this original report, @kwokcb, and thanks to @HudsonHN for the fix in #1596.


Error while deploying previously working Az-function

Does this occur consistently?
Repro steps:

Choose publish from vscode
Choose subcription
Choose the existing function (trying to overwrite)

Action: azureFunctions.deploy
Error type: 400
Error Message: Failed with code "400".

Version: 1.0.1
OS: win32
OS Release: 10.0.19042
Product: Visual Studio Code
Product Version: 1.51.1
Language: en

Call Stack
new RestError extension.bundle.js:46:109835
extension.bundle.js:48:167633extension.bundle.js:48:167633
processTicksAndRejections task_queues.js:94:5

Please add more detail to your steps, including what type of project you had, how you created the function app in Azure, and if this happens consistently

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Document how Zebra does cross-crate proptests

Motivation
Explain what the proptest-impl feature does.
Solution
Add a page to the book which explains how to use proptest-impl
Review
@oxarbitrage just added a function to this feature.
Follow Up Work
Maybe we should link to this page from the generated internal docs?
(That's where most crates document their features.)

🥳


The first PR couldn't be generated

I have followed the instructions from the README.md,

Generate a copy of this repo by clicking on this link.
GitHub Actions will automatically open a PR on your new repository ~ 30 seconds after the copy is created. Follow the instructions in that PR to continue.

but I got the following error during the setup process.

This was fixed in #92 sorry about that try again


fix: decorator init order

separate the task_pre_step and task_decorate in order to support better setup-order of dependent decorators.
Specifically we want the PATH patching of conda-decorator to happen early so that other decorators can rely on this after task_pre_step in the lifecycle.

The use case for this also requires #1667 being fixed

tried out decorators that rely on task_decorate and catch/parallel/pytorch_parallel all seem to be working as expected. This should be good to go if the bot failures were not related to the changes


The new build fails when we load it in GCP

Lots of errors around missing workflow etc,. I had to rollback to the version from April 29th for it to work. Any ideas? Nothing works, I couldn't run the /setup I get into syntax errors etc,. very bizarre.

I tested with the latest repository version and Heroku and it was working finde. Can you post the error message here? How did  you upgrade?

Hi MD,
I uploaded it to GCP cloud and I consistently get this error:
error: configuration could not be loaded
But when I upload the April 29th build following exact same steps it's a
success.
On Mon, Jul 27, 2020 at 3:02 PM Matthias Damm<EMAIL_ADDRESS>wrote:

I tested with the latest repository version and Heroku and it was working
finde. Can you post the error message here? How did you upgrade?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nash-md/twilio-contact-center/issues/30#issuecomment-664608959,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH5F3WSNAVWL4C2MLNKBRJDR5XMOXANCNFSM4PJAFJRQ
.

Hi,
I work for a company that delivers a lot of twilio based solutions and we
have a constant need for twilio skills expertise. We don't have any
in-house development and heavily rely on external vendors/partners. But my
current partners often struggle with twilio based solutions and I'm trying
to see if it's feasible to use external resources and independent hobby
coders to help with our journey. Let me know if you are interested. This
can be helping with coding or be available on a consultative basis,
whichever you feel comfortable with.
Kind regards
Pundari Pothini
On Mon, Jul 27, 2020 at 8:50 PM Pundari Pothini<EMAIL_ADDRESS>wrote:

Hi MD,
I uploaded it to GCP cloud and I consistently get this error:
error: configuration could not be loaded
But when I upload the April 29th build following exact same steps it's a
success.
On Mon, Jul 27, 2020 at 3:02 PM Matthias Damm<EMAIL_ADDRESS>wrote:

I tested with the latest repository version and Heroku and it was working
finde. Can you post the error message here? How did you upgrade?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nash-md/twilio-contact-center/issues/30#issuecomment-664608959,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH5F3WSNAVWL4C2MLNKBRJDR5XMOXANCNFSM4PJAFJRQ
.

Can you check if the error still occurs after you reload the page? The reason is, app.js will try to create the entity if it does not exist, nevertheless there is no async/await currently and the first load will fail, this is something I need to fix in the future. If this does not work, please delete the Firestore storage for this app, it should then re-create it. Again you would need to start the app twice.


Preselected options should be rendered

Options can be selected by setting the selected property onto
their respective DOM elements.
If an option has a 'selected' attribute, the browser will set
the corresponding DOM property: the fix therefore works in both cases.
I've been unable to run the tests locally so I'm hoping this will be green @grahamscott

@codazzo Could you have a look at this again? It's seems to be red and angry.

The recent merge of the changes for v2 probably broke this

p00p.

@codazzo does the problem still exist in v2?

Could you have a look at this again? It's seems to be red and angry.
The recent merge of the changes for v2 probably broke this

Unfortunately I'm not able to run the tests locally (am I the only one?) so can't really tell why they're breaking

@codazzo does the problem still exist in v2?
Yes, just tried

On a related note, we should get rid of dist/ with priority as it makes rebasing (and making changes to a PR) quite painful. The options are: dist branch, or bundles on bower / npm. Either way the bundles would need to be kept up to date by a travis task. I will create an issue.

Opened https://github.com/BrandwatchLtd/selleckt/issues/73

superceded by https://github.com/BrandwatchLtd/selleckt/pull/84


Improve CLI Tool DX

Overview
As a developer of css-typed, I want better DX tools for CLI tool, so that implementing configuration options (a) is easy to do and (b) results in best UX for users.
Notes
None - need to research existing state-of-the-art.

Commander seems solid choice: https://github.com/tj/commander.js


support self signed certificates

Hello,
I need to use this wonderful plugin against a server of ours inside a vpn which has a self signed cert. so I would need to tell the plugin the cert or disable ssl checking, either one would be good for me, any hints how to do that?
Best

Hi @maddanio, I'd rather not disable certificate validation if we can help it as it's generally a bad idea. But now that we have settings since 1.0.0 we could add an option for users to set options we can pass through to urllib3.

Of course not by default, ideally per request explicitly. We just need it in a rather peculiar setup. Would be super great as it seems to be stupidly hard to find a tool for this that does not try to get you into some weird enterprise subscription. So are you saying i can do this right now?

No, sorry, I was describing how it could be implemented.

well, per query would be great, global would also be ok. i can also try my hands at a pr, but not sure I will find the time :(

as a syntax I would suggest @@ as a prefix as additional urlopen arguments, or @urlopen.. I can make a pr

ah, I just noticed the argument for certificate validation is on the connection pool level. so I guess a setting would be better

ok, I added it somehow, but the settings dont appear in the sublime settings list? also I am not sure if reload works

https://github.com/yeraydiazdiaz/sublime-rest-client/pull/29

aleternatively/additionally it might be better to allow additional certificates?


changelog.md link v0.25.1 redirects to 0.25.0

What happened:
The link in changelog.md of v0.25.2 redirects to its respective repository whereas the link of v0.25.1 redirects to the repository of v0.25.0
What you expected to happen:
The link should redirect to its respective respository
How to reproduce it (as minimally and precisely as possible):
Replace the link with it original repository link

@matej-g I would like to work on it. Can you please assign it to me??

@matej-g I would like to work on it. Can you please assign it to me??

You can simple contribute

/assign

Sure go ahead @hackeramitkumar 👍


Updated azure-mgmt-monitor to 0.7.0 and added new action-group features

-Updated azure-monitor-mgmt to 0.7.0
-Added support for following receivers: ArmRoleReceiver, AutomationRunbookReceiver, AzureAppPushReceiver, AzureFunctionReceiver, ItsmReceiver, LogicAppReceiver, VoiceReceiver

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

@MyronFanQiu  please help with this PR.

Thanks for your contribution!


Compiled graph

Compiled graph with designated parameters
tensor=None : ndarray
init='svd' : random or svd
reg=NotImplemented @eniohodzic
impute_type='entry' : entry or chord
impute_r=6 : max component to impute
impute_reps=5 : max repetitions for imputation
impute_perc=0.25 : imputation drop percentage (rounded)
impute_mode=0 : imputation mode (chord drop only)
save=None : new directory name with cwd
sample usage:
from timpute.figures import compare_imputation
# autogenerates a tensor if none is given for sample usage
# tensor is a known 6 component with gamma distribution (par=2, scale=2) with 20% missingness and Gaussian noise scaled by 50 applied to each factor)

sample = compare_imputation()
sample

alright this is ready for merging, let me know if there's anything

@cyrillustan apologies for the gigantic PR but everything is tested and can be merged. Lots of renaming and removed unnecessary functions grandfathered in from meyer-lab/tensorpack.


test[dace]: Fix skip rules for dace optional dependency

This PR fixes the solution to skip testcases dependent on dace provided in #1635. Additional changes:

Moved all dace-related tests in dace_tests package folder.
Introduced pytest marker requires_dace at package level, which needs to be included in all test files.
Run ruff on test code in dace_tests package to cleanup and sort the import list.

@philip-paul-mueller Tested with Spack-build.


RowRecord getValueAs and getValuesAs methods parameters need clarity

For a plan of
ExportablePlan plan2 = p.fromView("opticFunctionalTest", "detail", "qadetail")
                .joinInner(p.fromView("opticFunctionalTest", "master", "qamaster"),
		                   p.on(p.viewCol("qadetail", "masterId"), p.viewCol("qamaster", "id"))
		                  )
                 .select(p.viewCol("qadetail", "id"),
		                 p.viewCol("qadetail", "name"),
		                 p.viewCol("qamaster", "id"),
		                 p.viewCol("qamaster", "name")
		                 )
                 .orderBy(p.desc(p.viewCol("qadetail", "name")))
                 .offset(1)
                 .limit(3);

The test is trying to access the results using RowRecord iterator and using getValueAs() method.
The second parameter type Class does not accept the following:
String str = record.getValueAs("qamaster.name", String.class ); << Compile error due to types not being applicable
XsStringVal str = record.getValueAs("qamaster.name", XsStringVal .class ); << No Constructor due to it being an interface
XsStringVal str = record.getValueAs("qamaster.name", StringValImpl.class ) << StringValImpl has no access outside

Here is the snippet being tried out.
RowSet<RowRecord> rowSet = rowMgr.resultRows(plan2);

// Verify RowRecords using Iterator
Iterator<RowRecord> rowItr = rowSet.iterator();

RowRecord record = null;
if(rowItr.hasNext()) {
	record = rowItr.next();
	assertEquals("Element 1 RowSet Iterator value incorrect", 1, record.getInt("qamaster.id"));
	assertEquals("Element 1 RowSet Iterator value incorrect", 5, record.getInt("qadetail.id"));
	assertEquals("Element 1 RowSet Iterator value incorrect", "Detail 5", record.getString("qadetail.name"));
	try {
		XsStringVal str = record.getValueAs("qamaster.name", .class );
				//assertEquals("Element 1 RowSet Iterator value incorrect", "Master 1", str.getString());
}

To be clear, only the second case -- XsStringVal -- should be work.
A Java primitive is not accepted.  The compile time error is expected and desired.  Use getString() instead.
We don't want to support the third case. The application should never use implementation classes.

I can't reproduce this issue.  The following works fine for me.
@Test
public void testTemp() {
	Map<String,Object> literalRow = new HashMap<String,Object>();
	literalRow.put("rowNum", 1);
	literalRow.put("city",   "New York");

	@SuppressWarnings("unchecked")
	PlanBuilder.ModifyPlan plan = p.fromLiterals(new Map[]{literalRow});
	RowSet<RowRecord>   rowSet = rowMgr.resultRows(plan);
	Iterator<RowRecord> rowItr = rowSet.iterator();
	RowRecord row = rowItr.next();

	try {
		XsStringVal val = row.getValueAs("city", XsStringVal.class);
		System.out.println(val.getString());
	} catch (Exception e) {
		e.printStackTrace();
	}
}

I suspect that it was fixed by a recent check in.
I do want to look into whether the implementation can switch to an unchecked Exception.

Works with XsStringVal.class


Adding milk as fuel doesn't add tooltip

ah, milk doesn't extend the BucketItem class

Lol that's a valid question. I'm making a modpack where you have a milk powered spaceship and you crash land on a foreign planet. You then use the milk to produce energy using ships generators and also produce a lot of entry materials from milk.
Either way tho, is there a way to fix that? If not, is there a way to force the tool tip?

I'll see if there is a way to fix that

Awesome. Thank you

@george8188625 this issue is back on 1.2e

@george8188625 this issue is back on 1.2e

I tested it tho, what fuel did you add? And hqve you used the new fuel type system from 1.2e?

No I did not, I didn't see there was one. Sorry, will check it out!


mss310 outlet not available since 2.5.4

After doing upgrade 2.5.4 my mss310 can't be switch on or off (outlet is unavailable).
Version
System
Version | core-2022.2.9
Installation type | Home Assistant OS
Home Assistant Supervisor
SO | Home Assistant OS 7.4
Supervisor version | supervisor-2022.01.1
Meross device
mss310
firmaware version 1.1.18
hardware version 1.0.0
Describe the bug
not able to switch on or off all my plug from HA, but the power and consumption seems to work.

Debug log

2022-02-25 15:58:14 DEBUG (MainThread) [custom_components.meross_lan] MerossHttpClient(<IP_ADDRESS>): HTTP Response ({"header":{"messageId":"1c913b588e294acdb64dc9b42cc8fc5e","namespace":"Appliance.System.All","method":"GETACK","payloadVersion":1,"from":"/appliance/1801162875973225131634298f1108c3/publish","timestamp":1645801092,"timestampMs":890,"sign":"25f5bb42f024924c6168879846673507"},"payload":{"all":{"system":{"hardware":{"type":"mss310","subType":"us","version":"1.0.0","chipType":"MT7688","uuid":"1801162875973225131634298f1108c3","macAddress":"34:29:8f:11:08:c3"},"firmware":{"version":"1.1.18","compileTime":"2018-12-03 11:15:36","wifiMac":"a4:3e:51:3d:e4:e7","innerIp":"<IP_ADDRESS>","server":"mqtt-eu.meross.com","port":443,"secondServer":"mqtt-eu.meross.com","secondPort":443,"userId":273902},"time":{"timestamp":1645801092,"timezone":"Europe/Paris","timeRule":[[1616893200,7200,1],[1635642000,3600,0],[1648342800,7200,1],[1667091600,3600,0],[1679792400,7200,1],[1698541200,3600,0],[1711846800,7200,1],[1729990800,3600,0],[1743296400,7200,1],[1761440400,3600,0],[1774746000,7200,1],[1792890000,3600,0],[1806195600,7200,1],[1824944400,3600,0],[1837645200,7200,1],[1856394000,3600,0],[1869094800,7200,1],[1887843600,3600,0],[1901149200,7200,1],[1919293200,3600,0]]},"online":{"status":1}},"control":{"toggle":{"onoff":1,"lmTime":1645800138},"trigger":[],"timer":[]}}}})
2022-02-25 15:58:14 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(1801162875973225131634298f1108c3) back online!
2022-02-25 15:58:14 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(1801162875973225131634298f1108c3) error in async_http_request: 'channel'
2022-02-25 15:58:14 DEBUG (MainThread) [custom_components.meross_lan] MerossHttpClient(<IP_ADDRESS>): HTTP Response ({"header":{"messageId":"b9aec11e61b84f0ea1acd9eae3bcbabf","namespace":"Appliance.System.All","method":"GETACK","payloadVersion":1,"from":"/appliance/1801160421807925131634298f110839/publish","timestamp":1645801092,"timestampMs":180,"sign":"bb3dfa0730b48262d41005a84a9733e0"},"payload":{"all":{"system":{"hardware":{"type":"mss310","subType":"us","version":"1.0.0","chipType":"MT7688","uuid":"1801160421807925131634298f110839","macAddress":"34:29:8f:11:08:39"},"firmware":{"version":"1.1.18","compileTime":"2018-12-03 11:15:36","wifiMac":"a4:3e:51:3d:e4:e7","innerIp":"<IP_ADDRESS>","server":"mqtt-eu.meross.com","port":443,"secondServer":"mqtt-eu.meross.com","secondPort":443,"userId":273902},"time":{"timestamp":1645801092,"timezone":"Europe/Paris","timeRule":[[1616893200,7200,1],[1635642000,3600,0],[1648342800,7200,1],[1667091600,3600,0],[1679792400,7200,1],[1698541200,3600,0],[1711846800,7200,1],[1729990800,3600,0],[1743296400,7200,1],[1761440400,3600,0],[1774746000,7200,1],[1792890000,3600,0],[1806195600,7200,1],[1824944400,3600,0],[1837645200,7200,1],[1856394000,3600,0],[1869094800,7200,1],[1887843600,3600,0],[1901149200,7200,1],[1919293200,3600,0]]},"online":{"status":1}},"control":{"toggle":{"onoff":1,"lmTime":1645800180},"trigger":[],"timer":[]}}}})
2022-02-25 15:58:14 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(1801160421807925131634298f110839) back online!

2022-02-25 15:58:17 DEBUG (MainThread) [custom_components.meross_lan] MerossHttpClient(<IP_ADDRESS>): HTTP Response ({"header":{"messageId":"5e47bf758a794534bfc23d650b9af196","namespace":"Appliance.Control.ConsumptionX","method":"GETACK","payloadVersion":1,"from":"/appliance/1801162875973225131634298f1108c3/publish","timestamp":1645801096,"timestampMs":320,"sign":"a688efc494f7ad45a1d5e430735b4178"},"payload":{"consumptionx":[{"date":"2022-02-01","time":1643759662,"value":118},{"date":"2022-02-02","time":1643846389,"value":195},{"date":"2022-02-03","time":1643929082,"value":199},{"date":"2022-02-04","time":1644015482,"value":181},{"date":"2022-02-05","time":1644101880,"value":0},{"date":"2022-02-06","time":1644190564,"value":0},{"date":"2022-02-07","time":1644274683,"value":0},{"date":"2022-02-08","time":1644364025,"value":208},{"date":"2022-02-09","time":1644447482,"value":199},{"date":"2022-02-10","time":1644537564,"value":169},{"date":"2022-02-11","time":1644623153,"value":129},{"date":"2022-02-12","time":1644706680,"value":86},{"date":"2022-02-13","time":1644795739,"value":11},{"date":"2022-02-14","time":1644879482,"value":98},{"date":"2022-02-15","time":1644969598,"value":64},{"date":"2022-02-16","time":1645052281,"value":146},{"date":"2022-02-17","time":1645141380,"value":0},{"date":"2022-02-18","time":1645228645,"value":183},{"date":"2022-02-19","time":1645311480,"value":183},{"date":"2022-02-20","time":1645397884,"value":0},{"date":"2022-02-21","time":1645484282,"value":0},{"date":"2022-02-22","time":1645570683,"value":0},{"date":"2022-02-23","time":1645657081,"value":0},{"date":"2022-02-24","time":1645746211,"value":43},{"date":"2022-02-25","time":1645800221,"value":32},{"date":"2022-01-27","time":1643327219,"value":353},{"date":"2022-01-28","time":1643388399,"value":363},{"date":"2022-01-29","time":1643497082,"value":42},{"date":"2022-01-30","time":1643583484,"value":16},{"date":"2022-01-31","time":1643669880,"value":176}]}})
2022-02-25 15:58:17 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(1801162875973225131634298f1108c3) Energy: device midnight =<PHONE_NUMBER>
2022-02-25 15:58:17 DEBUG (MainThread) [custom_components.meross_lan] MerossHttpClient(<IP_ADDRESS>): HTTP Response ({"header":{"messageId":"92e01e57adb7425188e156afffbf930c","namespace":"Appliance.Control.ConsumptionX","method":"GETACK","payloadVersion":1,"from":"/appliance/1801160421807925131634298f110839/publish","timestamp":1645801095,"timestampMs":620,"sign":"15eb0c5370c0d316b6d319362285a9b6"},"payload":{"consumptionx":[{"date":"2022-02-01","time":1643756284,"value":178},{"date":"2022-02-02","time":1643842681,"value":255},{"date":"2022-02-03","time":1643929081,"value":198},{"date":"2022-02-04","time":1644015481,"value":238},{"date":"2022-02-05","time":1644101884,"value":19},{"date":"2022-02-06","time":1644190804,"value":16},{"date":"2022-02-07","time":1644278282,"value":0},{"date":"2022-02-08","time":1644361081,"value":3},{"date":"2022-02-09","time":1644447480,"value":0},{"date":"2022-02-10","time":1644533883,"value":50},{"date":"2022-02-11","time":1644620281,"value":28},{"date":"2022-02-12","time":1644706682,"value":14},{"date":"2022-02-13","time":1644793081,"value":16},{"date":"2022-02-14","time":1644881761,"value":219},{"date":"2022-02-15","time":1644965882,"value":187},{"date":"2022-02-16","time":1645052280,"value":223},{"date":"2022-02-17","time":1645138684,"value":229},{"date":"2022-02-18","time":1645225080,"value":179},{"date":"2022-02-19","time":1645311482,"value":12},{"date":"2022-02-20","time":1645397880,"value":15},{"date":"2022-02-21","time":1645484280,"value":7},{"date":"2022-02-22","time":1645570684,"value":5},{"date":"2022-02-23","time":1645657081,"value":7},{"date":"2022-02-24","time":1645743481,"value":13},{"date":"2022-02-25","time":1645800922,"value":8},{"date":"2022-01-27","time":1643324282,"value":3},{"date":"2022-01-28","time":1643410682,"value":9},{"date":"2022-01-29","time":1643497081,"value":8},{"date":"2022-01-30","time":1643587084,"value":8},{"date":"2022-01-31","time":1643669882,"value":251}]}})
2022-02-25 15:58:17 DEBUG (MainThread) [custom_components.meross_lan] MerossDevice(1801160421807925131634298f110839) Energy: device midnight =<PHONE_NUMBER>
2022-02-25 15:58:17 DEBUG (MainThread) [custom_components.meross_lan] MerossHttpClient(<IP_ADDRESS>): HTTP Response ({"header":{"messageId":"18482d9cb3524c80a9520a9388a6a884","namespace":"Appliance.Control.Electricity","method":"GETACK","payloadVersion":1,"from":"/appliance/1801162875973225131634298f1108c3/publish","timestamp":1645801096,"timestampMs":410,"sign":"35a32d5dd6a013da8efc039a7a746732"},"payload":{"electricity":{"channel":0,"current":54,"voltage":2425,"power":1992}}})
2022-02-25 15:58:17 DEBUG (MainThread) [custom_components.meross_lan] MerossHttpClient(<IP_ADDRESS>): HTTP Response ({"header":{"messageId":"10a2ab07a72546b088c15861b4052ade","namespace":"Appliance.Control.Electricity","method":"GETACK","payloadVersion":1,"from":"/appliance/1801160421807925131634298f110839/publish","timestamp":1645801095,"timestampMs":700,"sign":"a1ec020a43bf99cc685a5b4ff89b53a7"},"payload":{"electricity":{"channel":0,"current":81,"voltage":2406,"power":8629}}})

@krahabb Ok no problem if the fix is coming ! Thanks in advance for this. Have a good day.


Windows Docker - bind source path does not exist: /etc/letsencrypt

PS B:\SERVER\DOCKER\myuri-master> docker-compose -f docker-compose.prod.yml up -d
Starting myuri_frontend_build ...
Starting myuri_frontend_build ... done
Creating myuri_nginx          ... error
ERROR: for myuri_nginx  Cannot create container for service nginx: invalid mount config for type "bind": bind source path does not exist: /etc/letsencrypt
ERROR: for nginx  Cannot create container for service nginx: invalid mount config for type "bind": bind source path does not exist: /etc/letsencrypt
ERROR: Encountered errors while bringing up the project.
Development work. localhost:80 send a white homescreen but i can't view login admin or anything to do for startup library

The /etc/letsencrypt path does not exist by default.
Currently the production compose file is setup to use TLS certificates from Letsencrypt, which would be setup by the user. It isn't stated in the README, which will be fixed.
Either you can run the project in the  development environment or if you really want to configure TLS, you can for example, follow instructions here
This project is very much still in development and does not have an admin page yet nor a comic browser. Meaning it doesn't do anything at the moment. But feel free to follow the project :smiley:

ok, thanks.


[1.12.2] GL issue causing armors to glow w/ Wizardry installed

Well... I got the compatibility layer working, but there is a GL blend issue somewhere which is causing the wolf armor layers to glow when Wizardry is installed. Been banging my head on it for like six hours or so tho and getting nowhere, so I will open a new issue for the glowing layers
Originally posted by @satyrnidae in https://github.com/satyrnidae/wolfarmor-legacy/issues/170#issuecomment-1003627135

Existing issue from Wizardry's issue tracker here: Electroblob77/Wizardry/issues/588

Existing issue from Wizardry's issue tracker here: Electroblob77/Wizardry/issues/588


Introduce Stream API

Currently, there are Producer API, Consumer API for basic IO operations on message queues.
For many scenes, users like to process messages in Streams.
The Stream API is lightweight, not as same as the distributed streaming systems like Apache Storm, Flink, Spark-Streaming.  And its implementation can be embeded in any java applications.
It provides the most common stream operations like filter,flatMap,map,reduce,groupBy,join,count,max,min,window, etc.
It's different from the existing StreamingConsumer, which is a low level Consumer API for processing consumer positions, etc. (IMHO, the class name of StreamingConsumer should be renamed to a more reasonable one, the current might be confused for users.)

@vesense I created #20 for it. If OpenMessaging provides Reactive API then such operations can be plugged in by using RxJava, Akka Streams, Reactor or any other reactive framework

@vesense but why not?

@bsideup
The Stream API here, like Spark's DStream, Flink's DataStream or Kafka's KStream, is just stream abstraction including basic stream operations(filter,flatMap,map,reduce,groupBy,join,count,max,min,window, etc.).  This is the different point from reactive-streams's common reactive APIs(Publisher, Subscriber, Subscription, Processor). reactive-streams provides these  operations depending on 'RxJava, Akka Streams, Reactor or any other reactive framework'. And another point is that it's easy and convenient to translate sql to Stream related operations when we consider supporting sql(e.g. flink-sql, kafka-ksql).

@vesense how to support the Stream API base on the existing atomic API :-)

@vongosling Sorry for the delay because of my busy work. I will write a  google doc for the Stream API design after completing the RocketMQ-Beam integration. Thanks for your patience.


refine doc about to_heap

fixes #54

The new docstring is not quite correct: the old docstring was wrong, and this one retains the old text. I would instead propose
"""Construct a heap that would be useful for evaluating `e`.

Given an EArgMin or EArgMax expression, this function produces a new
expression that constructs a heap.  Peeking the top value of the
constructed heap is semantically equivalent to evaluating `e`.
"""

I also removed the text about how the function is used; it isn't useful to readers and can easily become wrong if we decide this function is useful somewhere else.
(Also note that the first line of the docstring is on the same line as the opening """. This is a recommendation from PEP-257 that the codebase frequently breaks but I would like to start fixing.)

👍


Disable sound

Can you add a feature to disable the sound? Looks like -x         do not play sounds.

Hi! I added a setting to enable or disable sounds. You can download the new version here:
https://github.com/crilleengvall/Screenbar/releases/tag/v0.3

Great! Thanks.


dexie-relationships do not work with require in electron

dexie-relationships do not work with require in electron, but dexie alone does
var Dexie = require('dexie')
var relationships = require('dexie-relationships')
var db = new Dexie('MyProject', {addons: [relationships]})

Line 3 is in error.
Here is the error comming in the node_modules/dexie/dist/dexie.js file :

dexie.js works well alone, so I suggest it may come from the webpack formatting ?

Thanks for help

Hi, yeah, the distributable files need fixing. I'll take a look at this 1st thing on Monday.

Ok ty, let me know when you find ou something

Hi, this has been fixed with 1.2.0 :) Closing the issue, but let me know how you get on. Thanks!


Render svg images from markdown

Hi,
this PR will allow users to define an svg in Markdown:
![svg](./images/hugo-logo-wide.svg "Test for svg")
The current render-image.html tries to resize the given image. This is not possible for a svg and will raise an error:
execute of template failed at <$src.Resize>: error calling Resize: this method is only available for raster images.
So, I added a check for MediaSubType and will default to "normal" html img tag when svg is detected.
In the final rendered html view the svg will shrink to the size of the parent container if width is set on the svg and is wider than the parent.

Thanks for the PR.


Feedback on Tensorflow 2.0 beta - documentation issues?

Hi,
Please accept the following as feedback on my experience of Tensorflow 2.0 (beta):

Read the migration guide and figured I would give it a go.
Installed without issues on my Mac Conda environment.  This was to be the highlight of my successes.
The documentation site isn't searchable by version and given the frequency and amount of change here it would be nice to find a way to locate where various things have moved to.
By way of example, PhasedLSTMCell, I knew the contrib module is gone in 2.0 but its still in the GitHub 2.0 branch which is misleading.  Further misleading is the comments here:

Created in contrib, eventual plans to move to core.

No indication of where one might currently find it.
5. Figured it might be in in Addons but no luck there.
6. I wanted to use tf.keras for the first time.  Maybe its my Pip/Conda environment but no matter what I did I could not get it to import unless I did import tensorflow._python._keras.  Did I miss this in the docs because I swear I didn't read it anywhere.
After some more poking around I decided I had enough exposure to 2.0 and went back to 1.14 - it did give me some minutes of excitement.
However, I would love 2.0 to be speedily and widely adopted.  The API looks a lot cleaner (from what I read of it, I didn't get to use any ultimately) and I think some improvements around how the documentation is accessible would help uptake.  I'm willing to contribute to help this along if I can.

@emrul Just few questions and pointers on docs.
Item (3) : What do you mean by 3. The documentation site isn't searchable by version?. On the page you listed, you can select any TF version (For Ex. TF1.12) from the dropdown of API.  You could see detailed release notes from here.
Item (4): Regarding contrib module is gone in 2.0, contrib is removed from TF2.0 but it is still part of TF1.x. The link you provided points to master not  2.0. PhasedLSTMCell you can see it here.
Please feel free to contribute through PRs to update documentation and code. Thanks!

@emrul
Is this still an issue

I am closing this issue as it is a stale issue. Thanks!


save map

Hi,
How could save the generated semantic 3D map as .ply file or other format?

Do you compile the voxblox-plusplus, successfully.

@jguan2984-1
To answer your question I documented the generate_mesh service here: https://github.com/ethz-asl/voxblox-plusplus/wiki/The-voxblox-plusplus-node
It is exactly what you need to retrieve the reconstructed map as a PLY file.
I hope that this will mark the beginning of an effort from my side to document the functionality of the node :)


Fix #1361: Remove the SkywalkingDynamicField property

Please answer these questions before submitting pull request

Why submit this pull request?

[x] Bug fix

[ ] New feature provided

[ ] Improve performance

Related issues
#1361

Coverage decreased (-0.02%) to 24.574% when pulling b7b0dd4e7cffa67eb93f6222a16832c1b397da9a on ascrutae:fix/spring-dependencies-check into 38e4af8cbbff2f95ef88724449f880a8f2b5925b on apache:master.

The root cause about issue #1361 is the one of spring framework inject rule is that it according to the get/set method, and Skywalking Agent add the getSkywalkingDynamicField/setSkywalkingDynamicField method to each enhance class. So it will cause the spring framework attempt to inject the bean named skywalkingDynamicField, Definitely it will failed, because of no one will define that bean.
To resolve this issue , We need to remove the skywalkingDynamicField property filed from the bean.


Finished get, post, and delete API Routes [CB-1]

Please check if the PR fulfills these requirements

[ ] The pull request title contains the ticket number in the title. For example [CB-1]

What kind of change does this PR introduce? (Bug fix, new feature...)
This PR introduces three functional routes.

What is the current behavior? What does the code do before you made the new changes?
There is not current behavior.

What is the new behavior?
We are able to get, delete, and add people to the Heroku app.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR? Run a new command?)
No breaking changes have been added.

Other information:

Code looks great, well done!

Thanks guys!


Questions on coordinate system-related issues and precision of quest3 hand detection.

Hello, i am studying your framework recently. I have some confusion regarding the transformation from hand coordinate to robot arm coordinate such as the code here.
Besides, I evaluate the data obtain from TransformLeftHandPositionCoords, and find the accuracy of the data detected by quest3 is very low. Have you ever met the problem?

I'm also wondering how this transformation is determined. And how it should be determined for other robot setups? Any insights appreciated.

Hi, thanks for using Openteach and sorry for my late reply. In Openteach the hand coordinated returned from the VR are in left hand coordinate frame so what we do is we create a local frame with those keypoints and this local frame is also in left hand coordinate frame. Once we have this frame we convert this local frame to Right hand coordinate frame. This matrix is for that reason.


Create eslint-config-msal package for common lint rules

Sets the msal package to use a new shared @azuread/eslint-config-msal package, which is hosted on Github Packages.
https://github.com/AzureAD/microsoft-authentication-library-for-js/packages/59316
Published under the @AzureAD scope because all Github Packages need to be scoped (to the organization or personal account that they are published under).
New development-related step is that you need to generate and login to the npm CLI with a Github access token (which has the repo and read:packages scopes). When the repo is bootstrapped via lerna, this isn't actually needed, as lerna will use the local copy instead, but everyone should still go through the steps to generate one. I've also tested that since this is a public repo, users can download packages from GH packages without being a member of the @AzureAD organization.
I recommend that we also use GH packages for the shared configurations that we want to make for Babel and nyc, along with any other tools that we need.

Does this PR need to be updated?

Yeah, I'll close/update this PR soon.

Coverage increased (+1.2%) to 74.944% when pulling f9f21b57bd3597e823ff1ae944daf47a17850d03 on eslint-config-msal into c55a9563e189c8bfa99ea599f86aa9641f635a6f on dev.

What value does using github registry over npm give us?

@DarylThayil Easier to publish and manage, and doesn't pollute our npm account with packages that are just for our team to consume.

My counterpoint would be that publishing in npm is not hard to do or manage, and that adding a second publishing repository makes it harder.  I also don't think that these packages are polluting, if anything its a good opportunity for us to think about use outside our team. If we build a project people believe is a good template to use then the tools we use could help them build great projects too.  Eslint Airbnb being a good example.
I am sure github is a fine repository, I am just asking are the benefits to 2 tools really worth the maintenance of two tools.

@DarylThayil Publishing under the @azure scope on npm (which we should be doing for all of our packages, arguably) has been hard to manage, given the restrictions that are placed on that scope.
Also, its not really that much more work, just need to login to the CLI once and setup the npmrc files correctly and you're good.

I think I still feel it may be extraneous, but I am willing to try it out and see what we learn.
LGTM

Can we please merge this after the beta-5 release?

Yeah, it can wait until then.

I will reopen this PR given all teh changes that have been made since.


[Post-Patch] Merge the released patch versions back to main branch

API change check
API changes are not detected in this pull request.


fix: Update user icon on ProfilePage

Summary of Changes
Recent style changes caused a UI regression where the hover state over the user icon on the ProfilePage was not correct, showing an indigo background.
Before

To fix this issue I reverted to using the previous mask image styling for this use case.
After

Tests
N/A
Documentation
N/A
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes, including screenshots of any UI changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes all tests documented in the developer guide

Codecov Report

Merging #493 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #493   +/-   ##
=======================================
  Coverage   81.05%   81.05%
=======================================
  Files         225      225
  Lines        5595     5595
  Branches      652      652
=======================================
  Hits         4535     4535
  Misses        996      996
  Partials       64       64

Impacted Files
Coverage Δ

...ication/static/js/components/ProfilePage/index.tsx
87.36% <ø> (ø)

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 74e7bed...195924e. Read the comment docs.

cc @dikshathakur3119 for context and if you have any questions.


Adding AN Invoice Extractor recipe

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Bump remap-istanbul version

This version of remap-istanbul introduces fix to absolute paths in source maps.

@marcules buddy, you there?

I tested this with the angular-cli and it fixes issues I was having with it. Please consider merging this!

I have also tested this upgrade and it works fine, would be nice to see that merged.

Sorry for being so unresponsive you guys, but I'm currently drowning in
work. I've added Stephen as a collaborator so things can get done while I'm
unavailable.
Cheers, Marc
Bartek Pietrowski<EMAIL_ADDRESS>schrieb am Di., 24. Mai 2016,
15:19:

I have also tested this upgrade and it works fine, would be nice to see
that merged.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/marcules/karma-remap-istanbul/pull/7#issuecomment-221265629

Thanks @marcules.
I have released 0.0.6 of this repo. This includes this PR.
Enjoy!


Questions about SHAP value (shapley weight part)

Hello,
I am trying to understand how SHAP equation derived in an intuitive way.

I would like to focus on weight part , how the weight has been implemented.
Shapely value regression equally weights the regressions based on the number of possible models. So if there are M number of features,
the total weight of

selecting 1 feature is 1/M
selecting 2 feature is 1/M
...
selecting |S| features is 1/M
...
selecting M feature is 1/M

and the total number of case of selecting |S| features is (M Combination S) * (S factorial).
I used Combination because |S| doesn't care about the order of S.

But the paper shows

as the weight. I couldn't find the proof for deriving the weight. How the weight in paper derived and what am I missing?
Thanks for reading.

Good question. (M combination S) should be (M-1 combination S) since the feature i is not in the set we are choosing from. That when multiplied by 1/M gives the desired answer.


Unclear documentation on setting up pipeline variables

In the link below for setting up the deployment pipeline variables it isnt very clear what you are supposed to do and the documentation is written with an assumption you have setup the pipelines before.  I think a lot of people will struggle to be clear on what steps they need to take.  There are a few different types and ways variables can be setup.  My assumption is I need to open the pipeline I created and add variables to the pipeline list as ive shown in the image below but that is a bit of a guess im doing the right thing.  I think if there was a section showing how to add a variable and then it said repeat these steps for each of these variables and it explained what they are used for it would remove any ambiguity.
https://docs.microsoft.com/en-us/power-platform/guidance/coe/setup-almacceleratorpowerplatform#setting-deployment-pipeline-variables

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

ID: 5d58c244-3aaa-48e6-8b6d-205521a0bc52
Version Independent ID: 5d58c244-3aaa-48e6-8b6d-205521a0bc52
Content: Set up ALM accelerator for Microsoft Power Platform components manually - Power Platform
Content Source: power-platform/guidance/coe/setup-almacceleratorpowerplatform.md
Service: power-platform
Sub-service: guidance
GitHub Login: @mikefactorial
Microsoft Alias: v-mikeochs

@michaelstephensonuk thanks for this adding a link to the April release docs issue in coe-starter-kit to track this and resolve in the next release.


docs: add example of next auth v5

closes #596

Hey @Robin-Ln, sorry I wasn't able to look into this PR deeper yet. Upgrading to Auth.js v5 is certainly something I'm looking for, but since the stable release hasn't been published yet, this hasn't been a priority so far. There was also an initial attempt at this in https://github.com/amannn/next-intl/pull/598. Ideally we keep as much of the previous example in tact and upgrade to v5 once that is stable. I'll need to have a closer look at this PR and #598 to see about which parts work best once v5 has been released.
Thank you very much for your work here!


how to generate a daily note as YYYY_MM_DD.md

🚀 The feature, motivation and pitch
when the obsidian.nvim generate the daily notes, it create a file which format is YYYY-MM-DD, and with some frontmatter.
How would I create a daily note as YYYY_MM_DD.md ? and with a custum content?
Alternatives
No response
Additional context
No response

Hey @Dasein1998, this isn't possible at the moment but it wouldn't be hard to add. We'd just need to add another configuration option here and then use that option here.

Hi @epwalsh  can I pick this up? I am just starting on the open source world and I have been using this plugin for a bit and is exactly what I was looking for and would love to contribute more for this project. I may need more guidance, would be possible for me to reach it out to you in case I get stuck or something? TIA

Hey @jaymorelli96, sorry I forgot to link this PR before, but someone is already working on it: https://github.com/epwalsh/obsidian.nvim/pull/49

No problem @epwalsh I will keep my on for some good first issue 😄 Thanks for the amazing plugin

Fixed in #138, could you check please?

Not the original poster but I was able to accomplish this with the following config section for anyone stumbling across this issue.
    daily_notes = {
        date_format = "%Y_%m_%d",
    },


Update spinner API to catch OS signals

What this PR does / why we need it
This PR updates the spinner API to store all spinners and close all spinners if any spinners are still active.
Which issue(s) this PR fixes

Fixes #
Describe testing done for PR

Release note

Additional information
Special notes for your reviewer

Can you update the PR title and PR description?

Can you update the PR title and PR description?

Updated

Please add a release note for this PR as well.


BUG: Fix login/signup 'X' button area

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?

The area (width) for 'X' button on login signup page is too big allowing user to click on the 'X' the area outside 'X' as well. I want to imporve this by correcting its css to make it perfectly fit to the size.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@vansh-codes, the user can also close it by tapping outside the square area as well as by clicking on the cross button, so I think there is no need for a change. Could you please close this issue?

@vansh-codes, the user can also close it by tapping outside the square area as well as by clicking on the cross button, so I think there is no need for a change. Could you please close this issue?

@mdazfar2
It's not good if we think of the UX because in the extra area the cursor becomes pointer which makes the user click and eventually close the login popup even when not wanted to close. Still if you think thats really not needed then okay I will close the issue let me know.

@vansh-codes  As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.


path.dirname must be a string

Description
Similar to #1509 and #1423
Argument to path.dirname must be a string
Object.dirname - /Applications/Atom Beta.app/Contents/Resources/app/src/electron-shims.js:9:10
 - /Users/[user]/Desktop/Development/atom-beautify/src/beautify.coffee:360:115
tryCatcher - /Users/[user]/Desktop/Development/atom-beautify/node_modules/bluebird/js/release/util.js:16:23
Promise._settlePromiseFromHandler - /Users/[user]/Desktop/Development/atom-beautify/node_modules/bluebird/js/release/promise.js:512:31
Promise._settlePromise - /Users/[user]/Desktop/Development/atom-beautify/node_modules/bluebird/js/release/promise.js:569:18
Promise._settlePromiseCtx - /Users/[user]/Desktop/Development/atom-beautify/node_modules/bluebird/js/release/promise.js:606:10
Steps to Reproduce

Add code to Atom editor
Run command Atom Beautify: Debug
Deprecation warning

Checklist
I have:

[X] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[X] Reloaded (or restarted) Atom to ensure it is not a caching issue
[X] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[ ] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[ ] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue

Documentation - https://nodejs.org/dist/latest-v8.x/docs/api/path.html#path_path_dirname_path

The error is probably on this line: https://github.com/Glavin001/atom-beautify/blob/master/src/beautify.coffee#L415
The argument filePath comes from https://github.com/Glavin001/atom-beautify/blob/master/src/beautify.coffee#L342
The reference editor appears to come from this line https://github.com/Glavin001/atom-beautify/blob/master/src/beautify.coffee#L292

If my manual stack trace is correct, I'm not good with CoffeeScript, it looks like this might be an Electron error.

Nah, it's an atom-beautify issue.  I need to update the description to say run debug for an unsaved file, that's when the path is undefined throwing this warning.


Integration with parallel

I regularly use parallel to reprocess runs in parallel, which can be quite a bit faster than doing them serially. It would be nice if there was a -j<n> option for amore-proto reprocess that would create the right parallel command and run it for the user.

Closing this because now we support using slurm for everything.


[BUG] - cardano.node.Forge:Error

Area
Token Locking    Related to Token Locking (Allegra).
Native Tokens    Related to Native Tokens (Mary).
Other   Any other topic (Delegation, Ranking, ...).
Summary
I got an error today in Cardano Block producer
Steps to reproduce
Steps to reproduce the behavior:
run

cardano-node run
--database-path ~/cnode/db/
--socket-path ~/cnode/sockets/node.socket
--host-addr <IP_ADDRESS>
--port 3000
--config ~/cnode/config/mainnet-config.json
--topology ~/cnode/config/mainnet-topology.json
--shelley-kes-key ~/cnode/keys/myPool.kes-000.skey
--shelley-vrf-key ~/cnode/keys/myPool.vrf.skey
--shelley-operational-certificate ~/cnode/keys/myPool.node-000.opcert

System info (please complete the following information):

OS: [Ubuntu]
Version [20.04]
Node version [cli 1.25.1 / node 1.25.1]

Screenshots and attachments

[hyungryu:cardano.node.LeadershipCheck:Info:61] [2021-03-10 11:26:21.00 UTC] {"credentials":"Cardano","kind":"TraceStartLeadershipCheck","delegMapSize":326263,"slot":23809290,"chainDensity":4.8388544e-2,"utxoSize":1457561}
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:21.00 UTC] fromList []
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:21.00 UTC] fromList []
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:21.00 UTC] fromList []
[hyungryu:cardano.node.Forge:Error:61] [2021-03-10 11:26:21.00 UTC] fromList [("credentials",String "Cardano"),("val",Object (fromList [("kind",String "TraceNoLedgerView"),("slot",Number 2.380929e7)]))]
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:21.00 UTC] fromList []
[hyungryu:cardano.node.LeadershipCheck:Info:61] [2021-03-10 11:26:22.00 UTC] {"credentials":"Cardano","kind":"TraceStartLeadershipCheck","delegMapSize":326263,"slot":23809291,"chainDensity":4.8388544e-2,"utxoSize":1457561}
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:22.00 UTC] fromList []
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:22.00 UTC] fromList []
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:22.00 UTC] fromList []
[hyungryu:cardano.node.Forge:Error:61] [2021-03-10 11:26:22.00 UTC] fromList [("credentials",String "Cardano"),("val",Object (fromList [("kind",String "TraceNoLedgerView"),("slot",Number 2.3809291e7)]))]
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:22.00 UTC] fromList []
[hyungryu:cardano.node.LeadershipCheck:Info:61] [2021-03-10 11:26:23.00 UTC] {"credentials":"Cardano","kind":"TraceStartLeadershipCheck","delegMapSize":326263,"slot":23809292,"chainDensity":4.8388544e-2,"utxoSize":1457561}
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:23.00 UTC] fromList []
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:23.00 UTC] fromList []
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:23.00 UTC] fromList []
[hyungryu:cardano.node.Forge:Error:61] [2021-03-10 11:26:23.00 UTC] fromList [("credentials",String "Cardano"),("val",Object (fromList [("kind",String "TraceNoLedgerView"),("slot",Number 2.3809292e7)]))]
[hyungryu:cardano.node.ForgeTime:Info:61] [2021-03-10 11:26:23.00 UTC] fromList []

Additional context
Suddenly and error occurred and I want to know why.

solved
im delete '/db' and then copy 'relaynode db'


OWLS-73109 - Overloaded server handling

** Draft review for comments - not ready for merging **
The scenario in bug owls-73109 is that the server template for a dynamic cluster is configured with low memory overload protection. When the low memeory threshold is reached,  the server would be in an OVERLOADED state, as reported by ServerRuntimeMBean.getHealthState(). Upon entering the OVERLOADED state, server would start rejecting requests from the Work Manager queue (if a Work Manager is configured), and HTTP requests return a 503 Error (Service Unavailable).
Filer of bug expects that the server failure action would take place when the server is in OVERLOADED state and shuts down server. But that is not the expected behavior. Server failure action is not taken when server is in OVERLOADED state, only when the server is in FAILED state. An OVERLOADED server will go back to a OK state once the high free memory threshold is reached. So it is working as designed.
But in kubernetes environment, It is not ideal if a load balancer such as traefik continues to direct traffic to the overloaded server, especially if there are other healthy servers available in the same cluster. So the idea is to update the ingress to exclude the overloaded server, so traffic would be directed to other healthy servers. This can be done through the readiness probe.
Currently in operator the readiness probe hard-coded the httpGet path to "/weblogic/ready". However, this does not return 503 Error when the server is overloaded. Thus this change is making the httpGet path of the readiness probe configurable, with a default value of "/weblogic/ready", so customers are allowed to use the URL to their app for the readiness probe.
Pros:

when server is overloaded, the HTTP request used in the readiness probe would return 503 Error, and ingress would be updated to exclude the overloaded server. When the server returns back to a healthy state, the readiness probe would be successful and ingress will be updated to include the server again.

when the customer application is not ready to server requests for any other reasons, the ingress should also be updated to not direct traffic to that server, even though the server is in RUNNING state

Cons:

server pod would not get to ready state if the httpGet path is misconfigured

Please let me know if there are any concerns with this approach, or suggestions on a better way to deal with overloaded servers in the operator.

Decided in standup today that we should not be making a pod not ready when server is in overloaded state


Undefined structure infoReference

The info data structure references an infoReference data structure (page 36), however it is not defined anywhere.

You are right. This needs to be fixed. The structure was thought to be just like errorReference, but we missed to include it.

Discussion within VDA and VDMA started

#34 fixes this issue.


Add date replacement

Resolves #30.

[x] Added date replacement
[x] Better formatting in actions.yml + Added option for date format
[x] Updated readme.md

There are a lot of unrelated changes and the file in distribution should not be modified manually. The source is /index.js

[ ] Oh, I will move edits to /index.js. I wondered why index.js in distribution had so many lines – I think, that was file, I should edit.
[ ] And I have to fix bug, where longer or shorter dates caused bad date, hash and title of commit in description.

And also, I think, that I edited index.js in distribution, make build fail...

shouldn't be it in .gitignore and builded and committed by Github Action

Unfortunately this doesn’t work with GitHub Actions. They want a pre-built file committed to the repo.

Can you also add some tests to ensure it works?

And how?
I tested it in on my private repo and date option works...

There’s a file that ends with .test.js. Look at how the other features are tested a create similar tests for this new option. It should test for both a keyword and some custom formats

I added date test, but after I run it it except a error on generates changelog with custom date presets. It's function with test custom date format. I don't know what is wrong with it.

I added more date formats, especially for the date without leading zero and also for testing in generate-release-notes.test.js... It's using dateformat.

Please undo, git date formats are good enough.

Also no need to force push. Just add commits normally.

I force pushed, because I didn't want to mess code. I just made small typo and I fixed it.

I remade whole test, because custom date format check is failing. It was failing because generateReleaseNotes function does not run git log with custom date parameters...

Not a bad idea, I dislike mocks for this exact reason, they give a false sense of security.

Could you merge this pull request now, so I can open another, that fixes another issue?

Thank you @BelKed!

Unfortunately the commit titles aren’t being excluded from the replacement. The commit here included {date} and was replaced with the actual date.