x/tools/gopls: quickfix_empty_files (govim) test flaky

What version of Go are you using (go version)?

$ go version
go version devel +73d213708e Sat Jan 25 16:34:18 2020 +0000 linux/amd64
$ go list -m golang.org/x/tools
golang.org/x/tools v0.0.0-20200124220429-8fe064f891f2
$ go list -m golang.org/x/tools/gopls
golang.org/x/tools/gopls v0.1.8-0.20200124220429-8fe064f891f2

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/myitcv/.cache/go-build"
GOENV="/home/myitcv/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/myitcv/gostuff"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/myitcv/gos"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/myitcv/gos/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/myitcv/gostuff/src/github.com/myitcv/govim/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build059125969=/tmp/go-build -gno-record-gcc-switches"

What did you do?
This is somewhat similar to #36661
We have just added a new govim test that seeks to verify diagnostics are as expected where initially empty .go files exist on disk, but changes to populate those files are then made (but not saved) within the editor.
Like #36661, the scenario involves creating a package p with a simple function DoIt. p is imported by a main package. p also has a test file that exercises DoIt, and an external test file that does the same.
Initially all call sites for DoIt incorrectly pass an integer argument, meaning we should have error diagnostics for all call sites. Then we correct the definition of DoIt to take an integer argument at which point all diagnostics should disappear.
The test can be seen here:
https://github.com/govim/govim/blob/cmd_govim_add_tests_where_files_initially_empty/cmd/govim/testdata/scenario_default/quickfix_empty_files.txt
What did you expect to see?
The diagnostic error:
cannot convert 5 (untyped int constant) to string

for each of the files main.go, p/x_test.go and p/p_test.go
What did you see instead?
Random results

Sometimes we are missing any diagnostics for main.go
Sometimes we get package p; expected p_test for p/p.go
Sometimes we get "could not import mod.com/p (no parsed files for package mod.com/p, expected: [], errors: [], list errors: [-: p/p.go:1:1: expected 'package', found 'EOF']) for p/x_test.go

One such gopls log file:
gopls.log
Tentatively marking as v0.3.0

cc @stamblerre
FYI @leitzler

Closing this issue due to lack of activity. Please re-open if this remains a problem.

Sorry, my bad @stamblerre - totally didn't get round to replying here. All confirmed as good thanks.


Implement style attribute option

As title - I made this because i found myself wanting an inline way to test new looks without having to go to my css file and create or modify  a class.
See working example here: https://embed.plnkr.co/z79OHV/

Hi @julmot,
I agree on the fact that inline styles are bad practice, and my pull request was just for convenience, making it easier to "quick and dirty" test  new looks. Your solution satisfy my need just as well. Thank you.


Front-facing camera can't video

The official code changed in the following places
String cameraId = manager.getCameraIdList()[1];
Can't video
How can I solve?

you need find Back CAMERA ID with code like my :
for(String cameraId : cameraManager.getCameraIdList()){                 CameraCharacteristics cameraCharacteristics = cameraManager.getCameraCharacteristics(cameraId);                 if(cameraCharacteristics.get(CameraCharacteristics.LENS_FACING) ==                         CameraCharacteristics.LENS_FACING_BACK){                     continue;                 } mCameraId = cameraId; return; }

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


fix(layout): added support to mobile devices

Fixes #390

To rebase is too hard, I made another PR here: https://github.com/privacy-scaling-explorations/maci-platform/pull/400

Closing this as the other one has been merged


Addresses #1718 edit telocyte

Addresses #1718 edit telocyte

@emquardokus, can kindly review the updates?

@bvarner-ebi looks good! Thanks!

Thanks for reviewing, @emquardokus!


Unable to find exact match 20 bp sequence

I'm trying to query this: SQSSSSGSPPRRPPPGRRPF in the PDB seqres:

pos_pathogen_0
SQSSSSGSPPRRPPPGRRPF

!grep -B 1 SQSSSSGSPPRRPPPGRRPF ../../bin/mmseq2_db/pdb/pdb_seqres_protein.fasta
results in:

7k7r_C mol:protein length:20  EBNA1 peptide AA386-405
SQSSSSGSPPRRPPPGRRPF
7k7r_F mol:protein length:20  EBNA1 peptide AA386-405
SQSSSSGSPPRRPPPGRRPF

However, if I use, !mmseqs easy-search -c 0.8 $fasta ../../bin/mmseq2_db/pdb/pdb_seqres_protein.fasta
pos_ctrl_result tmp --threads 8 > output.txt nothing results.

We suppress hits like these likely with our false positive suppression mechanisms. You can try disabling masking and compositional bias correction with --mask 0 --comp-bias-corr 0. That might help with finding these hits. Additionally, you can also disable E-values as this would not really be a homology search anymore with -e inf.


Fix for #159

I have changed the dependency to hercules-team/augeasproviders_sysctl instead of Thias/sysctl module.

I have cleaned the commits but the checks fails I have the same error on my local machine as in Travis. I dont know the kitchen test framework well enough to fix the failed test. Can you help with that @mcgege ?

Thanks for the help @mcgege.
The test are succesful now. I am sorry for all the spam to this pull request. I was messing to much around wit git and github it has been to long time since I last worked with git.

@enemarke Thanks for your patch, I'll test it next week in my test environment.
Just one thing: Please merge in the latest change from the master branch - it seems like you'd rollback this one in your PR.

Merged with #183


brackets color will be different when there is a regexp between them

Problem is with any escaped character.

Yea my custom parser is pretty basic and will fail often. I need to find the time to rip it out and replace it with a better solution such as http://prismjs.com/

Same here, though my case was a bit bigger:

Should be fixed in latest


Snap package for 1.40.2

Please release snap package for 1.40.2

This seems to be fixed now. Closing


Isolate TR1

Fixes #571

It is really an elegant solution, thanks @uartie and @scott-d-phillips

FYI, this will conflict with PR #576 . I will rebase this once #576 merges.

rebased


handle order of cache and cacheRef in XMLMapperBuilder.configurationElement?

MyBatis version
3.4.5
In class XMLMapperBuilder, method configurationElement, now the handle order is as below:
cacheRefElement(context.evalNode("cache-ref"));
cacheElement(context.evalNode("cache"));

CacheRefResolver.resolveCacheRef use MapperBuilderAssistant.useCacheRef, in useCacheRef, we have following:
Cache cache = configuration.getCache(namespace);
if (cache == null) {
        throw new IncompleteElementException("No cache for namespace '" + namespace + "' could be found.");
}

so, if we use cache-ref we always have this exception, and we handle it later in parsePendingCacheRefs, for confirm this, i have a look at MapperAnnotationBuilder.parse some code snippet as below:
parseCache();
parseCacheRef();
so, in XMLMapperBuilder.configurationElement, maybe we should handle cache element before cacheRef element?

