Jobs applied table is ready; just need to change query to show jobs for the specific user - Siddharth

The goal here is to provide the user with a convenient list of the jobs that he/she has applied to, after fetching the relevant data from the API.

The first step involves basic usage of the API, which means learning how to call it to fetch any data. In order to fetch the data we need, we must examine the schema to see the type of data we need to fetch.

Once any general data is fetched, the API must then be used to fetch data after passing in some kind of input, typically an ID. Once this ability is achieved, the API can then be used to fetch the exact data that is needed, which in this case is the users' applied jobs.

I am currently on the last step listed above. The API is fetching data based on an ID that is inputed. Now, the input just has to be modified so that the user's applied jobs are fetched, since right now only one applied job object is fetched using its ID.

The applied jobs table should render all the user's applied jobs correctly now.


Component - Single Product

[ x ] Picture/s
[ x ] Name
[ x ] Description
[ x ] Quantity
[ x ] Price
[ x ] Add to cart

Need to work on backend first for add to cart
Use Material UI for add to cart!

Just need CSS

Quantity?


fix: sort the templates according to locale and enable numeric sorting

Fixes #27.

Also, Joplin stores locale as 'language-region' for example 'en-us'. The localeCompare function only wants the language ('en'). So you'll need to handle that.

Actually, as given here this function also accepts the locale as language-region and in Joplin it is stored as language_region. I've handled that.

I've handled that.

Nice catch! It looks good to me. Thanks.


No module named 'open3d.cpu.pybind'

clang-13<IP_ADDRESS>
x86_64-apple-darwin20.6.0
Mac Intel
I think the update version of Python-iOS (3.9) has some problem with Open3D-iOS.

clang-13<IP_ADDRESS>
x86_64-apple-darwin20.6.0
Mac Intel
I think the update version of Python-iOS (3.9) has some problem with Open3D-iOS.

Same Problem here. Did you featured out how to solve this problem?

@HeoJinLareine
I forked his'dependencies, and edited Python version to 3.8.2.
https://github.com/manhvuvan281/Open3D-iOS

@kewlbear  fixed!

@manhvuvan281 how did you fix it?
I'm still having that error on my end

Thanks for reporting!  Just fixed it.  Please update the package from Project navigator > Package dependencies.

---- Completely remove ----
Xcode > File > Add Package > (Choose package->Option->Remove package)
Project navigator > Package dependencies > Remove open3d-ios/PythonKit
Product > Clean build Folder > Close project.
---- Add package again---
Open project > Add Package


Rabin Karp Algorithm implemented

Implemented Rabin Karp Algorithm which is a pattern searching algorithm in Java.

[x] I've checked the issue list before deciding what to submit.
[x] I've read the contribution guidelines.
[x] I've edited the README.md link to my code.

Fixes #334

LGTM! Great work @parjanyaacoder


NTR: [Bicarbonate:chloride antiporter activity]

Please provide as much information as you can:

Suggested term label:
Bicarbonate:chloride antiporter activity

Rhea:72363]: chloride(out) + hydrogencarbonate(in) = chloride(in) + hydrogencarbonate(out)

Definition (free text)

Enables the transfer of a solute or solutes from one side of a membrane to the other according to the reaction:  chloride(out) + hydrogencarbonate(in) = chloride(in) + hydrogencarbonate(out)

**Reference, in format

PMID:12958022, PMID:24515893, PubMed:34668226

Gene product name and ID to be annotated to this term

gene:Slc4a2  ID: B3A2_human, mouse, rat

Parent term(s)

GO:0015299 solute:proton antiporter activity

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

Redundant with #23828


If make runs from inside build.sh with errors, it writes garbage to the screen

For example, running build.sh in the gettextport tree writes out the following right now (because of a build failure)
FULTONM@fultonz bash /fultonm/dev/gettextport >build.sh

