CIGAR and MD field mismatch

Hi Ivan,
I am running graphmap using nanopore ecoli reads and encountered a problem as CIGAR sequence and MD field don't match.
Sum of the number of Deletion, Mismatch and Equal match in CIGAR should match up with the sum of integers and number of [A, C, T, G] in MD flag (ignoring the ‘^’ and 0).
But I get a mismatch between them for few files (but most work fine), in the zip file mentioned below are two sample files
nanopore_reads.zip
I used poretools( 0.5.1)to get the fastq files from them.[ecoli_k12.fa.txt]
Reference:  ecoli_k12.fa (https://github.com/isovic/graphmap/files/448448/ecoli_k12.fa.txt)
Query:  ./bin/Linux-x64/graphmap align --extcigar -r ecoli_k12.fa  -d fastq_file -o output.sam
Here is the code i used to check that .
CIGAR_MD.py.zip
Thanks
Parithi

Hi Parithi!
Thank you so much for reporting this, this was a very important bug which was unnoticed until your Issue. Also, the data was very helpful!
I reimplemented this part of the code and tested it, it should be fine now.
Try git pull; make modules; make.
Sorry for the long delay, it was an extremely busy period for me.
Best regards,
Ivan.


[PAPI-367] Track Interflux token ownership and supply

Tracking of OwnershipTransferred and SupplyChangeLog
Mapping and returning logs as events

Just thought about and noticed TransactionEventExtensions.cs needs to be updated with the new logs/event mapping for search filters.
That extension method can probably return a single TransactionLogType now too rather than an IEnumerable. It used to map one to many but not anymore.

lgtm but were you thinking of adding the Reserves Event in another PR or including within this one?

lgtm but were you thinking of adding the Reserves Event in another PR or including within this one?

The reserves event is included in this PR, named as ReservesChangeEvent


about 3D reconstruction models of datasets

Hello,
do you have any plans to publish 3D model files of your datasets？
If possible, I really hope to get your model data for academic research.
I am looking forward to your reply！

You can now download the 3D model files here.


Add different run modes for the TUF server, allow saving TUF keys as …

…a secret (#1214)

Add different run modes for the TUF server, allow saving TUF keys as a secret

This commit implements features necessary to run/operate the TUF server in production much better:

The TUF server can now be run in 4 different modes:

init - only init the TUF repository and exit
init-no-overwrite - same as init, but won't overwrite the TUF repository if it already exists
serve - only serve an existing TUF repository (no init)
init-and-serve - init and then serve

The TUF repository can now be initialized/served from a given path, as opposed to always living in a /tmp directory.
The TUF keys can optionally be exported as an individual k8s secret.

/lgtm


Improve output representation of timestamp subtraction

Improve output representation of timestamp subtraction, by normalizing to bigger units. e.g:
SELECT '2022-12-05T11:22:33.123456789+05:30'::timestamp - '2022-12-03T11:22:33.123456789-02:15'::timestamp

previously would return: PT40H15M and now returns: P1DT16H15M.
Follows: #13345

Not 100% sure if it should be a fix or just an improvement.

@mergifyio backport 5.2


JSON web API

You support generating badges, but a more general web API with JSON output or so would be nice.
The use case is that this can then be used in shields, which also has different badge styles etc. See issue https://github.com/badges/shields/issues/2731.

Thank you for your issue! I have now implemented this in tokei.rs if you change your Accept HTTP header to application/json you will receive JSON data. The files seem to be currently missing in production, but work locally so you can't use that info yet but that will be fixed soon.

The bugs mentioned have since been fixed.


TS quirk for third-party plugins

If you do this:
export const somePlugin = definePlugin();

The inferred type of somePlugin requires importing transitive dependencies to be named (even if it is also your dependency) because it relies on AIK's dependency in Astro.
Because a third-party lib may depend on a different version of Astro, import('astro') would refer to different types depending on where it is. So TS rejects that just for the possibility, even if it is not really the case.
This problem happens for libs that are transpiled and emit a .d.ts. The two solutions are:

Set emitDeclarations and declarationsMap to false and publish the source TS files (like AIK does)
Explicitly create a named type for the plugin, like so:type SomePlugin = Plugin<
	'utilityName',
	'astro:config:setup',
	(p: HookParams) => (params: UtilityParams) => UtilityOutput
>;

export const somePlugin: SomePlugin = definePlugin();

I better understand thanks! Well, I guess your first point is better DX wise but as long as there's a workaround, that's fine!

Btw, I think the third parameter of the Plugin type could be just signature of the hook, without the hook parameters input since those can be retrieved by the hook name on the second parameter.
Would be a breaking change, but might something to be improve when adding inter-plugins dependency.


All Android Sony is considered Emulator (Not real device)

Hi,
The Sony XQ-CC72 device is being considered as an Emulator by the library (verson 1.1.7).
Below are more details about the device:
Android Sony XQ-CC72
Dalvik/2.1.0 (Linux; U; Android 14; XQ-CC72 Build/65.2.A.2.137)
Is there any problem with safe_device package?

Same issue for?
Android Sony XQ-DC72
Dalvik/2.1.0 (Linux; U; Android 14; XQ-DC72 Build/68.1.A.2.187)

It seems to be general for any Sony device.
Another device with the same issue:
Android Sony SO-01M
Dalvik/2.1.0 (Linux; U; Android 11; SO-01M Build/55.2.D.3.22)

I can confirm it also happens for Sony XQ-DC54 after updating this app https://play.google.com/store/apps/details?id=com.sonymobile.support (system app I guess).
I will provide more info once I get this phone to me and I will debug what gives false-positive result.

More info about the device with false-positive:

I can confirm it also happens for Sony XQ-DC54 after updating this app https://play.google.com/store/apps/details?id=com.sonymobile.support (system app I guess).
I will provide more info once I get this phone to me and I will debug what gives false-positive result.

Hi @venCjin Were you able to check?

I checked isEmulator method and I found the point:
public static boolean isEmulator() {           return Build.FINGERPRINT.startsWith("generic")                   || Build.FINGERPRINT.startsWith("unknown")                   || Build.MODEL.contains("google_sdk")                   || Build.MODEL.contains("Emulator")                   || Build.MODEL.contains("Android SDK built for x86")                   || Build.MANUFACTURER.contains("Genymotion")                   || Build.MODEL.startsWith("sdk_")                   || Build.DEVICE.startsWith("emulator")                   || (Build.BRAND.startsWith("generic") && Build.DEVICE.startsWith("generic"))                   || "google_sdk".equals(Build.PRODUCT)                   //bluestacks                   || "QC_Reference_Phone" == Build.BOARD && !"xiaomi".equalsIgnoreCase(Build.MANUFACTURER)                   //bluestacks                   || Build.MANUFACTURER.contains("Genymotion")                   || Build.HOST.startsWith("Build")                   //MSI App Player                   || Build.BRAND.startsWith("generic") && Build.DEVICE.startsWith("generic")                   || Build.PRODUCT == "google_sdk"                   // another Android SDK emulator check                   || SystemProperties.get("ro.kernel.qemu") == "1"                   || Build.HARDWARE.contains("goldfish")                   || Build.HARDWARE.contains("ranchu")                   || Build.PRODUCT.contains("vbox86p")                   || Build.PRODUCT.toLowerCase().contains("nox")                   || Build.BOARD.toLowerCase().contains("nox")                   || Build.HARDWARE.toLowerCase().contains("nox")                   || Build.MODEL.toLowerCase().contains("droid4x")                   || Build.HARDWARE == "vbox86"                   || checkEmulatorFiles()                   ;     }
HERE:
|| Build.HOST.startsWith("Build")
"Host" in sony device is "BuildHost"
This seems to be the problem for the devices I listed.

I confirmed with my app user.
Commenting on the line below, his Sony device stopped being identified as an emulator.
//|| Build.HOST.startsWith("Build")
@venCjin if you want use it in your project, I created a fork commenting this line.
But know that I removed the whole checking part related to MockLocations too, as this part is also causing problems to my app and I don't need it (com.xamdesign.safe_device.MockLocation is causing ANR).
https://github.com/tulioccalazans/safe_device/tree/dev
If you want to use it in your project, use it this way:
  safe_device:
    git:
      url: https://github.com/tulioccalazans/safe_device.git
      ref: dev

Hi, sorry for late response. I debugged and can confirm what @tulioccalazans found, that on Sony devices Build.HOST is set to "BuildHost" and therefore gives false-positive result.
I would suggest to make there additional check to exclude sony devices like this:
|| (Build.HOST.startsWith("Build") && !Build.MANUFACTURER.equalsIgnoreCase("sony"))
as this type of exclude check is for "xiaomi" already
|| "QC_Reference_Phone" == Build.BOARD && !"xiaomi".equalsIgnoreCase(Build.MANUFACTURER)
and with that in mind I created PR #51

It should be resolved asap since many user might be impacted. We even didn't know about the issue since there is no test devices.

Are there any updates yet? 😭

safe_device: ^1.1.8


Debug event collection from file

Turns out this worked, but the bazel run of the snaptool itself created a new event file that overwrote the one from bazel build


[AutoRelease] t2-network-2022-11-16-21869(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/2985
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1031
BuildTargetingString
azure-mgmt-network
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/2985

https://github.com/Azure/azure-sdk-for-python/pull/27523


[WIP] Add support for using Firebase Emulator

This PR adds support for using the Firebase Emulator introduced in Firebase v8.0.0. To set it up, in your config/environment.js, you need to set:
let ENV = {
  ...

  'ember-cloud-firestore-adapter': {
    emulator: {
      hostname: 'localhost',
      port: 8080
    },
  },

  ...
}

Feel free to use a different hostname and port depending on your setup.
Aside from the changes above, this addon itself is now setup to utilize Firebase Emulator for local development and testing.

Firebase Emulator is failing in Travis. I dunno why... 😕

Took a while but I think i got to the bottom of it. I think you're working in a windows environment? It looks like the filepaths in the emulator-data/firestore_export.overall-export-metadata have backslashes for part of the path. I used the method here https://github.com/firebase/firebase-tools/issues/2421 to generate a new emulator-data folder and it no longer crashes although the tests fail

Took a while but I think i got to the bottom of it. I think you're working in a windows environment? It looks like the filepaths in the emulator-data/firestore_export.overall-export-metadata have backslashes for part of the path. I used the method here firebase/firebase-tools#2421 to generate a new emulator-data folder and it no longer crashes although the tests fail

Woah, thanks for looking into it. Hmm, so this means that my emulator-data wouldn't work on non-Windows machine. Well that's a let down. I hope they manage to fix the bug soon.
Also, I didn't quite understand the instructions in this. What's the previous dir he's talking about?

The previous folder he was referencing was the one containing the files
with the backslash paths. I think this solution was only meant to be a
temporary workaround of course.
On Mon 9 Nov 2020, 15:31 Mikko Paderes<EMAIL_ADDRESS>wrote:

Took a while but I think i got to the bottom of it. I think you're working
in a windows environment? It looks like the filepaths in the
emulator-data/firestore_export.overall-export-metadata have backslashes for
part of the path. I used the method here firebase/firebase-tools#2421
https://github.com/firebase/firebase-tools/issues/2421 to generate a
new emulator-data folder and it no longer crashes although the tests fail
Woah, thanks for looking into it. Hmm, so this means that my emulator-data
wouldn't work on non-Windows machine. Well that's a let down. I hope they
manage to fix the bug soon.
Also, I didn't quite understand the instructions in this
https://github.com/firebase/firebase-tools/issues/2421#issuecomment-702517779.
What's the previous dir he's talking about?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mikkopaderes/ember-cloud-firestore-adapter/pull/129#issuecomment-724086471,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN6BVJFKX5UXKPKA7PNRNTSPADLRANCNFSM4TNY57IA
.


Bump the version to 3.1.0

Given the Spring upgrade:
https://github.com/resteasy/resteasy-spring/blob/f813e8e2779642c21a806474a628599b4b8edbf1/pom.xml#L16
The version should really be bumped to 3.1. We shouldn't do a 3.0.x patch release with a minor version bump like that.

yes. sir!


iOS iPhone Simulator doesn't grab the right images

I'm trying to run mobile Gemini tests on an actual mobile device, in this case the iPhone 6 simulator, and the images grabbed are not correct. They seem to be off by a number of pixels. Is this seems to be an issue because Safari isn't listed as a supported browse? What should we do for running tests on a mobile device? These tests work fine for desktop browsers, but not mobile ones.
Gemini Version: 4.4.0
Contents of .gemini.yml file:
rootUrl: https://www.google.com/
calibrate: false
browsers:
  iphone:
    desiredCapabilities:
      appiumVersion: "1.5.3"
      deviceName: "iPhone 6 Plus Simulator"
      deviceOrientation: "portrait"
      platformVersion: "9.3"
      platformName: "iOS"
      browserName: "Safari"
system:
  debug: false

Test source code:
/* globals gemini */
gemini.suite("gemini", function(parent) {
    gemini.suite("google search", function(child) {
        child.setUrl("#")
            .setCaptureElements("#main")
            .before(function(actions, find) {
                this.element = find("#main");
            })
            .capture("plain");
    });
});

Command used to run the test:
gemini update src/tests/gemini/google/gemini.js

Publicly accessible URL of the page you are testing against:
https://www.google.com/#
Result:

Expected behaviour:
A clean picture of the Google search box on mobile.

Hi. Unfortunately gemini doesn't support IOS devices yet. But you can try Android device

Is iOS in the roadmap? Are there significant issues preventing iOS and/or Safari support?

For a temporary work around we're going to set the windowSize on an individual browser so that we can fake it. Something like this in the yaml file.
iphone:
    desiredCapabilities:
      version: "51.0"
      platform: "OS X 10.11"
      browserName: "chrome"
      recordVideo: "false"
      windowSize: "375x667"

But windowSize is ignored. Can we set browser windowSize on a per browser basis in the yaml file or is my only option to set it in the gemini test file with actions.setWindowSize?

About config - you need to set windowSize option not in the desiredCapabilities section:
iphone:
    windowSize: "375x667" <-----
    desiredCapabilities:
      version: "51.0"
      platform: "OS X 10.11"
      browserName: "chrome"
      recordVideo: "false"

About IOS - is was problem with detecting of real viewport size. Your screenshot proves it. Also we have some problems with coverage on these devices.

Thanks a bunch for all the info and the help with the config setup. It's not ideal but I understand. This should suffice for the bulk of our testing though. Thanks!

Hi,  Did anyone ever look at IOS implementation?  I'm trying to run tests through browserstack and, if I set the window size I see a 'Method not implemented error:
Below is my .yml
  iPhone7:
    windowSize: 750x1334
    compositeImage: true
    desiredCapabilities:
      device: 'iPhone 7'
      os_version: '10.3'
      real_mobile: true

Here is my error:
Cannot launch browser iPhone7:
[setWindowSize(750,1334)] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command. Selenium error: Appium error: Method is not implemented.'

Sorry I understand this ticket is quite old, I was just enquiring, thanks :)

hi
you can't change window size on real devices


Fix issue with PyPy2

Under PyPy2 you can't do u"foo" == lazy(static, str)("bar") because the
code assumes dir(str) is a strict subset of dir(unicode), which isn't
true on PyPy2. The other way around is no problem however, and the
other strings in the static assets lists is unicode anyway.

Seems reasonable.


⏰ Validate numerics range in incoming and outgoing data

Some out-of-range (n > Number.MAX_SAFE_INTEGER, n < Number.MIN_SAFE_INTEGER) numbers that come from non-JS endpoints could break Javascript's side (Palindrom). We need to check incoming data for those.

Done in https://github.com/Palindrom/Palindrom/pull/171

Before we can move it from "Announce and release" to "Done", please add an info about it to the Docs.

Ah, good point! I guess I shouldn't have moved it to announce and released in the first place. I moved it back. Please do whatever you think is right if you don't agree.

This is now documented. I didn't PR because I'm releasing a new version that fixes a bug https://github.com/Palindrom/Palindrom/issues/174. Since docs are non-code stuff, they can be reviewed later.
Here are the docs, please close the issue if you think they're alright.

Maybe a more technical explanation could be used? Like:

It is not a limitation of JSON, but of JavaScript, that all numbers are stored in memory as float64 (equivalent to Double in C#). This means that numbers larger than +/-<PHONE_NUMBER>740991 cannot be used in JavaScript without losing precision.

I created a quick PR https://github.com/Palindrom/Palindrom/pull/176

Closing as done!


runtime.Breakpoint SIGSEGV in s390x

What version of Go are you using (go version)?

$ go version
go version go1.17.7 linux/s390x

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="s390x"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="s390x"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/root/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/golang"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_s390x"
GOVCS=""
GOVERSION="go1.17.7"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -march=z196 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1381326963=/tmp/go-build -gno-record-gcc-switches"

What did you do?
In s390x, if you run the following code:
package main

import "runtime"

func main() {
	runtime.Breakpoint()
}

You get a SIGSEGV:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6de30]

goroutine 1 [running]:
runtime.Breakpoint(...)
	/usr/lib/golang/src/runtime/proc.go:4537
main.main()
	/root/test/main.go:6 +0x20

What did you expect to see?
A trap like in amd64.
What did you see instead?
A SIGSEGV. It is similar at what happens in this other issue.

I'll note that Breakpoint is mainly for getting into the debugger. A faulting instruction is probably fine. It would be nice if it is an actual trap instruction. You're welcome to send a CL. Thanks.

Yeah, that's how I found this while working on Delve. Delve uses Breakpoint in some parts and that breaks tests for example.
I'm planning n work on this as soon as I can. I just opened the issue for awareness.


Fix for #21

I've added two settings to the main config for old style attribute tabbing, and old style HP tabbing. I can condense this down to one setting if preferred.
Because the original sheets were using different controls they used type=hidden but because this sheet uses more semantically appropriate controls, I've instead removed them from the tab order via tabindex=-1.

I apologize for the wait on the review. I put comments in like 3 days ago, but I didn't know I needed to complete the review for them to post. I'll get that right next time.

I apologize for the wait on the review. I put comments in like 3 days ago, but I didn't know I needed to complete the review for them to post. I'll get that right next time.

Yeah no worries. The review process in GitHub is a bit different from what I'm used to too, I usually work with GitLab.

I've updated with changes to bring it in line with your requests.


dvc import rewrites file cache

dvc import rewrites file cache instead of creating new cache file.
An interesting fact: the bug is reproducable only with LogLevel = Info, not Debug.

Could you share steps to reproduce it? Simply importing file twice doesn't reproduce it for me.

[10/12/17, 7:22:55 AM] Ruslan Kuprieiev: The problem here is that we currently commit state and symlink together when importing. With symlinks a possible workaround would be to simply add symlink in a separate commit, so it has commit-id of an import itself, thus preventing cache collision.
[10/12/17, 7:25:34 AM] Ruslan Kuprieiev: So import will look like:

download file foo
create state file foo.state
commit changes
Move foo to cache/foo_<commit-id from step 3>
create symlink
commit changes

Other logic should stay the same as 3) and 6) are sequential commits(though need to not forget to hold git lock, so that other import doesn’t break anything when running in parallel).
I will prepare a patch for it.

Was fixed by #252 by using checksums to identify cache files, thus preventing cache collision based on commit id.


Editor Keeps Moving When Cursor Leaves and Re-enters Canvas During Panning

I'm encountering an issue with Drawflow.js where the editor's panning behavior persists incorrectly. Specifically, when I left-click and drag to move the editor, then move the cursor outside the canvas area while still holding the mouse button, the editor continues to move even after returning the cursor to the canvas.
https://github.com/user-attachments/assets/9dc3a3c9-4779-447d-8bd5-89a802cd2267

view this:

https://github.com/jerosoler/Drawflow/issues/443

@jerosoler thanks


patch for socketio support

It is a patch for socketio support first, then is upgrade the performents for thor.

@iorichina I've tried to use it as currently I need socket.io benchmarking tool. Unfortunately this fails for me. I get npm install error:
$ npm install -g git://github.com/iorichina/thor.git
npm ERR! git submodule -q update --init --recursive: fatal: no submodule mapping found in .gitmodules for path 'support/web-socket-js'
npm ERR! git submodule -q update --init --recursive:
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/Cellar/node/6.2.1/bin/node" "/usr/local/bin/npm" "install" "-g" "git://github.com/iorichina/thor.git"
npm ERR! node v6.2.1
npm ERR! npm  v3.9.3
npm ERR! code 128

npm ERR! Command failed: git submodule -q update --init --recursive
npm ERR! fatal: no submodule mapping found in .gitmodules for path 'support/web-socket-js'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/adamchwedyk/Work/src/chat-prototype/benchmark/npm-debug.log


feat: Add sample for blazor webassembly.

Add sample for blazor webassembly. #27

@AsakusaRinne fix:

@sagilio


Remove getSymbolDisplayBuilder from the public API

Along with it's backing code, since we don't use it internally. It has been deprecated since 2.7, and once 2.8 ships it should have a tolerable replacements for all functions in the form of the new node builder methods for the refactored declaration emitter, along with the XToString methods provided in 2.7. I'd target this for either 2.9 or later (3.0?), depending on the timeframe. Our audit of usage (on github) only really showed TS forks and angular depending on it, so this should give them plenty of time to migrate off of it. (ping @mprobst @rkirov to remind you that we're going to remove this API)

