Resolve #8: static type checking enforced and passing

all algorithm declarations are:
marked as implemented or not
annotated with static typing
added exhaustive list of random processes from chapter 3.
mypy'ed, locally passing all files
ct update: verbose pytest, mypy, and ruff
first clean set of stub files, manually added, see #9
partially resolves #9, but direct generation from code is still needed

The re-open above is because I hadn't confirmed the merge the first time I tried to close this PR, so it it just closed and didn't merge. Restored and merge now.


Respond to https://hypothes.is/a/ua7ITkdwEeqO_PNl3tdikg

Respond to hypothes.is annotation ua7ITkdwEeqO_PNl3tdikg on https://jrnold.github.io/r4ds-exercise-solutions/data-visualisation.html (user<EMAIL_ADDRESS>created: 2020-02-04T17:06:46.364088+00:00, updated: 2020-02-04T17:06:46.364088+00:00)

from the documentation: If FALSE, the default, missing values are removed with a warning. If TRUE, missing values are silently removed.

Link: https://hyp.is/ua7ITkdwEeqO_PNl3tdikg/jrnold.github.io/r4ds-exercise-solutions/data-visualisation.html

Already fixed


feat(client, challenge-parser): add explanation to challenges

This adds an explanation to the challenge parser and displays it in the odin and fill in the blank show components. It's a collapsed piece of text/markdown.
image

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

I changed it to just Explanation because I looked at the expandable sections we have in the editor challenges, and they just say Code Example - so I thought this was more in line with that.


Confirmation button becomes clickable again after invoice has been created and before detail page of invoice is loading

https://www.loom.com/share/b5acc2217e6c4a2fb57116ffe3b56050?sid=e2e1ab1b-487c-4b4f-b098-49d52b486bfa

just for a second, so won't fix here if we can get the redirect & loading actually working (probably the bigger issue here). if we resort to the modal we can make sure it doesn't get re-enabled.


[P0] Generated code should not set read-only properties using object initializer syntax

c# generator version: 20200417.2
configuration: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/graphrbac/data-plane/readme.md
Error	CS0200	Property or indexer 'GroupCreateParameters.MailEnabled' cannot be assigned to -- it is read only	Azure.Graph.Rbac (netstandard2.0)	C:\AME\erich-net-sdk\sdk\graphrbac\Azure.Graph.Rbac\src\Generated\Operations\GroupsRestClient.cs	365	Active
            var model = new GroupCreateParameters(displayName, mailNickname)
            {
                MailEnabled = mailEnabled,
                SecurityEnabled = securityEnabled
            };

Can't repro this issue with latest generator, can you verify if it still exists?

erich to verify

Verified that this was fixed.


Should we require that value_types and error_types contain no duplicates?

My vote is yes. Otherwise, any code that, say, want to store alternatives in variants will have to unique-ify the list of types itself, paying that cost always even when it isn't needed (because the sender's list of types has no dupes). OTOH, If each sender is responsible for unique-ifying its own list of types, that cost can be spent only when necessary.

already required


Scrollbars and Fast Scrolling

First of all thankyou for this awesome library.
If any of you are getting the SIGSEGV error, try converting your pdf to doc and back to pdf again. In my case it fixed the error.
Secondly, is there a way to implement scrollbar in the viewpager and enable fast scrolling like google docs where we can zoom out and scroll quickly to the page of choice or scroll by dragging the scrollbar.

Hi,
thanks for using the lib.
I haven't tried to implement fast scrolling, but I guess you have enough mechanisms to do a manual implementation. I would add the thumb, then capture its position each time and switch to the requested page. With the help of some CustomViews it should work and look great

thanks for replying mate,
one more thing, i am using multiple instances of remotepdfviewpager to load two pdf's in respective fragments but on resuming the previous fragment the adapter crashes with 'cannot load page' error. Any idea how o fix this? already tried setting ofpagescreenlimit to a large value but it messes with page order

Hello again,
you mean, having two fragments, and each one a PDFViewPager? are these fragments in Tabs? Maybe the scrolling could be counter-intuitive (scroll left/right to change tab, then to change page of the PDF).
I haven't tried to have multiple PDFViewPager objects in the same page, but it should work, as each instance is independent and manages its own memory.
Would be good to know your fragment configuration a little deeper. Thanks!


Topics

Java Topics:

[ ] Object-Oriented Programming (OOP):
[ ] Encapsulation, Inheritance, Polymorphism, and Abstraction.
[ ] Design Patterns (Singleton, Factory, Strategy, etc.)
[ ] Thread, Runnable, Callable, ExecutorService.
[ ] Synchronization, Locks, and Deadlock prevention.
[ ] Java’s concurrency utilities (java.util.concurrent).
[ ] List, Set, Map interfaces, and their implementations (ArrayList, HashSet, HashMap).
[ ] Comparison and performance characteristics (e.g., HashMap vs. TreeMap).
[ ] Streams API and Lambdas.
[ ] Memory Management and Garbage Collection:
[ ] JVM internals, Heap, Stack, ClassLoader, Garbage Collector types.
[ ] Checked vs. Unchecked exceptions, try-catch-finally, throw and throws.
[ ] Lambda Expressions, Functional Interfaces, Streams, Optionals.
[ ] New Date and Time API.
[ ] JDBC basics, connection pooling, and ORM frameworks like Hibernate.
[ ] Spring Boot, Dependency Injection, Annotations, and Spring Data.

Golang Topics:

[ ] Goroutines, Channels, Buffered vs. Unbuffered channels.
[ ] Synchronization using sync package (Mutex, WaitGroup).
[ ] Go’s Garbage Collector.
[ ] Pointers, value vs. reference types.
[ ] Idiomatic error handling patterns in Go, multiple return values.
[ ] Composition over inheritance.
[ ] Interface declaration, dynamic and static typing.
[ ] Creating and organizing packages.
[ ] go mod for dependency management.
[ ] Networking and Web Programming:
[ ] Working with HTTP, building RESTful APIs using net/http package.
[ ] Unit testing with testing package.
[ ] Writing benchmarks and profiling Go code.

Python Topics:

[ ] Data types (list, tuple, set, dictionary).
[ ] List comprehensions, slicing, and unpacking.
[ ] Functions, lambda expressions, decorators.
[ ] Classes, inheritance, multiple inheritance, and super().
[ ] Special methods (init, str, repr, etc.).
[ ] Threading, Multiprocessing, Asyncio.
[ ] GIL (Global Interpreter Lock) and its impact.
[ ] Reference counting, garbage collection, weak references.
[ ] Flask/Django for web development.
[ ] Pandas, NumPy for data manipulation.
[ ] Unit testing using unittest or pytest.
[ ] Understanding how decorators and generators work under the hood.
[ ] try-except block, raising exceptions, and custom exception classes.

https://victoriametrics.com/blog/go-sync-cond/index.html


Add links to fine-tuning examples (e.g., HuggingFace)

May be good to first resolve #686

We could do BERT, although then we would have to implement the model. We could do something fun like fine-tuning on some comments of reddit or something like that.
Some useful resources:

BERT model implementation by Nikita: https://github.com/nikitakit/flax_bert/blob/master/modeling.py
GH Discussions: https://github.com/google/flax/discussions/927, https://github.com/google/flax/discussions/923

We could do BERT, although then we would have to implement the model. We could do something fun like fine-tuning on some comments of reddit or something like that.
Some useful resources:

BERT model implementation by Nikita: https://github.com/nikitakit/flax_bert/blob/master/modeling.py
GH Discussions: https://github.com/google/flax/discussions/927, https://github.com/google/flax/discussions/923

I am not sure whether there's a Hugging Face JAX/Flax fine-tuning example yet but if so we can link to it. There's also https://github.com/rolandgvc/flaxvision. I think we should also consider an extremely simplified example as a HOWTO.

I am not sure whether there's a Hugging Face JAX/Flax fine-tuning example yet but if so we can link to it. There's also https://github.com/rolandgvc/flaxvision. I think we should also consider an extremely simplified example as a HOWTO.

https://github.com/google-research/vision_transformer/ is another fine-tuning example. I heard it will probably soon be ported to Linen. It also has a Colab that downloads pre-trained checkpoints and uses TPUs for fine-tuning.

https://github.com/google-research/vision_transformer/ is another fine-tuning example. I heard it will probably soon be ported to Linen. It also has a Colab that downloads pre-trained checkpoints and uses TPUs for fine-tuning.

I am not sure whether there's a Hugging Face JAX/Flax fine-tuning example yet but if so we can link to it. There's also https://github.com/rolandgvc/flaxvision. I think we should also consider an extremely simplified example as a HOWTO.

There are numerous fine-tuned examples from hugging face community day challenge. May be we can use them?

I am not sure whether there's a Hugging Face JAX/Flax fine-tuning example yet but if so we can link to it. There's also https://github.com/rolandgvc/flaxvision. I think we should also consider an extremely simplified example as a HOWTO.

Can we add one among numerous examples from HF community day challenge

I agree @INF800. I changed the title saying we should simply link to existing fine-tuning examples. It seems unnecessary to me to add a new fine-tuning HOWTO, given that so many exist already now.

For your reference: I recently added a link to a fine-tuning example here: ad6a4aedb9b78a5a445426901072d9785329f468

Closed after #1926, which contains a link to HuggingFace in our examples README. There are currently >5,000 JAX models in HuggingFace so it seems a bit excessive to link to all of them.


support for layout where things don't expand to the available space

I'm working on a port of Flow to rui.
One immediate issue is with layout: a node in a node graph doesn't expand to fit the available space.
How can rui support that sort of layout?
It seems that SwiftUI doesn't actually expand stacks like rui does. Here's a simple SwiftUI VStack:

Here's a rui vstack:

Top level view is now centered.


Using same Maven version as Boot

I wonder why won't boot upgrade to the latest version. Anyways can you add a comment why were doing this?


When the source and destination avatars have a common parent, Dynamic Bones are not copied correctly

Expected Behavior
Root Game Object
├ Avatar A
│└ Object include Dynamic Bone 1
└ Avatar B
↓ Copy
Root Game Object
├ Avatar A
│└ Object include Dynamic Bone 1
└ Avatar B
　└ Object include Dynamic Bone 1
Current Behavior
Root Game Object
├ Avatar A
│└ Object include Dynamic Bone 1
└ Avatar B
↓ Copy
Root Game Object
├ Avatar A
│└ Object include Dynamic Bone 1
└ Avatar B
　└ Avatar A
　　└Object include Dynamic Bone 1
Possible Solution
Perhaps there is a problem with  FindTransformInAnotherHierarchy() or CopyAllDynamicBonesNew().
Steps to Reproduce
Run a copy with the same hierarchy as Current Behavior.
Context (Environment)
Use latest SDK3(Avatars), latest Dynamic Bones, PumkinsAvatarTools v0.19b