Checking environment configuration...
Building /fultonm/dev/gettextport...
Checking if tarball already downloaded
Using existing tarball directory gettext-0.21
Applying patches...
Existing Changes are active in /fultonm/dev/gettextport/gettext-0.21.
To re-apply patches, perform a git reset on /fultonm/dev/gettextport/gettext-0.21 prior to running applyPatches again.
Skip Bootstrap...
Running Configure...
Using previous successful configuration
Running Build...
mkdir: FSUM6404 directory "/fultonm/dev/gettextport/gettext-0.21/gettext-tools/misc/unpacked-files": EDC5117I File exists.
convert-archive: *** directory /fultonm/dev/gettextport/gettext-0.21/gettext-tools/misc/unpacked-files already exists
convert-archive: *** Stop.
make[4]: *** [Makefile:2439: archive.git.tar.gz] Error 1
make[3]: *** [Makefile:2355: all-recursive] Error 1
make[2]: *** [Makefile:2223: all] Error 2
make[1]: *** [Makefile:403: all-recursive] Error 1
make: *** [Makefile:359: all] Error 2
?$?_?$??_?$?_??????|Ꚁ?$?_?$??_(/,???/?%???<?Ś?????^??????^???%?%?ŏ$?_???<?|+( ??%??>:??/?ǀ??%??>_?????????????Ȁ?

I can try to cook up a more stand-alone testcase if this hasn't been seen by others

@IgorTodorovskiIBM when you get a chance, this is super annoying...


[EN-1388] Move ansible playbooks roles into standalone repos

http://jira.juwai.com/browse/EN-1388
This role is for installing the zerorpc command line tool.
To test:
Install juwai.python27 role. Then run a playbook with this role against a Vagrant box or other CentOS/Amazon Linux instance.
No changes were made to this role when moving it here.
@juwai/platform @agirivera please review

:+1:

@tjoelsson: I'm getting this on testing:
ERROR! A recursion loop was detected with the roles specified. Make sure child roles do not have dependencies on parent roles

The error appears to have been in '/home/users/alecr/public_html/ansible-roles/zerorpc-python/meta/main.yml': line 17, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

dependencies:
- role: juwai.python27
  ^ here

Looking if problem's on my end.

:+1: Good to go. Problem's was at my end :smile_cat:


feat: print version on evse session startup

Print the version from __init__ on the startup of a new SlacEvseSession and add a test that this matches the toml file

Ported to RSlac in https://github.com/SwitchEV/rslac/commit/5c4eafa7974b43cf575ef922586bed20cc5f5e2c


Running sample fails if starting in mobile layout

Visit a page like https://api.flutter.dev/flutter/material/ActionChip-class.html in a narrow browser window and notice an error in the console. You can also see the same error by running manually.
If you open the "UI output" tab and rerun, it does work.

I believe that the execution iframe isn't being created until the 'UI Output' tab has been visited. Perhaps we need to create the tabs eagerly (or otherwise just always create the execution iframe).
main.dart.js:5107 Uncaught TypeError: Cannot read properties of null (reading 'postMessage')
    at Object.aK1 (main.dart.js:27836:9)
    at main.dart.js:87170:3
    ...


API to stream references

Hello,
I would like to start a discussion around adding support for streaming reference results as they are found. Sorry if this has been discussed elsewhere, I didn't see anything in search results.
To start, here is a strawman proposal for changes in src/vs/vscode.d.ts:

Define a new interface ProgressThenable that is similar to Thenable except it also includes a progress callback.
interface ProgressThenable<T, P> extends Thenable<T> {
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @param onprogress The callback to execute when some intermetiate data is available.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult>(onfulfilled?: (value: T) => TResult | Thenable<TResult>, onrejected?: (reason: any) => TResult | Thenable<TResult> | void, onprogress?: (value: P) => void): Thenable<TResult>;
}

Define a new type ProgressProviderResult.
/**
 * Similar to `ProviderResult<T>` except it may provide intermediate progress of type `P`.
 */
export type ProgressProviderResult<T, P> = ProviderResult<T> | ProgressThenable<T | undefined | null, P>;

Update provideReferences to return ProgressProviderResult instead of ProviderResult
provideReferences(document: TextDocument, position: Position, context: ReferenceContext, token: CancellationToken): ProgressProviderResult<Location[], Location>;

Since we need this at Sourcegraph, I will be implementing this (or something like it) in a fork, but ideally I want to work to upstream this capability using whatever design the vscode project maintainers think is best.
Regardless of whether this particular proposal is appropriate, I could also use help understanding how to go about developing these types of changes in general. I have been struggling to setup a dev environment where I can do all of the following simultaneously:

Run vscode locally with changes to vscode.d.ts
Run a development extension that can see/use the changes to vscode.d.ts
I can set debug breakpoints in both (1) and (2) to step through the logic.

I posted a SO question here but no luck so far.
http://stackoverflow.com/questions/42019248/how-to-modify-vscode-d-ts-and-test-updates-against-an-extension
Any guidance on the design, or how to get my dev environment setup would be greatly appreciated!

I understand that the actual data provider can have a streaming nature but I don't understand why that means the fronted/UX should have a streaming nature as well? Is it that computing the whole result set is very slow and that therefore incremental updates are desired? Or is the whole set so large that it won't fit into memory?

@jrieken

Is it that computing the whole result set is very slow and that therefore incremental updates are desired?

Correct. For large repositories the language server may take multiple seconds to find all references.
To get the full benefit of these changes, we will also be proposing changes to LSP to support streaming, but for now, I would like to keep that out of scope for this particular discussion.

Thanks for clarifying. To be honest it will be a long way with many open questions before this can be implemented. The big question is what the UI should do? Remember that there can always be more than one XYZ provider which means results get merged. Also it's unclear to me how sorting should happen? Today we have one sort order over all items and we also pick the nearest item considering the location at which reference search was invoked. I don't think sorting and picking the nearest should change while results come in.
In the beginnings we had Cmd+P show results from file and symbol search and I remember that we would simply wait for all results to come in because all other attempts yielded in nervous/jumpy UI.
I would tackle this UX-first also considering other providers like CompletionItemProvider before talking about API.

I agree that there are some UX issues to think through and solve, but I hope that doesn't block the discussion of the mechanics of streaming. I think the UX issues are solvable.

Remember that there can always be more than one XYZ provider which means results get merged.

Can you explain why this might cause a problem with my proposal?

Also it's unclear to me how sorting should happen? Today we have one sort order over all items and we also pick the nearest item considering the location at which reference search was invoked.

I don't think this needs to change with streaming. Any time the data changes, sort the intermediate result and display it.

I don't think sorting and picking the nearest should change while results come in.

The baseline is the user is looking at nothing until all results are done. If we stream results in, then they might get lucky and find the one they want before all results are done (especially if we get lucky and the language server happens to send "local" results first). It seems like the user is strictly better off with streaming.
The challenge is that the intermediate UX won't be that useful if it is adding items so quick that the user can't click on the one they want (e.g. they see a reference in another file they want but references to the local file are streaming in and bumping that result down). In the worst case they just wait for the search to complete anyway.
If the jitter ends up being a problem, I think there are UX techniques we could use to mitigate the jitter (e.g. grouping results and reserving space). We do something like this on sourcegraph.com

Click here to see how it works
For a little more context, Sourcegraph's custom language servers support global reference results from GitHub. These results take a bit longer, but we don't want to necessarily block local results from showing up.
This week I am working to get the results streamed all the way to the UI in VS Code so I should have more context on the UX issues soon. In the meantime, please let me know if you have any feedback on this API design.

I don't think this needs to change with streaming. Any time the data changes, sort the intermediate result and display it.

That exactly is the problem because there is no user interaction to synchronise with. Think about this: Two references are already shown, you are moving your mouse towards one to select it and just before you do that the list updates, resorts and you 'lose' your item. Now you have to find it again and the whole process repeats until all results are there. The fact that there are multiple providers makes that worst because a single provider might be able to provide reasonable clues to keep its results stable but it doesn't know how its items stack in comparison to those of other providers.
Wrt the API design the Thenable isn't what I prefer. The Thenable is the common denominator between various promise implementations. I know that there are some implementations, like WinJS.Promise, that have a progress callback but in the end it's non standard and we don't want to push that. Instead, something like we have explored for https://github.com/Microsoft/vscode/issues/18066 should be used. There is some proposed API that defines Progress<T>

Two references are already shown, you are moving your mouse towards one to select it and just before you do that the list updates, resorts and you 'lose' your item.

Yes, we are both describing the same scenario. I have two thoughts on this.

The user only "loses" their item if a new result is inserted above their target item.
a. Grouping may be able to mitigate this.
b. Smart language servers may be able to mitigate this.
c. As more result stream in, the jitter slows down so the user may not need to wait for all results to be able to click on the result they want.
Even if the user has to wait for all the results to stop streaming, they are no worse off then they were before.

Anyway, I will try to get it working locally to see what the actual user experience is.

I know that there are some implementations, like WinJS.Promise, that have a progress callback but in the end it's non standard and we don't want to push that.

We don't need to push WinJS.Promise. I attempted to pull in WinJS to my test extension and couldn't get the typings working correctly so I gave up and just wrote my own Promise implementation with progress support in about 150 lines of typescript.
Are you saying that you would prefer adding a Progress parameter to provideReferences like this?
provideReferences(document: TextDocument, position: Position, context: ReferenceContext, progress: Progress<Location>, token: CancellationToken): ProviderResult<Location[]>;

I updated the original proposal to

Remove references to ProgressThenable, and
Add details about how to handle progress callbacks.

@jrieken @dbaeumer
I have updated the issue description with links to all of the necessary pull requests for this feature. Please take a look at these when you have the chance.

@felixfbecker fyi


Molecular fragmentation scheme for charging large molecules

We will need a scheme for fragmenting large molecules into smaller electronically decoupled components to allow us to charge large molecules (such as biomolecules).

FTR, I believe when we discussed this with Christopher, he indicated that:

it is surprisingly difficult/subtle to do this generally and well in an automated manner
OpenEye is working on a solution for this that we will be able to use sooner or later
it would be a major initiative for us to try to do so ourselves, so we ought to instead wait for the OpenEye solution for now

I'm not sure if "no solution" is better than "a crude solution" at this
point. At least a crude solution is evaluable, and more sophisticated
solutions can be benchmarked against it.
For example, if we fragment molecules according to Bemis-Murcko scaffolds,
charge the fragments, glue them together, and scale the charges to equal
the net formal charge, at least this is an evaluable scheme that can give
us a working method for biopolymers, large molecules, and covalent adducts.

I thought our goal at this point was "working small molecule forcefield"? I don't understand why we need to be thinking about larger molecules yet. Can you explain?

There are some larger small molecules that present a challenge for the typical charging strategies. Even supramolecular hosts like CB7 are challenging.
In addition, covalent inhibitors present a huge challenge to current parameterization schemes.
Perhaps more importantly, though, without a strategy, it's unclear how our method can scale beyond small molecular liquids. It would be useful to at least have a vision for this now, even if we revise the precise implementation later.

I agree that we have to deal with this, and no one's suggesting that we not do anything about it. The question is, "when?" My worry is just that if we invest time in it now it will impair our ability to get this effort "off the ground" in terms of finishing enough on small molecules to be able to motivate people to fund the effort and ensure its viability and continuation.
In other words, realistically we have to choose between maximizing the amount of time we spend getting a "working small molecule forcefield" now, versus figuring out how other pieces of the effort will work IF we get to do them. I don't want to end up in a situation where we have great plans for how we would deal with everything (such as extending it to large molecules, etc.) but we never get the opportunity to implement because we spent too many resources on long term plans and not enough on proof-of-principle for small molecules.
If there's a design issue we need to deal with now to avoid having to backtrack later, that's another issue, of course. I just don't see what it is yet... Do you?

The major immediate issue is that we need to agree on a scheme for charging
small molecules in the ThemoML dataset.
The major intermediate issue is the potential need to extend smarty to BCC
sampling as part of our proof of concept.
The major long term issue is a demonstration that we can scale our approach
to handle biomolecular systems of pharmaceutical interest. We just need a
guiding principle that can be refined, and if an implementation is quick, a
proof of concept. Retreating to "we're waiting for someone else to solve
this problem" isn't an acceptable position. We don't need to have the final
solution---the the first steps of a clear path.
We definitely want to avoid distraction, but that is why it is important to
get out ahead of this issue now and talk through a plan. We can decide on
the optimal time to implement the first steps, but we need a plan.


Nimble init gets stuck if called outside of main loop

Ive been working for quite some time with this library and it worked really well. But when i tried adding multitasking to my project (ESP32) with RTOS and turning BLE on and off from a non main task it started making problems. So, when i erase the flash and upload my code everything works well on first few ble inits (through resets), but about on lets say third initialization it just gets stuck on I NimBLEDevice: BLE Host Task Started doing nothing and drawing a lot of power. I tried adding more task memory but i think it doesnt help. It literally hangs on NimBLEDevice::init(ID.c_str()); where ID is just a string generated from a literal and mac address (which didnt make problems before).

I can't think of any reason for this behavior. Can you share a minimal code example to reproduce? Also please state the chip and NimBLE/arduino versions.

Im using ESP32C3 with Arduino 2.0.3 framework although through PlatformIO, and by using it as idf component. Everything compiles okay and even deiniting turns the power down (tho it does disconnect me from wifi but thats a problem for later). Ill supply the code for it down bellow but today the problem became even worse, it doesnt even give me the BLE Host task started message, just hangs the processor doing nothing. Currently the code calls the init functon from main
if (turnOnBLE) {     log_i("Turning on BLE");     ble_init();     BLEon = true;     turnOnBLE = false;   }
And it only says loop(): Turning on BLE and hangs. Clearing flash usually helps it for some time, after which i had to move it to main task but its even making problems there now. Tho in main resetting helps i think, because it starts it okay after restart. Is it maybe a problem that it isnt the highest priority task, being that C3 is single cored?

@h2zero forgot to tag you in the last comment, sorry... I forgot to say that im using the latest version of the library aswell. I tried changing stack sizes and the problem persists, could it be possible that WiFi Handler function that im using blocks BLE initialization maybe?

Hmm, that's certainly a possibility. You could try preventing WiFi use until initialization is complete.

@h2zero So after more testing ive come to 2 conclusions. It has nothing to do with wifi, because when i only start Nimble same thing happens, so its something stored in flash. Secondly, if i modify default arduino menuconfig from BlueDroid to Nimble it works but it has a lot of redefine warnings at compilation. On a passing note i think changing that messed up something else in my code because im getting a breakpoint exception out of nowhere (Do you maybe know what could be causing that?). Atleast BLE now works. Thanks again

Oh, wow I didn't think you were using this repo directly with esp-idf. I have not tried to do that for years, esp-nimble-cpp was designed for this since the NimBLE stack already exists there.

@h2zero Oh, i tried using the cpp version but just went back to the arduino one as i transfered this project from pure arduino and it still worked. But ill look more into it now. Before i close this issue, do you maybe know where Breakpoint exceptions come from?

@h2zero This may not have a place here but i wanna check before i make a new issue in esp-nimble-cpp. I tried compiling my code replacing the arduino library with the cpp one and im getting an error that esp32-hal-bt.h doesnt exist, although everything worked just 5 minutes before. Is that maybe a problem with C3?

@h2zero bluetooth is enabled and nimble is selected. I think the problem is, as im using arduino as component in PlatformIO it compiles esp-nimble-cpp first and as such it cant reference arduino HALs

Hmm that sounds like a platformio issue then. esp-nimble-cpp + Arduino using IDF works just fine.

@h2zero Ah I see, Ill try to make something work. Ill close this issue now. Thank you for your help!


Statsd

Provides statsd/graphite integration

Codecov Report

Merging #76 into features will decrease coverage by 2.5%.
The diff coverage is 76.92%.

@@             Coverage Diff              @@
##           features      #76      +/-   ##
============================================
- Coverage     94.15%   91.64%   -2.51%
============================================
  Files             7        8       +1
  Lines           325      371      +46
============================================
+ Hits            306      340      +34
- Misses           19       31      +12

Impacted Files
Coverage Δ

pytest_play/engine.py
100% <ø> (ø)
:arrow_up:

pytest_play/config.py
0% <0%> (ø)

pytest_play/providers/metrics.py
100% <100%> (ø)
:arrow_up:

pytest_play/plugin.py
80.9% <77.77%> (-0.28%)
:arrow_down:

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 63a7d6b...4bd26b9. Read the comment docs.


Keys order doesn't matter in Hash equality

http://ruby-doc.org/core-2.3.1/Hash.html#method-i-3D-3D
So, I would add an assertion to ensure that Hashes are equal plus keys are in the same order.
Have a look please and let me know,
Thanks!

Can you update the example.rb file and incrememt the version for the bookkeeping?

Done!

Looks good to me,  Anyone else?

Well spotted @srabuini, but I don't like adding this test.
Because key order doesn't matter in hash equality.
If it is imperative that the key ordering is important, a different (more complicated) data structure should be returned by students_by_grade

I agree with @Insti. We should not rely on the fact that a hash is being returned and make our tests implementation-specific. How about assert_equal expected, school.grade(grade) for each key (as grade) in the everyone hash?

I think we need to decide if students_by_grade should be returning the hash as it does currently, (In which case the test_students_by_grade_sorted test should be merged with test_students_by_grade and the sort criteria ignored) OR students_by_grade should return an array of hashes that looks something like this:
    [
      {grade: 1, students: %w(Effmee Geemee)},
      {grade: 2, students: %w(Aimee Beemee Ceemee)},
      {grade: 3, students: %w(Deemee Eeemee)},
    ]

Reading the grade school description: https://github.com/exercism/x-common/blob/master/grade-school.md would seem to suggest that the array of hashes is the desired solution.
TODO: Check what other languages do.

I have been wrestling with that too.  It does not necessary force a hash solution, but does force a solution that is able to have keys called on it.
It is also not currently an exercise that has common test data.  Would be interesting to see how the tracks that use this are testing.

but does force a solution that is able to have keys called on it.

I don't understand why this would be a requirement.

I think you are right, since keys were called on expected, not on the actual.

Also, I think (with the existing tests), the name school.grade(1) is a little confusing since it accepts grade as an argument and returns a list of students. Should be something like school.students(grade). Example code uses level and grade interchangeably.

I agree. What do you think about this:
assert_equal expected.keys, school.students_by_grade.map { |k, _v| k }

I has a look at how some of the other languages that implement this problem handle the result of students_by_grade

ruby - (unordered map)
cpp - (unordered map)
javascript - (unordered map) object/hash
java - (unordered map)
python - (ordered list) - But adds them in sorted order anyway, and subverts it's own test for sortedness.
fsharp - (ordered list)
elixir - (ordered list)
elm    - (ordered list) - of tuples

It seems to be about 50/50 among the languages I looked at.

Since I prefer the ordered list of hashes solution I've created a new PR #390 which implements this.

Anyone want to comment on pull request #390?
Is it :+1: or :-1:, does it need more work?

@srabuini Thanks for the work on this, and bring attention to this.


More conservative Java version requirements? (Keeping it compatible with at least current Debian versions)

For security reasons, some of us cannot install packages on Debian other than official Debian repos. This means:

Debian 11 Bullseye: Java 11
Debian 12 Bookworm (current latest): Java 17
Debian 13 Trixie (future version est. 2025): still set at Java 17 (although I hope eventually they update it to at least 18).

Any chance, moving forward, to be more conservative with Java versions and keeping it align with Debian? It makes sense as Sparrow is supposed to be a security-focused wallet. A part of that means, making possible to run it for security-focused Debian users.
Because of this I can't currently use Sparrow wallet. If you e.g. keep the version requirement at 18, and Debian 13 Trixie (hopefully) update to >= 18, I can start using Sparrow in 2025.

Actually, any chance you could downgrade the Java requirement to 17? This way I could already use Sparrow now (on Debian 12). Java 17 is also LTS: https://en.wikipedia.org/wiki/Java_version_history
Are there any crucial features in Java 18 that you need?

What stops you from simply using the Sparrow binaries?

What stops you from simply using the Sparrow binaries?

Thanks, I didn't realize Java wasn't require to run the binary and the build is reproducible.


show only bug events in the bug tree

show only bug events in the bug tree
currently all the bug events and positions are shown

Please: replace file names in the view with bug event descriptions


training the language adapters in the MAD-X paper

Hi
I would need to train language adapters as done in MAD-X paper, I have downloaded wikipedia data, but these are very large-scale data and so far I did not managed to train them, I was wondering if you could share with me the script that you managed to train the language adapters, thank you very much in advance.

@calpt @fteufel  thank you so much for your help.

I am getting a lot of memory issues and not sure how to train it, greatly appreciate sharing script of training language adapters done in your work with me, thanks a lot

The language modeling script we have used in the past has been pushed into legacy: link
Is this the script you have been using until now?
We will add adapter support to the new language modeling scripts ASAP.
Where are you getting memory issues? RAM or VRAM?

Hi, thank you very much Jonas first for coming back to me, I am adding adapters as done in tutorial and then use the link you mentioned, then I try to run it with this dataset from huggingface library:
datasets.load_dataset("wikipedia", "20200501.aa")
and getting os memory issues, I appreciate also having a look into the bug I opened for the memory issues: https://github.com/huggingface/datasets/issues/1977
OSError: Memory mapping file failed: Cannot allocate memory
not sure how to train it, and greatly appreciate your help., thanks a lot.

It seems one need apache-beam to train models on these datasets, sorry I have never used it, did you use it to be able to train your models on these large-scale datasets? thank you very much.

hm, this doesn't seem to be a caused by the adapter-transformers repo.
It looks like you don't have enough RAM:
https://github.com/prlz77/ResNeXt.pytorch/issues/5

Hi Jonas,
thanks for your help, could you tell me how much RAM I need to have to be able to train language adapters? and did you do it on a single machine? thanks for the information, this helps me a lot.

It really depends on the language and its respective corpus size. The english wiki is quite large.
However when loading the dataset you might just early stop at N documents/lines. That way you can test your script and see how much fits in your memory.
I haven't used the datasets version of wiki, but crawled and preprocessed the respective wiki dumps myself, so I am not sure how this would work in your case.

Hi Jonas,
thanks, do you mind sharing the machine specification you used for the
largest dataset used in your work? This helps me a lot to know the machine
specification used in MAD-X work.
So you mean to subsample also the datasets to be able to partly load them?
thanks a lot for all help.
On Tue, Mar 2, 2021 at 9:25 PM Jonas Pfeiffer<EMAIL_ADDRESS>wrote:

It really depends on the language and its respective corpus size. The
english wiki is quite large.
However when loading the dataset you might just early stop at N
documents/lines. That way you can test your script and see how much fits in
your memory.
I haven't used the datasets version of wiki, but crawled and preprocessed
the respective wiki dumps myself, so I am not sure how this would work in
your case.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Adapter-Hub/adapter-transformers/issues/125#issuecomment-789189977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS37NMQAR7BS7KWM56MNNTDTBVCTBANCNFSM4YK4LBRA
.

primarily I use a DGX-2 server.
However, I have also trained language adapters on my home machine which has 64gb RAM and a Titan X GPU.

Hi Jonas,
So you trained them on 16 V100 GPUs? I was thinking this is done on 1 GPU,
could you please confirm the number of GPUs used for the training?
thanks a lot
On Tue, Mar 2, 2021 at 9:59 PM Jonas Pfeiffer<EMAIL_ADDRESS>wrote:

primarily I use a DGX-2 server.
However, I have also trained language adapters on my home machine which
has 64gb RAM and a Titan X GPU.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Adapter-Hub/adapter-transformers/issues/125#issuecomment-789211579,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS37NMSS4A63U7BU3JHVTBLTBVGUNANCNFSM4YK4LBRA
.

1 GPU on the server.
As mentioned, this also works fine on 12gb gpus. You just have to leverage gradient accumulation

Closing for now, please reopen if there still is something unclear.


Please, update Stream.contains() signature

The description for method dart:async:Stream.contains() reads:

Future contains(
Object needle
)
Checks whether needle occurs in the elements provided by this stream.
Completes the Future when the answer is known. If this stream reports an error, the Future will report that error.

I think, needle should be of type T, where T is from Stream<T>

The argument type matches those of Iterable.contains and Map.containsKey and is deliberate.
We should consider whether we retain this design in Dart 2.


Zoomed View

Hi, I have a 3 node topology and on the load everything appears to be zoomed out. Is there a way to load the topology zoomed in?

@sngx13 Yes, you can specify initial zoom ratio and coordinates.
  <script>
   const diagram = new Diagram('#diagram', 'index.json', {pop: /^([^\s-]+)-/, bundle: true});
   diagram.init('loopback', 'interface');
   diagram.svg.attr('transform', 'scale(0.5)');
  </script>

Please see #3 for more details.

That worked :) Thank you. Only issue is, it's not positioning it in the middle (off canvas initially so I have to drag it), guess that's uncontrollable?

Try translate(x, y) if your diagram size is predictable. It's a bit difficult to calculate the center of your diagram, but I hope that fixed x and y make your diagram more "acceptable".
  <script>
   var diagram = new Diagram('#diagram', 'index.json', {pop: /^([^\s-]+)-/, bundle: true});
   diagram.init('loopback', 'interface');
   diagram.svg.attr('transform', 'translate(100, 100) scale(0.5)');
  </script>


update the clusterdeployment failure logic

The related issue: https://issues.redhat.com/browse/ACM-2531
Signed-off-by: Yang Le<EMAIL_ADDRESS>

Tested the fix by overriding the image with DS build 2.7.0-DOWNSTREAM-2023-01-04-01-55-29, the aws cluster is provisioned successfully.

/lgtm


Object manager improvements

Various improvements to ObjMan
Outstanding work:

[x] Objects need to handle their radii themselves.
[ ] Javadocs!!!
[ ] preferably some unit tests (is #268 merged yet?)

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

This might turn out useless, since this is one of the things that should be provided by gestalt.


non-ascii character in page path fails build, but only for scripts with lang="ts"

Environment

Operating System: Linux
Node Version:     v14.19.3
Nuxt Version:     3.0.0-rc.11
Nitro Version:    0.5.4
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://codesandbox.io/s/teapot-lfnl4w?file=/pages/🫖/index.vue
Describe the bug
Having a non-ascii character in a page path, e.g. ä or 😆, makes the build fail, but only with <script lang="ts"> and not with <script>.
Run a yarn build in the linked codesandbox. Took me hours to find, I'm a teapot 🫖.
Additional context
This must be an upstream issue, but I need pointers to the correct one to issue a ticket on. I'm pretty sure it is neither vite nor rollup directly as the lang makes the difference.
Logs
ERROR  [vite:vue] Could not load /sandbox/pages//u{1FAD6}/index.vue?macro=true&vue&type=script&lang.ts (imported by pages/🫖/index.vue?macro=true): ENOENT: no such file or directory, open '/sandbox/pages//u{1FAD6}/index.vue'

 ERROR  Could not load /sandbox/pages//u{1FAD6}/index.vue?macro=true&vue&type=script&lang.ts (imported by pages/🫖/index.vue?macro=true): ENOENT: no such file or directory, open '/sandbox/pages//u{1FAD6}/index.vue'

  at Object.openSync (fs.js:498:3)
  at Object.readFileSync (fs.js:394:35)
  at getDescriptor (node_modules/@vitejs/plugin-vue/dist/index.mjs:84:10)
  at Object.load (node_modules/@vitejs/plugin-vue/dist/index.mjs:2611:28)
  at node_modules/vite/node_modules/rollup/dist/es/shared/rollup.js:22710:40
  at processTicksAndRejections (internal/process/task_queues.js:95:5)

I've also encountered this exact same issue when trying to build a project on my local machine as my user folder has a special character in it


Add dismount command line option...

This addresses issue #1708 by simply adding a dismount verb that derives from "unmount" to add "dismount" to the command line options thereby making the command line options more friendly to use for those who prefer the English correct "dismount" to "unmount".

Not a native English speaker here, so... take this with a grain of salt.
Having said that, I think you misunderstand the context. In VFS for Git, the verb "to mount" is not used in the sense of "getting onto a horse or bicycle" but more in the sense of "fixing an object onto something". I.e. the verb "to dismount" would be incorrect here, contrary to your claim.
In any case, I oppose this on the following grounds:

The "mount" action was developed in the context of a file system, for which it has been well established for about one eon and a half that the opposite of "mounting a file system" is to "unmount" it.
VFS for Git is not actually developed actively, it is in maintenance mode, and all of the efforts go to establishing Scalar as its successor for as many of VFS of Git's use cases as possible. Implementing a new feature would send the wrong signal to users.

So I see that consistency for other commands such as:
https://docs.microsoft.com/en-us/powershell/module/hyper-v/dismount-vhd?view=win10-ps
Is not even a consideration?

@GabeDeBacker I feel you did not even listen to anything I said.

Closing because stale.


Error Could not find table 'glueby_timestamps'

Description
Precondition
I use active record wallet, and I do not use timestamp contract.
so, I generated two migrations bellow:
 $ rails g glueby:contract:block_syncer
 $ rails g glueby:contract:wallet_adapter

What happened
I run block_syncer task.
 rails glueby:contract:block_syncer:start

then, I got those error message:
[Deprecated] glueby:contract:block_syncer:start is deprecated. Use 'glueby:block_syncer:start'
rails aborted!
ActiveRecord::StatementInvalid: Could not find table 'glueby_timestamps'
/myapp/bin/rails:5:in `<top (required)>'
/myapp/bin/spring:10:in `block in <top (required)>'
/myapp/bin/spring:7:in `<top (required)>'
Tasks: TOP => glueby:contract:block_syncer:start
(See full trace by running task with --trace)

BlockSyncer always needs glueby_timestamps table.
But, I do not use Timestamp Contract. so I want not to create that table.
Expected Work
I wanna select to sync timestamp or not in config/initializers/glueby.rb. like this:
sync_timestamp = true

Environment
Ruby: v3.0.1
Rails: v6.1.4
Glueby: revision: 7b345102d153623cf694d0cf051d3b1c5fb0a820 (install from github)

I think BlockSyncer#register_syncer method should be called for Timestamp if and only if timestamps table has been created already.
https://github.com/chaintope/glueby/blob/7b345102d153623cf694d0cf051d3b1c5fb0a820/lib/glueby/railtie.rb#L4


following tutorial for llama3 - missing key device in eleuther_eval

tune run eleuther_eval --config ./custom_eval_config.yaml
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling transformers.utils.move_cache().
0it [00:00, ?it/s]
2024-08-20 18:57:18.260917: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-08-20 18:57:18.278939: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-08-20 18:57:18.300147: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-08-20 18:57:18.306692: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-08-20 18:57:18.322422: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-08-20 18:57:19.376081: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
2024-08-20:18:57:21,302 INFO     [_utils.py:33] Running EleutherEvalRecipe with resolved config:
checkpointer:
component: torchtune.utils.FullModelMetaCheckpointer
checkpoint_dir: /tmp/llama3/original/
checkpoint_files:

meta_model_0.pt
model_type: LLAMA3
output_dir: /tmp/llama3/original/
model:
component: torchtune.models.llama3.llama3_8b
tokenizer:
component: torchtune.models.llama3.llama3_tokenizer
path: /tmp/llama3/original/tokenizer.model

Traceback (most recent call last):
File "/usr/local/bin/tune", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/torchtune/_cli/tune.py", line 49, in main
parser.run(args)
File "/usr/local/lib/python3.10/dist-packages/torchtune/_cli/tune.py", line 43, in run
args.func(args)
File "/usr/local/lib/python3.10/dist-packages/torchtune/_cli/run.py", line 179, in _run_cmd
self._run_single_device(args)
File "/usr/local/lib/python3.10/dist-packages/torchtune/_cli/run.py", line 93, in _run_single_device
runpy.run_path(str(args.recipe), run_name="main")
File "/usr/lib/python3.10/runpy.py", line 289, in run_path
return _run_module_code(code, init_globals, run_name,
File "/usr/lib/python3.10/runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/dist-packages/recipes/eleuther_eval.py", line 271, in
sys.exit(recipe_main())
File "/usr/local/lib/python3.10/dist-packages/torchtune/config/_parse.py", line 50, in wrapper
sys.exit(recipe_main(conf))
File "/usr/local/lib/python3.10/dist-packages/recipes/eleuther_eval.py", line 266, in recipe_main
recipe.setup()
File "/usr/local/lib/python3.10/dist-packages/recipes/eleuther_eval.py", line 184, in setup
self._device = utils.get_device(device=self._cfg.device)
File "/usr/local/lib/python3.10/dist-packages/omegaconf/dictconfig.py", line 355, in getattr
self._format_and_raise(
File "/usr/local/lib/python3.10/dist-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/usr/local/lib/python3.10/dist-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/usr/local/lib/python3.10/dist-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2])  # set env var OC_CAUSE=1 for full trace
File "/usr/local/lib/python3.10/dist-packages/omegaconf/dictconfig.py", line 351, in getattr
return self._get_impl(
File "/usr/local/lib/python3.10/dist-packages/omegaconf/dictconfig.py", line 442, in _get_impl
node = self._get_child(
File "/usr/local/lib/python3.10/dist-packages/omegaconf/basecontainer.py", line 73, in _get_child
child = self._get_node(
File "/usr/local/lib/python3.10/dist-packages/omegaconf/dictconfig.py", line 480, in _get_node
raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key device
full_key: device
object_type=dict

https://pytorch.org/torchtune/main/tutorials/llama3.html

Hey @den-run-ai. From reading the tutorial, it's maybe unclear that the suggested text for the custom config is only meant to replace a portion of the full copied config file.
Could you try add the following to the bottom of your custom_eval_config.yaml?
# Environment
device: cuda
dtype: bf16
seed: 1234 # It is not recommended to change this seed, b/c it matches EleutherAI's default seed

# EleutherAI specific eval args
tasks: ["truthfulqa_mc2"]
limit: null
max_seq_length: 4096
batch_size: 8

# Quantization specific args
quantizer: null

@SalmanMohammadi yes, the tutorial was not clear, but also the error message is not clear. e.g.:
omegaconf.errors.ConfigAttributeError: Missing key "device" in config file *.yaml


How to put Controller under router

I'm wondering how I register a controller to a router, this doesn't seem to work:
# trying to register a controller on a router doesnt work:
router.register_controllers(EventModelController)

# trying to nest under an existing router also doesn't work:
router.add_router('event',            EventModelController)

I have the following simplified setup:
api/urls.py:
api = NinjaExtraAPI(auth=django_auth)

api.add_router('/auth/',     'api.routes_auth.router')
api.add_router('/models/',   'api.routes_models.router')

urlpatterns = [
    path("v1/",              api.urls),
    path("v1",               RedirectView.as_view(url='/api/v1/docs')),
    path("",                 RedirectView.as_view(url='/api/v1/docs')),
]

api/routes_auth.py:
router = Router(tags=['Authentication'])

@router.post("/get_token", auth=None, summary='Get an API token for a given user & pass')
def get_token(request, auth_data: PasswordAuthSchema):
	...

@router.post("/validate_token", auth=None, summary='Validate a given API token')
def validate_token(request, token_data: TokenAuthSchema):
    ...

api/routes_models.py:
from core.models import Event

...

router = Router(tags=['Core Data Models'])

@api_controller()
class EventModelController(ModelControllerBase):
    model_config = ModelConfig(
        model=Event,
        schema_config=ModelSchemaConfig(read_only_fields=["id"]),
    )

# this fails however:
router.add_router('event',            EventModelController)

So my question is, how does one properly nest a controller under an existing router? (without direct access to the top-level api object)

The issue is I need the controller to live below a router because I'm mixing-and-matching a bunch of normal Django-ninja router routes next to the controller at the same level.
E.g.

/api/models = Django-ninja router
/api/models/Event -> EventController (ninja-extra)
/api/models/Foo/search -> Django-ninja router
/api/models/Bar -> Django-ninja router

You can still use your event controller without mixing it with a router. If I am to implement this, with your route paths setup, I would do the following:
api/urls.py:
api = NinjaExtraAPI(auth=django_auth)
api.register_controllers(
    import_string('api.routes_models.EventModelController'),
)

api.add_router('/auth/',     'api.routes_auth.router')
api.add_router('/models/',   'api.routes_models.router')

urlpatterns = [
    path("v1/",              api.urls),
    path("v1",               RedirectView.as_view(url='/api/v1/docs')),
    path("",                 RedirectView.as_view(url='/api/v1/docs')),
]

api/routes_auth.py:
router = Router(tags=['Authentication'])

@router.post("/get_token", auth=None, summary='Get an API token for a given user & pass')
def get_token(request, auth_data: PasswordAuthSchema):
	...

@router.post("/validate_token", auth=None, summary='Validate a given API token')
def validate_token(request, token_data: TokenAuthSchema):
    ...

api/routes_models.py:
from core.models import Event

...
# specifies the path as a prefix to controller routes. just as you do in api.add_router("/model/event", router)
@api_controller("/model/events/")
class EventModelController(ModelControllerBase):
    model_config = ModelConfig(
        model=Event,
        schema_config=ModelSchemaConfig(read_only_fields=["id"]),
    )


We need a stable master branch

Create a develop branch

master tracks the latest stable version people can count on
develop is bleeding edge functionality that should not be used in production scenarios
New feature work should be merged from a pull request into develop.
develop can be promoted to master after we get sign-off from @hhaidar and/or @sibartlett
Bugs in master are fixed via pull request
Direct commits to master should be very limited. If in doubt, create a pull request

Agreed.

There's already a master branch, can you put this in CONTRIBUTING.md?

Do we want external people opening pull requests against develop? Maybe having them open pull requests against master is a good thing?


cmd/go: regression in "go get" with relative paths

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
Tip (go version devel +c4335f81a2 Fri Apr 28 23:38:15 2017 +0000 darwin/amd64)
What operating system and processor architecture are you using (go env)?
Mac
What did you do?
export GOPATH=/Users/kevin
mkdir -p "$GOPATH/src/github.com/kevinburke"
pushd "$GOPATH/src/github.com/kevinburke"
    rm -rf rest # just to make sure it's empty
    go get ./rest
popd

What did you expect to see?
I expected github.com/kevinburke/rest to get cloned from Github and checked out to $GOPATH/src/github.com/kevinburke/rest. (You should be able to reproduce this problem with any relative path, there's nothing specific to this repository)
This is the behavior of Go 1.5 through Go 1.8 (didn't test earlier versions than this).
What did you see instead?
$ go get ./rest
can't load package: package ./rest: cannot find package "./rest" in:
	/Users/kevin/src/github.com/kevinburke/rest

My apologies as I believe someone was working on this previously, but I searched the issue history for related terms and couldn't find anything about it.

Bisected this to #17863 (https://golang.org/cl/33158/).

CC @shurcooL

Thanks for the report, I'll be able to investigate this fully tomorrow.
From a brief look at this issue, it looks like cmd/go is relying on the previous behavior of go/build, before #17863 was fixed, when go geting relative import paths. It needs to be updated to take into account the post-#17863-fixed behavior of go/build.

Why not just roll back the incompatible change made for #17863?

Why not just roll back the incompatible change made for #17863?

It's possible to do that, but it seems it would take more steps. That change was made 2 months ago. If rolled back now, it would break x/tools/cmd/godoc tests. Since it's clear where the problem is, it's possible to fix this issue directly. But I can act differently if advised so.
The problem is that cmd/go relies on previous behavior of build.Import that was not tested. Specifically:
// If the path is a local import path naming a package that can be imported
// using a standard import path, the returned package will set p.ImportPath
// to that path.

In combination with:
// If an error occurs, Import returns a non-nil error and a non-nil
// *Package containing partial information.

In the case of local import path pointing to a directory that doesn't exist, that behavior was broken by the change in CL 33158.
A fix I'm come up with is to bring back that previous behavior of build.Import and add tests for it. This can be done without re-introducing #17863 issue, so tests for that continue to pass.
I've sent CL 42350, can you comment on how it looks?

@rsc, did you see my comment above? This is related to #19769 and CL https://go-review.googlesource.com/c/33158/#message-93b2fc6b74efcb9936bc119782ee3485ca897450.


Service Fabric Reliable Disk demo project execution fails

I tried running the service fabric reliable disk demo as per the doc , The command took a lot of time to execute and still the provisioning state is shown as running. I tried running it again, in a different resource group. The deployment failed with the following error.
Deployment failed. Correlation ID: fe30ad3e-8fe7-4ab6-9fda-6f4c07f04847. {
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "ClusterAllocationFailed",
        "message": "Cluster allocation failed.",
        "details": []
      }
    ]
  }
}

Going off Chacko's tweet earlier, they are still rolling out the changes across resource locations.
https://blogs.msdn.microsoft.com/azureservicefabric/2018/12/04/service-fabric-mesh-preview-refresh-release/
If you run this command it will show which locations have the update.
Get-AzureRmResourceProvider -ProviderNamespace "Microsoft.ServiceFabricMesh" | ? {$_.ResourceTypes.ResourceTypeName -eq "gateways" } | % { $_.ResourceTypes.Locations}
I've just executed that command and East Asia is the only resource location that's been updated.
Try running the demo against a resource group in that location and see if you get the same issue.

I would suggest just wait for it to roll out in regions.. It should work post that.

@Pothulapati - Are you still facing issue here?

@raunakpandya - I tried it again. The command shows running for like half an hour and still shows the same. When I try to see the status of the deployment it is shown as running, but when I browse the ipAddress given, the site isn't responding.
Willing to share any other details if needed.
Thanks

After a lot of time, It failed with the following error
Deployment failed. Correlation ID: 43b3192b-9645-4f04-becc-20bb4b142726. {
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource provision operation did not complete within the allowed timeout period. Please see https://aka.ms/arm-deploy for usage details."
  }
}

@mattrowmsft - Any ideas?

@Pothulapati we are taking a look.

There was an error in our configuration for these clusters which caused a bunch of "bad" clusters to enter our pool.  These have been purged out, and the configuration error and the detection miss fixed.  Please try again now and it should work.

@mattrowmsft Awesome, It works!
Thanks. :+1:


Delay of initial agent is pretty long [OneDrive listener]

Empire Version
2.5
OS Information (Linux flavor, Python version)
Kali Linux
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
Hello! I encounter a problem with the onedrive listener.
In fact when I get an agent Empire begins by  immediately showing the text "[*] New agent 5P1X2SD checked in" in blue, so it's normal. But a delay of more than 5min surges before I can interact with the agent. (I mean before "[+] Initial agent 5P1X2SD from <IP_ADDRESS> now active" appears)
Second tiny problem, when removing agents, onedrive listeners immediately restages it with other name. "[*] Invalid agent, deleting results/5P1X2SD.txt and restaging"
I would like to have confirmation of the normality of these behaviors?

Hi jammys,
What are the values of your PollInterval and DefaultDelay for the Onedrive listener?
The staging process is much longer than a normal HTTP listener because the agent and listener cannot immediately reply to each other, they just have to watch the Onedrive folder for new files. The delay for the agent could be decreased, but would result in more network activity during the staging process.
You could remove the "*2" on lines 122 and 196 of https://github.com/EmpireProject/Empire/blob/master/data/agent/stagers/onedrive.ps1 for example.
I usually run the Onedrive listener with a DefaultDelay of 30, and I get a full agent within 2 minutes of staging.
For your second question: Yes, that's normal. It's not actually restaging the agent right away. (you'd see a "new agent checked in" message for that) It's just putting a small message in the Onedrive folder to let the agent know that it needs to restage. If the agent is actually dead, then nothing else will happen, but if the agent is still running, it will see that message and restart the staging process.

Thank you for your prompt response.
I did'nt touch PollInterval and DefaultDelay values (these are default).
I will follow your advice : reduce the DefaultDelay and trying to remove the lines from onedrive.ps1 :)


[SPARK-4574][SQL] Adding support for defining schema in foreign DDL commands.

Adding support for defining schema in foreign DDL commands. Now foreign DDL support commands like:
CREATE TEMPORARY TABLE avroTable
USING org.apache.spark.sql.avro
OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")

With this PR user can define schema instead of infer from file, so  support ddl command as follows:
CREATE TEMPORARY TABLE avroTable(a int, b string)
USING org.apache.spark.sql.avro
OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")

@scwf I made a pull request (https://github.com/scwf/spark/pull/19/) to your branch. This PR moves the data type parser into our DDLParser. With it, data type keywords are also parsed in a case insensitive way. Let me know if it makes sense. Also, we probably want to add more tests for the parser.

@yhuai i have merged the PR:)

And i will add the more tests here

Test build #25128 has started for   PR 3431 at commit ddab984.

This patch merges cleanly.

Test build #25128 has finished for   PR 3431 at commit ddab984.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class DefaultSource extends SchemaRelationProvider
case class ParquetRelation2(
trait SchemaRelationProvider

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25128/
Test FAILed.

The parser change leads to HiveCompatibilitySuite failed

Have not found the root cause, and idea here @yhuai ?

Seems this change can not parse structField struct<>

Test build #25137 has started for   PR 3431 at commit d02547f.

This patch merges cleanly.

@marmbrus told me that <> is a delimiter defined in https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/SparkSQLParser.scala#L63. So, seems we need to handle struct<> specially for now.

Test build #25137 has finished for   PR 3431 at commit d02547f.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class DefaultSource extends SchemaRelationProvider
case class ParquetRelation2(
trait SchemaRelationProvider

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25137/
Test PASSed.

@scwf Actually, I tried struct<> with runSqlHive and got an exception. https://issues.apache.org/jira/browse/HIVE-3323 seems the original hive jira that introduced struct<> (for thrift support). Maybe we should not allow users to define struct<> and take care it specially in org.apache.spark.sql.hive.MetastoreRelation$SchemaAttribute.toAttribute?

@yhuai if we want to handle it in org.apache.spark.sql.hive.MetastoreRelation$SchemaAttribute.toAttribute, it is hardly to reuse the data type parser of ddl, so maybe we can/should revert the HiveMetastoreTypes ?
Actually i think whether to allow users to define struct<> is a small point, how about let users can do this and then org.apache.spark.sql.hive.MetastoreRelation reuse the data type parser of ddl?
This two both ok for me, if you have any other concern let me know.

@scwf
One thing to note : )
The RunnableCommand CreateTableUsing is not belong to ddl.scala
It should be defined in org.apache.spark.sql.sources.commands.scala

Test build #25156 has started for   PR 3431 at commit b621c8f.

This patch merges cleanly.

Test build #25156 has finished for   PR 3431 at commit b621c8f.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class DefaultSource extends SchemaRelationProvider
case class ParquetRelation2(
            sys.error(s"Failed to load class for data source: $provider")
trait SchemaRelationProvider

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25156/
Test PASSed.

@scwf @OopsOutOfMemory Actually, can we revert the last commit (moving CreateTableUsing out of ddl.scala)? We'd like to put it in ddl.scala since it is a part of the work of supporting foreign DDL commands.

@scwf I have created a PR to your branch for the above comments. I also made a few updates in test.

Test build #25189 has started for   PR 3431 at commit 1eeb769.

This patch merges cleanly.

Hi @yhuai i have merged your PR. Why i move CreateTableUsing to a new commands.scala is that in future there may be more commands in data source api such as commands for sink, so we can let them all in a single commands.scala

@scwf Some updates in https://github.com/scwf/spark/pull/21.

Test build #25279 has started for   PR 3431 at commit f336a16.

This patch merges cleanly.

Test build #25279 has finished for   PR 3431 at commit f336a16.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class DefaultSource extends SchemaRelationProvider
case class ParquetRelation2(
trait SchemaRelationProvider

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25279/
Test FAILed.

retest this please

Test build #25283 has started for   PR 3431 at commit f336a16.

This patch merges cleanly.

Test build #25287 has started for   PR 3431 at commit a852b10.

This patch merges cleanly.

Test build #25283 has finished for   PR 3431 at commit f336a16.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class DefaultSource extends SchemaRelationProvider
case class ParquetRelation2(
trait SchemaRelationProvider

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25283/
Test PASSed.

Test build #25287 has finished for   PR 3431 at commit a852b10.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class DefaultSource extends SchemaRelationProvider
case class ParquetRelation2(
trait SchemaRelationProvider

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25287/
Test PASSed.

@scwf I have done it and will have a PR to your branch.

https://github.com/scwf/spark/pull/22

ok, merged!

Test build #25354 has started for   PR 3431 at commit 7e79ce5.

This patch merges cleanly.

Test build #25354 has finished for   PR 3431 at commit 7e79ce5.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait SchemaRelationProvider

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25354/
Test PASSed.

Thanks for working on this guys!  Merging to master.
@yhuai can you clarify the difference between SchemaRelationProvider and RelationProvider in the scala doc in your next PR?

Yeah, no problem.


Linux support

@e110s @pando85  @denegny You guys are using Nativefier so I think you will like WebCatalog. Give it a try :)


Improve BOINC security : Account keys!

 Issue by grctest
Tuesday Apr 11, 2017 at 21:29 GMT
Originally opened as https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/106

Improving BOINC security: Account Keys!
What are account keys?
Account keys enable your BOINC client to continue crunching with your account regardless of email or password changes. You can also log into an individual BOINC project account given the user's account key.
Whilst account keys are handy for users with many computers (saves time logging into each machine) or handy for project admins (no computation downtime due to users changing passwords), they pose an extreme security risk within the BOINC community.
Why are account keys risky?

Changing your username, email and password has no effect on the account key. It can't easily be changed without the project admin manually changing it.
You can log into the BOINC project web server with an user's individual project account key.
Considering the account key never changes, once you have it you've established a permanent account compromise.

Who knows my email address?

Account manager admins
Individual project admins
Your team's founder for each BOINC project.

PSA: Do you know who your team founder is? Have you hidden your email yet?
Within the Gridcoin team 99% of users have not hidden their email, this is potentially the same case across the entire BOINC community.
Who/what has access to my account keys?

BOINC Account managers: Boincstats, Gridrepublic, potentially Gridcoin pools (needs further confirmation).
If you're logged into the BOINC manager with username+password (instead of weak auth)

Anyone with physical access to your unlocked machine can rummage the local files for the account key.
Anyone that has remotely compromised your computer in the past could have exfiltrated your accountkey.

An attacker who has successfully phished one BOINC account password -> If you use boincstats the attacker can gain access to your other BOINC accounts (same email) and grab the account key.
Malicious project admins (project password -> identical Boincstats password -> external projects (w/ same pass) -> account keys for each project.
Anyone that manages to hack an account manager or a BOINC project.
Anyone that registered using your email address. If you continue to use this account after changing the password, you're still using a permanently compromised account.

Why care about permanent account compromise?

Someone could impersonate you in private messages, targeting your peers.
Your private messages could be made public.
You can be inconvenienced by your account profile changing against your will.
Malicious/Illegal forum posts could be made with your account, potentially landing yourself in trouble.
Your computation schedule could be manipulated to crunch 24/7, increasing your electricity bill or posing a fire risk.
Subtle changes could be made to reduce your RAC.
Potential squatting of unclaimed CPID for cryptocurrency earnings.

There are many reasons, it's not a good thing.
How can I minimize risk?

Don't use an account manager.
Attach BOINC hosts using your weak auth key instead of username+password. This prevents the account key being created locally (physical/remote account compromise protection).
Enable any 2FA options offered by BOINC projects.
Don't let anyone know your BOINC email address. Strongly consider using a unique email for BOINC use.
Don't use the same email for Gridcoin pools that you would use for your BOINC registration.
Has anyone previously gained access to your account? Did someone else create your BOINC account? Consider creating a new BOINC account.
Hide your email address within your individual BOINC project privacy options, otherwise your team founder has access to your email address (for most projects).
Consider creating a seperate BOINC account with a different email address for projects you do not 100% trust.
Consider running BOINC in containers, sandboxing project work units from one another.
Aid in core BOINC development.

Thoughts?
IMO, the complete removal of account keys would be desirable. We shouldn't expose this large a risk so that a few have an easier time maintaining their BOINC environments.

 Comment by grctest
Tuesday Apr 11, 2017 at 21:41 GMT

Relevant security issues:
https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/78
https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/102
https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/105
https://github.com/BOINC/boinc/issues/1644

 Comment by Erkan-Yilmaz
Sunday May 14, 2017 at 15:41 GMT

We talked about the email validation by the BOINC server also in our 8th interview (series: "talking with BOINC admins"), see the 2nd part of the interview.

https://github.com/marius311/boinc/commit/2c2ace80fcc850ced90342e328cfac880e2bc00b
Marius from cosmology@home began working on this, we can safely remove the account-key web authentication mechanism and implement a replacement email password recovery mechanism.


Remove all usages of char_at

We can’t run Clippy tests on Travis because of that (see https://travis-ci.org/Manishearth/rust-clippy/builds/135048040#L393). Those changes are copy-pasted from Rust repo.

I'll publish a new version tomorrow when I'm back on a laptop.


Character Conformance Changes

There is no need to check for Unicode surrogate code points since a Rust char is excluded from ever containing one...
The only bytes left not allowed are everything under 0x20 that is not \t \r or \n, also non-characters 0xFFFE & 0xFFFF. This gives a speed bump (consistent 10% with a 13 MB xml file on my machine), bc the character-by-character-check gets much simpler.

Good find. Thanks!
Can you add a comment explaining why we're skipping those ranges? Otherwise it would be confusing.
And I guess we cannot really test for it since it is handled by str::from_utf8, right?

Thanks!


Initial service hook sample

@willsmythe Can this be used to set up Git push Hooks for Jenkins?

Closing really old PRs.


unit tests with LDAP fail on travis-ci

Issue Name
unit tests with LDAP fail on travis-ci
Summary
travis doesn't have access to LDAP so unit tests fail.
need to either disable LDAP tests or add ldapd container to travis docker setup
Steps to Reproduce
see travis output of unit tests
Current Behaviour
LDAP tests fail
Expected Behaviour
Extra Details
Here you should include details about the system (if it is unique) and possible information about a fix (feel free to link to code where relevant). Screenshots/GIFs are also fine here.

openldap container now added to travis


📝 Update includes in docs/en/docs/advanced/generate-clients.md

This PR updates the formatting in generate-clients.md to the new syntax. Changes include:

Replaced old syntax brackets {! and !} with {* and *}.
Updated line highlighting format to use hl[...] notation.

Hi @AyushSinghal1794, thanks for your interest in contributing to FastAPI. I noticed a couple of errors in your PR, there are duplications like the following in the tabs:

Can you check again and update the file? Thanks in advance! :raised_hands:

Hi @alejsdev, thank you for reviewing my PR! I’m glad to contribute. I noticed your comment about duplications in the tabs, but I’m not entirely clear on what changes are needed. Could you provide a bit more detail or an example of the duplication you noticed? I’ll be happy to make the updates right away. Thanks again!

You can see issue #12554 for a detailed explanation, in the Multiple Python Versions section there is an example for your case :nerd_face:
I hope it helps, thanks for your effort! :rocket:

Hi @alejsdev, thank you for your patience! I’ve made the necessary changes based on your feedback and opened a new PR [#12642 ]  with the updates.  I’d appreciate it if you could take a look when you have a moment. Thanks again for your support and guidance through this process! 🙌


Make --async the default mode

This frees the --async command line option for use as filter. See #1

Done in 69e846911839eb674ca4332c3af849edc3fe573b


Contributors

@SimonGreenhill Are you the only contributor to this dataset or is it the same team as abvdoceanic? Should we cite all the authors form the 2008 paper as authors, in addition to the 2024 authors?

Not Oceanic. Please add all authors of this paper: https://www.nature.com/articles/s41598-024-65810-x


ITK error when searching for body symetry

data (on local): dev/gray_matter_segmentation/errsm_30/template_in_t2star_space/template/
sct_propseg -i MNI-Poly-AMU_T2.nii.gz -t t2 -verbose
Exception caught while computing symmetry
/usr/local/ITK-static/include/ITK-4.5/itkImageBase.hxx:184:
itk::ERROR: Image(0x7f9ac1b011e0): A spacing of 0 is not allowed: Spacing is [0, 33.9728]

this happened on sct_example_data:
sct_smooth_spinalcord -i t1.nii.gz -s t1_seg.nii.gz
sct_propseg -i t1_smooth.nii.gz -c t1

will be fixed with the new detection method


Dockerize

Adds a Dockerfile to containerize this environment.  Also, adds a bit more in the README on how to use it, as well as a .gitignore to clear away any cruft left behind from editing files in the notebooks folder.

This PR is out of date now that #7278 has been merged into ipython master, so I'm closing it.


[Bug]: incorrect payload dependency

Package name
payload-openapi
What happened?
with fresh payloadcms install (2.0.0)
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "payload-swagger ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>
What did you expect
No response
Setps to reproduce
install fresh blank payloadcms and try add payload-swagger@latest
Tool version
1.4.0
Payload version
2.0.0
Node version
20.14

I had the same error installing payload-swagger that internally uses payload-openapi

Payload version<EMAIL_ADDRESS>Node version: v22.8.0
Tool version: 1.4.0


hls_lfcd_lds_driver: 2.0.4-1 in 'galactic/distribution.yaml' [bloom]

Increasing version of package(s) in repository hls_lfcd_lds_driver to 2.0.4-1:

upstream repository: https://github.com/ROBOTIS-GIT/hls_lfcd_lds_driver.git
release repository: https://github.com/robotis-ros2-release/hls_lfcd_lds_driver-release.git
distro file: galactic/distribution.yaml
bloom version: 0.10.7
previous version for package: null

hls_lfcd_lds_driver
* fix linker error
* Contributors: goekce, Will Son

Holding for a Rolling sync.


Phase1 Updates

Changes:

Edited the MetasysHttpExceptions to not derive from Flurl exception classes.
Edited xml headings to all Phase 1 related classes and objects including MetasysClient, IMetasysClient, Variant, VariantMultiple, ApiVersion, and AccessToken.
Removed automated Flurl exception management to give better control over exception handling in MetasysClient.
ReadProperty now returns null if no resource is found and no exceptions are thrown.
Fixed error handling by added missing exception catches on multiple methods, fixed missing null reference check in ReadPropertyMultiple.
Improved upon existing testing structure and added missing tests for Metasys Exceptions.

Note: Phase 2 methods still need the improvements the phase 1 methods now have. README update will come in a separate pull request.

ReadProperty now returns null if no resource is found and no exceptions are thrown.

What is the return type of ReadPropety? If it's a structure (like Variant) then it's good to make it nullable (Variant?) which returns an optional and requires the consumer check for null before they can use it.
Returning null when the return type is a class is error prone. The consumer normally won't right code to check for null. In C# 8 we can use nullable reference types which will help mitigate this issue and at least issue a warning for users that they are not handling possible null values.

After a more detailed analysis I think we could just raise an Exception also for HttpNotFound response code of ReadProperty. The method assumes that you know in advance the GUID and the attribute you are reading and this information is supposed to be obtained exploring the object tree. There is no need to use this method for "exists" logic performing null check. The only case where we can arrive here is if the item was removed from Metasys and the client App cached locally the GUID without refreshing the elements: this is clearly an Exception.
However, an extra attention is needed for ReadPropertyMultiple: this method has a dependency on ReadProperty and we could have the case where different objects don't share the same common attributes set. In this scenario we get back a NotFound and need to be handled without Exception, simply without returning the missing attribute. So we could just keep a private signature for ReadProperty that doesn't throw exception and returns null, only for internal use of ReadPropertyMultiple.

@buldrinie my recommendation would be to make the return type from these calls be structs (not classes) and then make them nullable (My original template for these methods all returned structs for this very reason). What is actually returned then is an Optional where T is your return type.
This allows you to keep the consistent null return when not found, and forces the consumer to check for null. (It clearly communicates to the consumer that null is an expected return value)

@mgwelch, this is addressed in this commit https://github.com/metasys-server/basic-services-dotnet/commit/b9ba2964d47fa4d1751d80ee025e9ec7b8fddec0. Please let me know if you want to keep the throwsNotFoundException bool parameter to control the Exception.

If you are okay with the use of the Optional (as it appears you are), then I think using null (and documenting it as such) as the not found value is enough. No exception is every needed, and the boolean parameter isn't needed either. I think I'd be inclined to remove it.

@mgwelch, I removed the Boolean parameter in this commit https://github.com/metasys-server/basic-services-dotnet/commit/480d3eb1d57288010d15dc7291c6e22189d689d5. My doubt for the nullable struct is that makes the method usage heavier with the use of .Value to retrieve the result and we can't use inheritance in case we need to extend the struct, but as soon as we don't have blocking limits for me it's ok.

I can support your previous decision if you wish to reverse these recent changes. I only weighed in because it seemed like we were getting a bit of a difference in how ReadProperty and ReadPropertyMultiple would work. And it seemed using nullable struct made it easier to make them work more the same.
I would not strongly object to the way you had it.

My doubt for the nullable struct is that makes the method usage heavier with the use of .Value to retrieve the result

Yeah, but it's not really heavier. If the values in ReadPropertyMultiple could be null then every place a consumer is checking to see if the optional has a value they would have to be checking for null anyway. All the use of Nullable is doing is making it explicit that you have to do the check. (Note: they should never use .Value without checking if there is a value. GetValueOrDefault() is often a good choice instead. Or extension methods that can do .Map or .GetValueOrElse(T elseValue).

and we can't use inheritance in case we need to extend the struct,

I'd be very careful even considering inheritance. Using delegation and interfaces is often better than inheritance (in terms of maintainability and potential unforeseen errors and more difficult testing)


[Epic] New Donation Flow  - New version of the Donation Flow

Closes #1272
Motivation and context
For more information on certain changes check out the respective PRs.
This is a final PR to finish off the new donation flow including:
https://github.com/podkrepi-bg/frontend/pull/1330
https://github.com/podkrepi-bg/frontend/pull/1322
https://github.com/podkrepi-bg/frontend/pull/1314
https://github.com/podkrepi-bg/frontend/pull/1311
https://github.com/podkrepi-bg/frontend/pull/1294
https://github.com/podkrepi-bg/frontend/pull/1287
https://github.com/podkrepi-bg/frontend/pull/1276
https://github.com/podkrepi-bg/frontend/pull/1274
https://github.com/podkrepi-bg/frontend/pull/1336
Screenshots:

Desktop

Success
Fail

Testing
E2E Tests:

Anonymous donation with custom amount leading to success
Anonymous donation with fixed amount leading to success
Failing donation with insufficient balance

Steps to test

Go to the donation page on /campaigns/donation/{slug-of-the-campaign} by clicking the "Donate now" button on one of the cards.
Fill in the form with the desired values and click submit.

Affected urls
/campaigns/donation/{slug-of-the-campaign} - Old version of the donation flow has been deleted and now the new view is showed.
/campaigns/donation/{slug-of-the-campaign}/status - New page that you are redirected to when you make a payment.
New environment variables:

[x] STRIPE_PUBLIC_KEY: Public key to power on the client side Stripe SDK - https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#add-and-configure-the-elements-provider-to-your-payment-page

New or updated dependencies:

Dependency name
Previous version
Updated version
Details

formik-persist-values
v^1.4.1
v^1.4.1
Utility for formik to keep form state in storage

About the STRIPE_PUBLIC_KEY I added it as an action variable (not a secret). I also called it STRIPE_DEV_PUBLISHABLE_KEY since I noticed that these things are called "publishable keys" everywhere. It is not required to be a secret. Please rename it in the code as well. I will make the necessary changes to the manifests and the action itself

API Epic Branch: https://github.com/podkrepi-bg/api/tree/480-epic-new-donation-flow-recurring-donations-support

@dimitur2204 how is this new donation flow going?
I can see some missing photos on the prev. flow so not sure if we are going to keep it for now or waiting for the new one
Photos of recipient and bg photo are missing according to last design

Required API changes can be found here api#627


A* Contribution: Lightning Visualisation

Community Contribution
Link to live project, video, or image:
https://dansarno.github.io/lightning-visualisation/
Sharing

[x ] I would be happy to have my project shared on The Coding Train's social media!

Thank you for this awesome contribution ❤


[Roots 3] Spell ideas

"Gust", boosts you 3-6 blocks into the air. Potentially blows back enemies. (Already exists as a more expensive future spell you mentioned.)
"Scatter", plant seeds in fertile ground in a 5x5 or 7x7 around the player. Seeds would be chosen from your off-hand for specifics, or at random from your inventory.
"Thaw", melt snow and ice into running water, hydrate farmland.
"Disarm", disarm nearby monsters. This would have a big impact on skeletons.
"Scythe", break grass in a 7x7x3 or a 10x10x5 radius. It would make looking for seeds that much more enjoyable. Additionally, it could harvest and replant all crops within that area.
"Shed", cause one nearby animal to shed its skin (cow, llama), some wool (sheep), or some feathers (chickens). Such animals can only be shed after a cooldown has expire (hey there entity capability injection!) (could still be useful as like a single-target animal harvest ritual)
"Fall", cause nearby leaves in a 10x10x10 or 7x7x7 radius to break and drop their bounty. Additionally causes all grass block to convert back into dirt.
"Till", if not included in "Scythe", would harvest and replant crops within a defined area.
"Blades", turn random top-level blocks of dirt in 10x10x5 area into grass (blades of grass).

Waiting on spell rework

Just some more thoughts I've had on these:
"Shed" technically already has a ritual associated with it (although I've yet to unlock it). I imagined that a single-target but aoe version would be a useful early way to get feathers without Quark installed. Although I would strongly recommend a SHED_COOLDOWN entity capability.
Spells for aoe or 3x3 harvesting (you right-click the center block) & replanting could probably leverage the ideas that TehNut's Harvest mod uses -- consuming the relevant seed item from the drops, firing the relevant forge event, then replacing the block state with the default for the crop/"age 0". That is, if you do replanting (making "Scattering" only conditionally useful).
"Disarm" may be OP for dealing with skeletons. This could be negated by having a short radius which means you have to get close to them in the first place.
"Thaw" is really just a utility spell for cleaning up snow/breaking ice. I don't think it necessarily should be an expensive or difficult spell to make.
"Scattering" could be extended to cover saplings -- it could plant them pseudo-randomly but with a defined distance between them, allowing for accurate tree growth. I'm not sure what the proper algorithm would be.
"Till" could simply be a 3x3 (based on the center block) conversion of relevant blocks into farmland.
"Blades" could randomly turn dirt blocks into grass, meaning that there's a starting point for the grass to spread, but it would need more care.
New spell idea(s)
"Drizzle": a splashing sound as heavy rainfall suddenly falls around the player, hydrating farmland and giving a potential burst of additional growth ticks. It would need to be expensive enough that it couldn't be immediately spammed in order to function like a watering can.
"Candle": creates a temporary invisible light-casting entity at the targeted location that lasts a medium amount of time, then decays randomly or is destroyed when the chunk is unloaded. Could make mining useful.

Priority: Scythe/Whirlwind
Additional: Compression

Isn't the candle spell quite similar to Fey Light? @duely

Yeah, I think that one can be discarded.


custom volumes don't work for server

Hello,
nice project! I hope you keep on the good work in there!
I believe that the custom volume code in the server template is incomplete, namely the integration of:
.Values.server.volumes
.Values.server.volumeMounts
I'll create a pull request.
Best regards!

Hi @shk3bq4d
Thank you! Yes, it needs some more work. But currently a bit to much going right now. So hopefully soon I will be able to fully continue with this.
In the mean time, if you need a fix/functionality you can always create a PR.


feat!: bump flagd version to 0.2.0 (connect refactor)

https://github.com/open-feature/open-feature-operator/issues/91

Merge needs to be synced with the updates to the playground example (will use the new provider)

Looks like this is stale and needs to goto 0.2.1


Allow Image Preview and Image cropping before uploading

Is your feature request related to a problem? Please describe.
Image previewing should be allowed before uploading an image and the image should be allowed to be cropped.
Describe the solution you'd like
Use an image cropping library and allow image preview when a user uploads a single image at a time. I will also try to implement this for multiple images as well.
Describe alternatives you've considered
N/A
Additional context
working on it.

@Tushar19varshney I was thinking of adding a image cropper should I add it as a different app or a new feature?


Internal state without setState

There are situations at almost all controls I've wrote when I need to hold some state but this state isn't React or Flux state. Because I don't want additional rerender.
For example:
  _onMouseEnter(poly) {
    clearTimeout(this.mouseLeaveTimeoutHandle_);
    onHoveredChange(poly);
  }

  _onMouseLeave( /* poly */ ) {
    this.mouseLeaveTimeoutHandle_ = setTimeout(
      () => onHoveredChange(null),
      1000 / 60
    );
  }

Here I use  this.mouseLeaveTimeoutHandle_ to prevent rerender if Mouse enter new object.
Sometimes such state used as cache, sometimes to support imperative DOM calls.
May be recompose needs something like withState but with getter functions support and without setState calls?
(For such state Getter Setter functions (or one function) are passed through props, not a value)

I can share such state using
@mapProps(p => {
   let internalState = 0;
   return {
      ...p,
      incInternalState() {
        ++internalState;
      },
      getInternalState() {
        return internalState;
      },
   };
})

May be this enough.

Look's like enough :-)


Running on python3.x

hi again!
recently I've spent time reading YOLO papers and trying to understand your codes.
now i think it's time to fine-tune the yolo and then make some modification on the basic structure of yolo.
but soon after I managed to prepare my own datasets from IMAGENET, I got another issue regarding python version.. I'm using python3.x and i have absolutely no idea about python2 or compatibility issue..
now i decided to first convert your codes to the codes that can be used in python3.x and then use them.
this weekend i'm just gonna convert all the python2-type print to python3-type print function and then i will execute the codes.
ex) print 'Hello world!' ----> print('Hello World')
so.. can you tell me what kind of other issues i have to consider except for print function issues when py2.x -> py3.x ?
thanks in advance!

The difference between python3 and python2 in my code maybe only print and /(division).
But I'm not quite sure, please leave a comment if you meet any other errors :)

ok I will try and then tell you errors if occur. thanks!

Variable global_step already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at:   i meet this error when i run the program of yolo-tensorflow？what should i do? can you give me any advice?

Did you already define global_step in other place?


[WIP] Remove filter for prefixed underscore in directory name

What does this do / why do we need it?
This removes the package filter for pakages with directories prefixed by _. This is necessary because currently some git repo providers (VSTS) have a directory path containing the directory _git or _ssh.
What should your reviewer look out for in this PR?
I'm not sure if there was another reason for that filter, so if someone could point out to me why it existed in the first place that would be great!
Do you need help or clarification on anything?
As above, the reason for the original filter on directories prefixed by _.
Which issue(s) does this PR fix?
#1688

I signed it!

hi, thanks for the PR!
Unfortunately, this needs to stay the way that it is. It's there because the toolchain treats these directories as hidden. If we don't mirror that behavior, then dep would start treating code that the toolchain/most other tools consider to be hidden as active.
Could you be more specific about what the actual problem is you're encountering with VSTS?

That makes sense. So unfortunately the standard path for VSTS contains a _ssh or _git directory in the path to repositories. Of course as a user of VSTS you can just change the package path to be something else it just moves away from convention of having the package path match the repository path.
Is there a reason the toolchain considers _... as hidden instead of just using the dotfile convention of Unix?


what port the rancher tools logging use?

is the port 24444?
kubectl logs -n cattle-logging fluentd-49xxd fluentd -f
i see the pod log of  fluentd-xx.

rpc_endpoint "<IP_ADDRESS>:24444"

does it right?

This is just an exporter of logs. That rpc endpoint is a management endpoint for fluentd, and is not meant for the end user. If you want to collect logs, you need to configure a target at either the cluster or project level in Rancher. We are not providing a user interface to view and interact with the logs.


Bump demo version to use dekorate bom

Feature
Bump demo version within the pom.xml filr to use dekorate bom and Snowdrop Spring Boot 2.1.6.SP3

c4021d69a6fb530fb37ce7ac21e1a72eb9eb32f3


Hotkey for Dev Home Project Ironsides not documented

Provide a description of requested docs changes
A new autostart "Hotkey for Dev Home Project Ironsides" was randomly added to my PC. There is no explanation or documentation available what it is useful for and what it has to do with "hotkeys". I cannot even find any feature within Dev Home (unconfigured) that looks related to this.

Tagging @andreww-msft / @timkur.

This is documented.


Unified documentation

There are many differently designed docstrings in the documentation, but not every method has one. Provide every method with a templated docstring to enable readabiliity. These may contain the name and description of the method, the input arguments and their types, description of input  and return values.

thanks - fixed in #61


How to use InputComponent to render a custom component like paper TextInput

How exactly do I render a custom TextInput like react-native-paper?
I attempted to render it with the InputComponent and receive an error: null is not an object (evaluating j.current.blur) when i click on the selection.
When I render with the render prop from react-native-paper TextInput, the selection overlaps the label.
Any help is appreciated.
Please find the snack below:
https://snack.expo.dev/29Lnl2f2-

Hi
I guess you have to use component with forwardRef

sorry I read the docs on forwardRef but I am having a very hard time figuring out how to use it in this case. Could you please provide some pointers?

https://snack.expo.dev/@onmotion/arrogant-marshmallows-fork

Oh it's that easy huh! I understand now. Thanks so much for your help.


Use local language server

Is there a way to configure the plugin to use the local language server instead of the one installed be Mason?

If it's on your PATH and its supported by nvim-lspconfig, then yes. Use the function .configure then add the option force_setup = true.
local lsp = require('lsp-zero')
lsp.preset('recommended')

lsp.configure('dartls', {
  force_setup = true
})

lsp.setup()

I get this error
[lspconfig] Cannot access configuration for rust-analyzer. Ensure this server is listed in `server_configurations.md` or added as a custom server.

It's rust_analyzer, with an underscore.

Thanks. It works nicely in android.
By the way, what does the force_setup do?

Skips the internal checks that makes sure the server is installed. It calls the setup function for the server and hopes for the best.

I guess I cannot sent parameters to the server, right?

You can. The second argument to .configure is passed to lspconfig, you can send any valid option to the server.


[1.7.10]crash when loading a world

Issue Description:the minecraft crashes
What happens: the Minecraft crashes when I load a world
What you expected to happen: the world would load normally but instead, it crashed Minecraft (as open-eye report it )
Steps to reproduce:
1.just load the world
2.
3.
...

Affected Versions (Do not use "latest"):

EnderIO:1.7.10-<IP_ADDRESS>9_beta
EnderCore:1.7.10-<IP_ADDRESS>_beta
Minecraft:1.7.10
Forge:1.7.10-<IP_ADDRESS>4-1.7.10-universal
SpongeForge? no
Optifine?  yes versions:_1.7.10_HD_U_E7.
Single Player and/or Server? singleplayer

Your most recent log file where the issue was present:
crashlog:https://pastebin.com/hRHrL9K0

Extracells is failing because it never got updated to the beta branch of ae2, check their issues, there is a Workaround

what workaround

oh ok so its a problem with extra cells let me report it


Refactored plan edit details and share pages.

Refactored the Project details page per #491
Refactored the Plan sharing page per #497
Consolidated alert/notice/tooltip styling and site's background color to the dmproadmap.scss file so that these settings are more easily changed when branding the site
Updated alert/notice message colors per #175

removed unecessary endpoints from plans_controller
removed _plan_title.html.erb
added JS logic to prevent user from selecting more than 6 guidance groups (the limit discussed in the UX meeting)
switched the remoteSave ajax wrapper method to asyncRequest(params, callbacks). The params value should be a hash of jquery ajax parameters (e.g. {url: '/my/path', type: 'POST', ...}) and the callbacks should be a hash containing {success: functionA, failure: functionB} The method calls the animateNotification() function which sets the accessible alert/notice message. See lib/assets/javascripts/views/plans/index.js and the set_test endpoint on the plans_controller for an example of usage. If all you want to do is set the notification message you can send an empty hash to the function.
Created a new animateNotification function
Fixed issue with viewing the read-only version of the plan details
Updated the 'my dashboard', 'project details' and 'plan share' pages to work with these changes

All requested changes made or tickets created so this is looking good to me


Can I Give Multiple BasePaths in Swaager 2.0?

Hi,
Can I give multiple base paths in swagger 2.0 ? Please help

Please don't spam the same question (from different accounts) - posting it once is sufficient to elicit a response.


User directory filters are not styled

Fixed https://github.com/nileane/TangerineUI-for-Mastodon/commit/389876137d9cbb9c2e2888b2465662b9d747fb89


resolve linting issues

related to https://github.com/openjournals/joss-reviews/issues/3464

closes #123, #124, #126, #127
Note that the class hierarchy has been changed to reflect the difference in parallelism mechanisms. #130 is tracking the unification of these mechanisms in a future release.