text:
Custom Image Size Restriction

Is there a reason why the image size is restricted to 28x28pt? Would be nice to be able to just use any image.

When I added in the image at method '[SVProgressHUD showImage:[UIImage]]'. does it automatically fit to 28 * 28?

It does not at the moment. The behaviour is not defined, i will see whta i can do.

authors: LeeKyungMoon honkmaster krzd

repo: TransitApp/SVProgressHUD


text:
Program crash

hello，when I used it in my project,  there had some problem,like this:
[SVProgressHUD showSuccessWithStatus:@"cool!!!"];
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSBundle initWithURL:]: nil URL argument'
*** First throw call stack:
(0x183e0cf48 0x1992b7f80 0x183e0ce90 0x184cd9bf8 0x184cd9b7c 0x10010126c 0x1000ff690 0x100709c68 0x10070aae0 0x1000ff59c 0x100100674 0x100117194 0x1893d7cfc 0x1893d7c78 0x1893bf930 0x1893d7590 0x1893d71c0 0x1893cfcdc 0x1893a04a4 0x18939e76c 0x183dc4544 0x183dc3fd8 0x183dc1cd8 0x183cf0ca0 0x18f274088 0x189408ffc 0x1000ee198 0x199afa8b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
The break point is in the creation of a single case of the block problem,like this:
#if !defined(SV_APP_EXTENSIONS)
dispatch_once(&once, ^{ sharedView = [[self alloc] initWithFrame:[[[UIApplication sharedApplication] delegate] window].bounds];});

in my xcode 7.1
and  could you help me?

I am also having the same issue. It was working fine before, but after updating Pods, it's crashing. :(

I fixed it by removing "use_frameworks!" in Podfile.
@wolikeq: Can you please try this solution if you are using Pods?

sorry, I'm not using Pods in my project, just drag the file into the project,  I suggest you look at your thread,  I was forget  to refresh the UI into the main thread

sorry, I'm not using Pods in my project, just drag the file into the project

So this makes the assumption that your AppDelegate has a window varable

What do you want to say with that? Yes, the code does make the assumption, seems to be quite clear. Is there a problem?

source: gharchive/issue

authors: LukeDurrant asad-appifytech honkmaster wolikeq

license: mit

license_type: permissive

license_source: bigquery


text:
Allow use function params

https://github.com/Trard/impl_serialize/issues/1

Rewrite all tests and add docs about metavariables

source: gharchive/pull-request

license: MIT

license_source: github-api


text:
Is it possible to use this only on certain pathname?

I would like to apply sync query to different states on different paths.
For example, let's say there are two paths.
/books?page=1
/computers?page=1

I would like to know if i can create enhancer like this.
ReduxQuerySync.enhancer({
    params: {
        page: [{
           path: '/books'
           ... // actions, selectors, etc
        }, {
           path: '/computers'
        }]
    },
})

Or at least is it possible to provide current pathname to actions and selectors?

It would be nice to enable your use case. My intuition tells me however that this module should be indifferent to paths or other parts of its environment. I think it should rather give you the possibility to easily change its configuration, so you can still implement the desired behaviour.
A rough and untested sketch of how this might currently be done:
const querySyncParamsByPath = {
    '/books': {/* action, selector, ... */},
    '/computers': {/* action, selector, ... */},
}

let unsubscribeQuerySync
function onPathChange() {
    const path = /* read current path */
    unsubscribeQuerySync && unsubscribeQuerySync()
    unsubscribeQuerySync = ReduxQuerySync({
        params: querySyncParamsByPath[path],
        ...otherSettings
    })
}
yourRouterOrWhatever.someRoutingEvent.addListener(onPathChange)

What is still missing is a possibility to remove parameters from the query, so they don't linger after a path change. It may be worth providing a way to do this. Perhaps by passing something like {hideParams: true} to unsubscribeQuerySync?
I would be happy to hear suggestions for other simple changes to the API that would allow more versatile usage.

Or at least is it possible to provide current pathname to actions and selectors?

I don't think this module should provide it, as it is not obvious to me that the path is more important than any other piece of the environment, but feel free to convince me otherwise.
You could read the path in the functions themselves, e.g.: action: value => myActionCreator(value, window.location.pathname).

Thanks for your kind reply @Treora
unsubscribeQuerySync()
If I call ReduxQuerySync()(), then does it unsubscribe to store? If it provides unsubscribing to store, I think that would be the easiest way.

If I call ReduxQuerySync()(), then does it unsubscribe to store?

Yes, it unsubscribes from both the store and changes to the location. (see source code)
If this seems a good enough solution, I'll just close this issue now. Feel free to reopen or open a new issue if you have suggestions for API improvements.

👍  yes I think this will solve the issue for now.

repo: Treora/redux-query-sync

license: Unlicense


text:
Extend and update test matrix

Description
This pull request extends the test matrix to include recent versions of Python 3.8, scikit-learn 0.23.2 and TensorFlow 2.3.1 and 2.4.0rc1
Fixes #734 #587
Type of change
Please check all relevant options.

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

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Separate bug this PR also helped me realize: we need to change the push trigger to only run for dev[version number] and not just any branch that starts with dev like this one.
On line 15, could you replace dev* with dev[0-9]+.[0-9]+.[0-9] ?

Separate bug this PR also helped me realize: we need to change the push trigger to only run for dev[version number] and not just any branch that starts with dev like this one.
On line 15, could you replace dev* with dev[0-9]+.[0-9]+.[0-9]+ ?

I think we should leave as is, that we we can get test insights without having to open PRs if we start the branch name with dev*.

@beat-buesser that's fine too if we want to set the convention.
I was suggesting this because once the pull request is eventually made (like this one) you get two sets of tests for pull_request and push. This is also the case for #736, but now we have many more tests.
One of the ways to get around this is by opening a draft PR. Any pushes on the PR will be re-run by Github Actions, and once the PR is ready it can be marked as ready for review or closed if we were just running tests.
If we want to have branches that are dedicated for testing but will not be merged, that is also fine.

@ebubae I see. I think for Travis the difference between pull_request and push is that the former was testing after merging the target branch whereas the latter was testing without merging which in some cases provided insights into bugs. I would like to propose to keep both for a while to see if they behave differently with Actions. I agree, we have now a larger number of runs and should keep them at a minimum but I'm also very happy that they run much faster.

authors: beat-buesser ebubae


text:
The currency change is not updated for {{price currency=@price.currency}} helper

Hi!
In the Ghost 4.6.1 the currency change is not updated for {{price currency=@price.currency}} helper. Works fine with the {{price @price.monthly}} helper.
The helper {{price currency=@price.currency}} is used e.g. in the Lyra theme to display the currency independently of the price (what is important when you want to add a special style for the currency sign).
To Reproduce

Install Ghost with e.g Lyra theme.
Connect with Stripe.
After a currency change, the page is not updated:

Dashboard:

Theme:

Portal:

Technical details:

Ghost Version: 4.6.1
Node Version:  12.22.1
Browser/OS: All
Database: sqlite3

Thanks for the report @fueko , can reproduce the issue and we'll patch it asap in the next release

authors: fueko rishabhgrg

repo: TryGhost/Ghost


text:
SVG Images are really small

Issue Summary
Chrome on macOS, this shows what it looks like when I add a PNG and a SVG image, the SVG is at the bottom:

To Reproduce

Add a /image with PNG:
Add a /image with SVG (ungzip it first, I had to gzip it to attach)
Profilepedia.svg.gz

Expected: SVG scales to the right size, like it does in the WYSIWYG editor
Actual: what you get is a tiny image 300x92. Not sure why.
This is on markhansen.co.nz, forgot the name of the theme.
Technical details:

Ghost Version: Whatever Ghost(Pro) is running right now (I don't know how to find this, maybe add instructions to your github issue template?)

I'd rather have smooth images on every resolution but this is pushing me to use PNG which will give me jagged text resizing. It's a shame.

Theme is alto Version 1.0.0

Hi there! If you're having any issue with a Ghost(Pro) site, please drop us an email on support@ghost.org and we'll be more than happy to give you a hand directly :slight_smile:

authors: ErisDS mhansen


text:
Ghost 5.0: Breaking Changes

The Ghost team has started working on preparations for 5.0, which will involve several breaking changes. There is no ETA or release date as yet, so please do not ask 😬
This issue serves as a living doc with all the known breaking changes as we decide on them. It is unlikely to be exhaustive until 5.0 actually drops.

Known Breaking Changes So Far
Database support changes:

MySQL5 is no longer supported in any environment
SQLite3 is no longer supported in production
MySQL8 is supported in all environments

API changes:

Ghost no longer has multiple API versions
API versions are no longer included in the URL
An accept-version header is supported instead (optional, preferred, docs TBC)

Theme changes:
The easiest way to check your theme for breaking changes is to run it against 5.x in gscan. Many old deprecated features have been removed:

@blog
lang
single authors
many more!

Why is the sqlite3 support being removed?

@JoshStrobl it is not being removed. SQLite3 will not be supported in production.

Are there any plans for better member/user support? Would love to be able to add custom attributes and data for members (bookmarks, bio, etc) without having to edit the core. And perhaps some sort of authentication or oAuth integration for using ghost accounts on another platform (eg. Mobile app for blog or custom site using content API)

IMO MariaDB support should be included, it's a popular database in use.

Dropping MariaDB as main MySQL flavor on major Linux distributions is really bad idea, even worse than the idea to drop PostgreSQL few years ago. Your product should not depend on particular database as there is no good reason for that. I didn't analyze your code but if you use knex, why would you drop any database which they support? What's so specific about Ghost? Some super complex queries to fetch posts? I would not say so.
Supporting wider range of databases would bring you more users of Ghost, more users of non-commercial version though. That's maybe not important for you so our solution to this may be to switch out of Ghost CMS.

Do you really want to drop MariaDB just because it doesn't allow datetime columt to default to "NULL"? This is wrong, "NULL" is string and not of datetime type. You should go for type strict code and switch to TypeScript and not drop MariaDB. You should also introduce back PostgreSQL support, the reasons for dropping it were so stupid, it is the most powerfull database in the world. Both MySQL and MariaDB are far down bellow. Just fix the bug in knew and support wide range of the backends.

Hey all 👋 , I've locked this thread to contributor comments only and updated the original post with an explanation around DB support.
I understand there's a lot of frustration around the clarification that MariaDB is not an officially supported database. As a small team we've always provided a very narrow set of environments that are officially supported to keep our maintenance overhead manageable: Ghost is intended for use with Ubuntu, MySQL, nginx & Node.js LTS.
We're not able to support every flavour of environment without differences being handled correctly in the upstream packages. The way to change what's supported would be to contribute the necessary fixes & improvements - we'd absolutely love to see more contributions around database interoperability in knex.

Closing this now as the official documentation has been published https://ghost.org/docs/changes/

authors: 5factor ErisDS JoshStrobl acim naz yogeshbeniwal


text:
Image captions

Hi,
It'd be awesome to have the possibility to add image captions whenever needed. If I'm not mistaken, it shouldn't be too hard to implement this feature either.
I've seen someone has come up with this solution.
Would you like me to look into possible alternatives for a moment, and come up with a proposal or pull request?
Cheers!

I'm not sure how ghost converts its markdown, but in my use of Jekyll which uses kramdown, I've been able to add 'captions' to images by putting an extra bit of css and using the 'inline attribute' feature...
http://kramdown.gettalong.org/syntax.html#inline-attribute-lists
so an image that i want a caption on looks something like this:

Check it out a caption about a ghost!{: .midcaption}
which refers to some simple CSS (which may not be the most beautiful)
.midcaption {
width:100%;
display:block;
font-size: $base-font-size * 0.90;
font-family: $italic-serif-font;
}
perhaps some of that functionality can be pulled in

Thanks @joeldrapper for detailed answer, and @lemur3 for the suggestions  :)

Hi @pensierinmusica, as other people have commented, this is possible by using HTML in the editor, and adding captions to markdown isn't really a trivial thing to do.
Nonetheless, since you wrote this we created a wishlist so that we could do a better job of collecting suggestions like these. GitHub is a pretty poor tool for collecting feature requests as there's not really a good way to get proper validation of your ideas.
I recommend raising this on the wishlist, so that we can get a better idea of how important this is to our users and prioritise creating a solution accordingly.

Thanks, done!

authors: ErisDS lemur3 pensierinmusica


text:
npm WARN cannot run in wd ghost@0.11.2 #7575

I was trying to upgrade my ghost following the guide.
I got an error due to:
npm WARN cannot run in wd ghost@0.11.2 node core/server/utils/npm/preinstall.js (wd=/var/www/ghost)

Although i have swap (4Gb).
And this
node-pre-gyp ERR! Tried to download: https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.6/node-v46-linux-ia32.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.6 and node@4.2.6 (node-v46 ABI) (falling back to source compile with node-gyp)

make: Entering directory `/var/www/ghost/node_modules/sqlite3/build'
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3090100/sqlite3.o
  AR(target) Release/obj.target/deps/sqlite3.a
  COPY Release/sqlite3.a
  CXX(target) Release/obj.target/node_sqlite3/src/database.o
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)’:
../src/database.cc:144:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)’:
../src/database.cc:230:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)’:
../src/database.cc:525:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)’:
../src/database.cc:625:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
  CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
  CXX(target) Release/obj.target/node_sqlite3/src/statement.o
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginPrepare(node_sqlite3::Database::Baton*)’:
../src/statement.cc:118:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
In file included from ../src/statement.cc:6:0:
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginBind(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
../src/statement.cc:322:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Bind);
     ^
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginGet(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
../src/statement.cc:370:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Get);
     ^
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginRun(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
../src/statement.cc:438:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Run);
     ^
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginAll(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
../src/statement.cc:504:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(All);
     ^
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginEach(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
../src/statement.cc:601:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Each);
     ^
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginReset(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^
../src/statement.cc:724:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Reset);
     ^
  SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node
  COPY Release/node_sqlite3.node
  COPY /var/www/ghost/node_modules/sqlite3/lib/binding/node-v46-linux-ia32/node_sqlite3.node
  TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory `/var/www/ghost/node_modules/sqlite3/build'
domelementtype@1.3.0 node_modules/domelementtype

normalize-path@2.0.1 node_modules/normalize-path

ini@1.3.4 node_modules/ini

lodash.defaults@4.2.0 node_modules/lodash.defaults

lodash.merge@4.6.0 node_modules/lodash.merge

utils-merge@1.0.0 node_modules/utils-merge

on-headers@1.0.1 node_modules/on-headers

inherits@2.0.3 node_modules/inherits

methods@1.1.2 node_modules/methods

unpipe@1.0.0 node_modules/unpipe

content-type@1.0.2 node_modules/content-type

vary@1.1.0 node_modules/vary

passport-oauth2-client-password@0.1.2 node_modules/passport-oauth2-client-password

passport-strategy@1.0.0 node_modules/passport-strategy

passport-http-bearer@1.0.1 node_modules/passport-http-bearer

graceful-fs@4.1.9 node_modules/graceful-fs

pg-connection-string@0.1.3 node_modules/pg-connection-string

connect-slashes@1.3.1 node_modules/connect-slashes

semver@5.3.0 node_modules/semver

xtend@4.0.1 node_modules/xtend

rss@1.2.1 node_modules/rss

extend@3.0.0 node_modules/extend

xml@1.0.1 node_modules/xml

depd@1.1.0 node_modules/depd

entities@1.1.1 node_modules/entities

qs@6.2.0 node_modules/qs

domutils@1.5.1 node_modules/domutils

cors@2.8.1 node_modules/cors

image-size@0.5.0 node_modules/image-size

node-uuid@1.4.7 node_modules/node-uuid

dom-serializer@0.1.0 node_modules/dom-serializer
└── domelementtype@1.1.3

once@1.3.3 node_modules/once
└── wrappy@1.0.2

...

nodemailer@0.7.1 node_modules/nodemailer
├── public-address@0.1.1
├── directmail@0.1.8
├── he@0.3.6
├── readable-stream@1.1.14 (string_decoder@0.10.31, isarray@0.0.1, core-util-is@1.0.2)
├── simplesmtp@0.3.35 (xoauth2@0.1.8, rai@0.1.12)
├── mailcomposer@0.2.12 (mime@1.2.11, dkim-signer@0.1.2, follow-redirects@0.0.3, mimelib@0.2.19)
└── aws-sdk@2.0.5 (xmlbuilder@0.4.2, aws-sdk-apis@3.1.10, xml2js@0.2.6)

babel-runtime@6.11.6 node_modules/babel-runtime
├── regenerator-runtime@0.9.5
└── core-js@2.4.1

sqlite3@3.1.6 node_modules/sqlite3
└── nan@2.3.5

from that moment on, nothing works.

Hey @ayxos, sorry that you're having trouble!
This is a common problem due to file permission issues, and is not actually a bug in Ghost itself. Please head over to our slack channel and post your issue there. We can provide better, more real-time support that isn't possible in the Github issue tracker. Thanks! 😄

authors: acburdine ayxos


text:
Access Denied: Linux precompiled binaries

The URL https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz is returning an Access Denied error. (The v3 URL, https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v3-linux-x64.tar.gz, is fine.)
$ git clone https://github.com/mapbox/node-sqlite3.git
...
$ cd node-sqlite3/
$ npm install node-pre-gyp
...
$ ./node_modules/.bin/node-pre-gyp reveal
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.11.0
node-pre-gyp info using node@12.18.4 | linux | x64
{
  "name": "sqlite3",
  "configuration": "Release",
  "module_name": "node_sqlite3",
  "version": "5.0.1",
  "prerelease": "",
  "build": "",
  "major": 5,
  "minor": 0,
  "patch": 1,
  "runtime": "node",
  "node_abi": "node-v72",
  "node_abi_napi": "napi",
  "napi_version": "6",
  "napi_build_version": 3,
  "node_napi_label": "napi-v3",
  "target": "",
  "platform": "linux",
  "target_platform": "linux",
  "arch": "x64",
  "target_arch": "x64",
  "libc": "glibc",
  "module_main": "./lib/sqlite3",
  "toolset": "",
  "host": "https://mapbox-node-binary.s3.amazonaws.com/",
  "module_path": "/usr/app/node-sqlite3/lib/binding/napi-v3-linux-x64",
  "module": "/usr/app/node-sqlite3/lib/binding/napi-v3-linux-x64/node_sqlite3.node",
  "remote_path": "./sqlite3/v5.0.1/",
  "package_name": "napi-v3-linux-x64.tar.gz",
  "staged_tarball": "build/stage/sqlite3/v5.0.1/napi-v3-linux-x64.tar.gz",
  "hosted_path": "https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/",
  "hosted_tarball": "https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v3-linux-x64.tar.gz"
}
{
  "name": "sqlite3",
  "configuration": "Release",
  "module_name": "node_sqlite3",
  "version": "5.0.1",
  "prerelease": "",
  "build": "",
  "major": 5,
  "minor": 0,
  "patch": 1,
  "runtime": "node",
  "node_abi": "node-v72",
  "node_abi_napi": "napi",
  "napi_version": "6",
  "napi_build_version": 6,
  "node_napi_label": "napi-v6",
  "target": "",
  "platform": "linux",
  "target_platform": "linux",
  "arch": "x64",
  "target_arch": "x64",
  "libc": "glibc",
  "module_main": "./lib/sqlite3",
  "toolset": "",
  "host": "https://mapbox-node-binary.s3.amazonaws.com/",
  "module_path": "/usr/app/node-sqlite3/lib/binding/napi-v6-linux-x64",
  "module": "/usr/app/node-sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node",
  "remote_path": "./sqlite3/v5.0.1/",
  "package_name": "napi-v6-linux-x64.tar.gz",
  "staged_tarball": "build/stage/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz",
  "hosted_path": "https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/",
  "hosted_tarball": "https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz"
}
node-pre-gyp info ok
$ ./node_modules/.bin/node-pre-gyp reveal hosted_tarball --silent
https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v3-linux-x64.tar.gz
https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
$ curl -s -L -o napi-v6-linux-x64.tar.gz https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
$ cat napi-v6-linux-x64.tar.gz
<?xml version="1.0" encoding="UTF-8"?>
<Error>AccessDenied<Message>Access Denied</Message><RequestId>9A62407AA8EC561B</RequestId><HostId>XO6dyy/dS5Xks3WA3/cLZZDnJXRhUwkTeW0sqsyTVGuVAAty0fpJbF8M8U8G3UZAHn4lKmmMN1g=</HostId></Error>

same for me here

I am trying to get Strapi up and running with npx create-strapi-app fueld-api --quickstart and I get this error(gist).
Looking into the log I notice an HTTP 403 - Forbidden return on a download for https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for sqlite3@5.0.1 and node@12.18.0 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)