This problem can be solved by changing the avatar location, but I've heard that v0.9.2b will allow this tool to be used in UDON world, so I'll let you know this.

Yeah this is currently a limitation on how game object hierarchy is searched to cppy.
I'll rewrite it sometime to support place but for now it's recommended to not have avatars parented to anything.

Yeah this is currently a limitation on how game object hierarchy is searched to cppy.
I'll rewrite it sometime to support place but for now it's recommended to not have avatars parented to anything.

This should be fixed now


BLD: bump cibuildwheel closes #21275

Seems to unstick 3.13. Closes gh-21275

WOndering if we should just use cibuildwheel@2, i.e. always the latest, instead of pinning to a certain version.

All wheels built. Don't know precisely if this PR fixed things, nothing in the cibuildwheel docs seemed relevant.
Anyway, merging coz all green.

If you put the "closes" clauses in the description instead of the title, it auto-closes the issue otherwise it won't fire up.

If you put the "closes" clauses in the description instead of the title, it auto-closes the issue otherwise it won't fire up.

This actually did fire up as the merge commit message included the "closes ...". (but yeah, I prefer it in the description)

WOndering if we should just use cibuildwheel@2, i.e. always the latest, instead of pinning to a certain version.

Either that, or use something like dependabot to automatically update it periodically.

Thanks @andyfaff!

Don't know precisely if this PR fixed things, nothing in the cibuildwheel docs seemed relevant.

I don't see it either after looking through the changelog. It's possible that it's the interaction

Wondering if we should just use cibuildwheel@2, i.e. always the latest, instead of pinning to a certain version.

I'm not sure, that will have the opposite problem, so it's a toss-up.
The desirable long-term solution is to make the builds fully reproducible (including GitHub runner images etc.) and have controlled upgrades, however that's a lot of work (we included it in the new NASA ROSES grant proposal though).


Dependencies to MPP projects doesn't work from non MPP project

What's done:

added sourceSets for commonMain for projects dependencies (MPP)
moved spring boot bom to commonMain
void error with default value of save-agent task

It doesn't work: IDEA loads projects, but dependencies are missed in IDEA and gradle.
Using main instead of commonMain doesn't work too -- the original issue.
Looks like need to migrate all modules to MPP to resolve issue in IDEA


Support muxing if statements

We need a function to compile if statements to straight-line programs. The function should have signature close to:
fun IfNode.asStraightLine(): List<SimpleStatementNode>

The "muxing" needs to be smart, and should try to merge the two branches. For example, the code
if (c) {
    output tmp1 to alice;
} else {
    output tmp2 to alice;
}

should get compiled to
val tmp = if (c) tmp1 else tmp2;
output tmp to alice;

In fact, there is no other way of compiling this code since we cannot duplicate the effectful output statement. Even operations that can be turned into no-ops would benefit from merging. For example:
if (c) {
    a[index] = tmp1;
} else {
    a[index] = tmp2;
}

can be compiled inefficiently as
a[index] = if (c) tmp1 else a[index];
a[index] = if (c) a[index] else tmp2;

or more efficiently as
a[index] = if (c) tmp1 else tmp2;

I assume this merging would use dynamic programming, and might work similarly to diff code.
One thing to consider is nested control structures like ifs and loops. They don't necessarily have to be made into straight-line code. We only need to mux ifs with a secret guard. If they happen to contain control structures with public guards, we might be able to get away with not muxing those. Here is a contrived example:
if (secret) {
    if (public) {
        output result to alice;
    } else {
        output result to bob;
    }
} else {
    if (public) {
        output result to alice;
    } else {
        output result to bob;
    }
}

There is no way to mux the inner if because the two branches output to different hosts. But if we allow returning code with conditionals, the following code is equivalent to what we have above:
if (public) {
    output result to alice;
} else {
    output result to bob;
}

Essentially, there was no reason to case on secret.
This is a very contrived example, so I'm not sure that we have to worry about this case. But not having to unroll inner loops that use public guards would be nice. Additionally, there might be another, standard analysis that can hoist such code outside the if.
#45 might be related.

closed by #85


support csv header ?

Feature request: support csv header?
Feature request: add a method that mimics the ruby CSV.table behavior?
So I can do without these code

  s =  File.read "some.csv"
  csv = CSV.parse s
  header = csv[0]
  data = csv[1..csv.length]
  row_with_header = data.map { |e| header.zip e }
  puts row_with_header

Here's the code: https://github.com/manastech/crystal/blob/master/src/csv/csv.cr And here are the specs: https://github.com/manastech/crystal/tree/master/spec/std/csv
Why don't you see if you can throw up a couple PRs?

Initially I tried to port the ruby https://github.com/ruby/ruby/blob/trunk/lib/csv.rb , but decided to learn more about ]crystal and the community conduct.
Thanks for the encouragement!  I am still learning Crystal.  But I will make it a goal.

@jhass @404pnf I've made a pull request to add header support. Specs and docs and all. The pull request is backwards compatible to the existing api. All of the previous tests still pass :)


WindowMessagesSubscriber to split upstream messages into series of windows, a requested window is exposed as IterableStream

Reworking of SynchronousMessageSubscriber.

API change check
API changes are not detected in this pull request.


Support inserting text at cursor position

Version
1.1.1
Test Environment
Windows 10 x64, Firefox 71
Question
Consider this either a question or a feature request if what I'm asking is not currently possible. I'd like to programmatically insert a text string at the current cursor position, is this possible?

One can access the editor instance by the editor property.


BamSource produces duplicate reads

Original report here: https://github.com/broadinstitute/gatk/issues/5133

Fixed in #34


[ISSUE] tanksValue=small Not really working

Issue Report (Not for Crashes - Please use Crash Report template for crashes)
What happens:
In config options there is a line "tanksValue=small", and it doesn't eally working, because you still spawn with heavy tanks (biggest ones), also, they called "light", not small, also also... what other options I can use for different tank size?
Important Versions Info (Do not use "latest"):

Minecraft: 1.12.2
Forge: forge-1.12.2-<IP_ADDRESS>54
GalacticTweaks: GalacticTweaks-0.3.0
Galacticraft: GalacticraftCore-1.12.2-<IP_ADDRESS>0
Using a server (yes/no): No

If yes, are any Server API's used, what version? (ex: Sponge):

List any Galacticraft Addons w/ versions:
Addons:
GalacticraftTweaker-1.12.2-1.0.3
PlanetProgression-1.12.2-0.4.4

Thanks! i had actually changed the value from "small" to "light" but forgot to change what parsed the new value. I'll get that fixed quick


主线合并支持svg、pdf渲染层

What problem does this feature solve?
feature/pdf什么时候可以合并到主分支
What does the proposed API look like?
期望使用pdf

这个问题有进展吗？很多操作还是需要用pdf文件

are we close to version 1.0.0?

@Hufe921 pdf 分支将来会合并吗？代码上有哪些考虑？

@Hufe921 pdf 分支将来会合并吗？代码上有哪些考虑？

Hello
Due to my own demand, I implemented a library to export to PDF.
Since the jspdf library used in the PDF branch works with its own object that simulates HTML canvas, I took the implementation of the canvas-editor itself and adjusted it to adapt only to PDF export.
It's not perfect yet, there are some adjustments to be made, mainly with the fonts issue, at the moment it supports few types of fonts. But I'll be working on it, and I accept help with PR if anyone is interested.
https://github.com/douglasmatheus/canvas-editor-pdf
The library works independently of the canvas-editor, needing only the editor's settings and data to work. If you're interested in testing it and if you want to help too.
Note: If the author has plans for something like this and wants me to change the name or something of the project, he can ask me and I'll do it.


Create HeadingsTemplate.tsx

Added HeadingsTemplate.tsx file in the template folder

@kartikver15gr8 are you intending to take part in hacktoberfest?

Yes I want to take part in Hacktoberfest 2k22, because I love to contribute my skillset to projects where it can add values to.
That's why always be consistent.
So tell me may I take part in Hacktoberfest 2k22 because I'm highly interested

@EmmaDawsonDev

Yepp sure!
Thanks a lot lot! 😊😁

I've closed those pull requests and will open them on 1st October as u suggested😊

@EmmaDawsonDev I'm deleting the current branch and then will submit PR's after making changes to new repo!!


Add watch for MCV events to controller

Controller now watches MCV update events and triggers a reconcillation
for the corresponding cgu.
Add name and namespace of the cgu as labels to created MCVs.
Controller won't reconcile sooner for MCVs.

/assign @Missxiaoguo

/retest

@Missxiaoguo @jc-rh updated

@Missxiaoguo I removed the reconcile sooner.

@Missxiaoguo I removed the reconcile sooner.
What's the re-queue interval now after the reconcileSooner is removed?

@Missxiaoguo I removed the reconcile sooner.

What's the re-queue interval now after the reconcileSooner is removed? Is it 5 mins?

Yes

@Missxiaoguo I removed the reconcile sooner.

What's the re-queue interval now after the reconcileSooner is removed? Is it 5 mins?

Yes

Makes sense to me

/approve


Update avro

https://ucsc-cgl.atlassian.net/browse/SEAB-6739

If I understand correctly (and I very well may not), I think schema parsing refers to our parsing of the CWL schema, not their content (as Charles notes).
So an attack would need to affect CWL, long enough for us to pick up and point to in cwlavro, so definitely can wait.


Move contributor auto invitation flow to GitHub actions

Hey, just curious, is this part from CONTRIBUTING.md still valid? 🤔

If your Pull Request is merged, regardless of content, you're eligible for push access to the organization on GitHub. This is checked for on pull request merges and an invite is sent automatically. (thanks to an Aeryn instance that @mxstbr runs)

I got my PR https://github.com/styled-components/styled-components/pull/2787 merged a couple of days ago and I don't think that I received any invite.

I don't think so - I haven't seen that run in some time.

Was it stopped on purpose? If so, should we remove it from the docs? It's a question directly to @mxstbr I suppose

No we still want that, however something is amiss with our Aeryn setup. We should probably just move that logic to GitHub actions, that should make it relatively easy to re-build and less expensive to run!

Sounds like a fun thing to get to know actions better, I'll try to tackle this

@mxstbr @probablyup
UPDATE:
I've worked on it for a while, and I almost made it work (repo), but apparently you cannot access secrets from a workflow triggered by a PR merged to the main repo if the user who opened it doesn't have a write access, which makes me believe that this cannot be done using GitHub actions.
Do you have any ideas on how to work around it?

What if we ran the action on commits to master instead? Those have to be triggered by a contributor by write access. We could check if the commit is a merge commit, and if it is run the PR steps to invite people.
Could that work?

