text:
Errors on the RPI4

npm start

unicorn-ffmpeg@2.2.1 start /home/pi/git/UnicornFFMPEG
pkg . -o "bin/Plex Transcoder"

pkg@4.4.0
Fetching base Node.js binaries to PKG_CACHE_PATH
fetched-v10.15.3-macos-armv7 [                    ] 0%
Error! 404 Not Found
https://github.com/zeit/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v10.15.3-macos-armv7
Asset not found by direct link:
{"tag":"v2.6","name":"uploaded-v2.6-node-v10.15.3-macos-armv7"}
Not found in GitHub releases:
{"tag":"v2.6","name":"uploaded-v2.6-node-v10.15.3-macos-armv7"}
Building base binary from source:
built-v10.15.3-macos-armv7
Error! Not able to build for 'macos' here, only for 'linux'
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! unicorn-ffmpeg@2.2.1 start: pkg . -o "bin/Plex Transcoder"
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the unicorn-ffmpeg@2.2.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

It seems like I would only need to replace macos with linux anyway to do that?

It's a pkg issue, try to remove "macos-node10" and "win-node10" in the package.json file

repo: UnicornTranscoder/UnicornFFMPEG


text:
Some extra attribute and rename testing that I neglected to include in previous PRs

Here's some extra attribute/rename testing that I missed in my previous PRs. It tests some bad parameters for attribute functions, and some renames on netCDF-4/HDF5 files. Some bugs were found and fixed, and those fixes have already been merged to master. So these tests all pass on the current master.
Part of #799.
Part of #381.

@WardF can you send me the error message from the Darwin build that is failing? Thanks!

OK, turns out my jenkins run with the address sanitizer was reporting success but was actually failing. I have fixed that, so now I am seeing several address sanitizer problems. Probably these are test code issues.
I have found and fixed the problem in tst_vars2.c. I will take a look at the other failing tests and fix them in this PR as well.

OK, turns out there was also a memory leak in the fill value string code, which I have fixed in this PR as well. Now my address sanitizer run passes. This time for real!

source: gharchive/pull-request

repo: Unidata/netcdf-c

license_type: permissive

license_source: bigquery


text:
Support mixed route paths

points of interest are:

SwapRouter.ts, especially lines 192-292 (https://github.com/Uniswap/router-sdk/pull/26/files#diff-d6c50d2e115ee74f2bd01e291289d53d8d555af6622dbc13ad117bd108177792R192-R292)
Since you last reviewed, I mostly added mixedRoute tests to src/entities/trade.ts

Changes look good to go! Feel free to merge @zhongeric

authors: snreynolds zhongeric

repo: Uniswap/router-sdk

license: MIT

license_source: github-api


text:
Autotests for Spring Unit test generation

Description
Cover main functionality with autotests.
Expected behavior
Write the structure of an autotest:

[x] input data
[ ] settings that can be applied
[ ] run fuzzing / symbolic separately?
[x] output that we check

Smoke UnitTestBot unit tests:

[x] Write smoke unit tests (select ones to automate)
[x] Automate smoke unit tests

IntelliJ UI smoke tests:

[ ] Write test to check UI work in a Spring project
[ ] Write E2E smoke test on Spring Unit tests generation
[ ] Write E2E smoke test on Spring Integration tests generation

Environment
Tests should be included into CI/CD on GitHub + can be run locally.

@tepa46 please add what features are already covered

source: gharchive/issue

repo: UnitTestBot/UTBotJava


text:
Incorrect Alexa hint?

I'm not sure if this is true, but I can't add any Kasa device to alexa.  Suggested on UD forums to ask to make sure hints are set correctly.  For the H105 plug it probably should be category of 0x04 and a subcategory of 0x02, I think.

I've asked Benoit who owns the Portal code to see what this should be set to.

Hint's are still confusing, asked @bmercier for more information.


text:
stuck on redeeming xmr

was swapping my btc an on the final step (4.redeeming your xmr) it is taking forever an just keeps failing.
pls help this is annoying as fuck
im using linux debian & v.0.5.2

I'm sorry for the issue. Your funds are safe.
See https://github.com/UnstoppableSwap/unstoppableswap-gui/issues/147#issuecomment-1647742247 for a fix.

repo: UnstoppableSwap/unstoppableswap-gui


text:
Isfolkid.sql test send

Útskýringar í skjali "TextiFyrirSp2Isfolkid"

Þetta lookar vel. Eins og jakob segir, væri betra að vera með skýrari upplýsingar um lausnina þína á verkefninu svo að hægt sé að lesa sig í gégnum þetta án þess að týnast. Nokkrar .sql skrár sem ég þekki ekki alveg munin á. Annars lýtur þetta vel út!

Það stemmir, það er sql skrá sem á einfaldlega ekki heima í repoinu. Hér hefði verið betra að óska eftir útskýringum frá @GitGud069 áður en @jakobstefan04  samþykktir. Þá hefði hann líklega spottað að skipanir.sql var gert sem prófanir, og ætti að vera hent út (eða útskýrt sérstaklega).

Virkar vel en vantar nánari útskýringar í PullReq svo maður þurfi ekki að eyða of miklum tíma í að reyna finna út úr hlutunum sjálfur.

Vel til fundið.

Verkefnið er mjög vel unnið og uppfyllir allar kröfur sem settar voru fram. Kóðinn er skýr og vel uppsettur.
Punktur til úrbóta: Gagnategundir: Í sumum tilfellum gætirðu notað nákvæmari gagnategundir til að hámarka skilvirkni gagnagrunnsins.

Það á reyndar ekki við hér, en þetta gæti verið flaggað sem eitthvað til að laga. En @GitGud069 gæti þá sagt að gangagrunnurinn er fyrirframgefinn. Það er bara verið að óska eftir fá sql skipunina sem bjó til þennan tiltekna grunn (flaws and all). Samt vel spottað @brynjarari (en það er mér að sakast, ekki @GitGud069 )

Annars ekkert út á að setja. Þjónar réttum tilgang

Tók enginn ykkar eftir (@jakobstefan04 eða @brynjarari ) að fyrstu tvær fyrirspurnar eru gott sem sú sama. En spurningarnar eru ólíkar.
Þegar þið fóruð yfir verkefnið, keyrðu þið kóðann sjálfir og rýndu þið lausnina hvort það passaði við það sem óskað var eftir? Til dæmis vantar öll úttök fyrir þennnan lið. Hér t.d. gæti ósamræmi við hvernig @jakobstefan04 skilar sinni lausn, það væri betra að óska hér eftir að samræma útlit skýrslunnar og bæta við úttaki. Mögulega benda á að það gæti verið sniðugt að setja upp í Rmarkdown líkt og í lið 1, til að þetta sé skýrara uppsett.

repo: Upplysingaverkfraedi/sqlite-martell


text:
Add a README

This looks really cool. I'd love a README so I can see where to get started using it.

This is my top priority.. i'll be getting to it ASAP

authors: Chronocook wdearden

repo: UptakeOpenSource/numpynet


text:
R / Python integration

Most users will be using one of the two, so figure out how to nicely integrate

Happy to help with this one!

Cool! I guess as a first step, how much integration is actually useful? The process of using od2net is two parts -- generate input files with a specific form, run a command with very few arguments, and do something with the results (for most interactive questions, the goal is to make the web app do it well). So maybe we don't need much -- just an equivalent example of producing valid input from R?

Pre-processing valid input files sounds like a good first step and is exactly what the R interface to odjitter() does before passing the computation to Rust via a system command. We can be a bit more sophisticated than this but as a prototype could be pretty quick to implement.

authors: Robinlovelace dabreegster


text:
Cannot find module 'meteor/accounts-base'

i have been using the meteorCLI example:
https://github.com/Urigo/angular-meteor/tree/master/examples/MeteorCLI/all-in-one
i added "accounts-password" package.
it seems that its working and all are OK but i am getting this error in the  output of the "meteor" command on every restart:
=> Client modified -- refreshing[client]: ES2015 modules Compilation: 546.297ms
imports/app/app.component.ts (4, 24): Cannot find module 'meteor/accounts-base'.
[client]: TypeScript Files Compilation: 63.283ms
[client]: HTML Files Compilation: 3.367ms
[client]: SCSS Files Compilation: 190.942ms

imports/app/app.component.ts (4, 24): Cannot find module 'meteor/accounts-base'.
The server is still running & working but this error indicate some TS types issue mayb that i couldnt resolve.
app.component.ts file:
import {Component, OnInit, OnDestroy, NgZone} from '@angular/core';
import {Router, NavigationEnd, ActivatedRoute} from '@angular/router';
import {Title} from '@angular/platform-browser';
import {Accounts} from 'meteor/accounts-base'
import {Subscription} from 'rxjs';
import { MeteorObservable } from 'meteor-rxjs';
import { Tracker } from 'meteor/tracker';

@Component({
    selector: 'app',
    templateUrl: 'app.html'
})
export class AppComponent implements OnInit, OnDestroy {

    public autorunComputation: Tracker.Computation;
    public user = {
        email: 'royh@affilomania.com',
        password: '123456'
    };

    currentUser: Meteor.User;
    currentUserId: string;
    isLoggingIn: boolean;
    isLoggedIn: boolean;

    constructor(
                private zone:NgZone,
                private router: Router,
                private activatedRoute: ActivatedRoute,
                private titleService: Title) {

        this._initAutorun();
    }

    ngOnInit() {
        MeteorObservable.subscribe('userData').subscribe();
    }

    loginUser() {
        let self = this;
        Meteor.loginWithPassword(this.user.email, this.user.password, function () {
            self.currentUser = Meteor.user();
        })
    }

    logoutUser() {
        let self = this
        Meteor.logout(function () {
            self.currentUser = Meteor.user();
        });
    }

    _initAutorun(): void {
        this.autorunComputation = Tracker.autorun(() => {
            this.zone.run(() => {
                this.currentUser = Meteor.user();
                this.currentUserId = Meteor.userId();
                this.isLoggingIn = Meteor.loggingIn();
                this.isLoggedIn = !!Meteor.user();
            })
        });
    }

    ngOnDestroy() {}
}

packages.json file:
root@75a181149b29:/app/.meteor# cat packages
# Meteor packages used by this project, one per line.
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

meteor-base@1.2.0             # Packages every Meteor app needs to have
mobile-experience@1.0.5       # Packages for a great mobile UX
mongo@1.3.1                   # The database Meteor supports right now
reactive-var@1.0.11            # Reactive variable for tracker
tracker@1.1.3                 # Meteor's client-side reactive programming librar
y

standard-minifier-css@1.3.5         # CSS minifier run for production mode
standard-minifier-js@2.2.0          # JS minifier run for production mode
# es5-shim@4.6.15                # ECMAScript 5 compatibility for older browsers
# ecmascript@0.9.0              # Enable ECMAScript2015+ syntax in app code
shell-server@0.3.0            # Server-side component of the `meteor shell` comm
and

server-render@0.2.0
angular-compilers
accounts-password
ecmascript
accounts-base

tsconfig.json file:
{
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "baseUrl": ".",
    "declaration": false,
    "emitDecoratorMetadata": true,
    "importHelpers": true,
    "experimentalDecorators": true,
    "lib": [
      "dom",
      "es2015"
    ],
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "target": "es2015",
    "skipLibCheck": true,
    "stripInternal": true,
    "noImplicitAny": false
  },
  "include": [
    "imports/**/*.ts",
    "client/**/*.ts",
    "server/**/*.ts"
  ],
  "types": [
    "@types/meteor",
    "@types/node"
  ],
  "exclude": [
    "node_modules"
  ],
  "compileOnSave": false,
  "atom": {
    "rewriteTsconfig": false
  }
}