Changing the order of these methods would not improve the situation.
<cache /> and <cache-ref /> are not declared in the same mapper, so it depends on the order of mappers being parsed.
Mapper A
<mapper namespace="A">
  <cache-ref namespace="B" />
</mapper>

Mapper B
<mapper namespace="B">
  <cache />
</mapper>

If mapper A is parsed first, configuration.getCache("B") will return null even if cacheRefElement() is called after cacheElement().

Got it, thanks for the comment.


chore: Linkedin partner tracking

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[x] I have added information to docs/ if required so people know about the feature!
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes
Adds linkedin partner tracking when LINKEDIN_PARTNER_TRACKING=true
How did you test this code?
Ran the frontend with LINKEDIN_PARTNER_TRACKING=true, validated conversion events were sent.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.87%. Comparing base (54c2603) to head (5a09f49).
Report is 6 commits behind head on main.

:exclamation: Current head 5a09f49 differs from pull request most recent head 7dab079. Consider uploading reports for the commit 7dab079 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3879   +/-   ##
=======================================
  Coverage   95.86%   95.87%
=======================================
  Files        1130     1131    +1
  Lines       35795    35840   +45
=======================================
+ Hits        34315    34360   +45
  Misses       1480     1480

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

Added one minor specific comment based on the implementation but I'm also keen to make sure that we've verified this doesn't cause any unnecessary outbound requests when the option is disabled, e.g. for self hosted installations. I can't see any reference to it in the test section of the PR description.

Yeah, it wouldn't. The script only gets added to the page if the env var is set https://github.com/Flagsmith/flagsmith/pull/3879/files#diff-d2af3ec690c6d6d6c4691ed1d668ec2cf39c84b774cef27c7346e5efd555d321R106


..(🐺@Crematory@Guzzle Humdrum)..
🐺(frown) : "greetings Mr Humdrum(all un..,Violet..COUNTERING,all un..)"
Humdrum : "i've no idea compeer why this being Viol flower has been allowed in this(all burst..)..this being isn't civilized in facts yet on conditioning only to do them it's intellectual requirements against Freesie flower's minute adjustments..these beings should be left ALONE compeer..oh so demure!(all un..)"
Violet(scowl) : "shut up you b.. your ideas of two shore lacks emotional commitment the whole of devotion rather than your average of inspection of intellectual interrogations on the contact of duality rather than interaction like that crook(all un..,..The Unfolded Ones,all un..,Brock and Violet un..)"
Humdrum : "the fiction of the verb of book..shh..the most successful(all un..)..methodically though not intentionally..intent : the most surviving..oh so demure!(all un..)"
Violet(scowl) : "yeah b.. of formulative boomerangs like that observing jackal will obviously teach these(all un..)..all cause he's infatuated with metrics of relativity not it's incentive(all un..)"
Humdrum : "what exactly bothers you Viol about a feeling(all burst..) that is so detaching just the feeling itself thus you remain in the incessant self..Oh so demure this being to self..aww..feeling(all un..long,Violet..The Vultures of Relationship Frontier,all un..long)"
Violet(frown) : "shut up you b..!..the problem is that it's imperative on how it's dealt as intellect not meaning which that crook brushed aside while he was cooking saying before that there's this feeling of difference but in reality that crook was only doing anything to corroborate to any with the thing of his understanding of being not the intellect that being must either have or not have a feeling hence that crook was only deepening the issue of practice of distribution with difference hence is discerning yet obsessed with oneness rather than distributing it there only(all un..,..Ms Volbeat,all un..)"
Humdrum : "you mean Brock.."
Violet(scowl) : "no not that b.. of reality(all burst..,Ms Volbeat,all burst,Brock and Violet un..)"
Humdrum : "i see what is my Broc.."
Violet(scowl) : "you meant in terms of qualyfing criterion of similarity(all un..)"
Humdrum : "no i meant this croo.."
Violet(scowl) : "shut up you b..(all un..,Genkai and Blossom..WaterFire,all un..)..it's comparison of space unlike it's signifying rest where it ends rather than corroborates with(all un..)"
Humdrum : "but why that is felt as proximat.."
Violet(scowl) : "shut up you b..(all un..,..WaterFire,all the Waterflower Sisters un..).. proximity is always as this but if is that then it's only a channel not a methodology of being which self miss"
Humdrum : "oh so demure this presentation of Is(all un..long)"
Violet(very angry) : "shut up..that namecalled Weyo always mingles incision into penetration of knowledge into qualia exactly like you b.. of continuation of null against the discrete void of all take that you b..(all un..,Weayaya..Daily Daily WaterFire/Infy Infy de-finite for de to re-form hire,all un..long,Tracey,Brock,Gary,Guang and Gus un..)"
Humdrum : "thus you see Gyre this being like umbrella of representation of duration of need refuses to acknowledge the receipt of in into the subliminal deed of ego(all un..)..all cause of obsession with The in place of a in terms of discernible space me the ego.. discretion of logic it thus rather than continuation of possible rational hush..oh so Demure(all un..).."
Violet(scowl) : "atleast unlike you we're not obsession with space's equation with criterions of tense of ego rather than the meaning of ego to let is so thus so so(all un..).."

