text:
main method not found

when running the project in eclipse it says main method not found what to do

Pls share the code,i can look into it.

https://github.com/rutujar/Doctor-records-using-B-plus-tree-technique/tree/master/Front end
The code link to the github
On Fri, 3 Apr, 2020, 2:37 pm Rutuja Rajesh, notifications@github.com
wrote:

Pls share the code,i can look into it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rutujar/Doctor-records-using-B-plus-tree-technique/issues/1#issuecomment-608323017,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLS7A2VNGWQFOOSW2IVPEDRKWRNLANCNFSM4L2QYAIA
.

actually i worked in Netbeans not in eclipse, it might be some bug or application issue. try using Netbeans IDE it will be easy

Thank you for ur reply.I will try it and keep you posted.
On Sun, 12 Apr, 2020, 3:14 pm Rutuja Rajesh, notifications@github.com
wrote:

actually i worked in Netbeans not in eclipse, it might be some bug or
application issue. try using Netbeans IDE it will be easy
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rutujar/Doctor-records-using-B-plus-tree-technique/issues/1#issuecomment-612589365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLS7A6EDXI4EB45IG6ODZLRMGEPPANCNFSM4L2QYAIA
.

Found the solution.
Just need to run it in a terminal

authors: HarshaCV harshacv rutujar


text:
Layout fixes for dashboard cards

Description:

Use the same padding for the menu dots as on the card title.
Use this guide on all the views (simple, history, image)

Also, make the clickable area bigger when possible:

QA passed

source: gharchive/issue

authors: markoaamunkajo sini-maaria

license_type: permissive

license_source: github-api


text:
History length dropdown menu is jumping around when scrolling the page

https://user-images.githubusercontent.com/1311912/145376369-068e8d5a-9c1f-4bae-90ff-c07bce644aad.mov
Let's also simplify the options a bit and remove capitalisations from English and Swedish (Finnish seems to be lowercase already):
3 hours
1 day
3 days
1 week
1 month
3 months
1 year
2 years (1 year is not enough because on the website we state that 2 years of history will be supported)
We had a plan to add a calendar selection option on the zoom level, but these options should be enough until that's implemented. Will create a separate issue about that.

We got some comments about reduction of selectable timeframes from users that happened to use some of those ones that got removed. So let's have a few more until the calendar view has been implemented:
1 hour
2 hours
3 hours
12 hours
1 day
2 days
3 days
1 week
1 month
3 months
1 year
2 years


text:
Chart select baseline points incorrectly 01:00 instead 00:00

Can't reproduce on my phone

Is this what you mean?
I don't understand the problem.

Version 1.13.7 English (United States)
Single digit day should be 0 filled. Example. 9/1 should be 9/01

@DG12 it's better to have X axis point on midnight than on 1AM.

The problem was with daylight saving. It's fixed now but I wonder how chart will look on the edge of time changing (few days after switching to winter time).

1.14.3

QA passed

authors: DG12 andreevdenis markoaamunkajo


text:
Enhance user experience when selecting where to send data

This issue doesn't contain a spec just yet, but this is a reminder that we need to discuss about this matter. Now it's not really easy to understand that can user send data to which targets simultaneously. We have received questions from users that can they send to Ruuvi Cloud + MQTT or Ruuvi Cloud + HTTP or Ruuvi Cloud + HTTP + MQTT and so on.
We had an issue about this earlier but it was only partially implemented after a mutual discussion (that seems to be not documented in the issue):
https://github.com/ruuvi/ruuvi.gateway_esp.c/issues/287

Let's discuss this in https://github.com/ruuvi/ruuvi.gateway_esp.c/issues/597

Will be handled with https://github.com/ruuvi/ruuvi.gwui.html/issues/249

authors: laurijamsa markoaamunkajo ojousima


text:
Tools Its not Working Correctly

The Tools its Not loading Category Value Flagas Usage Flags or Tags

Can you please share your file (e.g. via pastebin) as I cannot reproduce the issue with any valid file.
P.S. Sorry for the late response.

I'll close the issue for now. Feel free to reopen it with more info.

repo: rvost/DayzServerTools

license: MIT


text:
A way to destroy a worker

I need to use multiple worker instances and when one worker finishes I need a way to destroy an instance and free the memory
Afaik in current implementation memory will never be freed
What would you suggest?

Oh, I was a bit outdated from recent changes
found this one
https://github.com/ry/v8worker/commit/b1f24e82ac8124de2a0ebf8295f2af21fbaa281e

license: mit

license_source: bigquery


text:
[Snyk] Security upgrade @kubernetes/client-node from 0.12.2 to 0.18.1

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

pkg/new-ui/v1beta1/frontend/package.json
pkg/new-ui/v1beta1/frontend/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Regular Expression Denial of Service (ReDoS) SNYK-JS-CROSSSPAWN-8303230
  828

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)

Pull Request Test Coverage Report for Build 11752512353
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 72.998%

Totals

Change from base Build 8152929967:
0.1%

Covered Lines:
3117

Relevant Lines:
4270

💛  - Coveralls

source: gharchive/pull-request

authors: coveralls ryan-ally

repo: ryan-ally/katib


text:
[Snyk] Security upgrade numpy from 1.21.3 to 1.22.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

cmd/suggestion/skopt/v1beta1/requirements.txt

⚠ Warning
scikit-optimize 0.9.0 requires scikit-learn, which is not installed.
scikit-optimize 0.9.0 requires scipy, which is not installed.
scikit-optimize 0.9.0 requires numpy, which is not installed.
forestci 0.3 requires scikit-learn, which is not installed.
forestci 0.3 requires numpy, which is not installed.

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

506/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
NULL Pointer Dereference SNYK-PYTHON-NUMPY-2321964
numpy:  1.21.3 -> 1.22.2
No
Proof of Concept

399/1000  Why? Has a fix available, CVSS 3.7
Buffer Overflow SNYK-PYTHON-NUMPY-2321966
numpy:  1.21.3 -> 1.22.2
No
No Known Exploit

506/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Denial of Service (DoS) SNYK-PYTHON-NUMPY-2321970
numpy:  1.21.3 -> 1.22.2
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 NULL Pointer Dereference
🦉 Denial of Service (DoS)

Pull Request Test Coverage Report for Build 4190987724

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 72.857%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1beta1/suggestion/suggestion_controller.go
5
72.87%

Totals

Change from base Build 3835808007:
0.0%

Covered Lines:
3111

Relevant Lines:
4270

💛  - Coveralls


text:
Update GPS aborted, update firmware Segmentation fault

Hi,
When running --update-gps I get the below error

*** Error in `ttwatch': free(): invalid next size (fast): 0x0000000001434b10 ***
Aborted

When running --update-fw I get

Segmentation fault
Wondering where the issue could be...

Just got my watch yesterday, still on firmware 1.1.19 so badly needs a fw update, but cannot get it to work...
Thanks for your answers!

If you've never plugged your watch in to a Windows machine, you'll need to run ttwatch with the --initial-setup option first. This will create the default preferences file and other data files on the watch, which the other options rely on.
Before you do that though, I'd appreciate it if you could run the program using gdb and when it aborts give me the stack trace. That way I can see where it's failing and put in more checks.

I have already run the --initial-setup command before posting above...
gdb output is as below

(gdb) run -a
Starting program: /usr/local/bin/ttwatch -a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1363700 (LWP 16911)]
[New Thread 0x7ffff0b62700 (LWP 16915)]
[Thread 0x7ffff0b62700 (LWP 16915) exited]
*** Error in `/usr/local/bin/ttwatch': free(): invalid next size (fast): 0x0000000000668b30 ***
Program received signal SIGABRT, Aborted.
0x00007ffff6dadc37 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) backtrace
#0  0x00007ffff6dadc37 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6db1028 in __GI_abort () at abort.c:89
#2  0x00007ffff6dea2a4 in __libc_message (do_abort=do_abort@entry=1,
fmt=fmt@entry=0x7ffff6ef86b0 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff6df655e in malloc_printerr (ptr=,
str=0x7ffff6ef8850 "free(): invalid next size (fast)", action=1)
at malloc.c:4996
#4  _int_free (av=, p=, have_lock=0)
at malloc.c:3840
#5  0x000000000040e909 in replace ()
#6  0x000000000040f490 in do_update_gps ()
#7  0x000000000040a2ae in main ()

Thanks!

A (hopefully) solved mystery! There was a serious bug in the replace() function that was fixed a few weeks ago, but somehow it became broken again. I may have pushed a new commit without pulling the latest update that included the fix (submitted by someone else). Anyway, I have re-fixed it and hopefully it will work for you now.

Excellent!
Downloaded the latest version and all worked very well. Firmware updated and GPS fix downloaded.
Thanks for your prompt support!

No worries. Glad it works for you!

authors: benlou ryanbinns

repo: ryanbinns/ttwatch


text:
LocalizeContext not declared in types declaration despite being exported

Do you want to request a feature or report a bug?
Report a bug & offer fix
What is the current behavior?
Go to: https://codesandbox.io/s/stupefied-bhaskara-fsyir

Open App.tsx
Notice typescript error stating LocalizeContext is not exported from module

What is the expected behavior?

LocalizeContext is exported from the module but not declared in the type definitions. This would involve adding LocalizeContext as an exported member from src/index.d.ts

Which versions of react and react-localize-redux are you using?

react@16.12.0
react-localize-redux@^3.5.3

Happy to add and open a PR although I wanted to check first given that work is ongoing with v4 and you mentioned you're swamped. If you'll have a chance to release a patch I'll open a PR with the change?

+1 on this since we want to build a hook helper and need to access the context in a TypeScript environment (ideally without a @ts-ignore statement)

One thing you can do is add a .d.ts file with the following content
import { Context } from 'react'

declare module 'react-localize-redux' {
  export const LocalizeContext: Context<LocalizeContextProps>
}

authors: adamdharrington pedily spassvogel

repo: ryandrewjohnson/react-localize-redux


text:
add windows SMTC support

like  https://github.com/KRTirtho/smtc_windows

That looks like a cool project, although I don't think it relates to audio_session. I think the author meant to say "audio_service" rather than "audio_session".
There is an open issue on audio_service waiting for someone to contribute and I'll link you to it below:
https://github.com/ryanheise/audio_service/issues/609


text:
🛑 yidiankuaile is down