I've tried running the action on push event to the master branch, and I do have access to the secrets which is great, but it's now significantly harder to determine:

if the commit is a merge commit?
who is the author of the PR?

I've logged the whole context, but I can't think of a satisfying way to answer those two questions.
One way would be looking at the message of the head_commit, if it starts with Merge pull request then its a merge commit and parse it to get the PR's author name. This obviously kinda sucks, as changing the commit message would break it.
Any suggestions?

I am asking internally at GitHub, will reply back! Thank you so much for digging into this @lekterable 👍

Apparently we can figure out which one is the merge commit by running these commands:
# Merge commit
$ git --no-pager show 7f4238d71c13a77c442b79739955f58c6438d9e6 --merges | grep -q .
$ echo $?
0

# Non-merge commit
$ git --no-pager show 1df7e9f5693c2cef20baef86a13dd582d88905f4 --merges | grep -q .
$ echo $?
1

Can you work with that @lekterable?

any clues why am I getting fatal: bad object 4a147552fcd9e26d78f2c23752af9c0cd5bc3ec9 when trying to run this command on any of the ids or sha from the payload I've posted before?

I think you want to use the id, not the tree_id (which 4a147552fcd9e26d78f2c23752af9c0cd5bc3ec9 is).

It's the same for the id, I just posted latest error I had as I was trying everything 😛

Okay, I've figured out a way how to tell if a given commit is a merge commit, merge commits have at least two parents, so I'm just grabbing the commit's sha from the payload, fetching more info from Github's API and checking that.
Now the question is, how to tell who opened a PR?
I'll read the docs a little as it might also be that easy, but if you have any ideas, they would be greatly appreciated :)

yahooo, I've figured this out as well and created an open source repo with this action, may I open a PR to use it for styled-components?

Amazing!!! Yes please @lekterable!!!!

alrighty then, PR created - https://github.com/styled-components/styled-components/pull/2867 I will need you @mxstbr to create a personal access token with admin:orgrights and save it as a repository secret named ACCESS_TOKEN(or whatever name works for you as I can change it in the PR). After that, It should be ready to merge 🤞 🤞


improve CB speed

current loadtest show around 500 rps
mihawk@xyz:~/workspace/loadtest$ siege -c100 http://<IP_ADDRESS>:8001/session -b -t30s
** SIEGE 3.0.5
** Preparing 100 concurrent users for battle.
The server is now under siege...
Lifting the server siege...      done.

Transactions:              15772 hits
Availability:             100.00 %
Elapsed time:              29.50 secs
Data transferred:           3.58 MB
Response time:              0.19 secs
Transaction rate:         534.64 trans/sec
Throughput:             0.12 MB/sec
Concurrency:               99.56
Successful transactions:       15772
Failed transactions:               0
Longest transaction:            0.46
Shortest transaction:           0.02

consider to make a bounty,  to improve your favorite CB.

Shouldn't you at least run a test on a non-localhost machine?

yes i know, i don't have any boxe to run the bench
but it s still give an idea about the performance,
if you have good setup machine somewhere,
i invite you to do the bench an publish it, here.
you can find the load test here

OK, will do. I have a Digital Ocean instance running CB.

after some work here the first bench, in the same condition as previous bench:
there is no session generated here, also we can maybe expect half with session.
then 4500/rps which is 9 time faster the actual implementation.
it s far from production also need a lot of work.
siege -c100 http://<IP_ADDRESS>:8001/test -b -t30s
** SIEGE 3.0.5
** Preparing 100 concurrent users for battle.
The server is now under siege...
Lifting the server siege...      done.

Transactions:		      263888 hits
Availability:		      100.00 %
Elapsed time:		       29.49 secs
Data transferred:	       56.73 MB
Response time:		        0.01 secs
Transaction rate:	     8948.39 trans/sec
Throughput:		        1.92 MB/sec
Concurrency:		       99.74
Successful transactions:      263888
Failed transactions:	           0
Longest transaction:	        0.09
Shortest transaction:	        0.00

FILE: /var/log/siege.log
You can disable this annoying message by editing
the .siegerc file in your home directory; change
the directive 'show-logfile' to false.
[error] Unable to write to file: Permission denied


The exposedports method of genericcontainer does not take effect

I tried to modify the port exposed by the container through exposed ports, but it didn't work.

This is my misunderstanding


Support lazy, recursive sentence splitting

We use sentence splitting in the biaffine parser to keep the O(n^2) biaffine attention model tractable. However, since the sentence splitter makes errors, the parser may not have the correct head available.
This change adds another splitting strategy as the preferred splitting. The goal of this strategy is to split up a Doc into pieces that are as large as possible given a maximum n_max. This reduces the number of attachment errors as a result of incorrect sentence splits, while providing an upper bound on complexity (O(n_max^2)).
The algorithm works as follows:

If the length |d| > max_length:

Find the highest-probability split in d according to senter.
Split d into d_1 and d_2 using the highest probability split.
Recursively apply this algorithm to d_1 and d_2.

Otherwise: do nothing

Note: draft, requires functionality from PR https://github.com/explosion/spaCy/pull/11002, which targets spaCy v4.

Please don't review this branch, I am doing some force pushes here, mostly to get this building against spaCy v4. I'll close this PR and open up a new one when it's ready for review.


Joining Organization ...

Is any chance to join the community ...currently, I am doing My internship in Capgemini I just want to contribute to open source...is any chance please let me join this community...
this is my profile and My recent Contributions: - https://github.com/hegdepavankumar

Hi @hegdepavankumar - you can contribute to any Microsoft open source project, whether opening issues, participating in discussions and code reviews, or opening pull requests with contributions. No need to join an organization to do this.


Python 3 issue

I installed this module using pip3 in ubuntu 12.04
sudo pip3 install xbmc-json
The installation completed OK.
However when importing the class I am getting this error:
Traceback (most recent call last):
File "/usr/local/bin/pvr", line 97, in
from xbmcjson import XBMC, PLAYER_VIDEO
ImportError: cannot import name 'XBMC'
Is python3.4 fully supported?

no python 3 support has been directly added... what build of Kodi uses python 3?

I use kodi on my ubuntu 12.04 htpc. Kodi's addons use python 2.x; I use xbmc-json  (which I converted to kodi-json) inside a python PVR script I wrote and use in my setup. My script is using python 3.
the problem is that for some reason the command
sudo pip3 install xmbc-json
completed OK but the XBMC class is unusable for some reason. Perhaps pip3 is downloading some older version and not master.
I worked around the problem by downloading  master (zip) from github and importing the class 'manually' from my script.

The last release fixes pyhton 3 support.
Sorry for the delay.


Swift naming StorageVersionString

If you do want a breaking-changes branch it can't be the firestore-api-changes branch since that branch will be short-lived. That branch is batching up a series of changes for the next launch vehicle available once we're ready. Firestore is still beta with a 0.x version so we can do this. The firestore-api-changes branch exists at all only because we want to minimize the number of breaking releases users might encounter.

@wilhuff  this is FirebaseStorage, not CloudStore.
@ryanwilson yeah, branch may work, or this PR can stay till next version. Either way, don't think devs were supposed to use this variable. I may be wrong.
Only realized that our ref doc was showing this with new name (because of post processing script), vs the new ref doc generation showed still as FIR. I thought it was a mistake on the script till I saw this in repo. I'll fix the ref doc manually for now.

@ulukaya Agreed that this is about storage. I was merely pointing out that it should stay separate from Firestore -- that you shouldn't appropriate firestore-api-changes as a staging ground for your own breaking changes.

We need to make a coherent version naming strategy for all components.   CocoaPods automatically generates version variables like this when it creates (dynamic) frameworks.

I was thinking about working on a consistent global Firebase versioning scheme for M25, but that's not going to happen.
With approval from @schmidt-sebastian, we should go ahead and merge this for M25


Request for comprehensive documentation for BioGPT

As a developer, I am keen to put this model to the test. However, what I am missing is robust documentation that will streamline the process of utilizing this model in developing projects.

how to use this model for Question Answering? Do we have a documentation for the same?

See #31


Makes test_group_kill_simple more reliable

Changes proposed in this PR

adding a retry to the "slow" job

Why are we making these changes?
We've seen this test fail due to the "slow" job getting a transient failure, e.g. Invalid task.

@DaoWen thanks! can we merge?


Remove cookie before starting the request , fixes issue #72

…e before the request is complete

hey so you are saying this doesn't work:
https://github.com/mdismer/jquery.fileDownload/blob/b7e297fed978a8fdc2428337b29e8c8490e813be/src/Scripts/jquery.fileDownload.js#L354

https://github.com/mdismer/jquery.fileDownload/blob/b7e297fed978a8fdc2428337b29e8c8490e813be/src/Scripts/jquery.fileDownload.js#L354 Does work, but only after success. Sometimes you can end up with a stale cookie left over from a previous request (file downloaded from a different link without javascript on it, for example). In this case, onSuccess will fire immediately.


Add LKPR airport

So far is done:

airport layout and TMA related things
all SIDs
STARs for RWY 06
60 movements/hour (30arr/30dep)

To be done:

consider adding STARs unless it makes screen more messy.
have SIDs and STARs for all possible rwy configurations or have less fixes
make ARR/DEP airlines closer to reality

Sources:

http://www.vacc-cz.org/en/component/phocadownload/category/4-lkpr-dw?download=110:lkpr-charts
http://www.ivao.cz/downloads/IFRTOUR/LKPR.pdf

Hi @luznicky, What you've done so far is looking really good! if you need help with the TMA, I can teach you how to do it. When testing the airport, I found that the game crashes when aircraft following the GOLOP arrival fly to KUVIX. This is because the waypoint KUVIX is not defined in the fixes, but it's still used in the GOLOP arrival.

Hi,
i decided to finish the STARs. It's bit messy, but I decided to take a look at possibility to draw only FIXes relevant for RWYs in use.
I'll appreciate help with TMA shape. Then I'll do some polishing and I think that it'll make LKPR nice enough to play.

No problem! Here are the coordinates for the Praha TMA (pages 24-28). For the circular areas, you can use GPSVisualizer to find the coordinates of a circle around a certain point (In this case, the OKL DME). I recommend drawing all the points for the TMA, as if they were normal fixes. Then you can manually select the ones you need and use their coordinates to form the overall TMA. I know this can be a bit confusing, so if you need more help, let me know!

This just occurred to me. Are you testing your changes locally? If you're not, it would be impossible to get the TMA form the method I described. If you want to test your changes, you can follow the steps on the wiki.

