Added setMessageReaction

[x] All tests pass
[x] I have run npm run doc

Description

Added implementation of setMessageReaction telegram api
References

Issue: https://github.com/yagop/node-telegram-bot-api/issues/1012

We have this method already from other more old pull request. Thank you also for your contribution ✋
Note: It is not necessary to use "JSON.stringify", in the library we use the "stringify" helper function

Is there any info how it is called now? Can't find any

We have this method already from other more old pull request. Thank you also for your contribution ✋
Note: It is not necessary to use "JSON.stringify", in the library we use the "stringify" helper function

Is there any info how it is called now? Can't find any

Is the method setMessageReaction
Include since the 0.65 version:
https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md#06500650---2024-02-20

We have this method already from other more old pull request. Thank you also for your contribution ✋
Note: It is not necessary to use "JSON.stringify", in the library we use the "stringify" helper function

Is there any info how it is called now? Can't find any

Is the method setMessageReaction
Include since the 0.65 version:
https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md#06500650---2024-02-20
Use example:
bot.setMessageReaction(chatId, messageId, options)
Note: options will be an object with the optional params that you can see in the telegram bot api docs.
 Reference: https://core.telegram.org/bots/api#setmessagereaction

OOOOOH, I GET IT NOW. The version of types package is ^0.64.7, that is the reason why I don't get any suggestions with types. But the package itself is version 0.66


Cannot install gotk3 using either go get or go install

Under Ubuntu Cinnamon, I get the followiing result:
dick@dick1:~$ go version
go version go1.18.1 linux/amd64
dick@dick1:~$ go get github.com/gotk3/gotk3/gtk
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
dick@dick1:~$ go install github.com/gotk3/gotk3/gtk@latest
package github.com/gotk3/gotk3/gtk is not a main package
Under Windows 10 I get the same result:
C:\Windows\System32>go version
go version go1.19 windows/amd64
C:\Windows\System32>go get github.com/gotk3/gotk3/gtk
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
C:\Windows\System32>go install github.com/gotk3/gotk3/gtk@latest
package github.com/gotk3/gotk3/gtk is not a main package

github.com/gotk3/gotk3/gtk is only used inside the .go file
import (
	"github.com/gotk3/gotk3/gtk"
)

Please try again with
go install github.com/gotk3/gotk3 or go get github.com/gotk3/gotk3 for v0.6.1
or
go install github.com/gotk3/gotk3@master or go get github.com/gotk3/gotk3@master for v0.6.2-0.20220628045702-d885f48a5492

Trying that, I get:
dick@dick1:~/src$ go install<EMAIL_ADDRESS>go install<EMAIL_ADDRESS>module<EMAIL_ADDRESS>found, but does not contain package github.com/gotk3/gotk3
dick@dick1:~/src$ go get<EMAIL_ADDRESS>go get: package github.com/gotk3/gotk3 is in the main module, so can't request version v0.6.1
dick@dick1:~/src$ go get github.com/gotk3/gotk3@master
go get: package github.com/gotk3/gotk3 is in the main module, so can't request version master
dick@dick1:~/src$ go install github.com/gotk3/gotk3@master
go install: github.com/gotk3/gotk3@master: module github.com/gotk3/gotk3@master found (v0.6.2-0.20220628045702-d885f48a5492), but does not contain package github.com/gotk3/gotk3
dick@dick1:~/src$

The last error is ok, you should focus on v0.6.1.
Just retry without adding the version
go get github.com/gotk3/gotk3
It seems it is already referenced in your main.go
You can also check the content of go.mod and go.sumto see if the package has been installed.
Also avoid mix of versions in these files (0.6.1 + 0.6.2)
go: go.mod file not found in current directory or any parent directory.
Of course, if these 2 files don't exist, you need first to do a go init mod yourModuleName
Note: When you will try to do your first build, it will take a long time looking like frozen but after it is very fast.
Compiling the first example took something like 10 minutes on my machine!

I didn't realize I needed to create a go.mod file--I hadn't used go in several years. Once I did, I worked as it should.
go get github.com/gotk3/gotgk3 i
installs v0.6.1 successfully.
go get github.com/gotk3/gotk3@master
installs v0.6.2 successfully, upgrading v0.6.1
By the way there is a typo in your last answer. It says "go init mod ModuleName" but it should be "go mod init ModuleName"
BobSynfig, thank you very much for your help.


Fix Alpine persistence

Alpine saves iptables rules differently than Debian, and the respective services need to be enabled to persist settings across reboots. The only related issue I could find is #1773.

Thanks


Has anyone tried deploying FastAPI v2 with a BERT model on the NVIDIA Triton Inference Server?

I'm not sure how to enable BERT with flash attention during the start-up of the Triton server in order to accelerate inference.

I've never tried. You'd probably have more luck going with Nvidia's FasterTransformer.


while importing the llama_index occurred error that

from llama_index import VectorStoreIndex, SimpleDirectoryReader, ServiceContext

/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_config.py:257: UserWarning: Valid config keys have changed in V2:

'allow_population_by_field_name' has been renamed to 'populate_by_name'
warnings.warn(message, UserWarning)

PydanticUserError                         Traceback (most recent call last)
 in <cell line: 1>()
----> 1 from llama_index import VectorStoreIndex, SimpleDirectoryReader, ServiceContext
2 from llama_index.llms import HuggingFaceLLM
6 frames
/usr/local/lib/python3.10/dist-packages/pydantic/deprecated/class_validators.py in root_validator(pre, skip_on_failure, allow_reuse, *__args)
226     mode: Literal['before', 'after'] = 'before' if pre is True else 'after'
227     if pre is False and skip_on_failure is not True:
--> 228         raise PydanticUserError(
229             'If you use @root_validator with pre=False (the default) you MUST specify skip_on_failure=True.'
230             ' Note that @root_validator is deprecated and should be replaced with @model_validator.',
PydanticUserError: If you use @root_validator with pre=False (the default) you MUST specify skip_on_failure=True. Note that @root_validator is deprecated and should be replaced with @model_validator.
For further information visit https://errors.pydantic.dev/2.0/u/root-validator-pre-skip

what version of pydantic and langchain do you have? this is likely being caused by having pydantic >=2 with langchain <= 0.266

what version of pydantic and langchain do you have? this is likely being caused by having pydantic >=2 with langchain <= 0.266

pydantic-core==2.6.0 right now this is version of pydantic

what version of pydantic and langchain do you have? this is likely being caused by having pydantic >=2 with langchain <= 0.266

pydantic-core==2.6.0 right now this is version of pydantic

guessing that's the issue. i would try bumping langchain to >=0.0.267, or pydantic<2


Finish classes (mostly done)

Classes are mostly done, but I have hit a big wall with property accesses. Every implementation that I can think of at the moment is not very elegant and leaves me with a sour taste in my mouth. So, for now, you can create and initialize classes but cannot call the defined functions or anything.
For example, the following works and will be interpreted correctly:
class Apple {
    fields { weight }

    fn get_weight() {
         weight
    }
}

let x = new Apple(104.3)

But property accesses and function calls on class methods are not built into the parser at all. Example:
x.weight

x.get_weight()

It would be really cool to have this kind of feature, especially with how close to being done classes are. I might work on it later but I'm going to have to think of an interesting way to tackle the problem.

When in doubt I like to look at how rust-analyzer handles things. Here is roughly what you could do:
fn expr_binding_power(p: &mut Parser, minimum_binding_power: u8) -> Option<CompletedMarker> {
    let mut lhs = lhs()?;

    while p.at(TokenKind::Dot) {
        let m = lhs.precede(p);
        p.bump();
        p.expect(TokenKind::Ident);
        lhs = m.complete(p, SyntaxKind::FieldExpr);
    }

    loop {
        // same as before
    }

    Some(lhs)
}

This automatically accesses foo on bar in baz + bar.foo, while accessing foo on the entire expression in (baz + bar).foo.

Closing since language has been almost entirely rewritten


Fix Kafka Connect list-of-connector page to point to existing devportal articles

What's wrong?
(be specific, screenshots or a copy/paste of the affected part of the page is useful)
Kafka Connect list-of-connector page contains a lot of links to external repos/docs while the documentation has been written in devportal. We should therefore move to links to internal pages
URL of affected page, and any other information

I think some of the sink connectors can definitely be redirected to our current docs.  I'll take this one

Hi! There’s already a PR about this!

On 19 Oct 2022, at 00:28, Blaise Crisologo @.***> wrote:

I think some of the sink connectors can definitely be redirected to our current docs. I'll take this one
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Sorry Blaise, we are addressing this as part of https://github.com/aiven/devportal/pull/1378 I believe we went straight to change mode without assigning the issue to us. Sorry for the duplicated work!

On 19 Oct 2022, at 07:04, Francesco Tisiot @.***> wrote:

Hi! There’s already a PR about this!

On 19 Oct 2022, at 00:28, Blaise Crisologo @.***> wrote:

I think some of the sink connectors can definitely be redirected to our current docs. I'll take this one
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


KAFKA-10316: Updated Kafka Streams upgrade notes.

This PR updates the upgrade guide for the changes in https://github.com/apache/kafka/pull/9120.
Added the details on KIP-648 to 2.7.0 upgrade notes - docs/streams/upgrade-guide.html.
@mjsax

@mjsax I've checked the actual documentations and just to make sure I've also checked for the occurrence of the deprecated methods throughout the repo and found none (except in the classes and upgrade-guide which we modified).

This branch got a little messed up during the rebase :(
Raised another PR https://github.com/apache/kafka/pull/9146


How do I define a nested set from a component?

  <Route path="/" component={Layout} >
              <Route path="/home" component={Home}/>
          </Route>

Such as this
error　：　Warning: You should not use  and  in the same route;  will be ignored

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux. Thanks!


Add descriptive titles to title elements

Go through title elements and write descriptive titles.

Changed title from 'website' to 'Horiseon Social Solutions'


various

Coverage increased (+0.2%) to 80.931% when pulling 864cef9a961de5300d60b38c3c9a75ce4bf91282 on joostvanzwieten:various into 7e7d2da8f588bb22e05daabe168a9417b896a159 on nutils:master.


Editing Limit for Services

Add at most 2 times edit for services.

Editing at most 2 times is implemented.


Replacing Request with another library

As of https://github.com/request/request/issues/3142, the Request Library and Request-Promise library on which Node-Vault depend, have both been deprecated
As such, I believe that, we must replace Request with another library
The async libraries which could replace it are

Node-Fetch
Axios
Any Other ??

It would be nice to find an alternative for request. There is a thread on https://github.com/request/request/issues/3143 about alternatives.

@bjankord I tried my hand at replacing Request with axios in this pull request
Let's see if it's accepted

A good alternative to request is got IMHO.

@bjankord I tried my hand at replacing Request with axios in this pull request
Let's see if it's accepted

axios is amasing

I'd like to budge in and offer needle

For me, the prime driver for replacing request is that it brings along 20 additional dependencies that are almost certainly not needed by upstream projects.
Given that there was a pull request to move to axios submitted above, is there any way to nudge this along? It would be really great to resolve this one.

This issue is affecting me as well, because having request-promise and request-promise-native in the dependency tree causes problems when testing with Jest: https://github.com/request/request-promise/issues/247
Is there any way to help the axios PR along?

It seems like this PR was opened over a year ago. Is this project no longer maintained and are there alternatives?

@adam2k seems so [unmaintained]

@kr1sp1n Any updates on this?

@aviadhahami do you know of any other good alternatives and is it worth forking this repo at this point?

@adam2k  - per "is it worth" --> there are 52K downloads per week of this pkg (according to npm)
@pratikpc , regarding https://github.com/kr1sp1n/node-vault/pull/151, any progress? the last comment was asking to fix the conflicts. Can you attend this? (if not - I believe others [including myself] are able to help :) )

@aviadhahami I'm unfamiliar with the npm process of forking a project like this.  I suppose we could fork and make a new project that is open sourced.  I'll talk with my company about working on a project like this to see if I can get support from them as well.

@adam2k not sure myself as well, I think we can maintain this if you'd like :)
@kr1sp1n - is this 100% stale on your end? if yes - would u like to move ownership to @adam2k & myself?

Update - emailed npm themselves for a dispute on package name due to owner's inactivity and the security risk imposed by this

@aviadhahami Hi, I would like to move the ownership to you. I do not maintain this lib any longer but I would love to hand it over to responsible people. Let me know where to move it exactly.

Hi @kr1sp1n, thx for the reply :)
Steps needs to be taken:
1/ Change npm ownership [howto] [my npm profile]
2/ Change GH ownership [howto] [my gh profile]
IMO that's it.
lmk if u need any help or anything :)