In 5b07935, yidiankuaile (https://www.yidiankuaile.com) was down:

HTTP code: 502
Response time: 10970 ms

Resolved: yidiankuaile is back up in a177cbd.

repo: ryanlid/upptime


text:
Add container query length units

This PR adds container query length units, as described on MDN's container query article.
I'm not sure if autocompletion should be added, but I noticed some units aren't even mentioned in the autocomplete file (such as lvmax) so I didn't add them. If adding them is preferred, please let me know where I should add them.

Where should I add those? Just add them to the list here?
https://github.com/ryboe/CSS3/blob/ce9188868f94c70d7ad1d8d359a1c3806f8bc430/completions/functions.py#L9-L12
Should I also add the other missing units? Or just the container query-related ones?

that's the spot i believe yeah 👍🏻
and whatever you notice is missing, bring it on! 🙏🏻

authors: argyleink vrugtehagel


text:
Can both file..source and lib.mkAfter + file..text be used?

Hello!
What the title says; can I add text to the resulting target file along with the contents of the source file, using file.<name>.text = lib.mkAfter '' [...] ''? I'm currently trying to, but it doesn't seem to be working.
Any help will be greatly appreciated!

No, you have to use either source or text. I guess you can use builtins.readFile to read the file and concatenate with the string. Something like text = builtins.readFile … + "…";

Ah; in that case will the target attribute still work? And would it be possible to implement the previous feature?

Yes, the target attribute determines there the result should be placed.

Right! Thanks for the help! I'll go ahead and close this now!

Crap. Didn't actually close this.

authors: rycee shadowrylander

repo: rycee/home-manager


text:
Question: How to reliably receive a BeReal notification

The Android app does a very bad job in delivering the BeReal notification in time, so I wonder if it's possible to know that the 2-minute interval is started for my timezone?
You may have noticed some kind of API for that, maybe it's something similar to websockets or long-polling REST endpoint, or at least an endpoint that informs whether the BeReal time has come or not...
My goal is to create a telegram bot that will alert me and my friends that the BeReal time has come. Can I ask you to give my some clues about their internals? I guess I have no chance to capture the original firebase push out of my phone, so I'm searching for other options...

Hey, unfortunately I don't think I stumbled upon any endpoint or socket that may help you with that issue. I think BeReal use firebase cloud messaging to send their notification, and I don't know of anyway to tap into that. You can check out the archived BeFake code, it may have some hints, but from what I saw I couldn't find anything

Thank you for your answer!

repo: s-alad/toofake


text:
Update happy-headers to latest version

There was an issue that it took the old signature. https://github.com/retoheusser/happy-headers/pull/1
Kudos to @rvaidun who fixed it

theres a build error :( seems the export default got changed to just export, so it can't find the func, change it back to, made a PR!

Thanks for the fix, I updated the dependency in your code again

authors: retoheusser s-alad


text:
🛑 Motheo Thaba Nchu is down

In 1855974, Motheo Thaba Nchu ($THABANCHU) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Motheo Thaba Nchu is back up in efbe755 after 2 hours, 52 minutes.


text:
:chart_with_upwards_trend: Update env var

adding feature update global and project env var

Close #83

authors: BouazizJ TFellet

repo: saagie/api-saagie


text:
Fixes

Hi @deeenes ,
as discussed last time, I've added tests that test against the R implementation (I've tried to minimize #requests).
All of them but 1 pass (https://github.com/saezlab/omnipath/pull/3/files#diff-d0006f49713ded3416f836ec07f0c1b4e8e184f23526d5235039824f60c417c1R202), which is due to the ordering of the index + some columns have different names.
I've also fixed a few bugs along the way and added the option to create networkx graphs from interactions (some things still need to be tweaked there, such as node attributes),

Codecov Report

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

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   90.63%
=========================================
  Files             ?       18
  Lines             ?     1238
  Branches          ?      160
=========================================
  Hits              ?     1122
  Misses            ?       86
  Partials          ?       30

Flag
Coverage Δ

unittests
90.63% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 223f197...dba63da. Read the comment docs.

Hi @michalk8 ,
Thanks for the many improvements, and the tests against the R package, really nice solution! Now I played around downloading many things and everything works great. I just added two minor modifications:

To allow the download of the annotations data not only for a set of proteins but also for a set of resources
A class to download all post-translational interactions (I've been searching for it and I think there was no such class?)

Best,
Denes

authors: codecov-io deeenes michalk8

repo: saezlab/omnipath


text:
Restrict Swap apps in Confirmation View

⚠ Depends on #1479

Adds option to restricts Swap transaction data to certain CoW Swap application

Pull Request Test Coverage Report for Build 8880729667
Details

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.1%) to 91.681%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/transactions/transactions-view.service.ts
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/mappers/common/transaction-info.mapper.ts
1
78.41%

src/routes/transactions/transactions-view.service.ts
1
17.78%

src/routes/transactions/entities/tests/human-description.builder.ts
2
80.0%

Totals

Change from base Build 8880656874:
-0.1%

Covered Lines:
6883

Relevant Lines:
7231

💛  - Coveralls

authors: coveralls fmrsabino

repo: safe-global/safe-client-gateway


text:
Add deployment bytecode

For testing purposes it would be good to be able to deploy the contracts in a local network. Therefore the deployment bytecode should be added

Access

repo: safe-global/safe-deployments


text:
Airdrop hunter address, one person and one address created 56 multi-signatures

0x3437977766fe4e39d5ade5206470ae9aef15f7ac
0xC6dB09a301Bfb0991458074199a905245f13d043
0x4a8c28b424bbd58799b766edeced5b29f86cf8ff
0xa0C33d89C9F8782275B4302f0B37818dF4aCC506
0xa8246172595716Fa28D62e0e5E26719A87bA67d1
0x58e940d446C0899179275B53F9eCF77e1C4c65e9
0x58e940d446C0899179275B53F9eCF77e1C4c65e9
0xC18924a3E29045b76327ac6683bBf30dF1c4Ef28
0xa75eE0366af36572C46e2b672dff918e7a624284
0x2A032E7a4575d067953fa85b02a934916b519571
0x299b68AC4725F5Be3063f4Cd33C627A3b12CdcE0
0xcB809e0951054742b1b86761d23B51A56DdaB26F
Reasoning
The airdrop hunter used the 0xca33b0edfb55c99d99b1d8f76f07ffe88036083d mainnet wallet to create 56 multi-signature addresses, and all of them received high token rewards,The query link is https://etherscan.io/address/0xca33b0edfb55c99d99b1d8f76f07ffe88036083d?method=Create__Proxy__With__Nonce~0x1688f0b9
Methodology
Querying an address through the Ethereum browser has created 56 multi-signature addresses, and all of them have transactions. The query link is https://etherscan.io/address/0xca33b0edfb55c99d99b1d8f76f07ffe88036083d?method=Create__Proxy__With__Nonce~0x1688f0b9
My Safe Address
0x04b9f219331e4586Ae35cff9065eFc2A09F29751

Please elaborate on why these are safes created for airdrop farming. Just the fact that 1 addresses created all of them doesn't qualify.

We haven't received any further information on this ticket and therefore deemed this submission invalid.
Unfortunately just the pure fact that Safes...

were created by the same address
have the same owner
conducted the same transactions
... is not enough reasoning for a valid submission, as there are legit user behaviour leading to such as well (relayer, scripts, power users)

This submission didn't provide sufficient indicators to convince the team that there is some targeted airdrop farming behind the provided addresses. As per the rules, when in doubt we will default in favor of the airdrop recipients in order to not risk any false positives when sorting out airdrop hunters.

authors: lukasschor tschubotz yt00131


text:
Unexpected source state when querying: 2

I've seen this error appear transiently in my logs when using eventsByPersistenceId:
Unexpected source state when querying: 2

I think it tracks down to https://github.com/safety-data/akka-persistence-redis/blob/17563b5f236ee88e57b8cc70b896270fa538c044/src/main/scala/akka/persistence/query/journal/redis/EventsByPersistenceIdSource.scala#L203-L205
which seems like it can get hit by https://github.com/safety-data/akka-persistence-redis/blob/17563b5f236ee88e57b8cc70b896270fa538c044/src/main/scala/akka/persistence/query/journal/redis/EventsByPersistenceIdSource.scala#L105-L107
Am I following this code path correctly?

Hi,
you are right, the state should be set to Idle before calling query. I will fix it an publish a new snapshot version tomorrow.
Thanks for reporting.

I believe this is now fixed in the latest snapshot version. Can you congirm?

authors: satabin sidsethupathi

repo: safety-data/akka-persistence-redis


text:
Issues during checkpoints 2/3

Hello,
I've encountered 2 different issues when running Finder on 2 separate genomes.

INFO:    Creating SIF file...
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:350: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
coverage_info[transcript_id]["bed_cov"] = np.array( temp )
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:656: RuntimeWarning: invalid value encountered in double_scalars
ratio2 = round( np.average( coverage_2nd_portion ) / np.average( coverage_3rd_portion ), 2 )
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:657: RuntimeWarning: invalid value encountered in double_scalars
ratio3 = round( np.average( coverage_3rd_portion ) / np.average( coverage_2nd_portion ), 2 )
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:657: RuntimeWarning: divide by zero encountered in double_scalars
ratio3 = round( np.average( coverage_3rd_portion ) / np.average( coverage_2nd_portion ), 2 )
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:656: RuntimeWarning: divide by zero encountered in double_scalars
ratio2 = round( np.average( coverage_2nd_portion ) / np.average( coverage_3rd_portion ), 2 )
Traceback (most recent call last):
File "/softwares/FINDER/Finder/finder", line 688, in
main()
File "/softwares/FINDER/Finder/finder", line 649, in main
orchestrateGeneModelPrediction( options, logger_proxy, logging_mutex )
File "/softwares/FINDER/Finder/finder", line 491, in orchestrateGeneModelPrediction
fixOverlappingAndMergedTranscripts( options, logger_proxy, logging_mutex )
File "/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py", line 740, in fixOverlappingAndMergedTranscripts
exon = list( map( int, exon.split( "-" ) ) )
ValueError: invalid literal for int() with base 10: '1e+05'
I believe the line 740 in fixOverlappingAndMergedTranscripts.py needs to be changed from exon = list( map( int, exon.split( "-" ) ) ) to exon = list( map( int, map(float, exon.split( "-" )) ) ) to fix this.

INFO:    Creating SIF file...
cat: /home/Maxim/software/FINDER/output/ChrsSoftMask/alignments/SRR11184196_round3_SJ.out.tab: No such file or directory
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:350: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
coverage_info[transcript_id]["bed_cov"] = np.array( temp )
Warning: couldn't find fasta record for 'ENA_OX243811_OX243811'!
Error: no genomic sequence available (check -g option!).
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:657: RuntimeWarning: divide by zero encountered in double_scalars
ratio3 = round( np.average( coverage_3rd_portion ) / np.average( coverage_2nd_portion ), 2 )
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:656: RuntimeWarning: invalid value encountered in double_scalars
ratio2 = round( np.average( coverage_2nd_portion ) / np.average( coverage_3rd_portion ), 2 )
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:657: RuntimeWarning: invalid value encountered in double_scalars
ratio3 = round( np.average( coverage_3rd_portion ) / np.average( coverage_2nd_portion ), 2 )
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:656: RuntimeWarning: divide by zero encountered in double_scalars
ratio2 = round( np.average( coverage_2nd_portion ) / np.average( coverage_3rd_portion ), 2 )
/softwares/FINDER/Finder/scripts/fixOverlappingAndMergedTranscripts.py:655: RuntimeWarning: divide by zero encountered in double_scalars
ratio1 = round( np.average( coverage_2nd_portion ) / np.average( coverage_1st_portion ), 2 )
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/softwares/FINDER/Finder/scripts/removeRedundantTranscripts.py", line 22, in findSubsetTranscripts
if transcripts_fasta[transcript_i] in transcripts_fasta[transcript_j]:
KeyError: 'ENA_OX243811_OX243811.1_0_covsplit.0'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/softwares/FINDER/Finder/finder", line 688, in
main()
File "/softwares/FINDER/Finder/finder", line 649, in main
orchestrateGeneModelPrediction( options, logger_proxy, logging_mutex )
File "/softwares/FINDER/Finder/finder", line 500, in orchestrateGeneModelPrediction
removeRedundantTranscripts( input_gtf_filename, output_gtf_filename, options )
File "/softwares/FINDER/Finder/scripts/removeRedundantTranscripts.py", line 85, in removeRedundantTranscripts
results = pool.map( findSubsetTranscripts, all_inputs )
File "/usr/lib/python3.8/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
KeyError: 'ENA_OX243811_OX243811.1_0_covsplit.0'
I haven't found a possible solution for this issue. Hope you can patch these.
On a side note, the issues people are experiencing regarding empty psiclass and no combined gff files could be due to people not splitting their paired-end reads from reads.fastq to reads_1.fastq + reads_2.fastq with SRA toolkit's fastq-dump.

Hello @Maxim-Karpov,
Thank you for your interest in finder. We are currently working on developing a different version of finder that will address most of the issues that are listed here. I do not anticipate making any further changes to the old version since the entire architecture of the new software will be hugely different.
Thanks for pointing out the issue with merged reads. We will definitely look into it.
Thank you.

Hello @Maxim-Karpov,
Thank you for your interest in finder. We are currently working on developing a different version of finder that will address most of the issues that are listed here. I do not anticipate making any further changes to the old version since the entire architecture of the new software will be hugely different.
Thanks for pointing out the issue with merged reads. We will definitely look into it.
Thank you.

Thanks for promptly getting back to me. When do you expect to release the new version of finder?


text:
Training details for refinement and upscaling

Thanks to your great work! But I still confuse on how to train Step 3(Refinement and upscaling using a super-resolution diffusion process).which config file does it use or is there another way to train it?

Hi @hxy-123-coder,
Thanks for the inquiry!
You're right to be confused, as this repository does not contain the training procedure for the super-resolution model.
The code for this is located in an extra repository.
I just set everything public: Here!
You will find a script that reproduces the super-resolution model used inCheff.
The basis of the current Cheff repository is the original LDM repository, which did not implement SR3. However, at the time of doing the project, for me it was a more dedicated solution to do a from scratch implementation of SR3 instead of trying to integrate it into the LDM framework.
In the new repository I tried to make everything as barebones (only plain torch) and easy-to-read as possible.
The original plan was to develop the new repo into a fully fledged framework, but then the hype towards Stable Diffusion kicked off and with the diffusers library my tiny project became obsolete within a few weeks ;).
I hope I could give you the information you need.
If you have more questions, please let me know.
Cheers,
Tobias

Thanks for your reply! I will have a try.
At 2023-08-10 16:38:28, "Tobias Weber" @.***> wrote:
Hi @hxy-123-coder,
Thanks for the inquiry!
You're right to be confused, as this repository does not contain the training procedure for the super-resolution model.
The code for this is located in an extra repository.
I just set everything public: Here!
You will find a script that reproduces the super-resolution model used inCheff.
The basis of the current Cheff repository is the original LDM repository, which did not implement SR3. However, at the time of doing the project, for me it was a more dedicated solution to do a from scratch implementation of SR3 instead of trying to integrate it into the LDM framework.
In the new repository I tried to make everything as barebones (only plain torch) and easy-to-read as possible.
The original plan was to develop the new repo into a fully fledged framework, but then the hype towards Stable Diffusion kicked off and with the diffusers library my tiny project became obsolete within a few weeks ;).
I hope I could give you the information you need.
If you have more questions, please let me know.
Cheers,
Tobias
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

repo: saiboxx/chexray-diffusion


text:
dmc swimmer

#103

#include <bits/stdc++.h>

#include <mjxmacro.h>
#include <mujoco.h>
#include <sstream>
#include "pugixml.hpp"

std::string GetFileContent(const std::string& base_path,
                           const std::string& asset_name) {
  // hardcode path here :(
  std::string filename = base_path + "/" + asset_name;
  std::ifstream ifs(filename);
  std::stringstream ss;
  ss << ifs.rdbuf();
  return ss.str();
}

struct xml_string_writer: pugi::xml_writer
{
    std::string result;

    virtual void write(const void* data, size_t size)
    {
        result.append(static_cast<const char*>(data), size);
    }
};

std::string GetManipulatorXML(const std::string &base_path,
                              const std::string &task_name)
{
    int n_bodies = 3;
    if (task_name == "swimmer6") {
        n_bodies = 6;
    } else if (task_name == "swimmer15") {
        n_bodies = 15;
    }
    double scale = n_bodies / 6.0;
    std::string content = GetFileContent(base_path, "swimmer.xml");
    pugi::xml_document doc;
    doc.load_string(content.c_str());
    pugi::xpath_node_set cameras = doc.select_nodes("//worldbody/body/camera");
    for (const pugi::xpath_node &c : cameras) {
        std::string mode = c.node().attribute("mode").value();
        if (mode != "trackcom") {
            continue;
        }
        std::istringstream in(c.node().attribute("pos").value());
        std::ostringstream out;
        for (int i = 0; i < 3; ++i) {
            double x;
            in >> x;
            if (i > 0) {
                out << " ";
            }
            out << x * scale;
        }
        c.node().attribute("pos").set_value(out.str().c_str());
    }

    pugi::xml_node mjc = doc.select_node("/mujoco").node();
    pugi::xml_node actuator = mjc.append_child("actuator");
    pugi::xml_node sensor = mjc.append_child("sensor");
    pugi::xml_node body = doc.select_node("//worldbody/body").node();
    std::string joint_range = std::to_string(360.0 / n_bodies);
    joint_range = "-" + joint_range + " " + joint_range;

    for (int i = 0; i < n_bodies - 1; ++i) {
        std::string id = std::to_string(i);
        // motor
        pugi::xml_node motor = actuator.append_child("motor");
        motor.append_attribute("joint") = ("joint_" + id).c_str();
        motor.append_attribute("name") = ("motor_" + id).c_str();
        // velocimeter
        pugi::xml_node velocimeter = sensor.append_child("velocimeter");
        velocimeter.append_attribute("name") = ("velocimeter_" + id).c_str();
        velocimeter.append_attribute("site") = ("site_" + id).c_str();
        // gyro
        pugi::xml_node gyro = sensor.append_child("gyro");
        gyro.append_attribute("name") = ("gyro_" + id).c_str();
        gyro.append_attribute("site") = ("site_" + id).c_str();
        // body
        pugi::xml_node child = body.append_child("body");
        child.append_attribute("name") = ("segment_" + id).c_str();
        child.append_attribute("pos") = "0 .1 0";
        body = child;
        pugi::xml_node geom = body.append_child("geom");
        geom.append_attribute("class") = "visual";
        geom.append_attribute("name") = ("visual_" + id).c_str();
        geom = body.append_child("geom");
        geom.append_attribute("class") = "inertial";
        geom.append_attribute("name") = ("inertial_" + id).c_str();
        pugi::xml_node site = body.append_child("site");
        site.append_attribute("name") = ("site_" + id).c_str();
        pugi::xml_node joint = body.append_child("joint");
        joint.append_attribute("name") = ("joint_" + id).c_str();
        joint.append_attribute("range") = joint_range.c_str();
    }

    xml_string_writer writer;
    doc.print(writer);
    return writer.result;
}

int main(int argc, char **argv) {
    auto raw_xml = GetManipulatorXML("dmc", argv[1]);
    std::cout << raw_xml << std::endl;
    std::unique_ptr<mjVFS, void (*)(mjVFS*)> vfs(new mjVFS, [](mjVFS* vfs) {
        mj_deleteVFS(vfs);
        delete vfs;
    });
    mj_defaultVFS(vfs.get());
    // save raw_xml into vfs
    std::string model_filename("model_.xml");
    mj_makeEmptyFileVFS(vfs.get(), model_filename.c_str(), raw_xml.size());
    std::memcpy(vfs->filedata[vfs->nfile - 1], raw_xml.c_str(), raw_xml.size());
    char error[1000];
    mjModel* model = mj_loadXML(model_filename.c_str(), vfs.get(), error, 1000);
}

repo: sail-sg/envpool


text:
如何得到 test_pile_loss_1m.csv？

非常棒的工作！
请问如何得到 test_mixture_1m.csv 和 test_pile_loss_1m.csv，再训练256个比例得到吗？（相比于用于拟合的已有的512个训练比例和loss）

@YWMditto 感谢你的关注，是的，这256个比例不能在train里出现过（否则就不是test了），可以用我们code里的sort_and_deduplciate函数去一下重复～（https://github.com/sail-sg/regmix/blob/124b971f9b9d626ff08d562b20c211c903ce534b/mixture_config/synthesize_mixture.py#L253）。

了解，十分感谢！

authors: SivilTaram YWMditto

repo: sail-sg/regmix


text:
[Feature] Simplified Free-Flow User Specified API Calls

This command would allow a user to run any api call they want, with the syntax of:
sail api /the/endpoint
This would allow users to use the CLI in a much wider range of supported ways then what we support out of the box, and would let them make more complex calls in a pipeline fashion
Github has a great example:
https://github.com/cli/cli/tree/trunk/api

https://github.com/cli/cli/blob/trunk/pkg/cmd/api/api.go

authors: LukeHagar luke-hagar-sp

repo: sailpoint-oss/sailpoint-cli


text:
Update send-helper.md

This fixes #33

Great PR. I'll merge soon. Thanks @lennyAiko

Sorry for the late response @DominusKelvin
I have made the changes you requested, I also added something new as I just made use of it.
Thanks.

authors: DominusKelvin lennyAiko


text:
Radian to Degree in Calculator

DEG to RAD and vice versa toggle function added for issue #16
to make to work remove incall from html and addeventlistener in appjs/simplecallogic.js

@sairish2001  will you please add gssoc 2021 tag in this pull-request as well as in  #16


text:
Manhattan Distance Calculator button not working

Describe the bug
Manhattan Distance Calculator button not working
Screenshots

If applicable, add screenshots to help explain your problem.

Hi, I want to work on this issue I will start working on it as soon as I get assigned!! I am a part of GSSoC'21.
Kindly assign this issue to me!
Discord Username : Abhijeet Sinha(P)
Discord Tag: #4018


text:
Fixed Issue Number #327 (To allign inputs in matrix and also in some other section in center )

Closes: #[issue number that will be closed through this PR]
Issue Number #327
Describe the changes you've made
I have alligned input in matrix and also in some other section
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] My changes generate no new warnings.