I have an Apache on my desktop, so I am using it. GPSVisualizer works fine. I got few points from the generated list by hand. But for next TMA sed script or some macro for reformatting is a must. I just committed it because I couldn't get the missing circles back. (OK, removing whole airspace part works, but that's not what I want. )

I personally recommend Sublime Text. It's a code editor, but most importantly, it allows you to edit multiple lines a t once, which makes re-formatting very easy.

is this ready for review?

Hi,
I'll finish it as soon as I return from vacation. Prob.  this weekend. I thought that I would be faster. Sorry for delay.

Hi @erikquinn,
lets call it ready for review now.

Everything seems to be in order! Nicely done :smile:


Cleanup

use of StableRNG
add random_state in scikitlearn estimators to avoid stochasticity
a few fixes to the logistic function following discussion and suggestions on Discourse

Codecov Report

Merging #62 into dev will decrease coverage by 1.78%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##              dev      #62      +/-   ##
==========================================
- Coverage   94.78%   92.99%   -1.79%
==========================================
  Files          22       22
  Lines         805      814       +9
==========================================
- Hits          763      757       -6
- Misses         42       57      +15

Impacted Files
Coverage Δ

src/glr/constructors.jl
100.00% <ø> (ø)

src/mlj/interface.jl
71.15% <35.00%> (-19.55%)
:arrow_down:

src/fit/default.jl
80.00% <88.88%> (ø)

src/utils.jl
97.26% <96.72%> (-0.11%)
:arrow_down:

src/fit/analytical.jl
100.00% <100.00%> (ø)

src/glr/d_robust.jl
89.14% <0.00%> (-2.13%)
:arrow_down:

src/loss-penalty/generic.jl
86.07% <0.00%> (-1.27%)
: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 bf9f711...41e1fe8. Read the comment docs.


flag --clean on command dev doesn't work if a service is still running

The flag --clean on command dev doesn't work if a service is still running:
liteflow dev ./ --clean
2020-05-07T12:41:28.968Z INFO › engine › cleaning environment
Error: (HTTP code 403) unexpected - error while removing network: network mesg_engine id aa9cef3cb4e856d6dba2d621c7cbcb3a8f8ca9f21c309f84bba7ee5d9e89e1e0 has active endpoints
    at ~/Development/liteflow-labs/liteflow-js/packages/cli/node_modules/docker-modem/lib/modem.js:239:17
    at getCause (~/Development/liteflow-labs/liteflow-js/packages/cli/node_modules/docker-modem/lib/modem.js:269:7)
    at Modem.buildPayload (~/Development/liteflow-labs/liteflow-js/packages/cli/node_modules/docker-modem/lib/modem.js:238:5)
    at IncomingMessage.<anonymous> (~/Development/liteflow-labs/liteflow-js/packages/cli/node_modules/docker-modem/lib/modem.js:214:14)

docker ps -a
CONTAINER ID        IMAGE                                                   COMMAND             CREATED             STATUS              PORTS                                            NAMES
8d8f6c8c1cf1        liteflow:FDvQhZTwYPay1CnurZ1GQowSVEhKQr6Q1p89p87T2PHS   "node index.js"     3 minutes ago       Up 3 minutes        <IP_ADDRESS>:3005->3005/tcp                           liteflow_srv_9XVDgSTnvZ9W4khoebKVZU9bLJmz1AR8ukKMaL549a2T

It could force delete all container using the prefix liteflow_srv_

outdated issue, command dev has been deleted in https://github.com/liteflow-labs/liteflow-js/pull/260


Where to download the resnet pretrain model?

The PRETRAIN_PATH in fast-reid/configs/Base-bagtricks.yml is:
"/export/home/lxy/.cache/torch/checkpoints/resnet50-19c8e357.pth".
Where to download the file?
Thanks.

@ShowTsai You can choose pretrained model in model zoo

@ShowTsai This is the imagenet pretrain model, you can delete PRETRAIN_PATH and then it will download automatically.
Or you can download it by using this way
from torchvision.models import resnet50
resnet50(pretrained=True)

Thanks!
BTW, is this the only pretrained model used in this project?

The different backbone has its own imagenet-pretrained model.


Remove old service file when switching to multi-process systemctl

sirepo.service and<EMAIL_ADDRESS>should not both exist.

Delete template instances that are no longer valid.


perform calculation on one coulmn

Let's say I have an order request, and it has many items (nested_froms) which user can add the title, quantity and price of each item, and JS will automatically  calculate the price of the item whenever it price or quantity has been change. I have done that so far.
Now, I need to update the "Total Amount" of the order every time any price of an item change or an item has been deleted.  So, how can I calculate the Total Amount of all items' prices?
Thanks in advanced.

Euhm, a bit baffled why you ask this here? But let's roll with it: the total is the sum of all parts. So select all individual prices and do a sum. Easy with jquery. E.g. something like: http://stackoverflow.com/questions/2417553/jquery-calculate-sum-of-values-in-all-text-fields


Add support for Kubernetes 1.12.3

What this PR does / why we need it:
See https://github.com/kubernetes/kubernetes/releases/tag/v1.12.3
TODO:

[x] upload Windows binary

If applicable:

[ ] documentation
[ ] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:
Add support for Kubernetes 1.12.3

See Azure/aks-engine#82.


Add E argument to new parser

Adds an E argument to the associated structs and methods in parser.rs.
This allows the basic example to parse PI_octocat.gcode without errors if the M117 line is removed.

I added the test for the E argument, and cargo test passes.

Thanks a lot for the help! Are there any other arguments I've missed?


fix(erc721): properly handle receiver errors

Resolves #224
The FIXMEs added in the PR are tracked here.

[x] Tests

The pipeline is still failing

@bidzyyys yeah, it's in the PR description!


Resolve permissions check when managed policy gets updated

There are linter errors: https://github.com/GoogleChromeLabs/chromeos_smart_card_connector/actions/runs/8021684961/job/21914319317?pr=1134

Thanks for the fix. I'll try to do the detailed review till the end of the day.

Thank you for the review! I added the test cases in a new file policy-or-prompting-permissions-checker-unittest.js because I believe they do require the PolicyOrPromptingPermissionsChecker and rely on both the managed registry and user prompting checker. Let me know, if I should move them.


add domain for Castro Valley High School

Add domain for Castro Valley High School
https://cvhs.cv.k12.ca.us

@dpshah1 First stage of verification passed, official domain is cv.k12.ca.us as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


How can we do intercommunication between stores?

I want to access 1 store inside another store.
I find it easier to create a rootStore and pass the rootStore reference to each store.
But how can I do the same with DI architecture used in this project ?
This is my first time using DI, so pardon my lack of experience.

Hi @jashwant,
In my opinion, it's not recommended that one store can have access to or talk directly to another store. Instead, you can pass your dependencies from your views. I would be happy to help if you share your usecase.
Thanks.


Sync willow ontology mapper occupancy zone serves relationship

What
Add Occupancy Zone mapping and update relationship mapping from Mapped to Willow.
Why
We are adding Occupancy Zones to XY Sense and Yanzi. XY Sense will be "Occupancy Zone hasPart Space", and "Occupancy Sensing Device serves Occupancy Zone". Yanzi will be "Floor hasPart Occupancy Zone," and "Sensor Equipment serves Occupancy Zone"
Tested
Valid DTMI format and checked for duplicates

Bypassing the follow error and merging to main:
buildandpack.ps1: /home/runner/work/_temp/985b842e-7812-46c2-a9e0-08a57da82d91.ps1:2
Line |
   2 |  … ack.ps1 -config Release -publishPackage false -nugetSecret '' -VERTUP …
     |                                                               ~~
     | Cannot bind argument to parameter 'nugetSecret' because it is an empty
     | string.

Error: Process completed with exit code 1.


Add a read-only mode as a configuration option

Add "readonly" under the storage/maintenance section. When this is set
to true, uploads and deletions will return 503 Service Unavailable
errors.
Document the parameter and add some unit testing.
Signed-off-by: Aaron Lehmann<EMAIL_ADDRESS>

How does that look from the engine/UX perspective?

Right now it looks like this:
$ docker push localhost:5000/hello-world
The push refers to a repository [localhost:5000/hello-world] (len: 1)
91c95931e552: Image push failed
Error pushing to registry: Server error: unexpected 503 response status trying to initiate upload of hello-world

I was hoping that the engine would be more specific about the error. This is an improvement we could make on the engine side.

@aaronlehmann is 503 the most appropriate code?
From a practical perspective, this will be confused with load-balancers being unable to reach out backends and other temporary failure conditions.
Maybe 405? or something in the line? wdyt?

I will defer to your years of experience with HTTP :)
405 seems reasonable to me, any other opinions?

After some thought, I do agree with @dmp42. These handlers should respond as if they were never available on the instance. We can get this for free:
	mhandler := handlers.MethodHandler{
		"GET": http.HandlerFunc(imageManifestHandler.GetImageManifest),
	}

	if ctx.ReadOnlyEnabled {
		mhandler["PUT"] = http.HandlerFunc(imageManifestHandler.PutImageManifest)
		mhandler["DELETE"] = http.HandlerFunc(imageManifestHandler.DeleteImageManifest)
	}

	return mhandler

My thinking in returning a specific error in read-only mode was so that the engine would report that to the user, and it would make more sense than a push mysteriously failing. That said, the current engine code doesn't report a descriptive error anyway (see above), so for now this isn't buying us anything.

@aaronlehmann That is an interesting consideration, but the engine needs to be slightly smarter. For example, in the case of a static registry, how would the engine reporting the inability to push? It is unlikely that a static registry would return the right error code.

OK, I pushed another commit that changes the config file option to:
readonly:
  enabled: false

...and avoids installing the affected handlers at all in read-only mode.
The config format change means this option can't be controlled through an environment variable. This seems very unfortunate, because I think an environment variable would be a better way to enable read-only mode than temporarily changing a production config file. I believe the reason it doesn't work is because "maintenance" is a map of interface{} objects, and the env var parsing code doesn't know that READONLY_ENABLED refers to an item inside an implicit map named readonly. I'm not sure we want to change the env var parsing code to work this way because I don't know what side effects it could have. Would it make sense to add an explicit check for a REGISTRY_STORAGE_MAINTENANCE_READONLY_ENABLED environment variable?

Note to self: make some changes to the API spec once https://github.com/docker/distribution/pull/848 lands.

@aaronlehmann We just want to avoid limiting the further extension of the readonly configuration option. I think we can always fix the environment variable bug, while changing the configuration format is more problematic.

