text:
Separate pipe for npm module d.ts file

This is a continuation of https://github.com/BabylonJS/Babylon.js/pull/1380
https://github.com/Microsoft/TypeScript/issues/8335#issuecomment-215194561 also seems to corroborate with this method for node modules.
This commit gets around the compile errors by creating a separate babylon.module.d.ts file that should be included in the npm package. I made a change in the Tools/Npm/package.json but I don't think it'll be sufficient since it doesn't seem like it does all the packaging.
The original babylon.d.ts file is still produced so running gulp loaders shouldn't produce new errors for files that have
///.<reference.path="../../../dist/preview.release/babylon.d.ts"/>
If this is no longer the correct approach, please let me know! thanks!

Hey @wongwill86 ,
perhaps you can help be out. I'm trying to use the new babylon.module.d.ts in my angular2 project. But now I get the following error at the startup:
babylon.module.d.ts(4672,25): error TS1039: Initializers are not allowed in ambient contexts.

Could this be a bug of the new module file or am I doing something wrong? Using latest TypeScript 2.2.1.
Thank you!

hrmm that error should show up if there's declare within a declare.
i just generated a module from master but i didn't see anything like that there.
it might help if you can post your repo up for people to see what your project setup looks like.

I think you just need to update Typescript.

authors: abow byWulf wongwill86


text:
console error on join on spigot 1.8.8

when a player joins with this plugin on the server on spigot 1.8.8 it gives you this console error
[16:36:11 ERROR]: Could not pass event PlayerJoinEvent to BadlionClientModAPI v1.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:298) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
Caused by: java.lang.NullPointerException
at net.badlion.blcmodapibukkit.listener.PlayerListener.onPlayerJoin(PlayerListener.java:152) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_231]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_231]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_231]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_231]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
... 14 more

BadlionClientModAPI v1.0 is outdated and should no longer be used. Please download and install the latest version and check if this problem persists. If so, please provide the output of the /version command.

BadlionClientModAPI v1.0 is outdated and should no longer be used. Please download and install the latest version and check if this problem persists. If so, please provide the output of the /version command.

i did install the latest version idk why it says v1.0

BadlionClientModAPI v1.0 is outdated and should no longer be used. Please download and install the latest version and check if this problem persists. If so, please provide the output of the /version command.

and version is This server is running CraftBukkit version git-Spigot-db6de12-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)

Oh, the version in the plugin.yml file never seems to be updated. Then either @PSNRigner or @mastergberry will have to address this issue. Sorry.

Hello, is it still an issue ?

Yes, I just tried to enable schematica but I can't because of that issue. Downloaded the latest version, running on Spigot 1.8.8.

Alright, I'll try to test that.

this is still an issue on 1.12.2 aswell.  Any idea when it will be fixed?

I just checked the code, this is not supposed to happen unless spigot was modified since the plugin was made. Can one of guy send me a full server log at loic@badlion.net ? It will stay confidential, It's just that I need to see if there were any other error related to that plugin, especially on boot.

I just checked the code, this is not supposed to happen unless spigot was modified since the plugin was made. Can one of guy send me a full server log at loic@badlion.net ? It will stay confidential, It's just that I need to see if there were any other error related to that plugin, especially on boot.

so regarding this when it happened I was just using one of the tagged builds, but then I just compiled and it's fine.  I think you just need to put a new build out for whatever reason.  Idk what would have changed it.

That's weird, becase the latest release (16 months ago) is the same as the current code https://github.com/BadlionClient/BadlionClientModAPI/releases/tag/1.2.1

Well as noted above it was miss versioned so I changed that, but that's all I did to it and it worked.  This shouldn't have changed anything as far as I'm aware.

Alright, thanks for the feedback

source: gharchive/issue

repo: BadlionClient/BadlionClientModAPI

license: MIT

license_type: permissive

license_source: github-api


text:
Bandwidth's V2 API Platform Migration

Hello Everyone
I am a little bit confused after reading this ,
https://support.bandwidth.com/hc/en-us/articles/360041468513-Bandwidth-s-V2-API-Platform-Migration
how does that reflect on ruby-bandwidth gem clients ?? , I mean does the upgrade to the latest version of ruby-bandwidth will take care of it ? , or I need to use something else ?
I really hope you can help me