You shouldn't need to import accounts-base, so it is not an issue of the package;just typings are missing for that module.

oh i see, so "Accounts.createUser()" should be called from server only?

just check out meteor docs
https://docs.meteor.com/api/accounts.html

Hello @ardatan please can you be a little bit specific?
i'm facing the exact sam issue than @roeehershko and i really don't get to doc how add the missing typings.

You shouldn't need to import accounts-base, so it is not an issue of the package;just typings are missing for that module.

I am trying to use accounts-base but do not want to use accounts-password or any other. I am writing my own auth. But Accounts is unavailable as it is when accounts-password is used.
e.g.:
are server side method
Accounts._loginMethod(this, 'method', token, 'type',
() => {
// this is undefined
}

authors: DarkChopper ardatan himanshuphirke roeehershko

repo: Urigo/angular-meteor

license: mit


text:
Merge two repositories?

I had started something similar long back before stumbling on the awesome series and this repository. I wanted to share new things I stumble upon while exploring Meteor and group the resources for someone who later want to learn it.
Here is the link to the repository.
I'm not sure whether to maintain it as a separate repository or merge it with yours. Also whether I can put it under "Awesome" category. I plan to maintain it regularly. Please share your thoughts.

why not merge it with this one?

Sorry for late reply.
Sure! I'll see if there aren't any duplicates and sent a PR accordingly.

Having single repository helps developers quickly find resources and looking multiple locations

closing as there was no response

authors: ManrajGrover Rahman-S-M Urigo manrajgrover

repo: Urigo/awesome-meteor


text:
bug: no visible dots on iPad11,3 iOS 13.5

The app installs okay, I checked the settings to make sure the toggle is enabled.
I can provide ssh over teamviewer if it helps debugging.
Thanks!

Hey,
So you've confirmed that none of the indicators appear at all?
If so, have you tried reinstalling? LDRestart?
Quorra, to the best of my knowledge, has no conflicts, so I'm honestly unsure why it's not working for you.

yes, even reboot

list of tweaks and configuration page

Okay, nothing seems out of place, like you said.
My current method for detecting the camera relies on the flash unit being available or not and your device doesn't seem to have a flash unit, so that would explain the missing camera indicator.
As for the others, I'm honestly at a loss. My only other idea would be to reinstall your JB's respective bootstrap (substrate, substitute, or libhooker)

hey, sorry I found a solution but forgot to update the issue.
the dots appear if I enter manual offsets like 100,100. will have to try and find the right values to send the dots to the edge somewhere
cheers

Glad you found a fix!
So with the offsets set to default (empty) the dots are hidden on your device?

So with the offsets set to default (empty) the dots are hidden on your device?

yes. no single dot anywhere. turned brightness to max trying to find the dots... nothing! :-)

Okay. I'll look into fixing that in the future. Thanks for bringing it to my attention!

repo: UsrLightmann/Quorra

license: ISC


text:
Use Hash::make() (Old 261)

In gitlab by @A-Lawrence on Aug 31, 2015, 01:08
Currently we just SHA1 passwords - we could do with changing this as we move forwards.
For this to work properly, we'll need to expire all passwords (in say 6 weeks) and for the next release differentiate between old/new passwords (by date?).

In gitlab by @A-Lawrence on Aug 31, 2015, 01:13
Yeahh. February came and went it seems.  It's not critical, but it'd be nice to harmonise.  I'll factor it in for a minor release - and allocate it to a milestone in GL!
ALawrence66 - 2015-08-30T15:45:07.390120+00:00

In gitlab by @A-Lawrence on Aug 31, 2015, 01:13
We can actually have a 'migration' period for this - if they're using the old SHA1 password, store the new hashed password in the database. That way, we don't have a couple thousand members needing to change their passwords. There's potential for this being a mid-term change, until the majority of members have been converted.
Also, hello February Anthony.
NFarrington - 2015-08-30T13:21:14.372121+00:00

In gitlab by @NFarrington on Jan 8, 2016, 08:44
Resolved by d9a57ec6dc94887211817037c63b7e9dcccb0b56

In gitlab by @A-Lawrence on Jan 12, 2016, 18:49
Removed ~98476 label

repo: VATSIM-UK/core


text:
Code running in vba Excel

Hi, I'm trying to make this code work in Excel, but I can't seem to manage the output.
Anyone who has an example of how to get the data comming from the Parse into a Spreadsheet?
Any help is highly appriciated
Marc

Check out https://youtu.be/CFFLRmHsEAs

@mithunmanohar Thanks for the link, looks great. Closing.

authors: madsbe mithunmanohar timhall

repo: VBA-tools/VBA-JSON


text:
Add sample code for File attachment

Hi,
Please add sample code for the File attachment for a rest service.
Thanks and Regards,
Sathish.

Hi @sathish804 I don't have any experience with file attachments. I've been meaning to look into it, but haven't found a good example / time to work on it. It's being tracked in #177

repo: VBA-tools/VBA-Web


text:
Simple record page

This PR introduces a simplified version of a record page, that can be embedded in popups. Attributes and tables can be specified via query params.
Route paths for this page look like:
/embed-record/long_read_transcript/TALONT000034884_DS_2e2a681fa9?tables=SampleInfo

which results in a page that looks like:

The links work. I forgot that the download link goes to a new page. We'll either need to hide that link, or make the download page work in popups (hide header/footer, etc).

repo: VEuPathDB/web-monorepo


text:
AutoML accuracy differs from Pipeline Profiler

Gents,
No sure if this is an issue at all. But I hardly get the same accuracy results when comparing autosklearn.classification.AutoSklearnClassifier() and the respective Pipeline Profiler (PP) plot. It normally show autosklearn wtih a much higher accuracy than PP. If necessary, I could send more info.
Tks.

Hi @enadio, thanks for reaching out.
The difference you are seeing is because autosklearn creates an ensemble classifier from all the pipelines tested. If you switch the metric to Ensemble Weights, you can check out how these pipelines are combined (we have an example here https://towardsdatascience.com/exploring-auto-sklearn-models-with-pipelineprofiler-5b2c54136044 - fig 2)

Thanks for the reply.
I am running Profiler, but when I select the option ensemble weight, It
does not show  new information on the left side.
Em sex., 18 de dez. de 2020 às 13:16, JorgeHPO notifications@github.com
escreveu:

Hi @enadio https://github.com/enadio, thanks for reaching out.
The difference you are seeing is because autosklearn creates an ensemble
classifier from all the pipelines tested. If you switch the metric to
Ensemble Weights, you can check out how these pipelines are combined (we
have an example here
https://towardsdatascience.com/exploring-auto-sklearn-models-with-pipelineprofiler-5b2c54136044

fig 2)

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/VIDA-NYU/PipelineVis/issues/5#issuecomment-748182381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNBFOJWFDDEMBQTUYQ6S3LSVN545ANCNFSM4U3H7J7Q
.

Thanks for the reply.
I am running Profiler, but when I select the option ensemble weight, It
does not show  new information on the left side.
Em sex., 18 de dez. de 2020 às 13:16, JorgeHPO notifications@github.com
escreveu:

Hi @enadio https://github.com/enadio, thanks for reaching out.
The difference you are seeing is because autosklearn creates an ensemble
classifier from all the pipelines tested. If you switch the metric to
Ensemble Weights, you can check out how these pipelines are combined (we
have an example here
https://towardsdatascience.com/exploring-auto-sklearn-models-with-pipelineprofiler-5b2c54136044

fig 2)

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/VIDA-NYU/PipelineVis/issues/5#issuecomment-748182381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNBFOJWFDDEMBQTUYQ6S3LSVN545ANCNFSM4U3H7J7Q
.

Hi @enadio , you should see new information on the right side (the metrics view, right below the metric drop down select).

Hi @enadio , you should see new information on the right side (the metrics view, right below the metric drop down select).

authors: enadio jorgehpo

repo: VIDA-NYU/PipelineVis


text:
[Rust]リリース版バイナリを作成するときのmodel差し替えを行いやすいようにした

内容
実際のmodel差し替えがどのように行われてるかわかってないのですが、こんな感じだとやりやすそうかなと思ってやってみました
関連 Issue
refs #128
その他

@Hiroshiba approveもらってますが、リリースにはspeaker_id_mapの変更も必要そうなのでそれもincludeするようにしました

たしかに！！ありがとうございます！


text:
feat(unit-tests): create the unit test project

Hello dear @VahidN ,
I would like to thank you for your continued work in developing and maintaining this wonderful project.
I would like to contribute.
I am one of the consumers and have encountered some issues while using it, which concern working with SQLite and PostgreSQL.
I will tell you more and help fix it in future pull requests.
First of all, I am happy to announce that I have added a unit tests project and have covered almost 100% of the following classes of the project:
EFTableColumnInfo
EFTableRowsDataReader
EFTableRows
EFTableRow
TypeExtensions
In total, I wrote 219 unit tests.
The total code coverage is 19%:

Unit tests will guarantee that the current behavior works correctly and will allow the identification of bugs in the future.
They also do not require additional configuration, unlike integration tests and performance tests.
Also, this project can be added to the CI/CD pipeline in the future to understand that the code works correctly at the stage of pull requests.
I sincerely hope you will appreciate my work and approve this pull request.
Best Regards,
Dmitrii Kiselev

Thank you.

authors: VahidN dmitrii-kiselev


text:
🛑 b2b MarketingServices is down

In 3c8a291, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in 7c54de9 after 9 minutes.


text:
🛑 b2b MarketingServices is down

In 6b49331, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in c402741 after 9 minutes.


text:
🛑 b2b MarketingServices is down

In 0c438e2, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in 75a352b after 8 minutes.


text:
[Feature] Ability to ignore devices from connection/disconnection events

The problem
I have some devices that I dont care if they connect/disconnect and they do it frequently. It would be good if I can specify a list of mac addresses to ignore from events.
Specific device(s)?
No
Firmware type
No

Hello, @joeShuff,
Thanks for your idea! Actually, I was already considering similar for just the device trackers (not to create them for ignore list e.g.). But this behaviour can also extend to the events.
So, already in consideration and will probably be implemented soon

It took some time, but with #761 even a bit better feature is included - the possibility to exclude devices from tracking and events or the possibility to include only devices you'd like to monitor.
In the first case (exclude), any device which is on the list of selected will be ignored by HA - no device_tracker will be created for it and no event fired. For all other devices, everything will work as before.
In the second case (include), only devices on the list will be monitored by the integration. Keep in mind, in this case, the events of new devices joining will NOT be fired at all. So, choose wisely.
The new version with this feature will be released soon.

Released in 0.28.0

authors: Vaskivskyi joeShuff

repo: Vaskivskyi/ha-asusrouter


text:
DataRenderer.perform_is_valid_for_data can't be properly applied when dealing with typedefs

Version and Platform (required):

Binary Ninja Version: 4.1.5396-dev Personal (716d21f3)
OS: MacOS
OS Version: 14.1

Bug Description:
Currently i can't tweak data rendering for types which is aliased (typedefd) to integer types (for example typedef uint32_t rva_t;) as in  DataRenderer.perform_is_valid_for_data callback for such types i got only Type.IntegerType instead of Type.NamedTypeReference, thus this type can't be distinguished from regular int types. Also registered_name for such type would be None so i can't use approach demonstrated in this example
Steps To Reproduce:

Create any typedef (for example typedef uint32_t rva32_t;)
Try to customise data rendering for it. Here is my testing snippet:

class TestDataRender(DataRenderer):
    def __init__(self):
        super(TestDataRender, self).__init__()

    def perform_is_valid_for_data(self, ctx, view, addr, _type, context):
        # Equivalent of checking the platform
        if not view.platform:
            return False

        # print(context)
        print(_type.type_class)
        return False

    def perform_get_lines_for_data(self, ctx, view, addr, type, prefix, width, context):
        return []

TestDataRender().register_type_specific()

Expected Behavior:
I expect that typedefd type should be NamedTypeReference or at least should have its registered_name or any other way to be able to distinguish it from regular types (not structures).
Additional Information:
Actually i think that if it's not duplicate of #4552, then at least related to it, however Peter (plafosse) said that i should open separate issue, so here we go.

yeah this is probably not related to $4552, but they both expose issues in our handling for typedef-ed types


text:
Output image error

Im getting output image error:
Traceback (most recent call last):
File "C:\cp\OmniGen\venv\lib\site-packages\gradio\queueing.py", line 624, in process_events
response = await route_utils.call_process_api(
File "C:\cp\OmniGen\venv\lib\site-packages\gradio\route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
File "C:\cp\OmniGen\venv\lib\site-packages\gradio\blocks.py", line 2018, in process_api
result = await self.call_function(
File "C:\cp\OmniGen\venv\lib\site-packages\gradio\blocks.py", line 1567, in call_function
prediction = await anyio.to_thread.run_sync(  # type: ignore
File "C:\cp\OmniGen\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "C:\cp\OmniGen\venv\lib\site-packages\anyio_backends_asyncio.py", line 2441, in run_sync_in_worker_thread
return await future
File "C:\cp\OmniGen\venv\lib\site-packages\anyio_backends_asyncio.py", line 943, in run
result = context.run(func, *args)
File "C:\cp\OmniGen\venv\lib\site-packages\gradio\utils.py", line 846, in wrapper
response = f(*args, **kwargs)
File "C:\cp\OmniGen\app.py", line 22, in generate_image
output = pipe(
File "C:\cp\OmniGen\venv\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "C:\cp\OmniGen\OmniGen\pipeline.py", line 278, in call
samples = scheduler(latents, func, model_kwargs, use_kv_cache=use_kv_cache, offload_kv_cache=offload_kv_cache)
File "C:\cp\OmniGen\OmniGen\scheduler.py", line 156, in call
cache = [OmniGenCache(num_tokens_for_img, offload_kv_cache) for _ in range(len(model_kwargs['input_ids']))] if use_kv_cache else None
File "C:\cp\OmniGen\OmniGen\scheduler.py", line 156, in
cache = [OmniGenCache(num_tokens_for_img, offload_kv_cache) for _ in range(len(model_kwargs['input_ids']))] if use_kv_cache else None
File "C:\cp\OmniGen\OmniGen\scheduler.py", line 14, in init
raise RuntimeError("OffloadedCache can only be used with a GPU")
RuntimeError: OffloadedCache can only be used with a GPU
Fyi, I have a laptop with 4070 with 8gb vram.

Same here, with a 16GB 4090 Laptop GPU.
Look like OmniGen doesn't even seem to try to use the GPU on my system - while multiple other AI installations don't encounter any problems.

Same here, with 3080ti 12GB desktop.

same error: https://github.com/VectorSpaceLab/OmniGen/issues/67
The issue is that no GPU device is detected, i.e., torch.cuda.is_available()=False. This could be due to an environment issue, such as PyTorch not being installed, or a mismatch between the PyTorch and CUDA versions. If the torch version is not suitable for your device, you can use a lower version, e.g., 2.1
You can print torch.cuda.is_available() in the same environment to check if the GPU is correctly recognized.
I modified the setup.py file to relax the version requirement for torch from ==2.3.1 to <2.5 (because there is a bug in torch 2.5). This might help to construct a correct environment.

authors: MoRgllgRoM fbauer-kunbus staoxiao vcoopers

repo: VectorSpaceLab/OmniGen


text:
Error play video

The videos play fine in all the simulators and at least on iPhone 6/7/7+ but never plays on the iPhone 5

YES EVEN I have the same problem. You found any solution ?

+1

authors: Waheiba dineshguptha vantruong1094

repo: VeinGuo/VGPlayer


text:
[Playable Embeds] Plugin crashes

Issue Description
Embeds that are playable (only tested with YouTube) will not have their embed image load and will crash momentarily after the embed becomes visible. Uninstalling the plugin resolves the issue for me in the mean time.
Additional Details
Android Version: 12.0
Discord Version: 120.11
Aliucord Version: AE8A1AC
Crash Log From Aliucord
java.lang.RuntimeException: Canvas: trying to draw too large(113836608bytes) bitmap.
	at android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:280)
	at android.graphics.BaseRecordingCanvas.drawBitmap(BaseRecordingCanvas.java:88)
	at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:548)
	at c.f.g.e.g.draw(ForwardingDrawable.java:2)
	at c.f.g.e.p.draw(ScaleTypeDrawable.java:7)
	at c.f.g.e.f.draw(FadeDrawable.java:25)
	at c.f.g.e.m.draw(RoundedCornersDrawable.java:22)
	at c.f.g.f.b.draw(RootDrawable.java:14)
	at android.widget.ImageView.onDraw(ImageView.java:1418)
	at android.view.View.draw(View.java:22369)
	at android.view.View.updateDisplayListIfDirty(View.java:21245)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
	at android.view.View.updateDisplayListIfDirty(View.java:21205)
	at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:559)
	at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:565)
	at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:642)
	at android.view.ViewRootImpl.draw(ViewRootImpl.java:4108)
	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3835)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3106)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1959)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8187)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1056)
	at android.view.Choreographer.doCallbacks(Choreographer.java:878)
	at android.view.Choreographer.doFrame(Choreographer.java:811)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1041)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:368)
	at android.app.ActivityThread.main(ActivityThread.java:7710)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)