Humdrum(resisting her by standing up) : "won't be accustomed to rotational juxtaposition of considerable seeds unlike THEIR interpretable bids of difference to notion-the most assuaging self in diversity salvaging action(all un..,Haithem..Veterans of inductive not indicative WaterFire,Tracey,Brock,Gary,Guang and Gus un..)..stay here don't tire yourself out rationally just because it reflects to optionality of solutions rather than your intended meaning of declaration rather than nomenclature's emotion's if used-the emotion of need rather than making a pattern of individual lease-intelligence by perception is now gets to be conceptually not practically asunder(all un..,.. WaterFire,all un..)"
Violet(whimpering..) : "no that crook always mingles feelings into parallelism of intent of reaction whereas he should be only the coincidence of colinearity in factual not contactual  insertions(all un..)"
Humdrum : "thus you see Gyre why i said to not involve the inductively recurrent WaterFires into deduction of quotients(all un..)..but you have your own intention of not substance but essence of meaning justice..shh..the comprehensive patience(all un..long)..
Oh Gyre Gyre disguise/Oh Gyre did you note you your self how hides(all un..long)"
🐺(frown) : "my objection is against your incision prowess Mr Humdrum on your name given by Lastly Phantom hence(all un..long,Daisy..Lastly The Playboy Section,all un..)..all are not welcoming you into procedures for this singular reason alone(all un..)"
Humdrum : "thus oh so lone(all un..long)..well about A of witnessing the(all un..long) i remember a few said my Ash ranging from his methodical mom and because of the insisted conformity the subsequent procedurally optimized physical con(all un..,Violet..Oh Humdrum this stability/of survival despite it's self meaning of necessity/thus Guzzle Guzzle veracity/Why then meaning if meant you nuzzle nuzzle..me/E!/counter counter see/E!/why nuzzle nuzzle..me,all un..,..Guzzle Humdrum,all un..)..a few resembling the other form than Ash said my Ash out of their operations on self sufficient sufficiency..oh so demure(all un..)..he didn't tell them anything then he never did speak much only giggled and did the same in these cases but when they insisted that they're form was optimized to expectations not perception this preparatory ground of need they subverted hence he told them only one letter to their call of my Ash..I(all un..long,Daisy.. Lastly The Playboy Diction,all un..long)..then when they didn't understand it and said you in i he said another letter-A(all un..long,Misty..Hey Ash i want to confess to Mist that she'll be undisputed in physique now finally thus her physique needs to be wrapped up with specificity like what Gary said the essence of his signature differing to the papers not his actual signature but the professional meaning not personal feeling being non refundable to desire only intention,all un..long,Lillie..i see so you want Misty flower to be the mist of veracity,all un..long,Lillie..the what you mean is only two words compeer one action-YOU..pause..SEE,all un..long,Misty..the most recent compeer,Ash : the cash of notion,all un..long,Misty..Two Words - Re-source the phantom of source infiltrating required intention of reason..rationality caution,all un..long,Misty..Two Words..Objective Cushion,all un..long,Daisy..Regeneration of word sense in the ambiguous-Playboy Portion,all un..long,Gus and Misty un..long)..then they didn't understand anything so asked him what he means he said the very question itself- I : the Phantom of being(all un..long)..then they said but self is always all pervading in compassion at best,he said,self : the Phantom of the meaning and alao the self of best(all un..long)..then they asked what does best mean he said the Phantom of cling(all un..long)..so the  they smiled and said yeah it's all the i thus you're way more than just me or my the best of hallow and hi is always the former as you say thus(all un..long),he said best : the Phantom of Hush(all un..long),then they thought e wants them to witness only so he said..witness : the Phantom of case(all un..long)..so then they didn't get anything but went away smiling in the galore of all pervading null..shh..the motion of all(all un..) which he pointed out though as thr Phantom of call..shh..the most invoking..Invoke : the Phantom of really pervading or dually desiring Ring..the most suiting(all un..long)..Ing Lastly he said the Phantom of Thing,countering explanation of Th..the rejection of action..the most requesting(all un..long)..so then they didn't know what to do hence he said,My : the Me of O not BEING in BING(all un..long)...the most he added inspiting(all un..long)..then he said that's the Phantom of respite look dually reality oh so COUNTER-ING(all un..long)"
🐺(frown) : "i see so this is the culprit of i in me i guess hence our irritation of the(all un..long)"
Humdrum : "the : the analogue of anatomy(all un..)..that is of A : the most random-ing(all un..long)..Noun : The Adjective of Verb thus Verb the Adverb of Pronoun..shh..the most Phantoming(all un..long)..besides he says Last : means a ghastly Phantom but just because he says makes it lastly so what can he do about Ash compeer i don't see much except expecting it what he's doing all along..need though thus to wait now Phantom..the adjective of adverb(all un..long,Daisy.. Lastly The Playboy Concern,all un..long).."
🐺(frown) : "i see but you were at pertinent places Stashey what did you do there(all laugh..lot)"
Humdrum : "found out that i could and couldn't do so much so i thought ok i know as much the most important(all un..long).."
🐺(frown) : "do you work against them Stashey unlike even Phantom(all laugh..lot)"
Humdrum : "including them yeah(all un..long).. it's the difference between deed and path compeer how to act if there's no path of identification of self and solution of help(all un..long)..that this is self oh so true thus let's help halt me or you(all un..long)..shh..the most imperative(all un..long)..then there was spontaneity compeer the crux of necessity of one in all the necessary is though only to know what if i fall..shh..the most intelligent(all un..long)..Ash and rest practiced this in many ways physique the base intention the test(all un..long) as they ask each other are you the best(all un..long)..the most momentary rest of knowledge Ah let this be in repose..LIFE of REST..shh..the most enchanting(all un..long)..a few beings the other day said they want bodies for this a few others ideals abstractions some logic very very few instance even fewer concentration far fewer imputation but fewer than all were the ones measuring this call of mathematics..shh..the most realistic actuation(all un..long)..of facts compeer the dual act of justification..shh..the most sustaining(all un..long) why ask who and what if it means just the act,countering(all un..long)..so as i was thinking these proper people asked me are you happy without us being are you devastated by acknowledgement of relative obvious i said in other words you mean yo look at this being yo look at this being for being the soul of pendulum..shh..the most frightening(all un..long)..then change i said is there then what's not changing for it to change to necessitate the survival of helping being from self i said why bother me I don't get what can i do about my self involved ones i don't know this(all un..)..then they laughed and went out telling the admirers not to accept me else i can't be obviously but they said let's see means ok now it's me..shh..the most interrogating(all un..)..many years ago obviously not now or won't be later from now(all un..long) i was in this place where the beings living there understood sequence but not consequence hence they couldn't control their fate only self thus asked for qualia compeer rather than insistence(all un..long)..hence they were happy to be not to see but here i find it's the opposite the most engulfing rather than them the most categorizing,jist to be-COUNTERING(all..long)..but neither did i understood it then nor now compeer thus obviously not now as i just said(all un..long) that if i need something i may or may not try to get it what's the use of trial of self and what's the use of attention on being is out of comprehension what can i do about me compeer what..shh..the most subjecting squat(all un..long) of existence compeer consciousness the illusion of what as even if it is what can duality do about it compeer really(all un..long) and what can't i do about it but as me nothing as a thing compeer these ideas will have to have a meaningful connotation to be really helpful to itself in assimilating ego,ego : the adjustment of usage(all un..) and adjustment : the Elements not eloquence of the verb bring(all un..)..the most inciting compeer for i to no more be my but thy thus no more me only hallow never hi consciousness but that's self effulgent compeers as logic says to start is to end else it's an outrageous mess..hence whatever IS compeer is either so or not what can i do about me thus compeer me : the ever not..shh..the most durable(all un..long)..it could be exchanged compeer the first and second person between what can i do about me compeer that's a counter of self to no more be..shh..the most insulating against logical not conscious need,need : the example of cease(all un..lot)..if it's how to and why then it's a diversion of what it is-the meaning of these as in The yet is..shh..the most capable(all un..long)..but these all can be infinite compeer, infinite : the testament of knowledge : the most learning(all un..)..but that's part of need to learn to be or jist as the compeer i don't understand any of these except that this is a Humdrum of cease..thus i only Guzzle it to get intuition of lease..but that's for i compeer what can i do about me,me the atmost of these(all un..long)..shh..the most controlling (all un..long)..
Guzzle Humdrum Guzzle Humdrum..

