update dependencies

Problem
Bring some dependencies up to date and remove a few known vulnerabilities.
Solution
Update several dependency versions and do the few associated code and config fixes.
Functionality should not change.
Change summary:
Web Workers are simpler to load with the updated webpack.  Also, the options for copy-webpack-plugin are slightly different now.
Steps to Verify:
Functionality should not change.

oops, I need to fix this. will comment again when it's green.

I'm blocked.
The remaining problem is that Jest doesn't play well with ESM modules.  Updating webpack simplifies the handling of Web Workers, but requires you to use import.meta.url for it.  Jest is not as far along as webpack in dealing with import.meta.url.  I'm still looking for the proper jest+ts+babel config to make the tests parse correctly.  Functionally they should be fine.
I'm going to turn this back into a draft PR until this is resolved.

the esbuild package allowed jest to do the right transforms to make the tests work.  It might be worth considering whether esbuild is a worthwhile addition to other parts of the tool chain.

Yay! I just tested this out (symlinking to website and running) and seems like it's all working! I did notice something funky, and I'm not sure if this has to do with the dependency updates, but the cell membrane is not showing up in endocytosis anymore. (It shows up on staging)

I think this might be because .obj geometry is no longer working, because the file is missing a trajectoryfileinfo


PlainDate.dayOfWeek not adhering to the standard

In the current 0.2.0 version of the polyfill, PlainDate.dayOfWeek is not returning the correct value for ISO 8601 calendars
From the current docs on PlainDate,

The dayOfWeek read-only property gives the weekday number that the date falls on. For the ISO 8601 calendar, the weekday number is defined as in the ISO 8601 standard: a value between 1 and 7, inclusive, with Monday being 1, and Sunday 7. For an overview, see ISO 8601 on Wikipedia.
Usage example:

date = Temporal.PlainDate.from('2006-08-24');
['MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT', 'SUN'][date.dayOfWeek - 1]; // => 'THU'

Testing that on a website using the<EMAIL_ADDRESS>polyfill results on dates being one day off

Just had same observation. Day of week is not returning correct value:

Would be nice if this could get a hotfix

my current workarround:
 const dayIntl: Intl.DateTimeFormat = new Intl.DateTimeFormat('en-GB', { weekday: 'short' } as Intl.DateTimeFormatOptions);
        return dayIntl.format(date) as 'Sun' | 'Mon' | 'Tue' | 'Wed' | 'Thu' | 'Fri' | 'Sat';
       // return [ '', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun' ][ date.dayOfWeek ] as 'Sun' | 'Mon' | 'Tue' | 'Wed' | 'Thu' | 'Fri'| 'Sat';

I see what's going on here. The code is internally leveraging a zoned Date method (.getDay()) when it shouldn't be. This gives eradic results based on the current user's timezone. I'll get this fixed+released today.

This is fixed in v0.2.1
Turns out I was incorrectly leveraging the timezone-sensitive Date::getDay() AND I had an off-by-one error when computing days-of-week, and the two bugs cancelled each other out for my particular timezone and the time of day I normally work, so I never experienced the bug (nor my CI). Fun.

@digaus and @wundersolutions-juanjo could you kindly check to see if things work in your timezone (even tho timezone should not matter)

Yeah timezone should not matter but I can confirm, that it works now correctly with dayOfWeek

Looks good, thank you very much!


BROADCAST_URL not found

Description
At first clone the project and Android Studio trying to sync then I saw this issue.
Expected Behavior
Sync the project successfully
Steps to Reproduce

Clone project from Github
Open project with Android Studio

Context
Trying to build TeleMesh project
Your Environment

App version used:
Device Name and version: Huawei Nova 3i (9.0)
Operating System and version: Mac OS X 10.14.5, Android Studio (3.5.1)

Thanks, @faysal-cse for raising your problem.
You are facing this issue because you need to provide valid credentials to successfully build the Telemesh app.
You will get the required credentials to build successfully.
Thanks again and be stay with us.


Return 0

Added return 0 statement to the end of the code, to ensure a properly compiling program.

[ x] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

This looks good to me.  Thank you for your contribution!


Weekly goals?

Is there any chance for stravistix would get customizable weekly goals for cycling/running?

Yes in the dashboard feature. Closing ticket

Looking to use this feature... When you say in the dashboard feature, does this mean one has to be a premium member to use?


Disambiguate L2 docs from SDP?

Which content do you think should be reviewed?
SEGAS-00003: https://engineering.homeoffice.gov.uk/standards/minimal-documentation-set-for-a-product/

Product documentation MUST include incident management information
An incident management process should include technical points of contact, runbooks, and disaster recovery information.

Why do you think we should review this?
I think this is a little confusing, as it appears to be a mixture of things that would be covered in the SDP, and also L2 information.
Do you have a suggestion for how this could be improved?
I'm not sure, I just think it needs some thought.
My gut instinct is to make it about runbooks for anticipated, non-automateable tasks. (And specifically call out disaster recovery.)
I think the SDP is covered elsewhere.
Please confirm the below

[x] I have checked through the issues on the repository and don't think this has already been suggested

Hi,
Could I confirm what SDP stands for in this context please?
Thankyou

Service Design Pack, if I remember correctly. It's what they put together when you on-board to Enterprise/Live services (L1).


ReferenceError: global is not defined

I created a fresh CRA project with TypeScript:
npx create-react-app mocha-vite-puppeteer-poc --template typescript

I added Counter.tsx, Counter.test.tsx and test.html exactly as documented in README.md, except with extensions (and references to them) changed from .js and .jsx to .ts and .tsx.
Running npx mocha-vite-puppeteer produces the following output:

  vite v2.3.2 dev server running at:

  > Local: http://localhost:3001/
  > Network: use `--host` to expose
[vite] connecting...
[vite] connected.

Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
file:///Users/steve/POC/mocha-vite-puppeteer-poc/node_modules/mocha-vite-puppeteer/cli.js:67
    throw new Error(message);
          ^