The Stacktrace does not include my plugin or WebView at all, so it is likely a weird incompatibility with another plugin or something on your device.
Or it is caused by the WebView implementation on your device being bad. In any case, I can't really do much about it sadly so I advise you to just not use the Plugin

authors: QuickNET-Tech Vendicated

repo: Vendicated/AliucordPlugins


text:
chore: v0.22.0

Status
READY
Description
Prepares 0.22.0 release, see the CHANGELOG.md for release details.
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[X] 🗑 Chore

Drafting since there has been other commits merged since this Pull Request was raised. Hence, we require to update the CHANGELOG with all the new merged commits information (where applicable).

Underrating, updated CHANGELOG to account for the latest merged commits.


text:
fix: GitHub actions failing due to formatting issue

Description
I'm experiencing a build failure on github actions upon pushing my code. I see that there has been a fix applied that changed flutter format to dart format but for some reason it's calling flutter format on my end.
Steps To Reproduce

Expected Behavior
GitHub action build succeeding

[!] The "format" command is deprecated and will be removed in a future version of Flutter. Please use the "dart format" sub-command instead, which takes all of the same command-line arguments as "flutter format".
I assume you are using the flutter_package workflow. Version 1.12.0 fixes this issue but has not been released yet.
Meanwhile, you can modify your workflow like this:
  build:
    uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1.12.0

instead of:
  build:
    uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1

Hi, @abdimussa87. I hope the solution works provided by @ItsAlexousd. Would you mind closing the issue?

This is what I'm getting now after applying the changes described above:

@abdimussa87 please run dart format . and then push

Great this has been solved. One question though; how can I update my project created with an older version of very_good_cli when a newer version comes out?


text:
Premium features?

I was running this, but some of the features are 'greyed out' and it prompts me for a $$$$ and a credit card #. Is this proxying to the bitwarden service? Are premium features enabled? I am confused.

No there are no premium features enabled on the server. The server is stand alone and not proxying to the "main" bitwarden server.
If you pay for premium you support the app developer and "main" server.

authors: VictorNine symgryph

repo: VictorNine/bitwarden-go


text:
cache: use number of chars across expressions for size limit

Current implementation limits the cache size by number of entries
and is equal to 10k entries. However, the size of each entry may
significantly vary depending on expression complexity. This could
result into unexpected memory usage by this lib for cases when
rich and complex expressions are used.
On the other hand, size of the expression supposed to correlate
with its string representation. In this change, we switch from
limiting the cache size by entries to limiting by total number
of chars across all stored expressions. This supposed to put more
strict boundaries on memory usage for scenarios where simple and
complex regexp are used.

Thanks!

repo: VictoriaMetrics/metricsql


text:
Fix for outdated feed URL stored in user preferences

Also updated copyright strings

I wish github would notify me about new commits to PRs that I have commented on! Sorry about the delay @barijaona.

No problem, Josh, you are very quick to review

No problem, Josh, you are very quick to review

repo: ViennaRSS/vienna-rss


text:
Add base auth to lookbook

Background:
To give our designers access to lookbook, we activated lookbook in our production environment.
For security reasons, we at least want to provide a base_auth so that not everyone has access to our component library in lookbook.
What was done:

I added a before_action to the application_controller
I added a config so that base_auth is deactivated by default

@Nookbe hmm the CI are currently failing - I'll look into that when I have a chance

@Nookbe this is also not working for me locally, just trying to figure out why not!

Ok so to get this to work for me I needed to make two changes:
before_action :base_auth, if: -> { Lookbook.config.base_auth && Rails.env.production? }

and
def base_auth
      self.class.http_basic_authenticate_with name: ENV['LOOKBOOK_BASE_AUTH_NAME'], password: ENV['LOOKBOOK_BASE_AUTH_PASSWORD']
    end

I've no idea why I need to invoke http_basic_authenticate_with as a class method here? But it seems to work. I'd be curious to understand why this is working for you and not for me though...

@henrikbjorn Thanks for your input on this. Given that there are ways to implement this outside of Lookbook (as per your examples) I think I'll close this now.
@Nookbe thanks again for opening the PR and if you feel strongly that there are reasons this should be integrated into Lookbook that are not covered by one of the suggestions by @henrikbjorn then let me know and I'd be happy to reconsider.

I think it makes sense to add to Lookbook.
The "authenticate" method is part of Devise, so doesn't work in plain Rails, and I believe it sets up a routing constraint which by some is considered harmful.
I tried wrapping Lookbook in another Rack app as mentioned in the linked blog post, but that did not pass through the Lookbook routes, so things didn't work.
I may keep exploring this and will share anything I come up with, but I think Lookbook should offer either something built in or document a pattern for it.

What I've come up with so far is basically what this PR does.
For example, stick this in config/initializers/lookbook.rb:
Rails.application.config.after_initialize do
  class Lookbook::ApplicationController
    http_basic_authenticate_with name: "secret", password: "also secret"
  end
end

authors: Nookbe allmarkedup henrik

repo: ViewComponent/lookbook


text:
[Feat]: Addition of Login button and page on home page.

Description
I would like to add Login Button and page  (only UI) on home page.

@Vijaykv5 I would be happy if I can work on this feature.Please assign it to me.

its already under work #162

Ok Thanks for your response.

Ok Thanks for your response.


text:
How to properly run particles in ionic?

I try to out particles in an ionic view, however, it won't do.
Anyone had similar issues?

Same problem!

suca

authors: JaydeYue VyperJC luciendub


text:
PDFScraperGraph does not work