typeToTypeNode, symbolToEntityName, and symbolToExpression should be more powerful/configurable than typeToString, symbolToString, or buildSymbolDisplay were. (You just need to use createPrinter and print the resulting node if you need a string)

Specifically, the TypeFormatFlags.WriteArrayAsGenericType and/or NodeBuilderFlags.WriteArrayAsGenericType flag controls the array format thing. typeToString can actually be configured in that respect, too.

Fixed by #25331


Lots of my profile fits have huge autocorrelation times

The slightly more complex models often seem to have really large autocorrelation times, and for the double beta profile there are also some problems with forming two distinct populations in parameter space:

More than likely this is a poorly chosen model/priors, not a bug per-se, but bad choices by me. I have completely re-written the model fits I do to profiles, and found nothing badly wrong.
What I have noticed is that sometimes when my starting parameter generator for the ensemble sampler has to resort to uniform generation from the priors then chains don't converge, which does make sense and I don't know why I chose to do it that way. Opened a new issue (#457 )


Add a 'binding' element under 'search'.

@tokle ping

This is just adding an element that is allowed in the schema, but was not in any test file. Anyone can approve and merge.


Here is a spelling mistake.

http://phantomjs.org/page-automation.html
In the middle of the above page has a wrong word: 'screnshot'.

Fixed. Thanks!
But you also can edit it by yourself. All our pages are located in gh-pages branch - https://github.com/ariya/phantomjs/tree/gh-pages


Unexpected error for exceeded_rate

I'm getting responses with status 429 when rate limit is exceeded, which isn't in ERRORS in HelloSign::Client, and thusly raises HelloSign::Error::UnknownError.
The documentation here https://app.hellosign.com/api/reference#WarningsAndErrors suggests this should return 403 and raise HelloSign::Error::Forbidden.
I'm wondering if this is intentional, or if ERRORS and documentation just haven't been updated to match the actual api responses.

Opened https://github.com/HelloFax/hellosign-ruby-sdk/pull/60

Thanks for calling that out! The HTTPS CODE under ErrorNames is incorrect for exceeded_rate - it's a 429.
Making a comment on the PR now too.
Thanks again!


command replSetInitiate requires authentication

docker-compose.yml
  rs_shard_server_01:
    image: mongo:5.0.9
    networks:
      - mongo-network
    container_name: rs_shard_server_01
    privileged: true
    restart: always
    ports:
      - 27118:27018
    command: mongod -f /mongod.conf
    volumes:
      - ${PWD}/shard1/mongod.conf:/mongod.conf
      - ${PWD}/shard1/data:/data
      - ${PWD}/mongodb.key:/mongodb.key
    entrypoint:
      - bash
      - -c
      - |
         chmod 400 /mongodb.key
         chown 999:999 /mongodb.key
         exec docker-entrypoint.sh $$@

mongod.conf
sharding:
  clusterRole: shardsvr
net:
  bindIpAll: true
  port: 27118
replication:
  replSetName: rs_shard_server_01
storage:
  dbPath: /data
  journal:
    enabled: true
security:
  keyFile: /mongodb.key
  authorization: enabled

login and cmd
mongo --host <IP_ADDRESS> --port 27118
rs.initiate({
_id: "rs_shard_server_01",
members: [
{ _id : 0, host : "<IP_ADDRESS>:27118" },
{ _id : 1, host : "<IP_ADDRESS>:27118" },
{ _id : 2, host : "<IP_ADDRESS>:27118" },
]
});
result message
{
"ok" : 0,
"errmsg" : "command replSetInitiate requires authentication",
"code" : 13,
"codeName" : "Unauthorized"
}

Duplicate of https://github.com/docker-library/mongo/issues/339
https://github.com/docker-library/mongo/issues/339#issuecomment-485578503
The docker-entrypoint-initdb.d scripts run during an initialization period (and only if the database is empty), during which the container is only listening on localhost so trying to initiate a cluster during that period isn't possible as it won't resolve it's own container hostname.


MIR tag, what does it mean?

Hi,
From stringtie merge output gtf, the column 9 of most genes are like gene_id MSTRG.17; transcript_id MSTRG.17.2; and fewer others are like gene_id MSTRG.76; transcript_id MIR2112; ref_gene_id MIR2112;. I believe they all new transcripts, but could you please let me know what is the difference between MIR and MSTRG in transcript_id? Thanks!!!
Hsinyen

I am pretty sure that is a transcript ID coming from the reference annotation file you used in the merge. That is likely a reference transcript that wasn't found to merge with any other transcripts so StringtTie just copied it over (obviously preserving the transcript ID). MIR# usually suggests a micro-RNA (http://www.mirbase.org/cgi-bin/mirna_summary.pl?fam=MIPF0001195 in this case, I guess)

You are correct. These are the miRNA genes. I don't know why they named it differently in the genome reference. Normally it should be something like "AT1G01010". Many thanks for your help!!!


Privacy on face_recognition

Hello, I am using face_recognition since a month, I just want to be sure of a thing. This library shares our face characteristics? I mean, will this library extract our videos and use it for some purposes like classifiation, specially in real time demo file? I am not a cospirancy theorist but I am afraid for my privacy. Please answare my question without joking me

This library runs entirely on your computer and doesn't use any cloud services. No data is collected (unless you wrote your own code to intentionally collect your own data of course).


Runtimes must be updated

In chapter 5, I have found several issues when pushing the code into prod and dev. CDK starts the deployment of the infrastructure, however it get stuck in a custom lambda because it says it is made to run on node js 14, which is no longer supported by AWS. Would it be possible to update the code to run lambdas in supported versions

I encountered this issue as well just now. I executed npx npm-check-updates -u to update all the npm packages for the infrastructure and am no longer encounter the issue. Unfortunately, I don't know which package was the culprit exactly.

Hey @daniel-bravo, please check out the solution mentioned above.
I am closing the issue now, if it does not work for you, please reopen the issue later.


Write a section into readme.MD to describe how to get Firebase config JSON

Currently there's no detailed guide how to retrieve and use the Firebase project config JSON file.

Solved in #36


Suspicious process creation analytics rule logic error

The problem
The "Process Creation with Suspicious CommandLine Arguments" analytics rule contains a type error on the 3rd line of the query where an array is passed to the todynamic() function, which only accepts strings. See first screenshot.
Additionally, the operations on the 4th and 5th lines of the query expect the same variable to be both a string and dynamic type. Please look at the 2nd screenshot for clarity.
To Reproduce
Steps to reproduce the behavior:

Open the rule in the analytics rule wizard
Go to set rule logic
Scroll down to the 3rd line of the query
See error

Screenshots
1

2

Hi @msamoi, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates. Thanks!

Hi @msamoi ,  please use the query below to check if your issue is resolved.
_ASim_ProcessEvent
| where EventType == 'ProcessCreated'
| extend CommandLineArgs = array_slice(split(CommandLine, " "), 1, -1)
| where array_length(CommandLineArgs) > 0
| mv-apply CommandLineArgs on (
where CommandLineArgs contains "base64"
)
| project
TimeGenerated,
DvcHostname,
DvcIpAddr,
DvcDomain,
TargetUsername,
TargetUsernameType,
TargetProcessName,
TargetProcessId,
CommandLine
| extend Username = iff(tostring(TargetUsernameType) == 'Windows', tostring(split(TargetUsername, '\')), TargetUsername)
| extend NTDomain = iff(tostring(TargetUsernameType) == 'Windows', tostring(split(TargetUsername, '\')), TargetUsername)
| extend Username = iff(tostring(TargetUsernameType) == 'UPN', tostring(split(TargetUsername, '@')), Username)
| extend UPNSuffix = iff(tostring(TargetUsernameType) == 'UPN', tostring(split(TargetUsername, '@')), '')

Hello,
Yes, the query does solve the issues described in the original post, however there are a few things I would like to point out:

This part in the last few lines: (split(TargetUsername, '\') there should be two \s in the quotation marks, as currently the \ escapes the last quote and breaks the query. So, (split(TargetUsername, '\\')
The query runs quite slowly. I waited 2 minutes for it to finish, but in the end I got impatient and cancelled the query instead. This query essentially checks if "base64" is present in the command line arguments. The current implementation splits the command into substrings, and checks if each substring contains the word "base64".

Isn't it faster to check each command's entire argument list at once, rather than each substring separately? I made a query based on this logic, and it finished in less than 10 seconds on the same data set. I still kept the array slicing to keep the query from matching "base64" with the command itself, instead of just the arguments:
| where EventType == 'ProcessCreated'
| extend CommandLineArgs = strcat_array(array_slice(split(CommandLine, " "), 1, -1), " ")
| where strlen(CommandLineArgs) > 0
| where CommandLineArgs contains "base64"
| project
TimeGenerated,
DvcHostname,
DvcIpAddr,
DvcDomain,
TargetUsername,
TargetUsernameType,
TargetProcessName,
TargetProcessId,
CommandLine
| extend Username = iff(tostring(TargetUsernameType) == 'Windows', tostring(split(TargetUsername, '\\')), TargetUsername)
| extend NTDomain = iff(tostring(TargetUsernameType) == 'Windows', tostring(split(TargetUsername, '\\')), TargetUsername)
| extend Username = iff(tostring(TargetUsernameType) == 'UPN', tostring(split(TargetUsername, '@')), Username)
| extend UPNSuffix = iff(tostring(TargetUsernameType) == 'UPN', tostring(split(TargetUsername, '@')), '')

Any thoughts?

Hi @msamoi,we are working on updating the query as per your suggestion and will also update the solution package. We will notify you once the PR is merged.

Hi @msamoi , We have updated the rule and the solution package. This new update will be available in solution version 3.0.1 soon.


minimatch deprecated

minimatch was updated in jshint, but the change has not been reflected in this repo.
is that ok?

Please fix the warnings
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   ├─┬<EMAIL_ADDRESS>│   │ └─┬<EMAIL_ADDRESS>│   │   └──<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>

This was fixed some time ago.

This still appears to be an issue. Just recently reinstalled too.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | `--<EMAIL_ADDRESS>| |   `--<EMAIL_ADDRESS>deduped
| +--<EMAIL_ADDRESS>| | `--<EMAIL_ADDRESS>deduped
| `--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| `--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | `--<EMAIL_ADDRESS>|   |   `--<EMAIL_ADDRESS>deduped
|   `--<EMAIL_ADDRESS>deduped
`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>    +--<EMAIL_ADDRESS>    | `--<EMAIL_ADDRESS>    |   `--<EMAIL_ADDRESS>    +--<EMAIL_ADDRESS>    | `--<EMAIL_ADDRESS>deduped
    `--<EMAIL_ADDRESS>

Doesn't come from jshint, check the dep tree you pasted.

Yea, that's correct. It's from phplint though.

It's unrelated to grunt-contrib-jshint.


Moved preview to the correct directory

Moved preview pics to the assets subdirectory

I think you need to update the snippet JSON file with the new paths if you change where they're located

The JSON file has the right path. It is the preview thumbnails that is in the wrong directory


Error when included in project with butterknife

in an app I'm slowly moving over to kotlin in Build.gradle I add in:
 kapt 'com.jakewharton:butterknife-compiler:8.5.1'
  compile 'com.jakewharton:butterknife:8.5.1'
  compile 'com.jakewharton:kotterknife:0.1.0-SNAPSHOT'

When I Build it fails with:
Error:Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lbutterknife/BuildConfig;
Error:com.android.dex.DexException: Multiple dex files define Lbutterknife/BuildConfig;
Error:	at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:608)
Error:	at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:563)
Error:	at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:545)
Error:	at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:167)
Error:	at com.android.dx.merge.DexMerger.merge(DexMerger.java:194)
Error:	at com.android.builder.dexing.DexArchiveMergerCallable.mergeDexes(DexArchiveMergerCallable.java:66)
Error:	at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:54)
Error:	at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:37)
Error:	at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
Error:	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
Error:	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
Error:	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
Error:	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Error:Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'.
> com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lbutterknife/BuildConfig;

same here but with:
compile 'com.jakewharton:butterknife:8.6.0'
compile 'com.jakewharton:kotterknife:0.1.0-SNAPSHOT'

I have the same problem with @RoryKelly
really need help

The error is saying that there are multiple inclusions of Butterknife. Have either of you tried removing butterknife from the dependency?

Yes Removing the butterknife dependency fixes the issue. Though if you have a large project and want to migrate to kotterknife it would be very useful to be able to use both simultaneously.
I have embedded the kotlin file in my project for now.

Is there any chance to avoid this problem? I got exact same error. I want to use 3rd party library, based on Java, which use Butterknife, but I already use in my project Kotterknife because it's fully written in Kotlin :(

I would file an issue with the library that uses ButterKnife or just not
use a library that forces you use ButterKnife. It's a terrible idea on the
authors part to include a library like that for their own library.
On Thu, Aug 24, 2017, 8:35 AM Maciej<EMAIL_ADDRESS>wrote:

Is there any chance to avoid this problem? I got exact same error. I want
to use 3rd party library, based on Java, which use Butterknife, but I
already use in my project Kotterknife because it's fully written in Kotlin
:(
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/kotterknife/issues/55#issuecomment-324636854,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYJ0hrYtPzisqE1nh09XR59t_PjdCO7ks5sbXwwgaJpZM4Nosc9
.


vue-template-compiler fails when parsing a template with a comment as a root node.

Version
2.5.22
Reproduction link
https://codesandbox.io/s/52k2p9po54
Steps to reproduce
Go to the codesandbox.
Try to parse the given template with comments on.
<template>
 <!-- here is a nice component template -->
 <button class="buttonComponent">click</button>
</template>

What is expected?
The comment AST node should be attached to the root object.
What is actually happening?
node_modules/vue-template-compiler/build.js:2469:21)
TypeError: Cannot read property 'children' of undefined

(currentParent is undefined)

I am going to try my hand at a PR. Wish me luck ;)

Ideally we would be able to retrieve this comment the normal way.
But this would mean creating an extra parentNode that I guess we do not want.
How about using the same syntax as babel parser? Use the "leadingComment" property for the node if there is a next sibling. traiingComment the same way.
This way, no need to attach it to a root that does not exist.
The fix would then be 2 fold.

check if there is a currentParent and if there is not, drop the comment.
add a leadingComment and a trailingComment property to each node.

My PR will tke care of 1. I can create another issue for 2.


Can't change the template

This is my .jsdoc.json
{
"tags": {
"allowUnknownTags": true,
"dictionaries": ["jsdoc", "closure"]
},
"opts": {
"template":"minami",
"encoding": "utf-8",
"destination": "./docs/",
"recurse": true
},
"templates":{
"path":"minami"
}
}
Why does it not resolve minami as the template?
It also does not work with values including
./node_modules/minami
when i set the layoutFile in templates.default to minami/tmpl/layout.tmpl it also does not work

This issue has been fixed in master, but has not yet been released to npm.
@mlucool, any timeline on that?

Published v1, closing. Please reopen if it's still an issue


Git repo not updated in docs

Hello
Here: https://docs.web3auth.io/quick-start?lang=flutter&chain=eth&customAuthentication=no&whitelabel=no&customLogin=no
You can see that the repository for the import points to torusresearch user, not Web3Auth.
If I apply the docs exactly as told the pub get doesn't finish fetching because the repository doesn't exist (or is a private one).
Please update the docs to link it to this repo, thank you

Hey @neokree thanks for filing the issue. We have recently updated our documentation and this particular has been moved to https://web3auth.io/docs/integration-builder?lang=flutter&chain=eth&customAuthentication=no&whitelabel=no&dynamicConstructorParams=no&usingEmailPasswordless=no&rnWorkflowMode=expo&evmFramework=web3
Can you delete your cache and try again if this url issue still exists?


Requesting to add 'Carbon Wallet' to the 'Wallets' category

Submission Notes: Please fill in the template below, and don't worry about exact formatting, just do your best! Use the Preview tab to check your submission before sending it. Help for region/country 2-letter codes are below.

Requesting to add 'Carbon Wallet' to the 'Wallets' category. Details follow:
- name: Carbon Wallet
      img:
      twitter: Carbon_wallet
      email_address<EMAIL_ADDRESS>      bch: Yes
      btc: Yes
      othercrypto: Yes
      doc: https://www.reddit.com/r/Bitcoincash/comments/7vg4is/carbon_wallet_now_live_with_support_for_bch/

I forgot to include the url above!

The following fields are missing:

url

/abc url http://carbonwallet.com/


Conflicting with other BLE plugins.

Hello, I'm using the plugin right now, but every time I turn it and my switchbot plugin on, I start getting errors. Turning off one or the other allows this the plugins to work correctly.
Here's the switchbot plugin I'm running.
CONFIG (redacted irrelevant parts):
    "accessories": [
        {
            "name": "door",
            "retries": 5,
            "macAddress": "DB:EE:1B:F9:F1:2A",
            "accessory": "SwitchBot-For-Mac"
        },
        {
            "name": "door-auto-off",
            "stateful": false,
            "reverse": false,
            "time": 3000,
            "resettable": false,
            "accessory": "DummySwitch"
        },
        {
            "name": "Lights-on (day)",
            "stateful": false,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        },
        {
            "name": "Lights-on (red)",
            "stateful": false,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        },
        {
            "name": "Lights-on (orange)",
            "stateful": false,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        },
        {
            "name": "Lights-on (adaptive)",
            "stateful": false,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        },
        {
            "name": "Z-Morning-lights",
            "stateful": false,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        },
        {
            "name": "freezer",
            "model": "not in list - try it anyway",
            "loglevel": 4,
            "accessory": "InkbirdBtTHSensor"
        }
    ],
    "platforms": [
        {
            "allowed_devices": [
                "02:46:bd:af:f2:ae"
            ],
            "scanning_timeout": 8,
            "hap_interaction_timeout": 90,
            "poll_interval": 300,
            "platform": "am43-blinds"
        }
    ],
}

Logs

Preparing Advertiser for '***' using bonjour-hap backend!
Setup Payload:
X-HM://0024LBU9UAYQD
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

[5/9/2021, 7:36:02 PM] [door] WoHand (DB:EE:1B:F9:F1:2A) was discovered
[5/9/2021, 7:36:09 PM] [am43-blinds] Stopped searching for AM43 Blinds, found 0 devices
[5/9/2021, 7:36:11 PM] [am43-blinds] Started scanning for AM43 blinds, stopping in 5 seconds
[5/9/2021, 7:36:14 PM] [am43-blinds] Found known AM43 Motor: Master Bedroom (02:46:bd:af:f2:ae)
[5/9/2021, 7:36:16 PM] [am43-blinds] Stopped searching for AM43 Blinds, found 1 devices
noble: unknown peripheral 0246bdaff2ae connected!
[5/9/2021, 7:36:17 PM] TypeError: Cannot set property 'mtu' of undefined
    at Noble.onMtu (/usr/lib/node_modules/homebridge-switchbot-for-mac/node_modules/@abandonware/noble/lib/noble.js:585:18)
    at NobleBindings.emit (events.js:315:20)
    at NobleBindings.onMtu (/usr/lib/node_modules/homebridge-switchbot-for-mac/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:291:8)
    at Gatt.emit (events.js:315:20)
    at Object.callback (/usr/lib/node_modules/homebridge-switchbot-for-mac/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:329:10)
    at Gatt.onAclStreamData (/usr/lib/node_modules/homebridge-switchbot-for-mac/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:133:26)
    at AclStream.emit (events.js:327:22)
    at AclStream.push (/usr/lib/node_modules/homebridge-switchbot-for-mac/node_modules/@abandonware/noble/lib/hci-socket/acl-stream.js:33:10)
    at NobleBindings.onAclDataPkt (/usr/lib/node_modules/homebridge-switchbot-for-mac/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:302:15)
    at Hci.emit (events.js:315:20)
    at Hci.onSocketData (/usr/lib/node_modules/homebridge-switchbot-for-mac/node_modules/@abandonware/noble/lib/hci-socket/hci.js:631:14)
    at BluetoothHciSocket.emit (events.js:315:20)
[5/9/2021, 7:36:17 PM] Got SIGTERM, shutting down Homebridge...
[5/9/2021, 7:36:17 PM] [am43-blinds] Homebridge is shutting down, disconnecting AM43 motors and saving state
noble: unknown peripheral 0246bdaff2ae disconnected!
[5/9/2021, 7:36:20 PM] [Homebridge UI] Homebridge restart request received
[5/9/2021, 7:36:20 PM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[5/9/2021, 7:36:20 PM] [Homebridge UI] Sending SIGTERM to Homebridge
[5/9/2021, 7:36:22 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[5/9/2021, 7:36:27 PM] [HB Supervisor] Restarting Homebridge...
[5/9/2021, 7:36:27 PM] [HB Supervisor] Starting Homebridge with extra flags: -I
[5/9/2021, 7:36:27 PM] [HB Supervisor] Started Homebridge v1.3.4 with PID: 3146
Initializing HAP-NodeJS v0.9.4...

This is probably unavoidable due to the way noble works where it's a shared resource: if plugin A starts listening for discovered devices & plugin B starts discovering devices then plugin A will be notified about the ones discovered in plugin B's discovery step.
Since noble is still the best node cross platform BLE library, even though the original developers abandoned it, all BLE homebridge plugins will likely suffer from some level of cross-talk & the bugs that present themselves from that.

So if you were to have one plug in (like yours) with multiple devices, do you think this issue would persist? I imagine people often want more than one device and aren’t using a dedicated pi for each device

"Each device" being an AM43 motor or "each device" being different BLE devices?
This plug-in can support as many AM43 devices as whatever's hosting your Homebridge can support (which for the Pi's built in Bluetooth is 10 I think).
If you're talking about different devices then yeah, until someone writes a better low level library for communicating to BLE from node JS then I think there's always going to be cross-talk causing bugs that are very hard to replicate.
Running separate child Homebridges on one device might be enough but if noble works the way I think it does then I doubt it'd help much.


[add] rutracker.org topic pages urlrewrite

Motivation for changes:
Get magnet url from rutracker.org topics.
Detailed changes:

get torrent hash from topic id: uses https://api.t-ru.org to get topic data
use it to reconstruct a magnet link

Config usage if relevant (new plugin or updated schema):
rutracker.org has an atom feed: http://feed.rutracker.cc/atom/f/0.atom
Log and/or tests output (preferably both):
I added a test in tests/test_urlrewriting.py. Not sure it's the best way to do it (and it requires online access: don't know if we want to mock the network call nor how to do it.
To Do:

[ ] maybe deprecate the old rutracker_auth plugin: I'm not sure it's that useful since torrents are public there, and my plugin creates magnet link without needing to really download .torrent files from rutracker.org.
[ ] maybe rename the file from site_rutracker.py to rutracker.py if the old plugin is removed, or merge both?

Could you please provide sample how to configure this staff?

Thanks @liiight for the review, I updated my PR with all your suggestions, and also added more features:

multi tracker (they seem to randomly generate one in 4, I generate all 4 (easier for the test, maybe I should random the order and/or follow what upstream does: send only one, but it seems less robust, but then tests are harder to do..))
topic title as Display Name in magnet uri, hoping it would help with some clients when magnetization timeouts.

If you have time, could you please reply to my questions in my initial comment? Thanks !

@githubbla It should work using their forum rss/atom feed: http://feed.rutracker.cc/atom/f/0.atom
If you also want music parsing I have a somewhat working version 0 there: https://github.com/Niluge-KiWi/Flexget/tree/dev-music
(usage: filter previous atom feed with an artist list)

@liiight If you have time, could you please reply to my questions in my initial comment? Thanks !

@Niluge-KiWi I'll try to respond ASAP

No urgency at all!
Le jeu. 11 juin 2020 à 23:30, Or Carmi<EMAIL_ADDRESS>a écrit :

@Niluge-KiWi https://github.com/Niluge-KiWi I'll try to respond ASAP
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Flexget/Flexget/pull/2609#issuecomment-642937620, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACAIY723RUGLXRRD6GOZUTRWFEJHANCNFSM4KZ6G34Q
.

@liiight last round of requested changes done!
Side note: most of your (valid) remarks also apply to other files in sites/*.py (notably site_1337.py), it's thus confusing from an external contributor: I mimic what I see in the project, notably I tried to validate with flake8 initially (as documented there https://flexget.readthedocs.io/en/latest/develop/index.html#code-style) but got many errors running it on sites/*.py, so I concluded it's not enforced in the CI/mandatory. Maybe cleaning these and enforcing more things in flake8/pep8/other checker if needed could remove this manual back and forth for 4 months. I do understand it would take time. But once it's enforced by CI checks it won't diverge again: it's a one-time cost. I could help if needed (autopep8/yapf hopefully can lift most of the work).
It would give you more time to answer deeper questions about code architecture than coding style.

@Niluge-KiWi thank you for your contribution!
You are absolutely right about the formatting issue. We do use pre-commit which runs black manually, I guess we should maybe just add it as a CI step and let it change and commit on its own. maybe...

Unfortunately this completely breaks external RSS feeds with direct torrent links to RuTracker. Can the old rutracker_auth plugin be restored and work in parallel with this?

@n00buk In that case wouldn't it be fine to just disable the url rewriting for the task?
disable:
  - urlrewriting

@BrutuZ, I might be doing it wrong, but it didn't work. Here is what i tried...
task-name:
  rss: {? key.rssurl ?}
  accept_all: yes
  rutracker_auth:
    username: \''{? key.rut_u ?}'\'
    password: \''{? key.rut_p ?}'\'
  set:
    path: '{? folder.ong_dl ?}'
  disable: urlrewriting
  transmission:
    host: localhost
    port: 9091
    ratio: -1
    username: '{? key.tr_u ?}'
    password: '{? key.tr_p ?}'

... and what I got ...
2020-07-08 22:05:47 INFO     transmission  task-name      Trying to connect to transmission...
2020-07-08 22:05:47 INFO     transmission  task-name      Successfully connected to transmission.
2020-07-08 22:05:47 VERBOSE  backlog       task-name      Added 3 entries from backlog
2020-07-08 22:05:47 VERBOSE  details       task-name      Produced 4 entries.
2020-07-08 22:05:47 VERBOSE  task          task-name      ACCEPTED: `torrent name 1` by accept_all plugin
2020-07-08 22:05:47 VERBOSE  task          task-name      ACCEPTED: `torrent name 2` by accept_all plugin
2020-07-08 22:05:47 VERBOSE  task          task-name      ACCEPTED: `torrent name 3` by accept_all plugin
2020-07-08 22:05:47 VERBOSE  task          task-name      ACCEPTED: `torrent name 4` by accept_all plugin
2020-07-08 22:05:47 CRITICAL plugin        task-name      Host unreachable.
2020-07-08 22:05:47 WARNING  task          task-name      Aborting task (plugin: rutracker_auth)


iOS 15 Doesn't Update Current Temperature in Real Time

Just wondering if you have noticed that ever since iOS 15, current temperatures are not updated in HomeKit until someone has opened the Home app. In other words: If you have an automation setup that is triggered by a change in temperature, the automation does not trigger until the Home app has been opened and the AC "tile" has been viewed allowing the current temperature to update.
Before iOS 15, current temperatures would update and trigger automations in real time without needing to open the Home app.
Any ideas for a workaround?

Hi, I'm on vacation. I'll check it out on weekend.

@hillaliy Have you had a chance to play around with this? Am I crazy or is this an issue for everyone else too? Thanks

Not yet

No Solution yet

I've observed this phenomenon and I got an off-the-shelf temperature probe to test it. I found a significant difference, it also doesn't seem to update all that regularly. I had it stuck at 0 degrees for a few hours last night for no apparent reason.

I don't think there's an easy solution aside from directly interfacing another sensor under the hood as Current Temperature is a required characteristic.
I'll update this thread and potentially create a PR when I figure out a workaround.

Hi, about the 0 degrees last night, there was a problem with Midea servers.
The sensor on the AC is not accurate.

Try latest version 1.4.4

I think it has been fixed, but I am waiting for the temperatures to get warmer here in California to do a proper test.
I did one test with an automation and it appeared to work, but it can be finicky. I will keep an eye on it and update here. Thanks!

Good to hear


Grid component: Helptext in text cells

Description
There has been multiple requests for helptext support in Grid cells that show text. Theoretically simple to implement, but this isn't a normal FieldSet (because we don't know which field(s) the text cell refers to).
Additional Information

https://altinn.slack.com/archives/C02FK32KVKJ/p1685532531583239

Alternatives:

Help text on text cell, no binding against input filed and text needs to be duplicated on input field for screen readers.
Property on text cell that holds a reference to the input field and uses the text and help text from that component


dump vtk: new vtkMesh dump, overwrite option and tests

new vtkMesh.dumphdf (and pytest tests)
overwrite option for vtkMesh.dumphdf and vtkList.dumphdf (if not new safe name is used and returned by the function)

We have to plan to modify the xdmf content dumping to take the new property item time.

hdf5 files written by cfdtools include a version number if a data 'type' is given.
version number is required is hdf5 file is recognized as written by cfdtools.


Chore/various

Added lint and build as pre-commit steps
Added watch script
Using correct version of prop-types (not proptypes)
Fixed linting issues (based on the existing linting rules)

@mcclowes Thanks for your pull request.


Make VS-based Android builds throw an error announcing deprecation

This change causes the VS-based Android build to throw an error announcing their deprecation. The warning can easily be silenced, and this will only affect the Android-targeting builds, but the goal of this change is to loudly warn folks that the projects will soon be removed.
Related to #573.

abandoning this PR to re-open from my new fork


Feature: add reorder_type_constraints option

This PR addresses #5116
It reorders constraints on generics alphabetically. Treatment of comments interleaved with constraints is yet to be done.
Tips for improvements, special test cases, etc, are highly appreciated.
Thanks to @ytmimi for tips on how to implement this feature.

Thank you for the PR!
I find myself wondering if we're going to end up needing to support additional flexibility as we've seen requested in other areas. I'll write up my thoughts on the original issue for broader consideration and we can take it from there

Going to mark this as on-hold for now as I think we need to get a clearer picture of what we're trying to solve for before we can really proceed with the implementation


Coverage: December 20, 2019 - January 6, 2020

After months of continuous shipping, most of us will take off the next couple of weeks. As in the last few years:

We will pause Insider builds. We will resume around January 6th, 2020
Issue triaging and responses will be slow and for some topic areas not happen at all.

Happy Coding!

Happy Holidays 🎄🎅 | Thank you for making the best code editor possible 💙

Happy Holidays VSCode team! Thanks for hard work! 🎄

Kamino cloned this issue to ChaseKnowlden/vscode


Add Title to ChartEditor

We should have a title that appears above the chart in the ChartEditor. Initially, it will be "Untitled". The user can update the title by clicking on the title area. The title should be stored in the chart config.

Fixed in feat/3


Java Edition 1.20.3

we do be cooking new update 🔥🔥🔥🔥

[ ] Upstream: sgui
[ ] Upstream: Economy API
[ ] Upstream: Fabric Loader + Fabric API
[ ] Update to Java Edition 1.20.3

As usual, Mojank dropped a new version during midnight. Oh boy...

I don't see sgui bump to 1.20.3 so I assume it works on 1.20.3. We'll see.
I expect Common Economy API to work because it doesn't touch the game code too much. I think it doesn't have mixins.


amplify push --yes does not generate GraphQL API file

Describe the bug
amplify push --yes does not create the default API src/app/API.service.ts. It renders .graphqlconfig.yml with no generated file name:
projects:
  myproject:
    schemaPath: src/graphql/schema.json
    includes:
      - src/graphql/**/*.js
    excludes:
      - ./amplify/**
    extensions:
      amplify:
        codeGenTarget: javascript
        generatedFileName: ''
        docsFilePath: src/graphql

When I run amplify push and interactively accept all the defaults, src/app/API.service.ts is generated and .graphqlconfig.yml correctly contains the default generated file name:
projects:
  mediatekaiotcom:
    schemaPath: src/graphql/schema.json
    includes:
      - src/graphql/**/*.graphql
    excludes:
      - ./amplify/**
    extensions:
      amplify:
        codeGenTarget: angular
        generatedFileName: src/app/API.service.ts
        docsFilePath: src/graphql

I tried the amplify push --codegen option, but this did not work, either. This command also generates no src/app/API.service.ts, and .graphqlconfig.yml with an empty generatedFileName:
amplify push --yes --codegen {\"generatedFileName\":\"src/app/API.service.ts\"}

Amplify CLI Version
Amplify 4.18.1
To Reproduce
Add a GraphQL API:
amplify add api

Select the answers shown below in bold:

Please select from one of the below mentioned services: GraphQL
Provide API name: myproject
Choose the default authorization type for the API Amazon Cognito User Pool
Do you want to configure advanced settings for the GraphQL API Yes, I want to make some additional changes.
Configure additional auth types? No
Configure conflict detection? No
Do you have an annotated GraphQL schema? No
Do you want a guided schema creation? Yes
What best describes your project: Single object with fields (e.g., “Todo” with ID, name, description)
Do you want to edit the schema now? Yes
Choose your default editor: Your choice

File schema.graphql will appear in the text editor that you chose. Replace the entire file contents with:
type User @model {
  id: ID!
  username: String!
  firstName: String
  lastName: String
  bio: String
  image: String
}

Save the file. Press :Enter: if necessary.
Push the API, specifying --yes:
amplify push --yes

Observe that in .graphqlconfig.yml, generatedFileName is empty, and no src/app/API.service.ts is generated.
Expected behavior
File .graphqlconfig.yml should contain,
generatedFileName: src/app/API.service.ts

and src/app/API.service.ts should be generated.
Screenshots
None.
Desktop (please complete the following information):

OS: Ubuntu 18.04 LTS
Node Version 12.16.2

Additional context
None

A workaround is to first copy a correct .graphqlconfig.yml to your project top directory, and then do amplify push --yes.

Workaround: the following works as amplify push --yes should work:
yes "" | amplify push


message_exts.rb:44:in `encode_json': Expected hash arguments

After git pull (now at 87dd32c02efcfeeffb908701cb159dd8840f9246), I get:
Guessed Notes Version: 16
org.openxmlformats.spreadsheetml.sheet is unrecognized ZTYPEUTI, please submit a bug report to this project's GitHub repo to report this: https://github.com/threeplanetssoftware/apple_cloud_notes_parser/issues
Updated AppleNoteStore object with 144 AppleNotes in 11 folders belonging to 1 accounts.
Adding the ZICNOTEDATA.ZPLAINTEXT and ZICNOTEDATA.ZDECOMPRESSEDDATA columns, this takes a few seconds
/Library/Ruby/Gems/2.6.0/gems/google-protobuf-3.13.0-universal-darwin/lib/google/protobuf/message_exts.rb:44:in `encode_json': Expected hash arguments. (ArgumentError)
	from /Library/Ruby/Gems/2.6.0/gems/google-protobuf-3.13.0-universal-darwin/lib/google/protobuf/message_exts.rb:44:in `to_json'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:224:in `generate'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:224:in `generate'
	from notes_cloud_ripper.rb:243:in `block (2 levels) in <main>'
	from notes_cloud_ripper.rb:242:in `open'
	from notes_cloud_ripper.rb:242:in `block in <main>'
	from notes_cloud_ripper.rb:230:in `each'
	from notes_cloud_ripper.rb:230:in `<main>'

Thanks for reporting this. I'll toss "Never merge a PR with a baby on your lap" into the after action and take a peek.

This stack trace is odd to me.  The error message looks like it was fixed in protobuf version 3.20 and based on that ticket, I'm still not finding a place where generate is called on anything besides a Hash. Empty Hashes should work as well.
The Protobuf gem has caused me a lot of headaches in the past in terms of breaking changes, but it might be worth seeing if you can get up to v3.20 at least. I also see you have Ruby 2.6, you might want to consider updating since even 2.7 (what I typically have aimed for supporting) is end of lifed at this point.
Did you bundle install after pulling down this release?

Ok, switching to 2.7 fixed it.

Thanks, I'll update the README and Gemfile to reflect that as being the new baseline.


Discord invalid invite link

When I click on the discord invite link on docs.flashbots.net a pages opens that says Invalid Invite: This invite may be expired or you might not have permission to join.
Discord support said that the receive the same error message as I do when trying to open that link. They provided a solution:

Could you ask one of the moderators to go to Server Settings > Invites and have them delete all previous invites they've created? They'll then be able to generate a new link by clicking the '+' icon next to the channel, or by heading to Server Settings > Invites > Create one.

I'm not able to ask a mod, since I'm not part of the discord yet so letting you guys know here.

Pining you @obadiaa, since you have responded to a similar issue before.

Seems like this link (https://discord.gg/flashbots) doesn't work, but this link does (https://discord.com/invite/7hvTycdNcK)


Fix device tracker to properly set latitude.

Fixed device tracker as it didn't get latitude properly before.

Can you please describe the problem you're experiencing?  I ask because this does return the proper latitude value (I use it daily) and is currently implemented with a StateTopic because without it, you don't get a reliable update of the value (i.e. whether you're home or not).  I'm also reasonably sure that without JSONAttributesTopic, the JSONAttributesTemplate doesn't know to be called as the underlying latitude changes.

It’s been two weeks without a response so I’m going to close this PR.  If you still find that there’s an issue without this change, please feel free to comment here or open another issue.


Amounts should not be rounded

Just tried giving 0.05$

We don't have to display $5 as $5.00though.


Remove unused reports css

I rule and have completed some work on Case Manager that's ready for review!
We deprecated the reporting endpoint since it never really worked terribly well. The routing is still set up, but it doesn't really yield anything useful.
The CSS is similarly overtaken by events, so let's just strip it and start fresh when we do overhaul the endpoint.
This pull request makes the following changes:

remove unused reports css

no view changes
It relates to the following issue #s:

Bumps #1855

For reviewer:

Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:

feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.

If it contains neither, no need to tag this PR.

Codecov Report

Merging #2102 (56c93c1) into main (d7d0527) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2102   +/-   ##
=======================================
  Coverage   96.15%   96.15%
=======================================
  Files          79       79
  Lines        1846     1846
=======================================
  Hits         1775     1775
  Misses         71       71

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 d7d0527...56c93c1. Read the comment docs.


Fix external links in navbar

Feedback
I tested this fix by the link in the menu to my project’s GitHub - it works. Great!


OTG Test Update - TE-15.1

This is an update to the test to use the attrs.AddToOTG helper merged in #605
Fixes #596

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1462

Relevant Lines:
2012

💛  - Coveralls

/gcbrun


Using Billing API Key

Hi, is it possible to use Billing API key from EA portal ? I cannot find this option in authentication dialog.

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

ID: 97d9cf44-77fd-5d70-0d6f-d7cefc1458c6
Version Independent ID: 62c502c1-1831-c94e-d804-f71cb6a569a3
Content: Connect to Azure Cost Management data in Power BI Desktop - Power BI
Content Source: powerbi-docs/desktop-connect-azure-cost-management.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

I'm refering this API key https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/enterprise-api#enabling-data-access-to-the-api
It was possible to use it for previous version of PowerBI Consumption Insights report

I think this is critical to enable the billing key api , with this new connector , many roles in an EA use this to control costs

Thanks for your comment. We’ve forwarded your feedback to the writer, who should respond to this thread shortly. Thanks!

Can we get an update on this? It's blocking us from creating a dashboard since not all users have credentials to authenticate to Azure EA portal.

@alexdrenea , @mblanco77 , @jjindrich
The EA API  key isn’t supported by the connector. Azure service principal support is being investigated for possible future support, but currently is not supported.

Has there been any development since May on this?


Simplification of AWS Storage Classes now missing gp2-csi and gp3-csi classes

Describe the bug
When running the deployer on AWS, it failed with the following failure:-
TASK [get-openshift-storage : Check if block storage class exists in OpenShift] ***
Wednesday 15 May 2024  13:51:33 +0000 (0:00:00.568)       0:40:08.782 *********
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get sc gp2", "delta": "0:00:00.187320", "end": "2024-05-15 13:51:33.869749", "msg": "non-zero return code", "rc": 1, "start": "2024-05-15 13:51:33.682429", "stderr": "Error from server (NotFound): storageclasses.storage.k8s.io \"gp2\" not found", "stderr_lines": ["Error from server (NotFound): storageclasses.storage.k8s.io \"gp2\" not found"], "stdout": "", "stdout_lines": []}

To Reproduce
Run the Deployer on AWS IPI and
Specify storage_type: aws-elastic in ocp.yaml file
Expected behavior
The code should find either gp2-csi or gp3-csi, but it's only finding gp2 which doesn't exist

Tried running with fixes in fk-misc branch and got further issues:-
`TASK [Get OpenShift storage classes to use for dm and storage class name manta1-elastic] ***
Thursday 16 May 2024  00:51:48 +0000 (0:00:00.364)       0:39:00.769 **********
ERROR! conflicting action statements: set_fact, ocp_storage_class_file
The error appears to be in '/cloud-pak-deployer/automation-roles/40-configure-infra/get-openshift-storage/tasks/main.yml': line 87, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:

block:

set_fact:
^ here

PLAY RECAP *********************************************************************
localhost                  : ok=737  changed=94   unreachable=0    failed=0    skipped=346  rescued=0    ignored=0
Thursday 16 May 2024  00:51:48 +0000 (0:00:00.080)       0:39:00.849 **********
provision-aws : Run IPI installer for OpenShift cluster manta1, logs are in /root/cpd-status/log/manta1-create-cluster.log  1913.11s
cp4d-variables : Run list-components command --------------------------- 90.94s
openshift-download-installer : Download OpenShift installer "https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest-4.14/openshift-install-linux.tar.gz" -- 32.74s
openshift-download-installer : Unpack OpenShift installer -------------- 23.58s
openshift-download-installer : Unpack OpenShift installer -------------- 22.43s
cpd-cli-download : Unpack cpd-cli from /root/cpd-status/downloads/cpd-cli-linux-amd64.tar.gz -- 16.48s
nfs-storage-class : Wait 15 seconds for the dynamic NFS client to deploy -- 15.06s
aws-download-cli : Install aws client ----------------------------------- 7.14s
openshift-download-client : Download OpenShift client "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest-4.14/openshift-client-linux.tar.gz" --- 6.64s
openshift-download-client : Unpack OpenShift client from /root/cpd-status/downloads/openshift-client-linux.tar.gz-4.14 --- 6.03s
aws-download-cli : Unpack aws-cli client installer ---------------------- 5.96s
openshift-download-client : Unpack OpenShift client from /root/cpd-status/downloads/openshift-client-linux.tar.gz-4.14 --- 5.64s
aws-download-rosa : Download ROSA client "https://mirror.openshift.com/pub/openshift-v4/clients/rosa/latest/rosa-linux.tar.gz" --- 4.66s
openshift-download-client : Unpack OpenShift client from /root/cpd-status/downloads/openshift-client-linux.tar.gz-4.14 --- 4.32s
cpd-cli-download : Download latest cpd-cli release ---------------------- 4.03s
provision-aws : Create mount target for file server manta1-elastic and subnet subnet-086d525e6d90c34f0 --- 2.66s
openshift-download-installer : Check if OpenShift installer version 4.14 was already downloaded --- 2.59s
provision-aws : Create mount target for file server manta1-elastic and subnet subnet-03b741fc15a4cc454 --- 2.56s
provision-aws : Get existing file systems ------------------------------- 2.55s
provision-aws : Create NFS security group rule if not existent ---------- 2.50s
====================================================================================
Deployer FAILED. Check previous messages. If command line is not returned, press ^C.
[root@manta1-bastion cloud-pak-deployer]#
`

Fixed, committed in fk-misc branch

Confirm that this issue is resolved


Support import assertions

https://github.com/tc39/proposal-import-assertions/pull/103

cc @littledan

I would note in the design rationales that we would not be able to enforce import assertions in a virtualized module loader if we did not encapsulate the linker.

Following https://github.com/tc39/proposal-compartments/pull/71's design, I think import assertions fit nicely as new parameters of new Module.

NOTE: By "host" I mean either a real host or a loader/virtual host

The import assertions proposal has two goals:

hosts can only know about the assertions they know how to handle
import assertions must not affect how a module is loaded/executed, but they can only prevent a module from being executed (or from being "exposed" if it has already been executed)

while for (2) we can "trust" hosts to not make assertions affect module loading/execution (otherwise they are not ECMAScript-compliant), I think for loaders we must enforce it explicitly.
The Module constructor could accept two new parameters (or probably an options bag): new Module(source, importHook, importMeta, supportedAssertions, applyAssertions).

supportedAssertions is an array of strings, representing the assertion names supported by the host (HostGetSupportedImportAssertions() in the proposal)
applyAssertions(module: Module, assertions: { [name: string]: string }) is a function that throws an error if the imported module does not match the provided assertions
supportedAssertions and applyAssertions are both optional and default to [] and () => {}, but if you provide one you must provide the other

import would then behave like this:
declare var importHook, importMeta, supportedAssertions, applyAssertions;

async function import(specifier, { assert: inputAssertions = {} } = {}) {
  const resolvedAssertions = Object.create(null);
  for (const [key, value] of Object.entries(inputAssertions)) {
    if (supportedAssertions.includes(key)) resolvedAssertions[key] = value;
  }

  const module = await importHook(specifier, importMeta);
  applyAssertions(module, resolvedAssertions);

  return loadDependencies_link_evaluate(module);
}

For example, if we wanted to implement a virtual host that only supports JavaScript and JSON module, and forces you to use type: "json" when importing JSON modules, you could do something like this:
function loadHook(specifier, importMeta) {
  const source = /* magic loading */;
  const newImportMeta = /* magic logic */;
  return new Module(source, loadHook, supportedAssertions, applyAssertions);
}
const supportedAssertions = ["type"];
function applyAssertions(module, assertions) {
  if (assertions.type === "json") {
    if (module.source instanceof JsonModuleSource) return;
    throw new TypeError("It's not a JSON module");
  }
  if (!assertions.type || assertions.type === "javascript") {
    if (module.source instanceof JavaScriptModuleSource) return;
    throw new TypeError("It's not a JavaScript module");
  }
  throw new TypeError("Unsupported type assertion: " + assertions.type);
}

// bootstrap
const entrypoint = new Module(entrypointSource, loadHook, entrypointImportMeta, supportedAssertions, applyAssertions);
await import(entrypoint);


Add --package option

Closes #34
NOTE: This is still incomplete. See #36 for more.

bors r+

bors r+


TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head

I used the latest helm charts and I am trying to connect to an external mysql db  (this is a clean db)
but I am getting error related to wait-for-db-migration not completing.
do you know what's the fix here? thanks
 File "/home/airflow/.local/lib/python3.8/site-packages/airflow/cli/commands/db_command.py", line 54, in check _migrations     db.check_migrations(timeout=args.migration_wait_timeout)   File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/db.py", line 616, in check_migrations     raise TimeoutError( TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'d2ae31099d61'} | Migration Head(s) in Source Code: {'a13f7613ad25'}
airflow: 2.1.1-python3.8   legacyCommands: false
and I have set this    - "exec airflow db check-migrations -t 600"

I used the latest helm charts and I am trying to connect to an external mysql db (this is a clean db)
but I am getting error related to wait-for-db-migration not completing.
do you know what's the fix here? thanks
 File "/home/airflow/.local/lib/python3.8/site-packages/airflow/cli/commands/db_command.py", line 54, in check _migrations db.check_migrations(timeout=args.migration_wait_timeout) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/db.py", line 616, in check_migrations raise TimeoutError( TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'d2ae31099d61'} | Migration Head(s) in Source Code: {'a13f7613ad25'}
airflow: 2.1.1-python3.8 legacyCommands: false
and I have set this  - "exec airflow db check-migrations -t 600"

@gowdra01 I am fairly sure that PR https://github.com/airflow-helm/charts/pull/345 will address this.
For more context, read issue https://github.com/airflow-helm/charts/issues/317, but the brief is that sometimes the current Job to run airflow db upgrade doesn't run due to a helm bug, so I have implemented a Deployment which perpetually checks if airflow db upgrade needs to be run.
This feature will be in 8.5.0 of the chart, to be released today/tomorrow.

@gowdra01 I believe that this should be resolved in version 8.5.0 of the chart, can you verify this?


Add JS Order Fan-out Example

#29  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @thisisgoldman and the rest of your teammates on  Graphite


Add new NLP tools/libraries for Vietnamese

PhoBERT - pretrained language models for Vietnamese
pyvi - high performance tokenizer for Vietnamese language

Thanks for the contribution @ngoquanghuy99 !


setLockDrag(true) not working.

Hello, First thanks for your good work. I really want to appreciate you.
Currently I am getting one issue. When I am trying to disable swipe. That is not working. I try to debug and find out mLockDrag is setting true. But when swipe listener calls inside mLockDrag value is false. Can you check. Thanks

@Hafiz-Waleed-Hussain I ran into the same but found that using the ViewBinderHelper.setLock(String...id) works. I have this implemented in the OnBindView() of the Adapter.
Sample:

Hope it helps :]


Only set latest tag on version bump

Description of the change
Per Title. #230 indicates folks are using the latest tag. While this isn't best practice, we should probably avoid breaking their setups, and lean on vmaster for the unstable version.
This PR should make it so we only push to latest on version release.
Note: This is pretty tough to test, so I'm not super confident in it. If you want to just approve, I can merge it, that way I can be around when it lands and fix any issues that crop up.
Benefits

Possible drawbacks

Applicable issues

ref: #230

Additional information

Oh, also, this should land after #231, so we can make sure the latest build is functioning.


Fix markdown syntax error.

fixed ac2bf31b55b29350ecd90e1e5dbf13b7d1eca743
Thanks

Julien pointed to the wrong PR, the fix was actually 4afa2d1.

Strange, 4afa2d1 is later than this PR. #5 is the same situation.
You or the team wish the other folks just create issue instad of create PR?
That's ok, say it straight.

We are still working on the flow to accept PRs from Github.  Because those were quite small typo fixes in the documentation, I fixed them internally and exported the commit.
We will have the flow to properly accept Github PRs soon.


asahi-nvram thread 'main' panicked at asahi-nvram/src/main.rs:65:10:

Hello,
I really enjoyed asahi-bless before it broke a couple of days ago. I figured that asahi-bless is changing nvram variables, so I tried asahi-nvram and got this:
asahi-nvram
thread 'main' panicked at asahi-nvram/src/main.rs:65:10:
called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
0:     0xaaab8bedee78 -
1:     0xaaab8beae3e8 -
2:     0xaaab8bebdb0c -
3:     0xaaab8bee2568 -
4:     0xaaab8bee2d50 -
5:     0xaaab8bee27e4 -
6:     0xaaab8bee2760 -
7:     0xaaab8bee2754 -
8:     0xaaab8be69e28 -
9:     0xaaab8be6a104 -
10:     0xaaab8be743d4 -
11:     0xaaab8be6bd2c -
12:     0xaaab8be730c0 -
13:     0xffff2c068434 -
14:     0xffff2c068508 - __libc_start_main
15:     0xaaab8be6bc30 -
16:                0x0 -
Aborted
I am running this on Apple M1 2020 macbook air. Some system info:
qlist -IRv | grep nvram
sys-apps/asahi-nvram-0.2.3::gentoo
uname -r
6.11.6-p2-asahi-dist
lsb_release -a
LSB Version:    n/a
Distributor ID: Gentoo
Description:    Gentoo Linux
Release:        2.17
Codename:       n/a

What is the result of running ls /dev/mtd/by-name/ on your machine?

I don't have it. I only have /dev/mtd0 and /dev/mtd0ro which are both files. Am i missing a driver?

Can you make extra sure that you are running the latest version of m1n1, latest kernel, and so on. Also make sure you run the update-m1n1 script

As for update-m1n1, seems like I run it more often than necessary. m1n1 and kernel are provided by the overlay maintainers and are usually a bit out of date. As changing kernel involves updating m1n1, I prefer not to switch kernels out of fear to render machine unbootable. That is also why I do not have the latest and greatest. So I guess I'll just wait for an update. Thanks!

What's the result of udevadm info -a /dev/mtd0? The "/dev/mtd/by-name/*" symlinks are  created by /usr/lib/udev/rules.d/60-persistent-storage-mtd.rules

I don't have 60-persistent-storage-mtd.rules in /usr/lib/udev/rules.d
udevadm:
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

 looking at device '/devices/platform/soc/235104000.spi/spi_master/spi0/spi0.0/mtd/mtd0':
   KERNEL=="mtd0"
   SUBSYSTEM=="mtd"
   DRIVER==""
   ATTR{bad_blocks}=="0"
   ATTR{bbt_blocks}=="0"
   ATTR{bitflip_threshold}=="0"
   ATTR{corrected_bits}=="0"
   ATTR{ecc_failures}=="0"
   ATTR{ecc_step_size}=="0"
   ATTR{ecc_strength}=="0"
   ATTR{erasesize}=="65536"
   ATTR{flags}=="0xc00"
   ATTR{name}=="nvram"
   ATTR{numeraseregions}=="0"
   ATTR{offset}=="7340032"
   ATTR{oobavail}=="0"
   ATTR{oobsize}=="0"
   ATTR{power/control}=="auto"
   ATTR{power/runtime_active_time}=="0"
   ATTR{power/runtime_status}=="unsupported"
   ATTR{power/runtime_suspended_time}=="0"
   ATTR{size}=="1048576"
   ATTR{subpagesize}=="1"
   ATTR{type}=="nor"
   ATTR{writesize}=="1"

 looking at parent device '/devices/platform/soc/235104000.spi/spi_master/spi0/spi0.0':
   KERNELS=="spi0.0"
   SUBSYSTEMS=="spi"
   DRIVERS=="spi-nor"
   ATTRS{driver_override}==""
   ATTRS{power/control}=="auto"
   ATTRS{power/runtime_active_time}=="0"
   ATTRS{power/runtime_status}=="unsupported"
   ATTRS{power/runtime_suspended_time}=="0"
   ATTRS{spi-nor/jedec_id}=="c22537"
   ATTRS{spi-nor/manufacturer}=="macronix"
   ATTRS{spi-nor/partname}=="mx25u6435f"
   ATTRS{statistics/bytes}=="7"
   ATTRS{statistics/bytes_rx}=="6"
   ATTRS{statistics/bytes_tx}=="1"
   ATTRS{statistics/errors}=="0"
   ATTRS{statistics/messages}=="1"
   ATTRS{statistics/spi_async}=="0"
   ATTRS{statistics/spi_sync}=="1"
   ATTRS{statistics/spi_sync_immediate}=="1"
   ATTRS{statistics/timedout}=="0"
   ATTRS{statistics/transfer_bytes_histo_0-1}=="1"
   ATTRS{statistics/transfer_bytes_histo_1024-2047}=="0"
   ATTRS{statistics/transfer_bytes_histo_128-255}=="0"
   ATTRS{statistics/transfer_bytes_histo_16-31}=="0"
   ATTRS{statistics/transfer_bytes_histo_16384-32767}=="0"
   ATTRS{statistics/transfer_bytes_histo_2-3}=="0"
   ATTRS{statistics/transfer_bytes_histo_2048-4095}=="0"
   ATTRS{statistics/transfer_bytes_histo_256-511}=="0"
   ATTRS{statistics/transfer_bytes_histo_32-63}=="0"
   ATTRS{statistics/transfer_bytes_histo_32768-65535}=="0"
   ATTRS{statistics/transfer_bytes_histo_4-7}=="1"
   ATTRS{statistics/transfer_bytes_histo_4096-8191}=="0"
   ATTRS{statistics/transfer_bytes_histo_512-1023}=="0"
   ATTRS{statistics/transfer_bytes_histo_64-127}=="0"
   ATTRS{statistics/transfer_bytes_histo_65536+}=="0"
   ATTRS{statistics/transfer_bytes_histo_8-15}=="0"
   ATTRS{statistics/transfer_bytes_histo_8192-16383}=="0"
   ATTRS{statistics/transfers}=="2"
   ATTRS{statistics/transfers_split_maxsize}=="0"

 looking at parent device '/devices/platform/soc/235104000.spi/spi_master/spi0':
   KERNELS=="spi0"
   SUBSYSTEMS=="spi_master"
   DRIVERS==""
   ATTRS{power/control}=="auto"
   ATTRS{power/runtime_active_time}=="0"
   ATTRS{power/runtime_status}=="unsupported"
   ATTRS{power/runtime_suspended_time}=="0"
   ATTRS{statistics/bytes}=="7"
   ATTRS{statistics/bytes_rx}=="6"
   ATTRS{statistics/bytes_tx}=="1"
   ATTRS{statistics/errors}=="0"
   ATTRS{statistics/messages}=="1"
   ATTRS{statistics/spi_async}=="0"
   ATTRS{statistics/spi_sync}=="1"
   ATTRS{statistics/spi_sync_immediate}=="1"
   ATTRS{statistics/timedout}=="0"
   ATTRS{statistics/transfer_bytes_histo_0-1}=="1"
   ATTRS{statistics/transfer_bytes_histo_1024-2047}=="0"
   ATTRS{statistics/transfer_bytes_histo_128-255}=="0"
   ATTRS{statistics/transfer_bytes_histo_16-31}=="0"
   ATTRS{statistics/transfer_bytes_histo_16384-32767}=="0"
   ATTRS{statistics/transfer_bytes_histo_2-3}=="0"
   ATTRS{statistics/transfer_bytes_histo_2048-4095}=="0"
   ATTRS{statistics/transfer_bytes_histo_256-511}=="0"
   ATTRS{statistics/transfer_bytes_histo_32-63}=="0"
   ATTRS{statistics/transfer_bytes_histo_32768-65535}=="0"
   ATTRS{statistics/transfer_bytes_histo_4-7}=="1"
   ATTRS{statistics/transfer_bytes_histo_4096-8191}=="0"
   ATTRS{statistics/transfer_bytes_histo_512-1023}=="0"
   ATTRS{statistics/transfer_bytes_histo_64-127}=="0"
   ATTRS{statistics/transfer_bytes_histo_65536+}=="0"
   ATTRS{statistics/transfer_bytes_histo_8-15}=="0"
   ATTRS{statistics/transfer_bytes_histo_8192-16383}=="0"
   ATTRS{statistics/transfers}=="2"
   ATTRS{statistics/transfers_split_maxsize}=="0"

 looking at parent device '/devices/platform/soc/235104000.spi':
   KERNELS=="235104000.spi"
   SUBSYSTEMS=="platform"
   DRIVERS=="apple-spi"
   ATTRS{driver_override}=="(null)"
   ATTRS{power/control}=="auto"
   ATTRS{power/runtime_active_time}=="6"
   ATTRS{power/runtime_status}=="suspended"
   ATTRS{power/runtime_suspended_time}=="55886"

 looking at parent device '/devices/platform/soc':
   KERNELS=="soc"
   SUBSYSTEMS=="platform"
   DRIVERS=="simple-pm-bus"
   ATTRS{driver_override}=="(null)"
   ATTRS{power/control}=="auto"
   ATTRS{power/runtime_active_time}=="0"
   ATTRS{power/runtime_status}=="unsupported"
   ATTRS{power/runtime_suspended_time}=="0"

 looking at parent device '/devices/platform':
   KERNELS=="platform"
   SUBSYSTEMS==""
   DRIVERS==""
   ATTRS{power/control}=="auto"
   ATTRS{power/runtime_active_time}=="0"
   ATTRS{power/runtime_status}=="unsupported"
   ATTRS{power/runtime_suspended_time}=="0"

equery b /usr/lib/udev/rules.d/60-persistent-storage-mtd.rules
 * Searching for /usr/lib/udev/rules.d/60-persistent-storage-mtd.rules ...
sys-apps/systemd-256.9 (/usr/lib/udev/rules.d/60-persistent-storage-mtd.rules)

I take it you run openrc?

correct

You should ask the openrc maintainers to include the relevant udev rules (or switch to systemd :P). For now, here are the contents of the relevant file on my system, you can add it to your udev rules.
# do not edit this file, it will be overwritten on update

# persistent storage links: /dev/mtd/by-name

ACTION=="remove", GOTO="persistent_storage_mtd_end"
SUBSYSTEM!="mtd", GOTO="persistent_storage_mtd_end"
KERNEL!="mtd[0-9]*", GOTO="persistent_storage_mtd_end"
KERNEL=="mtd[0-9]*ro", GOTO="persistent_storage_mtd_end"

ATTR{name}=="?*", SYMLINK+="mtd/by-name/$attr{name}"

LABEL="persistent_storage_mtd_end"

that worked, thanks a lot!


[Suggestion]Can add a config to close tooltip of elytra?

I don't need a tooltip to show what the elytra can do, maybe most players should be same as me(Some other mods or features will add more tooltips to elytra, causing the tooltip to be very long)
Moreover, the "Enables" in the tooltip of the elytra is not translatable, it shows "Enables other_lang(elytra flying)", which is inconsistent in other language environments, so i need to close it
The translation of "apothic_attributes.value.boolean.enable" doesn't work

Can you send an image of what you're talking about?

I wanna disable the tooltips(when on body: enables elytra flight) of elytra


Create a DAO for carbon accounting

We need to create a DAO around Carbon.sol smart contract.
Because we need to account carbon on global scale, the DAO needs to implement holographic consensus.
It can be either a DAOstack DAO or Aragon with https://github.com/ajsantander/hc (or another variant you may devise).
Also the smart contracts in this repository need to be audited. (Maybe, we do it later using DAO's funds.)
DAO needs to be deployed on a low-carbon blockchain such as Gnosis Chain.

godgeema's submission is a spam.


Release/1.0.1

I addressed your feedback and had to open a new PR at https://github.com/snowplow/scala-forex/pull/189 to reflect release version in branch name, hence closing this PR


Completion Problem due to Parser Error

Hi,
I have a problem with the auto completion for my DSL.
I have following grammar:
entry Model:
    (structs+=Struct | attributes+=Attribute)*;

Attribute:
    '@' id=INT 'attribute' name=ID;

Struct:
    'struct' name=ID '{'
        (members+=Member)*
    '}';

Member:
    StringMember | IntegerMember;
fragment MemberDetails:
    '@' id=INT
    name=ID ':';

IntegerMember:
    MemberDetails
    (type='uint' | type='int');

StringMember:
    MemberDetails
    (type='string' | type='nanoid');

When I define a member inside a struct in this language, I expect to get a proposal of one of the specific types (int, uint, string, nanoid) but this is not working:

Instead, I get a proposal for the attribute where it is not expected, see here:

The struct member is parsed correcly only if its definition is complete. Obviously, then it is to late for auto completion.
I had a look if it is maybe a problem of the completion provider, but it seems that already the parser is causing the problem. The parser somehow parses the member as attribute.
I tested with langium version: 2.1.0

Hey @csalve,
yeah, looking at the CST that is being produced by the given input, I can definitely see that it tries to generate a Attribute node instead of continuing with the Struct rule.
Given that we have limited influence on the error recovery in Langium, I would instead recommend to restructure your grammar a bit. The main issue here is that you have an alternative with a fairly large prefix:

By removing this prefix, we can get a way better completion result:

See the improved grammar below:

entry Model:
    (structs+=Struct | attributes+=Attribute)*;

Attribute:
    '@' id=INT 'attribute' name=ID;

Struct:
    'struct' name=ID '{'
        (members+=Member)*
    '}';

Member:
    '@' id=INT
    name=ID ':' ({infer IntegerMember} (type='uint' | type='int') |
                 {infer StringMember} (type='string' | type='nanoid'));

@msujew Thanks for your help.
The improved grammar solves the issue with the parser but opens two new problems.
I tried to implement your suggestion in two different ways and both of them lead to problems/errors with the ast.
Using Interfaces
The documentation tells me, that it is good practice to define interface types.
So I did:
interface IntegerMember {
    type:string
}
interface StringMember {
    type:string
}
Member:
    '@' id=INT
    name=ID ':'
    (
        {IntegerMember} (type='uint' | type='int') |
        {StringMember} (type='string' | type='nanoid')
    );

But the generated AST does not give me the possibility to access the 'type' variable.
There is no relation between IntegerMember and Member:
export interface IntegerMember extends AstNode {
    readonly $type: 'IntegerMember';
    type: string
}

export interface Member extends AstNode {
    readonly $container: Struct;
    readonly $type: 'Member';
    id: number
    name: string
}

Infer types without interfaces
Using the improved grammar as above creates a good AST:
export interface Member extends AstNode {
    readonly $type: 'IntegerMember' | 'Member' | 'StringMember';
    id: number
    name: string
}

export interface IntegerMember extends Member {
    readonly $type: 'IntegerMember';
    type: 'int' | 'uint'
}

export interface StringMember extends Member {
    readonly $type: 'StringMember';
    type: 'nanoid' | 'string'
}

Problem here: The 'name' and 'id' of the Member struct is never set:

In both described cases, langium violates the type system.

@csalve Right, I forgot that using the actions syntax removes all previous properties. We kind of inherited that behavior from Xtext and never bothered to change it. You should be good without using it:
Member:
    '@' id=INT
    name=ID ':'
    (
        type='uint' | type='int' |
        type='string' | type='nanoid'
    );

You can write your own isStringMember function if you need to that checks the value of the type property on a Member type.

Since this is a known (but unfixable on our side) issue, and it can be worked around by improving the grammar design, I'll close this.


Can you use .hx files with the .exe build of the engine?

What is your question?
I've been thinking of making custom GUI, but I need to know if I can truly do it.

i dont think you can source code contains all .hx files there is no source folder in exe so i say 90% is a no

Nope. Your gonna have to somehow edit the ndll file. (which is practically impossible)
I think you would rather learn haxe, wouldn't u.

yea...

What is your question?
I've been thinking of making custom GUI, but I need to know if I can truly do it.

I might ask for the source folders to be read off of in a source folder

you cant but you can fork them with lua its easy

you cant but you can fork them with lua its easy

Hold up how?