No idea if this is an issue with strapi, sqlite3, or gyp. However, because I see the failed download is a sqlite3 package I figured I would report the issue to this repo first.
My Environment:

Windows 10 (10.0.19041.685)

WSL 1

Ubuntu-18.04

NPM 6.14.4
Node 12.18.0

I am trying to get Strapi up and running with npx create-strapi-app fueld-api --quickstart and I get this error(gist).
Looking into the log I notice an HTTP 403 - Forbidden return on a download for https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for sqlite3@5.0.1 and node@12.18.0 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)

No idea if this is an issue with strapi, sqlite3, or gyp. However, because I see the failed download is a sqlite3 package I figured I would report the issue to this repo first.
My Environment:

Windows 10 (10.0.19041.685)

WSL 1

Ubuntu-18.04

NPM 6.14.4
Node 12.18.0

Same over here installing sqlite3.
Package managers: npm, yarn and pnpm
Build envs:

Win 10 - NodeJS 14 and 15
Docker: node:alpine, node:latest and node:14.15.1-alpine3.12

Same 403 on the mapbox link while installing.
Only the relevant part:
node-pre-gyp info it worked if it ends with ok
--
34 | node-pre-gyp info using node-pre-gyp@0.11.0
35 | node-pre-gyp info using node@14.15.1 \| linux \| x64
36 | node-pre-gyp WARN Using request for node-pre-gyp https download
37 | node-pre-gyp info check checked for "/drone/src/node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node" (not found)
38 | node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
39 | node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
40 | node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
41 | node-pre-gyp WARN Pre-built binaries not found for sqlite3@5.0.1 and node@14.15.1 (node-v83 ABI, musl) (falling back to source compile with node-gyp)
42 | node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz

Same over here installing sqlite3.
Package managers: npm, yarn and pnpm
Build envs:

Win 10 - NodeJS 14 and 15
Docker: node:alpine, node:latest and node:14.15.1-alpine3.12

Same 403 on the mapbox link while installing.
Only the relevant part:
node-pre-gyp info it worked if it ends with ok
--
34 | node-pre-gyp info using node-pre-gyp@0.11.0
35 | node-pre-gyp info using node@14.15.1 \| linux \| x64
36 | node-pre-gyp WARN Using request for node-pre-gyp https download
37 | node-pre-gyp info check checked for "/drone/src/node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node" (not found)
38 | node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
39 | node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
40 | node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
41 | node-pre-gyp WARN Pre-built binaries not found for sqlite3@5.0.1 and node@14.15.1 (node-v83 ABI, musl) (falling back to source compile with node-gyp)
42 | node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz

Little update:
Pinning sqlite3 to 5.0.0 in my package.json at least let's me work with that version of sqlite3 and doesn't break build any more.
Would still be nice to get this resolved :)
{
  "dependencies": {
    "sqlite3": "5.0.0"
  }
}

Little update:
Pinning sqlite3 to 5.0.0 in my package.json at least let's me work with that version of sqlite3 and doesn't break build any more.
Would still be nice to get this resolved :)
{
  "dependencies": {
    "sqlite3": "5.0.0"
  }
}

I'm getting the same problem on Ubuntu x64 for sqlite3 v4.1.0:
https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.0/node-v83-linux-x64.tar.gz
Mentioned in: https://github.com/laurent22/joplin/issues/4385

I'm getting the same problem on Ubuntu x64 for sqlite3 v4.1.0:
https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.0/node-v83-linux-x64.tar.gz
Mentioned in: https://github.com/laurent22/joplin/issues/4385

Same problem here, both on Windows and Linux. Couldn't install 4.20. Then tried doing latest, also failed. Specifying to install @5.0.0 worked though.

Same problem here, both on Windows and Linux. Couldn't install 4.20. Then tried doing latest, also failed. Specifying to install @5.0.0 worked though.

FWIW the error ultimately went away for me when I resolved npm install not working correctly (by wiping my cloned repository and doing a hard reset), so my guess here is that in at least some cases the real problem is node-pre-gyp generating an invalid URL, not a valid download being missing from the server.

FWIW the error ultimately went away for me when I resolved npm install not working correctly (by wiping my cloned repository and doing a hard reset), so my guess here is that in at least some cases the real problem is node-pre-gyp generating an invalid URL, not a valid download being missing from the server.

The downloads are giving an access denied error, until Mapbox fix this problem every install will need to be compiled, which is bloody annoying.

I think the Access Denied errors are really Not Found. Apparently AWS S3 will report 403 Access Denied if the (anonymous) user doesn't have ListBucket permission: https://jamesthom.as/2021/02/aws-s3-iam-errors-with-missing-files-404-expected-403-returned/
The files for Node-API v6 were not uploaded by the build for 5.0.1 - see #1444 and commit 60a022c, and also https://github.com/mapbox/node-sqlite3/issues/1424#issuecomment-779125553. For now use version 5.0.2 or 5.0.0, which only support Node-API v3. According to the support matrix Node-API v3 is supported for all versions after Node 6.14.2. A later version of Node.js could drop support for older versions of Node-API, but at the time I wrote this, Node 16.x still supported Node-API v3.
If you really need version 5.0.1, you will need to have the build tools installed and configured for your platform, so that node-gyp can build the binaries from source.

Or, you know, put the pre-compiled version somewhere people could get a hold of it. Downloading 4GB of compilers to compile this is just piss poor infrastructure management, not everyone wants to fuck around with compilers. Some of us just want easier access to the node.

Please try with v5.0.3 🙂

authors: KatSick MikeDimmickMnetics Niggl1999 ValeTheVioletMote andrew-barnett benhovinga daniellockyer elsiehupp ozdeadmeat


text:
[question] cand_ids变量的来源？

finetune_chid.py文件中 CHIDDataset类的成员变量self.cand_ids。从注释上看该变量的含义是候选标签id，请教一下这个候选标签id是怎么生成的？

这个 id 对应着词表里面的 ”0“，”1“， "2"，... ，”9“ 对应的 id

好的，多谢。请教一下finetune_chid推理的逻辑，每一个输入都会配套10个成语吗？两个不同的输入但是它们的truth相同，这两个输入的成语是一样的还是不同的？

每一个输入都会配套10个成语。和抱歉第二个问题没有太理解您的意思。只要 truth 相同，如果模型做对了的话，推理得到的就应该是相同的，但是做错了就不一定了。

好的，多谢

repo: TsinghuaAI/CPM-Finetune


text:
Simplify checking code and modifiers

Currently I'm doing this to prevent segfaults if the mods list has any items in it:
if (k.code == 'q' && !(k.mod.empty()) && k.mod[0] == rawterm::Mod::Control) {}

Potential fix: Just make k.mod of type rawterm::Mod instead of a vector, as we never have multiple elements. Only time I can tell is if we do shift + alt + letter, which currently isn't parsed anyway, but would be great if it was in the future) or potentially if we implement alt_gr in the future.

An idea:
if (isMod(k) == rawterm::Mod::Control && k.code == 'q') {}