based on this code:
from scrapegraphai.graphs.pdf_scraper_graph import PDFScraperGraph
from scrapegraphai.utils import prettify_exec_info
OPENAI_API_KEY = "sk-"
graph_config = {"llm": {"api_key": OPENAI_API_KEY, "model": "gpt-3.5-turbo"}}
smart_scraper_graph = PDFScraperGraph(
"List me scope 1 emissions in the document.",
"test.pdf",
graph_config
)
result = smart_scraper_graph.run()
print(result)
I am getting the following error:
File "C:\Users\milad\OneDrive - UBC\Desktop\works\venv\lib\site-packages\scrapegraphai\nodes\fetch_node.py", line 58, in execute
input_keys = self.get_input_keys(state)
File "C:\Users\milad\OneDrive - UBC\Desktop\works\venv\lib\site-packages\scrapegraphai\nodes\base_node.py", line 90, in get_input_keys
raise ValueError(
ValueError: Error parsing input keys for Fetch: No state keys matched the expression.

you should open by yourself the "test.pdf" file

hi, we fixed it, in the next days it will go to the main


text:
Incorrect typing of idColumn

According to documentation, idColumn should be set to null in the event a table does not have an id column: https://vincit.github.io/objection.js/api/model/static-properties.html#static-idcolumn
But due to the typings, null is not a possible valid value for idColumn - only string | string[]:
https://github.com/Vincit/objection.js/blob/d1e194a3ba58019a90579464459473e26668a4ab/typings/objection/index.d.ts#L1541
This causes an issue in my code on version 3.1.4. Doing either:
static idColumn = null;

or
static get idColumn() {
    return null;
}

Results in a compiler error:
  Types of property 'idColumn' are incompatible.
    Type 'null' is not assignable to type 'string | string[]```

Only by casting like `static idColumn = null as unknown as string;` can I work around the issue. Not setting idColumn causes runtime errors.

Thanks for pointing this out @jackbonaguro. I'm happy to accept a PR that fixes this.

authors: jackbonaguro lehni


text:
error: syntax error, unexpected IDENTIFIER file.exe(1): error: non-ascii character

time ./yara yara_rule3.yr 1ec7c393cbb96e84531c34d5ef9c2470cac3ee97_44b7d352y026ef7177875a6cb619d638f.apk
yara_rule3.yr(1): error: syntax error, unexpected identifier
yara_rule3.yr(1): error: non-ascii character
real	0m0.012s
user	0m0.008s
sys	0m0.003s
./yarac yaratest.rule yara_rule3.yr
compile with this rule
rule ExampleRule
{
strings:
$my_text_string = "text here"
$my_hex_string = "b"
condition:
$my_text_string or $my_hex_string
}

You have a non ascii character in your rule. Most of the time when I see this someone has copied a Unicode quote character on OS X.

how to fix it .I had tried dos2unix yaratest.rule  to reformat the code

In the last version of YARA you must use -C option when passing compiled rules. See: https://github.com/VirusTotal/yara/commit/cd8284edf56739aa562e6d5127c4b1446e39ed8c
That's a security measure to prevent people from using compiled rules inadvertently. Maybe a more precise error message would be useful.

Oh, my mistake! I didn’t realize you were using compiler rules.

authors: mstc-xqp plusvic wxsBSD

repo: VirusTotal/yara


text:
[Bug] 在 Vue 中使用 VChart, 开发环境正常运行， 打包后在线上出现报错：this.contributions.forEach is not a function

Version
1.10.6、1.11.3
Link to Minimal Reproduction
https://codesandbox.io/s/viscator-vchart-vue-demo-gmcpq6?file=/src/components/LineChart.vue
Steps to Reproduce
在 Vue 中组合式 API方式使用 VChart
1.开发环境正常运行
2.打包后在线上出现报错
Current Behavior
在 Vue 中使用 VChart, 开发环境正常运行， 打包后在线上出现报错, 且图表空白：
TypeError: this.contributions.forEach is not a function
    at bm.init (vchart-4d6470b5.js:1:424789)
    at new bm (vchart-4d6470b5.js:1:424756)
    at Object._createInstance (vchart-4d6470b5.js:1:126614)
    at Object._resolveInstance (vchart-4d6470b5.js:1:126556)
    at Object._getResolvedFromBinding (vchart-4d6470b5.js:1:126360)
    at Object._resolveFromBinding (vchart-4d6470b5.js:1:126206)
    at vchart-4d6470b5.js:1:126766
    at Array.map (<anonymous>)
    at Object._resolveRequests (vchart-4d6470b5.js:1:126684)
    at Object._createInstance (vchart-4d6470b5.js:1:126628)

Expected Behavior
期望可以修复这个问题，在版本1.10以上都有这个问题
Environment
OS: macOS Monterey
Browser: Chrome 125.0.6422.142
Framework Vue@3.4

Any additional comments?
No response

@lhcGinv 有最小复现问题的工程吗？

参考这个文档：https://visactor.com/vchart/guide/tutorial_docs/Load_on_Demand

可以改成
import { default as VChart } from '@visactor/vchart';

这样会加载所有的图表类型

或者这样写 import VChart from '@visactor/vchart'

我打包也遇到了同样的问题，如果官方可以出一个vue3版本就好了。我感觉我们开发时，其实很难把文档细节看完。

authors: XPDD lhcGinv xile611

repo: VisActor/VChart


text:
Enhancing the visual of counter

Is your feature request related to a problem? Please describe.
No its not a problem. i tried my best to make it look more approachable.
Additional context
It looks simple and out-dated.

I have sent the PR
Can you please review it..


text:
LittleBigPlanet™ PlayStation®Vita PCSF00021 1.22

App summary

App name: LittleBigPlanet™ PlayStation®Vita
App serial: PCSF00021
App version: 1.22

Vita3K summary

Version: v0.1.8
Build number: 3335-7540bf75
CPU backend: Dynarmic
GPU backend:Vulkan

Test environment summary

Tested by: Vergi314
OS: Windows 10
CPU: AMD
GPU:NVIDIA
RAM: 4 GB

Issues
It keeps crashing whenever attempting to play the cutscene level "The Plot Thickens!" from Jackpot City, it just freezes and crashes mid-loading when entering. The log says this error message:[12:59:47.973] |C| [logging::init::<lambda_2>::operator ()]: Unhandled C++ exception. vk::Device::allocateDescriptorSets: ErrorOutOfPoolMemory. Could it be a potential memory leak? Anyway, i am unable to progress through story mode now because of this.
Screenshots
Log
[12:59:47.973] |C| [logging::init::<lambda_2>::operator ()]: Unhandled C++ exception. vk::Device::allocateDescriptorSets: ErrorOutOfPoolMemory
Recommended labels

A?
B?
C?

your issue is duplicate, see #188


text:
Resetting Recaptca on complete?

Once my form has been verified and I have processed the forms data, when complete I want to reset my form. I am doing this as follows:
$scope.contactForm.name = null;
$scope.contactForm.emailAddress = null;
$scope.contactForm.message = null;
$scope.contactForm.myRecaptchaResponse = null;
$scope.contactForm.$setPristine();

This works except for the re-captcha input, how can I reset this?

I had the same issue. a temporary hack/workaround could do the job now until issue is fixed.

create an array in controller which contains only one element:
this.recaptchers = [{}]
on form submit/completion beside you set it's model  to null or undefined or '' you should do this too :
this.recaptchers.splice(0,1); this.recaptchers.push({});
in your markup instead of doing this :
<div vc-recaptcha ng-model="$ctrl.myRecaptchaResponse" required></div>
you need to do this :
`

You can set the value of your recaptcha model to null on form complete;

repo: VividCortex/angular-recaptcha


text:
High concurrency process issue

Hi troian:
I was test on high concurrency at volantmq, and found message could not arrived correctly.
        func (s *writer) popPackets() []mqttp.IFace {
                ...
                if pkt := s.gPopPacket(); pkt != nil {
                    packets = append(packets, pkt)
		}
               if pkt := s.qos12PopPacket(); pkt != nil {
                    packets = append(packets, pkt)
		}
               if pkt := s.qos0PopPacket(); pkt != nil {
                    packets = append(packets, pkt)
               }
        }

I found popPacket from chan only one message at once, but there is many message in the channel, and "case <-s.available" is only one buffer chan, Is it can't handle when high concurrency?

Doubt that is cause. s.available is get refilled on every iteration until any of g, qos0 or qos12 queues have message.
What do you mean by message does not arrive correctly?

I send the message in a loop, and found a lot of message piled up in the qos0 channel and can’t trigger s.available.

In my high concurrency test, I found pub inBound was very quickly and post multiple messages to chan, but s.available just trigger once and popPackets just pop one message from chan also, I don't know if I understand it right.

Can you share your test? I'll run locally

Thanks. Found issue.

Fixed in v.0.1.9

Pass in v0.2.1

authors: troian wurei

repo: VolantMQ/volantmq


text:
Add preformatted cell type

Resolves: #174

Codecov Report
Attention: Patch coverage is 97.14286% with 1 line in your changes missing coverage. Please review.

Project coverage is 99.73%. Comparing base (6460943) to head (8f23f12).

Files with missing lines
Patch %
Lines

src/migration.ts
80.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #180      +/-   ##
==========================================
- Coverage   99.77%   99.73%   -0.04%
==========================================
  Files         164      171       +7
  Lines        2657     2689      +32
  Branches      613      624      +11
==========================================
+ Hits         2651     2682      +31
- Misses          6        7       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests
JS Bundle Analysis - Avoid shipping oversized bundles

authors: codecov-commenter vitPinchuk

repo: VolkovLabs/business-table


text:
[BUG] Unable to activate Lightnode on MacOS no keys found

MacOS: 12.7.6 (21H1320)
2.7 GHz Dual-Core Intel Core i5
Problem: Mac fails to initials keystore.
No pasword created in password store
h $HOME/Downloads/setup.sh activate
v1: Pulling from palomachain/lightnode-client
Digest: sha256:58f0e9024163c859eba661f413e888afe975596d1c05f39a69e0f1f4c5b15ed6
Status: Image is up to date for palomachain/lightnode-client:v1
No keys found. Please finish your node setup first.
node@Nodes-MacBook-Pro ~ % sh $HOME/Downloads/setup.sh automate
v1: Pulling from palomachain/lightnode-client
Digest: sha256:58f0e9024163c859eba661f413e888afe975596d1c05f39a69e0f1f4c5b15ed6
Status: Image is up to date for palomachain/lightnode-client:v1
Failed to unlock keys.
node@Nodes-MacBook-Pro ~ % sh $HOME/Downloads/setup.sh automate
v1: Pulling from palomachain/lightnode-client
Digest: sha256:58f0e9024163c859eba661f413e888afe975596d1c05f39a69e0f1f4c5b15ed6
Status: Image is up to date for palomachain/lightnode-client:v1
Available actions:
setup-node	Create a key, store it safely, and activate your node.
add-node	Create a key, store it safely, and activate additional nodes.
show-keys	Display all available paloma keys.
import-key	Import your existing key using the mnemonic.
activate	Activate your account and start vesting.
claim-rewards	Claim all outstanding rewards.
redelegate	Delegate your available tokens to all available validators.
automate	Automatically claim rewards and redelegate stake for all keys, every 24 hours.
node@Nodes-MacBook-Pro ~ % sh $HOME/Downloads/setup.sh show-keys
v1: Pulling from palomachain/lightnode-client
Digest: sha256:58f0e9024163c859eba661f413e888afe975596d1c05f39a69e0f1f4c5b15ed6
Status: Image is up to date for palomachain/lightnode-client:v1
No records were found in keyring
node@Nodes-MacBook-Pro ~ % sh $HOME/Downloads/setup.sh import-key
v1: Pulling from palomachain/lightnode-client
Digest: sha256:58f0e9024163c859eba661f413e888afe975596d1c05f39a69e0f1f4c5b15ed6
Status: Image is up to date for palomachain/lightnode-client:v1
Initializing the password store. Please wait.
/Users/node/.config/paloma-lightnode
node@Nodes-MacBook-Pro Downloads % cd ~/.config/paloma-lightnode
node@Nodes-MacBook-Pro paloma-lightnode % ls
node@Nodes-MacBook-Pro paloma-lightnode % pwd
/Users/node/.config/paloma-lightnode
node@Nodes-MacBook-Pro paloma-lightnode % ls
node@Nodes-MacBook-Pro paloma-lightnode % ls -al
total 0
drwxr-xr-x  4 node  staff  128 Sep 10 11:46 .
drwxr-xr-x  3 node  staff   96 Sep 10 11:46 ..
drwx------@ 5 node  staff  160 Sep 10 11:57 .gnupg
drwxr-xr-x  2 node  staff   64 Sep 10 11:46 .password-store
node@Nodes-MacBook-Pro paloma-lightnode % cd .password-store
node@Nodes-MacBook-Pro .password-store % ls
node@Nodes-MacBook-Pro .password-store % ls -al
total 0
drwxr-xr-x  2 node  staff   64 Sep 10 11:46 .
drwxr-xr-x  4 node  staff  128 Sep 10 11:46 ..
node@Nodes-MacBook-Pro .password-store % pwd
/Users/node/.config/paloma-lightnode/.password-store
node@Nodes-MacBook-Pro .password-store %

@taariq Seems you ddin't have any keys in ~/.config/paloma-lightnode and tried to activate directly, without adding the keys first. Did you setup the node on this computer before? Where did you execute the setup script from at that time?
We try to find the old ./password-store (relative) path first, and if not found, we fallback to ~/.config/paloma-lightnode. Can you check if ./password-store is there?

@maharifu we attempted to import-keys on the mac

@maharifu

@maharifu we have the logs
drwxr-xr-x  2 node  staff   64 Sep 10 11:46 .
drwxr-xr-x  4 node  staff  128 Sep 10 11:46 ..
node@Nodes-MacBook-Pro downloads % sh setup.sh import-key
v1-pinentrytty: Pulling from palomachain/lightnode-client
a2318d6c47ec: Already exists
2a4db989566b: Pull complete
b94dc33d49f9: Pull complete
0f17fcb1deab: Pull complete
b6fa33ac569f: Pull complete
dbbd0f64fda5: Pull complete
Digest: sha256:dc9c8c71af0ab33ef29e8f035ca32de53faa041f29ae98bca3b5adecdf69e855
Status:
Status: Downloaded newer image for palomachain/lightnode-client:v1-pinentrytty
Initializing the password store. Please wait.
+ gpg --batch --gen-key /etc/gpg.conf
gpg: error running '/usr/bin/gpg-agent': exit status 2
gpg: failed to start agent '/usr/bin/gpg-agent': General error
gpg: can't connect to the agent: General error
gpg: agent_genkey failed: No agent running
gpg: key generation failed: No agent running
node@Nodes-MacBook-Pro downloads %

@taariq There are some reports around issues with shared volumes on docker for mac and VirtioFS. I'm not sure if this is the issue, but I pushed some changes to this container try to go around that. I also added some more debugging info. Can we try it one more time on this computer?
It would also be useful to gather some information about the docker setup on this PC. Specifically, the docker desktop version and the file sharing implementation setting. If this last one is set to VirtioFS (should be the default if recently installed), it's worthwhile to try to change to gRPC FUSE and see if that works.

@maharifu Same result and here's the output
Status: Downloaded newer image for palomachain/lightnode-client:v1-pinentrytty
HOME: /root
ID: uid=0(root) gid=0(root) groups=0(root)
gnupg:
total 12
-rw-r--r-- 1 root root 33 Sep 13 17:48 S.gpg-agent
-rw-r--r-- 1 root root 73 Sep 13 17:48 gpg-agent.conf
drwx------ 2 root root 64 Sep 10 18:52 private-keys-v1.d
-rw------- 1 root root 32 Sep 10 18:52 pubring.kbx
password-store:
total 0
Initializing the password store. Please wait.
+ gpg --batch --gen-key /etc/gpg.conf
gpg: error running '/usr/bin/
Initializing the password store. Please wait.
+ gpg --batch --gen-key /etc/gpg.conf
gpg: error running '/usr/bin/gpg-agent': exit status 2
gpg: failed to start agent '/usr/bin/gpg-agent': General error
gpg: can't connect to the agent: General error
gpg: agent_genkey failed: No agent running
gpg: key generation failed: No agent running
node@Nodes-MacBook-Pro downloads %

This was identified as an issue with VirtioFS and Virtualization being active in docker for mac. Switching over to gRPC FUSE got it working fine.

authors: maharifu taariq

repo: VolumeFi/paloma


text:
Update ch5.md

“request all the data changes that occurred during the time when the follower was disconnected.”
请求的是在从库断开其实发生的所有数据变更

Thanks for your contribution!

authors: ZvanYang yingang

repo: Vonng/ddia


text:
Error while server-rendering - Network request failed with status 403

I've narrowed down the issue, but still don't have a solution.
Our setup involves Cloudflare DNS (https://www.example.com) -> Heroku (https://example.herokuapp.com)
Visiting the Heroku instance directly (after modifying ROOT_URL environment variable and the graphQLendpointURL property in METEOR_SETTINGS to point to the respective heroku urls) works fine. However, visiting https://www.example.com yields the following server-side errors. There are no client errors. I suspect this might be related to CORS.
Thoughts on a workaround? This issue is slowing down website loads considerably.
2018-12-13T07:33:23.878267+00:00 app[web.1]: Error while server-rendering. date: Thu Dec 13 2018 07:33:23 GMT+0000 (UTC) url: /sample-selection
2018-12-13T07:33:23.878813+00:00 app[web.1]: { Error: Network error: Network request failed with status 403 - "Forbidden"
2018-12-13T07:33:23.878817+00:00 app[web.1]:     at new ApolloError (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/apollo-client/apollo.umd.js:1981:28)
2018-12-13T07:33:23.878819+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/apollo-client/apollo.umd.js:3091:41
2018-12-13T07:33:23.878821+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/apollo-client/apollo.umd.js:3583:25
2018-12-13T07:33:23.878824+00:00 app[web.1]:     at Array.forEach (<anonymous>)
2018-12-13T07:33:23.878826+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/apollo-client/apollo.umd.js:3580:27
2018-12-13T07:33:23.878828+00:00 app[web.1]:     at Array.forEach (<anonymous>)
2018-12-13T07:33:23.878831+00:00 app[web.1]:     at QueryManager.broadcastQueries (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/apollo-client/apollo.umd.js:3577:42)
2018-12-13T07:33:23.878832+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/apollo-client/apollo.umd.js:3047:31
2018-12-13T07:33:23.878835+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
2018-12-13T07:33:23.878837+00:00 app[web.1]:  => awaited here:
2018-12-13T07:33:23.878840+00:00 app[web.1]:     at Function.Promise.await (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)
2018-12-13T07:33:23.878842+00:00 app[web.1]:     at Object.preRender (packages/vulcan:routing/lib/server/routing.jsx:62:14)
2018-12-13T07:33:23.878844+00:00 app[web.1]:     at generateSSRData (packages/vulcan:routing/lib/server/router.jsx:53:15)
2018-12-13T07:33:23.878845+00:00 app[web.1]:     at sendSSRHtml (packages/vulcan:routing/lib/server/router.jsx:86:45)
2018-12-13T07:33:23.878847+00:00 app[web.1]:     at match (packages/vulcan:routing/lib/server/router.jsx:149:11)
2018-12-13T07:33:23.878849+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/match.js:67:5
2018-12-13T07:33:23.878850+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/createTransitionManager.js:108:11
2018-12-13T07:33:23.878852+00:00 app[web.1]:     at done (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/AsyncUtils.js:79:19)
2018-12-13T07:33:23.878854+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/AsyncUtils.js:85:7
2018-12-13T07:33:23.878856+00:00 app[web.1]:     at getComponentsForRoute (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/getComponents.js:11:5)
2018-12-13T07:33:23.878858+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/getComponents.js:35:5
2018-12-13T07:33:23.878859+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/AsyncUtils.js:84:5
2018-12-13T07:33:23.878861+00:00 app[web.1]:     at Array.forEach (<anonymous>)
2018-12-13T07:33:23.878863+00:00 app[web.1]:     at mapAsync (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/AsyncUtils.js:83:9)
2018-12-13T07:33:23.878865+00:00 app[web.1]:     at getComponents (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/getComponents.js:34:28)
2018-12-13T07:33:23.878867+00:00 app[web.1]:     at finishEnterHooks (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/createTransitionManager.js:102:35)
2018-12-13T07:33:23.878868+00:00 app[web.1]:     at runTransitionHooks (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/TransitionUtils.js:79:7)
2018-12-13T07:33:23.878870+00:00 app[web.1]:     at runEnterHooks (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/TransitionUtils.js:112:12)
2018-12-13T07:33:23.878872+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/createTransitionManager.js:95:7
2018-12-13T07:33:23.878874+00:00 app[web.1]:     at runTransitionHooks (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/TransitionUtils.js:79:7)
2018-12-13T07:33:23.878876+00:00 app[web.1]:     at runChangeHooks (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/TransitionUtils.js:136:12)
2018-12-13T07:33:23.878877+00:00 app[web.1]:     at finishMatch (/app/.meteor/heroku_build/app/programs/server/npm/node_modules/react-router/lib/createTransitionManager.js:92:5)
2018-12-13T07:33:23.878879+00:00 app[web.1]:   graphQLErrors: [],
2018-12-13T07:33:23.878881+00:00 app[web.1]:   networkError:
2018-12-13T07:33:23.878883+00:00 app[web.1]:    { Error: Network request failed with status 403 - "Forbidden"
2018-12-13T07:33:23.878885+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/apollo-client/apollo.umd.js:730:45
2018-12-13T07:33:23.878887+00:00 app[web.1]:     at /app/.meteor/heroku_build/app/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
2018-12-13T07:33:23.878906+00:00 app[web.1]:      response:
2018-12-13T07:33:23.878909+00:00 app[web.1]:       Body {
2018-12-13T07:33:23.878912+00:00 app[web.1]:         url: 'https://www.example.com/graphql',
2018-12-13T07:33:23.878914+00:00 app[web.1]:         status: 403,
2018-12-13T07:33:23.878916+00:00 app[web.1]:         statusText: 'Forbidden',
2018-12-13T07:33:23.878918+00:00 app[web.1]:         headers: [Object],
2018-12-13T07:33:23.878919+00:00 app[web.1]:         ok: false,
2018-12-13T07:33:23.878921+00:00 app[web.1]:         body: [Object],
2018-12-13T07:33:23.878923+00:00 app[web.1]:         bodyUsed: false,
2018-12-13T07:33:23.878925+00:00 app[web.1]:         size: 0,
2018-12-13T07:33:23.878926+00:00 app[web.1]:         timeout: 0,
2018-12-13T07:33:23.878928+00:00 app[web.1]:         _raw: [],
2018-12-13T07:33:23.878929+00:00 app[web.1]:         _abort: false } },
2018-12-13T07:33:23.878938+00:00 app[web.1]:   message: 'Network error: Network request failed with status 403 - "Forbidden"',
2018-12-13T07:33:23.878940+00:00 app[web.1]:   extraInfo: undefined,
2018-12-13T07:33:23.878942+00:00 app[web.1]:   queryErrors: [ [Circular] ] }

Figured it out! Turns out it was an SSL issue! Isolated by running through all the CF setup steps on a test app, but it would have been nice to have a more helpful error message.

I think I just ran into the same issue actually. I was getting 403 errors for all internal GraphQL requests (those going from Meteor to the GraphQL endpoint during SSR). To fix it I did the following:

Put CloudFlare in "DNS-only" mode (i.e. disable every CloudFlare feature, basically).
Set forceSSL to true in mup.js
Use this technique for redirecting www to non-www.

If you found a way to make it work with all CloudFlare features enabled though I'd be very interested.
And yeah the error messages are not very helpful… hopefully this issue goes away altogether with Apollo 2, since there shouldn't be a separate request anymore.

Yep, I meant to post an update. I also had to put Cloudflare into "DNS-only" mode, which was quite sad.

Let's keep this open until we either find the "real" fix with full Cloudflare features; or we update to Apollo 2 then.

@SachaG was just thinking about this... what's special about SSR in CDN mode? IIRC, queries without SSR were going through just fine.

With the current version of Apollo, when the server needs to access your API data for the SSR process, it makes a query to the GraphQL endpoint with a new request. My understanding is that maybe Cloudflare messes up the process at that point.
In Apollo 2, if I'm not mistaken there is no need to make an actual request anymore, the endpoint can be queries in the same process.
My understanding of all this is pretty fuzzy though so I might be wrong.

Thanks for the clarification! So are you currently using that schema link in the Apollo 2 branch?

authors: SachaG mousetraps

repo: VulcanJS/Vulcan


text:
Lua errors after updating

Describe the bug
Pulled the latest version from master (3.32) was on 3.24 previously. Add-on is broken with the following error
Message: ...terface/AddOns/LFGBulletinBoard/CustomCategories.lua:95: attempt to index field 'CustomFilters' (a nil value)
Time: Mon Jul  1 11:11:12 2024
Count: 1
Stack: ...terface/AddOns/LFGBulletinBoard/CustomCategories.lua:95: attempt to index field 'CustomFilters' (a nil value)
[string "@Interface/AddOns/LFGBulletinBoard/CustomCategories.lua"]:95: in function `InitializeCustomFilters'
[string "@Interface/AddOns/LFGBulletinBoard/GroupBulletinBoard.lua"]:541: in function `Init'
[string "@Interface/AddOns/LFGBulletinBoard/GroupBulletinBoard.lua"]:857: in function `?'
[string "@Interface/AddOns/LFGBulletinBoard/LibGPIToolBox.lua"]:117: in function <Interface/AddOns/LFGBulletinBoard/LibGPIToolBox.lua:114>

Locals: (for generator) = <function> defined =[C]:-1
(for state) = <table> {
 RDF = <table> {
 }
 BLOOD = <table> {
 }
 BOOSTS = <table> {
 }
 INCUR = <table> {
 }
}
(for control) = "RDF"
key = "RDF"
preset = <table> {
 sortIdx = 1
 levels = <table> {
 }
 name = "Random Dungeon"
 tags = <table> {
 }
 isDisabled = true
 key = "RDF"
}
(*temporary) = nil
(*temporary) = <table> {
 sortIdx = 1
 levels = <table> {
 }
 name = "Random Dungeon"
 tags = <table> {
 }
 isDisabled = true
 key = "RDF"
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'CustomFilters' (a nil value)"
presets = <table> {
 RDF = <table> {
 }
 BLOOD = <table> {
 }
 BOOSTS = <table> {
 }
 INCUR = <table> {
 }
}
isModuleInitialized = false

To Reproduce
Steps to reproduce the behavior:

Go from 3.24 to 3.32 and login

@juemrami for visibility

repo: Vysci/LFG-Bulletin-Board


text:
Fix nested modifiers' arity

Closes #1252

This might also fix #1195

repo: Vyxal/Vyxal


text:
🛑 Main site is down

In fbf43a4, Main site (https://webzaytsev.ru) was down:

HTTP code: 521
Response time: 500 ms

Resolved: Main site is back up in aa50764 after 9 minutes.

repo: WEBzaytsev/upptime


text:
Download admin level data

[ ] Related issue: Download admin level layer as either CSV or GeoJSON
[ ] How to test the feature:

[ ] Load admin data
[ ] Witness multi-option download button in the legend that downloads data as .csv or .geojson

[ ] Screenshot/video of feature:

@sifelix - I tried to pull this PR locally but ran into errors. I also tried a clean yarn install but hitting the same issue. Here's the error:
husky > pre-commit (node v16.14.0)
Preparing... [started]
Preparing... [completed]
Running tasks... [started]
Running tasks for src//*.{js,jsx,ts,tsx} [started]
yarn run lint --fix [started]
yarn run lint --fix [failed]
→
Running tasks for src//*.{js,jsx,ts,tsx} [failed]
→
Running tasks... [failed]
Applying modifications... [started]
Applying modifications... [skipped]
→ Skipped because of errors from tasks.
Reverting to original state... [started]
Reverting to original state... [completed]
Cleaning up... [started]
Cleaning up... [completed]
✖ yarn found some errors. Please fix them and try committing again.
$ eslint --ext .js,.jsx,.ts,.tsx -c .eslintrc ./src ../common/src --fix /Users/amit/dev/PRISM-Main/prism-app/frontend/src/components/MapView/Legends/AdminLevelDataDownloadButton.tsx /Users/amit/dev/PRISM-Main/prism-app/frontend/src/components/MapView/Legends/AnalysisDownloadButton.tsx /Users/amit/dev/PRISM-Main/prism-app/frontend/src/utils/csv-utils.test.ts /Users/amit/dev/PRISM-Main/prism-app/frontend/src/utils/csv-utils.ts
/Users/amit/dev/PRISM-Main/prism-app/frontend/src/components/MapView/Legends/AdminLevelDataDownloadButton.tsx
56:5  warning  Unexpected console statement  no-console
/Users/amit/dev/PRISM-Main/prism-app/frontend/src/utils/csv-utils.test.ts
1:8  warning  'React' is defined but never used  no-unused-vars
1:8  warning  'React' is defined but never used  @typescript-eslint/no-unused-vars
/Users/amit/dev/PRISM-Main/prism-app/common/src/base/test.ts
2:18  error  Unable to resolve path to module 'flug'  import/no-unresolved
/Users/amit/dev/PRISM-Main/prism-app/common/src/gml/test.ts
1:18  error  Unable to resolve path to module 'flug'  import/no-unresolved
/Users/amit/dev/PRISM-Main/prism-app/common/src/ows/test.ts
1:18  error  Unable to resolve path to module 'flug'  import/no-unresolved
/Users/amit/dev/PRISM-Main/prism-app/common/src/utils/bbox.ts
1:15  warning  'BBOX' is defined but never used  no-unused-vars
/Users/amit/dev/PRISM-Main/prism-app/common/src/utils/image.ts
2:15  warning  'BBOX' is defined but never used  no-unused-vars
/Users/amit/dev/PRISM-Main/prism-app/common/src/utils/test.ts
1:15  error  Unable to resolve path to module 'flug'  import/no-unresolved
/Users/amit/dev/PRISM-Main/prism-app/common/src/wcs/WCS/test.ts
2:18  error  Unable to resolve path to module 'flug'  import/no-unresolved
3:23  error  Unable to resolve path to module 'srvd'  import/no-unresolved
/Users/amit/dev/PRISM-Main/prism-app/common/src/wcs/WCSLayer/index.ts
1:15  warning  'MakeOptional' is defined but never used  no-unused-vars
/Users/amit/dev/PRISM-Main/prism-app/common/src/wcs/utils/index.ts
20:15  warning  'BBOX' is defined but never used  no-unused-vars
/Users/amit/dev/PRISM-Main/prism-app/common/src/wcs/utils/test.ts
2:25  error  Unable to resolve path to module 'find-and-read'  import/no-unresolved
3:18  error  Unable to resolve path to module 'flug'           import/no-unresolved
/Users/amit/dev/PRISM-Main/prism-app/common/src/wfs/test.ts
1:25  error  Unable to resolve path to module 'find-and-read'  import/no-unresolved
2:18  error  Unable to resolve path to module 'flug'           import/no-unresolved
/Users/amit/dev/PRISM-Main/prism-app/common/src/wfs/utils.ts
21:15  warning  'BBOX' is defined but never used  no-unused-vars
/Users/amit/dev/PRISM-Main/prism-app/common/src/wms/WMS/test.ts
1:18  error  Unable to resolve path to module 'flug'  import/no-unresolved
3:23  error  Unable to resolve path to module 'srvd'  import/no-unresolved
/Users/amit/dev/PRISM-Main/prism-app/common/src/wms/utils/index.ts
11:15  warning  'WMS_OUTPUT_FORMAT' is defined but never used  no-unused-vars
144:7   warning  Unallowed reassignment                         fp/no-mutation
/Users/amit/dev/PRISM-Main/prism-app/common/src/wms/utils/test.ts
1:25  error  Unable to resolve path to module 'find-and-read'  import/no-unresolved
2:18  error  Unable to resolve path to module 'flug'           import/no-unresolved
✖ 24 problems (14 errors, 10 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
husky > pre-commit hook failed (add --no-verify to bypass)

@wadhwamatic , have you run yarn run setup:common?  The modules that can't be found (flug, srvd, and find-and-read) should be installed by that command.

@wadhwamatic , have you run yarn run setup:common? The modules that can't be found (flug, srvd, and find-and-read) should be installed by that command.

Thanks Daniel. After doing a clean pull from this branch and fresh yarn install followed by setup:common I was able to test locally.
@sifelix - I ran into two issues:

If you activate a WMS layer and an admin level data layer, and then try to download the admin level data layer, we’re incorrectly adding the date to the filename.
The CSV file seems to be using a semi-colon instead of a comma as a delimiter

@wadhwamatic , have you run yarn run setup:common? The modules that can't be found (flug, srvd, and find-and-read) should be installed by that command.

Thanks Daniel. After doing a clean pull from this branch and fresh yarn install followed by setup:common I was able to test locally.
@sifelix - I ran into two issues:

If you activate a WMS layer and an admin level data layer, and then try to download the admin level data layer, we’re incorrectly adding the date to the filename.
The CSV file seems to be using a semi-colon instead of a comma as a delimiter

1 - is updated
2 - I added the tag sep=; at the beginning of the csv as you asked

1 - is updated
2 - I added the tag sep=; at the beginning of the csv as you asked

@sifelix - all looks good now. I verified dates do not appear in the filename unless the dataset has a time dimensions. CSVs work as expected too. Thanks

authors: DanielJDufour ajanim sifelix wadhwamatic

repo: WFP-VAM/prism-app


text:
UX revamp - extra steps

This fixes the "Extra Steps" of issue https://github.com/WFP-VAM/prism-app/issues/698

[x] 1. In the layers tab, use icons instead of the kebab menu to access: download, analysis, and visibility
[x] 2. The chart view should scroll independently. Right now, the panel headers (tabs at the top) scroll when there are multiple charts selected
[x] 3. Charts should always be at the top of the chart viewer. Right now, if there are < 4 charts, there's a large gap at the top
[x] 4. There's too much spacing at the top of the result tables. I think we could bring tables almost all the way to the top, similar to what we have in the figma designs.
[x] 5. When you switch between tabs, retain the last state. i.e., if I had some charts selected and then navigate to the layers tab and back to charts, I should see the charts I had selected before. The same applies to the analysis tab
[x] 6. Make chart data available for download
[x] 7. Add 'print' feature in top bar. This is the same function as the current export > image function

After Changes:

Before changes:

This is great, thanks @echaidemenos!
Some feedback on what's there so far (not in the same order listed in the PR):

In the layer tab, can we change the 'exposure analysis' icon to either match the analysis icon used in the analysis tab, or use this one: https://mui.com/material-ui/material-icons/?selected=Troubleshoot
When there's only one chart loaded, it is too large. Can we reduce it by 50%?
When I ran an exposure analysis after I already did a 'run analysis', there's a blank pane to the right of the results (see screenshot below).
Steps to reproduce the issue above: country=mozambique; select analysis tab; select any parameters in the analysis config; run analysis; view analysis results as a table; then load tropical storm layer and run exposure analysis

Everything else looks great so far. I'll keep testing tomorrow. Nice work!

Hello @wadhwamatic and thanks for the review.
Just a comment on 1, the icon linked is only available in Material v5 and not on v4, so i used the same with the analysis tab.
Other than that i think i resolved the rest, let me know what you think.

Hi @echaidemenos. Sorry for the late reply, I was traveling last week. The updates look good, thanks! I made a minor change to have the top margin of the charts panel to be 0px so it's always top aligned. What do you think?
The icon next to 'print' is a bit confusing. Can we use this instead?
https://mui.com/material-ui/material-icons/?query=print&selected=Print
Once the print icon is updated, I think this should be good to go.
@ericboucher - can you review?

authors: echaidemenos wadhwamatic


text:
Ping ci on ingest

@afred: please review. The idea is to generate a local cache of the thumbnail srcs. I expect the metadata to be more volatile than the clips themselves, and hitting Ci each time would make it a little bit painful. (This also uses the new Ci API functionality to get details for 500 records at a time.)

@afred: I think this is really ready to go now. Thanks.


text:
Feature request - sort by ROI number after sorting by size

When sorting by size, with a large number of ISIIS ROIs, Jonathan found that every time the page is refreshed, all of the ROIs of the same height do a big shuffle. This is really problematic if a bunch of work has been done already. We were thinking maybe we could implement sort by ROI number after sort by size. Does that make sense?
We were also thinking maybe this would negate the bug of ROIs appearing in double when sorting by size - but, thought it best to report that bug anyway.

Yes, this can be fixed in the way you suggest--sorting by ROI number after sorting by size.

I can take this one.

authors: eepeacock joefutrelle

repo: WHOIGit/photic


text:
Изменяющиеся тикеры

Тикеры акций могут меняться. Так у текущего тикера UPRO очень не глубокая история, так как тикер менялся

[ ] Подумать и реализовать более глубокую выгрузку для таких ситуаций - видимо надо искать все тикеры с соответствующим регистрационным номером
[ ] Удалить все скаченные серии котировок

[ ] Дополнить модуль security_info выгрузкой регистрационного номера
[ ] По регистрационному номеру устраивается поиск бумаг
[ ] Перечень их тикеров включается в security_info в столбец 'OLD_TICKERS'

license: Unlicense


text:
Bios third person validation

#119 - custom validation for I and わたし
Proposed Changes
Added vuelidate custom validation to find out whether the string in the bio field contains the words I, わたし or 私
Description of changes in this PR
New custom validation in its own .js file and added validations to the NominateForm. Added unit tests with some sample sentences.
Japanese translation of the error message missing
Testing Plan
Copy and paste the following examples to verify that the error message appears only when  I, わたし or 私 are in the bio.
Should error:
I'm a full-stack developer with a background in Japanese culture.
I work as a full stack developer for one of the best companies in Japan.

Should pass:
D&I Lead at Hogwarts school of witchcraft and wizardry
She is a volunteer for Women Who Code Tokyo

Thanks for making this PR! An interesting case to consider: Roman numerals, e.g “Title I “ Or perhaps this is too rare? I wonder if there is a way to make this a gentle reminder rather than an all or nothing?
Also Japanese has other first person pronouns besides 私 like ぼく and あたし. Read more here: https://en.wikipedia.org/wiki/Japanese_pronouns

Another thought, we might consider the subject marking participle “は” to distinguish from other words that could possibly overlap with わたし or あたし, ぼく... would be great to get Ania to review this as well.

Some other test cases to consider include words ending with 私. https://jisho.org/word/公私

@ann-kilzer @RossellaFer I went through all the introductions written in Japanese and all of them are in 3rd person. Generally in Japanese in these kind of introductions pronouns are very very rarely used. Even though in Japanese there are many different pronouns, in this kind of formal writing only 私 is used (わたし in hiragana isn't used unless it's a mistake).
I think there's a possibility that some no native Japanese speakers might add their description in Japanese so in this case we might want to check for 私 cause it's a common mistake to use it but I don't think that we need this check if we only consider Japanese speakers.

Thanks for the perspective! It will keep it simpler too.

@RossellaFer @ann-kilzer I'm sorry for pointing this out late in the game, but I added my concerns about this feature on the original ticket. Please let me know what you think.

@RossellaFer is it okay to close this PR? 🙇

@tuttiq yes of course, I will close it now

authors: Ania-chan RossellaFer ann-kilzer tuttiq

repo: WWCodeTokyo/speak-her-db


text:
Update intro.rst

A minor typo vanishes!

Ups, thank you!

authors: internaut samir-joshi

repo: WZBSocialScienceCenter/tmtoolkit


text:
Admin>>Tenant>>Bottom spacing should be there for pages

Tenant, User, Claim types

Spacing should be there for all the pages on bottom. Not working as expected

repo: Wai-Technologies/raaghu-react


text:
Resilience test apparently stuck at "dropping non-rollback-barrier"

In at least test_resilience_python3_Wait2_Grow1_Wait2_Shrink1_Wait2_Crash2_Wait2_Recover2_Wait5, when worker1 and worker2 try to recover, they both print
Recovering DataReceiver dropping non-rollback-barrier

many times and never succeed in recovering (in fact, they never get past INIT PHASE I).
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/project/testing/correctness/tests/resilience/resilience.py", line 504, in _run
    'recovery as expected.'.format(r.name))
AssertionError: Worker worker1 does not appear to have performed recovery as expected.
2018-11-14 09:21:36.714 root INFO     [cluster.py:948] Doing final cleanup
2018-11-14 09:21:36.715 root ERROR    [resilience.py:301] Resilience test encountered an error after the steps ['Wait:2', 'Grow:1', 'Wait:2', 'Shrink:1', 'Wait:2', 'Crash:2', 'Wait:2', 'Recover:2', 'Wait:5']
2018-11-14 09:21:36.716 root ERROR    [resilience.py:336] Some workers exited badly. The last 10 lines of each were:

2018-11-14 09:21:36.737 root WARNING  [external.py:209] Error logs saved to /tmp/wallaroo_test_errors/ject/testing/correctness/tests/resilience/python3/Wait2_Grow1_Wait2_Shrink1_Wait2_Crash2_Wait2_Recover2_Wait5/20181114_092109
2018-11-14 09:21:36.738 root WARNING  [external.py:215] Core files detected: <filter object at 0x7fe03860fef0>
2018-11-14 09:21:36.738 root ERROR    [resilience.py:355] Worker worker1 does not appear to have performed recovery as expected.
Traceback (most recent call last):
  File "/root/project/testing/correctness/tests/resilience/resilience.py", line 500, in _run
    assert(re.search(pattern, stdout) is not None)
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/project/testing/correctness/tests/resilience/resilience.py", line 298, in _test_resilience
    sender_interval=sender_interval)
  File "/root/project/testing/correctness/tests/resilience/resilience.py", line 504, in _run
    'recovery as expected.'.format(r.name))
AssertionError: Worker worker1 does not appear to have performed recovery as expected.

I've narrowed this problem down further.  It seems that what's happening is that when worker1 and worker2 recover, they both fail to connect their data channels to the other (each successfully connects to the initializer).  They each try reconnecting to each other, but then nothing seems to happen.  Neither of the relevant OutgoingBoundary actors reports as initialized, so neither worker makes it to the end of PHASE II.
So we need to figure out (1) why they aren't connecting to each other in the first place (could be a race condition where they both try to connect before they start listening, which is why we have the reconnect behavior) and (2) why they don't successfully reconnect after the initial failure even though they report as trying to reconnect.

Side by side logs from the recovering worker1 in a failing and a non-failing run of the above test:
https://gist.github.com/nisanharamati/687d37dbb2e24445c19eb3b85285a9ce

authors: jtfmumm nisanharamati

repo: WallarooLabs/wallaroo


text:
leetcode229: 求众数 II

给定一个大小为 n 的整数数组，找出其中所有出现超过 ⌊ n/3 ⌋ 次的元素。
示例 1：
输入：[3,2,3]
输出：[3]

示例 2：
输入：nums = [1]
输出：[1]

示例 3：
输入：[1,1,1,3,3,2,2,2]
输出：[1,2]

提示：

1 <= nums.length <= 5 * 104
109 <= nums[i] <= 109

进阶：尝试设计时间复杂度为 O(n)、空间复杂度为 O(1)的算法解决此问题。

来源：力扣（LeetCode）
链接：https://leetcode-cn.com/problems/majority-element-ii

思路和算法
方法一
遍历数组，再用哈希统计数组中每个元素出现的次数，最后返回出现次数大于[n / 3]次的元素，其中n为数组的长度
代码
/**
 * @param {number[]} nums
 * @return {number[]}
 */
var majorityElement = function(nums) {
    let resultArr = []
    let hashMap = {}

    for(const i in nums) {
        nums[i] in hashMap ? hashMap[nums[i]]++ : hashMap[nums[i]] = 1
        if(hashMap[nums[i]] > (nums.length / 3) && resultArr.indexOf(nums[i]) < 0) resultArr.push(nums[i])
    }

    return resultArr
};

思路和算法

看到这道题第一直觉就是用循环加哈希统计，可是这样空间复杂度就不为O(1)了

方法二：摩尔投票法
知识背景
摩尔投票法：摩尔投票法的核心思想为对拼消耗。首先我们考虑最基本的摩尔投票问题，比如找出一组数字序列中出现次数大于总数[1 / 2]的数字（并且假设这个数字一定存在）。我们可以直接利用反证法证明这样的数字只可能有一个。摩尔投票算法的核心思想是基于这个事实：

每次从序列里选择两个不相同的数字删除掉（或称为「抵消」），最后剩下一个数字或几个相同的数字，就是出现次数大于总数一半的那个元素,则我们可以把数组分为两部分，一部分为相同的 k 个元素 x，另一部分为[(n - k) / 2]对不同的元素。

解题思路
   题目要求找出其中所有出现超过[n / 3]次的元素，我们可以利用反证法推断出满足这样条件的元素最多只有两个。可以利用摩尔投票法的核心思想，每次选择三个互不相同的元素进行删除（或称为「抵消」）。假设数组中一定只存在一个次数大于[3 / n]次的元素，其中n为数组的长度。则此时我们可以把数组分成两部分：一部分相同的 k 个元素 x，另一部分为[(n - k) / 3]组三个不同的元素，我们知道三个不同的元素会被抵消，因此最终只会剩下一个元素为 x。
  如果只存在 2个次数大于[n / 3]次的元素，，我们假设这两个不同的元素分别为 x 和 y，则此时我们一定可以把数组分成三部分：第一部分相同的 m个元素 x，第二部分相同的 n 个元素 y，第三部分为[(n - x - y) / 3]组三个互不同的元素，我们知道三个互不同的元素会被抵消，因此最终只会剩下两个元素为 x和 y。

我们每次检测当前元素是否为第一个选中的元素或者第二个选中的元素。
每次我们发现当前元素与已经选中的两个元素都不相同，则进行抵消一次。
果存在最终选票大于 0 的元素，我们还需要再次统计已选中元素的次数,检查元素的次数是否大于[ n /3 ]

/**
 * @name 摩尔投票法
 * @param {number[]} nums
 * @return {number[]}
 */
var majorityElement = function(nums) {
    let [element1, element2] = [0, 0]
    let [votel1, votel2] = [0, 0]

    for(const num of nums) {
        if(votel1 > 0 && num == element1) { // 如果该元素为第一个元素，计数加1
            votel1++
        }else if (votel2 > 0 && num == element2) { // 如果该元素为第二个元素，计数加1
            votel2++
        }else if (votel1 === 0) { // 选择第一个元素
            element1 = num
            votel1++
        }else if (votel2 === 0) { // 选择第二个元素
            element2 = num
            votel2++
        }else { // 如果三个元素均不相同,则互相抵消一次
            votel1--
            votel2--
        }
    }
    // 统计剩下数出现的次数
    let [cnt1, cnt2] = [0, 0]
    for(const num of nums) {
        if(votel1 > 0 && num == element1) cnt1 ++
        if(votel2 > 0 && num == element2) cnt2++
    }

    let res = []
    // 判断出现次数是否大于3
    if(votel1 > 0 && cnt1 > Math.floor(nums.length / 3)) res.push(element1)
    if(votel2 > 0 && cnt2 > Math.floor(nums.length / 3)) res.push(element2)

    return res
};


text:
v1.8.1

Please use PX4 Discuss or Slack to align on pull requests if necessary.
Test data / coverage
Logs uploaded to http://logs.px4.io or screenshots.
Describe problem solved by the proposed pull request
A clear and concise description of the problem, if any, this feature will solve. E.g. I'm always frustrated when ...
Describe your preferred solution
A clear and concise description of what you have implemented.
Describe possible alternatives
A clear and concise description of alternative solutions or features you've considered.
Additional context
Add any other context or screenshots for the feature request here.

update from the PX4/Firmware v1.8.1


text: gitignore 사진


text:
Export metadata for survey & prompt questions

Requests for the exported data:

[x] the full response scale for each survey/prompt question, and (maybe in future iterations)
[ ] indicator for whether the response scale is ordered/unordered
[ ] indicator for whether it’s single- or multiple-response question
[ ] indicator for whether the order of the response options was fixed, randomly flipped, or scrambled.

Including the full prompt text and the response options in the data export, along with the metadata. This is everything used to render the prompt, so meets the requirements for scale ordering, question type, and order randomization.
Addressed in https://github.com/Watts-Lab/deliberation-empirica/pull/670

authors: JamesPHoughton willschulz

repo: Watts-Lab/deliberation-empirica


text:
JavaScript error: Discontiguous selection is not supported.

Sorry for only providing fuzzy information...
Yesterday I included bootstrap3-wysihtml5.all.min.js in a page and I cannot remember having noticed any problems.
Today, after Google Chrome has updated to version 36.0.1985.125, I noticed an error and a warning in the JavaScript console, although I'm not absolutely sure if that's not been there already.
Firstly, the warning:
'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatwg.org/#dom-range-detach).
Secondly, the error:
Discontiguous selection is not supported.
If I get the time I'll try to narrow it down by not using the minified script. For now I just wanted to share that with you.

Someone had already taken the rangy Bower package name when I first put Rangy on Bower, so I used rangy-official. Since then, the rangy name has been transferred to me and rangy is now the official package.
The rangy-release repository is just for Bower and is always kept in sync with Rangy releases. It's inconvenient but seems to be the simplest way to publish to Bower without drastically changing the structure of the main Rangy repository.

@timdown Thank you for sharing. I will correct it at https://github.com/bootstrap-wysiwyg/bootstrap3-wysiwyg

authors: Manc Waxolunist timdown


text:
Updated conda environment

In this pr, the conda environment is updated and an old conda environment is remove. Please let me know if you have any questions.

LGTM! Added some suggestions. Feel free to ask me anything!

Thanks Mike and Eric, merging now!

authors: MattsonCam axiomcura


text:
raspberry crashes by fast change of direction (4tronix Piconzero)

I think this is also sort of a hardware issue, but maybe one can solve it with software:
If I draw the joystick fast forward/backward my raspberry pi zero w crashes and reboots.
If I'm driving forward, then stop and afterwards drive backward there is no problem.
So my idea is to implement a little delay (several milliseconds) when changing the direction.
Where would be the place to implement this?

I've helped myself:
sudo nano /usr/local/lib/python3.4/dist-packages/picraftzero/providers/motor/piconzero.py
I changed "def set_speed(self, speed)" to this:
    def set_speed(self, speed):         msg = "set_speed({}, {})".format(self.motor_id, speed)         logger.debug(msg)         if speed == self._last_speed or speed is None:             return         if ((speed > 0) and (self._last_speed < 0)) or ((speed < 0) and (self._last_speed > 0)):             msg = "change direction ************************"             logger.debug(msg)             speed = 0             sleep(0.1)             pz.stop()             sleep(0.3)             self._last_speed = speed             return         self._last_speed = speed         logger.info(msg)         # TODO: scale -100..100 to -128..127         speed = constrain(speed, -128, 127)         pz.setMotor(self.motor_id, speed)
At this moment it's a quick an dirty implementation but I think it sort of works. I have to optimize the sleep timings a bit, but I have to charge my battery first.

Did some homework:
        # TODO: scale -100..100 to -128..127
        logger.info("old speed: {}".format(speed))
        speed = int(255 * ((speed+100)/200) - 128)
        logger.info("new speed: {}".format(speed))

repo: WayneKeenan/picraftzero


text:
Merge Dev 1.0.0 into Master

What is the purpose of the change

Update appconn
Update dss version to 1.1.0
Update linkis version to 1.1.1

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes)
Anything that affects deployment: (yes)
The Core framework, i.e., JobManager, Server.: (yes)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs)