Thanks @kr1sp1n and @aviadhahami! 👍🏻

@aviadhahami and @kr1sp1n let me know if you all need anything from me in the immediate term.  Otherwise I'll open up PRs in @aviadhahami's repo when it's ready to go.

Hey guys I think the safest option is Postman Request.
Asio would be a bit of a headache to port as I found out myself and would definitely break existing code for users so we can move to Postman Request for the time being.
Postman Request is the request we love and admire (I don't) with the bugs fixed and slightly less warnings
I was also able to update a lot of the codebase and dependencies and fix code with the newer changes as recommended by our Airbnb overlords with a few ignored

@aviadhahami and @kr1sp1n do you all have an idea when this repo could be transferred?

@adam2k I'm waiting patiently 🤷♂

@adam2k @aviadhahami  I added @aviadhahami to the npm maintainers, created a github organization called "nodevault" (node-vault was already taken) and invited @aviadhahami as a member. That should do the trick, right?

@kr1sp1n almost :D
I still lack permissions and get this:

So, what's left to do is:
1/ give repo permissions
2/ give npm permissions (for publishing)

@kr1sp1n pinging again (so we can stop ping you <3 )
lmk if u wanna zoom on this so we can tie all ends and get it over with :)

has someone forked? as far as github just fork (could do as not even a "click fork", just clone and push to a new repo), npm rights are more important, as to update all of the info.

@kr1sp1n was the missing ownership ever resolved?

@kr1sp1n added me to the org so I can collab, but I still lack permissions to the repo 😕

Siri, play "we're half way there"

@kr1sp1n, please, if you can clear up an hour (±) we can do a handover and I can help maintain 🙏

@aviadhahami I gave you maintainer role of this repo now. Sorry for the late reply 🙄 If you have any questions then we could have a chat, of course.

@kr1sp1n & @aviadhahami, how's it going with getting access to publish new versions to NPM? 😊