We can also add rawterm::Mod::None
isMod() could look something vaguely like this and for multiple modifiers, loop through the results of isMod() until it's equal to [None](rawterm::Mod::None) (I'm not sure how to implement this, but another approach there is almost to treat None in the same way std::string using ::npos)
rawterm::Mod isMod(Key k) { return (!(k.mod.empty()) ? k.mod.pop_back() : rawterm::Mod::None }

repo: Ttibsi/rawterm


text:
Select筛选函数被多次触发

TuSimple/naive-ui version (版本)
2.24.1
Vue version (Vue 版本)
3.2.26
Browser and its version (浏览器及其版本)
Chrome89
System and its version (系统及其版本)
macOS 11.3.1
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/weathered-wildflower-ul6db?file=/src/Demo.vue:0-1443
Reappearance steps (重现步骤)
<template>
  <n-space vertical>
    <n-select
      v-model:value="selectedValue"
      :filter="filter"
      filterable
      placeholder="选择歌曲"
      :options="options"
    />
  </n-space>
</template>

<script>
import { defineComponent, ref } from 'vue'

export default defineComponent({
  setup () {
    const filter=()=>{
      console.log("filter")
    }
    return {
      filter,
      selectedValue: ref(null),
      selectedValues: ref(null),
      options: [
        {
          label: 'Drive My Car',
          value: 'song1'
        },
        {
          label: 'Norwegian Wood',
          value: 'song2'
        },
        {
          label: "You Won't See",
          value: 'song3'
        },
        {
          label: 'Nowhere Man',
          value: 'song4'
        },
        {
          label: 'Think For Yourself',
          value: 'song5'
        },
        {
          label: 'The Word',
          value: 'song6'
        },
        {
          label: 'Michelle',
          value: 'song7'
        },
        {
          label: 'What goes on',
          value: 'song8'
        },
        {
          label: 'Girl',
          value: 'song9'
        },
        {
          label: "I'm looking through you",
          value: 'song10'
        },
        {
          label: 'In My Life',
          value: 'song11'
        },
        {
          label: 'Wait',
          value: 'song12'
        }
      ]
    }
  }
})
</script>

Expected results (期望的结果)
只触发一次
Actual results (实际的结果)
Selectfilter函数被多次触发
Remarks (补充说明)

应该是会对你的每一项option进行filter函数执行然后判断是否true进行筛选，应该是合理的

authors: Talljack vnues

repo: TuSimple/naive-ui


text:
Ability to use Vue Router router-link component in menus

Menu items should have the option of creating router-link components to support native routing functionality provided by Vue Router. This should also ensure actual <a> tags are generated, so as to be more friendly to accessibility.

The demand does exist. The API should be designed carefully. I need to think it for some time.

I'm thinking of adding tag and props prop to menu option. However I need to verify if type constraint will work.

ref https://www.naiveui.com/en-US/os-theme/components/menu#select

Would you consider updating the menus on the documentation site to use this? The current way of how it handles navigation means I can't middle-click the links to open them in new tabs, which is very frustrating.

I definitely appreciate the flexibility of this approach, but it would be nice to have a slightly nicer way of handling the common use case of a <router-link> with route props. This will end up being very verbose for longer menus.

Would you consider updating the menus on the documentation site to use this? The current way of how it handles navigation means I can't middle-click the links to open them in new tabs, which is very frustrating.

You can click

And a new tab will be opened.

I definitely appreciate the flexibility of this approach, but it would be nice to have a slightly nicer way of handling the common use case of a <router-link> with route props. This will end up being very verbose for longer menus.

I can understand your concern. I'm not going to add props directly relevent to router-link since it will make option verbose.
Instead I think it's possible to create a render-label prop for menu if you want to create a longer menu will duplicate logic.

I meant the main navigation links on the docs site:

I can't middle click these, nor can I see where they will take me by hovering over them. This is because they are not regular links.

I meant the main navigation links on the docs site:

I can't middle click these, nor can I see where they will take me by hovering over them. This is because they are not regular links.

I got it.

this may take a while

That's part of why I suggested providing a nicer way of using <router-link> specifically :wink:

I'll develop it

this may take a while

That's part of why I suggested providing a nicer way of using <router-link> specifically 😉

Done

:+1: I think this was a great solution, thank you!

这可能需要一段时间

这就是为什么我建议提供一种更好的方法来专门使用😉<router-link>

做

Your solution solves my need. thank you


text:
Tooltip prop for button components

This function solves the problem (这个功能解决的问题)
Mainly for tooltips on buttons in a button group.
Sometimes, some buttons are part of an action group, and icons available are not enough to tell the use. A tooltip on buttons is anyways a very basic usecase.
Expected API (期望的 API)
<n-button  tooltip-text="This is a button" >
  <template #icon>
     <n-icon><some-icon /></n-icon>
  </template>
</n-button>

<!-- generated by issue-helper DO NOT REMOVE __FEATURE_REQUEST__ -->

I think I worded this a bit badly. I was asking for a native tooltip prop for the button component.

If you want to use browser's native tooltip, just add title as a prop to n-button.
  <n-button title="I need a tip~" circle>
      <template #icon>
        <n-icon><cash-icon /></n-icon>
      </template>
  </n-button>

I think add tooltip-text to n-button  is not meaningful, It is not hard to use n-tool to combine.
Maybe you can encapsulate a ToolTipButton like the follow code.
  <n-tooltip>
      {{tip}}
      <template #trigger>
          <template #icon>
             <n-icon><slot name="icon"></n-icon>
          </template>
      </template>
   </n-tooltip>

It is not hard to use n-tooltip to combine.

Sure, but can you tell me how to do this with n-button-group?

It is not hard to use n-tooltip to combine.

Sure, but can you tell me how to do this with n-button-group?

https://codesandbox.io/s/tender-architecture-7jbml?file=/src/Demo.vue

The codesandbox appears empty. 🤔

authors: Blakeinstein Volankey


text:
🛑 Content Delivery Network (S3 Bucket) is down

In 7fdfcda, Content Delivery Network (S3 Bucket) (https://cdn.tubnet.gg/minecraft-resourcepack/TubPack-production.zip) was down:

HTTP code: 522
Response time: 15655 ms

Resolved: Content Delivery Network (S3 Bucket) is back up in e0cfb3a after 7 minutes.

repo: Tubnom/tubnet-uptime


text:
🛑 Content Delivery Network (S3 Bucket) is down

In f180aa9, Content Delivery Network (S3 Bucket) (https://cdn.tubnet.gg/minecraft-resourcepack/TubPack-production.zip) was down:

HTTP code: 522
Response time: 15283 ms

Resolved: Content Delivery Network (S3 Bucket) is back up in 8ebba3a after 15 minutes.


text:
Tumblr liked-by fails: Error parsing post

Describe the bug
When downloading liked-by tumblr pages, at the end of the process there's an error: Error parsing post
In the log there's a following error:
20241206 16:02:46.901  Err   TumblrLikedByCrawler:CrawlPageAsync: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: i
   at System.Text.RegularExpressions.MatchCollection.get_Item(Int32 i)
   at TumblThree.Applications.Crawler.TumblrLikedByCrawler.ExtractNextPageLink(String document) in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 753
   at TumblThree.Applications.Crawler.TumblrLikedByCrawler.<CrawlPageAsync>d__17.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 211

To Reproduce
Try to download any paged liked-by tumblr.
Expected behavior
Process completes successfully.

Thanks for reporting a bug.

repo: TumblThreeApp/TumblThree


text:
Add ChEES-HMC adaptation

Hoffman et al introduced ChEES-HMC in http://proceedings.mlr.press/v130/hoffman21a/hoffman21a.pdf. It's one answer to the problem of the wastefulness of NUTS when sampling many chains discussed in https://github.com/TuringLang/AdvancedHMC.jl/pull/228#issuecomment-754375133. When sampling many chains on the GPU with NUTS, the number of steps taken for all chains is equal to the maximum number of steps taken on any one chain before termination (even though for the chains that already terminated, those steps are never used).
ChEES-HMC uses static HMC to sample all chains, where the trajectory length is jittered. The main contribution of the paper is an adaptation routine to tune the step size and trajectory length to try to minimize the autocorrelation of the chains. For the models they checked, they saw higher ESS/evaluation for many chains than with NUTS.
See in particular Algorithm 1.

Perhaps the only potentially complicated part of this is that the transition has a jittered integration time, where the jitter could be with an RNG or a pre-determined Halton sequence (they recommend Halton). So each transition call begins by jittering the integration time (even if warm-up has already finished). That is, the termination criterion has the same relationship to FixedIntegrationTime that JitteredLeapfrog has to Leapfrog. It wasn't obvious to me after a few minutes of thought a good way to do this with the current API.

I guess in principle we can implement extend the jitter operation to support different noise and implement a specific RNG for Halton sequence. But I feel it might be simpler and neater that we just implement a new termination type for ChEES.
@torfjelde told me that he's going to implement this in AHMC. Maybe he has some thoughts on this as well.

If you need a low-discrepancy sequence, you can try GoldenSequences.jl. Generalized golden sequences are easy to calculate (just add φ each time) and get you very good dispersion. Halton sequences also require fine-tuning of parameters. See here for more.

authors: Closed-Limelike-Curves sethaxen xukai92


text:
Error returned from server: UNSUPPORTED_LANG

                  ,MMMM.           Host        -  weibingding@Weibings-MacBook-Pro.local
                .MMMMMM            Machine     -  MacBookPro18,1
                MMMMM,             Kernel      -  22.5.0
      .;MMMMM:' MMMMMMMMMM;.       OS          -  macOS 13.4.1 Ventura
    MMMMMMMMMMMMNWMMMMMMMMMMM:     DE          -  Aqua
  .MMMMMMMMMMMMMMMMMMMMMMMMWM.     WM          -  Quartz Compositor
  MMMMMMMMMMMMMMMMMMMMMMMMM.       Packages    -  23 (Homebrew)
 ;MMMMMMMMMMMMMMMMMMMMMMMM:        Terminal    -  alacritty
 :MMMMMMMMMMMMMMMMMMMMMMMM:        Shell       -  zsh
 .MMMMMMMMMMMMMMMMMMMMMMMMM.       Uptime      -  14d 17h 30m
  MMMMMMMMMMMMMMMMMMMMMMMMMMM.     CPU         -  Apple M1 Pro (10)
   .MMMMMMMMMMMMMMMMMMMMMMMMMM.    Resolution  -  3456x2234@120fps (as 1728x1117)
     MMMMMMMMMMMMMMMMMMMMMMMM                     2880x5120@60fps (as 1440x2560)
      ;MMMMMMMMMMMMMMMMMMMM.                      2360x1640@60fps (as 1180x820)
        .MMMM,.    .MMMM,.         Brightness  -  46%
                                   CPU Load    -  36%
                                   Memory      -  14.5 GB/33.6 GB
                                   Battery     -  96% & Discharging

CrystalFetch
Version 1.0.0 (1)

duplicate with #6.
You need to upgrade to version 1.0.1

I didn't receive any notifications from the Apple Store to update Crystal Fetch.

according to the duplicate issue, app store version hasn't been updated. I think you can download from github release. https://github.com/TuringSoftware/CrystalFetch/releases

Thank you for your response. Can you please explain why the App Store version hasn't been updated? Is there a specific reason to download from the GitHub release?

I don't know why either. Maybe the repo owner knows more.

Duplicate of #2

authors: digika-ding osy theggs

repo: TuringSoftware/CrystalFetch


text:
Исправить реплику

print('Воитель — дерзкий воин ближнего боя. Сильный, выносливый и отважный.')
https://github.com/Turonk/character_creation_module/blob/a0ae87d61cc0eae6baf2cc11d9b430d47547f1c3/main.py#L56


text:
Egg Catcher Game

I want to add Egg Catcher Game

@TusharAMD kindly assign

repo: TusharAMD/Runn


text:
Add files via upload

🛠 Issue (1370)

Closes #1370
Description
Please include a summary of the change. Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change

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

Checklist:

[x] I have made this from my own
[ ] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] The title of my pull request is a short description of the requested changes.

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

🛠 Issue (1370)
Closes #1370

🛠 Issue (1370)
Closes https://github.com/TusharKesarwani/Front-End-Projects/issues/1370

repo: TusharKesarwani/Front-End-Projects


text:
JavaScript

JavaScript
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with a suggestion on what I should study first

JS completed

repo: TwixmixyJanet/prework-study-guide


text:
Request: Stay on Top when Minimize to Desktop

Minimizing to desktop (Win + D) in order to see icons causes fences to disappear. Would it be possible to have program stay on top? Thank you for considering!

This was fixed just recently in #14 and will be available in the next version

authors: Praxis-Prion Twometer

repo: Twometer/NoFences


text:
Compiling YouTube video playlists

We're looking to extend data collection from the captions of YouTube videos.
As a start, it would be useful to get playlists of the different topics gathered together. Currently, the most effective approach would be to curate playlists that are consistent on both topic and position ie a separate playlist for climate change vs climate change denying videos.
We are mainly interested in videos in which the caption are NOT autogenerated. However, because further down the line we might look into extracting useful data from autogenerated captions, it would also be useful to compile videos with autogenerated captions separately. So if you do come across them just add them to a separate list (no need to thematically separate that at this point)
We're open to suggestions of what the most effective approach to centralise resulting playlists. Let us know what you think.  Otherwise just drop a link to any playlists you create here for the time being.

I've tested this now and this app is super easy to use:
YoutubeExtractor
So roughly what you could do is make a playlist and title it appropriately, such as Drug Policy - Decriminalize, then add suitable videos to it. Once you're done, you brows to the URL that holds your playlist and open of Youtube Extractor. Paste the url into the field and export it as a text file. Then upload the text file to the Youtube Captions folder.

Adding the links to the two super useful blogposts for extracting YouTube data through ❤ R ❤.

Erin Grand's blogpost on Text Analysis of The Lizzie Bennet Diaries
@d4tagirl's blogpost on How do you feel about Last Week Tonight?

I'm creating collaborative playlists that people can directly add videos to. You can add to the playlists by following the appropriate links. Details in the /Youtube Caption Dump/instructions.md

I was thinking, this whole YouTube thing has REALLY opened up some doors. Basically, anything we can get a transcript of, we can use. Down the line this could include podcasts as we discussed, or even documentaries or episodes of tv shows. These might already be on youtube, or we might be able to get them directly online if they're more well known.

authors: TyJK annakrystalli

repo: TyJK/EchoBurst


text:
FPS drop on map

Have drop fps to 20 from 144 on map. When added this mod. Without all is ok
1.3.1

+1.
beta 1.4.0

Duplicate - refer to https://github.com/Tyler-IN/MnB2-Bannerlord-CommunityPatch/issues/301

authors: Tyler-IN iMcLee muzica9


text:
Memory leak: service.js process is running after node heap out of memory crash

Current behavior

Every time node falls with Heap out of memory, the <project>/node_modules/fork-ts-checker-webpack-plugin/lib/service.js is still running, causing memory leak. The more crashes: the more service.js processes causing leak
Expected behavior

Proper shutdown of all running services
Steps to reproduce the issue

run node --max-old-space-size=256 ./node_modules/.bin/webpack-dev-server on any mid-size webpack+typescript+react project
wait node Heap out of memory crash
ps aux | grep fork-ts-checker

Issue reproduction repository

Environment

fork-ts-checker-webpack-plugin: 4.0.4
typescript: 3.7.4
tslint: 5.11.0
webpack: 4.19.1
os: linux mint 19.1

@vlamitin
Please try fork-ts-checker-webpack-plugin@alpha - I've published a new version which should resolve this issue 🚀
I will close this issue to clean-up the backlog. If this release didn't solve the issue, we can re-open this :)

Was the alpha released to the 4.x branch?  It seems to not exist anymore, and I am getting out of memory errors using 4.1.6.  I'm unable to upgrade to version 5 for now, because I am stuck on Node 8.

Unfortunately, the alpha was released on the 5.x branch

authors: IanVS piotr-oles vlamitin


text:
Pretty-print Type Aliases

Search terms
pretty pretty-print type alias type aliases
Expected Behavior
This might just be a setting or something that I'm totally missing. If so, fine to just point me there. I could also see this being 100% intentional behavior. That seems reasonable, given the other information on the page, but if that's the case, I'd like to convert this to a feature request. For almost all of my types, the best way to understand them is to just show the pretty-printed type definition with comments stripped out, then offer the comments further below as you've done already. It would be great for this to be an option.
Given the typescript source:
 export type MyType = {
  one: string;
  two: string;
  three: string;
  four: string;
  names: {
    me: string;
    you: string;
  }
}

The generated docs should show:
T MyType: {
  one: string;
  two: string;
  three: string;
  four: string;
  names: {
    me: string;
    you: string;
  }
}

Actual Behavior
Given the above Typescript source, the generated docs show the following:
T MyType: { one: string; two: string; three: string; four: string; names: { me: string; you: string } }

Steps to reproduce the bug

Clone https://github.com/kael-shipman/typedoc-bug
run npm install
run npm run docgen

Environment

Typedoc version: 0.22.8
TypeScript version: 4.4.4
Node.js version: 14.18.1
OS: Ubuntu Studio Linux 20.04.3

This is expected behavior right now. We don't have custom rendering to try to pretty print any types. It isn't just object types either, https://typedoc.org/api/modules.html#KeyToDeclaration is less than useful... I believe this is something that might be fixed with a theme update that's a work in progress.

Thanks for the explanation! Seems totally reasonable. Feel free to close this or merge it into the theme work.

I'll leave this open until I've confirmed it's resolved :)

captainTorch's output in the PR looks great!
Anyone else know of any work arounds until the PR gets released?

Awesome. Thanks!

authors: Gerrit0 jgresham kael-shipman

repo: TypeStrong/typedoc


text:
🛑 Web OPL is down

In ee92d45, Web OPL (https://opl.uab.cat) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Web OPL is back up in 2a30d4b after 6 minutes.

repo: UAB-OPL/opl-uab-monitoring


text:
🛑 Mirrors OPL is down

In 9a4f268, Mirrors OPL (https://mirrors.opl.uab.cat) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mirrors OPL is back up in 726b58d after 7 minutes.


text:
🛑 Migasfree Server OPL is down

In 6f7e906, Migasfree Server OPL (https://migasfree.opl.uab.cat) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Migasfree Server OPL is back up in 56df4dc after 4 minutes.


text:
controller - write user interaction functions in interact.py

please implement functions used in user interactivity in interact.py

deemed un-necessay, as all functionality was included in tab2.py/tab1.py


text:
🛑 Student Media - Motley is down

In 3ce75a5, Student Media - Motley (https://motley.ie) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Student Media - Motley is back up in 756ff46 after 17 minutes.

repo: UCCNetsoc/upptime


text:
🛑 Student Media - Motley is down

In bbdacbe, Student Media - Motley (https://motley.ie) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Student Media - Motley is back up in 1b52941 after 6 minutes.


text:
Migrate current Query Hooks architecture from Notion to UCSD Collab

Current docs:
https://www.notion.so/Query-Hooks-Architecture-Notes-1b6c62b1ebcc418bb3cf84a2e59559ed?pvs=4

Updated wiki and added tutorial vids

authors: declaire morebytes

repo: UCSD/campus-mobile


text:
Crash: Android Maps

Reports were received that there is a crash happening on Android when switching between the Maps and Home tabs on Android Alpha 822, and the experimental branch

Unable to reproduce on experimental or App Store/Play Store, closing.


text:
feat: add a button that will take you to the layers panel (ALL-2236)

[x] add functionality to switch to layers list on a button click within
[x] Button-size will be the same design as “Data Disclaimer”, and will say “Start Exploring”.

Button design for “Start Exploring”:

Orange fill w/dark text
Button design for “Data Disclaimer”:
White fill w/dark text
Orange outline

@marshallrobinson I don't think, we've never had a default open panel for this app. I refactored to make the Info panel open on default. see https://github.com/UGS-GIO/geohaz-v2/pull/25/commits/bdcb0326e1beaa5f9d18023658233d9917e5c086


text:
星铁api接口数据过时

数据还停留在1.4版本

以/dict/starrail/chs.json为例
{
    "三月七": 1001,
    "丹恒": 1002,
    "姬子": 1003,
    "瓦尔特": 1004,
    "卡芙卡": 1005,
    "银狼": 1006,
    "阿兰": 1008,
    "艾丝妲": 1009,
    "黑塔": 1013,
    "布洛妮娅": 1101,
    "希儿": 1102,
    "希露瓦": 1103,
    "杰帕德": 1104,
    "娜塔莎": 1105,
    "佩拉": 1106,
    "克拉拉": 1107,
    "桑博": 1108,
    "虎克": 1109,
    "玲可": 1110,
    "卢卡": 1111,
    "托帕&账账": 1112,
    "青雀": 1201,
    "停云": 1202,
    "罗刹": 1203,
    "景元": 1204,
    "刃": 1205,
    "素裳": 1206,
    "驭空": 1207,
    "符玄": 1208,
    "彦卿": 1209,
    "桂乃芬": 1210,
    "白露": 1211,
    "镜流": 1212,
    "丹恒•饮月": 1213,
    "{NICKNAME}": 8004,
    "锋镝": 20000,
    "物穰": 20001,
    "天倾": 20002,
    "琥珀": 20003,
    "幽邃": 20004,
    "齐颂": 20005,
    "智库": 20006,
    "离弦": 20007,
    "嘉果": 20008,
    "乐圮": 20009,
    "戍御": 20010,
    "渊环": 20011,
    "轮契": 20012,
    "灵钥": 20013,
    "相抗": 20014,
    "蕃息": 20015,
    "俱殁": 20016,
    "开疆": 20017,
    "匿影": 20018,
    "调和": 20019,
    "睿见": 20020,
    "一场术后对话": 21000,
    "晚安与睡颜": 21001,
    "余生的第一天": 21002,
    "唯有沉默": 21003,
    "记忆中的模样": 21004,
    "鼹鼠党欢迎你": 21005,
    "「我」的诞生": 21006,
    "同一种心情": 21007,
    "猎物的视线": 21008,
    "朗道的选择": 21009,
    "论剑": 21010,
    "与行星相会": 21011,
    "秘密誓心": 21012,
    "别让世界静下来": 21013,
    "此时恰好": 21014,
    "决心如汗珠般闪耀": 21015,
    "宇宙市场趋势": 21016,
    "点个关注吧！": 21017,
    "舞！舞！舞！": 21018,
    "在蓝天下": 21019,
    "天才们的休憩": 21020,
    "等价交换": 21021,
    "延长记号": 21022,
    "我们是地火": 21023,
    "春水初生": 21024,
    "过往未来": 21025,
    "汪！散步时间！": 21026,
    "早餐的仪式感": 21027,
    "暖夜不会漫长": 21028,
    "后会有期": 21029,
    "这就是我啦！": 21030,
    "重返幽冥": 21031,
    "镂月裁云之意": 21032,
    "无处可逃": 21033,
    "今日亦是和平的一日": 21034,
    "新手任务开始前": 22000,
    "银河铁道之夜": 23000,
    "于夜色中": 23001,
    "无可取代的东西": 23002,
    "但战斗还未结束": 23003,
    "以世界之名": 23004,
    "制胜的瞬间": 23005,
    "只需等待": 23006,
    "雨一直下": 23007,
    "棺的回响": 23008,
    "到不了的彼岸": 23009,
    "拂晓之前": 23010,
    "她已闭上双眼": 23011,
    "如泥酣眠": 23012,
    "时节不居": 23013,
    "此身为剑": 23014,
    "比阳光更明亮的": 23015,
    "烦恼着，幸福着": 23016,
    "记一位星神的陨落": 24000,
    "星海巡航": 24001,
    "记忆的质料": 24002,
    "孤独的疗愈": 24003
}

Updated
{
  "三月七": 1001,
  "丹恒": 1002,
  "姬子": 1003,
  "瓦尔特": 1004,
  "卡芙卡": 1005,
  "银狼": 1006,
  "阿兰": 1008,
  "艾丝妲": 1009,
  "黑塔": 1013,
  "布洛妮娅": 1101,
  "希儿": 1102,
  "希露瓦": 1103,
  "杰帕德": 1104,
  "娜塔莎": 1105,
  "佩拉": 1106,
  "克拉拉": 1107,
  "桑博": 1108,
  "虎克": 1109,
  "玲可": 1110,
  "卢卡": 1111,
  "托帕&账账": 1112,
  "青雀": 1201,
  "停云": 1202,
  "罗刹": 1203,
  "景元": 1204,
  "刃": 1205,
  "素裳": 1206,
  "驭空": 1207,
  "符玄": 1208,
  "彦卿": 1209,
  "桂乃芬": 1210,
  "白露": 1211,
  "镜流": 1212,
  "丹恒•饮月": 1213,
  "雪衣": 1214,
  "寒鸦": 1215,
  "藿藿": 1217,
  "银枝": 1302,
  "阮•梅": 1303,
  "真理医生": 1305,
  "{NICKNAME}": 8004,
  "锋镝": 20000,
  "物穰": 20001,
  "天倾": 20002,
  "琥珀": 20003,
  "幽邃": 20004,
  "齐颂": 20005,
  "智库": 20006,
  "离弦": 20007,
  "嘉果": 20008,
  "乐圮": 20009,
  "戍御": 20010,
  "渊环": 20011,
  "轮契": 20012,
  "灵钥": 20013,
  "相抗": 20014,
  "蕃息": 20015,
  "俱殁": 20016,
  "开疆": 20017,
  "匿影": 20018,
  "调和": 20019,
  "睿见": 20020,
  "一场术后对话": 21000,
  "晚安与睡颜": 21001,
  "余生的第一天": 21002,
  "唯有沉默": 21003,
  "记忆中的模样": 21004,
  "鼹鼠党欢迎你": 21005,
  "「我」的诞生": 21006,
  "同一种心情": 21007,
  "猎物的视线": 21008,
  "朗道的选择": 21009,
  "论剑": 21010,
  "与行星相会": 21011,
  "秘密誓心": 21012,
  "别让世界静下来": 21013,
  "此时恰好": 21014,
  "决心如汗珠般闪耀": 21015,
  "宇宙市场趋势": 21016,
  "点个关注吧！": 21017,
  "舞！舞！舞！": 21018,
  "在蓝天下": 21019,
  "天才们的休憩": 21020,
  "等价交换": 21021,
  "延长记号": 21022,
  "我们是地火": 21023,
  "春水初生": 21024,
  "过往未来": 21025,
  "汪！散步时间！": 21026,
  "早餐的仪式感": 21027,
  "暖夜不会漫长": 21028,
  "后会有期": 21029,
  "这就是我啦！": 21030,
  "重返幽冥": 21031,
  "镂月裁云之意": 21032,
  "无处可逃": 21033,
  "今日亦是和平的一日": 21034,
  "新手任务开始前": 22000,
  "嘿，我在这儿": 22001,
  "银河铁道之夜": 23000,
  "于夜色中": 23001,
  "无可取代的东西": 23002,
  "但战斗还未结束": 23003,
  "以世界之名": 23004,
  "制胜的瞬间": 23005,
  "只需等待": 23006,
  "雨一直下": 23007,
  "棺的回响": 23008,
  "到不了的彼岸": 23009,
  "拂晓之前": 23010,
  "她已闭上双眼": 23011,
  "如泥酣眠": 23012,
  "时节不居": 23013,
  "此身为剑": 23014,
  "比阳光更明亮的": 23015,
  "烦恼着，幸福着": 23016,
  "惊魂夜": 23017,
  "片刻，留在眼底": 23018,
  "镜中故我": 23019,
  "纯粹思维的洗礼": 23020,
  "记一位星神的陨落": 24000,
  "星海巡航": 24001,
  "记忆的质料": 24002,
  "孤独的疗愈": 24003
}

repo: UIGF-org/UIGF-API


text:
添加绝区零调频记录导出工具的UIGFv4支持

见#74

@earthjasonlin
导出数据好像有问题，有关lang：

@earthjasonlin 导出数据好像有问题，有关lang：

我电子邮件联系您了，您首页那个gmail的

数据没有问题，测试不严谨导致的：（

数据没有问题，测试不严谨导致的：（

现在的api处理逻辑是从米哈游的api获取，uigf导入如果没匹配到本地metadata且uigf包含metadata则不验证lang的格式了，还以为这里有问题

@earthjasonlin 通过游戏获取调频记录后导出，删除本地数据，导入之前导出的数据，并没有显示，这是bug?

@earthjasonlin 通过游戏获取调频记录后导出，删除本地数据，导入之前导出的数据，并没有显示，这是bug?

软件内删除是软删除 在本地数据标记为删除而已 想要删干净要删文件

软件内删除是软删除 在本地数据标记为删除而已 想要删干净要删文件

那我没什么问题了

@BTMuli Conflics

@BTMuli Conflics

Resolved

authors: AuroraZiling BTMuli Lightczx earthjasonlin


text:
Choose backend options for -optimize on icc

Original author: Nikhil Jain
Original issue: https://charm.cs.illinois.edu/redmine/issues/149

NERSC mailing list advised use of -fast -no-ipo as the preferred option for icc compilers on Edison. Phil did that and found issues such as forced static linking, incompatibility with existing libraries etc. However, (in my opinion) we should not discard it if it can help improve performance, hence this task.

Original date: 2013-04-01 12:41:08

The -fast option to icc is nothing special in itself. It's a roll-up of other options, specifically documented in the compiler's help output. It's also specifically documented as not allowing most of those options to be overridden - exactly what we don't want. I think it's preferable to see what -fast does on each modern version (11-13, I guess), and pick out the pieces that can be safely offered as common defaults.
For the record, the referenced message was in commit 370935b1f72b7d861db7d2f6ee8886:

Revert "Add appropriate flags for charmc -optimize when using Intel compilers"
It turns out the -fast flag to icc forces static linking, which is unacceptable
for various reasons (off the top of my head, broken memory allocator choice,
incompatibility with some external libraries, loss of some options for global
privatization in AMPI). The default for -optimize of -O2 should be good enough.
This reverts commit 852b02387d887802a04506d9d33525634c5afaf3.

On Edison, icc 13.0.1 20121010 says the following about -fast:

-fast     enable -xHOST -O3 -ipo -no-prec-div -static
options set by -fast cannot be overridden with the exception of
-xHOST, list options separately to change behavior
-Ofast    enable -O3 -no-prec-div optimizations
And icc (ICC) 12.1.5 20120612 is the same

On Taub, icc (ICC) 11.1 20100806 says this:

-fast     enable -xHOST -O3 -ipo -no-prec-div -static
options set by -fast cannot be overridden with the exception of
-xHOST, list options separately to change behavior
With no -Ofast on offer.

As noted, forced static linking is not acceptable. Compiling with -ipo enabled also requires that the entire stack and application code also be compiled with -ipo. This is a very heavy hammer, and can make compilation much slower for unpredictable gain. That's the sort of thing I would actually put in charmc's -production flag.
Beyond those, we're left with -xHOST -O3 -no-prec-div. We should definitely have appropriate -x options to select the best available instruction sets for a given machine, but we're not guaranteed that the head nodes on which users will compile will actually match the compute nodes. Enabling -no-prec-div is making a policy decision on computational accuracy that I don't think we can usurp from individual application developers - numerical code shouldn't be that sensitive, but we shouldn't knowingly and without possibility of override break it if it is.
Finally, there's -O3:

-O1       optimize for maximum speed, but disable some optimizations which
increase code size for a small speed benefit
-O2       optimize for maximum speed (DEFAULT)
-O3       optimize for maximum speed and enable more aggressive optimizations
that may not improve performance on some programs
-O        same as -O2
-Os       enable speed optimizations, but disable some optimizations which
increase code size for small speed benefit
This is the set that I think we should actually be choosing from. Which we pick should be a result of benchmarks, not rhetoric.

Original date: 2013-04-01 12:48:24

Put this below a generalized audit task for other backend compilers.

Original date: 2018-04-25 05:48:50

Separate issue to enable link-time optimization: https://charm.cs.illinois.edu/redmine/issues/1817

authors: PhilMiller pplimport stwhite91

repo: UIUC-PPL/charm


text:
Fixed the problem of attack method not working with the new UI

remove model auth
What does this PR do?
It just make sure that the selectedSkills is passed properly to the AttackOutput view to be able to use the attack methods.
Who can review?
@HaritzPuerto

Thanks! it also works for me. I added the same code for the saliency maps, which also had the same issue

authors: HaritzPuerto muhammed-shihebi

repo: UKP-SQuARE/square-core


text:
Bug: MP gets checked back in when Evaluation is in Progress

Issue:
When a user Evaluates a record, evaluation is in progress, the system checks back a checked out MP automatically
Steps to Recreate:

Login to ECMPS
Access any of the Module (MP, QA), select and checkout a Configuration (Gadsden, 1,2, CS0AAN)
Now navigate to the Evaluate functionality and access the same Facility and Configuration you checked out earlier  (Gadsden, 1,2, CS0AAN)
Select data records to be evaluated and click Evaluate
Now navigate back to the module and Configuration tab that you checked out earlier
Notice that the record has been checked back in with out the user involvement

Bug fixed

authors: mosesdeeCVP vishnunavuluri

repo: US-EPA-CAMD/easey-ui


text:
System Administration Activities (CAT)

Develop queries: 24 hrs
Based on a meeting held with Chris on 1/25/24, this functionality will be included in a post-2.0 release.

Created ticket #6382 to create scripts instead of developing functionality.


text:
Add program parameter to allowance holdings public API

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[ ] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context (wireframes, business rules, etc.)?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a CAMPD API user I want enter filter criteria for program so that I can conduct analysis on my desired program(s)
Acceptance Criteria
Given that a user has entered one or more program codes in an upper-case or lower case format
When the API endpoint is executed
Then the system displays the results for multiple programs
Given that a user has entered one or more program codes without white space(s) before or after the delimiter
When the API endpoint is executed
Then the system displays the results for multiple programs
Given that a user has entered one or more program codes with white space(s) before or after the delimiter
When the API endpoint is executed
Then the system displays the results for multiple programs
Given that a user has entered one or more invalid programs
When the API endpoint is executed
Then the returns the message FV-12
"One or more programs is not valid. Refer to the list of available programs for valid values [placeholder for link to endpoint]
Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Program: optional, multiple values allowed, active allowance only, values: ARP, CSNOX, CSOSG1/2, CSSO2G1/2, TXSO2
Testing
Test Case:
Tester:
Data Elements
ACCOUNT_NUMBER
ACCOUNT_NAME
ORISPL_CODE
PRG_CODE
VINTAGE_YEAR
TOTAL_BLOCK
START_BLOCK
END_BLOCK
STATE
EPA_REGION (2 digit number)
OWN_DISPLAY
ACCOUNT_TYPE
Definition of Done

[ ] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[ ] Has the code been unit tested and peer reviewed?
[ ] Have the functional tests been executed?
[ ] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Has the user story been accepted by the Product Owner?
[ ] Is the user story ready to be deployed to the test/staging environments?

included in #974

authors: JanellC JorjaComer


text:
added unknown param and unit

this will allow streamgage decoding to insert measurements for unknown params (once the flies are reprocessed with new logic).

closes USACE/instrumentation#82  FYI @brettpalmberg

repo: USACE/instrumentation-api


text:
scale tst partition y data?

I just noticed that we scale the y_obs for the training and validation partition but not the test partition.
https://github.com/USGS-R/river-dl/blob/d940d35fd6415fc55f8f5844be28be289eb12bf7/river_dl/preproc_utils.py#L686-L697
We do scale the x data for all three partitions.
https://github.com/USGS-R/river-dl/blob/d940d35fd6415fc55f8f5844be28be289eb12bf7/river_dl/preproc_utils.py#L872-L884
Any reason we shouldn't scale the y_obs for the test partition? It wouldn't make any difference in the training but I'm using the batched data for some pre-processing and running into some weird values because some of it is scaled and some isn't.

I think it's a good idea to scale the y_tst.
Originally when I wrote this, I didn't think we'd need to scale the val or test partitions since we'd never use those in training. Then I think we added the validation scaling when Simon added in the early stopping functionality. I don't see any reason to not scale test too. ... And I think it would be better to just have it consistent across the partitions.

That makes sense in how it came to be and I agree in having consistency. I'll do the PR now.

repo: USGS-R/river-dl


text:
Add a view showing the group relationships

It might eventually be helpful to add a visualization of the group-group relationships, eg which groups are related to other groups. This is essentially a directed graph, so we might be able to use some graphviz tools to help with this.

Closed by #290
This is good enough for now; we can have better visualization later if we need it.

repo: UW-GAC/django-anvil-consortium-manager


text:
Problems with the new version

Hello, Unam. How to install the new version of the panel now? I transferred all the files to html, but I'm facing the error https://dropmefiles.com/RuBy1, I'm trying to log in via ip/login.php as before, how do I do it now?

The required SQLite PDO driver is not enabled.

I gave 777 rights,https://dropmefiles.com/phvPi - is that how it should be? Is that normal?

If you want it in a subfolder then yes, otherwise you can just extract it in the base folder (www or whatever you're using), the download in the releases don't have all the extra files of the GitHub repository if you want to use that instead: https://github.com/UnamSanctam/UnamWebPanel/releases

authors: Driadasa UnamSanctam

repo: UnamSanctam/UnamWebPanel


text:
Any chance you can help me get started a bit?

Trying to set up a way that upon logging in I receive back the athletes activities as describe here

Hi Reuben,
the quick start guide will give you a first starting point.
Could you maybe give some hints where in the process you are facing issues? Since I'm using the library successfully myself, I'd be more than happy to extend the guide with additional details.

@reubeningber, Did you ever get through the issues?

This support question is almost a year old and can be closed-- there's no further response from the OP.

authors: TimoSta bryantee markstos reubeningber


text:
[BUG] Login or Signup Section unresponsiveness on Smaller Devices

Description of the bug
Issue Description
Title
Login or Signup Section unresponsiveness on Smaller Devices
Description
I would like to report an issue with the login page where the login or signup section is fixed on smaller devices, such as mobile phones or tablets. This causes the section to remain static and not adapt to the screen size, resulting in buttons or form fields being hidden or inaccessible depending on the device's height.
Expected Behavior

The login or signup section should be responsive and adjust to smaller device screens i.e. scrollable on small devices.
Buttons, form fields, and other elements within the section should be displayed properly on all devices, regardless of the screen height.

Additional Information

I am interested in working on this issue and making the necessary changes to improve the responsiveness of the login or signup section.
Please provide guidance or suggestions on how to implement a responsive design solution for the login or signup section on smaller devices.
It is recommended to use media queries or other suitable techniques to achieve the desired responsive behavior for the section.

I am interested in working on this issue and I am committed to resolving it efficiently and effectively.
Please add screenshots (if applicable)

Add any other context about the problem here
No response
Code of Conduct

[x] I agree to follow this project's Code of Conduct

@manaver do you want to work on this issue?

@manaver do you want to work on this issue?

Yes. I'm a gssoc contributor and I would be happy to work on this issue😀

@Deepu178 please asign this issue to me😄

@Deepu178  is gssoc tag is needed on the issue?

if yes then please add one😄

repo: UniKonf/vibey


text:
🛑 H2 Cartage is down

In 36dafb9, H2 Cartage (https://www.h2cartage.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: H2 Cartage is back up in 3905d1a after 6 minutes.

repo: UniSynTechnologies/Upptime


text:
Broken compatibility with UI.Core 3.0.0

Seems at least starting from version 3.2.0 UI.Web stopped working with UI.Core 3.0.0 despite the fact it references it. The symptoms are that page object controls are not initialized.

It seems c9bc4b3 the only commit possibly related to it.
It works with UI.Core 3.1.0, so need to up dependency version

repo: Unicorn-TAF/ui-web


text:
Unable to validate location preferences

Hello. I am trying to install CAVE for my MacBook Air. I can't connect to the EDEX server. I keep on getting an error, "unable to validate location preferences." Any help would be appreciated. Thanks.

duplicate of #183

authors: eabyanks mjames-upc


text:
Should logging be enabled all the time (but still not turned on by default)?

Debugging netCDF I/O problems on HPC systems can be very challenging.
Using a debugger is usually hard or impossible, and with code running on hundreds or thousands of processors, it's pretty hard to know what is going on.
One thing that helps a lot is logging - especially in PIO, where I have adjusted the logging code which I originally wrote for netcdf-4 to work better on multiple processors, giving one log file for each processor, with the logging for that processor. I have an issue into netcdf-c to get this improvement in the netCDF-4 logging as well (#1762).
As we know, logging is only enabled if --enable-logging is used. I did this out of an excess of caution. I didn't want to slow performance with logging, and this option guarantees that it does not. However, there is a serious cost. When a HPC system experiences problems, to install a re-built netcdf-c, with logging turned on, is a significant difficulty. Partly this is because these systems are complex, partly because only a few people are given permissions to install software, and those people are always backed up, with a long list of things to do.
What would be really useful would be if logging were always available. This will not effect performance because even when logging is available, it does nothing when the log level is not set. So a LOG(()) call in netcdf-c code will check the log level and exit, which should not matter to performance, especially if we are careful to avoid LOG(()) statements inside deep loops, and we mostly do that now, because such log statements produce more output than is useful.
With this change, then, HPC users could start debugging just by inserting an nc_set_log_level() statement (or nf_set_log_level() for Fortran). There would be no need of a separate netcdf-c install, so system admins would not have to be involved.
This must be carefully tested to ensure there are no performance impacts. But I don't think there will be. Most logging is done in the metadata code, which is not vital for performance. In the data read/write code, there are LOG(()) statements, but we can ensure they do not degrade performance.

I've wondered why logging was not enabled by default, but had assumed it was for historical reasons; thank you for elaborating, Ed.  Always better to move forward with an abundance of caution.  I'd be open to this once we determine there is no obvious overhead introduced.  We should also make sure to retain the --disable-logging option (and associated internal logic), since 'severity of overhead introduced by logging' is a subjective measure, and there's no reason to not let people remove it if they really wanted to.

@WardF yes fully agree about leaving --disable-logging. Also will present some performance runs as part of this work. However, with logging enabled but not in use, there should be no performance issue. Only when you turn logging on do the printf statements get called and slow everything down.

Ed and I discussed a similar issue some time ago.
My take is that the netcdf-4 logging is used for two distinct
things: (1) errors and warning  and (2) tracing.
Ideally, #1 is enabled all the time and #2 should be optionally enabled.
As I recall, Ed did make some changes so that logging with level 0 is
treated as an error. Levels > 0 were treated as tracing.   But you still had
to enable/disable both at the same time.
I should also note that libdap2 and dap4 have a separate logging capability
that is basically #1; it has no corresponding trace capability.

Well @DennisHeimbigner rasies an interesting point, which is log level 0, which gives warnings and errors.
In fact, I believe we will want to turn this off by default. In other words, make --enable-logging default on, but change the default initial log value from 0 to -1. (-1 turns off the warnings and errors that come with log 0).
The reason is, if we left it at log 0, then programs that currently do things that result in errors, but handle them, do not get extra stdout.
But as I look through the code I see that LOG 0 statements are mostly at places which cannot really occur anyway...

One important use for logging errors is to provide extra
information when a error code is reported (e.g. returning NC_EINVAL
is pretty useless if there is not information about what was invalid).

BTW just to clarify, what I am proposing is just that --enable-logging is the default. There will still have to be a call to nc_set_log_level() to turn on logging, even level 0 logging, because the default level is -1.
So yes, @DennisHeimbigner we could use log statements to provide extra error info, but this would only take effect when the user turns on logging...

It occurs to me that there is another minor? issue here.
If --enable-logging is set, but all one wants is error reports,
the user still incurs the cost of calling the log function for traces
even though tracing is not needed. This is a argument for separate
logging and tracing functions.

I think we should leave --enable-logging as it is, but just make sure it's documented better.

authors: DennisHeimbigner WardF edwardhartnett

repo: Unidata/netcdf-c


text:
turning on parallel I/O tests in CI

turning on parallel I/O tests in CI
Part of #1655

Wow, @WardF you are really taking advantage of the GitHub testing!
OK, one issue is that --enable-parallel-tests is not being used, so parallel tests are not being run. I have added this in the PR.
However another issue is that the examples are not being built by the CI, and I don't understand why. I am looking into it...

Sounds good. Let me know when it's ready and I'll get it merged in. Thanks!

@WardF this is good to go and should be merged soon.
Currently the CI is building parallel but not running the parallel I/O tests. With this PR, parallel tests start being run.

authors: WardF edwardhartnett


text:
create-unirep-app cli

The cli logic for running create-unirep-app. Asks user for permission, project name, etc. Downloads starting repo and initializes git.

Hey team! Please add your planning poker estimate with Zenhub @AnthonyMadia @ChialiTsai @kittybest @vivianjeng

repo: Unirep/Unirep


text:
"use pairAddress to fetch reserves here"

I was looking at the docs
async function getPair(): Promise<Pair> {
  const pairAddress = Pair.getAddress(DAI, WETH[DAI.chainId])

  const reserves = [/* use pairAddress to fetch reserves here */]
  const [reserve0, reserve1] = reserves

  const tokens = [DAI, WETH[DAI.chainId]]
  const [token0, token1] = tokens[0].sortsBefore(tokens[1]) ? tokens : [tokens[1], tokens[0]]

  const pair = new Pair(new TokenAmount(token0, reserve0), new TokenAmount(token1, reserve1))
  return pair
}

Could you be more specific as to how to fetch the reserves? Is this provided by the Uniswap SDK or do we have to use web3?

@i-schuetz What's the solution?

@TeNNoX I don't remember well, but I believe that I ended using either ethers.js or web3 to do it.

@TeNNoX I don't remember well, but I believe that I ended using either ethers.js or web3 (to call functions in the uniswap smart contract).

That's totally retarded tbh, don't get why Fetcher.fetchPairData was removed without any easy/pleasant replacement method to use to create a Pair. This adds a lot of useless boilerplate code!

authors: TeNNoX aress31 i-schuetz ivanschuetz


text:
Identical @DisplayName for tests on enum methods

Description
When UTBot generates tests for Enum methods then generated test methods have identical names with just method name - @DisplayName("findStateByCode: ")
To Reproduce
Steps to reproduce the behavior:

Open utbot project
Generate tests for org.utbot.examples.enums.State
Open the generated test

Expected behavior
Tests names are different and meaningful
Actual behavior
Methods names are like testFindStateByCode_1 and @DisplayName("findStateByCode: ")
Visual proofs

Very strange behaviour of the summaries module: @tyuldashev  need to add information to the initial settings - for example percentage of fuzzing value and so on. But if I remember correctly, the enums has very limited support in summaries and not only in summaries

@EgorkaKulikov I suppose it should be repoduced before fixing the bug, probably UTResult and UTExecutions contains zero useful information for generation in case of symbolic execution or fuzzing execution (see FuzzedMethodDescriptions)

Nothing special, still reproducible with default settings:

authors: amandelpie tyuldashev

repo: UnitTestBot/UTBotJava