..(later 🐺 and Violet comes out)
Violet(calling Lillie) : "hey Lil what does personality mean in term not in terms of(all un..long)"
Lillie(thoughtful) : "insured not assured profession of modality(all un..long)"
Violet(thoughtful) : "yeah my conjecture was on the randomized thus notational rather than symbolic infinity of modes hence never achiveable ever accountable this what Stashey said i hypothesize which i send you(all un..)"
Lillie(thoughtful) : "yeah good for Gastrodon's in general due to recurrence of form in water to the ground of psychological policing on relativity of names and addresses(all un..long)"
Violet(frown) : "no rather conversion grounds can't be spatial in terms adjective only adverb the usage which that crook would deny(all un..)"
Lillie(thoughtful) : "no Gary would've said can't be universal rather specific in terms of this and thy(all un..long)"

'keyword" type:issue
search


Added support for compiled stats

fixes #353
Will add documentation tomorrow, but thought I should open the PR if anyone wishes to have a peek at the code to make sure it's all hunky dory.

@nieve Code looks fine to me. There's another one coming up soon w/ the "soft deletes", and this one will probably be a nice guide on how to do the soft deletes.

Docs added, this is good to go :)
Will be more than happy to take on the soft deletes one- feel free to give me a shout when it comes.

@nieve Can you peek at the test that's failing: http://build.fubu-project.org/viewLog.html?buildId=47577&tab=buildResultsDiv&buildTypeId=Marten_Master? Soft deletes are 2nd on my queue, but I don't mind handing it off. If you wanna do that, I'll go put in my notes about the mechanics to the GH issue. Thought it might be nice if you didn't have to do every single Linq customization;)

@jeremydmiller don't have access to the CI. Which test is that?

Huh, you should be able to log on as a guest.
It's end_to_end_query_with_include_Tests.compiled_include_to_list

Oh, this is odd- I've removed the commit that had this test in and pushed -f to my branch. Should I create another PR on another branch?

I say you do whatever's easiest for you on the Git mechanics.


Running on other datasets

Hello,
So ,we know that the  CryptoNets project is trained with MNIST dataset and works on currently 3 different datasets namely MNIST, CIFAR-10 and CALTECH-101.
My question is , can it run on any other datasets?. I am having my own dataset and want to train the CrytoNets model with it and run the model. So, is there any way to do it ? Thank you

It is possible to run on other datasets. We are in the process of documenting the process in the Wiki of this project under the  bring your own model. The documentation is not complete yet but this is WIP. We will be happy to take comments and suggestions.

Thank you very much. Looking forward to the last steps of building the application (Step 4,5 and 6).

Hello again,
So i was able to train and create a model for deep neural net . But I am having some confusions. Firstly in the part 'Converting weights to CryptoNets format' , is the code for all the layers all together or jst for a single layer.  as it generates 2 files (bias.csv and weight.csv)  when run but later it is told that to sum all the weights and all the biases (weight1.csv ,weight2.csv...... bias1.csv,bias2.csv etc). How would i know that how many layers it is using and how would i produce the other weights and bias files by modifying the given code?
Secondly , when i try to build the application in Microsoft Visual studio 2019 . The following errors show up . ' using HE Wrapper is underlined red and says "The type of name 'HE Wrapper could not be found(are you missing a using directive or an assembly reference?)". This is the error for 'using NeuranNetworks' and many other functions like 'RawFactory' , 'WeightsReader'  etc.

Another error is in the line of code 'Weights = ((double[])wr.Weights[1]) ,
Bias = ((double[])wr.Biases[1]),'
where it says  "cannot apply indexing with [] to an expression of type object."

Third  , in the line of code ' Source = DenseLayer4'  it says "The name 'DenseLayer4' does not exist in the current context"

Lastly, in the line of code  ' Utils.ProcessInEnv(env =>"  ,  the error is " 'Utils' does not contain a definition for 'ProcessInEnv' "

Can you please tell me what could be causing these problems ? My confusion at first are the issue with blocks and sum of the weights  and when i try to create the application using jst the two files of 'weights.csv' and  'bias.csv'  these errors appear. There are 16 errors in total and a warning.  I have built my own training model but am finding it difficult to build the application.  Please help me out.
Thank you

You have multiple questions here, I'll try to address them one by one:

For each layer with trainable weights (a dense layer or a convolution layer) you generate a bias file and a weights file. Once you have done that for all the relevant layers, you combine all the weights into a one file and all the biases into a second file. This is described at the end of  this section where it suggests using the commands:

gawk ‘{print $0;}’ weights1.csv weights2.csv weights3.csv > all_weights.csv

and
gawk ‘{print $0;}’ bias1.csv bias2.csv bias3.csv > all_bias.csv

You received an error message about HEWrapper missing. Did you add a reference to the HEWrapper package in the references section of your project?

Regarding the errors in lines such as Weights = ((double[])wr.Weights[1]): can you show the line where you generate the wr object and load the weights? It will also help to see what type visual studio thinks the wr object is and the type of wr,Weights

For the error DenseLayer4 does not exists, can you show where DenseLayer4 is defined?

The error on Utils.ProcessInEnv: this is likely because of the missing HEWrapper package.

I this response helps.

By the layers you mean the layers with trainable weights [128,5,5] , [83,3,3] and [130,5,5] ? if so , then is the input_shape of all the layers will be {83,14,14} which is for ConvLayer3 in section 'Create your own model?
Will adding the references of the dll files namely 'NeuralNetworks.dll' (in the CryptoNets-master\NeuralNetworks\obj\x64\Release directory) , 'HE Wrapper.dll' (in the \CryptoNets-master\HE Wrapper\obj\x64\Release)   and  'SEALNet.dll'  in the (SEAL\dotnet\src\obj\Release\netstandard2.0)  for libraries of NeuralNetworks, HE Wrapper and SEAL help in the cases ?
And as for the 'DenseLayer4' i copy pasted the code that was given in that section. If i were to define Denselayer4 , can you please mention what would be the necessary parameters of this layer?
Thank You

Again, lets work the answers to your questions one by one:

The input to each layer has different size. The input shape depends on the network structure that you use. In Keras, you can use the command model.summary() to find the shape of each layer

Indeed, you have to add 'NeuralNetworks.dll',  'HE Wrapper.dll' and 'SEALNet.dll' as references