@vetlevo Unfortunately I can't deploy to npm as I don't have the keys (nor there's any CI process for that)
We need to keep pinging @kr1sp1n for that I guess :\

@kr1sp1n i also wait for that new version

@kr1sp1n I am also waiting for that new version.

@kr1sp1n please help with this issue

Any updates on this topic?

Hey @Wojciechowski-Marcin  - I currently can't find the time for the fix.
I did some job around the project thus far so anyone can contribute easily.
Feel free to help out <3

Hi everyone!
Release v.0.10.0 is out with a new HTTP lib and all the recent commits (where recent is ~2 years 😮 )
Closing :D


feat: Remove support for SimpliGov uploads

Asana task: Document Viewer: Remove Reduced Fares S3 upload functionality
We've decided that we no longer need to back up file uploads from SimpliGov to S3. All upload calls have already been removed from our SimpliGov forms.
We have a future ticket to remove the existing files and bucket from S3 once this is released, and we are sure no more files will get created.

@paulswartz Yeah, that's an excellent point. Through up a PR here: https://github.com/mbta/devops/pull/942


Mac support

Looks like a useful project! Would it be possible to support macOS in the future?

I did a quick one that runs on my mac, not pretty but just works. https://github.com/oldsongsz/ecoute


Loss of STOP_SENDING frame's error code

Hello. In my understanding, a bidirectional stream will be collected when stream_recv() is called if the stream is complete. And, if an endpoint receives a STREAM including FIN and STOP_SENDING, then stream_recv() is called with an enough buffer,  the stream will be collected. But I want to know the error code of the STOP_SENDING. Any idea?

In the above case, stream_send() will return Error::Done via get_or_create_stream() because the stream is collected. To determine whether an endpoint received a STOP_SENDING frame or not, I have to call stream_capacity(). But stream_send() should return Error::InvalidStreamState as stream_capacity() do, I think. Of course, returning Error:: StreamStopped is better.

Thanks for the report.
IIUC to summarise, if an endpoint calls recv() to process packets and immediately uses some APIs, it can determine the STOP_SENDING error code. However, if it reads all of the stream data (or the stream was reset) it can no longer use any API to determine the STOP_SENDING error code.
This seems like an annoying inconsistency. The challenge to fixing it is that we discard state for completed streams, so would need to figure out the best way to limited retain state to allow queries from the app.

I've tried to keep track of send error received via STOP_SENDING when the stream is collected.
https://github.com/cloudflare/quiche/compare/master...masa-koz:quiche:retain_state
Does this make sense?


Add warning in case open files limit is lower than recommended

Warn user if limit of open files for node's process is lower than recommended on unix systems.

Verified CI failure is from an unrelated issue (likely outage)
Merging


[fastrtpsgen] ERROR: Getting platforms. null

The following error occurred when I'm trying to use fastrtpsgen:
~$ fastrtpsgen
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
ERROR: Getting platforms. null

I can not find the  recommended version for fastRTPS and installed java8
The JAVA version details is:
~$ java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

The gradle version details is:
~$ gradle -v

------------------------------------------------------------
Gradle 5.0
------------------------------------------------------------

Build time:   2018-11-26 11:48:43 UTC
Revision:     7fc6e5abf2fc5fe0824aec8a0f5462664dbcd987

Kotlin DSL:   1.0.4
Kotlin:       1.3.10
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM:          1.8.0_191 (Oracle Corporation 25.191-b12)
OS:           Linux 4.15.0-55-generic amd64

The environment I'm using is shown below:
OS: Linux(Ubuntu16.04)
FastRTPS: building from source.
Version : master branch
JAVA : Oracle JAVA 8 JDK
Some details:
I followed FastRTPS INSTALLATION MANUAL and adding -DBUILD_JAVA=ON  -DCOMPILE_EXAMPLES=ON -DPERFORMANCE_TESTS=ON -DSECURITY=ON
I created a .idl file after installation of the FastRTPS as follows:
struct HelloWorld
{
    string msg;
};

and then run
 fastrtpsgen -example CMake HelloWorld.idl.
then the error occurred as follows:
$ fastrtpsgen -example CMake HelloWorld.idl
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
ERROR: Getting platforms. null

What's the problem? Thank you!

See also https://github.com/eProsima/Fast-RTPS/issues/672 which was opened in error (more of less the same problem I think).

Closing due to duplicate #672.


Annotation tools doesn't calculate t_ref_count and t_alt_count from particular site's VCF field

Brief summary of the issue, we have a site that is reporting their variant counts like this:

These fields can be calculated from the DP tag in the VCF (t_depth in MAF), e.g. if AF=0.05 and DP=2275, t_alt_count is 114 and t_ref_count is 2161.

That being said, it seems that annotation-tools is not doing this calculation.  Should this be something annotation-tools supports?   Not sure if the above is a standard way of reporting the variant counts.
Input vcf: input.vcf.txt
Annotation Tool output: input.vcf.temp.txt
Genome Nexus annotation: input.vcf.temp.annotated.txt
Final output: processed.txt

@thomasyu888 we briefly had this discussion before on slack I think - you can't really make the assumption that t_ref_count is exactly 2161. There could e.g. be other base transitions. Also with indels it gets kind of tricky. That being said in most cases it's prolly fine to make this assumption, so it might make sense to add it. @ao508 any thoughts on how complex this would be to add to the annotation-tools?

Ahh I realize this is similar, but in the other cases, I now do the calculation with 2 of the 3 values with the processed maf.
Here the annotation tools only retain one value, which means I can't calculate the other two with my solution above.  I no longer need annotation tools to finish the calculation of t_depth = t_alt_count + t_ref_count.

@thomasyu888 sorry not sure i fully understood - does this mean we can close this ticket?

Apologies for the confusion @inodb .  There are two issues:

Calculation of t_depth, t_ref_count, and t_alt_count by using this equation: t_depth = t_ref_count + t_alt_count
Calculation of t_depth, t_ref_count, and t_alt_count from a vcf with fields: AF=0.05 and DP=2275.  t_alt_count is 114, t_ref_count is 2161. t_depth is 2275.

Number 1 is resolved by me already in my processing code post Genome Nexus annotation, but I was wondering if we could add number 2 to annotation-tools.  Due to my resolution to number 1, we actually only need to calculate one of the values:
t_ref_count = round(DP * 0.05), and t_alt_count will be filled in post Genome Nexus.  Please let me know if this is confusion still.

PR for this issue https://github.com/genome-nexus/annotation-tools/pull/36


Changes in sequelize to avoid calling model function overrides break alias-inference logic

I believe https://github.com/sequelize/sequelize/commit/b253d8ed63c91bc2c7143f07806554b5a5ac67eb breaks the alias-inference logic in sequelize-typescript. I believe this is because this change breaks the proxy behavior that sequelize-typescript relies on.
I have opened an issue with sequelize as well: https://github.com/sequelize/sequelize/issues/14003
Issue
Versions

sequelize: 6.14
sequelize-typescript: 2.1.2
typescript: 4.5.5

Issue type

[x] bug report

Actual behavior
I have defined no alias in my decorators. My model x simply belongs to y:
  @BelongsTo(() => y, {
    foreignKey: {
      field: 'y_id',
      name: 'yId'
    }
  })

GeneralError: x is associated to y using an alias. You must use the 'as' keyword to specify the alias within your include statement.
Expected behavior
Alias inference works.

Related code
https://github.com/RobinBuschmann/sequelize-typescript/blob/b60c011be2e971e56cb783d4ade994965faab916/src/model/model/model.ts#L209

This change has been reverted in v6 but it's still landing in v7
I'm not sure what the alias-inference logic does but if it makes sense to have it upstream, I think we'd welcome it. That'd avoid this issue :)

What do you mean? The change has already been reverted

I must be speaking of a different issue, since this simple example is broken with sequelize >= 6.14
  async create(user: UserDto): Promise<User> {
    return this.userRepository.create<User>(user);
  }

Can you post the TS error you're having?

@ephys
UserDto is not assignable to type CreateAttributes
And this started with 6.14

I'm not sure my issue is the same as this one, but at least it may be related.
When I define a relation like this (following the readme):
@Table({ tableName: 'classCategories' })
export default class ClassCategory extends BaseModel<ClassCategoryAttributes, ClassCategoryCreateAttributes> {
  @Column(DataType.STRING)
  declare name: string;

  @Column(DataType.STRING)
  declare tag: string;

  @HasMany(() => ClassSubcategory)
  declare classSubcategories: ClassSubcategory[];
}

@Table({ tableName: 'classSubcategories' })
export default class ClassSubcategory extends BaseModel<ClassSubcategoryAttributes, ClassSubcategoryCreateAttributes> {
  @Column(DataType.STRING)
  declare name: string;

  @Column(DataType.STRING)
  declare tag: string;

  @ForeignKey(() => ClassCategory)
  @Column(DataType.UUID)
  declare classCategoryId: string;

  @BelongsTo(() => ClassCategory)
  declare classCategory: ClassCategory;
}

And try to create an instance, I get the following error:
ClassSubcategory is associated to ClassCategory using an alias. You must use the 'as' keyword to specify the alias within your include statement.

Though no alias is defined. Is it a bug, or is there something wrong with my code?


Added a helloworld file for c

added a new c file. this is my first pull request . hope it gets merged. finger crossed🤞.

Hi, thanks for the effort but a program in c has already been accepted. You can try out any new language which you don't know much about and which hasn't been added yet!


proposal: Go 2: add 'unknown' type for function that takes slice or map

I propose that we add 'unknown' type for function that takes slice or (especially) map.
You cannot access 'unknown' type values, instead it should raise compile time error. Then why is it useful?
It would allow create somewhat generic function for slice and map.
First you can make generic length functions for slice and map. We already have generic len function, so the benefit will not big. But for who want more specific it will useful.
func slicelen(sl []unknown) int {
    n := 0
    for range sl {
        n++
    }
    return n
}

func maplen(m map[unknown]unknown) int {
    n := 0
    for range m {
        n++
    }
    return n
}

For map you can do more.
func stringKeys(m map[string]unknown) []string {
    keys := make([]string, maplen(m))
    i := 0
    for k := range m {
        keys[i] = k
    }
    return keys
}

// or findStringKey, or more.

You can use this function with any map that has string keys.
m := make(map[string]int{
    "this": 0
    "that": 5
}
stringKeys(m) // []string{"this", "that"}

I think deal with map is a little pain in Go because of it's strict type system.
That means map[string]int and map[string]string and map[string]map[string]int are complete different types. But they are similar in way they are using string for their keys.
Go cannot convert map[string]int to map[string]interface{} automatically because
interface{} and int have different memory layout. But with 'unknown' type, map[string]int to map[string]unknown is always safe because it does not perform convert, but just re-interpret it.
I don't know whether this is a good idea, but seems like an interesting idea.
So I want to share this idea.

Have you had a look at the Go2 generics proposal and all its feedback? https://github.com/golang/go/wiki/Go2GenericsFeedback
Sounds to me like any proposal related to generics should be made as part of that.

I think you can already do something like this simply by defining a type Unknown  as  type Unknown interface{}ortype Unknown = interface{}`, depending on what you'd like to do.

@mvdan I'm aware of the proposal and wiki page. As of writing this, I didn't think it's feedback of the generics proposal. But if there is the right place, I am willing to move it. Thank you.

@beoran I think unknown type is different from interface{}. You could not use map[string]interface{} as argument for map[string]int. Here is the example.
https://play.golang.org/p/Y-Kynde8a-M
In my proposal, you could do this with map[string]unknown.

Well, I wouldn't say this is the wrong place, but it's unlikely to get considered on its own. The attention in the generics space will be focused on that Go2 proposal and all of its feedback.

Yes, if we adopt something along the lines of the generics design draft, then it seems to me that this proposal becomes unnecessary.

@ianlancetaylor Haha, I admire that is true. But still there's a chance that generics couldn't get into it. Then we might want to smaller fixes for specific problems. I'm not serious with this proposal, just wanted to share it. But since I know this is quite immature proposal, I will close this for now. Thank you for your response.


Update README.md

Update the QR Code
PR Category

Update the QR Code - Triton Group
Type of Change

Description

Update the QR Code - Triton Group
Issue

Progress

[ ] Change is properly reviewed (1 reviewer required, 2 recommended).
[ ] Change is responded to an issue.
[ ] Change is fully covered by a UT.

Performance

中文版也需要更新吧。

对的，操作不太熟练，我分两个PR提上来吧😂


please fix aur

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes, No
System Info and Version
n/a
Description
Submodule 'subprojects/hyprland-protocols' (https://github.com/hyprwm/hyprland-protocols) registered for path 'subprojects/hyprland-protocols'
Submodule 'subprojects/tracy' (https://github.com/wolfpld/tracy) registered for path 'subprojects/tracy'
Submodule 'subprojects/udis86' (https://github.com/canihavesomecoffee/udis86) registered for path 'subprojects/udis86'
fatal: repository '/home/system/.cache/yay/hyprland-git/src/hyprland-protocols' does not exist
fatal: clone of '/home/system/.cache/yay/hyprland-git/src/hyprland-protocols' into submodule path '/home/system/.cache/yay/hyprland-git/src/Hyprland/subprojects/hyprland-protocols' failed
Failed to clone 'subprojects/hyprland-protocols'. Retry scheduled
Skipping submodule 'subprojects/tracy'
Cloning into '/home/system/.cache/yay/hyprland-git/src/Hyprland/subprojects/udis86'...
done.
fatal: repository '/home/system/.cache/yay/hyprland-git/src/hyprland-protocols' does not exist
fatal: clone of '/home/system/.cache/yay/hyprland-git/src/hyprland-protocols' into submodule path '/home/system/.cache/yay/hyprland-git/src/Hyprland/subprojects/hyprland-protocols' failed
Failed to clone 'subprojects/hyprland-protocols' a second time, aborting

can fix via:
diff --git a/PKGBUILD b/PKGBUILD
index 7d85de0..635522e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: ThatOneCalculator <kainoa at t1c dot dev>

 pkgname=hyprland-git
-pkgver=0.44.0.r46.0baf166d
+pkgver=0.44.0.r50.b57086aa
 pkgrel=1
 pkgdesc="Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks."
 arch=(x86_64 aarch64)
@@ -73,11 +73,13 @@ provides=("hyprland=${pkgver%%.r*}")
 conflicts=(hyprland)
 source=(
   "git+https://github.com/hyprwm/Hyprland.git"
+  "git+https://github.com/hyprwm/hyprland-protocols.git"
   "git+https://github.com/canihavesomecoffee/udis86.git"
 )
 b2sums=(
   'SKIP'
   'SKIP'
+  'SKIP'
 )

 pick_mr() {

How to reproduce
install from aur
Crash reports, logs, images, videos
No response

I dont maintain packages, please do not report issues with them here


Resolved issue #206 and #208

Hi @zeerakb1 , thanks for taking these issues. The changes look good. I would like to ask you to: a) have a commit for each of the changes (one for each issue) and b) Use a descriptive commit message (you can use the issue's title). This makes it easy for someone reviewing the commit's history to undersand what has changed.


[FR] Assess whether we should use Cloud Run's built in GCS volume mount feature in place of GCSFuse directly

Should we use Cloud Run's built in GCS volume mount feature on the pcap sidecar container instead of GCSFuse directly?
The advantage it provides is when developers look at the sidecar container in the console they'll see the Volume mount configured and it will just make the sidecar make a bit more sense for folks that don't read the README carefully. I also suspect it will check GCS IAM permissions for us and have better error messages in that regard.
For non Cloud Run environments we'll still have to use GCSFuse directly and built out a function to detect the execution env. Alternatively, guard this option with yet another flag.

GCS volume mounts have now reached the GA launch phase


ZIR-249: Support out-of-tree builds

Move essential build configuration into a Bazel utility function
Update documentation to describe how to use Zirgen out of tree

TODO: make a separate pull request to use this utility in WIP. Once this is done, dependencies won't need to be explicitly updated in WIP to stay in sync with Zirgen.

Bazel now supports a new way to do external deps: https://bazel.build/external/module


32-bit, 64-bit and 128-bit floating point analysis

This is an analysis report of different floating point precision usage.
I use double for all floating point arithmetic in my fork by default. Lately I added special compiler flags: NDOUBLE (demote all double's to float's) and LDOUBLE (promote all double's to long double's).
I got interesting results when compressing attached sample file with different floating point precision, using 5000 iterations:
float (32-bit): 46 356 bytes (370846 bits long),
double (64-bit): 46 361 bytes (370888 bits long),
long double (80-bit/128-bit): 46 362 bytes (370889 bits long).
In conclusion: everytime a floating point is more precise, the compression results are getting worse. Logical would be for better precision to actually improve compression, but it doesn't. Float was fastest to work with on ARMv7's NEON instruction set, it had practically the same speed as double on x86-64. 80-bit long double was ~36% slower than 64-bit double, while 128-bit long double was much slower (no hardware support). All block split points are the same on all precision levels.
This test was done on sourcecode file with disabled splitting last after compression to avoid false positives on compression results.
I will try to do similar test on ~84KB IDAT data for further comparison.
lodepng.cpp_double.gz
lodepng.cpp_float.gz
lodepng.cpp_long_double.gz

Update.
When Zopfli is compiled in float (32-bit) only mode and ll_symbols and d_symbols in SymbolStats are promoted to long double (128-bit), and we use long double (128-bit) in ZopfliCalculateEntropy, we get this result: 46 355 bytes (370837 bits long).
lodepng.cpp_float+long_double_mix.gz

This is consistent with what I found in the article http://roartindon.blogspot.com/2016/04/boosting-zopfli-performance.html.
From my understanding, the lower precisions provide a TINY bias towards shorter length matches in GetBestLengths, which may end up clustering more matches to particular offsets.lengths that allow better huffman encoding.
The mechanics for this is due to rounding double to float can cause the float to be larger than the double because it rounds to nearest. ie:
double d;
float f;
...
f = d;

50% of the time, f > d.
I should do a test later that checks if f < d, the increment it by 1 ulp (nextafterf functions) and see if the forced bias produces better results in general.

Lately I was playing a lot with weighted stats and randoms and I found out that using different weight mixing or using modulo 5 instead of 3 for random function can result in best size that is usually found at 50k to be found at 100~200. Though it varies from block to block. I added switches to alter default behavior for this in my fork for further testing.
So my wild guess is that 32/64/80-bit precision (not mentioning 128-bit because when properly implemented Zopfli speed performance drops to few percent of original, so pretty much useless lol) should fall into "it's all about being random" stuff.

Sounds like this might be another manisfestation of https://github.com/google/zopfli/issues/20 then?

#20 I think would make sense only if given platform is not producing floating points being IEEE-754 compliant. NEON on ARMv7 is one of those, though it only supports floats, so I would need to compare those builds with and without forced unsafe math, because I read that GCC may fallback to VFP (IEEE-754 compliant) with ARM compilations if unsafe math is not set.

Floating point results were exactly the same on ARMv7 and x86-64 with float-only build. The only difference was with fast math which caused a small iteration offset on larger blocks which may be related to no-signed-zeros but the results again were exactly the same with fast math on ARMv7 and x86-64.


[Bug]: Appsmith server crash after change redis server

Is there an existing issue for this?

[X] I have searched the existing issues

Description
We are in the process to migrate our redis server ( standalone ) to a redis cluster using bitnami chart.
The cluster is already configured and working fine, three masters with a replica per master.
When i change the APPSMITH_REDIS_URL pointing to the new cluster Appsmith server fail.
 - [55efbb1f-16]  500 Server Error for HTTP GET "/api/v1/users/me"
io.lettuce.core.RedisCommandExecutionException: MOVED 7335 <IP_ADDRESS>:6379
	at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:147)
	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
	*__checkpoint ⇢ org.springframework.security.web.server.authentication.AnonymousAuthenticationWebFilter [DefaultWebFilterChain]
	*__checkpoint ⇢ org.springframework.security.oauth2.client.web.server.authentication.OAuth2LoginAuthenticationWebFilter [DefaultWebFilterChain]
	*__checkpoint ⇢ org.springframework.security.web.server.authentication.AuthenticationWebFilter [DefaultWebFilterChain]
	*__checkpoint ⇢ org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter [DefaultWebFilterChain]
	*__checkpoint ⇢ org.springframework.security.web.server.authentication.AuthenticationWebFilter [DefaultWebFilterChain]
	*__checkpoint ⇢ org.springframework.security.web.server.context.ReactorContextWebFilter [DefaultWebFilterChain]
	*__checkpoint ⇢ org.springframework.security.web.server.header.HttpHeaderWriterWebFilter [DefaultWebFilterChain]
	*__checkpoint ⇢ org.springframework.security.config.web.server.ServerHttpSecurity$ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain]
	*__checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]
	*__checkpoint ⇢ org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter [DefaultWebFilterChain]
	*__checkpoint ⇢ HTTP GET "/api/v1/users/me" [ExceptionHandlingWebHandler]
Original Stack Trace:
		at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:147)
		at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:116)
		at io.lettuce.core.RedisPublisher$SubscriptionCommand.doOnComplete(RedisPublisher.java:757)
		at io.lettuce.core.protocol.CommandWrapper.complete(CommandWrapper.java:65)
		at io.lettuce.core.protocol.CommandWrapper.complete(CommandWrapper.java:63)
		at io.lettuce.core.protocol.CommandHandler.complete(CommandHandler.java:746)
		at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:681)
		at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:598)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
		at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
		at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
		at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
		at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:795)
		at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:480)
		at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378)
		at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
		at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
		at java.base/java.lang.Thread.run(Unknown Source)

what is the way to configure appsmith to use a redis cluster and not standalone node ?
Thanks
Steps To Reproduce

Install a redis cluster with 3 masters and 3 slaves
Config the APPSMITH_REDIS_URL
Try to login into appsmith

Public Sample App
No response
Version
appsmith/appsmith-server:v1.7.3

Hey @jmvizcainoio, thanks for reporting and sorry for the trouble caused. I'll try and see if I can reproduce this and get it resolved.
But, to unblock your instance, is it possible to test with a single Redis until then instead? Appsmith uses Redis only for storing user session information, and the impact of losing data on Redis is that users would get logged out, and they can of course log back in. Not convenient, but this may be a viable solution for the time being. Once this is resolved, you can start using a cluster. Does that sound fine?

Hey @jmvizcainoio, thanks for reporting and sorry for the trouble caused. I'll try and see if I can reproduce this and get it resolved.
@sharat87 Thanks for your reply. Yes with redis standalone works fine.
But, to unblock your instance, is it possible to test with a single Redis until then instead? Appsmith uses Redis only for storing user session information, and the impact of losing data on Redis is that users would get logged out, and they can of course log back in. Not convenient, but this may be a viable solution for the time being. Once this is resolved, you can start using a cluster. Does that sound fine?

Great!! if only is used for save the sessions and is not critical, we can live without clustering.


Feature request: ability to specify anchor returned via /public/rfc URLs

Description
From @rjsparks (https://github.com/ietf-ribose/bibxml-project/issues/24):
This is an xml2rfc.tools.ietf.org behavior that we missed, and a few things are using it.
Note that https://xml2rfc.tools.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/2975159.xml?anchor=JUPITER returns bibxml with the anchor set to "JUPITER".
How difficult would it be to add that behavior to the current bibxml implementation?
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

Originally from https://github.com/ietf-ribose/bibxml-project/issues/24#issuecomment-1222026801
@rjsparks sorry for the delay here (probably should go into the bibxml-service repo), I missed this.
I believe we already support specifying a custom anchor, but not sure about in DOI. Ping @strogonoff .

Originally from @strogonoff (https://github.com/ietf-ribose/bibxml-project/issues/24#issuecomment-1222029934)

This is supported for all API endpoints that return XML, if not this must be a bug! Anchor parameter is documented here: https://bib.ietf.org/api/v1/#operation/getBibItemByDocId
But, this appears to not work for xml2rfc paths.

It was supposed to be working but it was working only for some documents.

https://bib.ietf.org/public/rfc/bibxml4/reference.W3C.REC-xml-stylesheet-20101028.xml?anchor=foobar works
https://bib.ietf.org/public/rfc/bibxml-rfcsubseries/reference.STD.0080.xml?anchor=foobar doesn’t

Fix deployed to https://bib.ietf.org
curl https://bib.ietf.org/public/rfc/bibxml4/reference.W3C.REC-xml-stylesheet-20101028.xml?anchor=foobar
<reference anchor="foobar" target="https://www.w3.org/TR/2010/REC-xml-stylesheet-20101028/">
...

curl https://bib.ietf.org/public/rfc/bibxml-rfcsubseries/reference.STD.0080.xml?anchor=foobar
<referencegroup anchor="foobar" target="https://www.rfc-editor.org/info/std80">
...

curl https://bib.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/2975159.xml?anchor=FooBar
<reference anchor="FooBar" target="http://dx.doi.org/10.1145/2975159">
...


Encrypt AWS credentials

Awesome tool!
Question -- your tool will utilise AWS secret & access key .. How do we encrypt them? We wouldn't leave them either on config file or even as environment variable?
Please advise. Thanks.

@iamhasibrahman, the canonical way to store SK/AK pairs is indeed config files or environment variables. It's good practice to limit the IAM user's permissions to the minimum required to do the job.
If you're really uncomfortable with storage of SK/AK pairs on a local device, you could use a small instance (t2.nano should be plenty) with an IAM Role assigned to it. When you do that, credstash will seek credentials from the instance metadata service. AWS will do automatic credential rotation and you will not have to manage them at all.
More on IAM Roles: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html

Here is what I understand ---
There is obviously no way you can encrypt the main AK/SK which Credstash require ...
You are advising to store them in small instance (which is a good idea) but how it will work when Credstash will run on external source system ???
As in example ---
RHEL Server (outside of AWS) - we capture logs from this using Fluentd.
Fluentd sends logs to Kinesis, which is being picked up by KCL application running on ec2 instance.
Did I just confuse you?
another question - if I have 10 instance of ec2 fleet, I would have to run Credstash in each one of them?

If you're running n EC2 instances, and they each need to access secrets on stored with credstash, they should each run a copy of credstash (or one of the libraries that implements credstash's scheme).

You are advising to store them in small instance

Sort of, though there's a clarification that's important there. Assigning an IAM Role to an instance means that it has credentials stored in the instance metadata service and rotated on your behalf by Amazon. You would not personally act to "store" credentials anywhere. You'd never touch them. Effectively, giving an instance an IAM Role means that programs running on the instance can do things with the AWS API that the role allows.

RHEL Server (outside of AWS)

In this case, there is no instance metadata service, so you would have to fall back to some other means, such as a designated configuration file or environment variable. Remember that credstash uses the boto library, so the precedence for credentials is the same:

Environment variables
Shared credential file (~/.aws/credentials)
AWS config file (~/.aws/config)
Assume Role provider
Boto2 config file (/etc/boto.cfg and ~/.boto)
Instance metadata service on an Amazon EC2 instance that has an IAM role configured.

if I have 10 instance of ec2 fleet, I would have to run Credstash in each one of them?

You'll need to run credstash to store and retrieve secrets, so any instances that would need to do so must have it installed and runnable.
Good luck with your project!

Problem with designated config file is that it's not really encrypted .. And anyone with the access to the machine can access it .

In regards to Assume Role Provider ---
We need to write code to make it work on say server running outside of AWS??? How would that work? Can you please explain?

Problem with designated config file is that it's not really encrypted .. And anyone with the access to the machine can access it .

That's not necessarily true. The files in ~/.aws/ are stored in a user's home directory, so they can be confidential to a user. If someone has root/sudo access to the machine, they can read other users' home directories, but now there's a more fundamental problem that credstash cannot fix for you. If segregation of access is important to your use of credstash, I recommend you give each user their own machine, or at least their own accounts on a shared machine and limited privileges so that they cannot read each others' files.
For more information, I recommend watching @alex-luminal's talk, "Managing Secrets at Scale": https://vimeo.com/147644113

In regards to Assume Role Provider ---
We need to write code to make it work on say server running outside of AWS??? How would that work? Can you please explain?

@iamhasibrahman see the boto docs here: http://boto3.readthedocs.org/en/latest/guide/configuration.html#assume-role-provider
Best of luck with your project.


How to not change the size of the CropOverlayView?

I use a fixed AspectRatio which is 4:3, and I don't want the user to change the size of the overlayview, how to get that? Thanks.

Hi,
I have faced the same issue that need to be fixed the overlay with predefined size. But overlay  is being resized w.r.t image we provided. Can you please help me to fix the overlay with some size ?
Thanks in advance.


Review text associated with maya-agent commands

Is this a BUG REPORT or FEATURE REQUEST?
Choose one: BUG REPORT or FEATURE REQUEST
FEATURE REQUEST
The following are maya-agent cli:
./maya-agent iscsi discover --portal <IP_ADDRESS>
<IP_ADDRESS>:3260,-1 iqn.2016-09.com.openebs.jiva:ganesh
For logging into multiple discovered devices,
./maya-agent iscsi login --portal all
Login to [iface: default, target: iqn.2016-09.com.openebs.jiva:ganesh,
portal: <IP_ADDRESS>,3260] successful.
./maya-agent iscsi login --portal <IP_ADDRESS>,
Login to [iface: default, target: iqn.2016-09.com.openebs.jiva:ganesh,
portal: <IP_ADDRESS>,3260] successful.
./maya-agent iscsi logout --portal <IP_ADDRESS>
To logout all logged in devices,
./maya-agent iscsi logout --portal all
./maya-agent device list
./maya-agent device format --disk sdd --type=ext4
./maya-agent device mount --disk sdd
./maya-agent device unmount --disk sdd
And the procedure is to build and run:
It can be verified by docker pull openebs/m-agent:ci inside a kubeminion
after travis build pass.
Aliter:
Or by building with make maya-agent and copying the binary via vagrant shared
folder and then doing a docker cp to copy inside a docker container as:
On openebs/openebs/k8s/vagrant/1.7.5/,
vagrant up
vagrant ssh kubeminion-01
On openebs/maya,
make maya-agent
cp bin/agent/maya-agent ../openebs/k8s/vagrant/1.7.5/
docker pull openebs/m-agent:ci
docker run -it --entrypoint=/bin/bash --privileged --device=/dev:/dev --net=host openebs/m-agent:ci
Open a new terminal to get container id,
docker ps
copy the container id and copy the binary to /tmp location inside the docker,
docker cp :/tmp

@kmova  I have created new issue to review text associated with maya-agent cli. Please comment the changes required.

Need to cover this as part of the https://github.com/openebs/node-disk-manager/pull/1


[Enhancement] Minimize to tray

Hello,
First, I wanted to thank you for implementing scheduled downloads. This is great!
I just had a small feature suggestion:
Now that it has scheduled downloads, it would be nice to minimize it to the system tray since it may be open for many hours, waiting for the stream to start. It would free up space on the start menu.
Additionally, a small notification to alert you that the download started would be nice.
Thanks!

Closed with commit 1b2f4e038d0c3940c1ca79e48fd835521f572195


Really bad spectate mode. Avg. FPS 1. (with video proof)

The FPS when playing is always 60 FPS. No drops whatsoever.
The average FPS in spectate mode is 1 FPS. It freezes only when the cell splits or feeds (w). Rather than that (no split and feed), it runs smoothly (50-60 FPS).
Video proof. Video is in 60 FPS.
Video 1 https://youtu.be/Hg9YKjvqseY
Video 2 https://youtu.be/YW4ZOfILJuM

duplicate #95


Demo on website doesn't say what to import

class SerializablePost < JSONAPI::Serializable::Resource
  type 'posts'

  attributes :title, :body

  attribute :date do
    @object.created_at
  end

  belongs_to :author

  has_many :comments do
    data do
      @object.published_comments
    end

    link :related do
<EMAIL_ADDRESS>    end

    meta do
      { count: @object.published_comments.count }
    end
  end

  link :self do
<EMAIL_ADDRESS>  end

  meta do
    { featured: true }
  end
end

What do I pass to require to get that class loaded into ruby? I can't figure it out.

Probably a bit late, but you can require 'jsonapi/serializable'

Why isn't this documented on the website?

@Xe Short answer is: this is an open source project, I built/maintain it on my free time, feel free to make a PR to https://github.com/jsonapi-rb/jsonapi-rb.github.io


Refactor to use go/analysis

I propose refactoring nakedret to use go/analysis. go/analysis is an API for modular analysis. Also, it’s a common interface for all linters.
After refactoring will be possible:

to run nakedret with go vet -vettool=$(which nakedret);
and to properly integrate with golangci-lint (see https://github.com/golangci/golangci-lint/pull/3760).

For implementation details see nakedret.go and blog post.

@alexandear when using
func (in *Inspector) Preorder(types []ast.Node, f func(ast.Node)) {

is it possible to keep track of when the nodes pop? In this case, the code looks for *ast.FuncDecl, *ast.FuncLit, and *ast.ReturnStmt, but it needs to keep track of which function each return belongs to, so when an inner function ends and there is another return statement in the outer function, it needs to know that the parsing is back in the outer one.

using
func (in *Inspector) Preorder(types []ast.Node, f func(ast.Node)) {

is it possible to keep track of when the nodes pop?

it should use one of
func (in *Inspector) Nodes(types []ast.Node, f func(n ast.Node, push bool) (proceed bool))
func (in *Inspector) WithStack(types []ast.Node, f func(n ast.Node, push bool, stack []ast.Node) (proceed bool)) {

@zalenskivolt sorry, but I'm not the author of nakedret and can't answer your questions.

@alexkohler I did a take at using go/analysis in #25, also adding suggested fixes as in #8 using that framework.
This replaces main with the provided go/analysis/singlechecker.Main(), and that should also mean that all the file handling in checkNakedReturns, parseInput, etc could be removed. For now I left the old tests in there, but the new analysistest.Run and analysistest.RunWithSuggestedFixes tests should be able to test everything.
I updated the copy to match what's currently in the golangci-lint version.
I would love to get this going, to get an updated version properly integrated in golangci-lint.

@zalenskivolt - thanks for the PR! Took a look and would be happy to merge.

I updated the copy to match what's currently in the golangci-lint version.

Just to clarify: does golangci-lint currently  have a copy of nakedret or the like that's been refactored to use go/analysis,  and your PR just ports those changes upstream?

@zalenskivolt - thanks for the PR! Took a look and would be happy to merge.

Great! 😄  A small detail when actually testing this version with golangci-lint: The "main" application needs to be in a different place than any code you want to import from outside. I think the smallest change is to add a cmd/nakedret/main.go with just the main() function. I'll push that too.

Just to clarify: does golangci-lint currently have a copy of nakedret or the like that's been refactored to use go/analysis, and your PR just ports those changes upstream?

Yes, there's a copy in golangci-lint/pkg/golinters/nakedret.go, a small test in test/testdata/nakedret.go, and third_party/nakedret/LICENSE.
It just wraps an earlier version of the ast.Walk code with a tiny go/analysis wrap and some golangci-lint-specific issue reporting. This PR uses only go/analysis, and I think that's the case for many linters. I copied the error message from the golangci-lint version.
I tried updating the golangci-lint copy to the most recent version in https://github.com/golangci/golangci-lint/pull/3760, but got some push-back:

the way that we handle this linter is not right, we have to change that.
Instead of "duplicating" the code inside golangci-lint I think it's better to a create PR on nakedret to be able to use it as a dependency.

hence this PR 😄

pushed main() → cmd/nakedret/main.go

Merged #25 and tagged this with v1.0.2, please let me know if you need anything else!


Directory upload:

Directory upload:
<input type="file" directory mozdirectory webkitdirectory>

This issue was imported from Google Moderator
Moderator votes: +4
Issue added by Blixt on 2014-02-10
To vote this issue up or down, simply include +1 or -1 in your comment.

+1

+1

https://dev.modern.ie/platform/status/webkitdirectoryandwebkitrelativepath

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1
https://developer.mozilla.org/de/Firefox/Releases/50#Changes_for_Web_developers

For compatibility purposes, the non-standard webkitdirectory attribute of the  element, as well as the property HTMLInputElement.webkitDirectory property, have been implemented

+1

+1

+1

+1

+1

+1

+1

+1

+1

Now available at https://caniuse.com/#feat=input-file-directory


How to scale this set-up.

Looks like an awesome module but lacks any documention on scaling it to multiple instances/machines. Any help in this regard would be very nice. Thanks

This is built to scale. You can use this code on multiple node instances and clients.  Internal node machines can communicate to each other via WebSocket, also multiple users (clients) can communicate and create multiple rooms.  I have added an example here: roomsjs-client/client/examples/collaborate.  I will soon add an example to communicate between two diff node machines and clients.


2024-01-04 — 1 new commit(s) made to reference.md in Google Transit's repo

Commit Nº 1
AUTHOR × DATE

isabelle-dr ( isabelle-dr )
January 3, 2024   @   11:16 AM ETC (04:16 PM UTC)

MESSAGE
Editorial change: update text in networks.txt and routes_networks.txt (#414)
* update test for routes.txt and routes_networks.txt
* Remove requirement for levels at the file level
* Change defined -> exists
* Add a reference to what "field exists" means

FILES CHANGED

https://github.com/google/transit/commit/86fbd8d505167f25597c329c6990a4a8bf6d1874

https://github.com/google/transit/commit/86fbd8d505167f25597c329c6990a4a8bf6d1874

An editorial change and therefore doesn't change what's required for #1618


How to update database ??

Hello there,
I created database with the help of the Importer/Exporter for my Citygml data (LOD1 and LOD2).
But the other task of mine is how do we able to update our database e.g. importing new buildings or eliminating some.
Based on my search,I found that it is possible with VirtualcityDATABASE. But the problem is, it is commercial and almost not possible for me to buy and company as well.
Does anyone know if there is any trial or student version?
also has anyone any Idea how do we update without VCD?
Thanks in advance

Hi,
with version 3.3 we use the delete_cityobject-function to delete buildings
SELECT citydb_pkg.delete_cityobject(id);

We've recently release a new version of Importer/Exporter which allows to delete cityobjects via CLI.
Download link: https://github.com/3dcitydb/importer-exporter/releases/tag/v4.2.3
Documentation: https://3dcitydb-docs.readthedocs.io/en/release-v4.2.3/impexp/cli.html


[Bug] Device vibration is not working

Platform

Device:  Lenovo Y700 + Gamesir G8(no rumble support)
OS: Android
Browser: Kiwi
Browser Version: 120
Better xCloud Version: 2.1.2, 3.0

Describe the bug
Device vibration is not working.
Note that I have enabled gamepad vibration on flag in chrome://flags in kiwi browser.
FYI, I used to play remote play with xbplay app, which supports device vibration as expected.
Screenshots/Videos
If applicable, add screenshots/videos to help explain your problem.

これは私も同じことになったことがあるのですが、サイレントモードを解除することで動作しました。デバイスはサイレントモードになっていませんか？

I have had this happen to me, but it worked by deactivating silent mode.Is the device in silent mode?

I have had this happen to me, but it worked by deactivating silent mode.Is the device in silent mode?

No, the device is not in silent mode. I'm wondering if device vibration is related to the silent mode of the device?

@spikewj
Is your device vibration setting "On" or "On when not using gamepad"?
Does it work when not attaching to the G8?
I also have an Y700 (2022) and it works fine for me.

Yes, my device vibration setting is "on' and it's still not working with "On when not using gamepad"
It doesn't work when not attaching to the G8.
Note that I'm using an Y700 (2023).

Does it work on this page in Kiwi? https://googlechrome.github.io/samples/vibration/
Which game are you playing? Could you try it with Cocoon?

Thank you for your comment.
It doesn't work on the page you mentioned, which means kiwi browser or Y700(2023) is not handling vibration event, right?
Then it's not the issue of better-xcloud, I guess.
Sure, It's not working with Coccon.

If so then most likely this is your device's problem. My device is running ZUI 14 so I can't help you further.
I'm gonna close this issue.

You should also check that test page on Chrome. It it works then it's Kiwi's problem, else it's the system's.

Thank you for your comment.
Unfortunately it's not working on chrome either, thus it looks like a
system issue as you mentioned.
My y700(2023) is on latest zui 15.
2024년 1월 5일 (금) 19:33, redphx @.***>님이 작성:

You should also check that test page on Chrome. It it works then it's
Kiwi's problem, else it's the system's.
—
Reply to this email directly, view it on GitHub
https://github.com/redphx/better-xcloud/issues/207#issuecomment-1878454988,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH6RSRIFRK7ROEGA4C2NFDYM7JG7AVCNFSM6AAAAABBN46SE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZYGQ2TIOJYHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

FYI, I found out the workaround for my case. When "Vibrate on touch" is turned on, the vibration works!
Open the "Settings"
Scroll down and tap "Sound & vibration."
Scroll down and tap "Vibration & haptic."
Scroll down and tap "Vibrate on touch."
Turn on the "Vibrate on touch" toggle switch.

It shouldn't be like that. It's definately a system bug.

It shouldn't be like that. It's definitely a system bug.

Yes, it's a system bug, I hope lenovo fix this in the next firmware.


Update changelog for Azure.Maps.Search

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


[BUG] Stateful set deployed with longhorn storage class shows error initially then recovers

Describe the bug
Stateful set deployed with longhorn storage class shows error Multi-Attach error for volume "pvc-a5cf75b0-fe4f-4ff5-805e-9c70a650d86d" Volume is already exclusively attached to one node and can't be attached to another initially then recovers automatically.
To Reproduce
Steps to reproduce the behavior:

Install longhorn on a cluster.
Create a stateful 1 or 2 pods workload with 'Volume claim template'
Use 'longhorn' storage class in template.
Launch the workload.
It shows error initially

Environment:

Longhorn version: v1.0.0-rc1
Kubernetes version: v1.17.5
Node OS type and version: Ubuntu 18.04

Looks like it's https://github.com/kubernetes/kubernetes/issues/85320 but there is no fix in Kubernetes in place yet.

Also hit by this in 1.0.2

remove stale due to the incorrect exempt label


Add engine to strict node version in package.json

Following to Prerequisities: Nodejs v12, make, yarn on README

@jakolehm hey, actually I think the node version is incorrect... it should’ve been 12.0 but not 0.12.0 sorry


Update Resharper to v2024.1, fixes

Description
This PR:

Fixes a package version conflict within tests that prevents the build from succeeding (unrelated to Resharper).
Updates Resharper to the latest version.
Removes usage of UriFormat.SafeUnescaped, which produces broken URLs.

Quality checklist

[x] Your code complies with our Coding Style.
[ ] You've updated unit and/or integration tests for your change, where applicable.
[ ] You've updated documentation for your change, where applicable.
If your change affects other repositories, such as Documentation, Samples and/or MainSite, add linked PRs here.
[ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.
[ ] You've added required license files and/or file headers (explaining where the code came from with proper attribution), where code is copied from StackOverflow, a blog, or OSS.

@TimHess PRs still don't run Steeltoe.All. Wasn't this fixed already?

/azp run Steeltoe.All

@TimHess PRs still don't run Steeltoe.All. Wasn't this fixed already?

Not completely fixed, we have to update pipelines in the older branches to not need the package signing secrets first


Rename to Kadai

Thanks for your PR! Please fill out the following list :)

[ ] I put the ticket or multiple tickets in review
[ ] Commit message format → Closes #<Issue Number> - Your commit message.
[ ] Sonarcloud link : <add the link here>
[ ] No documentation update needed
[ ] Link to PR with documentation update: <add the link here>
[ ] No Release Notes needed
[ ] Release Notes :

TASKANA logo in the UI still has to be replaced.
I replaced the azure links with e.g https://kadai.azurewebsites.net/kadai, even though we still have not deployed to Azure yet


Add TripleAxislike

added TripleAxislike trait for inputs that track all X, Y, and Z axes.

added KeyboardVirtualDPad3D that consists of six KeyCodes to represent a triple-axis-like input.
added TripleAxislikeChord that groups a Buttonlike and a TripleAxislike together.
added related variants such as:

InputControlType::TripleAxis
ActionDiff::TripleAxisChanged

This PR haven't added GamepadVirtualDPad3D yet, mainly because I think a gamepad's 3D input can usually be implemented using a combination of two sticks, or a stick and a VirtualAxis, rather than six buttons


Get latest stable browsers function throws an exception

const caniuse = require('caniuse-api')
caniuse.getLatestStableBrowsers();

TypeError: Cannot read property 'lastVersions' of undefined
    at Object.getLatestStableBrowsers (node_modules/caniuse-api/dist/index.js:85:41)
    at Context.<anonymous> (test/test.js:14:13)

caniuse-lite: "1.0.30000830"
caniuse-api: "2.0.0"
browserslist: "2.11.3"

Looks like this issue was fixed in https://github.com/Nyalab/caniuse-api/pull/71
Do you plan to release a new version soon ?

Yes very soon, i just had a baby, time to get back on it, and i'll ship a new version.

Oh congratulations! No rush, enjoy 😄


ISPN-7592 Use correct default cache for REST tests

https://issues.jboss.org/browse/ISPN-7592

Had to make some further changes. Should be good now.

The REST rolling upgrade test will fail, but that is because there is a different bug

Added a fix for the REST store issue

Pulling...

Integrated into master, thanks @tristantarrant !


Migration command closes connection which wipes out in-memory sqlite databases.

When you configure your tests to use an in-memory sqlite database you don't want the migration commands to close the connection when they finish because that will wipe out your database. The seed command has a keep-alive option to prevent closing the connection. Adding the same for the migration commands would fix this.

Closed with https://github.com/adonisjs/adonis-lucid/pull/306


NPE when using query expression with undefined record types

Description:
$title
Steps to reproduce:

Copy and paste the following ballerina source code to a file

function filterWithColumn(table<UndefinedRecordType> tableData, string colLabel, string colValue) returns table<UndefinedRecordType> {
    table<UndefinedRecordType> tableResult = from UndefinedRecordType row in tableData
        where row[colLabel] == colValue
        select row;

    return tableResult;
}

Run the the code with bal run

Affected Versions:
VSCode v3.0.0-preview-m9, Ballerina v2201.0.0 RC2
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Possibly related to https://github.com/ballerina-platform/ballerina-lang/issues/34621

Fixed in https://github.com/ballerina-platform/ballerina-lang/pull/36044


Jump to a specific time in the same tab

Is there a way to jump to a timestamp without opening a media view? From the screenshot below, I linked to an embedded video then I created a ### Notes section, I would like a click on local timestamp 1 to control the video above it, the current implementation opens the video in a new tab.

+1 to this request

It's a great idea!
In addition to that, it would be great if the screenshot of a specific frame or time in a video would be shown when I roll over the mouse to an embedded link.

+1

Apologies for the long period of inactivity on this project. I wanted to inform you that the plugin has been fully rewritten for the v3 release. I'm currently preparing for the beta release which add support for media note. Once it's available, if you encounter similar issues, please don't hesitate to open a new issue. Thank you for your understanding.


Create Poll System

Design and implement a poll-system within the following guidelines:
-Staff can create polls using a command
-Different options are presented to customize the poll
-Poll message is automatically created and sent by the bot in a predetermined channel
-Users can vote on the poll by clicking a button on the message
-Reactions are discouraged
-Option for poll expiration time
-Poll results are updated in real time on the message that was originally sent
-Results are sent in staff channel when poll ends

It is important for the poll to tie into the current XP system


Implements the includedContentTypes option for the compress middleware

This PR implements the includedContentTypes option for the compress middleware.
This option functions as the opposite of excludedContentTypes, ensuring that only explicitly listed content-type responses will be compressed.
What does this PR do?
Implemnts new option includedContentTypes
Motivation
I realy like to have this option (it's more natural that excludedContentTypes.
Here is simillar request: https://github.com/traefik/traefik/issues/9229
More

Added/updated tests

compress/compress_test.go

compress/brotli/brotli_test.go

Added/updated documentation

docs/content/middlewares/http/compress.md

Additional Notes

Ok. I pushed results of make generate-crd
I followed the approach used in other PRs.


Fix to localization task bundle marketplace extension build

implements the change made in https://github.com/microsoft/azuredatastudio/commit/4ade808695a6636e2bed986a8fd1ca1cd6503da5 to the localization task (as it uses the same function)

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 41.962%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
28916

Relevant Lines:
64014

💛  - Coveralls


[supply] skip sending user fraction if it's 1.0 when promoting track

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
Resolves #17605
Description
Looks like after this PR https://github.com/fastlane/fastlane/pull/15668, we missed 1 instance where the rollout had to be checked. This PR adds the check for the last occurrence of rollout (to see if it's 1.0 and, if so, skip setting it).
Testing Steps
To test this branch, modify your Gemfile as:
gem "fastlane", :git => "https://github.com/fastlane/fastlane.git", :branch => "rogerluan-supply-skip-user-fraction-if-one"

@googlebot I consent.


apt-add-repository is deprecated

We need to list an alternative way to add keys, or dig into how to do it in 2023.
RUN wget -q "https://repos.r2.relay.so/key.gpg" -O- | apt-key add -
RUN echo "deb https://repos.r2.relay.so/deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
RUN apt-get update
RUN apt-get install -y php8.1-relay

If this comes up again, we can update the docs or instructions.


Add the Locale for QuillEditor.basic() (closed)

I have noticed that when we have the "QuillToolbar.basic()" widget, we can define Locale for it, but for the "QuillEditor.basic()" we don't have this property.
For now "QuillEditor.basic()" has only these properties inside.
QuillEditor.basic(
controller: _controller,
readOnly: false,
keyboardAppearance: Brightness.light,
);
So kindly I ask you to add the "Locale " property for the "QuillEditor.basic()" widget, so that we don't have to customize "QuillEditor" by ourselves.
Thanks
Original in Quill: https://github.com/singerdmx/flutter-quill/issues/862
Join on discord to get advice and help or follow us on YouTube Visual Coding to learn more about the architecture of Visual Editor and other Flutter apps.

No longer interesting for our plans. We will ditch .basic constrcutor.


Improve the implementation of methods in PathUtils

What changes are proposed in this pull request?
I reimplemented the hasPrefix and findLowestCommonAncestor methods in PathUtils. According to the previous implementation, both methods will call getPathComponents methods, slice the path String into a String array and compare  each item in the String array. Such implementations will cause memory overheads and time overheads. And both methods can be implemented by directly calling String methods, including substring, equals, length. So I reimplemented both methods with String operations and comparison.
Why are the changes needed?
hasPrefix has been called in many other methods, especially the getMountPoint of MountTable. Improve the performance of hasPrefix will also improve other methods who frequently call it.
Does this PR introduce any user facing changes?
No

alluxio-bot, merge this please

@jiacheliu3 cherry pick this to 2.8?

@Xenorith this one is a good-to-have for 2.8 as we use this utility method quite frequently. The UT coverage is quite thorough so I'm not worried.

@Xenorith candidate for cherry-picking.

i am slightly concerned with the potential impact since this is a utility method modification. although i also trust the extensive UT coverage, prefer to not cherry pick unless it is addressing a specific known problem as opposed to general nice to have. let me know if you two think otherwise

i am slightly concerned with the potential impact since this is a utility method modification. although i also trust the extensive UT coverage, prefer to not cherry pick unless it is addressing a specific known problem as opposed to general nice to have. let me know if you two think otherwise

That's fine. We head start in improving 2.9.


Controlled Chaos Coin CCC

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

Please consider to read requirements for next PR https://developer.trustwallet.com/add_new_token_image


Support Rails 6

Bumps the version to 5.0, drops support for Ruby 2 and Rails 5, and fixes things up so that it works with Rails 6.

Oh it also switches from Travis to Github Actions for CI.

Thanks, I can't transfer it as it already exists (your fork)
Do you mind deleting or renaming it so I can proceed with the transfer?

@Intrepidd done! sorry about that, should have realized lol.

Just sent you the request, gonna see about rubygems now

Awesome, accepted! I think it’s just gem owner rails-footnotes -a<EMAIL_ADDRESS>👍🏻


feat: file chooser mode and open Yazi in "dir" arg directory

yazi --file-chooser ./temp.txt ..
You can now use my fork of fm-nvim with command Yazi.

Sorry I closed this PR by mistake, can you create a new one?


Notifications keep popping up after being dismissed

Firefox
v1.7
Problem: After a notification pops up, I go to the notifications page and dismiss it. It goes away for a bit, then the same notification pops up again. It keeps happening every 5-10 minutes, as I'm writing this.
Here's my current NyaaUtility Settings json or whatever:
  "values": [],
  "options": {
    "NyaaRemoveRule": "disabled",
    "NyaaUserBlocks": true,
    "AutoNextPage": false,
    "nyaaBlockedUsers": [],
    "blockedTags": [],
    "commentPostedAtTime": false,
    "subscribedThreads": {
      "822339": 31,
      "896293": 26,
      "931992": 2,
      "943215": 80,
      "945493": 11,
      "948861": 8,
      "957428": 4,
      "963335": 19,
      "972616": 12,
      "979334": 28,
      "990017": 12,
      "991637": 17,
      "992587": 6,
      "1041312": 4,
      "1055108": 8,
      "1056992": 19,
      "1057007": 21,
      "1057710": 16,
      "1067877": 4,
      "1070178": 8,
      "1080616": 19,
      "1085214": 9,
      "1088961": 16,
      "1095893": 7,
      "1101045": 17,
      "1109731": 11,
      "1110206": 11,
      "1110553": 9,
      "1116477": 19,
      "1122753": 17,
      "1122757": 10,
      "1123019": 15,
      "1131847": 5,
      "1132764": 7,
      "1138570": 15,
      "1138609": 20,
      "1143546": 32,
      "1145463": 8,
      "1148244": 19,
      "1149795": 20,
      "1162025": 28,
      "1162513": 9,
      "1163569": 21,
      "1173172": 34,
      "1178094": 10,
      "1178488": 7,
      "1181352": 22,
      "1186759": 7,
      "1200083": 34,
      "1202270": 48,
      "1209194": 7,
      "1233159": 9,
      "1233191": 11,
      "1244271": 10,
      "1247570": 9,
      "1258858": 10,
      "1260802": 55,
      "1277398": 21,
      "1286251": 27,
      "1289057": 32,
      "1302528": 9,
      "1308902": 4,
      "1317974": 22,
      "1320902": 3,
      "1323047": 10,
      "1339116": 32,
      "1373914": 31,
      "1392359": 15,
      "1416193": 38,
      "1420934": 19,
      "1420973": 4,
      "1420976": 5,
      "1426521": 10,
      "1428489": 13,
      "1432475": 27
    },
    "FeedsTracker": {},
    "subscribedFeeds": {},
    "notifications": {
      "1200083": {
        "comments": 34,
        "category": "1_2",
        "title": "[MTBB] Legend of the Galactic Heroes – Ginga Eiyuu Densetsu (BD 720p)",
        "size": "44.5 GiB",
        "timestamp": "1575272887",
        "id": "1200083",
        "count": 2,
        "mode": "addition",
        "type": "comment"
      }
    },
    "enableCrashAnalytics": false
  }
} init.js:284:13```

The issue might be related to having multiple nyaa tabs open.

Oh
Uhh
I'll try to fix

Issue has been happening to me as well for the past few weeks. Any updates?

Issue has been happening to me as well for the past few weeks. Any updates?

Uhh...I forgor to push to the webstore...
Well, once the update is out you will need to reset the settings
and redo them
so make sure to keep a backup


Bluetooth support

The only Flutter bluetooth library is flutter_blue. This library has seemingly been abandoned by the maintainer before even reaching 1.0.
I think a core mobile functionality like bluetooth should be given first class support by the flutter team.

And the truth is that even native support for Bluetooth is ridiculous. On Android there are many differences between versions of Android. On iOS, libraries are very low-level and complicated to use. On both platforms, privacy and battery-life concerns have made APIs incredibly inconsistent and poorly documented. So much so that you almost have to use libraries on top of the standard APIs to do any meaningful work. There is a real opportunity for Flutter to unify and simplify those APIs but it needs to be done by people who have a deep understanding of how Bluetooth works on each platform, and it needs to offer more than just the smallest common denominator in features. It needs to support background scanning, UDID filtering, all services and characteristics, background notifications when a new client appears, both client and server functionality, etc. Right now, the absence of first-class Bluetooth support is the only thing preventing me from migrating one of my dual-native apps to Flutter.

And the truth is that even native support for Bluetooth is ridiculous. On Android there are many differences between versions of Android. On iOS, libraries are very low-level and complicated to use. On both platforms, privacy and battery-life concerns have made APIs incredibly inconsistent and poorly documented. So much so that you almost have to use libraries on top of the standard APIs to do any meaningful work. There is a real opportunity for Flutter to unify and simplify those APIs but it needs to be done by people who have a deep understanding of how Bluetooth works on each platform, and it needs to offer more than just the smallest common denominator in features. It needs to support background scanning, UDID filtering, all services and characteristics, background notifications when a new client appears, both client and server functionality, etc. Right now, the absence of first-class Bluetooth support is the only thing preventing me from migrating one of my dual-native apps to Flutter.

The initial claim is wrong, but I agree with the rest. There are other Bluetooth libraries that work better than flutter_blue, such as https://pub.dev/packages/flutter_reactive_ble and https://github.com/Polidea/FlutterBleLib

The initial claim is wrong, but I agree with the rest. There are other Bluetooth libraries that work better than flutter_blue, such as https://pub.dev/packages/flutter_reactive_ble and https://github.com/Polidea/FlutterBleLib

The initial claim is wrong, but I agree with the rest. There are other Bluetooth libraries that work better than flutter_blue, such as https://pub.dev/packages/flutter_reactive_ble and https://github.com/Polidea/FlutterBleLib

Gonna give those a try! Thanks! Still believe in the sentiment that bluetooth should be rolled into the umbrella of the official repo.

The initial claim is wrong, but I agree with the rest. There are other Bluetooth libraries that work better than flutter_blue, such as https://pub.dev/packages/flutter_reactive_ble and https://github.com/Polidea/FlutterBleLib

Gonna give those a try! Thanks! Still believe in the sentiment that bluetooth should be rolled into the umbrella of the official repo.

Hello @safield
There's a similar open proposal describing your case, https://github.com/flutter/flutter/issues/53493. I suggest you to follow-up there for updates and for any questions you may have.
I see your proposal has got lots of upvotes, but for better tracking of this issue and to avoid duplicates, I recommend to use the original issue.
Closing this as a duplicate in favor of https://github.com/flutter/flutter/issues/53493.

Hello @safield
There's a similar open proposal describing your case, https://github.com/flutter/flutter/issues/53493. I suggest you to follow-up there for updates and for any questions you may have.
I see your proposal has got lots of upvotes, but for better tracking of this issue and to avoid duplicates, I recommend to use the original issue.
Closing this as a duplicate in favor of https://github.com/flutter/flutter/issues/53493.


SUGGESTION: Add Auto Disc Mounting Support for the CD Version of Final Fantasy VIII.

Hello,
I was wondering if it would be possible to add auto disc mounting support to this mod manager (similar to what there is in 7th Heaven) for the 2000 disc version of the game? It would save having to mount and unmount the disc images each time.
Many Thanks

This is a behavior that will never come to Junction VIII, as much as it doesn't exist anymore on 7th Heaven. Discs are now only for the ones who officially have a physical copy of the game. For anyone who doesn't Steam is the digital edition officially supported. If you own the disks however, feel free to put them on your Disk drive and Junction VIII will auto detect for you the unit letter, and ensure it is updated accordingly to help the game discover where it is. Hope this helps, cheers!


Add eventManager to search algorithm factory

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 0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


Readout values of external CT Eastron SDM630: total import kWh and total export kWh

Hi there,
I was wondering whether the values of total "import kWh" and "total export kWh" of the SDM630 could be read out by the inverter (1phase hybrid) and passed to home assistant.
The registers in the SDM630 are:
Addr    Parameter   Description          Unit       Modbus Protocol Start addr Hi    Lo
30073  37               Total Import kWh kWh      00                                                  48
30075  38               Total Export kWh  kWh      00                                                  4A
Would be great to have this values in order to analyse the energy that is stated from the grid supplier.
Thanks in advance
Cretanios

i have same problem , it is working for DTSD422-D3 smart meter, but i have two register Hi and Lo with total prodution, andt this integration do not read it correctly, same story with negative value 1 register for sign secend for data


git-team: 1.7.0 -> 1.8.0

Co-authored-by: Jan Schmitt<EMAIL_ADDRESS>https://github.com/hekmekk/git-team/blob/main/CHANGELOG.md#180---2022-10-28
https://github.com/hekmekk/git-team/blob/main/CHANGELOG.md#171---2022-10-09
This supersedes https://github.com/NixOS/nixpkgs/pull/201227.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/690


Add check for duplicated ids of formatted messages

see https://github.com/vivid-planet/comet/pull/707#issuecomment-1191204763
It is not possible to detect this with lint-staged, as the closest lint-staged file is used (see https://github.com/okonet/lint-staged#how-to-use-lint-staged-in-a-multi-package-monorepo), but extracting happens at the root level.
Detecting it with the CI/CD works: https://github.com/vivid-planet/comet/runs/7445752404

@kaufmo please review and merge 🙂


Support pull_request event

On pull_request event, GITHUB_SHA environment variable does not have sha of commit.
https://help.github.com/ja/articles/events-that-trigger-workflows#pull-request-events-for-forked-repositories
Acutal Error: https://github.com/norio-nomura/action-swiftlint/runs/203274466
SeeAlso: #7

This issue has been resolved by #9 and released 2.1.0


Provide the ability to exclude image imports for only certain file types

Our use case: We want to use next-images for everything except SVGs. For SVG's we want to use a babel plugin to handle svg imports and include them directly into the rendered output.
Setting exclude to /\.svg$/, works fine however we lose the ability to import SVG's in css/scss files entirely.
At the moment we are adding the following to our webpack config:
config.module.rules.push({
  test: /\.svg$/,
  issuer: /\.scss/,
  use: [{
    loader: require.resolve('url-loader'),
    options: {
      fallback: require.resolve('file-loader'),
      publicPath: `/_next/static/images/`,
      outputPath: `${options.isServer ? "../" : ""}static/images/`,
      name: "[name]-[hash].[ext]"
    }
  }]
});

Which works great, but it would be nice if this was configurable, such as:
imageProcessingRules: [
  {
    extension: 'svg',
    issuer: /\.scss/
  }
]

Where all extensions would be combined into the exclude option for the main rule.
If this is something you'd be happy to include, I can do up a PR.

How about adding an option to ignore some extensions?

So since next 9.3 and this change, next handles images coming from stylesheets and so only an exclude rule is needed to take over svg handling from next-images.
I can't think of another use case for ignoring specific issuers, so I'll mark this as closed. :+1:

Just a heads-up @OscarBarrett
I've resolved this and I'm sure a new version will release soon giving you the ability to choose the file suffixes that next-images cares about.


add codecov

add codecov to repo

Codecov Report

Merging #1 (2ed485c) into master (51e6c50) will increase coverage by 3.30%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
+ Coverage   50.41%   53.71%   +3.30%
==========================================
  Files           6        6
  Lines         121      121
==========================================
+ Hits           61       65       +4
+ Misses         51       49       -2
+ Partials        9        7       -2

Impacted Files
Coverage Δ

internal/tenanter/tenanter.go
58.33% <0.00%> (+11.11%)
:arrow_up:

Continue to review full report at Codecov.

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


Translation

Hello,
I'm trying to implement translations in my project.
I see that miqt has methods for translating like QTranslator_Tr but I'm not sure how to generate the .ts files required for translation and how to properly integrate them into my project.
How do I translate properly in miqt?
Any examples or detailed instructions would be greatly appreciated!

Thanks for your patience. There's not yet an easy answer.
In Qt C++ the process is:

Mark strings with tr("something")

It's a static class method, so that your C++ class name can be part of the "context" of the translation

Use lupdate to scan source code and extract .ts files
Translate .ts files with Qt Linguist
Add TRANSLATIONS += file.ts in the qmake .pro file.

In MIQT several steps will have to work differently:

Mark strings with qt.QApplication_Tr("something") or any other class version

Some short wrapper function would be really helpful

Extract strings using some other extractor, probably some xgettext implementation to .po format
Translate .po files with PoEdit
Convert .po files to .ts with lconvert
Use lrelease to pack .ts source to .qm binary file
Embed .qm binary file using either qrc/rcc process or singular go:embed process
Load the qm file at runtime: translator := qt.NewQTranslator(), translator.load("file.qm"), qt.QCoreApplication_installTranslator(translator)

This is not a good experience so it may be easier to stay within some pure-Go translation ecosystem. Only the downside is the qm translation system must be used to translate Qt system text (e.g. "OK"/"Cancel" buttons within default dialogs)

Alright, tried embedding the translations files using miqt-rcc and loading them using QCoreApplication_InstallTranslator, but it didn't work as expected. I think I'll stick with a pure Go i18n package instead.
Closing this issue as resolved for now.
Here’s my code for reference in case you find it helpful:
package main

import (
	"log/slog"
	"os"
	"runtime"

	_ "github.com/MatusOllah/gcharted/assets"
	_ "github.com/MatusOllah/gcharted/i18n"
	"github.com/MatusOllah/gcharted/internal/gui"
	"github.com/MatusOllah/slogcolor"
	qt "github.com/mappu/miqt/qt6"
)

func main() {
	// Logger
	slog.SetDefault(slog.New(slogcolor.NewHandler(os.Stderr, slogcolor.DefaultOptions)))

	slog.Info("GCharted version " + Version)
	slog.Info("Go version " + runtime.Version())
	slog.Info("Qt version " + qt.QLibraryInfo_Version().ToString())

	// Qt Application
	slog.Info("initializing QApplication")
	qt.NewQApplication(os.Args)

	translator := qt.NewQTranslator()
	translator.Load(":/i18n/sk.qm")
	qt.QCoreApplication_InstallTranslator(translator)

	qt.QGuiApplication_SetApplicationDisplayName("GCharted")
	qt.QCoreApplication_SetApplicationName("GCharted")
	qt.QCoreApplication_SetApplicationVersion(Version)

	slog.Info("showing GUI")
	mw := gui.NewMainWindow()
	mw.Ui().Retranslate()
	mw.Ui().MainWindow.Show()

	slog.Info("executing QApplication")
	qt.QApplication_Exec()
}


Form validation not working when Passing Empty array [ ]

It should return false when no rules are set.

When I tried to return false from  run method  of validation class
//using this lines
if(empty($this->rules))
{
return false;
}
it gives the following error:
session_start(): Failed to initialize storage module: user (path: )
I am Using php 7.1.9 with wamp on windows 7

When I set sessionsavepath in config the session  error is solved .
May I issue PR for this ?

The getErrors() method checks the session to handle redirects with input.
What type of PR do think this needs? It sounds like your session driver was simply not setup.

In CI3 when no rules are set  validation returns false.
while looking into tests In CI4 I found following method
testRunReturnsTrueWithNothingToDo()
So I am confused. Either we have to fix run method to return false or fix the docs to say that run method will return true if  you no rules set

@lonnieezell  any suggestion?

The docs should be fixed up to say that run method will return true. I'll change that now.

Hmm. Reading through that passage again, it makes me think it was done that way as a safety mechanism so you didn't get a false sense that things were working when, in reality, you forgot to add the rules. Maybe false is better.

Closed via: 0bda6ee4028ca3154628dea0b3ef52de493a3eaa