LGTM.

authors: FinalTarget jefftlin

repo: WeBankFinTech/Exchangis


text:
How to use inline-asm when compiling C to WebAssembly?

The compilation target I use is wasm32-unknown-wasi.
Although I didn't find any relevant documents, I found that inline-asm can be used to insert wasm code to C code. For example, I can write a function like this:
void foo(){
  asm("i32.const 123 \n\t"
      "drop");
}

This function just push a const
And clang did compile this code correctly.
Further, I wonder if I can use C variables in wasm inline-asm just like the normal way of x86 inline-asm?
I have tried to write something like:
int foo(){
  int ret = 0;
  asm("i32.const 123 \n\t"
      "local.set %0 \n\t":
      "=rm"(ret));
  return ret;
}

In this example, I tried to assign a value of 123 to the variable ret. As I know, wasm will treat ret as a local variable, so I use the local.set instruction.
But clang throwed an error:

error: invalid operand in inline asm

Do you have any ideas on how to make this right?
Thanks for your attention.

Support for inline asm in the WebAssembly backend is not very well tested and should probably be considered experimental at best.
Support for write standalone .s file, however, is fairly good so I would recommend that route unless you are interested in working on improving the inline asm support on the llvm side.   Here is an example of a standalone assembly used in emscripten: https://github.com/emscripten-core/emscripten/blob/main/system/lib/compiler-rt/stack_ops.S