As far as I can see, the code in the wiki does not contain DenseLayer4. However you seem to have implemented it in your code - this is perfectly fine. If you didn't want to add another layer to the network you should point to one of the existing layers. If adding a layer was done by design then note that you are using the same weights and biases for DenseLayer4 as you do for ConvLayer3 which is not very likely to work as they have different shapes. To get the parameters you have to train a model that has this layer and save its parameters so you can use them in DenseLayer4

"test.txt" is a file that you should supply with test example(s). If you are using the example code then test.txt should have one line per image where each line contains 1 + 33232 tab separated columns in which the first column is the label and the other column are the RGB values of a 32*32 image. You can follow the instructions to obtain the CIFAR dataset to see how such file should look like.

Thanks a lot for your response.
I have managed to get the total number of layers using the commands that you provided and i have found 14 layers among which 5 have parameters and others showing 0 parameters . So i think i should compute the weights and biases of those layers only.
But meanwhile , I am facing other issues. I have run the code  given in the wiki for weights and biases which generates 'weights.csv' and 'bias.csv' file for a single layer i think . I know i should have computed the sum of the weights and biases for all the layers and  passes on 'all_bias.csv' and 'all_weights .csv'   in the line of code  WeightsReader wr = new WeightsReader("weights.csv", "bias.csv"); instead of jst weights and bias but wanted to try this instead for single layer at first.
I have also taken the 'cifar-test.csv' file from the given pre-trained CryptoNets model provided here and converted it to 'test.txt' file which I am using in the code  string fileName = "test.txt";  since it may already has what you just said about the 'text.txt' file earlier.  Below is the picture

However, I am now facing some issues yet again. When I start to run my program, there is an exception which says System.ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index' along with errors
arraylist.cs not found  and Symbol file not loaded . Even if i make a separate file for 'arraylist.cs' with the necessary code , there is still this exception. Below are the pictures.

Thanks a ton for your help till now. I hope you'll keep helping me till I finally successfully run my own model . Thanks again.

It looks as if these problems are rooted in some format issues in weights.csv and bias.csv. Probably the easiest thing to do would be to start with one of the existing applications. Actually, the code in wiki describes how to build the model for CIFAR that is in the source code. Have a look at this code and in the weights and biases files provided as CifarWeight.csv and CifarBias.csv.
One thing that is important to clarify is that after you generate the weights for each layer you do NOT sum these weights: instead you should combine them into a single file such that each line of this file contains the weights from a single layer. You do the same thing for the biases.
I think that walking through one of the existing examples could help and the CIFAR one is a good starting point since the wiki describes it in details.

Thank You for your response again
Let me clarify by telling you that these I have tried to build the model using Cifar datasets in the first place all along . I was planning to run my own datasets afterwards once I had build the model and run it with Cifar datasets sucessfully. But these issues kept arising whatsoever.
Hence, as i have mentioned earlier I took the 'cifar_test.csv' file from the CrytoNets existing pre-trained model that you provided and converted into 'test.txt' to use it in the code from the wiki and incase of 'weights.csv' and 'bias.csv' , i've used those from the 'cifar_model.h5' model that i've built with Cifar dataset using the code from the wiki. I think that these files (weights.csv and bias.csv) are of a single layer tho, but wanted to try it in the wiki code before combining all the files of weights and biases from each layer and using those files (all_weights.csv ,all_bias.csv) and using it.
I think that the issue maybe is in fact using the files 'weights.csv' and 'bias.csv' which are maybe for a single layer that generated from running the code from the wiki and not obtaining the weights and biases for other layers and using them to form the file 'all_weights.csv' and  'all_bias,csv' and using them in the wiki code instead.
Isn't it?. Thanks again till now .

Hello,
I had a confusion regarding the 'Selecting the encryption parameters' section.  Is the code given in this section for 'BFV scheme' only or we can use it for 'CKKS scheme' as well?  If it is for 'CKKS scheme' too, will changing the line  var Factory = new RawFactory((ulong)batchSize);  // we start without using encryption   to     var Factory = new EncryptedSealCkksFactory(new ulong[] {<PHONE_NUMBER>29,<PHONE_NUMBER>97 }, 16384);   help in this case ?
Thank you again

Greeting Sir,
You'll be happy to know that i have successfully run my first image classification CNN model using my very own research dataset converted to cifar 10 format  which has only 2 classes to classify.
However , i am now currently facing issues regarding obtaining the weights and biases of each trainable layer in my model and saving them in separate documents to combine them into a single file ('all weights' and 'all biases'). I have obtained how all the layers looks like by using 'model.summary()' like you said earlier. This is shown below

Layer (type)                 Output Shape              Param #
conv2d_4 (Conv2D)            (None, 32, 32, 128)       3584