I dig some more digging on the environment variable stuff. Unfortunately, it's pretty ugly.
-e REGISTRY_STORAGE_MAINTENANCE_READONLY='enabled: true' works. Sometimes. It works if the maintenance key is present in the config file, but otherwise, the parsing code doesn't know that a maintenance map should exist, and doesn't handle the environment variable properly.
One possibility here would be to change the way the environment variable overrides work. Instead of walking the config struct and seeing if there's a matching environment variable for each leaf member, we could take all environment variables beginning with REGISTRY_, split them on _, and treat that as a "path" to the config item. Whenever we encounter a component that doesn't exist, we would create it as a map (if it's an intermediate component), or a key (if it's the last component).
A simpler workaround would be to create all maps we know may exist at the time a Configuration struct is created, i.e.:
config.Storage["maintenance"] = make(map[string]interface{})
config.Storage["maintenance"]["readonly"] = make(map[string]interface{})

Frankly, I don't really like either idea. I think the root problem is that so much data in the config struct is untyped. IMHO the Configuration struct should actually show what can be included in the configuration - otherwise it's difficult to understand, difficult to test, and difficult to override.
I'm guessing the reason why Storage is a map[string]interface{} in the first place is so the config code doesn't need to be aware of the storage backends. This makes sense, but it's really annoying that this section of the configuration degenerates to duck typing and features like environment variable overrides don't work properly.
Anyway, for now I'll probably use the preinitialization workaround I described above. But longer term, I'd love to clean this stuff up.

One possibility here would be to change the way the environment variable overrides work. Instead of walking the config struct and seeing if there's a matching environment variable for each leaf member, we could take all environment variables beginning with REGISTRY_, split them on _, and treat that as a "path" to the config item. Whenever we encounter a component that doesn't exist, we would create it as a map (if it's an intermediate component), or a key (if it's the last component).

This is the right approach.
I agree with the comments about duck typing. This untyped configuration is both problematic and confusing.

https://github.com/docker/distribution/pull/888 will make this configurable with environment variables. Suggest merging this after #888.

LGTM.  cc @BrianBland

LGTM

ping @stevvooe for a LGTM.  I'd like to get this one in.

LGTM


Vanilla "Owned vehicles" system usage in the RSO, and an idea how to implement both randomly generated cars with player-owned ones.

As probably everybody knows by this point, yesterday Altfuture dropped B98, that implemented "Owned vehicles" system.
Vehicles in this tab are free from the usual fee system, but player needs to service them manually as a drawback.
My first, and oblivious, suggestion is to put all purchased locomotives into "Owned vehicles" category.
In this case, player needs to receive "Manual service" license at the start of the game.
My second suggestion is to put ALL rolling stock in it as well. This, however, causes a few issues.

I'm not sure you can service cars in the vanilla. I assume it is possible, after all you can service tender of S282, but I'm no codder and never modded DV, so it is just blind guess from me.

Even if you can, there is exactly one loco service facility that can allow run-through service of an entire consist (OWN track A2D), and I'm not sure you can even do it MU-style, i.e. spot one car and roll the knob to select and service others. And it would be pretty tedious to service-move consists of 20+ cars.

If it is the case, it might be better to implement a radio command instead, which repairs them for a fixed fee.
And my third, and final suggestion that was mentioned in the title and sounds like something  against the idea of the mod, but still, hear me out.
If the player-owned rolling stock actually gets into the "Owned vehicles" tab, then it might be possible to create a Railroader-like experience.
By that, I mean you service with not your rolling stock at first (locos are still have to be player-own), HOWEVER it is way less profitable that do it with your cars.
In order to achieve this without implementing a second set of vanilla cars just to give them reduced payout modifier, I believe it is possible to use the fee system, by setting wheel/brakes damage fees waay higher than they are in vanilla. And, because you do not pay fees for "Owned vehicles", it naturally makes your own cars more profitable.
This would provide 2 more things. First, the additional sense of progression, with your own cars gradually replacing rolling stock of your "competitors" in the yards. Second, you can actually bump up car costs to something more resonable than only a few thousands for most of them.
In closure, sorry for this wall of text of awful english spelling from somebody who has no idea how to code past basic logical operators and has no idea of the game structure, but at least I hope I decribed my idea well enough for you to undestand and evaluate.

Oh and I forgot to mention, if 3rd gets implemented it would be possible to use mods such as Passenger Jobs with RSO.


Update Monix version

A new version of monix was released which fixes a critical issue regarding a memory leak, this PR just bumps the version (note that its binary compatible with the Monix 3.0.0 release). See https://github.com/monix/monix/releases/tag/v3.1.0 for more info.
This memory leak was visible when using Monix with Quill transactions.

Duplicate of https://github.com/getquill/quill/pull/1700

Re-opening this because it turns out its causing some tests to fail.

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

Something has changed in Monix 3.1.0 which is breaking the tests.
It seems to be still broken in the latest version of Monix. See https://github.com/zio/zio-quill/pull/2927
Either the test are incorrect, or Quill's code is incorrect or Monix has a problem

Monix support will be dropped. See https://github.com/zio/zio-quill/pull/3033. Closing


Why Not Add this Site on Custom Domain

Hi,
I would like to invite you If you want to show this as a brand then host on a custom domain. You can also do a partnership with me.
I Always  Support Open Source and Non-Profit Project to Grow Rapidly.

I would like to Add this Tool on My Website, you don't need to do anything just simple task. When Online Please Contact Me on Twitter

Please Respond @romannurik I would like to talk with you. Please share your social media handle or contact me on Twitter


Patch httpx dependency

Could you please update the dependencies to allow httpx version 0.23? it looks like it patches some critical vulnerability.
thanks!

Hi!
Started a PR #60, but a lot of tests are failing so it will need some work/time :)

A new version 0.6.0 has been released with<EMAIL_ADDRESS>


Allow different input types

Blocked by #396.
We should allow the UI to add different input types, depending on the operation which is selected.
For example GetElementsInRange would have an input type of Pair rather than just entity seed. The form for adding pairs will be different to the form for regular seeds.
This will allow for the support of a wider variety of operations.

Merged into develop.


Gen.OneOfConst of empty array

Apologies for this rather vague drive-by issue description, but I recently wrote a property that utilised Gen.OneOfConst against a generated array. I'm sorry that this isn't a minimal, reproducible example, but hopefully it gives you an idea of what I mean:
[Fact]
public void RoomBooked()
{
    (from rooms in GenRoom.ArrayUnique
     from arrival in Gen.Date.Select(DateOnly.FromDateTime)
     from i in Gen.Int[1, 1_000]
     let departure = arrival.AddDays(i)
     from room in Gen.OneOfConst(rooms)
     from id in Gen.Guid
     let booking = new Booking(id, room.Name, arrival, departure)
     select (rooms, booking))
    .Sample((rooms, booking) =>
    {
        var sut = new FakeReadRegistry(rooms);

        sut.RoomBooked(booking);
        var actual = sut.GetFreeRooms(booking.Arrival, booking.Departure);

        Assert.DoesNotContain(booking.RoomName, actual.Select(r => r.Name));
    });
}

This property would fail most of the time with an exception like this:
  Message:
    ---- System.DivideByZeroException : Attempted to divide by zero.

   It took me some time to figure out that the problem might be that the array passed to Gen.OneOfConst might be empty.
The fix on my end was to change the first line to
from rooms in GenRoom.ArrayUnique.Nonempty

but it took me some time to troubleshoot the issue.
May I suggest that Gen.OneOfConst throws a more descriptive exception if passed an empty collection?
Something like

An empty collection was passed to Gen.OneOfConst, but it's impossible to pick a random value from the empty set. Please supply a collection with at least one element.

This could potentially save some other poor soul some time in the future.

Thanks and I can easily reproduce. There is very little validation on the collection sizes and ranges and they always end up with a divide by zero in the RNG.
It's good timing as I'm putting together v3.0.0. I always have an eye on performance especially with SelectMany/bind but you are right there needs to be something more helpful. Added to my v3 list.

And you have reminded me that now I'm moving to net6.0 I can add DateOnly etc. Thanks

3.0.0 has been reelased now with validation added.


Test annotation ignored when multiple definitions in same file

Helm is ignoring the "helm.sh/hook": test-success annotation when the Pod definition is not the first yaml document in the file.
For example, this Pod definition is not recognized as a test:
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ template "fullname" . }}-tests
data:
  ui-test.sh: |-
    #!/bin/bash -xe
    curl {{.Release.Name}}-jenkins:8080/login
---
apiVersion: v1
kind: Pod
metadata:
  name: "{{.Release.Name}}-ui-test-{{ randAlphaNum 5 | lower }}"
  annotations:
    "helm.sh/hook": test-success
    "pod.beta.kubernetes.io/init-containers": '[
      {
        "name": "test-framework",
        "image": "foxish/bats:0.4",
        "command": ["bash", "-c", "
          set -ex\n
          # copy bats to tools dir\n
          cp -R /usr/local/libexec/ /tools/bats/\n
        "],
        "volumeMounts": [
          {"name": "tools", "mountPath": "/tools"}
        ]
      }
    ]'