Thank you, that answers my question : )

repo: WebAssembly/wasi-sdk


text:
Add CI support to get releases built automatically

We could use circle-ci or travis-ci.  They both allow for long builds like this now (travis limit is 50 minutes and I think circle-ci is 5 hours!).
We could also add PR testing, although it might be annoying long..

@tschneidereit has done some work on using azure pipelines for this in wasi-libc. My understanding is that azure works quite well, and free of charge. I don't think its a good idea to build new systems on travis-ci- they have hemorrhaged senior staff over a labor dispute post buy-out and don't have the best uptime.

I'm not wedded to any CI system.  As long as it can publish to github releases and has a high enough timeout to handle the llvm build.

I've done some work on getting Azure Pipelines working, yes. Unfortunately I haven't been able to get the Windows build working, but mac and Linux both work: https://dev.azure.com/tschneidereit/WASI SDK/_build/results?buildId=86
Adding releases will be relatively easy based on this, and the timeout is very generous (I think 5 hours), so we won't run into any issues there.

Oh, and I think it'd be fine to land this with Windows disabled for now, or at least made to not fail the overall check. I can set up an Azure org for that.

Yes, lets get a proof of concept landed and we can add windows + releases later.

Yes, lets get a proof of concept landed and we can add windows + releases later.

This has, now happened, and #48 was the first PR that passed this CI setup. I plan to work on adding releases sometime in the next two weeks, but if anyone beats me to it, I'd not be sad :)