Error: ReferenceError: global is not defined
    at node_modules/pretty-format/build/plugins/AsymmetricMatcher.js (http://localhost:3001/node_modules/.vite/@testing-library_react.js?v=4cf13379:20464:19)
    at __require (http://localhost:3001/node_modules/.vite/chunk-22DOMQDG.js?v=4cf13379:9:44)
    at node_modules/pretty-format/build/index.js (http://localhost:3001/node_modules/.vite/@testing-library_react.js?v=4cf13379:21184:53)
    at __require (http://localhost:3001/node_modules/.vite/chunk-22DOMQDG.js?v=4cf13379:9:44)
    at http://localhost:3001/node_modules/.vite/@testing-library_react.js?v=4cf13379:33334:39
    at file:///Users/steve/POC/mocha-vite-puppeteer-poc/node_modules/mocha-vite-puppeteer/cli.js:67:11
    at /Users/steve/POC/mocha-vite-puppeteer-poc/node_modules/puppeteer/lib/cjs/vendor/mitt/src/index.js:51:62
    at Array.map (<anonymous>)
    at Object.emit (/Users/steve/POC/mocha-vite-puppeteer-poc/node_modules/puppeteer/lib/cjs/vendor/mitt/src/index.js:51:43)
    at Page.emit (/Users/steve/POC/mocha-vite-puppeteer-poc/node_modules/puppeteer/lib/cjs/puppeteer/common/EventEmitter.js:72:22)
    at Page._handleException (/Users/steve/POC/mocha-vite-puppeteer-poc/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:684:14)
    at /Users/steve/POC/mocha-vite-puppeteer-poc/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:153:66
    at /Users/steve/POC/mocha-vite-puppeteer-poc/node_modules/puppeteer/lib/cjs/vendor/mitt/src/index.js:51:62
    at Array.map (<anonymous>)
    at Object.emit (/Users/steve/POC/mocha-vite-puppeteer-poc/node_modules/puppeteer/lib/cjs/vendor/mitt/src/index.js:51:43)

Hey @steve-taylor-medirecords thank you for the detailed report!
My guess is that something in @testing-library/react expects global being defined as if it was running in a Node.js environment. To work around this, you can add global = window in your test.html. See the file https://github.com/larsthorup/mocha-vite-puppeteer/blob/main/test/app/test.html (part of the end-to-end test here in this repo).
Please let me know if this solves the issue?

Looks like it could be the same issue as this one: https://github.com/testing-library/dom-testing-library/issues/756

Closing for lack of reply. Feel free to add additional comments!


Remove duplicate Issued/Burned events in Assets pallet

Replaces https://github.com/paritytech/substrate/pull/8878 as minimum change for Statemint. Will handle function rename in https://github.com/paritytech/substrate/pull/8476
These events get emitted by the internal calls to do_mint and do_burn.

bot merge


Added plugins to .yml

I noticed that jspsych-similarity.md and jspsych-palmer.md are not in the markdown_docs folder.

I removed the palmer and similarity plugins for this upcoming release. Did you take them out of the yml file too?


Stopped working after upgrade from Rails 3.2.18 to 4.2.1

I have updated the gem to the latest version, but this has completely stopped working. I have this:
class Upload < ActiveRecord::Base
  mount_uploader :text_file_name, TextFileUploader
end

In my new action I have:
  def new
    @upload = current_subscription.uploads.new(key: params[:key])
  end

Simple enough. Works in Rails 3.2.x. Also, I have verified that there is indeed a key value getting there from S3, so the file upload and redirect are working fine.
In 3.2, after having assigned the key, I was always able to access my text_file_name attribute immediately, prior to even having saved the record.
In Rails 4.2.1 though, instantiating the model with params[:key] does nothing. Has blocked me for 3 hours now. Any insight is appreciated.
Also, I can't make this sentence from the README make any sense:
After uploading to S3, You'll need to update the uploader object with the returned key in the controller action that corresponds to new_user_url:

@uploader.update_attribute :key, params[:key]

But there is no @uploader variable in the place I'm redirecting to. That only exists in the controller action that I'm updating from. At least in v0.0.13, you did something like this:
def new
  @upload = current_subscription.uploads.new(key: params[:key])
end

See? No @uploader in there. You just instantiated the object itself with the key. Now I'm really confused!

I must have "shook something loose". It appears to be working fine.


[SPARK-40129][SQL] Fix Decimal multiply can produce the wrong answer

What changes were proposed in this pull request?
The example here is multiplying Decimal(38, 10) by another Decimal(38, 10), but I think it can be reproduced with other number combinations, and possibly with divide too.
Seq("9173594185998001607642838421.5479932913").toDF.selectExpr("CAST(value as DECIMAL(38,10)) as a").selectExpr("a * CAST(-12 as DECIMAL(38,10))").show(truncate=false)

This produces an answer in Spark of -110083130231976019291714061058.575920 But if I do the calculation in regular java BigDecimal I get -110083130231976019291714061058.575919
BigDecimal l = new BigDecimal("9173594185998001607642838421.5479932913");
BigDecimal r = new BigDecimal("-12.0000000000");
BigDecimal prod = l.multiply(r);
BigDecimal rounded_prod = prod.setScale(6, RoundingMode.HALF_UP);

Spark does essentially all of the same operations, but it used Decimal to do it instead of java's BigDecimal directly. Spark, by way of Decimal, will set a MathContext for the multiply operation that has a max precision of 38 and will do half up rounding. That means that the result of the multiply operation in Spark is -110083130231976019291714061058.57591950, but for the java BigDecimal code the result is -110083130231976019291714061058.57591949560000000000. Then Spark will call toPrecision to round up again. So Spark round up result twice.
This PR change the code-gen and nullSafeEval of Arithmetic. To make sure when use multiply method will set custom MathContext with precision of 39 (meaning one more scale). Then round up twice will not affect result.

Why are the changes needed?
Fix the bug Decimal multiply produce wrong answer

Does this PR introduce any user-facing change?
No

How was this patch tested?
Add new test.

cc @gengliangwang FYI

Can we spend more time explaining what is the correct result? Spark follows SQL semantic, not java semantic. It will be helpful to check results in other databases.

Is it better to avoid double round-up? e.g. we can pass a MathContext of the result decimal type to all decimal arithmetic operations.
also cc @beliefer , does your new decimal implementation have the same bug?

also cc @beliefer , does your new decimal implementation have the same bug?

Think you for the ping. The new decimal implementation doesn't support this precise and overflowed.

cc @cloud-fan It seems https://github.com/apache/spark/pull/43678 is similar to this one.


Create a spec for the DAO similar to the Escrow

Type of change

Documentation

Changes
The following changes have been made:

Use cases describing the functions
Sequence diagram

Related Issues
Closes #197

Leaving as open for now. fuelup has been updated to version 0.4 and fmt has either been removed, moved or something has happened to it which made CI fail when checking the formatting of other projects.

approved pending CI passing.


more: Show next file at bottom line

Implement feature requested in #2318.

Awesome! It looks good, but I think the itertools dependency is not needed if you use Peekable from the standard library.  Fix in new commit. Thank you.

It was definitely not stupid! It actually looked quite nice and I would've accepted it if more already depended on itertools.


Use mch image manifest configmap for appsub addon image

https://github.com/stolostron/backlog/issues/21013
Signed-off-by: Philip Wu<EMAIL_ADDRESS>

Same comment in https://github.com/open-cluster-management-io/multicloud-operators-subscription/pull/143#issuecomment-1081169733

/hold

/unhold
/lgtm

/lgtm


Bug in moka::future::Cache::invalidate_all? Elements not being invalidated immediatelly.

Hi.
According to the documentation of invalidate_all:
pub fn invalidate_all(&self)
Discards all cached values.

This method returns immediately and a background thread will evict all the cached values inserted before the time when this method was called. It is guaranteed that the get method must not return these invalidated values even if they have not been evicted.

Like the invalidate method, this method does not clear the historic popularity estimator of keys so that it retains the client activities of trying to retrieve an item.

From this I surmised that, even though the actual removal of elements occurs in the background, they would be somehow marked as invalid, and as such a subsequent get would not see them.
However, this does not seem to be happening. Here's a small minimal example that exemplefies this

#[tokio::test]
async fn test_cache_invalidate() {
    let cache = Cache::new(1024 as u64);

    assert_eq!(cache.get(&0), None);
    cache.insert(0, 1).await;
    assert_eq!(cache.get(&0), Some(1));
    cache.invalidate_all();
    assert_eq!(cache.get(&0), None);
}

This fails in the last line (the get returns Some(1))
Is this a bug or am I misreading the documentation?

Thank you for reporting the bug. I was aware of it when I implemented invalidate_all function, but I have never had a chance to fix it and then forgot.
I fixed the bug with #156, and will release Moka v0.8.6 after I finish running a pre-release testing.
The root cause of the bug was that a cache entry's last_modified timestamp was not set to the current time when it was inserted to the cache. Instead, it was set to the time when the cache entry was properly admitted to the cache by a background thread called "housekeeper".
Because of this, invalidate_all function was unable to invalidate cache entries inserted just before calling invalidate_all.
You can confirm this behavior by modifying your reproducer code as the followings:
#[tokio::test]
async fn invalidate_all_without_sync() {
    let cache = Cache::new(1024);

    assert_eq!(cache.get(&0), None);
    cache.insert(0, 1).await;
    assert_eq!(cache.get(&0), Some(1));

    // In Moka v0.8.5 or earlier, you can workaround the issue
    // by doing one of the followings:
    //
    // - Call `cache.sync()` before invalidating.
    //     - `cache.sync()` will run pending housekeeping task,
    //        so the entry's `last_modified` will be set to the
    //        current time.
    // - Or, wait some time for the housekeeping task to run.

    // Note that `cache.sync()` can be a heavy operation so it is
    // not recommended to call it very often.
    use moka::sync::ConcurrentCacheExt;
    cache.sync();

    // The housekeeping task will run ~0.5 seconds after the cache
    // creation. Then it will run with ~0.3 seconds interval if the
    // cache is not receiving heavy writes.
    //
    // tokio::time::sleep(Duration::from_millis(520)).await;

    cache.invalidate_all();
    assert_eq!(cache.get(&0), None);
}

With the next release Moka v0.8.6 (that has the fix), you do not have to do the above workaround. I will let you know when I publish v0.8.6 to crates.io.

Hi @bsdinis. I have published Moka v0.8.6 to crates.io with the fix. Thanks!


Syntax highlighting is lost after extending class with more than 1 generic parameter.

Hi,
I have been using atom typescript for couple of months, everything works flawlessly. Today i noticed that any class extending another class with more than one generic parameter, loses syntax highlighting after that line. This affects both tsx and ts files.
Eg.
class B<T, U> {
   value: number = 2
   str: Array<string> = ['abc','bbc']
}

class C extends B<any, any> {
  value: number = 5
  str2: string = "10"
}

both lines inside class C lose syntax highlighting
As you can imagine this is also happening for React Components, since it has 2 generic parameters and all members, methods and JSX lose syntax highlighting.
I dont know if this is a problem with the latest version 6.0.15 or some other plugin causing this.
So far i have completely removed atom and re-installed atom-typescript (ONLY) and still the same problem. Any ideas on how to fix that?
I suspect something to do in the grammers *.cson files.
Thanks

I suspect something to do in the grammers *.cson files.

Indeed. However I am unable to reproduce :

Screenshot please :rose:

Here's a screenshot.
Light

Dark

Anybody else getting this problem, the fix is to downgrade Atom to 1.0.15. The newest update seems to be causing this problem.

Same problem here, syntax highlighting with generics is a mess :(

I can confirm. All react components are now completely white class FilteredPracticals extends React.Component<IFilteredPracticalsProps, {}> ..

I can reproduce now, broken with latest atom release :cry:
Was:

Now :

/cc @Cu3PO42 :sos:

Also : https://github.com/TypeStrong/atom-typescript/issues/614

This morning Atom upgraded to 1.0.18 ! This is going way too fast and unfortunately, syntax highlighting is still broken.
Is there a reliable way to ensure that my copy stays at 1.0.15 while you work on it ?

Is there a reliable way to ensure that my copy stays at 1.0.15 while you work on it ?

Manually building atom ... but its painful.
@Cu3PO42 hope this helps : One offending rule : oldstylefunction will cause meta.function.js over subsequent lines after something like :
function statusBar(state: StatusBarState = initialStatusBarState, action: StatusBarAction): StatusBarState {
    ////////////////EVERYTHING HERE/////////////
        if (action.activeProject) {

Sample :

@basarat I don't really have a grasp on why the Atom update breaks anything, though I'd really, really like to know. This particular issue did also not occur previous to the update, did it?

This particular issue did also not occur previous to the update, did it

@Cu3PO42 yes. This (``oldstylefunction`) issue only happens with this new atom release.

Hey guys,
Do we have any issue in the atom repo linked to this? Or how this will be solved?
Please advise.

Do we have any issue in the atom repo linked to this?

Don't have a good way to report it atom. Since it didn't show up for other grammars (I just checked https://github.com/atom/atom/issues?utf8=✓&q=is%3Aissue+is%3Aopen+1.0.15+grammar), if we create an issue it is very likely to get closed as can not reproduce unless we provide a concrete actionable item.

Or how this will be solved?

It can be fixed by turning off all the nice typescript specific rules and just leaving the ones from language-javascript. I'll do that this weekend. Sorry for the inconvenience and thanks for your patience :rose:

For now I've reported https://github.com/atom/first-mate/issues/62

@basarat now that we at least know about the change that might be relevant, I'll try to do a deeper investigation when I have the time. But right now it's scholarship application time and Uni starts next week, so time is more than limited.

This issue is doing my head in.  I don't know if it helps, but here is a minimum reporoducable I have:

I found a monkey patching solution for the time being:
If you add an empty multi-line comment before the , the highlighting comes back to life :smile:
React.Component<Props /**/ , void>

@subjectix thanks for this, was driving me crazy! Atom automatically updates on every restart and is just major pain in the (|). Hopefully Atom people will figure out soon what is the cause.

Fixed with https://github.com/TypeStrong/atom-typescript/releases/tag/v7.1.0 :rose:


Bump versions for v0.31.0-SNAPSHOT

Codecov Report
Patch and project coverage have no change.

Comparison is base (43dc703) 77.50% compared to head (0d8c709) 77.50%.

:exclamation: Current head 0d8c709 differs from pull request most recent head 52cd184. Consider uploading reports for the commit 52cd184 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1660   +/-   ##
=======================================
  Coverage   77.50%   77.50%
=======================================
  Files          36       36
  Lines        2765     2765
  Branches      560      560
=======================================
  Hits         2143     2143
  Misses        447      447
  Partials      175      175

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


Custom manuscript name still turns into "ms.pdf"

I'm using the functionality to use a custom manuscript name, but after the build process, the article pdf file is still names "ms.pdf". Is there a way to have the generated pdf file end up with the same name as the article file?

I've implemented this in the next version, to be released in the next month or so. How badly do you need this feature right now?


MSID: 101912 Version: 1 DOI: 10.1101/2<IP_ADDRESS>6218

MSID: 101912
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>6218
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=101912
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>6218

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/101912v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>6218
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/101912/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

We should be using the v2 for this one (v1 is from 2023)

@acollings, just double checking your OK with the use of solid and convincing here:

Yep, this is good, thanks @fred-atherden


Request failed for https://api.twilio.com returned code 401

I made a copy of the Google Sheet template and replaced with my own Twilio information. When I run it, I get the following error:
error: Exception: Request failed for https://api.twilio.com returned code 401. Truncated server response: {"code": 20003, "detail": "Your AccountSid or AuthToken was incorrect.", "message": "Authentication Error - No credentials provided", "more_info": ... (use muteHttpExceptions option to examine full response)

Howdy, sorry to hear. Here are Twilio's original instructions
https://www.twilio.com/blog/2016/02/send-sms-from-a-google-spreadsheet.html


Windows/v8

Replaces #27 implementing feedback by @shivan1b

I've merged this after some changes through #48.


Programs with circles do not work on ShopBot

ShopBot doesn't support the R variant of G02, so the following programs fail on ShopBot:

Inserts
Guide holes

Need to move to the I,J variant of G02 to support less capable controllers.

@mikemag , along with Shopbot we should look at making the G-code work on GRBL Arduino based cnc too, I've run some MonkeyCAM code through the GRBL test setup I have and it barf'd on one setup command for dynamic tool length offset G43.1, but otherwise seems to work on the bench test, I'll carry on building up my large MACH3 based cnc for board building but will also use this Arduino based GRBL project for a smaller machine. With the right sized steppers and drivers GRBL could easily do the job for a ski/board builder and might help simplify and lower the cost for a CNC for entry level users and given its open source its got a lot of potential to develop into a pretty useful workshop CNC. Would it be best to add a switch in the machine-defs file to select the type of G-code controller MACH3/SHOPBOT/GRBL or would it be easier to dumb it down to the most generic and transportable? Cheers, Rich


Integrate with Grafana

I want to make whole grafana chart as card like camera, or panel as iframe.
In that way, I no longer have to make both lovelace and grafana panels.
Make this available.

Grafana is not planned; however, graphs are.


QtRvSim: init at 0.9.1

Motivation for this change
Packaging of a new application developed for educational purposes at the Czech Technical University to make it easily available to students, visitors of Embedded World Conference 2022 (where it will be presented) and other users.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@wentasah Could you help me with this package?

AFAICT, it looks good. I'll be able to test it in the evening. But I'm not a commiter, so there is not much more I could do. Are you in time pressure or we have time? Nixpkgs comiters usually act within few days at most.

Are you in time pressure or we have time?

We have time.

AFAICT, it looks good. I'll be able to test it in the evening.

Thanks

I'm not sure whether there is some nixpkgs policy about .desktop files (cannot find any). Freedesktop spec says that the Exec value may be either the absolute path or just a filename. And given that with Nix, its easy to work with multiple versions of the same package, it's beneficial to specify the paths as absolute, because otherwise, it might run some random version. On my NixOS, the following programs use an absolute path in the .desktop file: qtcreator, javaws, vlc, flameshot, kernelshark, cura.
The installation prefix is known at configure time. This is how Nix calls cmake:
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release
-DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF
-DCMAKE_INSTALL_LOCALEDIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/share/locale
-DCMAKE_INSTALL_LIBEXECDIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/libexec
-DCMAKE_INSTALL_LIBDIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/lib
-DCMAKE_INSTALL_DOCDIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/share/doc/QtRVSim
-DCMAKE_INSTALL_INFODIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/share/info
-DCMAKE_INSTALL_MANDIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/share/man
-DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/include
-DCMAKE_INSTALL_INCLUDEDIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/include
-DCMAKE_INSTALL_SBINDIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/sbin
-DCMAKE_INSTALL_BINDIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/bin
-DCMAKE_INSTALL_NAME_DIR=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1/lib
-DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT=
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_STRIP=/nix/store/pja9g36cy32z3d51942jqk91a6l2d5nv-gcc-wrapper-10.3.0/bin/strip
-DCMAKE_RANLIB=/nix/store/sga0l55gm9nlwglk79lmihwb2bpv597j-binutils-2.35.2/bin/ranlib
-DCMAKE_AR=/nix/store/sga0l55gm9nlwglk79lmihwb2bpv597j-binutils-2.35.2/bin/ar
-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
-DCMAKE_INSTALL_PREFIX=/nix/store/s95zvxbi5vm06s7v19w3yfbdkzq4gzxf-QtRVSim-0.9.1

As you can see CMAKE_INSTALL_PREFIX is set at configure time and it defaults to /usr/local.

But having an absolute path in .desktop is not required for inclusion into nixpkgs. It's only nice to have for people using multiple versions. And usually, those people can use the command line, so feel free to ignore that suggestion.

Result of nixpkgs-review pr 163128 run on x86_64-linux 1

1 package built:

qtrvsim

As I learned elsewhere, this package might also benefit from setting meta.mainProgram.

But having an absolute path in .desktop is not required for inclusion into nixpkgs. It's only nice to have for people using multiple versions. And usually, those people can use the command line, so feel free to ignore that suggestion.

I learned recently that absolute paths actually breaks some stuff on Plasma, see https://github.com/NixOS/nixpkgs/pull/163468#event-6211981066. It does seem like a better solution to me if multiple versions are commonly used though as you said.

Just one suggestion, could you run nixpkgs-fmt on this as well? Just to make formatting a bit more consistent with the rest of nixpkgs. Would also love to see meta.mainProgram as @wentasah suggested :)

Reformated and added mainProgram.

@ofborg eval


Installation issues

Trying to install the legacy version, but keep getting this when running install.py.
/home/blazes/taichi/include/taichi/math/linalg.h:372:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct taichi::VectorND<4, float, taichi::InstSetExt::AVX2>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
372 |     memcpy(this, &o, sizeof(*this));
|     ^~~~~~~~~~~~~~~~~~~
/home/blazes/taichi/include/taichi/math/linalg.h:154:8: note: ‘struct taichi::VectorND<4, float, taichi::InstSetExt::AVX2>’ declared here
154 | struct VectorND : public VectorNDBase<dim__, T, ISE> {
|        ^~~~~~~~
make[2]: *** [CMakeFiles/taichi_core.dir/build.make:141: CMakeFiles/taichi_core.dir/include/taichi/dynamics/rigid_body.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/taichi_core.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Error: Build failed.
Error: installation failed.

Hi @blazecus,
Did u solve this problem?

Hi @blazecus  and @tasbolat1 I am  getting this issue on Linux as well, do you have any solutions to this issue?


[stable/sonarqube] Custom cacerts is not taken into account by SonarQube

Describe the bug
Custom cacerts is not taken into account by SonarQube.
Version of Helm and Kubernetes:
Helm version : v2.14.3
Kubernetes: 1.14.2
Which chart:
stable/sonarqube
What happened:
By default, the JVM takes its cacerts from /usr/local/openjdk-11/lib/security/cacerts but the chart replace the file at the /etc/ssl/certs/java/cacerts location. I had to make the following workaround in the values.yaml to make it work :
extraEnv:
  "SONARQUBE_WEB_JVM_OPTS": "-Djavax.net.ssl.keyStore=/etc/ssl/certs/java/cacerts -Djavax.net.ssl.keyStorePassword=<password> -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts -Djavax.net.ssl.trustStorePassword=<password>"

What you expected to happen:
The custom cacerts file must be taken into account by the JVM in the container.
How to reproduce it (as minimally and precisely as possible):
Just follow the Use Custom cacerts from the README.md file.
Anything else we need to know:
In my case, the custom cacerts is used by the OpenID Connect Plugin to communicate with my organization's Keycloak (which has a custom certificate).
Thank you for this amazing work :heart:

I'd like to suggest an alternative to the current incomplete implementation would be to support generating the cacerts file dynamically from a secret containing the required additional certificates. I'll try and add a PR later today to support this.


 I could find neither a branch nor a tag for such versions.
We have an institute which used a DReq version 1.00.03 for their simulations. We would like to check it against the corresponding DReq version.
Best regards,
Fabi

Found it! There is a commit in the old branch for cmor-3-2-3.

@wachsylon could you please inform the group using data requests earlier than 1.00.21 that their data will (most likely) be unfit for publication in the CMIP6 ESGF archive?
thanks,
Karl

Glad to hear it.  It would be great if the group would contact me or one of the many other folks who can facilitate meeting the CMIP6 publication requirements.  Doing it on their own could lead to unforeseen problems.
cheers,
Karl

The persons of the group already have the link to this conversation so maybe they will join :)
In the mean time, I develop a script which uses CMOR to create the compliant output of their data. I will of course share occurring issues in the CMOR-github.


What is the importance of Yosys rewrite run?

Hi. I try to map some cells to my library cells. But Yosys rewrite run fails OpenFPGA flow because library file is not specified in Yosys rewrite script. What is the importance of Yosys rewrite run? Do I lose any functionality if I remove it?
Thanks.

@mustafaarslan0 If you prefer to run design verification through OpenFPGA flow, you may need it. Otherwise, you can skip it. It does not impact the bitstream generation results.


Added isEmpty

For helpful string emptiness checking, rather than checking it with len(string)>0 every time this is more intuitive.
This PR will be imported into Gerrit with the title and first
comment (this text) used to generate the subject and body of
the Gerrit change.
Please ensure you adhere to every item in this list.
More info can be found at https://github.com/golang/go/wiki/CommitMessage

The PR title is formatted as follows: net/http: frob the quux before blarfing

The package name goes before the colon
The part after the colon uses the verb tense + phrase that completes the blank in,
"This change modifies Go to ___________"
Lowercase verb after the colon
No trailing period
Keep the title as short as possible. ideally under 76 characters or shorter

No Markdown
The first PR comment (this one) is wrapped at 76 characters, unless it's
really needed (ASCII art, table, or long link)
If there is a corresponding issue, add either Fixes #1234 or Updates #1234
(the latter if this is not a complete fix) to this comment
If referring to a repo other than golang/go you can use the
owner/repo#issue_number syntax: Fixes golang/tools#1234
We do not use Signed-off-by lines in Go. Please don't add them.
Our Gerrit server & GitHub bots enforce CLA compliance instead.
Delete these instructions once you have read and applied them

with @googlebot I signed it!
From: googlebot<EMAIL_ADDRESS>Sent: Wednesday, October 30, 2019 2:37 PM
To: golang/go<EMAIL_ADDRESS>Cc: Azeem Mufti<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [golang/go] Added isEmpty (#35255)
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.

What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA datahttps://cla.developers.google.com/clas and verify that your email is set on your git commitshttps://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoothttp://go/cla#troubleshoot (Public versionhttps://opensource.google/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA datahttps://cla.developers.google.com/clas and verify that your email is set on your git commitshttps://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must also be attached to your GitHub accounthttps://github.com/settings/emails.

ℹ Googlers: Go herehttps://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Fgolang%2Fgo%2Fpull%2F35255 for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/golang/go/pull/35255?email_source=notifications&email_token=ABOC7YPR3LBSNADT6OSDTCLQRHH6HA5CNFSM4JG6NONKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECVJ6DA#issuecomment-548052748, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABOC7YLA2ZOSDXSEP5LDUCLQRHH6HANCNFSM4JG6NONA.


double-beep: Watch feedsfloor.com

double-beep requests the watch of the watch_keyword feedsfloor\.com. See the MS search here and the Stack Exchange search here.

feedsfloor\.com has been seen in 4 true positives, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Redefined #define preproc warning: pulse_high and pulse_low

At least one example script (I didn't check others) generates the following compiler warning. There's a pretty straightforward redefinition of two #define preproc statements in the library. I'm not sufficiently familiar with the library to know the "intended" code organization that would properly fix this.

In file included from [...]/Arduino/libraries/ArduCAM/examples/Shield_V2/ArduCAM_Shield_V2_Camera_Playback/ArduCAM_Shield_V2_Camera_Playback.ino:18:0:
[...]/Arduino/libraries/ArduCAM/ArduCAM.h:114:0: warning: "pulse_high" redefined
 #define pulse_high(reg, bitmask) sbi(reg, bitmask); cbi(reg, bitmask);
 ^

In file included from [...]/Arduino/libraries/UTFT4ArduCAM_SPI/UTFT_SPI.h:189:0,
                 from [...]/Arduino/libraries/ArduCAM/examples/Shield_V2/ArduCAM_Shield_V2_Camera_Playback/ArduCAM_Shield_V2_Camera_Playback.ino:15:
[...]/Arduino/libraries/UTFT4ArduCAM_SPI/HW_AVR_SPI_defines.h:5:0: note: this is the location of the previous definition
 #define pulse_high(reg, bitmask) sbi(reg, bitmask); UTFT_cbi(reg, bitmask);
 ^

In file included from [...]/Arduino/libraries/ArduCAM/examples/Shield_V2/ArduCAM_Shield_V2_Camera_Playback/ArduCAM_Shield_V2_Camera_Playback.ino:18:0:
[...]/Arduino/libraries/ArduCAM/ArduCAM.h:115:0: warning: "pulse_low" redefined
 #define pulse_low(reg, bitmask) cbi(reg, bitmask); sbi(reg, bitmask);
 ^

In file included from [...]/Arduino/libraries/UTFT4ArduCAM_SPI/UTFT_SPI.h:189:0,
                 from [...]/Arduino/libraries/ArduCAM/examples/Shield_V2/ArduCAM_Shield_V2_Camera_Playback/ArduCAM_Shield_V2_Camera_Playback.ino:15:
[...]/Arduino/libraries/UTFT4ArduCAM_SPI/HW_AVR_SPI_defines.h:6:0: note: this is the location of the previous definition
 #define pulse_low(reg, bitmask) UTFT_cbi(reg, bitmask); sbi(reg, bitmask);
 ^

@kebwi
Don't worry and please refer to our operation video to know the detail.
Referring https://www.youtube.com/watch?v=XMik38TNqGk&feature=youtu.be

I don't understand. Are you saying that if I had followed the video's instructions properly the warning would not have appeared. I think I followed it exactly.


Add weak self in proper places of W3WMapViewController to fix memory leaks

MapHelper is a strong property of W3WMapViewController.
Two closures of MapHelper (onMarkerSelected and onError) capture self strongly that causes a retain cycle. So if the method  public func set(_ w3w: W3WProtocolV3, language: String = W3WSettings.defaultLanguage) is called then W3WMapViewController is never deallocated.
I use a custom child class of W3WMapViewController in my code and need to call the mentioned method so my child class is never deallocated and it causes memory leaks in my project. That's why I propose these fixes.
The proposed PR passes self as a weak instance that causes memory leak issues in the method public func set(_ w3w: W3WProtocolV3, language: String = W3WSettings.defaultLanguage) of W3WMapViewController.
Please merge this PR and prepare the next release of W3W-Swift-Components.

@dave-w3w thank you. Is it possible to release a new version with this fix so we can use it in our project?


How can I get the lyrics of a song that I have acquired with ID?

I apologize for this very rudimentary question.
Could you please tell me how to get the lyrics of a single song from the ID?

I am trying to display a list of songs from the keywords entered by the user, and then display the lyrics of the song the user selects from the list.
The API is as follows.
getSongsAPI
import Genius from "genius-lyrics";
const Client = new Genius.Client("API key");

const getSongs = async ({ query: { keyword } }, res) => {
  const songs = await Client.songs.search(keyword);
  return res.status(200).json(songs);
};

I was able to get a list of lyrics with the above API.
For each of the list of returned songs, we have planted a click event as shown below.
const getLyric = async ({currentTarget: { id } => {
  const res = await fetch("/api/getLyric/?id=" + id);
  const lyric = await res.json();
  console.log(lyric);
};

...

{song.title}

getLyricAPI
import Genius from "genius-lyrics";
const Client = new Genius.Client("API key");

const getLyric = async ({ query: { id } }, res) => {
  const song = await Client.songs.get(Number(id));
  const lyric = await song.lyrics();
  return res.status(200).json(lyric);
};

The getLyricAPI expects to return lyrics, but it returns an array as shown in the image below.

Can you try logging const song = await Client.songs.get(Number(id)); and const lyric = await song.lyrics();? Seems like its working for me right now.

Aight, closing this. Happy Coding!


fix: use engineCLIAPIVersion for snapshot max count & size

Which issue(s) this PR fixes:

https://github.com/longhorn/longhorn/issues/7642
What this PR does / why we need it:
Only append snapshot max count and size if engineCLIAPIVersion is larger than 10.
Special notes for your reviewer:
Additional documentation or context

Does this mean we missed incompatible engine image e2e tests?

@mergify backport v1.6.x


zabbix: Support for 6.0

Description of changes
This is a followup to https://github.com/NixOS/nixpkgs/pull/145502. I took this PR and replaced Zabbix 5.4 by 6.0. I could build it locally, but did not test it yet.
Please be gentle, this is my second week of working with Nix and NixOS… :sweat_smile:
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Hello :wave:
Sorry I took so long to get around this. It sort of dropped off my radar and I noticed it today when reviewing my backlog.
Thanks for picking this up! Can you please review the list of commits. The first one isn't needed, for example.

No worries :)
I left the base branch intact to not just hijack someone elses work w/o proper attribution. If that's better I could also squash commits together and attribute the original authors in the commit message.

That sounds good to me. Thanks.

I just rebased my MR onto master and squashed the two version update commits into one.

Taking a look over everything I don't see any problems, everything looks in order. Did you do any testing? Run the update script, etc...? Am I good to click merge? Thanks!

Well, I'm pretty new to Nix, so I can't judge this 100%. I took the existing MR, left most untouched and just swapped 5.4 for 6.0.
What I can say: I have this running in production on one machine (slowly migrating my stuff over to NixOS). So it works at least for me…

Packages all build fine, I'm happy to merge all that. Unfortunately update script has a couple issues. It might be a good idea to drop the update script from this PR so we can merge it right away and then a second PR to work through the update script issues.

$ nix-shell maintainers/scripts/update.nix
...
           % nix-shell maintainers/scripts/update.nix --argstr package gnome.nautilus

       to run update script for specific package, or

so...
$ nix-shell maintainers/scripts/update.nix --argstr package zabbix60.agent2
this derivation will be built:
  /nix/store/4yhcb6mlrkgxw4lf6xclc415bdbyai2f-packages.json.drv
building '/nix/store/4yhcb6mlrkgxw4lf6xclc415bdbyai2f-packages.json.drv'...

Going to be running update for following packages:
 - zabbix-agent2-6.0.9

Press Enter key to continue...

Running update for:
 - zabbix-agent2-6.0.9: UPDATING ...
 - zabbix-agent2-6.0.9: ERROR

--- SHOWING ERROR LOG FOR zabbix-agent2-6.0.9 ----------------------

these 8 paths will be fetched (9.08 MiB download, 59.91 MiB unpacked):
  /nix/store/7rhf667rkqhcljcyz9b9mrzjw1sh3qji-gettext-0.21
  /nix/store/klar7c8pcc6a35jyw8wwjjq6dfipz2pb-perl5.34.0-HTML-TagCloud-0.38
  /nix/store/l5wrs6xl99pjrrr94jwiz5a2py7b7j35-perl5.34.0-FCGI-ProcManager-0.28
  /nix/store/q5v46mf2gppaw15fz30kf7dj9swmbya1-git-2.33.1-doc
  /nix/store/qc34acwphyjjr2y5vxyz1q9vz8hrk1ik-git-2.33.1
  /nix/store/rqy6r093k446b0l45dn0pa244lap3dfm-perl5.34.0-CGI-Fast-2.15
  /nix/store/xmsxysya1dvc6xsgg3hv1sv0fz7qw81n-perl5.34.0-FCGI-0.79
  /nix/store/zl3nikgcdx0z76aq2sf0v9kc337990nx-perl5.34.0-CGI-4.51
copying path '/nix/store/q5v46mf2gppaw15fz30kf7dj9swmbya1-git-2.33.1-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/l5wrs6xl99pjrrr94jwiz5a2py7b7j35-perl5.34.0-FCGI-ProcManager-0.28' from 'https://cache.nixos.org'...
copying path '/nix/store/klar7c8pcc6a35jyw8wwjjq6dfipz2pb-perl5.34.0-HTML-TagCloud-0.38' from 'https://cache.nixos.org'...
copying path '/nix/store/zl3nikgcdx0z76aq2sf0v9kc337990nx-perl5.34.0-CGI-4.51' from 'https://cache.nixos.org'...
copying path '/nix/store/xmsxysya1dvc6xsgg3hv1sv0fz7qw81n-perl5.34.0-FCGI-0.79' from 'https://cache.nixos.org'...
copying path '/nix/store/7rhf667rkqhcljcyz9b9mrzjw1sh3qji-gettext-0.21' from 'https://cache.nixos.org'...
copying path '/nix/store/rqy6r093k446b0l45dn0pa244lap3dfm-perl5.34.0-CGI-Fast-2.15' from 'https://cache.nixos.org'...
copying path '/nix/store/qc34acwphyjjr2y5vxyz1q9vz8hrk1ik-git-2.33.1' from 'https://cache.nixos.org'...
$ nix-instantiate --expr --strict --json --eval '
with builtins;
mapAttrs (_: attrs:
  mapAttrs (k: v:
    {
      value = v;
      pos = unsafeGetAttrPos k attrs;
    }
  ) attrs
) (
  import ./versions.nix (x: x)
)
'
warning: unknown setting 'access-tokens'
warning: unknown setting 'experimental-features'
warning: unknown setting 'warn-dirty'
error: getting status of '/home/aaron/nixpkgs/versions.nix': No such file or directory
Traceback (most recent call last):
  File "/home/aaron/nixpkgs/pkgs/servers/monitoring/zabbix/update.py", line 56, in <module>
    info = json.loads(run('nix-instantiate', '--expr', '--strict', '--json', '--eval', '''
  File "/home/aaron/nixpkgs/pkgs/servers/monitoring/zabbix/update.py", line 17, in run
    return subprocess.run(args, **kwargs)
  File "/nix/store/2c9w4p2x6x0l64fdvcmc11app7x4xran-python3-3.9.6/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('nix-instantiate', '--expr', '--strict', '--json', '--eval', '\nwith builtins;\nmapAttrs (_: attrs:\n  mapAttrs (k: v:\n    {\n      value = v;\n      pos = unsafeGetAttrPos k attrs;\n    }\n  ) attrs\n) (\n  import ./versions.nix (x: x)\n)\n')' returned non-zero exit status 1.

--- SHOWING ERROR LOG FOR zabbix-agent2-6.0.9 ----------------------
The update script for zabbix-agent2-6.0.9 failed with exit code 1

The script is interactive which probably means our bot can't run it and automatically update zabbix for us.
The script doesn't work with the instructions provided by our manual.

@seberm oh... this is very unfortunate. Several members of the @NixOS/php maintain older php versions here that you could use, but you're right we should really get zabbix moved to 6.x.


Syntax error in GH action

Coming from here https://expensify.slack.com/archives/C07J32337/p1629913059428800?thread_ts=1629910896.422200&cid=C07J32337

🚀 Deployed to production by @roryabraham in version: 1.0.88-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Revert "Allow any iOS app to be added to an existing host app"

Reverts flutter/flutter#70647
See https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8863328391455486464/+/steps/run_test.dart_for_build_tests_shard_and_subshard_0/0/stdout#L23291_0
[   +3 ms] ════════════════════════════════════════════════════════════════════════════════
            Building a deployable iOS app requires a selected Development Team with a
            Provisioning Profile. Please ensure that a Development Team is selected by:
              1- Open the Flutter project's Xcode target with
                   open ios/Runner.xcworkspace
              2- Select the 'Runner' project in the navigator then the 'Runner' target
                 in the project settings
              3- Make sure a 'Development Team' is selected.
                 - For Xcode 10, look under General > Signing > Team.
                 - For Xcode 11 and newer, look under Signing & Capabilities > Team.
                 You may need to:
                     - Log in with your Apple ID in Xcode first
                     - Ensure you have a valid unique Bundle ID
                     - Register your device with your Apple Developer Account
                     - Let Xcode automatically provision a profile for your app
              4- Build or run your project again
            For more information, please visit:
              https://flutter.dev/setup/#deploy-to-ios-devices
            Or run on an iOS simulator without code signing
            ════════════════════════════════════════════════════════════════════════════════

Going to land on red TBR @jmagman @xster to get the build green

@dnfield that's a recently very common infra flake
unable to find sdk 'iphoneos13.6'

Ahhh so it tried to build for a device?

Ahh https://github.com/flutter/flutter/issues/68144. I'll reland...

Ahhh so it tried to build for a device?

No, the targeted sdk is missing on the builder.

Ahh ok, I was thinking that it somehow defaulted to trying to build for device, but I guess this is just a generic error message we show when xcodebuild fails because it's usually a culprit to look at (or otherwise at least to use Xcode to figure things out).


Fix Laravel 5.3 blade issues

Resolves issue #657

BadMethodCallException in Builder.php line 2437:
Call to undefined method Illuminate\Database\Query\Builder::hasRole()


Fix broken test

The unit tests show me less edges appear now.  Looking at the output, one of the ELB's is missing. There should be an ELB showing up in both the subnets Public 1a and Public 1b, but only one is showing in Public 1a.

The issue is this commit: https://github.com/duo-labs/cloudmapper/commit/bf0db34c60ddcf47b795fff951e9e881a721e548
I include the AZ in the id, which is sort of like an ARN, but the real ARN doesn't include an AZ, which means only one appears.

Resolved in #357


Elessar needs you!

So working on Elessar basically just makes me sad and drains my energy. I'd love for people who've been active in the repository and on Stack Overflow to take the reins and help make Elessar better for everyone.
If that sounds like something you'd like to do, comment here and I'll add you as a collaborator. If not, no worries, keep on being awesome.
@fmal, @kirkbross, @andrewrice, @jordantomax, @bensaufley, any of you interested?

If/when there's a few new collaborators, we can have a chat in https://gitter.im/quarterto/Elessar/elessar-maintainers about what people would like to help with, where I'd like to see the project go etc.
I do have a couple of high-level goals for the nearish future:

Improve documentation/developer experience
Drop jQuery and modernise the codebase

What is it that makes you sad? Maybe we can help with that stuff?

Start work on a trivial bug
Code is badly organised and designed
Start cleaning things up
Rendering is buggy and prone to race conditions and/or layout thrashing
Start refactoring
Wonder why I'm even bothering; I don't use Elessar, and the company I wrote it for no longer exists
Get disheartened and give up
Wait 6 months
GOTO 1

That made me chuckle.
I used it for a while in production last year, until that particular part of the product went away, so maybe that makes line 6 a little better :).
I think this project is great for when you need exactly the behavior it provides. There's basically no other choice. So please don't give up.
If you want a bunch of PR's to clean some stuff up, I can give that a go. No guarantees it will get better, but it might be fun to tackle a new codebase. From a cursory view, it looks like range.js and rangebar.js are the two largest files. Is that where most of the pain is?

Thanks for the kind words. It's not that I'm giving up; it's just I have finite energy I'd rather spend elsewhere.
range.js:

Event state management (mousedown/drag/resize) is pretty much just spaghetti, and is quite a hot codepath but not currently JITable (because it's returning functions)
val is somehow nearly 100 lines long, and managing a bunch of positioning/collision state that is probably better in rangebar.js

rangebar.js

there's a lot of conceptual confusion about whether it's managing the whole state of the bar or letting ranges manage themselves, e.g. addRange, setVal

the whole thing:

fuck jQuery
element.js rendering could be improved
there is basically no documentation, and what is there is old and incomplete

I'd love to contribute but I'm not sure I'd even know where to start (or how quickly I could get anything done). If you, or someone, had an idea of some specific tasks to handle (even in the vein of, say, "refactor/streamline state management"?), I could take a crack at one or two at some point?

So sorry to hear that maintaining the repo is creating that pain for you :(
If it's an consolation, it's made my life better. I'm glad that it exists.
Sadly, I don't have much time to work on side projects these days,
otherwise I would help out. I may be able to to submit some very small PRs
in the not-to-distant future, but likely nothing major.
Sincerely,
Jordan Max Cooperman
@jordantomax https://twitter.com/jordantomax
On Thu, Mar 17, 2016 at 5:22 PM, Ben Saufley<EMAIL_ADDRESS>wrote:

I'd love to contribute but I'm not sure I'd even know where to start (or
how quickly I could get anything done). If you, or someone, had an idea of
some specific tasks to handle (even in the vein of, say,
"refactor/streamline state management"?), I could take a crack at one or
two at some point?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/quarterto/Elessar/issues/111#issuecomment-198087277

What do you want to use instead of jquery?

Fortran...
On Thu, Mar 17, 2016 at 10:12 PM, Hardy Jones<EMAIL_ADDRESS>wrote:

What do you want to use instead of jquery?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/quarterto/Elessar/issues/111#issuecomment-198211112

Plain DOM. The biggest jQuery-specific thing we're using is namespace events, which with an internal EventEmitter we shouldn't need.

i did some work on a fork i made of Elessar a while back, perhaps i could contribute :]

To help elicit more interest and collaborators, perhaps add a couple use cases to the readme?
FYI, I came here as a result of a search for "multiple range slider".  I wanted to find a single slider with multiple ranges that always added up to 100%; in other words the sliders acted as dividers on the single line.  At first glance, I'm not sure that fits into Elessar's capabities.  Actually, I'm not entirely sure what a typical use case would be, even though the demo looks cool!  So anyhow, and like I said, providing some kind of use case in the readme might help.  Cheers

@jon-freed what you're describing has been requested before, but jQuery UI can do that. Elessar's use case is dividing a range (typically a time period) into smaller blocks. Think timeslots or something similar. I've even used it to implement a Google Calendar-like weekly view!

Hi, Matt. With your advise, i did a clone of this project in es6 here.

I changed some code to allow for deleting of ranges in mobile devices. You have to touch the range for 5 seconds without moving it. That marks the range for possible deletion. You have to touch the range again within 5 seconds to delete it.
My thanks to all the previous programmers who created the framework of making this widget responsive and mobile friendly.
Here are my changes to the mousedown function.
Feel free to modify them as you wish:
mousedown: function(ev) {
ev.stopPropagation();
ev.preventDefault();
this.hasChanged = false;
if(ev.which > 1) return;
var numStartTouch = new Number(Date.now());
if ((ev.type == "touchstart") && (this.deleteConfirm == true)){
this.perant.removeRange(this);
clearTimeout(this.deleteTimeout);
}
if ((ev.type == "touchstart") && (numStartTouch != NaN)){
this.$el[0].dataset.starttouch = numStartTouch.toString(10);
}
if ($(ev.target).is('.elessar-handle:first-child')) {
$('body').addClass('elessar-resizing').toggleClass('elessar-resizing-vertical', this.isVertical());
$(document).on('mousemove.elessar touchmove.elessar', this.resizeStart(ev));
} else if ($(ev.target).is('.elessar-handle:last-child')) {
$('body').addClass('elessar-resizing').toggleClass('elessar-resizing-vertical', this.isVertical());
$(document).on('mousemove.elessar touchmove.elessar', this.resizeEnd(ev));
} else {
$('body').addClass('elessar-dragging').toggleClass('elessar-dragging-vertical', this.isVertical());
$(document).on('mousemove.elessar touchmove.elessar', this.drag(ev));
}
var self = this;
var rangeObj = this;

$(document).one('mouseup.elessar touchend.elessar', rangeObj, function(ev) {
  ev.stopPropagation();
  ev.preventDefault();
  var strPreviousEpoch = ev.data.$el[0].dataset.starttouch;
  var numPreviousEpoch = 0;
  if ((strPreviousEpoch !== undefined) && (strPreviousEpoch != ""))
    numPreviousEpoch = parseInt(strPreviousEpoch);
  if(self.hasChanged && !self.swapping){
    self.trigger('change', [self.range, self.$el]);}
  else if ((ev.type == "touchend") && (numPreviousEpoch != 0)){
    var numCurrentEpoch = parseInt(Date.now());
    var numDeltaSeconds = (numCurrentEpoch - numPreviousEpoch) / 1000.0;
    if (numDeltaSeconds > 5.0){
            ev.data.$el.addClass('elessar-delete-confirm');
            ev.data.deleteConfirm = true;

            ev.data.deleteTimeout = setTimeout(function() {
                    self.$el.removeClass('elessar-delete-confirm');
                    self.deleteConfirm = false;
            }, ev.data.perant.options.deleteTimeout);
    }
  }

  self.swapping = false;
  $(document).off('mouseup.elessar mousemove.elessar touchend.elessar touchmove.elessar');
  $('body').removeClass('elessar-resizing elessar-dragging elessar-resizing-vertical elessar-dragging-vertical');
});

},

Can someone here tell me how to make this elessar vertical on mobile screens. As When I am trying to render it on mobile device gives scrolling effect horizontally which I don't want. Please help me


Missing token generation based on UserRole

the admin_token, user_token and manager_token are missing in the code which results in most of the test cases to access the APIs are giving the errors as the valid token is not generated correctly.

Added the token generation code based on the UserRole like admin,manager and normal user who is authenticated. This will generate the token required and fix this issue.


Update StudySpot Count Gui

Updates the gui such that the count shows the current number of study spots listed over the total number of study spots.
Part of #60

Codecov Report

Merging #61 (489e465) into master (7646790) will decrease coverage by 0.37%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #61      +/-   ##
============================================
- Coverage     70.23%   69.86%   -0.38%
  Complexity      430      430
============================================
  Files            73       73
  Lines          1505     1513       +8
  Branches        190      190
============================================
  Hits           1057     1057
- Misses          388      396       +8
  Partials         60       60

Impacted Files
Coverage Δ

...rc/main/java/seedu/address/logic/LogicManager.java
71.42% <0.00%> (-3.58%)
:arrow_down:

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

...main/java/seedu/address/ui/StudySpotListPanel.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Log access permission

I successfully installed your module on my Raspberry and it works fine.
Well, at least it seems so but I have a small issue: it doesn't read the OpenVPN log file.
Might that be because the log file cannot be read unless being root? And how could I fix that? (I'm not used to NodeJS)

Do you know the location of your openvpn log file?
What permissions does this file have?

I can access the interface but it shows no activity at all and no connections to the server.
Here's the permissions of the file, which is located in /etc/openvpn (exact same path as your default config file): -rw------- 1 root root

Can you give read acess to the .log file (not the entire directory) for all users and see whether that changes anything?

That was indeed file permissions. Switched from 600 to 644 and it's all good.
Last quick question, am I supposed to see VPN IPs in this format: 00:ff:10:b1:--:-- rather than 10.8.0.xxx (in my case)?
By the way, thanks for the module, just what I needed :)

You should see their IPv4 name which is 10.8.0.xxx the other would be either MAC or IPv6 address. It would help if you could post the anonymised content of your log file here.

Ah nevermind, checked the log file and that's the IP that is registered. Nothing related to your module :)

@shiioo let me know if you have any ideas on how to improve the module :)


docs: fix path

2023-03-13T16:33:04.959+0100 [DEBUG] waypoint.runner: plugin search path: job_id=01GVDSN3QEQA7S0W9V1Q3DY3XV job_op="*gen.Job_Up" path=["/Users/sieben/workspace/waypoint-demo", "/Users/sieben/workspace/waypoint-demo/.waypoint/plugins", "/Users/sieben/Library/Preferences/waypoint/plugins", "/Users/sieben/.config/.waypoint/plugins"]

Look like it is an issue in waypoint:
https://github.com/hashicorp/waypoint/blob/ca3b1b39222c99ded3568fed234a587a9dfca30a/internal/plugin/discover.go#L82

https://github.com/hashicorp/waypoint/pull/4623


feature request: need a way to specify an alternative default build files directory

Many projects include a 'bin' directory, typically containing shell scripts related to the project.  Unfortunately, the default value for the build output files directory is also 'bin', with the result that after issuing "sbt eclipse", the next subsequent "clean" from within the Eclipse Run menu will delete this directory, including potentially edited but not-yet-checked-in changes.
Some projects have started including a warning in user documentation (see for example http://dotty.epfl.ch/docs/contributing/eclipse.html.
Two suggestions, either of which would reduce this risk:

change the default directory from "bin" to "classes" (or "build"?)
allow the default directory to be managed with an environment variable, or other project-specific configuration

There appear to be exactly four references to the string literal "bin" in the project:
src/main/scala-sbt-0.13/com/typesafe/sbteclipse/core/Eclipse.scala:  (Seq("bin") map EclipseClasspathEntry.Output)
src/main/scala-sbt-1.0/com/typesafe/sbteclipse/core/Eclipse.scala:   (Seq("bin") map EclipseClasspathEntry.Output)
src/sbt-test/sbteclipse/02-contents/tasks.sbt:                       if (!(classpath.child contains <classpathentry kind="output" path="bin"/>))
src/sbt-test/sbteclipse/02-contents/tasks.sbt:                       error("""Expected .classpath of root project to contain <classpathentry kind="output" path="bin"/> """)

Thanks for considering this. I would be happy to do a pull request and provide a proposed fix for your review.

There's an eclipseOutput setting which controls this: https://github.com/typesafehub/sbteclipse/wiki/Using-sbteclipse

The eclipseOutput doesn't solve this particular problem, though I now realize that my description above is not quite sufficient.   The entry in the generated .classpath file that causes the grief is this one:
<classpathentry kind="output" path="bin"/>

and AFAICT, the "bin" setting is hard-wired in Eclipse.scala near line 312
whereas the eclipseOutput setting lets me control these entries, but they aren't causing the problem:
  <classpathentry output=".target" kind="src" path="src\main\scala"/>
  <classpathentry output=".target" kind="src" path="target\scala-2.12\src_managed\main"/>
  <classpathentry output=".target" kind="src" path="src\test\scala"/>

That seems like a bug. I believe it should use the eclipseOutput setting instead of a hard-coded bin directory. But the default value for eclipseOutput should be bin

dotty is open to changing the name of their scripts directory in case you want to submit a PR there https://github.com/lampepfl/dotty/issues/3401. We should still fix this issue because the eclipseOutput setting should be made to work, but I think that it'd also be nice if they didn't use the bin directory so that you didn't need to change the default settings

I would prefer that dotty not change the name of their scripts directory,
as it follows a decades old standard and many developers are familiar with
it.  Below my eclipse workspace, there are 82 .git directories and 121
'bin' directories.   This is the only project I'm familiar with that uses
'bin' as the binary output directory.  Much more common would be 'classes',
'build', or 'target'.  If it weren't already legacy behavior, I would favor
changing the sbteclipse default.
On Mon, Oct 30, 2017 at 2:02 PM, Ben McCann<EMAIL_ADDRESS>wrote:

dotty is open to changing the name of their scripts directory in case you
want to submit a PR there lampepfl/dotty#3401
https://github.com/lampepfl/dotty/issues/3401. We should still fix this
issue because the eclipseOutput setting should be made to work, but I
think that it'd also be nice if they didn't use the bin directory so that
you didn't need to change the default settings
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/typesafehub/sbteclipse/issues/352#issuecomment-340566760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADBlluCMOBVGcsAhqK_GokV1s2zuBl4Aks5sxis6gaJpZM4QGdBh
.

We did not choose bin as the output directory. That's what eclipse has always used by default, so we're just matching that here.
Anyway, pull requests welcome if you'd like to send a fix to remove the hardcoded bin. I've been merging community PRs, but unfortunately don't have time to work on the project myself.

ah, thanks for the reminder, I had forgotten that "bin" is the Eclipse default.   I have no experience with sbt plugin development, is there a contributors guide you can recommend?  I see lots of files below src/test but haven't figured out how to run the tests just yet, any suggestions are welcome.

I don't have any pointers ready, but let me know if you have questions. If you run sbt scripted it will run the tests.

after experimenting for a few days, I have come to some tentative conclusions, although I'm happy to be corrected if I'm off base.

it's hard to figure out a use-case for the eclipseOutput setting in which it does not take the same value as the target setting
I can't see a simple or clean way from within Eclipse.scala to determine the values of project settings such as target
eclipse projects that use this plugin, being sbt based, will typically (always?) expect build files to reside in the directory directory referenced by the target setting

If there's a reasonable way to determine the value of the project target setting from within this plugin, I would be willing to create a pull request that changes the default value of the output directory from "bin" to the project target value.   I'm also open to other suggestions.
I noticed, BTW, that the output directories of scripted subprojects (e.g., suba, subb, subc) are ALWAYS named target, regardless of the value of either the plugin eclipseOutput setting or the client project target setting, as these only seem to be configurable at the top level of the project.   For that reason (and assuming that this conclusion is correct), it might be worth considering the simple expedient of changing  "bin" to "target" on line 312 of Eclipse.scala
As I said, I'm open to suggestions, including to close this issue with no changes.

The target setting you're referring to - is that the setting which controls the directory that SBT sends compilation output to (typically the target directory)? If so, you absolutely do not want eclipseOutput to be the same as target. We had that as the default a few years ago and it caused no end of trouble for people. You'd end up with all kinds of weird problems where the SBT compilation output and Eclipse compilation output are being sent to the same place and stomping on each other. It works much better to make these separate directories. I think someone would need to setup an integration between sbt server and  LSP4E in order to have only a single output directory.

Yes, I was referring to the target setting, which defaults to "target".   I'll take your word that problems would ensue, in practice I usually set it to "eclipse-target", although I have a script that edits the generated .classpath file, replacing the generated bin value to avoid accidentally deleting the "bin" directory,  (the problem I described above.).   Perhaps we can change the default from "bin" to something that's unlikely to collide with client files?

bin is the default that Eclipse has used for many years, so I'm hesitant to change it. If you create a new Eclipse project it will create a bin directory for you. I think it would be confusing to Eclipse users to call it something else. But we should make it easy to change on a per-project basis - it seems that's broken right now

I created a PR, but I'm sure it's bogus, it unexpectedly seems to already have changes to merge (not my intention).   Not sure how to recover or proceed from here ...

submitted a PR for this, thanks for all the assistance!
It would be nice if a warning could be issued when settings eclipseOutput and target refer to different directories, although it's not clear to me how to access the value of the target setting from within Eclipse, so that's for later if at all.

I'll release 5.2.4 with your fix


getUriLinksStream  It doesn't work under IOS and won't receive monitoring results.

getUriLinksStream It doesn't work under IOS and won't receive monitoring results.

I'll investigate. Thanks for reporting.

I'll investigate. Thanks for reporting.
Thank you for your efforts.

I'll investigate. Thanks for reporting.

When does it start to repair? This is a serious problem.

Hi, I'm having a similar issue where on iOS 12, the app isn't picked up from Universal Links. I checked and the apple-app-site-association is in place but only Safari opens instead of the app. Could you check if your library still works, please? Thank you!

same

Same for me. When I use "unilinks" it's working on both platform, but not working with "https" word only on Android.

Same!


Add Signature Validation

According to the docs, valid requests from LINE platforms are the ones with X-Line-Signature header matching their digest value in request body.
https://devdocs.line.me/en/#signature-validation

One way to do it is by adding a verify function property to the bodyParser.json()'s first param. Then we will initialize the webhook conditionally (whether it uses the verification middleware or not) based on a verifySignature option.


安装遇到问题

大佬，，请问在windows安装遇到这些依赖库问题
..\src\github.com\go-playground\validator\errors.go:9:2: cannot find package "github.com/go-playground/universal-translator" in any of:
E:\CodeTool\Golang\install\src\github.com\go-playground\universal-translator (from $GOROOT)
E:\Learn\Go\src\github.com\go-playground\universal-translator (from $GOPATH)
..\src\github.com\go-playground\validator\baked_in.go:23:2: cannot find package "github.com/leodido/go-urn" in any of:
E:\CodeTool\Golang\install\src\github.com\leodido\go-urn (from $GOROOT)
E:\Learn\Go\src\github.com\leodido\go-urn (from $GOPATH)
..\src\github.com\gmsec\micro\registry\dns_naming_register.go:16:2: cannot find package "github.com/micro/mdns" in any of:
E:\CodeTool\Golang\install\src\github.com\micro\mdns (from $GOROOT)
E:\Learn\Go\src\github.com\micro\mdns (from $GOPATH)
..\src\github.com\gmsec\goplugins\plugin\gin.go:14:2: cannot find package "github.com/soheilhy/cmux" in any of:
E:\CodeTool\Golang\install\src\github.com\soheilhy\cmux (from $GOROOT)
E:\Learn\Go\src\github.com\soheilhy\cmux (from $GOPATH)
remote_project\ShengHuaYiXue\main.go:15:2: cannot find package "gmsec/rpc/gmsec" in any of:
E:\CodeTool\Golang\install\src\gmsec\rpc\gmsec (from $GOROOT)
E:\Learn\Go\src\gmsec\rpc\gmsec (from $GOPATH)
..\src\github.com\go-playground\validator\baked_in.go:20:2: cannot find package "golang.org/x/crypto/sha3" in any of:
E:\CodeTool\Golang\install\src\golang.org\x\crypto\sha3 (from $GOROOT)
E:\Learn\Go\src\golang.org\x\crypto\sha3 (from $GOPATH)
有些依赖库显示的路径无效是怎么回事

go mod 的问题？


Bypass for ryn.cc translated to MV3

Can you rebase the commits and fix the conflicts before I can merge it?


TNB Minecraft Integration

Project Details
How would you describe your project?
Players can deposit TNBC into their in-game accounts (and withdraw it), tip players (without paying fees) and receive TNBC in-game.
/tnb deposit
/tnb tip  [amount]
/tnb withdraw
/tnb rain
What problem does this project solve?
Integrates TNB with the Minecraft community.
Who is the target market?
Minecraft players and those in the TNB community who play Minecraft.
How will this project benefit the network and/or the community?
It'll expose people to TNB.
An important part of this is that TNB promotes the Minecraft server that will be running this because Minecraft players who receive TNB have questions that other people can answer- and get them hooked.
How is this project centered around thenewboston?
Integrates Minecraft <--> TNB
What is the estimated completion date for this project? (rough estimates are acceptable)
It'll take 2 weeks at the most
Please include a detailed roadmap for your project below. This must include a list of all milestones where payments will be awarded upon completion of each.
There's only one milestone and it'll take up to 2 weeks.
What is your Discord username?
Pixel#5000
Milestone Details
Milestone 1 - implement the following
Milestone Description
Milestone 1 - implement the following:
/tnb deposit
/tnb tip  [amount]
/tnb withdraw
/tnb rain
Requested Payment Upon Completion
10,000 TNBC - bear in mind this includes good code and tests- we're dealing with money!

#
Objective
Estimated Value (coins)

1
Depositing TNB
3000

2
Withdrawing TNB
3000

3
Tipping other players
2000

4
In-game TNB rain!
2000

Project Wallet
add7f7dc1f719179530f7e6c39cb70b2dd671119b63159e1383b190912b8e1c7

Make sure to read minecrafts TOS before you do this because users can't use crypto or fiat to buy items land or anything like that or minecraft can ban people from their network.

Hey, @Kycermann we really liked your idea. Your proposal has been passed to govs. for final review.

is /tnb tip [amount] a tip to a specific player? If so, shouldn't we write their username, ex: /tnb tip [amount] [username]?

how do you register your tnb account with the minecraft account?

How will /tnb rain work exactly?

when you say tip players (without fees), what fee are you talking about exactly? You don't mean the validation fees, right?

@angle943

Yep
You don't- a TNB balance is tied to each Minecraft UUID (unique user ID). The actual TNB is held by the plugin in one address.
Distribute [amount] evenly (or randomly, I'll do some empirical tests and see what works best) between online players who aren't AFK
I mean players can transfer balance between each other without creating TNB transactions because until you withdraw, the TNB is in an address on the server
When depositing, the memo content is the target user's UUID- so you can deposit into any UUID and we physically can't stop that. When sending TNB in-game, you'll only be able to send TNB to players who have joined the [current] server before.
The plugin will have a TNB keypair, they'll go there.
7 & 8. It's up to the server owner! Minecraft policies allow selling cosmetics.

Approved by the gov't for 10000

I don't think this is allowed by Minecraft TOS if these coins can be used to encourage pay-to-win, which it will. Minecraft only allows cosmetics and things that do not affect gameplay level to be added to the game. I might be wrong, and correct me if I am, but AFAIK this breaks the Minecraft server EULA

I don't think this is allowed by Minecraft TOS if these coins can be used to encourage pay-to-win, which it will. Minecraft only allows cosmetics and things that do not affect gameplay level to be added to the game. I might be wrong, and correct me if I am, but AFAIK this breaks the Minecraft server EULA

Nope, we're all good.