Screenshots

Original
Updated

original screenshot
updated screenshot

@abhijeet141 What's the progress on this? Anything you're stuck on?

@abhijeet141 What's the progress on this? Anything you're stuck on?
Actually i have made changes but it is showing that there are conflicts

@satcasm How you reviewed our PR?

@sairish2001 was I not supposed to? If so my bad. ;)

@satcasm While we do appreciate your eagerness to help others, you must understand that reviewing the PRs of fellow participants without the approval of the repository owner or the maintainers is bad practice. Hope you understand, and please refrain from doing so in the future. But we really hope you help new contributors contribute to this repository in other ways!

@shrey27tri01 thanks for the heads up and I apologize for not asking prior permission.

@satcasm No issues at all!

@abhijeet141 There are a lot of unnecessary changes in the file appjs/matrixlogic.js, like addition/removal of spaces. Please remove these, since they are not required.
Moreover, in the file index.html, you have used the <center> tag, which has ben deprecated (refer here). Please replace the usage of <center> tags with alignment through css.

I will make all changes 🙂

I am closing this PR and will make a new PR :)


text:
SAM-2832 Create Survey question screen. Add Bootstrap

After adding bootstrap

LGTM, looks great

Could you solve the conflicts @alejandrogj ?

@juanjmerono conflicts solved