average_pooling2d_4 (Average (None, 16, 16, 128)       0

conv2d_5 (Conv2D)            (None, 14, 14, 83)        95699

dropout_3 (Dropout)          (None, 14, 14, 83)        0

activation_4 (Activation)    (None, 14, 14, 83)        0

average_pooling2d_5 (Average (None, 7, 7, 83)          0

conv2d_6 (Conv2D)            (None, 7, 7, 130)         269880

activation_5 (Activation)    (None, 7, 7, 130)         0

average_pooling2d_6 (Average (None, 3, 3, 130)         0

dropout_4 (Dropout)          (None, 3, 3, 130)         0

flatten_2 (Flatten)          (None, 1170)              0

dense_3 (Dense)              (None, 512)               599552

dense_4 (Dense)              (None, 10)                5130

activation_6 (Activation)    (None, 10)                0
In the wiki, the code for generating 'weights.csv' and 'bias.csv'  for layer [14,14,83] is only given. But I am having trouble doing it for the other layers as well since when I input the tensor shape of layer  into 'input_shape=    '  keeping the kernel range same . It shows some error whatever i do.
Your help is again appreciated Sir,
Thank you

using System;
using NeuralNetworks;
using HEWrapper;
namespace CifarCryptoNet
{
public class CifarCryptoNets
{
static void Main(string[] args)
{
string fileName = "cifar-test.tsv";
int batchSize = 1;                        // number of examples to use per batch
int numberOfRecords = 10;      // number of records in the test set
var Factory = new RawFactory((ulong)batchSize);  // we start without using encryption
// this will make things faster
// and easier to debug
        WeightsReader wr = new WeightsReader("CifarWeight.csv", "CifarBias.csv");
        // load parameters

        var ReaderLayer = new BatchReader  // reads data from file
        {
            FileName = fileName,
            SparseFormat = false,
            MaxSlots = batchSize,
            NormalizationFactor = 1.0 / 256.0,
            Scale = 8.0
        };

        var EncryptedLayer = new EncryptLayer() { Source = ReaderLayer, Factory = Factory };

        var StartTimingLayer = new TimingLayer() { Source = EncryptedLayer, StartCounters = new string[] { "Batch-Time" } };

        // next we define the structure of the network

        var ConvLayer1 = new PoolLayer()
        {
            Source = StartTimingLayer,
            InputShape = new int[] { 3, 32, 32 },
            KernelShape = new int[] { 3, 8, 8 },
            Upperpadding = new int[] { 0, 1, 1 },
            Lowerpadding = new int[] { 0, 1, 1 },
            Stride = new int[] { 1000, 2, 2 },
            MapCount = new int[] { 83, 1, 1 },
            WeightsScale = 128000.0,
            Weights = (double[])wr.Weights[0],
            Bias = (double[])wr.Biases[0]
        };

        var ActivationLayer2 = new SquareActivation()
        {
            Source = ConvLayer1
        };

        var ConvLayer3 = new PoolLayer
        {
            Source = ActivationLayer2,
            InputShape = new int[] { 83, 14, 14 },
            KernelShape = new int[] { 8, 10, 10 },
          //  Upperpadding = new int[] { 0, 4, 4 },
            //Lowerpadding = new int[] { 0, 4, 4 },
            Stride = new int[] { 83, 2, 2 },
            MapCount = new int[] { 112, 1, 1 },
            WeightsScale = 1280000.0,
            Weights = ((double[])wr.Weights[1]),
            Bias = ((double[])wr.Biases[1])
        };

        var ActivationLayer4 = new SquareActivation()
        {
            Source = ConvLayer3
        };

        var DenseLayer5 = new PoolLayer()
        {
            InputShape = new int[] { 16384 },
            KernelShape = new int[] { 16384 },
            Source = ActivationLayer4,
            Weights = (double[])wr.Weights[2],
            Bias = (double[])wr.Biases[2],
            MapCount = new int[] { 10 },
            WeightsScale = 256000.0
        };

        var StopTimingLayer = new TimingLayer() { Source = DenseLayer5, StopCounters = new string[] { "Batch-Time" } };
        var network = StopTimingLayer;
        OperationsCount.Reset();
        Console.WriteLine("Preparing");
        network.PrepareNetwork();
        OperationsCount.Print();
        OperationsCount.Reset();
        for (var p = (INetwork)network; p != null; p = p.Source)
            if (p is BaseLayer b) b.Verbose = true;

        int count = 0;
        int errs = 0;
        while (count < numberOfRecords)
        {
            using (var m = network.GetNext())
                Utils.ProcessInEnv(env =>
                {
                    var decrypted = m.Decrypt(env);
                    for (int i = 0; i < decrypted.RowCount; i++)
                    {
                        int pred = 0;
                        for (int j = 1; j < decrypted.ColumnCount; j++)
                        {
                            if (decrypted[i, j] > decrypted[i, pred]) pred = j;
                        }
                        if (pred != ReaderLayer.Labels[i]) errs++;
                        count++;
                        if (count % 100 == 0)
                            Console.WriteLine("errs {0}/{1} accuracy {2:0.000}% prediction {3} label {4}", errs, count, 100 - (100.0 * errs / (count)), pred, ReaderLayer.Labels[i]);
                    }
                    Console.WriteLine("Batch size {0} {1}", batchSize, TimingLayer.GetStats());

                }, Factory);
        }
        Console.WriteLine("errs {0}/{1} accuracy {2:0.000}%", errs, count, 100 - (100.0 * errs / (count)));
        network.DisposeNetwork();
    }
  }

}

This code is not working!!! I have tried my best and I am taking the weights provided by you for Lola Cifar CryptoNets. I would be thankful for your kind help.

Dear Ran,
I am able to run the code of Cifar10, but I am not getting the accuracy now.
I am using the weights which are provided by you.


Envoy is interrutped and exits immediately when handling multiple (sigterm) signals

Title: Envoy exits immediately when handling multiple (sigterm) signals, instead of waiting for the handling of the first signal to finish.
Description:
We use envoy with istio 1.8.3 and we know that there is issue in Isitio/Envoy that during worker node reboot, envoy can't be gracefully terminated https://github.com/istio/istio/issues/28738.
https://github.com/envoyproxy/envoy/blob/d753c8ef017c8c8d59f001b4ec4f75b711553a0b/source/server/server.cc#L616-L619
So we did custom implementation to solve this by adding sleep() function with same drain_duration as istio pilot-agent, in this case, both pilot-agent and istio will align on the graceful termination duration in node reboot/ pod deletion scenario.
 sigterm_ = dispatcher.listenForSignal(SIGTERM, [&instance]() {
      ENVOY_LOG(warn, "caught SIGTERM");
      ENVOY_LOG(warn, "Envoy graceful termination period is {}s, starting...", drain_duration);
      sleep(drain_duration);
      ENVOY_LOG(warn, "Envoy graceful termination period {}s completed.", drain_duration);
      instance.shutdown();
    });

But when actually testing reboot scenario, since all processes in containers receives SIGTERM from Linux at the same time, we found out that envoy receives SIGTERM signals two times(once from Linux, once from pilot-agent forwarding).
In this case, the unexpected behavior happens, i.e. the second SIGTERM signal immediately exits/kills envoy even if the envoy dispatcher is still handling the first SIGTERM (meaning when it's in sleep(drain_duration)).
In the following example log, we use the default drain duration 5s. When I kill process 16 (envoy) two times very quickly, in the bash, we see in the log that

the sleep function is interrupted in less than one sec 19:05:34- 19:05:35, which is the time I did two "kill 16"
the second SIGTERM is not even handled by the dispatcher(since the log "caught SIGTERM" shows up only once.)

$ kubectl exec -ti client-7c954c6bf4-mzxh7 -c istio-proxy -n testcase01 -- bash
bash-4.4$ ps -auxwwf
## COMMENT: Here I removed other processes from the log(e.g. pilot-agent, ...)##
istio-p+     16  0.3  0.3<PHONE_NUMBER>8 ?        Sl   19:04   0:00  \_ /usr/local/bin/envoy -c etc/istio/proxy/envoy-rev0.json --restart-epoch 0 --drain-time-s 45 --parent-shutdown-time-s 60 --service-cluster client.testcase01 --service-node sidecar~<IP_ADDRESS>~client-7c954c6bf4-mzxh7.testcase01~testcase01.svc.cluster.local --local-address-ip-version v4 --bootstrap-version 3 --log-format-prefix-with-location 0 --log-format %Y-%m-%dT%T.%fZ.%l.envoy %n.%v -l info --component-log-level misc:error --concurrency 2
bash-4.4$ kill 16
bash-4.4$ kill 16
bash-4.4$ command terminated with exit code 137
$ kubectl logs client-7c954c6bf4-mzxh7 -c istio-proxy -n testcase01 --tail=20 -f
2021-03-12T19:04:25.947525Z	info	Envoy proxy is ready
2021-03-12T19:05:24.615077Z	info	envoy main	shutting down parent after drain
2021-03-12T19:05:34.688546Z	warning	envoy main	caught SIGTERM
2021-03-12T19:05:34.688727Z	warning	envoy main	Envoy graceful termination period is 5s, starting...
2021-03-12T19:05:35.350796Z	warning	envoy main	Envoy graceful termination period 5s completed.
2021-03-12T19:05:35.350819Z	info	envoy main	shutting down server instance
2021-03-12T19:05:35.350881Z	info	envoy main	main dispatch loop exited
2021-03-12T19:05:35.354746Z	error	sds	Remote side closed connection
2021-03-12T19:05:35.354496Z	error	sds	Remote side closed connection
2021-03-12T19:05:35.354988Z	info	xdsproxy	disconnected from XDS server: istiod.istio-system.svc:15012
2021-03-12T19:05:35.354072Z	warning	envoy config	StreamAggregatedResources gRPC config stream closed: 13,
2021-03-12T19:05:35.354391Z	warning	envoy config	StreamSecrets gRPC config stream closed: 13,
2021-03-12T19:05:35.354406Z	warning	envoy config	StreamSecrets gRPC config stream closed: 13,
2021-03-12T19:05:35.356757Z	info	envoy main	exiting
2021-03-12T19:05:35.363014Z	info	Epoch 0 exited normally
2021-03-12T19:05:35.363038Z	info	No more active epochs, terminating

The reason we think could be when envoy main thread(dispatcher) is occupied by the first SIGTERM signal, it can't listen/ handle for other signals, so when more signals arrives, it immediately exits. But we can't explain the reason.
But we tried to simulate the same signal handling process on linux system generally. When the process is handling one signal, it will not be interruptted by other signals.
Expected Behavior
Take the simple example-handler.cpp I shared as an example, since the handler is still dealing with the first SIGINT(sleeping 30s here), the following multiple SIGINT signals can't interrupt it.
$ ./test_signal
Going to sleep....
Going to sleep....
Going to sleep....
Going to sleep....
^CInterrupt signal (2) received.
sleep 30s....
^C^C^C^C^C
done

example-handler.txt
So the behavior in envoy really differs, when the second SIGTERM or SIGINT comes, the handling of first signal is killed immediately!
It looks to us that this is the bug in envoy signal handling. Or can you explain why in envoy, multiple signals will force envoy to exit immediately, instead of the behaviors we see in linux as the exmple code I shared?
Repro steps:
As you see, to reproduce, first a few lines of code needs to be added into SIGTERM handling, but it's not hard to undetstand.
And to deploy istio with the updated envoy binary which has the code changes. In any sidecar with envoy proxy you can witness the behavior.
Admin and Stats Output:
n/a
Config:
n/a
Logs:
As shown above.
Call Stack:
n/a

@caoyukun0430 The sleep function will be interrupted by signal, and dispatcher does not disable signal, that is why the 2nd signalterm interrupt the sleep function.

Thanks @hobbytp for the explanation!
So the reason is that dispatcher handles signals asynchronously. it generates event to dispatch the queue and then returns so that the following signals can be handled.  But sleep function will be interrupted by the following signals.
Our workaround is to apply a while loop to force the envoy to continue waiting/sleeping until drain duration reaches.
But this is not a bug in envoy and I will close the issue now!
Although I hope Envoy could support graceful termination in node reboot scenario in the future!
/Yukun


fix after funds are transfered and error is 'Error: Postage batch not exists'

display error to the user
'press try' again returns user to new account creation (effectively loosing transferred funds
should go to and try to create SOCs again not new account creation in this case (postage batch not exits)

Hey team! Please add your planning poker estimate with ZenHub @tomicvladan @tfius @nugaon


Removing accordion items bug

I currentley have each item of the accordcion added via a for loop.
Now when the array for this loop updates because an item has been removed the item does not get removed from the accordion.
I can see that the item no longer exsists in Vue but it is not being removed from the page DOM.
How do I force the page DOM to get updated ?

Hello @Chris-Pratt-Clystnet ,
I had the same problem with not updating DOM when removing items from array using v-for.
What I did is after removing element from array I used JQuery to remove badger-accordion-item from DOM. Here is an example function that I used. This is not best solution but it will do the work until this package is updated.
removeItem(index) {
    this.listItems.splice(index, 1);
    $(this.$refs.itemsAccordion.accordion.toggleEl[index]).parent().next().remove();
    $(this.$refs.itemsAccordion.accordion.toggleEl[index]).parent().remove();
}

also don't forget to put ref attribute to badger-accordion
 <badger-accordion ref="itemsAccordion" :options="{...}">
      ...
 </badger-accordion>

HTML construction of badger is little bit confusing so this was only solution I could come up for now.
Hope this helps

Hi,
this happens because original badger-accordion sadly is not reactive itself.
Good note. I will work on this, thank you.

@vukasinovic Thanks for the tip I will give that a go
@vanderb Thanks I will look out for the update with it in :-)

@Chris-Pratt-Clystnet Please update to v 1.1.4. This should be fixed there. The rerender-method should be called automatically, if the slot changed from outside.
Can you verify this? I will then close this issue.

@vanderb Just tested this and all working fine :-)


MRG: Fix filtering check

Closes #5614.
@alexrockhill can you verify this fixes your issue?
I also replaced _TempDir calls with pytest tmpdir fixture, something that I think we can do gradually as we find them.

... changed my mind, reverted the mne.filter change (but made the error message more informative).
In any case, this should fix things.

thx @larsoner


Development staging ==> dev

Development staging ==> dev
This PR will consider below mentioned features,
README enhancement.
Code refactor to support multiple operating system ( RHEL, UBUNTU and SLES)
Callhome role
SMB and NFS protocol support
ECE installation and configuration support
HPT installation and  configuration support

@acch Thanks. This PR contains our all development_staging branch features development code. Here we are merging complete branch from devlopment_staging ===> dev . so i am not sure if we can create multiple PR from this.

Jenkins JOB result:
PLAY RECAP *********************************************************************
test-vm1             : ok=329  changed=51   unreachable=0    failed=0    skipped=326  rescued=0    ignored=3
test-vm3             : ok=191  changed=22   unreachable=0    failed=0    skipped=213  rescued=0    ignored=2
localhost                  : ok=4    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0
Tuesday 17 November 2020  02:57:04 -0700 (0:00:00.041)       0:15:25.812 ******
===============================================================================
core/cluster : wait-daemon-active ------------------------------------- 129.37s
gui/cluster : configure | Initialize the GUI --------------------------- 88.18s
scale_fileauditlogging/node : install | Install GPFS file audit logging packages -- 68.24s
smb/cluster : configure | Enable SMB ----------------------------------- 42.69s
core/node : install | Install GPFS packages ---------------------------- 39.32s
gui/cluster : configure | Start and enable GUI service ----------------- 38.97s
core/node : build | Compile GPL module --------------------------------- 33.90s
smb/node : install | Install GPFS SMB packages ------------------------- 33.39s
core/cluster : storage | Wait for NSD configuration to be synced across cluster -- 30.70s
nfs/common : configure | Enabling CES ---------------------------------- 27.24s
nfs/node : install | Install GPFS nfs packages ------------------------- 25.53s
nfs/common : configure | Assign export ips as pool --------------------- 18.78s
scale_fileauditlogging/cluster : configure | configure file audit logging -- 18.69s
gui/node : install | Install GPFS GUI packages ------------------------- 17.59s
callhome/cluster : configure | Create callhome group ------------------- 17.33s
nfs/common : configure | Configuring cesSharedRoot --------------------- 11.14s
nfs/cluster : configure | Enable NFS ----------------------------------- 10.95s
nfs/common : configure | Setting server licenses on protocol nodes ----- 10.20s
nfs/cluster : configure | Configuring NFS performance monitoring sensors -- 10.05s
smb/cluster : configure | Configuring SMB performance monitoring sensors --- 9.49s
Playbook run took 0 days, 0 hours, 15 minutes, 25 seconds

Sure - doesn't make sense to split this one up. Looks good!
Now that we've merged development_staging into dev, does that mean that all future PRs should go to dev instead? If yes then I'd suggest to delete development_staging to avoid confusion...


Add toggle for sample values

Add in a flag to dictate the number of sample values per column. Default to 10 with a floor of 1.

can you also follow up to allow input # of sample values into streamlit app? Thanks!


Request for Access to answer_extraction_model

Hello,
I am unable to locate the answer_extraction_model on GitHub or Huggingface. Could you please let me know how I can access this model?
Thank you for your assistance!

Hmmm @iseesaw I don't understand the question. Can you be more specific? Is this for evaluation or RLVR? For RL, we used python extraction.


compass 2x assets and more

Looks good, thanks!  Should I swap in that stacked logo in our navbar so it changes color on nav?  Right now, it doesn't.

Let's try it!


ecto error

said@said:~/ecto/build$ make
Scanning dependencies of target ecto
[  0%] Building CXX object src/lib/CMakeFiles/ecto.dir/abi.cpp.o
[  1%] Building CXX object src/lib/CMakeFiles/ecto.dir/cell.cpp.o
[  2%] Building CXX object src/lib/CMakeFiles/ecto.dir/edge.cpp.o
[  3%] Building CXX object src/lib/CMakeFiles/ecto.dir/tendril.cpp.o
[  3%] Building CXX object src/lib/CMakeFiles/ecto.dir/tendrils.cpp.o
[  4%] Building CXX object src/lib/CMakeFiles/ecto.dir/plasm.cpp.o
In file included from /home/said/ecto/src/lib/plasm.cpp:29:0:
/home/said/ecto/src/lib/plasm/impl.hpp:32:10: fatal error: boost/tr1/unordered_map.hpp: No such file or directory
#include <boost/tr1/unordered_map.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/lib/CMakeFiles/ecto.dir/build.make:182: recipe for target 'src/lib/CMakeFiles/ecto.dir/plasm.cpp.o' failed
make[2]: *** [src/lib/CMakeFiles/ecto.dir/plasm.cpp.o] Error 1
CMakeFiles/Makefile2:612: recipe for target 'src/lib/CMakeFiles/ecto.dir/all' failed
make[1]: *** [src/lib/CMakeFiles/ecto.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

i have this problem too, how to do it, thank you!


Gatsby plugin sass' options is misused

In the gatsby-config.js, the configuration for gatsby-plugin-sass is configured incorrectly as seen in the error message below when running gatsby develop command.

This is the configruation where is breaks:
{
     resolve: `gatsby-plugin-sass`,
      options: {
        postCssPlugins: [
          require("tailwindcss"),
          require("./tailwind.config.js") // Optional: Load custom Tailwind CSS configuration
        ],
      },
}

A temporary fix to the solution is to remove the gatsby-plugin-sass configuration
{
     resolve: `gatsby-plugin-sass`,
      options: {
        postCssPlugins: [
          require("tailwindcss"),
          require("./tailwind.config.js") // Optional: Load custom Tailwind CSS configuration
        ],
      },
}

and instead place the same configuration into gatsby-plugin-postcss and still importing gatsby-plugin-sass without any options
{
      resolve: "gatsby-plugin-postcss",
      options: {
        postCssPlugins: [
          require("tailwindcss"),
          require("./tailwind.config.js") // Optional: Load custom Tailwind CSS configuration
          require("autoprefixer")
        ],
      },
},
`gatsby-plugin-sass`

To fix tailwindcss from not processing on pages, move it's import as seen below
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

to a separate tailwind.css file. Then import that file into gatsby-browser.js file.
import "./src/styles/tailwind.css";
import "./src/styles/main.scss";

 Fix gatsby-plugin-sass configurations


gnunet: 0.11.8 -> 0.12.0

Motivation for this change
Closes #76144
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @vrthra

I've used this a bunch and it works. Make sure to run with sudo.
gnunet-arm -s
gnunet-core```

Since the 0.12 version can not peer with 0.11.8 version, I'm wondering if we should keep both of them or not (i'm not a gnunet user).
@vrthra WDYT?

Keeping 0.11 around will be unnecessary. All but one public bootstrap peer have been updated to 0.12. And the only other up-to-date packages for Arch and Homebrew do not keep around an old version.
https://www.archlinux.org/packages/community/x86_64/gnunet/
https://formulae.brew.sh/formula/gnunet#default

@mehlon Thanks for your contribution and explanation!


Actix plugin: Flattening and skipping fields in items

As a follow-up to #70, we should support #[serde(flatten)] and #[serde(skip)] in fields.

And...  I don't know whether you already support any of these, I just know that I will need all this before starting to use paperclip:

#[serde(tag = "type")]
#[serde(tag = "type", content = "result")]
#[serde(rename = "name")]

We do support #[serde(rename = "...")], but tag is something that has to do with enums right? We don't support enums with complex variants as of now, because it can't be represented in swagger (v2). It will be supported in 0.5.0, when we move to v3.

Oh yeah, that's right.

IIRC we currently support both skip and flatten.