This already works; see the GitHub workflow and associated ci scripts.

authors: abrown pchickey sbc100 tschneidereit


text:
Full detail view architecture

First implementation for #231

I've remove the PageFullDetail component and maintained an english-readable naming convention, according to our discussion

repo: WebYourMind/website


text:
How to query using OR

Hi there, new to the package here, could not find or infer from documentation so here it goes the question.
How can I search using ORs, trying to query for messages sent to one OR another recipient, trie the following with no luck.

client->getFolder('INBOX')->query()->to("one")->to("another")->get()
client->getFolder('INBOX')->query()->where([["TO"=>"one"],["TO"=>"another"]])->get()

Thanks in advance !

Hi @gmartinez ,
if the "OR" operation is supported by your mail provider you can use it a few different ways. Here are a few examples:
$messages = $folder->query()->subject("some subject")->orWhere()->to("some@one.tld")->orWhere(function($query){
    $query->text("some custom text")->orWhere("from@someone.com");
})->get();

Best regards & happy hacking,

Using orWhere(function... seem to build the query fine, but upon issuing the get() I get an ImapServerErrorException
FYI I am querying gmail, which according to documentation does support OR.
When turning degub the text around the error reads;
<< TAG3 OK [READ-WRITE] INBOX selected. (Success)

TAG4 UID SEARCH TO "one" OR TO "another"

<< TAG4 BAD Could not parse command
Webklex\PHPIMAP\Exceptions\ImapServerErrorException
Any idea ?

authors: Webklex gmartinez

repo: Webklex/laravel-imap


text:
删除群发BUG

Integer msgId 已经发现会超过最大值

准备改为long

2.9.3.BETA版本已修复

repo: Wechat-Group/weixin-java-tools


text:
fix: dateBySettingHour return nil when date is very big or very small

replace dateBySettingHour:minute:second:ofDate:options: to startOfDayForDate

当日期设置为一个比较小或者非常大的值时，使用 dateBySettingHour:minute:second:ofDate:options: 会返回 nil 或者返回一个错误的值，startOfDayForDate 可以避免这种情况发生。
例如：
    NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
    formatter.dateFormat = @"yyyy-MM-dd";

    NSCalendar * gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSCalendarIdentifierGregorian];

    NSDate *date = [formatter dateFromString:@"1900-12-31"];

    // right
    NSLog(@"%@", [gregorian startOfDayForDate:date]); // Mon Dec 31 00:00:00 1900
    // wrong
    NSLog(@"%@", [gregorian dateBySettingHour:0 minute:0 second:0 ofDate:date options:0]); // Tue Jan  1 00:00:00 1901

    NSDate *date = [formatter dateFromString:@"1900-01-01"];

    // right
    NSLog(@"%@", [gregorian startOfDayForDate:date]); // Mon Jan  1 00:00:00 1900
    // wrong
    NSLog(@"%@", [gregorian dateBySettingHour:0 minute:0 second:0 ofDate:date options:0]); // (null)

Awesome👍

authors: GithubGaoYang WenchaoD

repo: WenchaoD/FSCalendar