authors: SedueRey alejandrogj juanjmerono

repo: sakaiproject/sakai


text:
SAM-3176 - Table of contents and Show Feedback buttons no longer display

I took Shawns advice on SAK-32282 and they do display now, but the left alignment seems a little off here?

It looks a lot better if I remove the margin from the navIntraTool scss. Is there some class or container that this is missing?


text:
SAK-32034 Ensure instruction only displayed if required.

Also change text of second instruction.
Post fix screenshots:

I have made the change you suggested Sam.

Could you merge this now Sam?
Thanks.


text:
Upgrade Gradle to 6.3 and add SHA256 checksum field

The checksum field is added by hand and must be updated manually.

Ugh forgot about the cli bug that misplaces fork parents. Sorry for the noise!

repo: saket/Dank


text:
repl cannot be used from lua coroutine

resty-repl
[1] lua(main)> c = coroutine.create(function() require('resty.repl').start() end)
=> nil
[2] lua(main)> coroutine.resume(c)
=> { false, "/usr/local/share/lua/5.1/resty/repl/binding.lua:87: attempt to perform arithmetic on a nil value" }

@keepcosmos, no it wasn't still only in master branch.

repo: saks/lua-resty-repl


text:
[Experimental] Implementing the Timers series to the pedestrian/car checking scenario

This branch is yet experimental. DO NOT Merge without reviewing!

Test on the real hardware was not yet completed, code subject to change.
Open for reviews! State them on this thread.

repo: saleemhamo/traffic-light-system


text:
[WIP] Introduce interfaces for fetching and updating visitor info

Currently widgets allow fetching and updating visitor info only after engagement has been started. This PR aims to resolve this by introducing interfaces that will setup the configuration but avoid starting the engagement.
MOB-1007