spec:
  containers:
    - name: {{.Release.Name}}-ui-test
      image: {{.Values.Master.Image}}:{{.Values.Master.ImageTag}}
      command: ["/tools/bats/bats", "-t", "/tests/ui-test.sh"]
      volumeMounts:
      - mountPath: /tests
        name: tests
        readOnly: true
      - mountPath: /tools
        name: tools
  volumes:
  - name: tests
    configMap:
      name: {{ template "fullname" . }}-tests
  - name: tools
    emptyDir: {}
  restartPolicy: Never```

/cc @michelleN


Write code to stop in front of a wall and decide a direction to move

Pseudocode:
if wall:
check left and right ultrasonics
move in direction of clearest path

#Check left and right sonar, turn in that direction
#reading on sonar for when to stop moving
stopReading = none
#assign values later using tuple
leftPin = none
rightPin = none
centerPin = none()
#Declare two sonar sensors
center = Sonar(centerPin[0],centerPin[1],centerPin[2])
left = Sonar(leftPin[0],leftPin[1],leftPin[2])
right = Sonar(rightPin[0],rightPin[1],rightPin[2])
if center.get_distnace > stopReading:
if right.get_distance > left.get_distance:
#move/turn right
else:
#move/turn left

Code has been written to follow a maze and make its way out using what is called the left-handed wall following algorithm. This needs to be changed from using limit switches to using the ultrasonic's reading_in_range() function.
When the robot is within a certain range (probably 0 to 5 cm), then it is equivalent to a limit switch being triggered.
From SEAS Innovation Challenge R&D Showcase code:
def navigate_maze(self):
        """Simple Left-Handed Wall Follower Algorithm"""

        if self.front_switch.get():
            arcade_drive(0.0, 0.0, -1.0)

        if self.left_switch.get():
            arcade_drive(0.0, 0.0, 1.0)

        if self.right_switch.get():
            arcade_drive(0.0, 1.0, 0.0)
            sleep(1.0)
            arcade_drive(1.0, 0.0, 0.0)

For now turn by time until we have working gyro code.


fix actor serialization

Issue where the serializer isn't used and json is specified to marshal/unmarshal parms
Merging this will close #317
Signed-off-by: mikeee<EMAIL_ADDRESS>

Thanks for this cocntribution @mikeee


Fix python version cfg

Hey, it seems that clippy had added a new warning that wasn't shown before (or is it relevant to the configuration being used now?)
Anyway, can you fix it?

Fixed the clippy warnings.

Please remove the build.rs (which sets those env vars)

We need to follow those instructions to have the supplemented PyO3 cfgs.

So why does it work without it at the moment? If the dependency isn't present and the flags are missing then something should fail, right? I tested the 3.6 version locally and it does indeed fail at import, so perhaps there should be a very basic python-level test suite in place to verify the API?

@pejter It is odd. I'm working on adding a test to verify declaration works as desired.
https://github.com/aviramha/ormsgpack/pull/25

It seems that it does fail. Your changes should fix it.

Thanks!


1.0.0

Thank you for pushing out these good general purpose Apostrophe modules!
Review sent.
On Wed, Nov 8, 2017 at 8:11 PM, Austin Starin<EMAIL_ADDRESS>wrote:

Assigned #1 https://github.com/punkave/apostrophe-address-widgets/pull/1
to @boutell https://github.com/boutell.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe-address-widgets/pull/1#event-1333072978,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fR9Riaxznq2u7rKWUWb9cbQ9ZDzOks5s0lFCgaJpZM4QXSZ3
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

@boutell Ready for a last look, please, before merging.

Please copy in the LICENSE.md file from the apostrophe module and change the year to 2017.

After that please feel free to merge and publish.

Done 3fc0eaa. Thank you!


make DataModule compatible with Python dataclass

🚀 Feature
Support the following:
@dataclass
class MyDataModule(LightningDataModule):
    pass

Motivation
To reduce boilerplate code is at the core of philosophy in Lightning. It should be compatible with dataclasses.
Code sample
Here is an example. It currently does not work as we have some internal attributes that don't play well with the dataclass.

import os
from dataclasses import dataclass

import torch
from torch.utils.data import DataLoader, Dataset

from pytorch_lightning import LightningModule, Trainer, LightningDataModule

class RandomDataset(Dataset):

    def __init__(self, size, length):
        self.len = length
        self.data = torch.randn(length, size)

    def __getitem__(self, index):
        return self.data[index]

    def __len__(self):
        return self.len

@dataclass
class BoringDataModule(LightningDataModule):

    batch_size: int = 2

    def train_dataloader(self):
        return DataLoader(RandomDataset(32, 64), batch_size=self.batch_size)

class BoringModel(LightningModule):

    def __init__(self):
        super().__init__()
        self.layer = torch.nn.Linear(32, 2)

    def forward(self, x):
        return self.layer(x)

    def training_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("train_loss", loss)
        return {"loss": loss}

    def configure_optimizers(self):
        return torch.optim.SGD(self.layer.parameters(), lr=0.1)

def run():
    model = BoringModel()
    trainer = Trainer(
        default_root_dir=os.getcwd(),
        limit_train_batches=1,
        limit_val_batches=1,
        num_sanity_val_steps=0,
        max_epochs=1,
        weights_summary=None,
    )
    trainer.fit(model, datamodule=BoringDataModule())

if __name__ == '__main__':
    run()

Alternatives
#3792 introduces save_hyperparameters() for the datamodule. However, I believe the dataclass approach here is not in conflict with that because both could be useful at the same time.

Hi, I would like to work on this issue, could you please assign it to me?

Hey! Yes, you can take it if you want. I haven't really had the time to look why it is not working. I don't know how difficult it would be.
Give it a try. We appreciate the help!

Hey, Is there any slack or discord server I could join to ask my queries?

Yes, feel free to join the PyTorch Lightning slack: https://join.slack.com/t/pytorch-lightning/shared_invite/zt-pw5v393p-qRaDgEk24~EjiZNBpSQFgQ

I set init to False (which by default is set to True). This seems to fix the issue. I think the "@property" decorator on the attributes might be the cause of the issue.

How should I proceed?

Oh yes, but actually we want dataclass to generate an init for us. Otherwise we don't get any great value of a dataclass here.
But actually, all we have to do is this:
    def __post_init__(self):
        super().__init__()

Because the init generated by dataclass does not call super(), and that's required by the datamodule.


[GitOps Plugin] Suggestions for improvement

I spent a bit of time with the GitOps plugin recently and I thought I would capture some feedback here for anyone who wants to work on this plugin. This is likely not going to be easy to action as a single issue though so feel free to close it or split it up if it makes sense.
The point here is not to criticize the GitOps plugin by the way. It's to collect feedback & work which could be done to improve the plugin, in a place where it can be seen by the community. All of Backstage is alpha right now and it is understandable that everything is rough around the edges.

The Cluster Template on the right here is supposed to use github.com/chanwit/template-2 as a template, but that repo doesn't exist.

It is difficult to understand what auth information we are supposed to provide here. Is it a id and secret for a GitHub application? Eventually, by reading the code and looking at variable names, I figured out I was supposed to create some programatic creds using IAM on AWS but that is not mentioned anywhere in the UI.

The UI never seems to send the Cluster Template value to the backend. When I look at the logs of the GitOps backend, I see that the TemplateRepository is an empty string. I was able to successfully send a templateRepository via curl so this is definitely a frontend problem.

2020/07/22 08:36:48 Bind JSON to req: OK ..: &main.ClusterTemplateCloneRequest{TemplateRepository:"",

The GitHub auth token that this plugin appears to use doesn't seem to have the correct scopes to clone a repository, so the GitOps plugin can't successfully do anything. AFAIK I didn't create this auth token so I don't know how to add scopes to it. I see the following in the logs of the GitOps plugin backend:

master (refusing to allow an OAuth App to create or update workflow .github/workflows/gitops.yaml without workflow scope

There is no client side validation, I can easily skip through the cluster creation stepper without checking any boxes, even though they are required to make anything happen.

There is no error handling. If I try to create a cluster and the request completely fails on the backend, nothing in the UI tells me that there is a problem. This can be especially problematic because it is expected to take a long time (15 mins) to create a cluster, so it is easy to sit there waiting for quite a while before you realise anything is wrong.

Overall, I think this plugin is a great idea, and it certainly fits well with the idea of Backstage as a developer portal. It is difficult to use at the moment unfortunately.

Hey @dtuite - Great findings!
I can comment on #4 and the required scopes can be added to the GitHubAuth.getAccessToken() call in the plugin. Currently, it asks for 'user' and 'repo' scopes and I'll make a PR to add 'workflow' to the list of scopes needed.
Hey, @chanwit - here are some suggestions on improving the GitOps plugin experience.

Also a note on #4 there's a lovely RFC about GithubApps authentication #1565  which I'd love to get some more input on if you have any ideas @dtuite

@benjdlambert

there's a lovely RFC

You would say that! 😄


Investigate synchronization with MBObjectManager

How can we verify that the ID's for each object is the same across all clients?

Any problems?
I thought that we manually create each object with a given MBGUID. And then, when passing rpc-methods, we use the MBGUID to search for the objects.

MBGUID is assigned through MBObjectManager. We will have to create a hook for creating objects. I don't see any issues with hooking. This issue is for discussion

In regards to patching MBObjectManager.CreateObject: https://github.com/pardeike/Harmony/issues/320 . It appears that may not be possible.
So we will have to patch all sites calling MBObjectManager.CreateObject instead and deal with it that way.

We are instead mapping MBGuid manually.


dubboadmin注册中心配置Eureka

请问dubboadmin注册中心使用Eureka，怎么进行配置？

当前dubbo并不支持eureka注册

Sorry, because this issue was raised very early, we have closed it temporarily. You can verify whether this problem still exists in the latest code of the develop branch. If this problem still exists, please reopen it at any time.


Feature/user auth

Description
Add user authentication using passport with the following:

[ ] Email/password
[ ] Facebook
[ ] Twitter
[ ] LinkedIn
[ ] Facebook
[ ] Github

Checklist
Remove any items which are not applicable.

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works AND the tests pass

 User Auth Endpoints

Awesome job guys are really nice. I left some comments based on modularization and keeping our code dry
Also, try and hash the users' passwords before saving

This is still work in progress, thanks for the feedback.

 "As a user I want to be able to sign up with my email"


SOLR-16512 : Eliminate noggit JSONWriter.Writable from Solr classes

Seems fine. Couldn't find review button, btw.

Seems fine. Couldn't find review button, btw.

I think if you go to the "files" tab , it's on the top right


Hide localhackday18, update logic to hide events that have ended

Doesn't deal with any fancy data types (like dates) so should be safe.
Hides local hack day, and checks the is-over variable when displaying events in futureevents (on the main page).

Yep, all of the events already have is-over


BUG: issues #146 and #147

issues #146 and #147

This looks really nice @gamaanderson , I don't have any comments at this time. Small changes can be made in the future if desired. I'll merge if you are okay with that.

I'm ok with merging


bird: I found another BIRD running.

suddenly network error occurs without any operation. what happened ? how to avoid it？
Expected Behavior
expected the node's status keeps up, but not start.
Current Behavior
logs
2019-02-26 15:26:40.162 [ERROR][89] health.go 193: Health endpoint failed, trying to restart it... error=listen tcp :9099: bind: address already in use
2019-02-26 15:26:40.424 [INFO][89] int_dataplane.go 690: Applying dataplane updates
2019-02-26 15:26:40.424 [INFO][89] ipsets.go 224: Asked to resync with the dataplane on next update. family="inet"
2019-02-26 15:26:40.424 [INFO][89] ipsets.go 255: Resyncing ipsets with dataplane. family="inet"
2019-02-26 15:26:40.425 [INFO][89] ipsets.go 297: Finished resync family="inet" numInconsistenciesFound=0 resyncDuration=1.113639ms
2019-02-26 15:26:40.425 [INFO][89] int_dataplane.go 705: Finished applying updates to dataplane. msecToApply=1.354435
bird: I found another BIRD running.
bird: I found another BIRD running.
2019-02-26 15:26:41.162 [ERROR][89] health.go 193: Health endpoint failed, trying to restart it... error=listen tcp :9099: bind: address already in use
bird: I found another BIRD running.
bird: I found another BIRD running.
2019-02-26 15:26:42.162 [ERROR][89] health.go 193: Health endpoint failed, trying to restart it... error=listen tcp :9099: bind: address already in use
bird: I found another BIRD running.
bird: I found another BIRD running.
2019-02-26 15:26:43.163 [ERROR][89] health.go 193: Health endpoint failed, trying to restart it... error=listen tcp :9099: bind: address already in use
bird: I found another BIRD running.
bird: I found another BIRD running.
2019-02-26 15:26:44.163 [ERROR][89] health.go 193: Health endpoint failed, trying to restart it... error=listen tcp :9099: bind: address already in use
bird: I found another BIRD running.
bird: I found another BIRD running.
2019-02-26 15:26:45.163 [ERROR][89] health.go 193: Health endpoint failed, trying to restart it... error=listen tcp :9099: bind: address already in use
bird: I found another BIRD running.
bird: I found another BIRD running.
2019-02-26 15:26:46.164 [ERROR][89] health.go 193: Health endpoint failed, trying to restart it... error=listen tcp :9099: bind: address already in use
bird: I found another BIRD running.
bird: I found another BIRD running.
2019-02-26 15:26:47.164 [ERROR][89] health.go 193: Health endpoint failed, trying to restart it... error=listen tcp :9099: bind: address already in use
bird: I found another BIRD running.
bird: I found another BIRD running.
2019-02-26 15:26:48.164 [ERROR][89] health.go 193: Health endpoint failed, trying to restart it... error=listen tcp :9099: bind: address already in use
bird: I found another BIRD running.
bird: I found another BIRD running.
2019-02-26 15:26:49.165 [ERROR][89] health.go 193: Health endpoint failed, trying to restart it...

node status

process on the target node
[root@a-docker-cluster07 ~]# docker ps
CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS              PORTS               NAMES
e484b52153fe        zenko/kafka-manager         "./bin/kafka-manager…"   11 hours ago        Up 11 hours                             k8s_kafka-manager_irreverent-pike-kafka-manager-7d9bcbdc74-b688w_storage_bb40c482-39d6-11e9-83cb-00163e086b4d_0
e900b78fda07        anjia0532/pause-amd64:3.0   "/pause"                 11 hours ago        Up 11 hours                             k8s_POD_irreverent-pike-kafka-manager-7d9bcbdc74-b688w_storage_bb40c482-39d6-11e9-83cb-00163e086b4d_0
8498fdf4228c        188af75e2de0                "/bin/node_exporter …"   16 hours ago        Up 16 hours                             k8s_node-exporter_esteemed-abalone-prometheus-node-exporter-w685p_monitoring_d6d7994a-39af-11e9-83cb-00163e086b4d_0
c3449232e3ed        anjia0532/pause-amd64:3.0   "/pause"                 16 hours ago        Up 16 hours                             k8s_POD_esteemed-abalone-prometheus-node-exporter-w685p_monitoring_d6d7994a-39af-11e9-83cb-00163e086b4d_0
d78c620f1614        ae513a47849c                "nginx -g 'daemon of…"   4 days ago          Up 4 days                               k8s_nginx-proxy_nginx-proxy-a-docker-cluster07_kube-system_d915dfa38e37492e76f37f0f115895fd_61
171101d3d48a        anjia0532/pause-amd64:3.0   "/pause"                 4 days ago          Up 4 days                               k8s_POD_nginx-proxy-a-docker-cluster07_kube-system_d915dfa38e37492e76f37f0f115895fd_6
a0e05f5b6dfb        3ea2e2baccf4                "/hyperkube proxy --…"   4 days ago          Up 4 days                               k8s_kube-proxy_kube-proxy-a-docker-cluster07_kube-system_33277c7112a5b7f5b74c7bf50755a379_6
2a81b8f139af        e96a297310fd                "start_runit"            4 days ago          Up 4 days                               k8s_calico-node_calico-node-k554p_kube-system_24805908-313d-11e9-a280-00163e086b4d_5
db402793d955        aed157fc62b3                "java -Djava.securit…"   4 days ago          Up 4 days                               k8s_security-restapi-server_security-restapi-server-6fc84c996b-9wt42_inf-prod_9615ce3a-33f5-11e9-83cb-00163e086b4d_2
d8a26679283b        922e3ef0728c                "java -Djava.securit…"   4 days ago          Up 4 days                               k8s_vip-points-admin-server_vip-points-admin-server-7b46b4f585-qz5nr_inf-prod_00d8ff5c-31bd-11e9-83cb-00163e086b4d_2
ddc270d7abe2        anjia0532/pause-amd64:3.0   "/pause"                 4 days ago          Up 4 days                               k8s_POD_security-restapi-server-6fc84c996b-9wt42_inf-prod_9615ce3a-33f5-11e9-83cb-00163e086b4d_2
6e7a5d6b266c        anjia0532/pause-amd64:3.0   "/pause"                 4 days ago          Up 4 days                               k8s_POD_kube-proxy-a-docker-cluster07_kube-system_33277c7112a5b7f5b74c7bf50755a379_6
1e439517e79f        anjia0532/pause-amd64:3.0   "/pause"                 4 days ago          Up 4 days                               k8s_POD_calico-node-k554p_kube-system_24805908-313d-11e9-a280-00163e086b4d_6
ed012c017051        anjia0532/pause-amd64:3.0   "/pause"                 4 days ago          Up 4 days                               k8s_POD_vip-points-admin-server-7b46b4f585-qz5nr_inf-prod_00d8ff5c-31bd-11e9-83cb-00163e086b4d_4
[root@a-docker-cluster07 ~]# lsof -i:9099
COMMAND     PID USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
calico-fe 22138 root    3u  IPv6 71121036      0t0  TCP *:9099 (LISTEN)

Possible Solution
delete the pod
Your Environment

Calico version

[root@a-docker-cluster07 ~]# calicoctl version
Client Version:    v1.6.3
Build date:        2017-12-20T22:32:36+0000
Git commit:        d4cfc95c
Cluster Version:   v2.6.8
Cluster Type:      kubespray,bgp

Orchestrator version (e.g. kubernetes, mesos, rkt):

kubernetes v1.10.4

Operating System and version:

[root@a-docker-cluster07 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@a-docker-cluster07 ~]# uname -r
3.10.0-862.11.6.el7.x86_64

Cluster Version:   v2.6.8

This is a really old version - I recommend upgrading to something more recent.
The symptoms sounds like there's another instance of Calico running. What shows up in docker ps -a? Do you see recently exited Calico containers?


navigationBar dissapears

Hi,
I'm using dataSource methods for setup. I'm keeping three viewControllers in controllersArray and I'm using viewControllerForPageAt method to show pager. Because some of this viewController has tableView and I want to make user move other viewController too. If I use viewForPageAtIndex viewControllers are not clickable so that's not suitable for me.
I have ProfileVC which is extend from MXSegmentedPagerController. ProfileVC has storyboard with root of some navigationController. The tricky part is navigationBar. When ProfileVC first showed up navigationBar is still there but If I select pager or make push to another viewController is going to disappear
Do you know what might be the problem is? How I can keep navigationBar, give me some advice please?
//MARK: - SegmentedPager
override func numberOfPages(in segmentedPager: MXSegmentedPager) -> Int {
    return 3
}

override func segmentedPager(_ segmentedPager: MXSegmentedPager, titleForSectionAt index: Int) -> String {
    return ["A", "B", "C"][index];
}

override func segmentedPager(_ segmentedPager: MXSegmentedPager, viewControllerForPageAt index: Int) -> UIViewController {

    return controllersArray[index] as! UIViewController
}

+1


please abandon the official support for adblockplus

many filter lists for your included does not support adblock plus
155.000 rules unusable this filter at the adblock plus
( ram less & more laggss.. + potentially broken many sites )

https://github.com/hl2guide/All-in-One-Customized-Adblock-List/wiki

I'll consider this but I have not noticed any more RAM usage or more lags that you mention.


Update new Grafana charts location

Updated the check_dashboards.sh script with the new location of the Grafana charts.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: mandarjog
If they are not already assigned, you can assign the PR to them by writing /assign @mandarjog in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

bin/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @mandarjog

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: douglas-reid
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

bin/OWNERS [douglas-reid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ymesika thanks for catching that.
Cheers
-steve


Falcoctl installation support

Motivation
Ensure we make easy to try a Falco rule using different methods.

Feature
falcoctl is gaining some traction and we would like to push it. So additionally to helm, include instructions to deploy a new rule using falcoctl

Alternatives

Additional context

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Strict Definitions of Easy, Medium, and Hard based on Word length

The 4-letter mediums and 5-letter hards were too confusing.
The 5-letter hards moved into medium.
The 4-letter mediums moved into easy.
Added a bunch of new hard works from the 450 most common 6-letter words to make this possible.

Thanks for maintaining this. New words LGTM


How can I remove the default Yellow person icon?

I couldn't find a way to change the yellow default icon of a man,  so, I set up a StreamSubscription to change the icon,
void getRunnerLocationUpdates() {
    runnerStreamSubscription =
        Geolocator.getPositionStream().listen((Position position) async {
      StaticPositionGeoPoint(
          currentFirebaseUser.uid,
          MarkerIcon(

            ),
          ),
          [
            GeoPoint(latitude: position.latitude, longitude: position.longitude)
          ]);
      await osmRideController.setMarkerOfStaticPoint(
          id: currentFirebaseUser.uid,
          markerIcon: MarkerIcon(
            // rotation: currentLocation.heading
            image: AssetImage(
              "images/images/runner.png",
            ),
          ));
      await osmRideController.setStaticPosition([
        GeoPoint(latitude: position.latitude, longitude: position.longitude)
      ], currentFirebaseUser.uid);
    });
  }

I call the above function in initState then use StaticPositionGeoPoint to show the icon
but now my problem is that I have two icons that are being tracked at the same time,  my question is how do I remove the default Yellow Man icon (osm default for tracking) or is it better to change the default icon itself, if so how?

that's not available , you should waiting little bit until i will make it available

I created new type UserLocationMaker that will contain personMarker and directionArrowMarker
to change marker when enabledTracking is activated
for ios side the implementation will be manually so i will do my best to shipped this weekend

check the new version 0.11.0

i added like i told new attribute userLocationMaker to change personIcon or arrowDirection
difference between them that personIcon shows only when user is no moving you can make them the same icon
or change them if  you want it's depend on your use case

Thank you.. sure no issues I will use the same icon
Not a problem

did you find any problem ! or everything works fine

did you find any problem ! or everything works fine

Hey hi! I am really sorry for not replying. I am stuck on background location services since months so forgot about this.. It worked from the day you published it. I have no problems with it. It works like a charm!. Thank you and its so wonderful you've brought this project so far.

cool! what's you problem with background location ,it that problem related to plugin,
if you want describe the problem, i will help you to find a solution for it

It's not related to your plugin,  Well it's actually funny now! As I was cleaning up my codes so I could ask you the question, For some reason I now got it to work.  Now, I regret not asking for your help earlier.  Anyways, I am using the GeoFire and BackgroundLocation plugins in my firebase database to stream my location in foreground and background thru this line of code.
 void getLocationLiveUpdates() async {
    await BackgroundLocation.startLocationService();
    backgroundSubscription = BackgroundLocation.getLocationUpdates((location) {
      print(location.latitude);
      print(location.longitude);
      Geofire.setLocation(
            currentFirebaseUser.uid, location.latitude, location.longitude);
      BackgroundLocation.setAndroidNotification(
        title: "Background Location",
        message:
            location.latitude.toString() + " " + location.longitude.toString(),
        icon: "@mipmap/ic_launcher",
      );
    });
  }

my advice to you, add attribute distanceFilter in startLocationService to manage update more accurate and put  value > 5 because  gps has measurement error

my advice to you, add attribute distanceFilter in startLocationService to manage update more accurate and put value > 5 because gps has measurement error

Ok. I will do as you say. I dont knw why I removed it. But thanx.


Update: SQL Server: Selecting @@ROWCOUNT after INSERT

Inserts generally either succeed, or an exception is raised. Do we need to select back @@ROWCOUNT?

@mikary talk to @anpete and @AndriySvyryd

Would be nice not having to!


Item Stacking

Closes #7
Closes MineInAbyss/Bonfire#18 aka has support for Player Instanced items
Currently shift-clicking items do not work. Not sure how, looking at the shift-click we do for hat, it should.
Changed from System to listener as I dont think we are gonna be using any sort of timer for it? Though do correct me

Ive left out shiftclicking as it just is abhorent to deal with apparently.
Otherwise ive updated it to latest ido and all that shiz and tested it locally
Cant find any issues.
Naturally it still doesnt work with player instanced items tho since it is so strict iguess

@0ffz review?


update nomenclature inline with latest naming

Updated the nomenclature in line with the latest naming

looks good @technophile-04
Thanks!


Declaring an unitialized class property.

Suppose I have an existing project to which I am adding flow types:
// Original project:

class Foo {
  x = 2;
  y = 3;
}

class Bar extends Foo {
  x;

  sum() {
    const sum = (this.x || 5) + this.y;
    console.log(sum);
  }
}

new Bar().sum(); // Logs 8 (5 + 3);

// With types:

class Foo {
  x: ?number = 2;
  y: number = 3;
}

class Bar extends Foo {
  // *

  sum() {
    const sum: number = (this.x || 5) + this.y;
    console.log(sum);
  }
}

new Bar().sum(); // Should log 8 (5 + 3);

* I want to say that the Bar class has:

an x property whose type is ?number and that is part of the JS code
an y property whose type is number and that isn't part of the JS code.

How can I differentiate the two cases?

yyyy, i also prefer to strip these code w/o initial value.

Comment syntax would work
class Bar extends Foo {
  x: ?number;
  /*:: y: number; */
}

I don't think that it is a solution: it would be the only place where a flow comment has a different behavior that a non-comment type annotation.

we don't want people to be forced to use the comment syntax, so we're going to implement the declare syntax.

Thanks! :heart: :heart: :heart:
We would like to release Babel 8 in March (we don't have an ETA yet, but it won't definitely be in the first half of the month).
In Babel 8, we are going to stop removing uninitialized class fields and so far we have been recommending the comment syntax to migrate to something that will be compatible with the new major version.
If you have any ETA, I could start working on the declare syntax in Babel so that, if you release it in Flow soon, we will be able to ship it in Babel 8.0.0.


Bbannier/boost 1.65.0

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (required)

DCOS_OSS-5555 DC/OS Boost version is older than the one used and tested by Apache Mesos upstream

Related tickets (optional)

DCOS-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee


Windows support

This PR should make CA supported on Windows as well.

https://github.com/tweaselORG/appstraction/pull/61 will need to be merged and released first, so we can integrate it here.


Load Error on build

I get following error when executing glynn. Do you have an idea if its an glynn bug or an error in my jekyll-blog?
I'm using jekyll-2.5.0 and glynn 1.1.0.
Configuration file: /Users/sven/development/gipfelbuch/_config.yml
Building site: /Users/sven/development/gipfelbuch -> /Users/sven/development/gipfelbuch/_site
Configuration file: /Users/sven/development/gipfelbuch/_config.yml
/Users/sven/.rvm/gems/ruby-2.0.0-p247/gems/jekyll-2.5.0/lib/jekyll/site.rb:150:in `read': cannot load such file -- jekyll/layout_reader (LoadError)
    from /Users/sven/.rvm/gems/ruby-2.0.0-p247/gems/jekyll-2.5.0/lib/jekyll/site.rb:49:in `process'
    from /Users/sven/.rvm/gems/ruby-2.0.0-p247/gems/glynn-1.1.0/lib/glynn/jekyll.rb:15:in `build'
    from /Users/sven/.rvm/gems/ruby-2.0.0-p247/gems/glynn-1.1.0/bin/glynn:28:in `<top (required)>'
    from /Users/sven/.rvm/rubies/ruby-2.0.0-p247/bin/glynn:23:in `load'
    from /Users/sven/.rvm/rubies/ruby-2.0.0-p247/bin/glynn:23:in `<main>'

This looks like a jekyll error. It's unable to find your layout_reader local file.


feat(search): UI layout for preview

Is your feature request related to a problem? Please describe.
While working on #717 I was wondering if we should implement a content modal overview similar to nvim-telescope 🤔 for file search.
Describe the solution you'd like
Currently, we have this search layout

I propose that we can add an additional layout change to search such that

The preview can also show the match search text similar to telescope behaviour.
Describe alternatives you've considered
I find that the full-text search display under the item list is a bit clutter once it includes headers and different format in the markdown.
Additional context
Very much inspired by telescope UI from neovim.

wait... you're kinda cooking with this one, would be sick

Aight let me test out something brb.


Set sign algo acording to key type

When client uses exisiting ACME account with private key NOT RSA type, on requests to ACME server he will get error:
  File "<console>", line 1, in <module>
  File "/opt/venv/lib/python3.8/site-packages/acme/client.py", line 138, in new_order
    response = self._post(self.directory['newOrder'], order)
  File "/opt/venv/lib/python3.8/site-packages/acme/client.py", line 366, in _post
    return self.net.post(*args, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/acme/client.py", line 739, in post
    return self._post_once(*args, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/acme/client.py", line 749, in _post_once
    data = self._wrap_in_jws(obj, self._get_nonce(url, new_nonce_url), url)
  File "/opt/venv/lib/python3.8/site-packages/acme/client.py", line 560, in _wrap_in_jws
    return jws.JWS.sign(jobj, **cast(Mapping[str, Any], kwargs)).json_dumps(indent=2)
  File "/opt/venv/lib/python3.8/site-packages/acme/jws.py", line 56, in sign
    return super().sign(payload, key=key, alg=alg,
  File "/opt/venv/lib/python3.8/site-packages/josepy/jws.py", line 291, in sign
    cls.signature_cls.sign(payload=payload, **kwargs),))
  File "/opt/venv/lib/python3.8/site-packages/josepy/jws.py", line 231, in sign
    assert isinstance(key, alg.kty)
AssertionError

This error occurs because acme.client.ClientNetwork initialised with default RS256 sign algorithm.
This PR is fixing this issue (at least for EC keys).

Thanks for the PR @skorobkov.
Would appreciate it if you get a chance to resolve the Linting-related errors.
--> Linting Python files
PYFLAKES_NODOCTEST=1 flake8 lemur
lemur/common/utils.py:248:1: E302 expected 2 blank lines, found 1
make: *** [Makefile:96: lint-python] Error 1
Error: Process completed with exit code 2.

coverage: 75.433% (+0.008%) from 75.425% when pulling ad46c7ee2bd23c5534961b5d7e92d09baa2fc004 on skorobkov:acme_clinet_sign_alg into 05814e2b316ad160a3eb112fc6e6ab8829e69386 on Netflix:master.


[GSSoC'23] Added UNO game.

PR Description 📜

UNO is an American shedding-type card game that is played with a specially printed deck. The game's general principles put it into the crazy eights family of card games, and it is similar to the traditional European game mau-mau.

The game will start automatically upon loading.

The player and the CPU will each begin with 7 cards, and a number card will begin the Play Pile. The player will go first. The player can either click on a card of matching value or color to play it, play an Action Card (Reverse, Skip, Draw 2, Draw 4, Wild), or if no playable cards are available, click on the Draw Pile for a new card and forfeit their turn.

Next the CPU will play, either playing an appropriate card or taking one from the Draw Pile.

The immediate goal is to be the first one to have no cards, at which time the opposing player's cards will be totaled and added to their score according to the following rules:

Numbered cards 0-9 = face value
Reverse, Skip, +2 = 20pts
Wild, Wild +4 = 50pts
The first player to reach 100 loses the game.

Fixes

#1916

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Vedansh-777 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@kunjgit I have modified the changes please verify.

Thank you  @Vedansh-777 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


[configure] Refactor to be compatible with Python 2 or 3

Other projects have asked that their Python enabled scripts were refactored to be compatible with Python 2 or 3. This patch continues that vein in the corelibs-foundation project.

looks good to me, seems to build and configure just fine with these changes


Add support for  and

Currently there is no support for forms or inputs, add those

When a form is encountered, a reference to it should be set in the parser state, and when an input is encountered, we should tag those as being part of that form. That should work well enough.


I'm getting UnboundLocalError: local variable 'text_encoder' referenced before assignment after completing model training

While training dreambooth model on colab I'm getting below error.
Steps: 100% 1500/1500 [23:03<00:00,  1.09it/s, loss=0.297, lr=5e-6]Traceback (most recent call last):
  File "train_dreambooth.py", line 677, in <module>
    main()
  File "train_dreambooth.py", line 665, in main
    text_encoder=accelerator.unwrap_model(text_encoder),
UnboundLocalError: local variable 'text_encoder' referenced before assignment
Steps: 100% 1500/1500 [23:03<00:00,  1.08it/s, loss=0.297, lr=5e-6]
Traceback (most recent call last):
  File "/usr/local/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/dist-packages/accelerate/commands/accelerate_cli.py", line 43, in main
    args.func(args)
  File "/usr/local/lib/python3.7/dist-packages/accelerate/commands/launch.py", line 837, in launch_command
    simple_launcher(args)
  File "/usr/local/lib/python3.7/dist-packages/accelerate/commands/launch.py", line 354, in simple_launcher
    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', 'train_dreambooth.py', '--pretrained_model_name_or_p

why am I getting this ?

make sure you use the latest colab notebook