Hi @eftikharEmad,
The ruby docs on the new docsite (https://dev.bandwidth.com/sdks/ruby.html) have a basic getting started block for using V2. Note that it's a new gem (https://rubygems.org/gems/bandwidth-sdk), and the repo can be found at https://github.com/bandwidth/ruby-sdk

@jmulford-bw thank you so much

will be still valid to keep using this gem ( v1 apis )?

Yes but we highly recommend moving over to V2 as soon as possible

authors: eftikharEmad jmulford-bw

repo: Bandwidth/ruby-bandwidth


text:
🛑 Legislative Assembly is down

In 32bed8b, Legislative Assembly (https://www.ntassembly.ca) was down:

HTTP code: 504
Response time: 378 ms

Resolved: Legislative Assembly is back up in 2cf47f8 after 11 minutes.

repo: Barctic/gnwt-monitor


text:
🛑 Executive and Indigenous Affairs is down

In d798e35, Executive and Indigenous Affairs (https://www.eia.gov.nt.ca) was down:

HTTP code: 504
Response time: 321 ms

Resolved: Executive and Indigenous Affairs is back up in a65bd0a after 51 minutes.


text:
🛑 Infrastructure is down

In 4587232, Infrastructure (https://www.inf.gov.nt.ca) was down:

HTTP code: 403
Response time: 418 ms

Resolved: Infrastructure is back up in a875e4b.


text:
🛑 Lands is down

In 15d9a2c, Lands (https://www.lands.gov.nt.ca) was down:

HTTP code: 403
Response time: 458 ms

Resolved: Lands is back up in bcbdaff.


text:
🛑 Lands is down

In e513eea, Lands (https://www.lands.gov.nt.ca) was down:

HTTP code: 403
Response time: 405 ms

Resolved: Lands is back up in 12cdca6.


text:
🛑 NWT Housing Corporation is down

In ea0e165, NWT Housing Corporation (https://www.nwthc.gov.nt.ca) was down:

HTTP code: 503
Response time: 21613 ms

Resolved: NWT Housing Corporation is back up in b26c4c3.


text:
🛑 Environment and Natural Resources is down

In a4ec73c, Environment and Natural Resources (https://www.enr.gov.nt.ca) was down:

HTTP code: 504
Response time: 345 ms

Resolved: Environment and Natural Resources is back up in e8d3cd3 after 10 minutes.


text:
🛑 Education Culture and Employment is down

In 62b56d8, Education Culture and Employment (https://www.ece.gov.nt.ca) was down:

HTTP code: 504
Response time: 302 ms

Resolved: Education Culture and Employment is back up in 67fa6fd after 16 minutes.


text:
🛑 Municipal and Community Affairs is down

In 13c8278, Municipal and Community Affairs (https://www.maca.gov.nt.ca) was down:

HTTP code: 504
Response time: 243 ms

Resolved: Municipal and Community Affairs is back up in f699fe1 after 12 minutes.


text:
🛑 Infrastructure is down

In 5e8b6fd, Infrastructure (https://www.inf.gov.nt.ca) was down:

HTTP code: 403
Response time: 281 ms

Resolved: Infrastructure is back up in 013dfc0.


text:
Can't set max level properly

I am using modrinth and made the datapack like the tutorial suggests after putting it in the datapacks folder it didn't seem to work, so I loaded it by opening the world datapacks and importing it but the max level is still 100, is there any way to set the max level to higher than 100? I'm talking about this level cap:

The wiki has some outdated information. It will be updated in due time.
There is a way to increase it higher than 100 though

There is a way to increase it higher than 100 though

If you have any info on that I'd love to hear it. Thanks for the fast reply!

I'll have some info sent after I update PlayerEX to work with the release I just put out. Join the discord for the studio if you haven't by the way! I respond quicker there.
discord.gg/pcRw79hwey

discord.gg/pcRw79hwey
This link doesn't seem to work unfortunately

It's odd because it is a valid link... but check the wiki again for data attributes, some things, especially with the config have been updated. Everything is not up to date though, it is still a work in progress.
https://bareminimumstudios.github.io/Bare-Minimum-Docs/data-attributes/datapack-setup/
This is a useful link~

https://bareminimumstudios.github.io/Bare-Minimum-Docs/data-attributes/datapack-setup/
This is a useful link~

Wow, thanks! That's exactly what I needed actually, now I can do everything I wanted. Closing the issue now, thanks a lot again.

authors: PineTreePizza bibi-reden

repo: BareMinimumStudios/data-attributes


text:
undefined mutex_lock and mutex_unlock when build for windows

Hello, im using Visual Studio 2017 to build the hypervisor project but i get mutex_lock and mutex_unlock undefined, how to fix it?

should fix by replace to ExAcquireFastMutex and ExReleaseFastMutex?

also in driver.c at line 26

extern int g_status = 0; << multi define warning

maybe it's should to be ?

extern int g_status;

Are you using master? This should be fixed, but the fix might be in one of my branches. Either way, if this is still an issue in master I can draft up a patch quick. This stuff was added just recently to support sleep/resume on Boxy properly.

hello, yes im using master branch, by Visual Studio 2017.

Fixed in #866

authors: InvisK connojd rianquinn

repo: Bareflank/hypervisor

license: mit

license_source: bigquery


text:
RFC: PAL Project Ownership/Maintenance

Summary
This RFC seeks to gather feedback from the Bareflank community and maintainers about plans for maintenance and ownership of the PAL project, including an idea to transfer ownership of the PAL project to a new GitHub organization.
What are your thoughts @rianquinn @connojd @brendank310?
Background Context
In 2018, The PAL project was started as a side project to the Bareflank Hypervisor, intended to provide a support library for manipulating system registers of Intel and ARMv8 CPUs. The goal was to reduce maintenance burden coming from Bareflank's "bfintrinsics" layer by developing a code generator, as opposed to hand-written accessor functions. Since then, the project has been used for numerous research efforts, but (to my knowledge) was never fully integrated into the Bareflank Hypervisor ecosystem (Hypervisor, MicroV, etc).
As of December 2020, The PAL project's primary contributor and maintainer (myself, Jared Wright) moved to a new employer (Amazon Web Services), where I would like to continue efforts to develop and maintain the project. In the short term, there are a couple hoops I need to jump though before I can do this, so I am looking to identify the best path for myself to contribute to PAL in open source. In the long term, I would also like to ensure the scope of the project is able to expand over time to include new features such as:

Support for more programing languages (e.g. Rust)
APIs for system instructions
APIs for peripheral devices and data structures (e.g. ACPI tables, page tables, etc)
Execution shims to enable forwarding of APIs across system boundaries (e.g. userspace->kernel via an IOCTL, much like how Chipsec works)
Adoption and integration with a variety of open-source projects (e.g. AWS's Kernel Test Framework)
Engagement with silicon vendors (e.g. Intel, AMD, etc) to seek contributions and maintenance of the project's register+instruction database.

Proposed Changes
I'd like the current Bareflank maintainers to weigh in on which of the following strategies is most appropriate to support future development and maintenance of the PAL project. My personal recommendation is to pursue "Option 1".
I would also like to get a better understanding of the Bareflank community's current dependencies on (or future plans for) the PAL project to ensure everyone's needs are supported. At the moment, I am not aware of any integrations between PAL and another project in the Bareflank organization, but I'm wondering if there are other dependencies internally at AIS?
Option 1: Move PAL to the AWS Labs GitHub Organization
Pros:

This is the easiest path for me to continue contributing to and maintaining the project.
This is likely the easiest path for me to pursue more support for the project.
The project could likely maintain its current license (MIT) or a similar one (Apache 2.0, or a more permissive MIT-0)

Cons:

The project will likely need to go through a name change (there's a another PAL project here)
The copyright for the project would likely need to be transferred from Assured Information Security, Inc to Amazon.
Existing Bareflank maintainers would need to jump through hoops to become maintainers (I don't think this is a real problem, but want to make it explicit)

Option 2: Keep PAL in the Bareflank GitHub organization (where it is now)
Pros:

The project's maintainers and the governance model stays the same.
Assured Information Security, Inc maintains the copyright to the project.

Cons:

I'm not 100% certain if it is possible for me to contribute this way. The project's current CLA agreement may cause friction for me trying to contribute and maintain on behalf of my employer.
This option will take some more research on my part.

Option 3: Find another open source community that wants to adopt the project
I'm open to suggestions if anyone has another idea for a good "home" for PAL.
Option 4: Maintain two project forks
I really hate this option, but I would be open to discussing if for some reason there is no other choice.

@JaredWright Hey, nice to hear from you. Hope all is well.

Option 1: Not likely the best option. The code was developed by AIS, so simply transferring the copyright is not as simple as just re-marking the files. A donation of the code would have to be made officially to Amazon in this case which would be far more difficult I would think when compared to Option 2.
Option 2: My preference. The CLA is only there to deal with the lack of patent protection with MIT, so if Apache 2.0 is easier, we could just change the license to make it easier to contribute to. I don't think anyone is concerned with how the code is used, but simply with protecting both AIS and people using the code from weird issues like silly lawsuits. Either way, let us know what else we can do to help.
Option 3: I don't think this is needed. If a donation has to occur, it's going to be a pain no matter what, so in this case I think AWS would be the better option if this is required.
Option 4: Agreed... this is a terrible option.

Ahh, it makes total sense this would be the scenario: Option 1 is a pain for AIS, while Option 2 is a pain for me. 😁
It just occurred to me that there might also be an Option 1.5 (right in between the first two). Since this project is licensed MIT, it would be possible to migrate the repository to a new GitHub organization (like option 1), but propagate the AIS copyright along with the project (like Option 2), so that the project (after migration) has multiple copyright holders while retaining the same license. Thoughts on that Option 1.5? If that doesn't work, I'll start looking more into the steps on my side to pursue Option 2.
I'm glad we agree that Option 4 is terrible.

I guess there might be another variation in between Option 1 and Option 2 (maybe call it 1.5.2?): Since AIS holds the copyright to this project, could they re-license it to an even more permissive MIT-0 (MIT minus the attribution requirement). I think that would enable a migration (like Option 1) without the need for attribution or a code donation. This has the obvious downside of AIS giving up the credit for developing the project though (which isn't ideal in my opinion).

@JaredWright yeah... hahahah, isn't that always how it works!
Not a huge fan of MIT-0. Option 1.5 is just a fork at the end of the day which is not ideal, but anyone is welcome to do that of course.

Right, I was implicitly suggesting to deprecate this repository as part of Option 1.5 (making it different from Option 4). I was also under the assumption that there aren't any Bareflank or AIS projects that use this repository (at a quick glance, I don't see any dependencies in hypervisor or microv).
Is the Bareflank community planning to make use of this project? If so, leaving it here definitely seems the right way to go. I didn't intend to suggest that Bareflank abandons the project, I just didn't think it was being used by this community at all.

@JaredWright What about the CLA makes it difficult to contribute changes to? I think if a barrier exists because of the CLA, it should be updated for every BF project, not just PAL, because the other projects might run into similar difficulties in the future.
If modifying the CLA is not enough, then I think Option 1.5 makes the most sense. It wouldn't be a fork as @rianquinn suggested, because a fork implies at least two streams of active development, and I'm not aware of any plans to use PAL for the new microkernel stuff moving forward or any other bareflank projects. @rianquinn and @brendank310 may have plans to use it I'm unaware of though.

@JaredWright / @connojd So it is not really an issue of who is using the code or not. I definitely want to use it in the hypervisor logic as right now, we are duplicating a lot of code that PAL can address automatically. We just haven't done the integration yet because it's not the highest priority issue at the moment.
The bigger issue with Option 1.5 is the loss of attribution. AIS funded the initial work and currently owns the copyright. The reason I suggested Apache 2.0 is that it addresses the patent issue without having to have someone sign something which could be a problem for people (although using Apache 2.0 has other issues which is why we didn't use it in the first place).
By no means do I think it is a good idea to give up attribution or copyright without an official donation. AIS should get at least a little credit for the work.

@connojd I believe the only difficulty associated with the CLA on my end is the fact that it exists (requires a legal review for me to go through, regardless of what the CLA actually says).
@rianquinn I don't believe that Option 1.5 would result in AIS giving up any attribution or copyright. Instead, the AIS copyright would propagate forwards (under the conditions of MIT), and the project would end up with two copyright holders.
It sounds like we're all trending toward either Option 2 (leave the repo here) or Option 1.5 (migrate with dual copyright holders), so how about this: I'll simultaneously start going through steps on my end to pursue both options, and will continue to update everyone here with roadblocks as I encounter them.

I definitely like Option 2 best. We did some research, and Amazon contributes to a lot of open source projects that contain a CLA including Kubernetes and Apache. It's pretty common practice, even with other open source licenses to require a CLA (it just so happens that we use it for patent issues with MIT), but again, if that is an issue, I would be open to changing to Apache 2.0 if that helps.
Option 1.5 was to use MIT-0, which specifically removes attribution requirements which is why I don't like it. If the plan is to just fork PAL to AWS and then everyone works on the project from there and nothing else changes, I question why that is needed in the first place (would be like me going to Microsoft and saying, see this project over here that you don't seem to be using right now at this exact moment... yeah, can I move it to our organization and then you work on it from there?)
Now with all of that said, I want to see movement on the project because it is a big deal for research, so if there is interest on your end, or even Amazon's, I want to ensure continued work can be done in a way that supports your needs, and I certainly don't want to make your life more difficult. I just don't want AIS getting screwed in the process.
Ideally, Option 2 (even if a license change to Apache 2 is required) is what I would prefer.

@rianquinn @JaredWright I think MIT-0 was for Option 1.5.2 :smile:. Option 1.5 IIUC proposes two things: move the project to AWS and add AWS as a copyright holder, without removing AIS's copyright. I'm personally fine with that approach if that is all that it entails.

That's not really how copyright works. Amazon cannot be a copyright holder of PAL unless AIS donates PAL officially to Amazon. It's a legal process to transfer copyright meaning AIS and Amazon's legal teams would have to be involved. Amazon is free to add or modify PAL, and those modifications are subject to the current copyright holder's CLA. In the case of Bareflank, AIS maintains the copyright of any work contributed to the project. When you don't do that, you end up with issues that for example LLVM has where a change to the license requires all copyright holders to agree (and when they get diverse enough, that can be really hard to do). But that is a possibility. Assuming the modifications are large enough, and if the CLA/license allows it, the contributor can add their copyright to the file being modified.
So in other words, moving the project to AWS's organization does not give AWS copyright claims to the project. AIS still owns 100% of the copyright, Amazon owns 0%. It just lives on a different GitHub page. For Amazon to have copyright claim to the source code AIS either needs to donate the code, or AIS needs to drop the copyright requirement from the CLA, and Amazon needs to contribute to the project. Amazon would only have a copyright claim on the additions and modifications that it made. The other option is Amazon forks PAL. In that case, AIS still owns 100% of the copyright, but on the forked project, Amazon would own the copyright to any mods and additions it made to it's fork.
This gets even more insane when you realize that in most states, your employer owns the copyright to all of the work you do, whether it is on the clock or not, something Amazon is taking a fair amount of beef for right now as the news is reporting that any game you make as an Amazon employee after hours Amazon owns and has the right to sell themselves, even if they had nothing to do with it. People went nuts over that, but right now in a lot of states, that is actually legally allowed.... even if it is totally messed up.
That's why I like option 2 the best. Change the license so that the CLA is no longer needed. For PAL specifically, we can drop the copyright goes to AIS requirement (assuming Chuck agrees), allowing Amazon to add their copyright to any file they modify or add (actually any file they add would only contain Amazon's copyright), and we are done. I don't see the benefit of moving the repo to a different organization. This way there is nothing to sign, Amazon maintains the copyright to anything they contribute, and AIS is still in the mix. The only thing we need to be sure of is the license as once Amazon has a copyright claim on some of the code, any license changes from that point on would need approval from Amazon as well as AIS, which again, gets hard to do, so you kind of want to get it right the first time. Especially if anyone else joins in.

Just wanted to say Hi. I'm a part of the OSPO at AWS and Jared has connected with us. The current state is that I'd like to see a copy of the CLA as the link provided results in a empty file. Just so it's clear though, I'm not a lawyer, so I wouldn't be interpreting that text on my own.
As AWS was one of the pioneers of MIT-0, I also wanted to +1 @rianquinn's comments on it. MIT-0 is a great license for sample code that is going into a user's codebase, but I would expect to rarely use it for a reusable library. Probably not a good fit here.

@hyandell It is great to meet you. Not sure why you are seeing a blank page. Will have to check on the plumbing there to see what the issue is. For now, this is the CLA we use (this is actually one that was just signed today by another contributor to the hypervisor):
https://cla-assistant.io/Bareflank/hypervisor?pullRequest=950
So that is what you should be seeing. We used CLA assistant to create this, and as stated above, it really only has two goals. Ensure that the contributor cannot sue AIS for patent infringement on things they contribute, and that AIS maintains the copyright of all contributed works to ensure there is a single copyright holder. For PAL, if that is an issue removing the CLA and changing to Apache 2.0 is an option.

Thanks Rian. That worked, and it looks like a standard Apache ICLA, adjusted for different project naming. I don't see us having an issue there, our folk are agreeing to Apache ICLAs all the time.
[Taking off my AWS OSPO hat and switching to my member of Apache Software Foundation licensing-opinion hat where I can be a bit more authoritative in ICLA opinion]
It's not making AIS a single copyright holder, it's giving AIS a simple copyright-license to every contribution. That's how we handle things at the ASF too. It allows us to do things like relicensing, without having to deal with copyright-assignment issues. Also, much appreciated how you put a note at the end of the CLA saying it was modeled after the ASF one :) It's always nice when folk do this right. Feels too often that folk edit the CLA all over the place, then leave the Apache title on it.
[Back to the AWS hat]
Not being copyright-assignment is awesome, because copyright reassignment is a big palaver process wise in terms of approvals and signatures, whereas licensing something under basically Apache-2.0 is done every day.
Anyways, I hope it wasn't too jarring for me to speak with two voices, and I'll get back to understanding the business side of things internally so I can help guide Jared.

@hyandell Awesome, and yeah my bad for the misleading language there. That's exactly what we are trying to do there. We don't actually care who has copyright to contributions that AIS doesn't make, but rather that AIS is one of the copyright holders of the contributed work specifically so that relicensing, reuse, etc is not an issue. Again, don't want to end up like LLVM where you have to get hundreds of people to sign off on a license change if it is ever needed in the future.

Happy Friday everyone! It took a bit of back-and-fourth, but we are all clear to proceed with Option 2 from AWS's perspective. The project will continue to operate exactly as it is now, no updates to the license or CLA are needed. Now for the fun part: get ready for a flood of contributions! 😎

authors: JaredWright connojd hyandell rianquinn

repo: Bareflank/pal


text:
🛑 QBitTorrent webUI is down

In 1c6de3e, QBitTorrent webUI (https://qbittorrent.local.jonthan.xyz) was down:

HTTP code: 404
Response time: 495 ms

Resolved: QBitTorrent webUI is back up in 4228d0e after 29 minutes.

repo: Baronhez/upptime


text:
🛑 QBitTorrent webUI is down

In f9a2a4b, QBitTorrent webUI (https://qbittorrent.local.jonthan.xyz) was down:

HTTP code: 404
Response time: 506 ms

Resolved: QBitTorrent webUI is back up in 998c30e after 6 minutes.


text:
🛑 Holder API - Provider config is down

In ad4c93e, Holder API - Provider config (https://holder-api.coronacheck.nl/v4/holder/config_providers) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Holder API - Provider config is back up in e686dbf.


text:
FileDialog doesn't implement fmt::Debug

Hi! I've just found this crate, but the simple problem I'm facing is that FileDialog doesn't implement the Debug trait...
In the docs, they say that Debug should be implemented by all public types (here).
Thanks

I am unable to apply fmt::Debug to a closure. If you know how to do this then please let me know.

If you cannot use #derive then you can easily implement Debug by hand... When I do that in VSCode with the rust-analyzer extension, it automatically fills the debug trait with the expected fmt::Formatter::debug_* functions. Then you could just not make it print the closure!

Implemented here: 492b4813d8b0895f966c9866f3bad901de07a4e3

Thank you!

authors: Barugon drehren


text:
chore(main): release 1.2.1

:robot: I have created a release beep boop
1.2.1 (2024-07-12)
Continuous Integration

correction for release action (7fa4158)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Basalt-Lab/basalt-auth/releases/tag/v1.2.1 :sunflower:

source: gharchive/pull-request

repo: Basalt-Lab/basalt-auth


text:
_about: command not found in tests

Seems like something got slightly broken recently: https://travis-ci.com/github/Bash-it/bash-it/jobs/326278439#L261
Doesn't break tests but hurts the eye.
ok 120 helpers: describe the todo.txt-cli aliases without enabling them
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 20: _about: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 21: _param: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 22: _example: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 23: _group: command not found
ok 121 search: plugin base
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 20: _about: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 21: _param: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 22: _example: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 23: _group: command not found
ok 122 search: git
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 20: _about: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 21: _param: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 22: _example: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 23: _group: command not found
ok 123 search: ruby gem bundle rake rails
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 20: _about: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 21: _param: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 22: _example: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 23: _group: command not found
ok 124 search: rails ruby gem bundler rake -chruby
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 20: _about: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 21: _param: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 22: _example: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 23: _group: command not found
ok 125 search: @git
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 20: _about: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 21: _param: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 22: _example: command not found
/home/travis/build/Bash-it/bash-it/test/lib/../../lib/helpers.bash: line 23: _group: command not found

Thanks for reporting this - nice catch!

authors: nwinkler rico-chet

repo: Bash-it/bash-it


text:
fix: icons and colors

Description

title

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.98.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: bt-platform-eng djejaquino


text:
Notebooks should be linted and typechecked in CI

It would be nice to have a linting and typechecking stage in CI for notebooks to go along with the smoke test stage added in #283.
Tasks:

[ ] Add options and scripts to make lint-notebooks and make format-notebooks to our testing Makefile
[ ] Fix all notebooks so that make lint-notebooks passes locally
[ ] Add another CI workflow that calls make lint-notebooks

@rfl-urbaniak I'm assigning this to you since you mentioned it to me earlier this week

repo: BasisResearch/chirho


text:
double check if everything listed in requirements.txt is actually needed

I'd consider regular use of pipreqs (with manual cleanup, perhaps), see:
https://stackoverflow.com/questions/31684375/automatically-create-file-requirements-txt

not using requirements.txt anymore

repo: BasisResearch/cities


text:
Footer appears half way up the page

Only really an issue when there's minimal content on the page e.g. /help

Fixed

Is there a PR for this?

authors: MattHelsby ldodds

repo: BathHacked/energy-sparks


text:
invalid values error in the GammaPoisson() for Reference data training process

Hi I encountered the value error saying that
ValueError: Expected value argument (Tensor of shape (2500, 20925)) to be within the support (IntegerGreaterThan(lower_bound=0)) of the distribution GammaPoisson(), but found invalid values:
tensor([[0.0000, 0.9725, 0.9725,  ..., 0.0000, 0.0000, 0.0000],
[0.0000, 0.0000, 0.0000,  ..., 0.0000, 0.0000, 0.0000],
[0.0000, 0.0000, 0.0000,  ..., 0.0000, 0.0000, 0.0000],
...,
[0.0000, 0.0000, 0.0000,  ..., 0.0000, 0.0000, 0.0000],
[0.0000, 0.0000, 0.0000,  ..., 0.0000, 0.0000, 0.0000],
[0.0000, 0.0000, 0.0000,  ..., 0.0000, 0.0000, 0.0000]],
device='cuda:0')
when I was trying to train the model on the reference dataset:
from cell2location.models import RegressionModel
mod = RegressionModel(adata_ref)
mod.train(max_epochs=250, batch_size=2500, train_size=1, lr=0.002, use_gpu=True)
The detailed error log is attached.
Currently I have trouble figuring out what caused this error, I am wondering if you could give some suggestions on this issue, thanks a lot!
simdata1_error.log

I had this exact problem and found the solution at #120. You have to pass non-normalized/non-log-transformed data.

what can i do, if i only got TPM data

Replied in https://github.com/BayraktarLab/cell2location/issues/204#issuecomment-1272416837

i use scanpy read the cellranger data why still have this error, i don't know where is wrong


text:
WP plugin: Notice: register_uninstall_hook was called incorrectly

Your plugin is OUTSTANDING!
But it's giving me this issue...
Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /nfs/c11/h01/mnt/200192/domains/farbest.com/html/wp-includes/functions.php on line 3560.
Your plugin has this line...
register_uninstall_hook( 	FILE, array( $this, 'uninstall' ) );
Which apparently is not the current way to code this function. Reference is here...
http://codex.wordpress.org/Function_Reference/register_uninstall_hook
Sorry I can't fix on my own... I'm sure you can!

Thanks for pointing this out to me. I'll have a look at it and fix it in the next version.
The uninstall hook doesn't do anything yet, so it should have no effect anyway.

Sorry, but it does seem to have an effect b/c one of my key plugins -- https://wordpress.org/plugins/custom-post-type-pdf-attachment/ -- does not work when mmenu is enabled.  Can you send me the fix so I can to patch my version and launch my site? Client is ANXIOUS! And you can make sure the fix works, at least in my case.

Are you sure this is due to the register_uninstall_hook? Sounds odd to me, but then again, WordPress has its oddities I guess.
For now you can simply remove the line where it is called. I'll upload a new version later on.

I uploaded a new version (1.0.1) that uses the preferred "uninstall.php":
http://mmenu.frebsite.nl/wordpress-plugin.html

Just to close the loop. The new MMenu version has A LOT of changes from mine, and since I probably hacked something in my version, I'm keeping it for now until I can make sure I don't lose anything in the upgrade.
I did comment out the uninstall hook as you suggested earlier, and that did eliminate the issue with my other plugin. Not sure why, but it's working. Thanks for a great plugin!


text:
Prepending offcanvas menu to a different element than body

Hi, I am using this menu on a site that uses .NET Webforms.  One of the menu panels has a search bar in it, but the search won't work because mmenu attaches to the body and I need it to attach inside the form.  I unfortunately don't have an example to show, but hopefully this is clear enough one won't be needed.  The HTML is set up similar to this:

    <form id="aspnetForm" class="" action="/" method="post">
    </form>

I was hoping the config options you had in the documentation would solve this issue, but it doesn't seem to, so I may be misunderstanding what the use of those configs are for (or just setting it up wrong).  But I tried this:
    $("#search-nav-copy").mmenu({
        offCanvas: {
            menuWrapperSelector: "#aspnetForm",
            pageNodetype: "form",
            pageSelector: "body > form",
        }
    });

The menu still attaches inside the body when I need it inside that form.  Is there any way to achieve this?  Thanks for the help and for the plugin!

The configuration options go in athe second object:
$('#search-copy').mmenu({
  // options
}, {
  offCanvas: {
      menuWrapperSelector: "#aspnetForm",
      pageNodetype: "form",
      pageSelector: "body > form"
  }
});

Thanks for the response!  That was a silly oversight on my part, that did what it should.  However, now I'm having a new issue.
The divs the script generates:

and

are wrapped around the form, so when it opens the panel opens inside the form like I needed, but if you click to start typing in the field, the panel closes because "mm-blocker" overlays everything.  Is there a way I can prepend these divs inside the form as well?
Thanks again!

The div .mm-page is created when the config option offCanvas.pageSelector targets more than one node.
The div #mm-blocker is prepended to the config option offCanvas.menuWrapperSelector.
I'm not sure what you're trying to accomplish, but have you considered not using the default offCanvas behavior?
http://mmenu.frebsite.nl/on-and-off-canvas.html


text:
Add Ayomide Hassan to Before I Die

Issue Addressed

Proposed Changes and Benefits

Screenshots

Notes to Reviewers

Checklist

[X] I have thoroughly read and understand The Contribution Guidelines.
[X] The title of this PR follows the keyword: brief description of change format, using one of the following keywords:

Feature - adds new or amends existing user-facing behavior.
Chore - changes that have no user-facing value, refactors, dependency bumps, etc.
Fix - bug fixes.
Docs - fixing typos and adding new content.

[X] I have listed my proposed changes and their benefits.
[X] I have linked the corresponding issue in the Issues section.

@XanderRubio Can you please look into my PR

repo: BeforeIDieCode/BeforeIDieAchievements


text:
Celebrate 1K stars

Need to find a way to celebrate 1K stars!

Found the best way to celebrate
https://github.com/pomber/stargazer

https://user-images.githubusercontent.com/11095731/124502906-5ff83d80-dd92-11eb-830a-8a00f64c36bf.mp4

https://twitter.com/BenEmdon/status/1412097102877007875

repo: BenEmdon/CenteredCollectionView


text:
Make the view mobile-friendly

The current view is not prepared for mobiles, this should be corrected

After trying several things, the problem was in the template.
It was missing the following lines:
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">

repo: Bernardo-MG/dreadball-toolkit-webpage


text:
Add views

Rwa-blogs: Add views
Hello :hand.
In this branch, I have done the following:
Tasks completed

created the four views as it is in the project sneak peek
Added all the functionalities as in the requirements

Thank you @Mihndim2020

repo: BertrandConxy/Rwa-blogs


text:
[Ruby 3] Test Track Upgrade

Summary
Upgrades test_track to Rails 3 support.

@smudge This look ready for eyes.


text:
Write a gitignore when initializing a project

/domain @Betterment/test_track_core
/no-platform
/cc @phantomphildius
When a project is built, generate_build_timestamp drops a build_timestamp file in the testtrack directory. The file is not meant to be committed, so generating a .gitignore file when we initialize a new project provides a nice default experience.

<< domain LGTM -- glad to see that we very clearly say "Commit these files to your repository." in the README too 🙂

authors: aburgel smudge

repo: Betterment/testtrack-cli


text:
Able to remove tracking parameters from shared links

Every time I use the share link, I have to manually remove those useless tracking parameters. I hope to add a feature that allows me to get a clean link just by clicking the share button.

https://github.com/BewlyBewly/BewlyBewly?tab=readme-ov-file#-introduction

BewlyBewly mainly focuses on page adjustments and optimization rather than improving functionality and efficiency.

Bilibili Evolved already has a similar feature, and it provides more additional practical functionalities

authors: NeKoOuO hakadao

repo: BewlyBewly/BewlyBewly


text:
Set out structure for processing user queries

File Structure
Suggesting the following structure:
app
├──  core
|        ├── interface.py
|        ├── vanilla.py
|        ├── langchain.py
Functions
add_file_to_collection(file: File, collection: chromadb.Client.Collection) -> None:
# Get default chromaDB embeddings from the file and add them to the ChromaCB collection, along with metadata.
# We'll need to decide what files we accept. If we want the demo to run on translation helps, those are currently in CSV, XML and SFM formats.
translate_text(text: str) -> Tuple(english_text: str, identified_lang: str):
# Uses a translation API (e.g. google translate) to translate text to English and identify the original language
get_results_from_query(query: str, collection: chromadb.Client.Collection, k: int) -> match_results: List[dict]:
# Queries a collection and returns the top k results as a list of dicts
create_context(match_results: List[dict]) -> context: str:
# Take the list of match results and create the string context for the prompt
create_prompt(context: str, chat_state: List[dict]) -> prompt: str:
# Takes the context and the chat state history and create the prompt to send to the LLM
query_llm(prompt: str, model: str) -> response:
# Takes the prompt and queries the LLM, returning the response
process_llm_response(response) -> message: str:
# Takes the LLM response and post-processes it, to return a message that is passed to the user.
update_chat_state(chat_state: List[dict], message) -> chat_state: List[dict]:
# Takes the current chat state and the new message, and creates the new chat state.

some thoughts

We could consider adding **kwargs to these functions to accomodate newer params needed for different technologies. For example, in the translate_text(), google may not need input language, but another API may need params like i/p lang, o/p lang, model_name etc.
I see in query_llm() you are passing model. Is this to choose from different technologies? Then, dont we need that choice for DB and translation API? I am thinking, a field saying technology=default_value. Or is there a different logic where we choose which implementation of the interface is to be invoked?
In langchain, I think there need not be separate create_prompt() and  get_results_from_query() methods. Instead, the query_llm() would need params to accept question and chat history. I guess, **kwargs will allow this.
BTW, are you not considering chat history in get_results_from_query()?
Have you considered using websockets instead of http APIs? In my prototype, I see, the LLM's response come as stream and takes a while to get the full response. Using websocket I was able to get the streamed response to user in real time not requiring him to wait for several seconds. I don't know if this applies for our plan where we need post processing of response though...

Thanks Kavitha, good thoughts. My responses:

We could consider adding **kwargs to these functions to accomodate newer params needed for different technologies. For example, in the translate_text(), google may not need input language, but another API may need params like i/p lang, o/p lang, model_name etc.

Yes, sounds good.

I see in query_llm() you are passing model. Is this to choose from different technologies? Then, dont we need that choice for DB and translation API? I am thinking, a field saying technology=default_value. Or is there a different logic where we choose which implementation of the interface is to be invoked?

Yes, we probably should do that for DB and translation API too. I was assuming those would be set for the demo, but probably best to have them as variables from the start, to make it easier to offer other options later.

In langchain, I think there need not be separate create_prompt() and get_results_from_query() methods. Instead, the query_llm() would need params to accept question and chat history. I guess, **kwargs will allow this.

Maybe we should combine those into one function then.

BTW, are you not considering chat history in get_results_from_query()?

Oh, yes I am doing that - good catch. I'll update this to reflect the fact that the results also incorporate the history.

Have you considered using websockets instead of http APIs? In my prototype, I see, the LLM's response come as stream and takes a while to get the full response. Using websocket I was able to get the streamed response to user in real time not requiring him to wait for several seconds. I don't know if this applies for our plan where we need post processing of response though...

I know nothing about websockets, but would love to get the response in real-time and not wait! So I would be very happy to learn how to do that...!

A high-level description of what we discussed and decided in the meeting...

Use class based structure for defining interfaces and their implementations. Following are the interface classes we can begin with:

Embedding (Implemention: OpenAI etc)
VectorDB (Implementation: ChromaDB etc)
LmmFramework (Implementation: Vanilla, Langchain)

Define different pipelines that stacks different technologies. To start with, we can have

Vanilla based pipeline
LangChain Based Pipeline

Directory structureassistant.bible/app/core
├── embedding/
       ├── interface.py
       ├── openai.py
├── vectordb/
       ├── interface.py
       ├── chroma.py
├── lmmframework/
       ├── interface.py
       ├── vanilla.py
       ├── langchain.py
├── pipeline/
       ├── interface.py
       ├── langchain_based.py
       ├── vanilla_based.py
├── auth/
       ├── supabase.py

:warning: The naming of the interface and class files are just proposals. If python/pylint etc has naming conventions or restrictions related to it, they need to be adhered to.
This just gives the structure. What goes inside each interface, like the method signatures etc can be discussed in separate issues in detail, as needed.

That looks good to me. I'll make a PR with this structure.

authors: kavitharaju woodwardmw


text:
feat(client): sort players by alphabetically by name

Summary by CodeRabbit

New Features

Players in the chat dropdown are now sorted alphabetically by their names, improving ease of use when selecting players.

brah welcome

I can't get the setup to work locally with the 3 bash scripts. Any idea?

I can't get the setup to work locally with the 3 bash scripts. Any idea? No client page shows up (VITE_PUBLIC_MASTER_ADDRESS not set)

Try uncommenting this line in the scripts/client.sh file:
# cp client/.env.sample client/.env.local

authors: bob0005 enitrat ponderingdemocritus

repo: BibliothecaDAO/eternum


text:
可以实现滑动的时候，动态改变textview么，弹窗位置可以自己设置么。

我是小菜鸡，望大神能够指点一二

@lh414035210

item 内容并非TextView控件，是用paint 绘制上去的。 动态改变文本内容是指？
弹窗位置目前是默认底部，可以设置为dialog显示居中。自由控制显示位置则可自行扩展一下源代码。

不知道他和我的想法是否一致   想要的效果就是三级联动时title随着WheelView滑动的选择动态设置到标题栏，而不是 builder.setTitleText("城市选择")设置固定的string
像上图ios这样子

repo: Bigkoo/Android-PickerView


text:
Support mocking error responses

Resource only depends on the request path and even though the response is picked by status code, the status code is not taken into account when retrieving the response body from data store. This makes it impossible to mock error responses as far as I can see.
There are three ways to change this, in my opinion:

add the status code to Resource (breaking change)
add the status code to DataStore (breaking change)
introduce an ErrorResource/StatusAwareResource which can be passed to DataStore

Maybe a mix of 1. and 3. is also possible: the status code could be optional part of Resource, i.e. not passed to the constructor.
What do you think?

Maybe, I was wrong for the case that the middleware is used with an express application. You can set the data store to be used based on the status code just before it is used to retrieve the mock data. This is not really straightforward however.

Have you had success mocking error responses?

@Fabriciu No, we decided not to use swagger.

authors: Fabriciu winniehell


text:
LibMambaUnsatisfiableError

why my miniconda have such errror :LibMambaUnsatisfiableError
C:\Users\Aristotle>conda create -n iseq -c conda-forge -c bioconda iseq
Channels:
 - conda-forge
 - bioconda
 - defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides axel needed by iseq-1.0.0-hdfd78af_0

Could not solve for environment specs
The following package could not be installed
└─ iseq is not installable because it requires
   └─ axel, which does not exist (perhaps a missing channel).

Because Axel is only supported for installation on Linux and macOS platforms, your platform Platform: win-64 does not support the installation of Axel. You can resolve this issue by two schemes:

Install a Linux virtual environment on win-64, such as directly downloading and installing the Ubuntu virtual system from the Microsoft store, and then install iSeq via Conda.
Install from the source code, see here.

Best

received,thanks very much

发件人: BioOmics @.>
发送时间: 2024年6月18日 14:49
收件人: BioOmics/iSeq @.>
抄送: Hanran11 @.>; Author @.>
主题: Re: [BioOmics/iSeq] LibMambaUnsatisfiableError (Issue #4)
Because Axel is only supported for installation on Linux and macOS platforms, your platform Platform: win-64 does not support the installation of Axel. You can resolve this issue by two schemes:

Install a Linux virtual environment on win-64, such as directly downloading and installing the Ubuntu virtual system from the Microsoft store, and then install iSeq via Conda.
Install from the source code, see herehttps://github.com/BioOmics/iSeq/blob/main/INSTALL.md.

Best
―
Reply to this email directly, view it on GitHubhttps://github.com/BioOmics/iSeq/issues/4#issuecomment-2175264214, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDJFAGYIOG2I35VES2LYFGTZH7KBDAVCNFSM6AAAAABJPFBFZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZVGI3DIMRRGQ.
You are receiving this because you authored the thread.Message ID: @.***>

repo: BioOmics/iSeq


text:
Grabber constantly crashes when attempting to open any image.

I have unintalled and reintalled multiple times, restarted my laptop. cleared data, still have this issue. Searching works fine but as soon as click on an image Grabber crashes, no matter what. Any help appreciated.
Here's the log
[13:06:13.734][Warning] Javascript 'model.js' file not found for 'Booru-on-rails' in [C:/Program Files/Grabber/sites/Booru-on-rails/model.js](file:///C:/Program%20Files/Grabber/sites/Booru-on-rails/model.js)
[13:06:14.029][Warning] Javascript 'model.js' file not found for 'Sankaku' in [C:/Program Files/Grabber/sites/Sankaku/model.js](file:///C:/Program%20Files/Grabber/sites/Sankaku/model.js)
[13:06:14.409][Info] Start loading MD5 database
[13:06:14.421][Info] MD5 database loaded (2098 entries)
[13:06:14.462][Error] JavaScript helper file could not be opened
[13:06:15.011][Info] Temp directory purged of 67/67 files (0 failed)
[13:06:26.940][Info] Software version: 7.9.0.
[13:06:26.941][Info] Software CPU architecture: x86.
[13:06:26.942][Info] Computer CPU architecture: x86_64.
[13:06:26.943][Info] Qt CPU architecture: i386.
[13:06:26.943][Info] Computer platform: Windows 10 Version 2009.
[13:06:26.944][Info] Path: [C:/Program Files/Grabber](file:///C:/Program%20Files/Grabber)
[13:06:26.945][Info] Loading preferences from [C:/Users/redho/AppData/Local/Bionus/Grabber/settings.ini](file:///C:/Users/redho/AppData/Local/Bionus/Grabber/settings.ini)
[13:06:26.947][Info] Temporary path: [C:/Users/redho/AppData/Local/Temp\Grabber](file:///C:/Users/redho/AppData/Local/Temp/Grabber)
[13:06:26.948][Info] Sources found: 25
[13:06:26.948][Info] SSL libraries: OpenSSL 1.1.1o 3 May 2022
[13:06:27.022][Info] Setting language to 'English' ([C:\Program Files\Grabber\languages\English.qm](file:///C:/Program%20Files/Grabber/languages/English.qm))...
[13:06:27.030][Info] 25 sources found: anime-pictures.net (Anime pictures), api.rule34.xxx (Gelbooru (0.2)), api.twitter.com (Twitter), behoimi.org (Danbooru), danbooru.donmai.us (Danbooru (2.0)), derpibooru.org (Philomena), e-hentai.org (E-Hentai), e621.net (E621), exhentai.org (E-Hentai), gelbooru.com (Gelbooru (0.2)), hijiribe.donmai.us (Danbooru (2.0)), konachan.com (Moebooru), nhentai.net (NHentai), nijie.info (Nijie), rule34.paheal.net (Shimmie), safebooru.org (Gelbooru (0.2)), sonohara.donmai.us (Danbooru (2.0)), tentaclerape.net (Shimmie), wallhaven.cc (WallHaven), www.artstation.com (ArtStation), www.deviantart.com (DeviantArt), www.pixiv.net (Pixiv), www.reddit.com (Reddit), www.zerochan.net (Zerochan), yande.re (Moebooru)
[13:06:27.315][Warning] It seems that Imgbrd-Grabber hasn't shut down properly last time.
[13:06:30.856][Info] Loading 0 downloads
[13:06:30.905][Info] Updating checkboxes.
[13:06:34.011][Info] [gelbooru.com] Logging in...
[13:06:34.012][Info] [rule34.paheal.net] Logging in...
[13:06:37.476][Info] [rule34.paheal.net] Login finished: failure.
[13:06:49.912][Info] [gelbooru.com] Login finished: failure.
[13:06:49.983][Info] Updating checkboxes.
[13:06:50.012][Info] Saving sources...
[13:06:50.012][Info] Updating checkboxes.
[13:06:50.086][Info] Loading results...
[13:06:50.104][Info] [api.rule34.xxx][Html] Loading page https://rule34.xxx/index.php?page=post&s=list&tags=&pid=0
[13:06:50.105][Info] [api.rule34.xxx][Xml] Loading page https://api.rule34.xxx/index.php?page=dapi&s=post&q=index&limit=800&pid=0&tags=
[13:06:50.107][Info] [e621.net][Html] Loading page https://e621.net/posts?limit=800&page=1&tags=&login=King_Anon_69&api_key=deadpool10009
[13:06:50.108][Info] [e621.net][Json] Loading page https://e621.net/posts.json?limit=800&page=1&tags=&login=King_Anon_69&api_key=deadpool10009
[13:06:50.110][Info] [gelbooru.com][Html] Loading page https://gelbooru.com/index.php?page=post&s=list&tags=&pid=0
[13:06:50.111][Info] [gelbooru.com][Xml] Loading page https://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=800&pid=0&tags=
[13:06:50.112][Info] [rule34.paheal.net][Html] Loading page http://rule34.paheal.net/post/list/1
[13:06:50.115][Info] Monitoring starting
[13:06:50.224][Info] Monitoring tick
[13:06:50.225][Info] Monitoring finished
[13:06:50.973][Info] [gelbooru.com][Html] Receiving page https://gelbooru.com/index.php?page=post&s=list&tags=&pid=0
[13:06:50.974][Info] [gelbooru.com][Html] Redirecting page https://gelbooru.com/index.php?page=post&s=list&tags=&pid=0 to https://gelbooru.com/index.php?page=post&s=list&tags=all
[13:06:50.976][Info] [gelbooru.com][Html] Loading page https://gelbooru.com/index.php?page=post&s=list&tags=all
[13:06:57.408][Info] [e621.net][Json] Receiving page https://e621.net/posts.json?limit=800&page=1&tags=&login=King_Anon_69&api_key=deadpool10009
[13:06:57.462][Warning] [e621.net][Json] SessionLoader::AuthenticationFailure
[13:06:57.463][Warning] [e621.net] Loading using Json failed. Retry using Html.
[13:07:01.369][Info] [e621.net][Html] Receiving page https://e621.net/posts?limit=800&page=1&tags=&login=King_Anon_69&api_key=deadpool10009
[13:07:01.431][Info] [e621.net][Html] Parsed page https://e621.net/posts?limit=800&page=1&tags=&login=King_Anon_69&api_key=deadpool10009: 0 images (0), 0 tags (0), -1 total (-1), -1 pages (-1)
[13:07:10.136][Info] [rule34.paheal.net][Html] Receiving page http://rule34.paheal.net/post/list/1
[13:07:10.415][Info] [rule34.paheal.net][Html] Parsed page http://rule34.paheal.net/post/list/1: 70 images (70), 10 tags (10), -1 total (400000), 500 pages (500)

Duplicate of #2711

i'm a bit confused as how this can be duplicate post when i only made one? Either way a solution would be muvh appreciated.

i'm a bit confused as how this can be duplicate post when i only made one? Either way a solution would be much appreciated.

Isn't this the same as #2710, created at the same time?

authors: Bionus Damocles-VI

repo: Bionus/imgbrd-grabber


text:
(OraklNode) Signer auto refresh

Description
Signer refreshed automatically
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Deployment

[ ] Should publish npm package
[ ] Should publish Docker image

@coderabbitai review

repo: Bisonai/orakl


text:
Undelegating the Max amount does not interact with Keplr

The "Undelegate" button does not send something to Keplr if you undelegate the whole bonded amount.
If I try to undelegate this whole amount from StakeWolle (who left our network quietly it seems) I don't get the Keplr pop-up.
I've tried using the max button as well as typing the amount.
Undelegating 1 BCNA works, but not the complete amount.

It works! I tried to undelegate MAX and worked.
When you face an issue try to open the "inspector" at browser to try to find the error @TJ-BitCanna  :)

https://testnet.ping.pub/bitcanna/tx/601649FCBF8DD59F1485A5E02A05EF03B92297021846E2683168E4FF1DC018BD

authors: RaulBernal TJ-BitCanna

repo: BitCannaGlobal/WeedWallet


text:
Black Swan Resolution

When the first short is unable to fully cover at the price feed then all shorts are liquidated the price of the least collateralized short and any remaining collateral is returned to existing shorts.  All USD orders in the order book are canceled and liquidated.
In this way all markets are always solvent regardless of price moves.

As we just discussed, the USD-denominated yield fund will help bail out insolvent shorts.  The short holder won't get anything.  Rather, in this circumstance, the order which matches the margin call won't be providing enough USD to pay off the short position's full debt.  Any difference will be made up by the yield fund.
The black swan will only trigger when there is insufficient USD in the yield fund to cover this difference.
The thinking is that any losses due to a situation that leads to insufficient collateralization should be fairly shared by long holders as a whole.  Since the yield fund belongs to the longs anyway, using it to buy out shorts is certainly fair.

When the first short is unable to fully cover at the price feed then all shorts are liquidated the price of the least collateralized short and any remaining collateral is returned to existing shorts. All USD orders in the order book are canceled and liquidated.

Please don't do it this way!
Here is how I would like to see black swan events handled: https://bitsharestalk.org/index.php?topic=12489.msg164614#msg164614

http://bytemaster.bitshares.org/article/2015/01/27/BitAssets-and-Black-Swan-Events/

authors: arhag bytemaster theoreticalbts

repo: BitShares/bitshares

license: Unlicense


text:
Automatically Sort UPCS

Reports o not automatically sort UPCs, requiring users to manually sort the UPC field.

Attempted to fix after creating the file but found it was simpler to just sort them while they are in dataframe form and then create the file.


text:
Can I parallelize just one large layer?

Can I parallelize just one large layer across gpus and keep all other layers the same and work with distributed data parallel?
For example, a regular resnet18 model, which is small enough but the number of classes is 1 million, how do I parallelize just the classification layer?

Hey,
Did you try this? did it work?


text:
Is there a gulp task to build the full set of output files for hosting?

Hello.
I'm looking to see how much space the full set of files would take during a production deployment as a way of looking at the overall footprint of a typical bootstrap 4 project. I can't figure out which files/directory represents the files that are required for hosting even after reviewing the README.md and building and testing the project here locally. Is there a directory where all of those files are located or are they spread out among several in the project?

And along those same lines, I'd be looking to arrive at the smallest size hosted files as they would be on an embedded target with a limited amount of storage space.


text:
Duda lema A.2

Buenos días,
el lema A2 me tiene mareadísima (y mira que parecía inocente), explico la situación.
Os adjunto un borrador con la demostración y la prueba del paper, indicando los puntos conflictivos en rojo. En el que la parte final se me ha atrancado rematar bien una desigualdad y ya no sé cómo seguir. Ese problema puede radicar de un paso anterior y que por eso no consiga hilar bien:
Hay dos puntos que pueden ocasionar esto:

Intercambio los signos en una definición porque pienso que no está bien de esa manera.
(Decisión que me genera un gran conflicto ¿Cómo va a estar "mal" la demostración de un paper tan trillado?)
Hay una definición que se escribe como a/bc y aunque la interpretación rigurosa debiera ser
(a/b)c he optado por tomarlo como a/(bc).

duda Lema 2.A.pdf
Agradecería que me echarais una mano, para poder continuar con  #40

@BlancaCC He exportado sin querer mal el fichero, este sería el completo

A ver, pone sqashing en vez de squashing. Así que yo qué sé...

Revisando el documento que he mandado en un apartado (que no influye en el problema), no he sido consiste con la notación de la hipótesis(2) 😅, dejo aquí captura del error por si da lugar a confusión.

Pero vamos, que se puede ignorar perfectamente.

@JavierMeri No hay prisa, no te preocupes

Tienes toda la razón en los dos comentarios sobre la demostración. Lo subrayado en verde hay que definirlo como tu lo has hecho y lo subrayado en amarillo está incorrecto, se deben intercambiar los valores tal como propones. La demostración deja muchos detalles al lector, estaría bien darle una vuelta completa para hacer una presentación clara. Si quieres podemos quedar por meet y comentarlo, con un par de ideas sencillas creo que se puede escribir la demostración de los detalles sin que sea demasiado farragosa.

@JavierMeri Gracias Javier por revisarlo

La conclusión ha sido:
Se aceptan los cambios propuestos del paper propuesto al abrir el issue.
y además se define q de tal manera que cumpla que 1/p < epsilon/4
de esta manera la ecuación conflictiva queda (adjunto imagen):

(Con la visión de intervalos y diámetro se ve mucho más claro y rápido, muchas gracias Javier, aunque sea de Lebesgue 😜)
Cerraré el issue con el commit que contenga el lema bien escrito.

authors: BlancaCC JJ JavierMeri


text:
I use clear and draw a triangle ,but sometime just one element was be rendered

I use clear and draw a triangle,sometime get a error result that background flash or triangle isn't drawed.
            await this._context.ClearColorAsync(0, 0.8f, 0, 1);
            await _context.ClearAsync(BufferBits.COLOR_BUFFER_BIT);
            await _context.DrawArraysAsync(Primitive.TRIANGLES, 0, 3);

I have to use JSRuntime both clear and drawArrays,If executed separately also get that error.
    await JSRuntime.InvokeVoidAsync("DrawArrays", _context.Canvas);
    <script>
        window.DrawArrays = (canvas) => {
            var gl = canvas.getContext("webgl");
            gl.clearColor(0, 0.8, 0, 1);
            gl.clear(gl.COLOR_BUFFER_BIT);
            gl.drawArrays(gl.TRIANGLES, 0, 3);
        }
    </script>

https://github.com/BlazorExtensions/Canvas#call-batching
can you do what is described here and see if that fixes your issues?

Thank you ,I'm not reading the Readme carefully.

authors: TFeast jorolf

repo: BlazorExtensions/Canvas


text:
Package for flathub

Reach across Linux distros could be increased by packaging as a flatpak. If there's appetite for it, there is a guide here for the nitty gritty of how to do it.
I may try my hand at this, but it won't be quickly as I'm both new to flatpak building and a bit busy.

@joshstoik1 I've almost got this packaging working locally, but I'm running into a problem with CMake erroring on being unable to find Thread during the compilation of jpegxl-sys crate. I couldn't find anything about what system dependencies are needed for that crate on its readme, and I really have no experience with c/c++ toolchain. Can you help me figure out what I need to bundle into the flatpak build runtime to make it complete compilation?
Also, what does the '-C link-arg=s' in RUSTFLAGS do, and why emit to asm? Trying to figure out if i can skip those in the flatpak builder.

Hey @EpocSquadron,
Thank you for your work!
You can ignore all the RUSTFLAGS.

-C link-arg=-s can now be set from the manifest directly via strip (I pushed this change a few minutes ago).
--emit asm creates extra objects that can be inspected afterwards, but isn't necessary for a straight build.

There are a lot of build dependencies, but not too many runtime dependencies. I generally recommend building Rust programs inside Docker containers so as not to pollute the host system with all that nonsense.
Minimal Debian Bullseye Docker build
First, clone Refract and launch Docker from the root folder of its repository:
git clone https://github.com/Blobfolio/refract.git refract
cd refract
docker run --rm -v "$PWD":/mnt -it debian:bullseye /bin/bash

Then from the Docker container's shell:
# Add wget to make life easier.
apt-get update
apt-get install -y wget

# Install the latest stable Rust. Refract requires 1.59+
wget -q -O /tmp/rustup.sh https://sh.rustup.rs
chmod +x /tmp/rustup.sh
/tmp/rustup.sh -y --profile minimal --default-toolchain stable
exec bash
rustup component add clippy
rm /tmp/rustup.sh

# Install the build dependencies.
apt-get install -y \
	cmake \
	g++ \
	gcc \
	git \
	librust-gdk-dev \
	librust-gtk-dev \
	make \
	nasm \
	ninja-build

# Pop into the /mnt directory and build!
cd /mnt
cargo test
cargo build --release

Post-Build/Runtime
The binary should be in the target folder afterwards, likely at target/release/refract. For "installation" purposes, that file should be moved somewhere like /usr/bin/refract.
According to dpkg-shlibdeps, the actual runtime dependencies from a Bullseye build are simply:

libc6 (>= 2.29)
libgdk-pixbuf-2.0-0 (>= 2.25.2)
libglib2.0-0 (>= 2.31.18)
libgtk-3-0 (>= 3.16.2)
libstdc++6 (>= 6)

(The versions and packages may vary if an older or newer distribution is used for building.)

repo: Blobfolio/refract

license: WTFPL


text:
Limit Concurrent Builds

Is there a way to limit concurrent builds?  We are currently on a resource constrained server and have run into some issues when a dev pushes several commits at once.
Also is there a better place for community support?  Not sure this is ticket worthy, but I didn't see any forums, etc.

I think this is the default behavior now: https://github.com/Block8/PHPCI/blob/master/PHPCI/Command/RunCommand.php#L104

@SamMousa It seems, but sometimes it fires multiple times at a time.
Yesterday I was doing some tests using a local phpci and I tried to add multiple builds and tried to execute the phpci:run-builds multiple times at a time. Every time I've tried to run the phpci:run-builds it showed me a notice like "There's a currently running build".
Today I've updated phpci in my office server and after some commits there has been one push that triggered four builds at a time. A part from the fact that the server slowed down too much, some of that builds started showing this error:
fatal: destination path '/var/www/phpci/PHPCI/build/50' already exists and is not an empty directory.

Failed to clone remote git repository.
Exception: Could not create a working copy.

Probably is another issue, but started showing with this huge build.
In my case I'm using the normal cron for phpci:run-builds instead of the daemon.

As said in my previous comment:

I think that I can confirm that when it starts making such a lot of builds, builds coming later crash with the following error(s):
fatal: destination path '/var/www/phpci/PHPCI/build/70' already exists and is not an empty directory.

Failed to clone remote git repository.
Exception: Could not create a working copy.

This is common too:
Cloning into '/var/www/phpci/PHPCI/build/78'...
error: cannot run /var/www/phpci/PHPCI/build/78.sh: El fitxer o directori no existeix
fatal: unable to fork

Exception: Warning: unlink(/var/www/phpci/PHPCI/build/78.key): No such file or directory in /var/www/phpci/PHPCI/Model/Build/RemoteGitBuild.php line 108

The sentence El fitxer o directori no existeix means "The file or folder does not exist".
After crashing this way, if I trigger a manual build everything seems to work as expected.

Do not start several run-builds at all. In the current state of the code, run-builds fetches a list of builds to run at the very start of its execution and try to build them all without refreshing its data between each build. Several run-builds in parallel will stomp on each other toes, trying to build the same jobs at nearly the same time.

And that's why it crashes?
What's the solution then? Create a custom script like described by @robertscherer?

That's it.

@elboletaire: also, if the flock command is available, you can try this (much simpler):
flock --exclusive --nonblock /var/run/phpci.lock /var/www/phpci/console phpci:run-builds >> /var/log/phpci.log

This will exclusively lock the file /var/run/phpci.lock during the execution of phpci:run-builds, silently failing if the file is already locked (i.e. another instance of phpci:run-builds is running).

That's a little better.

Why not use a true task scheduler instead of trying to reinvent the wheel?
https://github.com/illuminate/queue
For example would allow multiple runners relatively easy.
Also, there could be some pruning in each build, for example:

Build task starts.
Build task checks if the commit it must be run against fits the requirements (like "there must not be a commit on this branch, after the current commit, that has a build finished or in queue")
Build task runs

Since step 1 and 2 are fast it can skip task 3 if 2 is not ok; this will keep it simple and makes it so very little actual queue management is required.

authors: Adirelle SamMousa elboletaire lsenft


text:
[Suggestion] add option to specify oredict entries in oreregistry.json

just so that items can have names that dont have to be exactly like the oredict entry for the item to be recognised by other mods.

Probably not a bad idea, there are a few thinks that should be improved in
the ore registry tbh ^^
majijn notifications@github.com schrieb am Mo., 6. Nov. 2017, 00:20:

just so that items can have names that dont have to be exactly like the
oredict entry for the item to be recognised by other mods.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/44, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHwpZkxTj2A78gBoKmzzrpF67RV0BrPUks5szkK1gaJpZM4QSlEq
.

While I agree that the registries could be greatly improved: in the mean time if you need this capability crafttweaker can be used to register items into whatever oredict entry you want.

This got added just now, you can now specify the oredict name in the json with "oredictName": "nameblabla" but there will still be the different basenames, like pice, dust, ore, etc which can be configured in the main config.

authors: BloodWorkXGaming SirLyle majijn

repo: BloodWorkXGaming/ExNihiloCreatio


text:
Implement INDEPENDENT block

Check the INDEPENDENT block implementation and documentation in NEURON and add related unit test in NMODL. Check also SWEEP keyword implementation.

INDEPENDENT block should only be used with variable t in NEURON. If there is another variable set we should print a warning. Also SWEEP doesn't matter and no additional code should be generated for INDEPENDENT by NMODL

Closed by #966

authors: alkino iomaganaris

repo: BlueBrain/nmodl


text:
Update nrnunits.lib with new value

I need to enable prefixes (micro/femto/...) because it's not included in the nmodl's units' parser.
They are not enabled in mod2c or nrn

Retest this please

I don't see how you handle the %g vs %.18g units format in the mod->cpp for legacy vs modern respectively.

I don't see how you handle the %g vs %.18g units format in the mod->cpp for legacy vs modern respectively.

@nrnhines : I am thinking to handle #416 in a separate PR.

authors: alkino nrnhines pramodk


text:
Ensure bbox is correct for negative voxel dimensions

For certain atlases (e.g. Paxinos) there is a convention of initializing the VoxelData with a negative z dimension.
When the bbox is calculated in that case the min and max point are swapped. This change ensures that under all cases the min an max points are correctly ordered.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@e0347dc). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage        ?   94.23%
=======================================
  Files           ?       13
  Lines           ?      989
  Branches        ?        0
=======================================
  Hits            ?      932
  Misses          ?       57
  Partials        ?        0

Flag
Coverage Δ

pytest
94.23% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: codecov-commenter eleftherioszisis

repo: BlueBrain/voxcell


text:
🛑 hosted-PalmettoGBA is down

In 8420692, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 17e508c after 9 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 7cb961d, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 784ae5e after 16 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 83f933b, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 2926de1.


text:
🛑 hosted-PalmettoGBA is down

In 48f964a, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in af87d0c.


text:
🛑 hosted-PalmettoGBA is down

In 70dd2dd, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in cc8b1c7.


text:
tests: use npm ci

npm ci is much faster and is meant for CI. This PR is meant for evaluating the new ci command and testig the performance and compare the logs of CircleCI.
https://docs.npmjs.com/cli/ci
http://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable

I think it's slower (12s) because

If a node_modules is already present, it will be automatically removed before npm ci begins its install.

from https://docs.npmjs.com/cli/ci
and we are currently caching node_modules between builds https://github.com/DanielRuf/SketchAPI/blob/b98f53d72efc84f2714b8fd9a60b0628f6a6e739/circle.yml#L29
which means a normal npm install comes out faster (7s) https://circleci.com/gh/BohemianCoding/SketchAPI/124

Makes sense. Should I close this PR then?

You can wait for the official response :) It may be worth it to use npm ci and not cache node_modules, as I can see it having benefits when there are actual packages to install, but it depends how often that is the case

Installing the latest npm is probably slower than installing the modules on top of a cached node_modules ;)
Let’s wait for the npm to ship with npm ci by default and revisit then

You are right =) Currently checking how much the improvement of this would be (pure npm ci step.

authors: DanielRuf mathieudutour robintindale

repo: BohemianCoding/SketchAPI


text:
Try to use supported codemirror modes

Describe the feature you'd like
I have been documenting Groovy code and noted that, even though codemirror supports this mode, it is not mapped in modeMap. Maybe the codemirror controller should try to use whatever we pass as a markdown codeblock descriptor and fall back to plain text if not found.
Describe the benefits this would bring to existing BookStack users
It would enable with little maintenance all the highlighting modes codemirror provides.
Can the goal of this request already be achieved via other means?
I tried passing text/x-groovy as the MIME type defined in the mode documentation to no avail, so I think this must be implemented at the code level.
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?
1 to 5 years
Additional context
No response

@gchamon Could do, has been requested in #2057.

Thanks for taking the time to answer me though! Much appreciated!

authors: gchamon ssddanbrown

repo: BookStackApp/BookStack


text:
Feature: support Unix sockets for databases

Please add support for unix sockets for databases such as MySQL and Postgres.
As far as I can tell, this is easily accomplished by adding the following to database.php:
'unix_socket'   => env('DB_SOCKET', null),

Hi @AceBlade258,
Unix sockets can be set via the DB_HOST .env variable using the following format:
DB_HOST=localhost;unix_socket=/var/run/mysqld/mysqld.sock

Tested on my Ubuntu machine. Let me know if that doesn't work for you and I'll re-open this.


text:
Require email confirmation setting not ignored when domain restriction is in place

BookStack Version: 0.18.4
PHP Version: 7.1
MySQL Version: MariaDB 10.2

This setting does not do what it says.

If domain restriction is used then email confirmation will be required and the below value will be ignored.

However, I believe that the current behavior is correct and should be kept.  The text should be corrected/removed.  Additionally, the signup process should not prompt the user that email conformation is pending.
Expected Behavior
User log in is blocked, pending email confirmation
Current Behavior
User is able to log in.
Steps to Reproduce
Domain restriction is enabled.
Require email confirmation is disabled
User signs up, gets prompted to confirm email.
User attempts to log in

Thank you for raising this issue.
I think its important that email confirmation is forced, At least for now, otherwise the domain restriction is essentially useless and it ensures a security-first approach.
The only place I can think where not-forcing email would be ideal is when only using social authentication options which is not yet a possible feature.

authors: ssddanbrown tuaris


text:
Raspberry Pi 4B Ubuntu 22.04 Compile Error

After install all required packages, i run build_linux.sh buid command, and i got error message:
/bin/sh: 1: /home/raspberry/Program/CppCode/Pilot/engine/3rdparty/VulkanSDK/bin/Linux/glslangValidator: Exec format error
/bin/sh: 1: /home/raspberry/Program/CppCode/Pilot/engine/3rdparty/VulkanSDK/bin/Linux/glslangValidator: Exec format error

gmake[2]: *** [engine/shader/CMakeFiles/PilotShaderCompile.dir/build.make:208: ../engine/shader/generated/spv/axis.vert.spv] Error 126
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [engine/shader/CMakeFiles/PilotShaderCompile.dir/build.make:212: ../engine/shader/generated/spv/color_grading.frag.spv] Error 126

May be it's an error about running vulkan glslangValidator on ubuntu 22.04 ?

It seems that this glslangValidator can not run at this machine.
You could try to install the sdk from official website

Actually, for Raspberry Pi 4B, this link may be the valid way to install Vulkan. Supported extensions are listed here, many extensions are not supported. From this link, may be Raspberry Pi 4B and Raspberry Pi CM4 are the only models that support Vulkan Driver. May be I should consider use another machine to run this engine instead of Raspberry Pi.

And maybe we could update the build script to support more system. I hope this Pilot engine could run on more platforms such as android and iphone and other mobile device.

repo: BoomingTech/Pilot


text:
Fix readme for 403 when requesting secrets

Fixes for this error when trying to read secrets in container.
E0817 01:44:26.955028       1 vault.go:154] failed to retrieve the resource: type: secret, path: secret/.... from vault, error: Error making API request.
URL: GET http://vault:8200/v1/secret/...
Code: 403. Errors:

* permission denied

The problem is the the role created doesn't have the policy attached.

The sample-app role does not need the kubernetes-vault policy. The kubernetes-vault policy is used by the kubernetes-vault token role. There is a setup script that automates all of this and it currently works correctly.
See:

https://github.com/Boostport/kubernetes-vault/blob/master/deployments/quick-start/setup.sh#L102
https://github.com/Boostport/kubernetes-vault/blob/master/deployments/quick-start/setup.sh#L112

I followed the instructions listed in the readme and it doesn't work without this change.

@krazik Thanks for the feedback! I will spin up minikube and test the instructions out again to see what's happening.

Ok, here's are the environments I tested in:

Minikube with Kubernetes 1.7.0 without RBAC
Minikube with Kubernetes 1.7.0 with RBAC

In both cases, I deployed kubernetes-vault.yml which included RBAC objects.
In both cases, Kubernetes-Vault started successfully and the sample-app instances also received a token after they started.

ping @krazik

@krazik I am going to close this as the PR has gone stale and the issue was not reproducible.

repo: Boostport/kubernetes-vault


text:
Typo in compute_wait_time argument

BME280_RETURN_FUNCTION_TYPE bme280_compute_wait_time(u8
*v_delaytime_u8)
or
BME280_RETURN_FUNCTION_TYPE bme280_compute_wait_time(u8
*v_delaytime_u8r);
?

We will fix this in the next release.

authors: BoschSensortec jonathancurrie


text:
Update sbt-tpolecat to 0.1.18

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.davidgregory084", artifactId = "sbt-tpolecat" } ]

labels: sbt-plugin-update, semver-patch

Superseded by #54.


text:
🛑 spell is down

In 4e2b396, spell (https://spell.botslovers.com/spell/spells) was down:

HTTP code: 502
Response time: 690 ms

Resolved: spell is back up in 19414f5.

repo: Botslovers-SL/uptime


text:
🛑 ascancelas is down

In d29b4cb, ascancelas (https://ascancelas.botslovers.com) was down:

HTTP code: 404
Response time: 297 ms

Resolved: ascancelas is back up in 4061525 after 8 minutes.


text:
🛑 bkool is down

In 291c5eb, bkool (https://bkool.botslovers.com) was down:

HTTP code: 404
Response time: 427 ms

Resolved: bkool is back up in e6d6601.


text:
#19

Correct the issue 19

Coverage decreased (-0.3%) to 31.12% when pulling a4adca1586240be3d33b08af93962cacf489f2b2 on Hamlix:#19 into b94f7f19b3c8aea9f53fa0166eac436d0d16534d on Bouquet2:develop.

authors: Hamlix coveralls


text:
'Save Scene' button gone on creation

When making a new scene in foundry v0.8.6 and Scene Defaults v1.0.2, the save scene button at the bottom of the scene creation window is not longer present.

I think you might be getting my module mixed up with Default Scene, by Hadolonut/assassinduke. Their module has the "Save as Default" option at the bottom of the scene creation window. My module lets you configure the default scene settings through the module settings menu (Configure Settings -> Module Settings -> Scene Defaults -> Edit Scene Defaults).

You are correct, I was looking at my module list and 'Default Scene' looks like this:  T_T

Apologies

authors: BradfordC kgruszcz

repo: BradfordC/FoundryVTT-Scene-Defaults


text:
🛑 Drank jowile is down

In fdf9299, Drank jowile (https://drank.jowile.be) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Drank jowile is back up in 7362155 after 32 minutes.


text:
FIXIng a possible NPE

@Sarkar @aaustin  On A slower network link creation may take time and eventually link
will get created after dialog dismiss. This will lead to an NPE since
the instance of builder and context are nullified on dismissing the
dialog

Looks ok to me after syntax stuff :+1:

makes sense to me. :+1:

authors: Sarkar aaustin sojanpr


text:
Crash with latest BASE release

https://gist.github.com/ChiefLogan3010/6db2cd426ecd76dc6b3a72257ce0b641

Fixed in 0.2.2, available as soon as the Cursebeast spits it out.

repo: BrassGoggledCoders/SteamAgeRevolution


text:
Support Color Mode + Hue Saturation

I'm using these professional film lights for home lighting. They have really high CRI and can support a huge number of colors.
The supported DMX profiles are listed here.
I'd like to use the D CCT GM HUE SAT profile, which supports expressing color temperature and hue + saturation. That way, I can set the color temperature of the light, or set a specific color.
Playing around with your code, if I add COLOR_MODE_HS to _supported_color_modes in DmxWhite, then in the dashboard home assistant UI, it allows me to specify the color either using color temperature, or hue and saturation. Depending on which one I use in the dashboard UI, I find the async_turn_on function being called either with one of these two sets of parameters:

{'hs_color': (248.0, 69.0)}
{'color_temp': 127, 'color_temp_kelvin': 7842}

Thus, this functionality is already supported by home assistant. I'd be nice to support it in artnet_led.
I was able to get the light to work with this config, but I can't specify colors:
        - channel: 1
          name: test_light
          type: color_temp
          min_temp: 1750K
          max_temp: 9910K
          channel_setup:
            - d
            - t
            - 0
            - 0
            - 0

Sure, I can do that. I'll build this into the RGB lights though; adding COLOR_MODE_HS to DmxWhite really just transforms it into what we call an rgbww light. So I'll just add letters to rgb, rgbw and rgbww to output hue and saturation.
What letter would you like for this? h is already taken sadly. :(

What about u for hue and U for saturation?
There's another problem using rgbww, then. There is no conversion between cold and warm white, and color temperature. That is, this line is not correct. Instead, rgbww_to_color_temperature needs to be called.

Added in v0.1.13, please test and report back.
rgbww_to_color_temperature converts cold/warm into the Kelvin scale, but we need a [0. 255] scale. The coldest temperature  0, means the warm white LED is also 0, so they're fully related.

This is my configuration:
        - channel: 1
          name: color_temp_light
          type: color_temp
          min_temp: 1750K
          max_temp: 9910K
          channel_setup:
            - d
            - t
            - 0
            - 0
            - 0
        - channel: 6
          name: rgbww_light
          type: rgbww
          min_temp: 1750K
          max_temp: 9910K
          channel_setup:
            - d
            - t
            - 0
            - u
            - U

Here's the test script:
alias: Test light
sequence:
  - service: light.turn_on
    data:
      kelvin: 3000
      brightness_pct: 50
    target:
      entity_id:
        - light.color_temp_light
        - light.rgbww_light
mode: single

The resulting Art-Net packets (in decimal) are:
128 39 00 00 00
128 65 00 00 00

The second number for each channel is the color temperature value. My setup uses the min_temp and max_temp setting such that 0 = 1750K and 255 = 9910K. So, each step = (9910 - 1750) / 255 = 32. 3000K corresponds to (3000 - 1750) / 32 = 39. Thus, the color_temp light is getting the right value, and the rgbww light is getting the wrong value.
This is debug that prints the arguments for each of the async_turn_on calls:
DmxRGBWW.async_turn_on({'brightness': 128, 'rgbww_color': (0, 0, 0, 65, 63)})
DmxWhite.async_turn_on({'color_temp': 333, 'color_temp_kelvin': 3000, 'brightness': 128})

The conversion happens here.
Following the calculation of color_temperature_to_rgbww(3000, 128, 1750, 9910):
max_mireds = color_temperature_kelvin_to_mired(min_kelvin) = 571
min_mireds = color_temperature_kelvin_to_mired(max_kelvin) = 100
temperature = color_temperature_kelvin_to_mired(temperature) = 333
mired_range = max_mireds - min_mireds = 471
cold = ((max_mireds - temperature) / mired_range) * brightness = 64.67940552016985
warm = brightness - cold = 63.32059447983015
return (0, 0, 0, round(cold), round(warm))

This is notably different from what is actually needed for the color temperature channel (at least for my LED):
temperature_range = max_kelvin - min_kelvin = 8160
color_temp_channel = ((temperature - min_kelvin) / temperature_range) * 255 = 39.0625
return round(color_temp_channel)

Using the formula from the DMX profiles PDF I linked to earlier for my bulb with DMX-Value = 39:
CCT = 1750 + 32*DMX-Value = 2998

Thus, using the value of cold_white for color temperature is not quite right (at least for my bulb).

Thanks for writing that all up! Managed to fix it in v0.1.14, please test. :)

Just finished testing your changes. Findings:

It looks like the meaning of t and T are swapped now, to the extent that the comment is no longer correct. When color_temp_kelvin is equal to min_kelvin, t gets a value of 255. The comment says 255 = cold. However, low color temperature is warm, not cold.
There's a larger design flaw with this approach that results in issues at low brightness values. Here are the results of my testing. At low brightness values, the color temperature is wildly off. These issues are pretty noticeable when dimming lights or when just trying to run at low brightness. I don't see a way to deal with the issue with the current design, though. With 2300K and 5 brightness, the async_turn_on method gets these arguments: {'brightness': 5, 'rgbww_color': (0, 0, 0, 1, 4)}. There is simply not enough precision to compute the right color temperature value. The more robust approach would be to specify color temperature in the list of supported color modes. That will result in the color temperature being passed without any lossy conversion.

One more thought: I think overall the most robust approach for this library is to avoid doing any conversion at all. Let all conversion happen in LightEntity library, instead.
Let the user specify the supported color mode from LightEntity (or multiple). Add a mapping from letter (like in your current design), to a method to extract a specific value from the kwargs.
E.g. for my light, I would specify supported color modes of COLOR_TEMP and HS. I can specify each value in a script and the Dmx library gets exactly what I specify. The only thing it needs to do is to convert into the range 0-255 for DMX.

Alright both should be fixed in v0.1.15. Thanks for testing so thoroughly! My staging environment isn't linked to physical lights, so didn't notice temperature being inverted.
I fully agree with your last thought, the architecture has grown a bit organically and isn't designed for what it's all doing now. Though I think some mapping will always be necessary (e.g. service call does HS, but light is defined in RGB), a layer of indirection and a more holistic approach in general towards the lights would much better. My dissatisfaction with the code is also the reason why I haven't submitted it to HACS' default repositories yet.
In my platform refactor project to include additional entities beyond just lights, I am rewriting it from the ground up. Party because I have to, party because of the above.

Hi Breina. The color temperature logic looks good now.
Thank you very much for adding these features. I'm overall impressed with how quickly you got to it. I don't have a whole lot of experience with open source, and I'm surprised that you are supporting this library very well.
I'm looking forward to the next versions. I do still recommend removing all color conversion logic from your library. An LED driver shouldn't do its own color conversion if it doesn't need to.

authors: Breina klopyrev

repo: Breina/ha-artnet-led


text:
No tags for 3.1.0 - 3.3.0 Releases

It's difficult to verify what is up on npm vs what is in the source code if version numbers don't align with tags. Seeing if source code aligns with versions is important for security, and a missing tag in a repo is sometimes a signal that a package has been compromised. It would be greatly appreciated if you could tag your releases in the future. :)

Sorry about that.  I just forgot to push the tags.  They're all pushed now.

No prob! Thanks for pushing ❤

authors: BryanDonovan gavingmiller

repo: BryanDonovan/node-cache-manager


text:
feat: crash status

Description
Adds support for getting the status parameter from crashes.
TODO BG

[x] crashes endpoint

Checklist

[x] Tested manually
[x] Unit tests pass with no errors or warnings
[x] Documentation updated (if applicable)
[ ] Reviewed by at least 1 other contributor

:tada: This PR is included in version 9.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: BugSplat-Git/bugsplat-js-api-client


text:
Tinker.DefaultLoadReporter: patch loadReporter onLoadPatchListenerReceiveFail: patch receive fail: code: -5

我已经吧lssues都看了,没有-5的问题,我看了下源码应该是JIT dalvik.vm.usejit 字段 不等于null , 并且等于true,dalvik.vm.usejitprofiles不为空,还有sdk版本<24,才返回 code -5;我把JIT在清单文件关闭,也还是报这个错误,请问是为什么,?
异常类型

手机型号

手机系统版本

Tinker版本

gradle版本

系统

堆栈/日志

repo: BuglyDevTeam/Bugly-Android-Demo