One more thing, perhaps we need to deprecate the original public func start( method and/or replace the body. To be consistent and avoid code duplication.
public func start(
    _ engagementKind: EngagementKind,
    configuration: Configuration,
    queueID: String,
    visitorContext: VisitorContext,
    theme: Theme = Theme(),
    features: Features = .all,
    sceneProvider: SceneProvider? = nil
) throws {
    try configure(
        with: configuration,
        queueID: queueID,
        visitorContext: visitorContext
    )

    try startEngagement(
        engagementKind: engagementKind,
        theme: theme,
        features: features,
        sceneProvider: sceneProvider
    )
}

Good point. I went with the latter, reused methods without deprecation 43a2f2b600b254b64db08a672532a65d2d8a4936

repo: salemove/ios-sdk-widgets


text:
Abstract CoreSDK in Widgets to introduce unit tests

This PR aims to start process of abstraction core SDK in order make Widgets testable. This is the first step: narrow down imports of core SDK and use CoreSDKClient namespace instead. It is necessary to be done soon since changes are impactful and may introduce merge conflicts with ongoing development of features if addressed later.
MOB-1120

Maybe merge to dev though

!merge

authors: igorkravchenko kuldar-daniel


text:
Add new "Dashboard Extensions" mounting points (static)

Rel https://github.com/saleor/saleor-dashboard/pull/2550
Add new extension mounting points that can statically render iframe in dashboard pages (not in modals)

Will be covered here https://github.com/saleor/apps/issues/1029

repo: saleor/app-sdk


text:
When migrate for the first time, redis needs a bytes-like object not 'str'

What I'm trying to achieve
I installed saleor and want to migrate the database
Steps to reproduce the problem

git clone https://github.com/mirumee/saleor-platform.git --recursive --jobs 3
cd saleor-platform
docker-compose build
docker-compose run --rm api python3 manage.py migrate

when I run docker-compose run --rm api python3 manage.py migrate  I got this error that says for redis a bytes-like object is required, not a 'str':
Starting saleor-platform_db_1 ...
Starting saleor-platform_jaeger_1 ... done
Starting saleor-platform_redis_1  ...

ERROR: for saleor-platform_redis_1  a bytes-like object is required, not 'str'

ERROR: for saleor-platform_db_1  a bytes-like object is required, not 'str'

ERROR: for redis  a bytes-like object is required, not 'str'

ERROR: for db  a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 261, in _raise_for_status
    response.raise_for_status()
  File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.22/containers/b2af45995c6d0c995c0ef60c20510758de89c0ecc85ae261f12eec85518fb37d/start

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/compose/service.py", line 625, in start_container
    container.start()
  File "/usr/lib/python3/dist-packages/compose/container.py", line 241, in start
    return self.client.start(self.id, **options)
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 19, in wrapped
    return f(self, resource_id, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/container.py", line 1095, in start
    self._raise_for_status(res)
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 263, in _raise_for_status
    raise create_api_error_from_http_exception(e)
  File "/usr/lib/python3/dist-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
    raise cls(e, response=response, explanation=explanation)
docker.errors.APIError: 500 Server Error: Internal Server Error ("b'driver failed programming external connectivity on endpoint saleor-platform_db_1 (3e3649e78633929b6949878b617708e3854015bf507f9909f770f8e3d642f79a): Error starting userland proxy: listen tcp4 0.0.0.0:5432: bind: address already in use'")

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 11, in <module>
    load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
    command()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 128, in perform_command
    handler(command, command_options)
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 896, in run
    run_one_off_container(
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1343, in run_one_off_container
    project.up(
  File "/usr/lib/python3/dist-packages/compose/project.py", line 565, in up
    results, errors = parallel.parallel_execute(
  File "/usr/lib/python3/dist-packages/compose/parallel.py", line 112, in parallel_execute
    raise error_to_reraise
  File "/usr/lib/python3/dist-packages/compose/parallel.py", line 210, in producer
    result = func(obj)
  File "/usr/lib/python3/dist-packages/compose/project.py", line 548, in do
    return service.execute_convergence_plan(
  File "/usr/lib/python3/dist-packages/compose/service.py", line 567, in execute_convergence_plan
    return self._execute_convergence_start(
  File "/usr/lib/python3/dist-packages/compose/service.py", line 506, in _execute_convergence_start
    _, errors = parallel_execute(
  File "/usr/lib/python3/dist-packages/compose/parallel.py", line 112, in parallel_execute
    raise error_to_reraise
  File "/usr/lib/python3/dist-packages/compose/parallel.py", line 210, in producer
    result = func(obj)
  File "/usr/lib/python3/dist-packages/compose/service.py", line 508, in <lambda>
    lambda c: self.start_container_if_stopped(c, attach_logs=not detached, quiet=True),
  File "/usr/lib/python3/dist-packages/compose/service.py", line 620, in start_container_if_stopped
    return self.start_container(container)
  File "/usr/lib/python3/dist-packages/compose/service.py", line 627, in start_container
    if "driver failed programming external connectivity" in ex.explanation:
TypeError: a bytes-like object is required, not 'str'

What I expected to happen
I expect the migration to be completed and then I could populated the database
Screenshots and logs

System information

I am on Ubuntu 20.04
Saleor version:

[x] dev (current master)
[ ] 3.0
[ ] 2.11
[ ] 2.10

Operating system:

[ ] Windows
[x] Linux
[ ] MacOS
[ ] Other

hi @Rahimz , i think according to this line
docker.errors.APIError: 500 Server Error: Internal Server Error ("b'driver failed programming external connectivity on endpoint saleor-platform_db_1 (3e3649e78633929b6949878b617708e3854015bf507f9909f770f8e3d642f79a): Error starting userland proxy: listen tcp4 0.0.0.0:5432: bind: address already in use'")
some other db or app using same port as postgres(5432).
I think for  db to start the port 5432 should be free

@akitibala I have postgres.service and redis-server.service running on my Ubuntu, so both of these use ports that cause this server error. After I stooped them the migrations completed.

I suggest for anyone who faces this problem to run sudo netstat -tunlp to detect the LISTENIG ports, then shut down the process/service who is listening on that particular port.

authors: Rahimz akitibala metouitude

repo: saleor/saleor


text:
Add release issue template

This template will be used to create issues where we'll be tracking progress on new minor releases of Saleor.

It is only a detail but Is it okay that you rely on a specific person? What if you will be off or something? Shouldn't we have here assigned groups? Even if this will be single person group.

@korycins We don't want to ping entire teams, only responsible people. If they'll be off/unavailable, we'll agree on who's replacing them and change them in the task.

authors: korycins maarcingebala


text:
Added Index for 'Created' field of the Order Model

I want to merge this change because it fixed #12410

Impact

[x] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are either absent or guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migrations are either absent or optimized for zero downtime
[ ] The changes are covered by test cases

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@ritanjandawn There are the following errors in CI checks:
2023-08-31 13:34:41,922 WARNING saleor.core.jwt_manager RSA_PRIVATE_KEY is missing. Using temporary key for local development with DEBUG mode. [PID:642:MainThread]
CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0173_auto_20230816_1245, 0173_order_idx_order_created_at in order).
To fix them run 'python manage.py makemigrations --merge'
2023-08-31 13:34:41,928 WARNING saleor.core.jwt_manager RSA_PRIVATE_KEY is missing. Using temporary key for local development with DEBUG mode. [PID:6[43](https://github.com/saleor/saleor/actions/runs/5983305394/job/16383400254?pr=13682#step:7:44):MainThread]
CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0173_auto_20230816_12[45](https://github.com/saleor/saleor/actions/runs/5983305394/job/16383400254?pr=13682#step:7:46), 0173_order_idx_order_created_at in order).
To fix them run 'python manage.py makemigrations --merge'

Could you remove the migration file, rebase the PR and recreate the migration?

Thank you for contributing to Saleor @ritanjandawn !

authors: CLAassistant maarcingebala ritanjandawn


text:
Using preprocess_phi_3_new in LAVIS/open_flamingo/train/sft_data_utils.py gets labels all -100.

Hello, thank you for your wonderful work.
I have a problem re-implementing LazySupervisedDataset and am stuck at the position of retrieving training labels. All labels are -100.

Below is a screenshot of my dataset:

I completely reuse your LazySupervisedDataset. When I initialize data_path, tokenizer, image_processor, and args, it runs without any issues. However, when I check the labels it generates, the tensor is entirely -100.
I debugged this strange behavior and found that the issue occurs because of the following piece of code:

First, when the if-clause above reaches the “user round,” the cur_len is absolutely not equal to total_len, so the line target[:] = IGNORE_INDEX is always executed.

Second, the code at line 226 does not skip the bos token but instead skips the |assistant| token. I don’t understand the reasoning behind this behavior.

@mgomes @zahnster @awaterma @ekashida

Not sure if it was an oversight by the author, but I believe these two lines of code should be commented out.

Hi @JHW5981,
Thank you for trying out with our code.
In my local environment, the current code works with the latest phi3-mini model/tokenizer. The commented code in line 225-226 was working with a previous version of phi3 tokenizer (the said phi3 model update).
Could you check if your local phi3 model is up-to-date?

Hello, glad to receive your response.
Replacing the tokenizer with the newest Phi-3 tokenizer does not solve my problem.
I downloaded the weights from Salesforce/xgen-mm-phi3-mini-instruct-r-v1 and used the following code to load the tokenizer:
from transformers import AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("my local weight dir")

To update the tokenizer, I replaced the files 'special_tokens_map.json', 'tokenizer_config.json', 'tokenizer.json', and 'tokenizer.model' with those from microsoft/Phi-3-mini-4k-instruct. After reloading the tokenizer, the issue persists.
I wonder if lines 225-266 in the code are essential. On line 221, the <|assistant|> token is already added. If lines 225-266 are not commented out, the <|assistant|> token is not masked. I believe this behavior is not consistent with how user-defined tokens should normally be masked.

By the way, do you know why using the tokenizer to convert text to ids does not add special tokens, even when I explicitly set add_special_tokens=True?😂

repo: salesforce/LAVIS


text:
Trouble reproducing Bridge-Large 70.0% EM on Spider dev

First of all, thank you for sharing this terrific work. I found it really straightforward to plug and start training.
However, when training Bridge-L (with BERT large) on Spider I'm unable to reach 70.0% EM on the dev set. My results keep peaking at around 66.7%.
I'm training on GeForce RTX 3090 and the default setting with batch size 16 was too much for it's 24GB mem. So, I've tried out a few runs with batch sizes 8, 4, 2 and accum steps 4, 8, 16 respecitvely (other hyperparameters are the default ones). All these runs ended up capping at <67% after more than 100K steps.
I was wondering whether this is simply the result of the different hardware and my batch sizes being smaller than 16, or am I missing something?
Thanks!

Varying the batch size your way shouldn't change performance because the effective batch size is kept at 32.
Would you mind sharing your training curve or the accuracy change log?

Sure thing. Below are the EM performance curves for all four of the models I tried to train. The top performing model (with batch size 8 and accum steps 4) managed to score 67.1%:

Please let me know if there's any other info that might help. Thanks!

The difference might be caused by the Data Repair step described in section 4.3 of the paper.
I've modified the data processing steps to incorporate this step, please git pull and follow the instructions here:
https://github.com/salesforce/TabularSemanticParsing#spider

I got the same EM accuracy on spider dev  66.7% as well. I pulled the latest repo last week and did the data repair.
My config is the exact config, except the training and dev batch size=8 instead of 16 and 24.
Shall I use some different configurations to achieve 70.0%?

repo: salesforce/TabularSemanticParsing


text:
Update DSR to Summer ’18 (SLDS 2.6.0)

The Summer '18 (SLDS 2.6.0) version of SLDS is available on https://lightningdesignsystem.com/ so we should update DSR to use the Summer '18 version.

@interactivellama

@kwilloughby Added to backlog https://github.com/salesforce/design-system-react/milestone/20

3 Issues from changes from update to SLDS 2.6.0. I will investigate them.

A max-width has been added to tooltips and popovers.

authors: interactivellama kwilloughby

repo: salesforce/design-system-react


text:
paste1c.ru ругается на текст легального кода 1С

В тексте есть неразрывные пробелы (Символы.НПП)
_РежимОтладки = Ложь;
Если _РежимОтладки Тогда // Можно менять на Истина в точке останова, например условием ирОбщий.ПрЛкс(_РежимОтладки, 1, 1)
	// Пассивный оригинал расположенного ниже однострочного кода. Выполняйте изменения синхронно в обоих вариантах.
	Для Индекс = 0 По Количество - 1 Цикл
	  Массив2[Индекс] = Истина;
	КонецЦикла;
Иначе
	// Однострочный код использован для ускорения. Выше расположен оригинал. Выполняйте изменения синхронно в обоих вариантах. Преобразовано консолью кода из подсистемы "Инструменты разработчика" (http://devtool1c.ucoz.ru)
	Для Индекс = 0 По Количество - 1 Цикл    Массив2[Индекс] = Истина;  КонецЦикла;
КонецЕсли;

Скорее всего такое происходит из-за ссылки в комментарии. Подумаю, как улучшить контроль кода перед публикацией.

authors: salexdv tormozit


text:
bootstrap-salt version is too old to work on Arch

Installed via vagrant plugin install vagrant-salt, provisioning end up in failure running bootstrap not finding the proper dependencies.
I replaced the *bootstrap*sh scripts in the script directory inside vagrant to make it work properly.

Didn't see that salt is integrated with vagrant.. Uninstalled, and fixed. Thanks

repo: saltstack/salty-vagrant


text:
Feature request - Add option to place the saved tabs into a nested folder

Currently Save My Tabs drops all URLs into a bookmark folder and does not remember the last one used. Using the feature on multiple machines or with multiple Windows needs tweaking all the time I want to save the tabs. If I do a mistake once and set the same folder on two browsers it will mix the two URL lists.
As the extension saves automatically to the same folder on every computer - and users usually sync their bookmarks - the timed feature will mix the URL list for sure.
The feature would be the extension save the last folder name the user has set or ask for user input for the folder name it should auto save to. This way users can customize the folder name to allow them to be unique across all computers and browsers,
The idea is that a user can have as many computers/browsers as he/she wants as long a unique folder name is set to the save folder.

Window Titler does prepend a user defined string to every browser window. I regularly use it to prepend a different profile name to browser windows for every browser instance I happen to use.
That would come in handy for save-my-tabs to programmatically save browser tabs to folders named after their window title, hence eliminating the risk for multiple browser profiles/instances to save tabs to the same bookmark folder.

authors: frasty karatedog

repo: salvoventura/save-my-tabs


text:
Bad render quality on some Android devices

The rendering quality on some Android devices is pretty bad (see screenshots below).
Can the rendering artifacts somehow be reduced or removed?
Galaxy S5 Mini, Android v5.1.1 with the latest Chrome:

Nexus 10, Android v5.1.1 with the latest Firefox:

It looks like it's a pixel off when copying from the diffmap images. Do you see the same issue on the examples on http://git.io/whitewater? I Couldn't reproduce on my Nexus 9 (Android 5.5.5, Chrome 51.0.2704.81) but I'll hunt around for a device displaying the same issue so I can try to find the cause.

Yes, I see the same issue on the demo page.
However only Firefox for Android is affected in this case:

authors: samiare slavanga

repo: samiare/whitewater-mobile-video


text:
Got error when try to install requirement

i got this error when i has running on "pip install -r requirements.txt"

Ok, i fixed it by installing rust compiler


text:
'SwiftyPing' initializer is inaccessible due to 'internal' protection level

All SwiftyPing.inits use default protection level resulting them to be internals.
Please explicitly declare SwiftyPing initializers as public to allow other packages to access them.

Should be fixed, see latest commit 1ff9ce6.

authors: samiyr vsevolod-volkov

repo: samiyr/SwiftyPing


text:
Readme tweak?

"For the ID use something like AlexaCHIP" Not AlexaPi?

Thanks, missed that when copying from the CHIP repo, although as a name it wouldn't really matter, you could use "HoneyBadger" ;)

authors: sammachin tobiasboyd

repo: sammachin/AlexaPi


text:
[Snyk] Upgrade jszip from 3.9.1 to 3.10.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade jszip from 3.9.1 to 3.10.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released a year ago, on 2022-08-02.

Release notes

Package name: jszip

3.10.1 - 2022-08-023.10.1

3.10.0 - 2022-05-203.10.0

3.9.1 - 2022-04-063.9.1

    from jszip GitHub release notes

Commit messages

Package name: jszip

0f2f1e4 3.10.1
cae5510 Updates for v3.10.1
179c9a0 Update changelog for 3.10.1
61e1df5 Add Jekyll files to gitignore
f299cce Merge pull request #852 from Stuk/metadata-ts
852887a Consolidate metadata types and expose OnUpdateCallback
5be00df Add sponsorship files
dabe864 Update package-lock for benchmark
cc554da Merge pull request #841 from stevennyman/patch-2
caefbc0 Merge pull request #834 from Stuk/benchmark
53a4f14 Add trailing newlines
3b1f8b7 Add benchmark to PR workflow
aa67068 Align on "benchmark" instead of "perf"
da96cb5 Update actions/cache to v3
6f2474d Add perf/benchmark for browser
8d07f3c Refactor test runner for perf tests
204a60d Add node perf test
260e68a Merge pull request #839 from stevennyman/patch-1
eaacc68 Merge pull request #842 from Stuk/eslint
5221202 Fix eslint errors
85c2348 Replace jshint with eslint
4e4c01a Update package-lock
60de12b Update current version on website
07b85ad Switch manual download link to HTTPS

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

👷 Deploy Preview for enchanting-melba-222e50 processing.

Name
Link

🔨 Latest commit
b25c630cd9b9f0c146799d1bca0a30f9df4e4412

🔍 Latest deploy log
https://app.netlify.com/sites/enchanting-melba-222e50/deploys/64d69fa5eaa46a000839740c

repo: sammyfilly/netlify-plugin-takeshape


text:
Update README.md

I added commands samples how to use the code

Thanks you

Oops... I deleted the development branch after the merge.
Please create a pr for the master.

authors: kaurov samovar

repo: samovar/symfony-console-skeleton


text:
Train my own datasets

Hello, thank you for sharing the code.
But I got some trouble training my own data. I was wondering if anyone can share their own training code including preparing data for network and the training part.

Same issue.

authors: leeskyed lovemmmax


text:
Tab effects

It seems awkward clicking on a tab has no effect like fading, but the accordion has a toggle effect. Is this intentional? And would adding a fade effect to the tab view conflict with the accordion?
Using CSS (with Modernizer for animation detection), this is how I did it. Perhaps, there is a better way?
#demoTab .resp-tab-content > * {
opacity: 0;
}
@-webkit-keyframes fadeIn {
      from { opacity: 0; }
        to { opacity: 1; }
}
@keyframes fadeIn {
      from { opacity: 0; }
        to { opacity: 1; }
}
#demoTab .resp-tab-content.resp-tab-content-active > * {
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s;
opacity: 1;
}
.no-cssanimations #demoTab .resp-tab-content > * {
opacity: 1;
}

@djmtype great solution and just what I was looking for. I'm glad you were able to incorporate modernizr for ux..cheers

authors: djmtype dougshults


text:
Adding ability to graph multiple SQS queues via symlink

Adding ability to use ":" separator for symlinks. This allows one graph to contain multiple message queues without setting an environment variable. Ex. "ln -s aws_sqs_queue_length_testqueue1:testqueue2:testqueue3 => /usr/share/munin/plugins/aws_sqs_queue_length_"

I added this ability because I was unable to specify multiple queues via a symlink using "," as a separator. Munin gave me an error of # ERROR: Invalid plugin name 'aws_sqs_queue_length_testqueue1,testqueue2.

Retaining ability to use the "," separator for queues to graph specified via "os.environ['SQS_QUEUES']"

Closed pr. I haven't used this for a very long time and this repo no longer seems active.

repo: samuel/python-munin


text:
Prevent fields from being deleted from BaseModel.dict when a field validator raises an unexpected expection

Change Summary
Addressing https://github.com/samuelcolvin/pydantic/issues/2044

Related issue number
https://github.com/samuelcolvin/pydantic/issues/2044

Checklist

[ ] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[x] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)

I could add some additional unit tests for this edge case as well, just let me know how you'd like to handle it.

what would be wrong with
                try:
                    value, error_ = known_field.validate(value, self.__dict__, loc=name, cls=self.__class__)
                    if error_:
                        raise ValidationError([error_], self.__class__)
                except Exception:
                    self.__dict__[name] = original_value
                    raise
                else:
                    new_values[name] = value

?

With @PrettyWood's additional context on why the field should still be removed from dict before calling the validators, that seems like a good compromise to me @samuelcolvin

authors: johnsabath samuelcolvin

repo: samuelcolvin/pydantic


text:
HTML tag export failed

I set the HTML tag, but this only seems to work in preview and does not export to PDF properly.
Below is my example and setup:

This issue was resolved when I reinstalled the plugin and software，thanks

repo: samuele-cozzi/obsidian-marp-slides


text:
Pull Request to Update Student Bio Page

The portfolio link of the student bio page was updated with this PR.

The changes have been reviewed and is now being approved for merging into the main.


text:
Added CI branch name test

Closes #50

Deprecated by https://github.com/samvera-labs/bixby/pull/61

authors: jrgriffiniii kelynch

repo: samvera-labs/bixby


text:
calling from outside the viewcontroller

I'm sure its a simple answer but I can't seem to figure out how to call progressHud from outside the view controller, Say like in an outside class, I have various downloading methods and I'd like to call PH from there instead of setting up various NSNotifications.

Yes, and I also recently added more convenience methods (since calling showInView:nil isn't that obvious...
+ (void)showWithStatus:(NSString*)status;
+ (void)showWithStatus:(NSString*)status maskType:(SVProgressHUDMaskType)maskType;
+ (void)showWithMaskType:(SVProgressHUDMaskType)maskType;

authors: cawaker samvermette

repo: samvermette/SVProgressHUD


text:
is there a way to set the find scope? to be able to test modal dialog elements

Am really enjoying this addon.
And I was wondering if there is a way to test modal-dialogs which attach themselves to the body and float outside the #ember-testing-container which all the find('class-selector') are usually scoped to.
I can do this ( with plain old ember test helper find ):
find('model-class-selector', 'body') // where I can change the scope to 'body'
but is there a way to do this and still use your clickable and value, fillable and all the other helper methods?  Not sure how to send this scope of 'body' for the find call into your helper methods?
has anyone done this already?
any hints?

Hey @danielspaniel I'm happy to hear you are enjoying it.
I'm not 100% sure, but I think there is no easy way of doing this (querying within 'body' and also keep everything working with the addon's features).
Are we talking about something like:
let page = PageObject.create({
  scope: '.page',

  modal: {
     scope: "#my-modal",
     resetScope: true,
     fillInName: fillable('#name')
  }
}

page.modal.fillIn('Juan') // translates into find('#my-modal #name').val('Juan') using Ember's testing find method which looks within "#ember-testing-container".

I'm not sure if there is a way of overriding or changing how Ember's testing find method works, but in case it would be possible, we could add a 'global' options or something. But I said before, I'm nor sure if this approach would work.

yes .. that is what I was thinking too
let page = PageObject.create({
  scope: 'body', // ? not sure

  modal: {
     scope: "#my-modal",
     resetScope: true,
     fillInName: fillable('#name')
  }
}

what we would need is for it to then do:
 find('#my-modal #name', 'body').val('Juan')

so it would not be overriding ember-test helper .. just using it and passing in the body selector.
You know the internals of page object pretty well, so if you think it can be done I am willing to give it a shot too.

Looking into https://github.com/emberjs/ember.js/blob/v2.3.0/packages/ember-testing/lib/helpers.js#L170 it seems we can pass body as an argument, I guess we can build this feature and it shouldn't be too hard. Passing a "rootElement" to the findCall we do, if the options is set.

right .. do you want to give it a shot or help me do it?  I can get on screen hero sometime tonight or tomorrow if you like?

or you could temporarily set the rootElement on the application .. but that is pretty bad style

@danielspaniel: Alternately, you could re-write the modal to attach itself to the Ember app's rootElement rather than to body. (This might be a good idea anyway: The docs for Ember.Application note that "views appended to the DOM outside the root element will not receive events".)

hmm .. that was good idea .. @jeradg .. me like .. but not sure how to do that ..
checking ...

looks like there is target property on ember-modal-dialog .. ( which defaults to 'body' )  I will see if I can set it to ember rootElement and then see if the tests work ( great idea dude )

The docs for ember-modal-dialog say that you can set target to an Ember View. Maybe you can set it to the application view? (Just a guess. I've never worked with that addon.)

trying that now and using  Ember.getOwner(this).rootElement   to get that name .. so far looking promising

Since this seems to mostly be a usage question rather than an issue per se, we can always continue this discussion in the ember-cli-page-object channel on the Ember Slack community. (https://embercommunity.slack.com/messages/ember-cli-page-object)

sure thing

I think this is a really good question to have in a FAQ in the site, I struggled with this problem in a project I have and the solution was to change the modal library I was using (tooltipster) to append to the application's root element.
Apart from that It would be nice to have an alternative to set the findElement scope for those cases when you don't have control on where the modal/tooltip or whatever appends to on the page. I'm going to think a bit about the API to achieve this but it could be something like having a rootElement property/option for all page object properties
var page = PageObject.extend({
  modal: {
    rootElement: 'body'
  },

  title: text('.modal h1', { rootElement: 'body' })
}

page.modal.text // find('', 'body').text()
page.title // find('.modal h1', 'body').text()

authors: danielspaniel jeradg juanazam san650


text:
🛑 Mastodon is down

In f9e491b, Mastodon (https://social.returntosander.net) was down:

HTTP code: 521
Response time: 477 ms

Resolved: Mastodon is back up in 68b5f74.

repo: sanderdatema/upptime


text:
added response time and fixed relative path on prev and next links

added page response time
fixed issue with prev and next links

Thanks for submitting this pull request.
Availability of the page response time is interesting, but I'm not sure it fits well within this extension.
Is the fix for prev and next links meant to turn relative links into absolute urls?

You're welcome.
Yes, I can remove the page response time but I think it's interesting for webmasters. Maybe make this optionally and remove it by default.
Yes your links look like "extension://yourappid/something?offset=12"
In this pull request i use the real hostname to build prev and next links.

I agree it's interesting for webmasters, but I think there a more performance metrics available which should be included (Navigation Timing API, Google PageSpeed Insights API).
I've considered to include these performance metrics, but think they better fit in a separate extension focused on 'page performance'.

Okay, I understand this point of view.
Should I remove the page speed feature and renew the pull request for the link issue?

Sorry for my late reply. That would be awesome.

I removed pageSpeed feature from pull request now. @sanderheilbron

repo: sanderheilbron/seo-peek


text:
Added your todo progress into the the statusBar

This features lets you know your progress in your todo list,

I would like to see a screenshot of this, this sounds interesting!

authors: cabello ndaifallah


text:
GITHUB-27 Replaces GO_SERVER and GO_SERVER_PORT with GO_SERVEL_URL

Updated the README with the example of the GO_SERVER_URL
changed the variable sansible_gocd_agent_server to sansible_gocd_agent_server_url to make it more consistent with the change in GOCD server configuration.
removed variable sansible_gocd_agent_port from defaults since it is no longer being used.

OK my fix for the Ansible Galaxy requirements has been merged, you will need to rebase your branch from master, please rebase as opposed to merge so we can avoid any nasty merge commits.

authors: ashishpundalik lobsterdore


text:
Getting property name when compiling and validating user-defined keyword via extensions

I have written a simple extension that introduces a custom keyword called "isKey".
In the Compile() method of the compiler and Validate() method of the schema, how could i know the name of the property for which this custom keyword has been defined ?
In the below sample code, "isKey" custom keyword has been defined for a property called "id" in the schema.
Now when isKeyCompiler.Compile() and isKeySchema.Validate() I would like to know that "isKey" is configured for a property called "id".
Is this information perhaps in the CompilerContext and ValidationContext ?
Would be great if you could show me how to get this information.
Sample Code
package main

import (
	"encoding/json"
	"errors"
	"fmt"
	"log"
	"strings"

	jsonschema "github.com/santhosh-tekuri/jsonschema/v5"
)

var isKeyMetaSchema = jsonschema.MustCompileString("isKey.json", `{
	"properties" : {
		"isKey": {
			"type": "boolean"
		}
	}
}`)

type isKeyCompiler struct{}

func (isKeyCompiler) Compile(ctx jsonschema.CompilerContext, m map[string]interface{}) (jsonschema.ExtSchema, error) {
	if isKey, ok := m["isKey"]; ok {
		b, isBool := isKey.(bool)
		if !isBool {
			return nil, errors.New(fmt.Sprintf(`isKey should have a boolean value, got: "%v"`, isKey))
		}

		if !b {
			// When isKey is false, no need to check for uniqueness
			return nil, nil
		}

		return newIsKeySchema(), nil
	}

	// nothing to compile, return nil
	return nil, nil
}

func newIsKeySchema() isKeySchema {
	return isKeySchema{
		valueCache: make(map[any]bool),
	}
}

type isKeySchema struct {
	valueCache map[any]bool // Key of the map is the value of the property which had isKey set as true.
}

func (s isKeySchema) Validate(ctx jsonschema.ValidationContext, v interface{}) error {
	_, exists := s.valueCache[v]
	if exists {
		return ctx.Error("isKey", "%v is not unique", v)
	}

	s.valueCache[v] = true

	return nil
}

func main() {
	c := jsonschema.NewCompiler()
	c.RegisterExtension("isKey", isKeyMetaSchema, isKeyCompiler{})

	schema := `{
		"type": "array",
		"items": {
			"type": "object",
			"required": ["id"],
			"properties": {
				"id": {
				  "description": "The unique identifier",
				  "type": "string",
				  "isKey": true
				}
			}
		}
	}`

	instance := `[
		{"id": "abc"},
		{"id": "xyz"}
	]`

	if err := c.AddResource("schema.json", strings.NewReader(schema)); err != nil {
		log.Fatal(err)
	}
	sch, err := c.Compile("schema.json")
	if err != nil {
		log.Fatalf("%#v", err)
	}

	var v interface{}
	if err := json.Unmarshal([]byte(instance), &v); err != nil {
		log.Fatal(err)
	}

	if err = sch.Validate(v); err != nil {
		log.Fatalf("%#v", err)
	}
}

I am not sure what you meant ?

I would like to know that "isKey" is configured for a property called "id"

it seems you don't want to hard code property name "id" in your extension.
the extension interface does not the relationship between the "isKey" and "Id" properties.
the extension interface does not even know what keywords it is defining.
if you need any information, you have to capture it while creating ExtSchema Object.
I would suggest following change in your code:
func (s isKeySchema) Validate(ctx jsonschema.ValidationContext, v interface{}) error {
       if m, ok := v.(map[string]interface{}) {
           key := m["id"]
           key, ok := key.(string);
           if !ok {
                  return ctx.Error("id", "id must be string", v)
           }
           if _, ok := s.valueCache[key]; ok {
                  return ctx.Error("id", "duplicate id", v)
           }
           s.valueCache[key] = v
       }
	return nil
}

You are correct about me not wanting to hardcode property name "Id" in the extension.
If there is no relationship maintained between the property name and user defined keyword name, then there's not much that can be done for my requirement.
Thanks for your time.

I got what you are trying to do. below is an implementation for your extension:
import (
        "encoding/json"
        "log"
        "strings"

        "github.com/santhosh-tekuri/jsonschema/v5"
)

var keyMeta = jsonschema.MustCompileString("powerOf.json", `{
        "properties" : {
                "key": {
                        "type": "string"
                }
        }
}`)

type keyCompiler struct{}

func (keyCompiler) Compile(ctx jsonschema.CompilerContext, m map[string]interface{}) (jsonschema.ExtSchema, error) {
        if k, ok := m["key"]; ok {
                return key(k.(string)), nil
        }

        // nothing to compile, return nil
        return nil, nil
}

type key string

func (k key) Validate(ctx jsonschema.ValidationContext, v interface{}) error {
        arr, ok := v.([]interface{})
        if !ok {
                return nil // only applicable on arrays
        }
        keys := make(map[string]struct{})
        for i, item := range arr {
                item, ok := item.(map[string]interface{})
                if !ok {
                        return ctx.Error("key", "item %v is not object", i)
                }
                str, ok := item[string(k)]
                if !ok {
                        return ctx.Error("key", "item %v has not property %s", i, string(k))
                }
                s, ok := str.(string)
                if !ok {
                        return ctx.Error("key", "item %v has property %s non string value", i, string(k))
                }
                if _, ok := keys[s]; ok {
                        return ctx.Error("key", "duplicate key %s", s)
                }
                keys[s] = struct{}{}
        }
        return nil
}

func Example_KeyExt() {
        c := jsonschema.NewCompiler()
        c.RegisterExtension("key", keyMeta, keyCompiler{})

        schema := `{"key": "id"}`
        if err := c.AddResource("schema.json", strings.NewReader(schema)); err != nil {
                log.Fatal(err)
        }
        sch, err := c.Compile("schema.json")
        if err != nil {
                log.Fatalf("%#v", err)
        }

        instance := `[
                {"id": "abc"},
                {"id": "xyz"}
        ]`
        var v interface{}
        if err := json.Unmarshal([]byte(instance), &v); err != nil {
                log.Fatal(err)
        }

        if err = sch.Validate(v); err != nil {
                log.Fatalf("%#v", err)
        }

        // Output:
}

@NitinRamesh25
there is one difference in your implementation and my implementation. consider following scenario:
// schema.json
{
    "$defs": {
        "uniq": { "key": "id" }
    },
    "cats": { "$ref": "/$defs/uniq"},
    "dogs": { "$ref": "/$defs/uniq"}
}

your implementation checks that cats and dogs does not share same id. but my implementation checks that dogs and cats have unique ids separately.
consider:
{
    "cats": [
          { "id": "abc"}
    ],
    "dogs": [
          { "id": "abc"}
    ]
}

the above instance invalid as per your implementations. where as it is valid with my implementation

repo: santhosh-tekuri/jsonschema


text:
🛑 PROMETHEUS_URL is down

In 323b3f3, PROMETHEUS_URL ($PROMETHEUS_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PROMETHEUS_URL is back up in 7259b24 after 1 hour, 11 minutes.

repo: santomaharaj/upp


text:
Updates to next steps and speaking notes (micro-procurement deck for DG Comm)

(mostly). A few other minor changes too.

Suggestion: how about adding a slide that will show what steps will take us to develop a light project?

Can you share a bit more @ElminaIusifova? I did update the Next Steps slide to include the approval steps in the lite project process (e.g. EA review, BPMO endorsement).  Perhaps you are thinking of listing the documents we'll be creating as part of the process?

@RachelMuston here I mean a product development phase itself, starting from design and ending with accessibility and security check. Just to show the steps of product development and how long approximately every step will take us to develop the whole "light project". Ex: (roughly) we start from user research ->develop a wireframe ->test it on a user ->iterate ->develop a prototype .......  That next step is: come back and iterate the platform after 1 year of user feedback. Can a slide like this be useful? Sorry if I couldn't explain it well

Ahhh I understand now! You explained it perfectly. :)  We'll definitely have that detail in the schedule we'll be creating as part of our project approval. Just wondering at what level of detail we should be including that in the DG Comm deck.
There's probably only room for about one or two additional bullets on this slide.  I'm open to suggestions.  Some options:
Option 1:

EA review
BPMO endorsement
Exec sponsor endorsement
PPOC endorsement
product design
product launch
(in the speaking notes I would describe the product design process)

Option 2:
-Approvals via lite project process

project launch
--product design
-- product development
-- pilot launch

I guess it depends on what DG Comm cares most about/what we want them to know?

I assume we don't need to go too detailed, maybe just a high-level explanation to give a general idea of the product development and what IT Strategy will be going through if we fully develop the light project. Would DG Comm even care about this?

That's the thing...I'm not sure what DG Comm cares about. I have a feeling they care mostly about things like approvals, security etc. They should care about UX and product design though. I'm leaning towards keeping that detail in speaking notes rather than on slides.  Is it ok if we see what Phil thinks?

authors: ElminaIusifova RachelMuston

repo: sara-sabr/ITStrategy


text:
Reduce width of blog posts (excl. tables) + Set font size to 20px

Similar to #1391 but only for blog posts for now.

The narrower setup for the blog posts makes sense but Medium usually fills the sides  with extra details/tools. So it's not extra white space for the sake of white space as much as adding value to it as far as I understand:

As for width: I would really leave the blog width aligned with the first header. In addition, scrolling takes too long, especially for long blog posts.

You mean that by making the width narrower the scrolling gets too long? Should that be part of the work to break down blog posts in series instead? (Just trying to understand best approach)
Also thinking about length of blog posts. Medium has an indicator of the reading time based on length. Might be an easy way to calculate that based on number of words. Apparently the average reading speed is 236 words per minute according to this summary of a study: https://digest.bps.org.uk/2019/06/13/most-comprehensive-review-to-date-suggests-the-average-persons-reading-speed-is-slower-than-commonly-thought/

By the way, yes ;) some blogs are too long and we will have to break them down into two parts.  The ideal length of a blog post is between 6-7 minutes read, approx. 1,600 words.

I updated the font sizes to the following (values are not exact because I'm using the scalable "rem" CSS unit):
   H1 = 44,96px
   H2 = 37,92px
   H3 = 24,96px
   H4 = 20px
   Body = 17,92px
   Date, Version… = 16px

Hey @gabrielcossette, when I look at the micro-acquisition status update blog in this branch, I find there isn't enough distinction between the title font size and the h2 font size.  Is there a way to make the title font size bigger? Or the font sizes for the subsequent headings smaller?

Hey @gabrielcossette, when I look at the micro-acquisition status update blog in this branch, I find there isn't enough distinction between the title font size and the h2 font size.  Is there a way to make the title font size bigger? Or the font sizes for the subsequent headings smaller?

But maybe it's just me?  This is what it looks like:

But maybe it's just me?  This is what it looks like:

PR updated so that Title header of a blog post is now H1 (instead of H2).

PR updated so that Title header of a blog post is now H1 (instead of H2).

authors: ElminaIusifova RachelMuston gabrielcossette gcharest


text:
: --- Package Error ---

I/flutter (11341): email-auth >> Initialising Email-Auth server
I/flutter (11341): email-auth >> Remote server is not available -- using test server --
I/flutter (11341): email-auth >> ❗ Warning this is not reliable on production
I/flutter (11341): --- Package Error ---
I/flutter (11341): SocketException: Failed host lookup: 'app-authenticator.herokuapp.com' (OS Error: No address associated with hostname, errno = 7)
I/flutter (11341): --- End Package Error ---
I/flutter (11341): not send

Hi @shah000 , The test server is under a refresh period, Kindly set up a production server for un-interrupted performance and better reliability.

This should help you get started
https://saran-surya.github.io/email-auth-node/
Thanks


text:
Play and pause on video screen

Hi,
The default player has only have play button on the middle of the screen. Can we have also the pause on middle of the screen. Since these two are the common features and to be more efficient.
Thank you

@ljfreelancer88 , I'm working on to imitating the controls of default youtube player. Thanks for your kin suggestion. 😊

@ljfreelancer88 , redesigned the plugin at version 2.0.2 , check it out.


text:
RPM build suboptimal

It expects the README to be called README or README.txt
It's not clear how to get it to acknowledge dependencies.

Creating a RPM package is outside the scope of the base project.

repo: sarrowsmith/spork


text:
Dependencies -> SAS Macros

Currently when we perform a sasjs compile we check each service in the tgtServices folder for the existence of   <h4> Dependencies </h4> in the header, and then ensure that all the files below that header are included in the target service (plus a distinct list of all the recursive macro dependencies).
To clarify the intent of what we are doing, we should support the following header as well:    <h4> SAS Macros </h4>
The old header should be still supported, just marked as deprecated.

[ ] Documentation updated
[x] Tests included (both for SAS Macros and Dependencies)
[x] If both SAS Macros and Dependencies are provided, we use SAS Macros by default
[x] Works both for Services, and for Jobs

:tada: This issue has been resolved in version 1.20.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: allanbowe krishna-acondy

repo: sasjs/cli


text:
Caching

Just wondering if you have any plans on adding caching support to the handler?

Are you using the handler exclusively? I hadn't considered adding caching as it's usually only used in the debugging scenario, but I guess it's possible people are using it directly.

No, not exclusively,  it would be just nice to have some caching even if optimizations are disabled/debug mode, since it might take some time to compile bigger style-sheets (custom bootstrap theme in my case).

So, the biggest difficulty here would be knowing if the file was still good or not when you are using partials because unfortunately we don't know what's going into the output css file. I'm gonna say this probably isn't feasible at this time.

Well it doesn't have to depend on partial files, it could also be something like app.scss?v=UM624qf1uFt8. But I'm not sure if it's even something that can be done with System.Web.Optimization when EnableOptimizations is set to false

As of Beta-6 (not it nuget) the time needed to compile scss (foundation by zurb in my case) is up to 2-3 seconds. a huge slowdown occurs when the IIS process is restarted ( due to recompile or web.config change). When this happens an IIS app pool & site process restart is recommended. i'm still investigating as to why is this happening.

I would greatly appreciate caching feature as I'd like to use the handler in production.
My project should support dynamically adding and modifying scss files without restarting the server, so having static preprocessing is not not a good option. Bundles are also not the best solution, as modifying imported files does not trigger bundle update. I see caching in the handler as the only elegant solution, or would you suggest something else? Thanks!

I think caching could be implemented using built-in ASP.NET HTTP cache by providing System.Web.Caching.CacheDependency for all imported files, this way cache would be automatically reset if any of the files are modified. Similar approach is used in dotLess. The list of imported files can be retrieved through SassResult.IncludedFiles. What do you think?

@timkishkin this should have been fixed in latest versions of the library.

The slowdown you've mentioned above is apparently fixed, right. But the caching is still missing, I think. I've checked the performance on a bootstrap scss, and the handler takes about 270ms in average to serve the main file. That is good enough, but still way slower than serving static file. It certainly doesn't cache the output, and such handler cannot be used in production, where I would like to use it (see explanation above).

Are you using the handler directly, or are you using the bundling stuff? I think it's probably possible to add cache watching like that in general for development purposes. things get more complicated with doing something like that automatically for release builds as there can be issues when people run off a network share and exhausting unc resources from file watchers.

Yes, I was planning to use handler directly in production, for reasons I've explained above. The absence of caching prevents me from doing that.

there can be issues when people run off a network share

To be honest, I didn't think about it. Are you sure it would be an issue? I thought that ASP.NET bundling uses file watchers as well, as bundles are auto-updated after source file modifications (I might be mistaken, of course).
Anyway, I'm not planning to use network paths in my case. I think caching might be a good option for me and other people with the same use case.

In what kind of scenario do you want to use the caching?

generate once & cache until redeployment?
re-generate every X hours/days
cache until a file (.scss) changes

My ideas :

use bundling and minification
use bundling and minification
this can be quite tricky if you have lots of .scss files in different .css outputs and lots of nested imports , and best case would be to store the user's .scss somewhere in a db or a file and regenerate the output file manually when your system has detected/triggered change. Basically implement this yourself because that will suit your situation better than relying on a generic solution from us that won't quite work for you.

My scenario is the 3rd one. OK, I will consider implementing the cache by myself when I have more time. Thank you for the explanation!

there can be issues when people run off a network share

To be honest, I didn't think about it. Are you sure it would be an issue? I thought that ASP.NET bundling uses file watchers as well, as bundles are auto-updated after source file modifications (I might be mistaken, of course).

definitely an issue that i've run into before. in general with sass, you end up having a file watcher on maybe like 1 - 2 files (root level scss) which is less of an issue, but once you start adding multiple watchers for single files (referenced by many includes) etc things start getting dicey.
it's probably a non-issue right now though because i forgot that scss still doesn't work with windows network paths 😄

authors: Untit1ed aviatrix darrenkopp timkishkin

repo: sass/libsass-net


text:
Add no-combinators rule

What do the changes you have made achieve?
Adds a no-combinators rule
Have you written tests?
Yep
Have you included relevant documentation
Yep
Which issues does this resolve?
Relates to #694
<DCO 1.1 Signed-off-by: Ben Griffith gt11687@gmail.com>

Coverage increased (+0.03%) to 97.126% when pulling 3cfa4951f9509ca1d1aa99049fb16c72b76e5c00 on bgriffith:feature/no-combinator into 098de67fb150497a55edce4de13432f94f7cd44b on sasstools:develop.

Coverage increased (+0.03%) to 97.126% when pulling 256321203242208b6379ce8a7e45b2ea34be2262 on bgriffith:feature/no-combinator into 098de67fb150497a55edce4de13432f94f7cd44b on sasstools:develop.

Coverage increased (+0.03%) to 97.197% when pulling 995aad0941000aeb95ebeea8dfd0a9b78bc4c97b on bgriffith:feature/no-combinator into 33e8d843546e8e21c187d6085c2fbe16dc226608 on sasstools:develop.

Coverage increased (+0.03%) to 97.197% when pulling 995aad0941000aeb95ebeea8dfd0a9b78bc4c97b on bgriffith:feature/no-combinator into 33e8d843546e8e21c187d6085c2fbe16dc226608 on sasstools:develop.

Coverage increased (+0.03%) to 97.228% when pulling a7a293f84091f82e171935e2811cd496f7882166 on bgriffith:feature/no-combinator into 5053d35968ebb842315999b205fd6f67454b3029 on sasstools:develop.

authors: bgriffith coveralls

repo: sasstools/sass-lint


text:
Set ceilings for click on all images that use distributed

This resolves the issues we're seeing from the latest builds. This is resolved in https://github.com/dask/distributed/issues/6013, so we can remove these ceilings in each image once we update to a distributed release that includes that fix.
To test locally (on images where distributed is pinned to 2021.07):
from distributed.cli import utils
utils.check_python_3()

This seems fine, but the gpu images don't have ceilings on their dask versions right? So not quite sure why this is necessary for those.

Not sure that it is, tbh, but playing it safe.

repo: saturncloud/images


text:
New Getting Started content for API Testing

Description

Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation fix (typos, incorrect content, missing content, etc.)

Checklist

[ ] I have read the contributing document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@LoryApiFortress Please re-review and approve

repo: saucelabs/sauce-docs


text:
Testing Algolia

Description
Pulled Matt Lawler's fork and tried to push a small change to see if it would get the algolia build failure, but I wasn't able to push to Matt's fork (probably not auth'd) so I am pushing a new branch on our repo to see if that works.
Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation fix (typos, incorrect content, missing content, etc.)

Checklist

[ ] I have read the contributing document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Not needed. Original PR passed CI once it was merged.