CAD-508:  rename the serialised blockfetch trace to BlockFetchProtocolSerialised

rename the serialised blockfetch trace from BlockFetchProtocol to BlockFetchProtocolSerialised -- so one who wants semantic messages is not necessarily flooded by raw message dumps.

This PR does not result in breaking changes to upstream dependencies.

Checklist

[ ] This PR contains all the work required to resolve the linked issue.

[ ] The work contained has sufficient documentation to describe what it does and how to do it.

[ ] The work has sufficient tests and/or testing.

[ ] I have committed clear and descriptive commits. Be considerate as somebody else will have to read these.

[ ] I have added the appropriate labels to this PR.

bors r+


Error EOF when pulling image python:3.11

When trying to pull docker image for python 3.11 with command, I have an error
$ docker pull python:3.11
Error response from daemon: Head "https://registry-1.docker.io/v2/library/python/manifests/3.11": EOF

When doing it for python 3.10, it's working fine.


DOC: Improve reindex examples and docstring

Fixes https://github.com/pydata/pandas/issues/10995
Still WIP.

lmk when you are finsihed

how's this coming?

Working to finish this right now. ETA in 2 hours (depending on how fast the coffee kicks in...)

hi @jreback , just trying to flesh out some doc for the filing methods in reindex and running into this situation
Pandas version 0.17.0
# create original dataframe
index2 = pd.date_range('1/1/2010', periods=5, freq='D')
sample_df2 = pd.DataFrame({"prices":[100, 101, np.nan, np.nan, 89]}, index=index2)
print sample_df2

>>>
            prices
2010-01-01     100
2010-01-02     101
2010-01-03     NaN
2010-01-04     NaN
2010-01-05      89

#create new index, reindex and use backfill
index_new = pd.date_range('12/29/2009', periods=8, freq='D')
sample_df2.reindex(index_new, method='bfill')

>>>
            prices
2009-12-29     100
2009-12-30     100
2009-12-31     100
2010-01-01     100
2010-01-02     101
2010-01-03     NaN
2010-01-04     NaN
2010-01-05      89

Question: Why isn't '89' being propagated backwards to fill the NaN in 2010-01-03 and 2010-01-04?

In [5]: sample_df2.reindex(index_new, method='bfill')
Out[5]:
            prices
2009-12-29     100
2009-12-30     100
2009-12-31     100
2010-01-01     100
2010-01-02     101
2010-01-03     NaN
2010-01-04     NaN
2010-01-05      89

In [6]: sample_df2.reindex(index_new).bfill()
Out[6]:
            prices
2009-12-29     100
2009-12-30     100
2009-12-31     100
2010-01-01     100
2010-01-02     101
2010-01-03      89
2010-01-04      89
2010-01-05      89

see the issue here: https://github.com/pydata/pandas/issues/5669
I still don't buy that these should be different. Filling WHILE reindexing is IMHO just confusing. These should be separate operations.

Filling while reindexing does not look at the data values when deciding which should be propagated. That's a nice property, for a few reasons:

it preserves NaNs in the original dataset
If means you unambiguously preserve records when you reindex a dataframe -- what would you do otherwise if a row had a missing value in one column but not another?
it means you can do the operation more efficiently, in a single take from the original array

@shoyer well, I disagree. Reindexing is completely different that setting the index, which is the point the other issue trying to make. Yes under certainly limited circumstances this makes sense, though I completely discount point (3) (it doesn't matter mucho IMHO).
Much more important is obvious semantics. This differs from df.reindex(....).ffill() and causes some confusion.

It certainly is a source of confusion, but it is following a sensible rule: the values reindexing looks at are only in the index. It's certainly worth clarifying when feasible in the docs.
I agree that efficiency does not matter here for pandas when the data is already all in memory, but it does make a difference for downstream libraries that copy the pandas API for out-of-core data. Namely, it's useful in xray when we define operations on dask arrays and also for dask.dataframe -- we never need to look at the array values to determine what the reindexing result looks like.

@shoyer exactly my point. Reindexing is hard enough for users. The rule is sensible, but not to the average user. This should NOT be advertised as how to fill thing at all. Rather .fillna and cousins.

Thanks @jreback and @shoyer for the clarification.
I'll do my best to clarify/make note of it in the examples.

since this is long (yeh!) do we need to paginate somehow? @jorisvandenbossche @shoyer

@Winterflower can you update according to comments

@jreback apologies for the delay!
added the fixes.

thanks @Winterflower


Provide context for runFunc which is cancelled during timeouts

Currently, when running hystrix.Do or hystrix.Go, there is no built in context cancellation during a timeout. For example, when making a dynamo query:
err := hystrix.Do(HystrixCommand, func() error {
    results, err := this.ddb.QueryWithContext(ctx, query)
    return err
}, nil)

If hystrix times out here, the dynamo query will not be cancelled (since the context is not cancelled) and may stay open forever. I had a case recently, where I reached my dynamo read capacity and this query stayed open for > 80 seconds.
It is possible to add my own context cancellation:
ctx, cancel := context.WithCancel(ctx)
err := hystrix.Do(HystrixCommand, func() error {
    results, err := this.ddb.QueryWithContext(ctx, query)
    return err
}, func(err error) error {
    cancel()
    return nil
})

But I think it should be built into the library:
err := hystrix.Do(ctx, HystrixCommand, func(ctx context.Context) error {
    results, err := this.ddb.QueryWithContext(ctx, query)
    return err
}, nil)

Where the passed in context to hystrix.Do is wrapped with context.WithCancel(ctx), passed into the runFunc, and then the cancel func is called when there is an error/timeout.

this feature is introduced in https://github.com/afex/hystrix-go/pull/79
please try out that branch and let me know if it fits your needs

Just took a look at https://github.com/afex/hystrix-go/pull/79 (which I see has been merged). Doesn't appear that the context is canceled when the circuit times out 🤔


Add support for capturing both streams

Fixes https://github.com/AtomLinter/atom-linter/issues/33

Travis is green, everything is awesome


tag suffix cannot contain flow indicator chracters at line x

Trying to include a valid MD image and JS-YAML absolutely wont have it.
![image alt](path/to/image.jpg)

Hey @joelstransky,
Mind posting the markdown you're trying to use with cleaver? Thanks!

![](http://i2.wp.com/wptavern.com/wp-content/uploads/2015/02/sage.jpg)

My apologies I meant the entire document :) I'm able to use images just fine in my test file.

It appears my issue was a result of not including the options block followed by a --
was getting the error
!! JS-YAML: tag suffix cannot contain flow indicator characters at line 2, column 71:      ... ontent/uploads/2015/02/sage.jpg)                                          ^

@joelstransky Yep! I'd like to eventually remove -- all together: it seems pretty straightforward to separate options from the content, but splitting slides might be tricky! (maybe # Title?)
All good now?

Yep, working fine. Sorry about the false issue.

No worries! Be sure to let me know if you run into anything else. Have fun poking around :)

Hello i am trying to map img src from markdown but my image is not displaying
`date: "2022-04-17"
![src]: `(https://res.cloudinary.com/ddwkojhaj/image/upload/f_auto,q_auto/v1678367301/pexels-cottonbro-studio-5990270_ewl94m.jpg);


How to display buttons?

Hello.
It is probably incorrect to create a question in "issues", but from your documentation it is completely unclear how to display the buttons. Is this even possible or should each developer add them themselves and tie them to the functionality? I don’t see the buttons from a typical wysiwyg editor: bold, italic, underline and all the others.
Maybe I'm doing something wrong?

I had the same question, I made my own components, you can look and play with:
RichTextStyleButton
RichTextBottomToolBar
RichTextHeaderToolBar
it looks like this:

Also, this question has already been asked, it became a prototype for my implementation:
Issue

Hi,
You need to create the buttons by yourself. You can use the sample a reference here
I take the decision to provide the necessary public APIs so you can create your own custom control buttons, which is better than providing a component for that.

@MohamedRejeb @Efimj Thank you very much!
Btw, why not create a default toolbar?

I'm planning to add a default toolbar, but it's not a priority for now.

Got it. Thanks again!


⚠ Turnos 24x7 has degraded performance

In 0ab2033, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 954 ms

Resolved: Turnos 24x7 performance has improved in 53bf2b1.


Support autocompletion of HTML tags and attributes

The tool already has information about the XML schema, so this could be used for autocompletion purposes for both HTML tags and attributes.

It would be great to have autocomplete! Although think that scintilla is actually awful choice to develop autocomplete, it's kind of a nightmare 😄
I would dump this dinosaur for good and opt for something more modern, like monaco-editor in embedded browser (thinking WebView2) that has autocomplete built-in.

Yeah, scintilla is a good replacement of the original custom UI editor but still miles behind of the level of language support you'd get in VSCode (which is also one of my favourite code editors). I'd also like to find an alternative that is at least multi-platform so that I can experiment with having a Linux / Mac version of the tool.
The problem is, switching to the Monaco editor will most likely mean rewriting everything from scratch in JavaScript / TypeScript. I'm not particularly keen on that, mostly due to the amount of work it would mean. It would probably deserve a completely separate repo too, perhaps coexisting with this one.
Perhaps something with a bit more potential would be creating an extension for VSCode itself. There might be some challenges but, if done well, you could get full XML support almost out of the box (or perhaps with additional extensions). It's definitely something I want to try at some point.

Yes, sounds interesting actually, maybe as VS code extension that would be more reasonable. There is a new XML schema-based completion extension appeared finally recently not sure if it works though: https://github.com/rogalmic/vscode-xml-complete
I did not mean to rewrite in typescript/javascript, just to embed the webbrowser (with editor inside) as a replacement for the scintilla or rich text control. Regarding embedding, WebView2 (windows), also CEF (chromium embedded framework, but this one is heavy). Also the new one emerged recently SciterJS (https://github.com/c-smile/sciter-js-sdk)

I've spent a bit of time thinking about the different options, and I think I'll try embedding the Monaco editor first.
Doing the C# / JS interop would be difficult if I had to do all that by myself from scratch, but I am hoping I can use this project for that: https://github.com/unoplatform/uno.monaco-editor-uwp
I could either replicate something similar in WPF, or just embed that UWP control as it is, which in theory it should be possible. I'll try the latter first.


auth: add general purpose timed tokens

This is just for the basic timed token object. Will add KBFS usage in a separate PR. As it turns out libkbfs only has access to the current public DH key KID and not the Ed25519 key KID. I hacked it enough to make sure this code works end-to-end but that part still needs cleanup.

Thanks Andy! I'll take a look first thing tomorrow.

I made an API change to help you, I think...

@maxtaco Yup, that API will definitely help. All feedback made sense. Ready for another look whenever. Will review your change now.

Closing this as I'll introduce all of the changes together w/https://github.com/keybase/client/pull/1353


Remove lodash

Requires #548 and #552.
Fixes #399.
Not sure if we export the validateTypes functions somewhere else or if they are even part of Stylelint's public API.

can we merge that? lodash is a vulnerabilities hell

@kristerkari LGTY? Do you have any suggestions? Would be nice to land this in minor/patch release.

@kristerkari can you cut a minor release please with the fixes so far please ❤?
I don't have npm publish rights myself (BTW should enable 2FA or automation token in npm package settings)

@XhmikosR sure, but could you prepare some kind of changelog for a minor release? I can also give you the publish rights if you tell me your npm username (or is it the same one as your github handle?).

My npm handle is the same as here xhmikosr, thanks!
As for the release notes, GitHub now offers auto-generation. Personally, I'd just deprecated CHANGELOG.md and point to the releases section for future releases.
## What's Changed

* build(deps-dev): bump stylelint from 15.2.0 to 15.3.0 by @dependabot in https://github.com/stylelint-scss/stylelint-scss/pull/782
* build(deps-dev): bump prettier from 2.8.4 to 2.8.5 by @dependabot in https://github.com/stylelint-scss/stylelint-scss/pull/783
* build(deps-dev): bump @babel/core from 7.21.0 to 7.21.3 by @dependabot in https://github.com/stylelint-scss/stylelint-scss/pull/784
* build(deps-dev): bump np from 7.6.3 to 7.6.4 by @dependabot in https://github.com/stylelint-scss/stylelint-scss/pull/785
* Update CI by @XhmikosR in https://github.com/stylelint-scss/stylelint-scss/pull/788
* Add .npmrc for older npm compatibility by @XhmikosR in https://github.com/stylelint-scss/stylelint-scss/pull/789
* Update minor/patch dependencies and regenerate package-lock.json by @XhmikosR in https://github.com/stylelint-scss/stylelint-scss/pull/790
* Minor docs fixes by @XhmikosR in https://github.com/stylelint-scss/stylelint-scss/pull/791
* docs: fix broken links by @XhmikosR in https://github.com/stylelint-scss/stylelint-scss/pull/792
* Remove lodash by @XhmikosR in https://github.com/stylelint-scss/stylelint-scss/pull/554
* build(deps-dev): bump prettier from 2.8.6 to 2.8.7 by @dependabot in https://github.com/stylelint-scss/stylelint-scss/pull/793
* Move things outside of package.json by @XhmikosR in https://github.com/stylelint-scss/stylelint-scss/pull/794

**Full Changelog**: https://github.com/stylelint-scss/stylelint-scss/compare/v4.5.0...v4.6.0

@XhmikosR I don't personally like the auto-generated changelogs. The reason is that IMO the changelogs should describe the changes from the library's user's perspective, not from the library's developer's perspective (e.g. the user probably does not care if we have updated the CI config).
The one that you just posted is a good example of it being really noisy and making it difficult to tell if something meaningful has changed in the library, or if the changes are just some small internal tweaks.

Yeah, but I prefer to be able to move fast than have such things to worry about...

Plus, you can tweak it as you want, it's just works as a basis.

@XhmikosR sorry, but I really don't share the same opinion in this case.
Saving a few minutes from making a changelog when creating a new release is not a priority for me. I have been maintaining this library for the last 7 years, and you can go to the release page and see what exactly has changed from the user's perspective in every release: https://github.com/stylelint-scss/stylelint-scss/releases
The new changelog that you posted is much better as it describes the meaningful changes and doc updates that affect the user. 👍

We can agree to disagree :)
I'm not saying you are wrong, I prefer you approach too. I just don't want to spend a lot of time on the CHANGELOG.md.
Regardless, IMHO it should be deprecated and just point to the GitHub Releases since it's one less thing to handle when cutting a release. But it's your call of course :)

@XhmikosR if you don't want to spend time on it, just let me know when you need it and I'll make a new release and update the changelog. I don't mind doing it manually if the end result is clean and readable.

Sounds good, thanks!
Let's cut a 4.6.0 release for now and then I have #795 and the rm-babel branch which I want to hear your feedback there before I proceed with redoing the changes.

I think that #795 should be fine, and removing Babel needs a major realse, right?

Woo-hoo!

re: babel: yeah.
As for #795 let's discuss that there :)


Question: plans for 1.0?

I'd like to use apollo-codegen to automate generating Flow types from our schema types. I'm currently using gql2flow which works well but has two problems:

Everything is nullable to allow for composing fields - so a lot of unnecessary null checks are needed; it seems apollo-codegen fixes this by requiring .graphql files per component which generate per-query types.
The file output from the library is non-deterministic; the diff is different almost every time it is run which needlessly complicates code reviews.

However, looking over apollo-codegen, it seems it introduces more problems around custom scalars , nested object fields, and a bunch of other open issues. So, it seems this library is experiencing a decent amount of churn.
Bottom line: are there plans for a 1.0 release where this library will be a bit more stable for use with production apps? Thank you!

Yep, we're very interested in getting to a 1.0 release soon. There have been some pretty major changes to the compiler that should help fix some of these issues, but we still need to update the TypeScript/Flow targets to take advantage of that. If you're interested in helping out, you may want to join the #apollo-codegen channel on the Apollo Slack.


Fix broken hash links in entities-syntax.md

The hash references need to have datatype- before the datatype to correctly link to the right section.

Thanks for catching that!


Chat Log Team Colors

Add support for coloring names based on the team of the player.

Added to project Enhancements


EasyMapping processing on background thread

I am using EasyMapping to process a relatively large JSON and it seems to be slowing down the main thread slightly. An activity indicator animation we use visibly slows down, and I'm 90% sure it is because of processing the JSON on the main thread.
I tried to use dispatch_async to run easymapping on a background thread with a child MOC, but I then get a multithread violation. It seems to happen in EKCoreDataImporter:fetchExistingObjectsForMapping:
NSArray * existingObjects = [self.context executeFetchRequest:fetchRequest error:NULL];

Has any work been done to run EasyMapping on a background thread? Or should EasyMapping be fast enough on the main thread?

First of all, EasyMapping should be fast enough to operate on a main thread. But moving parsing to background can be done easily.
Remember, that managed object contexts are not thread-safe, so you need to create an instance of NSManagedObjectContext per thread. I found that lazily creating them and storing them on NSThread thread dictionary is an ok solution. EasyMapping will always use provided context, expecially in CoreDataImporter.
Another thing to keep in mind is that you need to merge all changes to your main thread's context. Good way to do that is to subscribe to NSManagedObjectContextObjectsDidChangeNotification.
There are also some great articles on building your CoreData stack with parent and child context, here are some links
http://floriankugler.com/2013/04/02/the-concurrent-core-data-stack/
https://blog.codecentric.de/en/2014/11/concurrency-coredata/
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CoreData/Articles/cdConcurrency.html
Hope that helps!

@mitrenegade don't you have big memory usage while you creating NSManagedObjects?


Manually trigger the interface

Hi there,
Is there anyway I can manually trigger the video to show?
I've tried using Jquery to trigger the click events on the elements but it doesn't seem to work. It does work when I actually click on it though
Thanks a lot

I found out why it wasn't working. The event it was listening to was 'mouseup'. changed it to 'click' and it's all good for me now

Awesome, glad you got it worked out. Another method would be to identify the instance (stored in an array under the vlData global) and call the play() and stop() methods.
As an example:
vlData.instances.filter((inst) => !!inst.el.matches('.video-link3'))[0].play()
Note, this particular example would not be highly browser compatible but you could certainly do it in a more compatible way.

Hi, The change works like a charm, i can start video automatically entering the page.
There is a problem, when the video is started automatically the autoclose parameter is ignored and the video is not closed at the end.
By the way, If i click on the link to start the video on the page, the autoclose parameter work as expected.
Any idea on how to solve this problem?
Thanks.
Alessandro.


OpenWEMI and LRMoo

From J Busse:
"Wouldn’t it be nice to align OpenWEMI with CIDOC LRMoo, at least in principle? In any case, one should avoid introducing axioms that are not compatible with CIDOC. Some (including me) consider CIDOC and LRMoo to be “rather fat”: If OpenWEMI is intended to provide a lightweight alternative, then OpenWEMI could be created as a minimal lightweight version of the respective CIDOC classes?"

Issue #88 has some discussion of this. #102 also mentions LRMoo.
If you look at the LRMoo diagram (below) the LRMoo classes F1, F2, F3, and F5 could be subclassed to OpenWEMI classes without violating the definitions of the latter. LRMoo classes can be defined with added constraints such as making the classes disjoint. LRMoo properties could be sub-properties of the OpenWEMI ones, with additional constraints, or LRMoo could define its own. The flexibility of RDF means that it should be easy to reuse vocabulary elements that do not have contraindicating constraints.


XsdReader::Import.local_xml is not used

I have a few local / tags in my XSD, but xsd-reader tries to download the resulting URI instead of reading the local path from disk. This seems to be because XsdReader::Import.local_xml  is not used.

An import was using a relative path to a subdirectory, however the function XsdReader::Import::download_path constructs the path using the base filename instead of using the schema_location as relative path, and was therefore not finding the import file.
I had to change it to this:
def download_path
      # we need the parent XSD's path
      return nil if options[:xsd_file].nil?
      parent_path = File.dirname(options[:xsd_file])
      File.join(parent_path, schema_location)
    end


"Add a comment" fix

Show correct screen when tapping "Add comment" from response list. Fixes https://openedx.atlassian.net/browse/MA-1174

@1zaman Also if you wouldn't mind taking a peek at this please? :)

:+1:

Please delete your feature branches after merging; otherwise we'll be saturated with them :smiley:

Please delete your feature branches after merging; otherwise we'll be saturated with them

Sorry, I'll try to remember.


PV Module vs System Degradation

There are a number of papers starting to address the fact that PV systems are subject to not only module degradation, but also degradation at the level of the entire system. The degradation input in SAM was originally intended to represent module degradation, but when it is applied on the AC side as it is when it is not run in lifetime mode, it more realistically is representing system degradation. Some papers have indicated that system degradation (which includes module degradation), is higher than the default values we've been using. Sort of a thorny issue, but one that we may want to investigate.
One reference here: System-level performance and degradation of 21 GW-DC of utility-scale PV plants in the United States

@janinefreeman I am familiar with the reference you provided, as well as a number of other discussions on system level degradation. Generally, I have not seen from the literature much documentation of physical efficiency degradation mechanisms other than the traditional and well documented module degradation. I have been seeking further clarity on this topic, however I believe "System Degradation" over and above module degradation is primarily an issue of availability (e.g. increased frequency of faults, blown fuses, damaged cables, etc.). It would be helpful to keep DC module degradation separate from other blanket degradation mechanisms that might better be reflected in availability assumptions.


Is it possible to select date range by dragging last date selected  on calendar?

Hi ,
I have used this calendar for date range selection but now it is working like if I tap on date it gets selected then on another date then first to last date it shows selection ....but now I want it like if I select one date then another then from that 2nd selected date user drag on calendar then that all date should show selected ...
Please help me with this.
Thank you

Have you checked out how to add gestures in this tutorial?
-> https://patchthecode.github.io/AddingGestures/
look at fluid range selection

I have now added a tutorial in the https://patchthecode.github.io/RangeSelection/ web link on how to accomplish this


Add checks to ensure author, license, etc., are not None

This PR related to #320

Hi @haesleinhuepf, would you mind checking these new updates and then we can merge them.
Thank you !

Should I merge it ?

I'll merge it, as mentioned above. Thanks for your patience!

I'll merge it, as mentioned above. Thanks for your patience!

Is there any reason it is not merged yet? Or is there just a lot of other stuff to do first?

Next time I will break the questions down more specifically and then submit PR, and sorry for the confusion


Demo site - index are missing

From<EMAIL_ADDRESS>on March 18, 2010 13:51:40
There are now indexes in the "default" XML schema. There should be, because
foreign key constraints are defined...
See attached file.
Attachment: xml-with-indexes.txt
Original issue: http://code.google.com/p/wwwsqldesigner/issues/detail?id=86

From ondrej.zara on March 18, 2010 05:56:11
WWW SQL Designer does not enforce automatic index creation for FK fields, it is up to
DB designer to add then (which is a good practice).
If you feel that the default design needs to have them, feel free to edit it and save
as "default" :)

From<EMAIL_ADDRESS>on March 18, 2010 06:02:30
I tried before opening this issue, but there is this message :
> "Server response: Internal Server Error"
:)
I know WWW SQL Designer is not supposed to correct the schema, I just wanted some
italic keys to be displayed on the demo site :)
I'm packaging the "print as pdf" option, and I needed a good example.

From ondrej.zara on March 18, 2010 08:10:35
Ah, my bad, please try now.

From<EMAIL_ADDRESS>on March 18, 2010 09:15:08
Server response: Saved
nice, thanks :)

From ondrej.zara on March 18, 2010 23:52:48
Fixed by geompse .)
Status: Fixed


Make raid protection work as intended

TBOTC is intended to mute non-members if they send 5 messages in 10 seconds, or if they send 10 messages in 30 seconds. However, a bug caused it to instead mute non-members if they send 5 messages in 30 seconds. This commit fixes this bug, making raid protection work as intended.

raid pro has sort of been in limbo for a long time now since it was intended for non-members (member being y'know an autorole) but sure


nit: documentation fix

Signed-off-by: Priyanshu Raj<EMAIL_ADDRESS>py-mtcli
Description
Short description of the change:
documentation change related to #196

/lgtm


Update to PHPUnit 4.x

Currently we use PHPUnit 3.7.38 which is EOL.
We should update to PHPUnit 4.x, possibly to the latest version.

I'm not going to implement or action this, anymore, as this package has become obsolete due to the introduction of the Swiss QR code payment slip and the discontinuation of the old ESR.
One can use https://github.com/sprain/php-swiss-qr-bill for the new Swiss QR  bill.


Floyd Warshall Algorithm

This is a(n):

[x] New algorithm
[ ] Update to an existing algorithm
[ ] Error

Details:

Implement and add the Floyd Warshall algorithm.
Also, Create a README.md describing the algorithm.

please assign this issue to me

@Kritika0804 Sure Go ahead

Assign me this task

@nalin-programmer  The issues are assigned on a first come first serve basis
If you want to contribute you are free to create an issue and work on it.

hello @Princeton21 can i add any other algorithm like insertion sort etc.

hello @Princeton21 can i add any other algorithm like insertion sort etc.

Sure


Fix a CoreData multithreading issue in LoggerStore.info()

LoggerStore.info() uses NSPersistentContainer.performBackgroundTask to construct the info. The background task constructs has its now NSManagedObjectContext that must be used throughout the task.
However getBlobsSize() was using a different backgroundContext to fetch the sum of the blob size. This mismatch of contexts causes a CoreData multithreading assertion to be triggered.
This PR addresses this issue by supplying the correct NSManagedObjectContext to use within getBlobsSize()

Great catch, thank you!


"Nontype" object is not subscriptable

can u help me fix that

#93 Please double check token value.


Register MOHC models for LS3MIP and LUMIP

Could you please add LS3MIP to the activity_participation list for HadGEM3-GC31-LL and UKESM1-0-LL, and LUMIP to HadGEM3-GC31-LL.
python code to modify CMIP6_source_id.json;
source_id = json.load(open('CMIP6_source_id.json'))

source_id['source_id']['UKESM1-0-LL']['activity_participation'].append('LS3MIP')
source_id['source_id']['HadGEM3-GC31-LL']['activity_participation'] += ['LS3MIP', 'LUMIP']

# sort elements
source_id['source_id']['UKESM1-0-LL']['activity_participation'].sort()
source_id['source_id']['HadGEM3-GC31-LL']['activity_participation'].sort()

TIA,
Matt

@matthew-mizielinski thanks for the tweak, changes are implemented so please cross-check CMIP6_source_id.html to make sure everything else is in order

Perfect, thanks Paul!


Azure pipeline failing

Getting this error while deploying my Azure Static web app: 'The process '/usr/bin/bash' failed with exit code 1'
It's working after multiple runs, but again failed for 3-4 times

Hi @Gaurav-Srv, could you please provide more details about your site like default hostname or deployment ID?


@conda-forge-admin, please add user @pjknowles

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @pjknowles in conda-forge/pysjef-feedstock#8.


report for changes in a user's weight

[ ] 7. 4 User shall display changes in his or her weight in daily, weekly and monthly basis

This report should be in a form of line chart.

the backend side will be exposing a RESTful API as follows:
GET /api/reports/weights/?start_date=<START_DATE>&end_date=<END_DATE> HTTP 1.0
Host: restfulapi.com

START_DATE is the beginning of the date range and END_DATE is the end of the date range. Their format should be as "YYYY-MM-DD HH:mm:ss", e.g. 2016-12-07T11:27:28Z


HV-1701 Add Max/MinValidatorForInteger

https://hibernate.atlassian.net/browse/HV-1701

Add specific validators for min/max constraints and byte/short/integer types as the existing common number one makes additional actions that can be omitted in this case.

Make checks in Number validator for DecimalMin/DecimalMax to check for double/float to capture infinity situation correctly. Also direct a check of Big* types to corresponding methods

Add specific validators for DecimalMin/DecimalMax constraints and byte/short/integer types as the existing common number one makes additional actions that can be omitted in this case.

So it got me thinking about the DecimalMin/max as there's the same situation with Number validator. Hence I've made similar changes for that validator hierarchy as well.

I merged it, thanks!


Sine Mora EX (606730) - Too fast above 60 fps

Software information
Game: Sine Mora EX (606730)
The game runs too fast when above 60 fps. Seems like the fps affects the game engine speed.
On my PC, by default the game runs uncapped above 60 fps.
DXVK_FRAME_RATE=60 fix this issue.
System information

GPU: AMD Radeon RX 5700XT
Driver: Mesa 21.1.6
Wine version: Proton 6.3-6
DXVK version: 1.9.1

Please post logs so that we can actually add an app profile for this.

Proton Log: steam-606730.log


Minor amendment

+ update gitignore

The phase you corrected has to be clarified, but as a decorator is not tied to a class but to a bean (type and qulifier) your correction is also wrong. Please fill a ticket in JIRA to discuss the right wording with EG.


HA Restart produces SyntaxWarning

Every time i Restart HA i see this error in the logs:
This error originated from a custom integration.

Logger: py.warnings
Source: custom_components/icloud3/helpers/entity_io.py:259
integration: iCloud3 v3: iDevice Tracker (documentation, issues)
First occurred: 1:50:51 PM (2 occurrences)
Last logged: 1:50:51 PM

<string>:1: SyntaxWarning: invalid escape sequence '\s'

Things seem to be working though, so not sure how impactful this it.

This is probably fixed in v3.1.4. Create a new issue if you encounter this problem again.


ARROW-676: move from MinorType to FieldType in ValueVectors to carry all the relevant type bits

I'm adding all the Type information to the vector with FieldType.
This avoids losing information and carrying around extra type metadata that can not go in the MinorType enum (for example: decimals' precision and dictionary encoding)

@julienledem per discussion in #452 I think if we rebase and merge this, it will help with adding new data types. @elahrvivaz do you have any comments on the implementation?

rebased

OK, let's merge this after the build runs, in case it causes any conflict with #475?

+1


We need a demo scene or something

There's no way to know how to implement this.
I know documentation can take a while but a sample scene we can learn from would be a great help.
Would love to use and contribute to this but don't even know where to start.

I agree, a demo scene is needed to help people see how it's set up, and save them from having to buy the expensive asset store version


No Syntax Highlighting, Help Me

nvim --version: 0.6.0
terminal emulator and version:
Operating system/version: Windows 10

Describe the bug
No Syntax Highlighting
Screenshots

Have you even read the readme before asking?

help me

only nvim 0.7 is supported. Please read the doc before opening an issue.


Send push tokens in first start of wrapper

What
Where/Who

People Involved
@hborisoff

Push tokens will be sent in same session only on first wrapper initialisation.

—
Reply to this email directly, view it on GitHub
https://github.com/Leanplum/Leanplum-Android-SDK/pull/520#pullrequestreview-1141056236,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2TTPEXV2HBQSSFBF3MFDL3WDAUOLANCNFSM6AAAAAAREMZ4QE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add a done command

This command is used by reviewers to inform the bot that they are done with the review. once the done command is issued by both the reviewers, the bot will automatically follow through the steps to close the application

Linked Commits

11e8214027ad81be2e8b6b189a3a1626f710731a
1dd39ad6660211b73de010388025dff29de8fa01


Add the ignoresTimeZone attribute in DateField

Here is the PR for adding the ignoresTimeZone attribute in the DateField class, to deal with this iOS7 enhancement.

Thanks!

I'll get a new release out tomorrow.

Hi Ryan
Thanks for accepting the PR.
I'll check this new release , and use it in our backend generating the
Passbook to resolve the bug.
Regards
Xavier
PS : sorry for the delay but I'm in France
2016-02-15 6:01 GMT+01:00 Ryan Tenney<EMAIL_ADDRESS>
I'll get a new release out tomorrow.
—
Reply to this email directly or view it on GitHub
https://github.com/ryantenney/passkit4j/pull/35#issuecomment-184066652.


[BUG] Tagging people doesn't work very well.

Describe the bug
Maybe the following list is cached, I'm not sure. Just open the app after a while, try posting something by tagging someone using @ and start typing their name. Results don't pop up.
To fix the issue, go to your profile, open the list of people you're following and scroll through it so that it loads up. Go back and try posting again and tagging works.
Expected behavior
Tagging should just work by attempting to pull people from the list you follow.
Video and Screenshots
https://github.com/vitorpamplona/amethyst/assets/84944042/221fc19d-93e6-4394-bfb6-03a6b354a55d
Device (please complete the following information):
Pixel 7 Pro, GrapheneOS.

Yep, I need to enable online fetching for usernames the app has not downloaded yet.

Can your following list be cached or stored on device or something because those are the people you probably will tag the most?


[Bug]Exiting nvim to reopen one of the bookmarks results in an error

https://github.com/crusj/bookmarks.nvim/assets/30348075/354945e7-16c3-4b35-91c0-fb2efc1deab7
error message:
error.log
is seem that data.bufp will be nil when reopen neovim.

so I add a judgement,the error gone.

but it still has some problen, it will auto add a null split window and a empty buffer in neovim when reopen neovim:
https://github.com/crusj/bookmarks.nvim/assets/30348075/e7e6ac42-a592-46c9-9402-4c97af6539df
how to fixed it?

The second problem has nothing to do with reopening it, it just happens when the current window doesn't have a buffer, and it's fine if you open bookmark after another file is opened.
https://github.com/crusj/bookmarks.nvim/assets/30348075/1179664a-89d6-4ca9-adbb-f7aac6bef1ca

The second problem has nothing to do with reopening it, it just happens when the current window doesn't have a buffer, and it's fine if you open bookmark after another file is opened.
2023-12-31.19-45-55.mp4

You can use the  neotree. plug-in to open files and the same problem will occur.

The second problem has nothing to do with reopening it, it just happens when the current window doesn't have a buffer, and it's fine if you open bookmark after another file is opened.
2023-12-31.19-45-55.mp4

I revert commits and merge pr.

thanks


Post-Processing | --exec CMD | can't execute command

I want to be able to play a download finished sound for youtube-dl. AFAIK, the --exec CMD is used to only do further processing to the file being downloaded, but I want to do a command outside of that to play a sound file instead.
I chose to use an alias on the sound file through ~/.bashrc.
~/.bashrc
alias sample1='mpv "d:\sound\play.wav"'

USAGE
$ youtube-dl --exec 'sample1' https://www.youtube.com/watch?v=bkb1McW9w-c

ERROR
[exec] Executing command: sample1 'Magenta Welcomes Glen Fox-bkb1McW9w-c.f135.mp4'
'sample1' is not recognized as an internal or external command,
operable program or batch file.
ERROR: Command returned error code 1

Post the output you get with the --verbose option.
Note that on UNIX it uses /bin/sh(at least on OSX), I think it doesn't load .bashrc. You should try if find . -exec sample1 '{}' \; works (that's where the inspiration for the option came).

@jaimeMF
full output
user@local /cygdrive/d/download
$ youtube-dl --exec 'sample1' https://www.youtube.com/watch?v=bkb1McW9w-c --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--exec', u'sample1', u'https://www.youtube.com/watch?v=bkb1McW9w-c', u'--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out None, pref cp1252
[debug] youtube-dl version 2015.05.04
[debug] Python version 2.7.9 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71727-g46778ab, ffprobe N-71727-g46778ab
[debug] Proxy map: {}
[youtube] bkb1McW9w-c: Downloading webpage
[youtube] bkb1McW9w-c: Extracting video information
[youtube] bkb1McW9w-c: Downloading DASH manifest
[debug] Invoking downloader on 'https://r3---sn-pu5oqx-b0he.googlevideo.com/videoplayback?id=6e46f531c5bdc3e7&itag=135&source=youtube&requiressl=yes&pl=19&mm=31&mv=m&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=17251679&lmt=1428687150779621&dur=133.867&sver=3&signature=016E3358B9885E3C33C6F52C78DAAA01A3A6F16A.87DA9894467F6754BFD3DD2D9B52385CF2EE4737&mt=1430825744&key=dg_yt0&upn=2-Wfro-n0qA&fexp=900720,907263,924637,934954,936117,938028,9406007,9406631,9406848,9407016,9408142,9408228,9408704,9408788,9408940,9408978,9412526,943611,948124,952612,952636,952637,952642,957201,960626&ip=<IP_ADDRESS>&ipbits=0&expire=1430847433&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,mm,mv,ms,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Magenta Welcomes Glen Fox-bkb1McW9w-c.f135.mp4
[download] 100% of 16.45MiB in 00:07
[debug] Invoking downloader on 'https://r3---sn-pu5oqx-b0he.googlevideo.com/videoplayback?id=6e46f531c5bdc3e7&itag=141&source=youtube&requiressl=yes&pl=19&mm=31&mv=m&ms=au&ratebypass=yes&mime=audio/mp4&gir=yes&clen=4270734&lmt=1428687134293848&dur=133.932&sver=3&signature=079017140FD72D2774C1BF15724220D9D9D2819D.972807AE6ABE32C5CEB72CADBFC8D71AFBB3E1AC&mt=1430825744&key=dg_yt0&upn=2-Wfro-n0qA&fexp=900720,907263,924637,934954,936117,938028,9406007,9406631,9406848,9407016,9408142,9408228,9408704,9408788,9408940,9408978,9412526,943611,948124,952612,952636,952637,952642,957201,960626&ip=<IP_ADDRESS>&ipbits=0&expire=1430847433&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,mm,mv,ms,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Magenta Welcomes Glen Fox-bkb1McW9w-c.f141.m4a
[download] 100% of 4.07MiB in 00:02
[ffmpeg] Merging formats into "Magenta Welcomes Glen Fox-bkb1McW9w-c.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'Magenta Welcomes Glen Fox-bkb1McW9w-c.f135.mp4' -i 'Magenta Welcomes Glen Fox-bkb1McW9w-c.f141.m4a' -c copy -map 0:v:0 -map 1:a:0 'Magenta Welcomes Glen Fox-bkb1McW9w-c.temp.mp4'
Deleting original file Magenta Welcomes Glen Fox-bkb1McW9w-c.f135.mp4 (pass -k to keep)
Deleting original file Magenta Welcomes Glen Fox-bkb1McW9w-c.f141.m4a (pass -k to keep)
[exec] Executing command: sample1 'Magenta Welcomes Glen Fox-bkb1McW9w-c.mp4'
'sample1' is not recognized as an internal or external command,
operable program or batch file.
ERROR: Command returned error code 1
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 1527, in post_process
    files_to_delete, info = pp.run(info)
  File "C:\Python27\lib\site-packages\youtube_dl\postprocessor\execafterdownload.py", line 26, in run
    'Command returned error code %d' % retCode)
PostProcessingError

First of all, you are using Windows. It doesn't seem like it uses sh as the shell (from the message is not recognized as an internal or external command, operable program or batch file, I guess it's using the same interpreter as the windows prompt.
On UNIX, if sh is actually bash, it doesn't load any configuration file. From the man page:
If  bash  is invoked with the name sh, it tries to mimic the startup behavior
of historical versions of sh as closely as possible, while conforming to  the
POSIX  standard  as  well.   When invoked as an interactive login shell, or a
non-interactive shell with the --login option, it first attempts to read  and
execute  commands  from  /etc/profile  and  ~/.profile,  in  that order.  The
--noprofile option may be used to inhibit this behavior.  When invoked as  an
interactive  shell with the name sh, bash looks for the variable ENV, expands
its value if it is defined, and uses the expanded value as the name of a file
to  read  and  execute.  Since a shell invoked as sh does not attempt to read
and execute commands from any other startup files, the --rcfile option has no
effect.  A non-interactive shell invoked with the name sh does not attempt to
read any other startup files.  When invoked as sh,  bash  enters  posix  mode
after the startup files are read.

You have to manually source the configuration file: --exec 'source ~/.bashrc; foo {}'.


influxdb: Add documentation for the 2.x line.

(I think we eventually want to PR directly against docker-library/docs, but opening this for internal review)
This is my first pass at describing the behavior of the new image, as implemented in
influxdata/influxdata-docker#445.

I've removed the auto-generated README to reduce noise / duplication of changes

I've removed the auto-generated README to reduce noise / duplication of changes

Closing this so I can reopen against the upstream DockerHub repo.


Revert the changes applied to AsymmetricSecurityKey

In IdentityModel 5, HasPrivateKey and HasPublicKey are now properties (instead of methods).
Though it's not currently an issue as RsaSecurityKey and ECDsaSecurityKey only accepts key materials (see https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/325), fixing these classes to directly accept RSA and ECDsa will likely require implementing more elaborated HasPrivateKey and HasPublicKey implementations to determine whether a private key is available or not, which may have an important CPU/IO cost (when a HSM is used, for instance).
Using methods here would be much more appropriate.
/cc @brentschmaltz

@PinpointTownes In a recent PR, I added ctors that take RSA or ECDsa instances when creating the SecurityKey. Though in those cases, because of the cost involved in fake signing to determine whether the key is private or public only (especially for hardware keys), we set the HasPrivateKey property to true and let it fail later at the time of signing.

@PinpointTownes @brentschmaltz
I was debating on whether HasPrivateKey should be a property or a method. Based on the guidelines here (https://msdn.microsoft.com/library/ms229054(v=vs.100).aspx), I think a property sounds more appropriate because of the following:

The value of the property does not change between calls unless the instance holding the property changes.
Though you can argue it could be computationally expensive in case of hardware keys because of fake signing, the effect is not profound since it is only done once per instance and for later calls the stored result is returned, which indicates more of a property behavior.
The getter does not generate any potential side effect, it only sets the value of the private variable  _hasPrivateKey.

Also, I am considering removing HasPublicKey method from AsymmetricSecurityKey since that does not add much value for an asymmetric key which are supposed to almost always have the public key. Also, in current implementation, the API always tends to return true or determine the result based on HasPrivateKey attribute.

Though you can argue it could be computationally expensive in case of hardware keys because of fake signing, the effect is not profound since it is only done once per instance and for later calls the stored result is returned, which indicates more of a property behavior.

Well, the rule is clear: accessing a property is not supposed to be slow, even if it just impacts the first call.

The operation is orders of magnitude slower than a field set would be. If you are even considering providing an asynchronous version of an operation to avoid blocking the thread, it is very likely that the operation is too expensive to be a property. In particular, operations that access the network or the file system (other than once for initialization) should most likely be methods, not properties.

Another argument in favor of the method is that it would avoid a breaking change between desktop and CoreCLR if you merged the two targets.

Also, I am considering removing HasPublicKey method from AsymmetricSecurityKey since that does not add much value for an asymmetric key which are supposed to almost always have the public key. Also, in current implementation, the API always tends to return true or determine the result based on HasPrivateKey attribute.

Agreed, this property is useless (I still can't figure out why it was introduced :smile:)

@PinpointTownes It's not just about the performance of the property getter, the property value does not change between calls. It does not seem to be black and white decision between property and method, it can go either way. Property seems a better option to me in this case. BTW, the performance hit (in the first call) is only an issue when it is a hardware bound key, which is going to be subset of all use cases.
For the breaking change, we are not sure yet when these classes are going to be merged to dotnet, if at all. If System.IdentityModel is ported to clr, am not sure what the behavior of SecurityKey class is going to be like.


Keyboard shortcut

Adding some #74

Added

Command + s = Search Bar
Command + m = Music Tab
Command + , = Settings Tab
... more to follow


Added JWT string validation during deserialization

related to https://github.com/emarref/jwt/issues/10

@emarref Could you take a look MR plz? Thanks in advance!

Apologies for the late review. Comments added.


Mirrors timing out in docker

Describe the bug
When running the flexo docker, no mirrors are reachable and they time out. Increasing the time out duration does nothing.
Running on two different machines (Arch Linux x86_64, TrueNAS Scale cobia x86_64) gives the same result: Locally, the mirrors are reachable, but in the docker they time out.
Starting up an arch linux docker and installing flexo from the AUR results in timeouts as well.
Running curl inside of the docker works
docker run -it --rm -e RUST_LOG=trace --entrypoint /bin/bash nroi/flexo:latest
root@d56af00b032a:/# curl https://mirror.0xem.ma/arch/extra/os/x86_64/extra.db > /tmp/extra.db

Installation method
Docker
Distribution
linux/amd64
Version
digest e9f3ba02b33a
Log
Running docker run -it --rm -e RUST_LOG=trace nroi/flexo:latest
The following settings were fetched from the TOML file or environment variables: MirrorConfig {
        cache_directory: "/var/cache/flexo/pkg",
        mirrorlist_fallback_file: "/var/cache/flexo/state/mirrorlist",
        mirrorlist_latency_test_results_file: Some(
            "/var/cache/flexo/state/latency_test_results.json",
        ),
        refresh_latency_tests_after: None,
        port: 7878,
        listen_ip_address: Some(
            "<IP_ADDRESS>",
        ),
        mirror_selection_method: Auto,
        mirrors_predefined: [],
        custom_repo: None,
        low_speed_limit: Some(
            128000,
        ),
        low_speed_limit_formatted: None,
        low_speed_time_secs: Some(
            3,
        ),
        connect_timeout: None,
        max_speed_limit: None,
        num_versions_retain: Some(
            3,
        ),
        mirrors_auto: Some(
            MirrorsAutoConfig {
                mirrors_status_json_endpoint: "https://archlinux.org/mirrors/status/json/",
                mirrors_status_json_endpoint_fallbacks: [],
                mirrors_blacklist: [],
                https_required: true,
                ipv4: true,
                ipv6: false,
                max_score: 2.5,
                num_mirrors: 8,
                mirrors_random_or_sort: Sort,
                timeout: 350,
                allowed_countries: [],
            },
        ),
    }

...

[2024-01-20T18:02:35.753Z DEBUG flexo::mirror_fetch] Remote mirror https://mirror.osbeck.com/archlinux/core/os/x86_64/core.db appears to use CloudFlare, this mirror will be ignored.
[2024-01-20T18:02:35.753Z DEBUG flexo::mirror_flexo] Skip mirror https://mirror.osbeck.com/archlinux/: Latency test did not succeed: Error { description: "Failed writing received data to disk/application", code: 23, extra: Some("Failed writing header") }
[2024-01-20T18:02:36.103Z DEBUG flexo::mirror_flexo] Skip mirror https://mirror.sunred.org/archlinux/ due to timeout.
[2024-01-20T18:02:36.453Z DEBUG flexo::mirror_flexo] Skip mirror https://archlinux.thaller.ws/ due to timeout.
[2024-01-20T18:02:36.705Z DEBUG flexo::mirror_flexo] Skip mirror https://mirror.moson.org/arch/: Latency test did not succeed: Error { description: "Couldn't connect to server", code: 7, extra: Some("Failed to connect to mirror.moson.org port 443: Connection timed out") }
[2024-01-20T18:02:37.055Z DEBUG flexo::mirror_flexo] Skip mirror https://mirror.cyberbits.eu/archlinux/ due to timeout.
[2024-01-20T18:02:37.338Z DEBUG flexo::mirror_flexo] Skip mirror https://mirror.f4st.host/archlinux/: Latency test did not succeed: Error { description: "Couldn't connect to server", code: 7, extra: Some("Failed to connect to mirror.f4st.host port 443: Connection timed out") }
[2024-01-20T18:02:37.598Z DEBUG flexo::mirror_flexo] Skip mirror https://archlinux.mailtunnel.eu/: Latency test did not succeed: Error { description: "Couldn't connect to server", code: 7, extra: Some("Failed to connect to archlinux.mailtunnel.eu port 443: Connection timed out") }
[2024-01-20T18:02:37.949Z DEBUG flexo::mirror_flexo] Skip mirror https://mirror2.sl-chat.ru/archlinux/ due to timeout.
[2024-01-20T18:02:38.299Z DEBUG flexo::mirror_flexo] Skip mirror https://arch.jensgutermuth.de/ due to timeout.
[2024-01-20T18:02:38.936Z DEBUG flexo::mirror_flexo] Skip mirror https://mirror3.sl-chat.ru/archlinux/ due to timeout.
[2024-01-20T18:02:39.285Z DEBUG flexo::mirror_flexo] Skip mirror https://geo.mirror.pkgbuild.com/ due to timeout.
[2024-01-20T18:02:39.636Z DEBUG flexo::mirror_flexo] Skip mirror https://mirror1.sl-chat.ru/archlinux/ due to timeout.
[2024-01-20T18:02:39.869Z DEBUG flexo::mirror_flexo] Skip mirror https://md.mirrors.hacktegic.com/archlinux/: Latency test did not succeed: Error { description: "Couldn't connect to server", code: 7, extra: Some("Failed to connect to md.mirrors.hacktegic.com port 443: Connection timed out") }
[2024-01-20T18:02:40.178Z DEBUG flexo::mirror_flexo] Skip mirror https://de.arch.mirror.kescher.at/: Latency test did not succeed: Error { description: "Couldn't connect to server", code: 7, extra: Some("Failed to connect to de.arch.mirror.kescher.at port 443: Connection timed out") }
[2024-01-20T18:02:40.486Z DEBUG flexo::mirror_flexo] Skip mirror https://at.arch.mirror.kescher.at/: Latency test did not succeed: Error { description: "Couldn't connect to server", code: 7, extra: Some("Failed to connect to at.arch.mirror.kescher.at port 443: Connection timed out") }

Additionally on the Truenas Docker I get this if I set a preset
root@flexo-ix-chart-fccd6b8b5-pjg8f:/# FLEXO_MIRROR_SELECTION_METHOD=predefined FLEXO_MIRRORS_PREDEFINED="['https://mirrors.kernel.org/archlinux']" FLEXO_CONNECT_TIMEOUT=50000 flexo
[2024-01-20T19:25:38.491Z DEBUG flexo] The following settings were fetched from the TOML file or environment variables: MirrorConfig {
        cache_directory: "/var/cache/flexo/pkg",
        mirrorlist_fallback_file: "/var/cache/flexo/state/mirrorlist",
        mirrorlist_latency_test_results_file: Some(
            "/var/cache/flexo/state/latency_test_results.json",
        ),
        refresh_latency_tests_after: None,
        port: 47878,
        listen_ip_address: Some(
            "<IP_ADDRESS>",
        ),
        mirror_selection_method: Predefined,
        mirrors_predefined: [
            "https://mirrors.kernel.org/archlinux",
        ],
        custom_repo: None,
        low_speed_limit: Some(
            128000,
        ),
        low_speed_limit_formatted: None,
        low_speed_time_secs: Some(
            3,
        ),
        connect_timeout: Some(
            50000,
        ),
        max_speed_limit: None,
        num_versions_retain: Some(
            3,
        ),
        mirrors_auto: None,
    }

[2024-01-20T19:25:41.552Z DEBUG flexo] Attempt to establish new connection
[2024-01-20T19:25:41.552Z DEBUG flexo] Establish a new connection to https://mirrors.kernel.org/archlinux
[2024-01-20T19:25:41.552Z DEBUG flexo::mirror_flexo] Fetch package from remote mirror: https://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db.
[2024-01-20T19:25:41.552Z DEBUG flexo::mirror_flexo] Set low_speed_time to 3 seconds.
[2024-01-20T19:25:41.552Z DEBUG flexo::mirror_flexo] No speed limit was set.
[2024-01-20T19:25:41.552Z INFO  flexo::mirror_flexo] File is still empty: extra.db-4c74feba-b487-4226-b248-8725366de239
[2024-01-20T19:25:41.552Z DEBUG flexo::mirror_flexo] Start download from https://mirrors.kernel.org/archlinux
[2024-01-20T19:25:41.552Z DEBUG flexo::mirror_flexo] Attempt to create file: "/tmp/flexo/uncacheable/multilib/os/x86_64/multilib.db-2707c6b3-8e99-4777-94ff-ee0b89bc1182"
[2024-01-20T19:25:41.553Z DEBUG flexo::mirror_flexo] Fetch package from remote mirror: https://mirrors.kernel.org/archlinux/multilib/os/x86_64/multilib.db.
[2024-01-20T19:25:41.553Z DEBUG flexo::mirror_flexo] Set low_speed_time to 3 seconds.
[2024-01-20T19:25:41.553Z DEBUG flexo::mirror_flexo] No speed limit was set.
[2024-01-20T19:25:41.553Z INFO  flexo::mirror_flexo] File is still empty: multilib.db-2707c6b3-8e99-4777-94ff-ee0b89bc1182
[2024-01-20T19:25:41.553Z DEBUG flexo::mirror_flexo] Start download from https://mirrors.kernel.org/archlinux
[2024-01-20T19:25:41.553Z DEBUG flexo] Establish a new connection to https://mirrors.kernel.org/archlinux
[2024-01-20T19:25:41.553Z DEBUG flexo::mirror_flexo] Attempt to create file: "/tmp/flexo/uncacheable/community/os/x86_64/community.db-6997fb06-a335-4b11-880a-c92732e3019d"
[2024-01-20T19:25:41.554Z DEBUG flexo::mirror_flexo] Fetch package from remote mirror: https://mirrors.kernel.org/archlinux/community/os/x86_64/community.db.
[2024-01-20T19:25:41.555Z DEBUG flexo::mirror_flexo] Set low_speed_time to 3 seconds.
[2024-01-20T19:25:41.555Z DEBUG flexo::mirror_flexo] No speed limit was set.
[2024-01-20T19:25:41.555Z INFO  flexo::mirror_flexo] File is still empty: community.db-6997fb06-a335-4b11-880a-c92732e3019d
[2024-01-20T19:25:41.555Z DEBUG flexo::mirror_flexo] Start download from https://mirrors.kernel.org/archlinux
[2024-01-20T19:25:46.967Z DEBUG flexo::mirror_flexo] Received complete header from remote mirror
[2024-01-20T19:25:46.967Z INFO  flexo::mirror_flexo] HTTP response code is 301
[2024-01-20T19:25:46.967Z DEBUG flexo::mirror_flexo] Received complete header from remote mirror
[2024-01-20T19:25:46.967Z INFO  flexo::mirror_flexo] HTTP response code is 301
[2024-01-20T19:25:46.967Z DEBUG flexo::mirror_flexo] Received complete header from remote mirror
[2024-01-20T19:25:46.967Z INFO  flexo::mirror_flexo] HTTP response code is 301
[2024-01-20T19:25:46.967Z DEBUG flexo::mirror_flexo] Server sent a redirect: Waiting for next header.
[2024-01-20T19:25:46.967Z DEBUG flexo::mirror_flexo] Server sent a redirect: Waiting for next header.
[2024-01-20T19:25:46.967Z DEBUG flexo::mirror_flexo] Server sent a redirect: Waiting for next header.
[2024-01-20T19:25:46.968Z DEBUG flexo::mirror_flexo] Received complete header from remote mirror
[2024-01-20T19:25:46.968Z INFO  flexo::mirror_flexo] HTTP response code is 301
[2024-01-20T19:25:46.968Z DEBUG flexo::mirror_flexo] Server sent a redirect: Waiting for next header.
[2024-01-20T19:25:48.551Z ERROR flexo] Timeout: Unable to obtain content length.
[2024-01-20T19:25:48.551Z DEBUG flexo::http_headers] Sending header to client: "HTTP/1.1 500 Internal Server Error\r\nServer: flexo\r\nDate: Sat, 20 Jan 2024 19:25:48 GMT\r\nFlexo-Payload-Origin: NoPayload\r\nContent-Length: 0\r\n\r\n"
[2024-01-20T19:25:48.551Z INFO  flexo] Request served [NO PAYLOAD]: "core/os/x86_64/core.db"
[2024-01-20T19:25:48.551Z DEBUG flexo] Reading header from client.
[2024-01-20T19:25:48.552Z ERROR flexo] Timeout: Unable to obtain content length.
[2024-01-20T19:25:48.552Z ERROR flexo] Timeout: Unable to obtain content length.
[2024-01-20T19:25:48.552Z DEBUG flexo::http_headers] Sending header to client: "HTTP/1.1 500 Internal Server Error\r\nServer: flexo\r\nDate: Sat, 20 Jan 2024 19:25:48 GMT\r\nFlexo-Payload-Origin: NoPayload\r\nContent-Length: 0\r\n\r\n"
[2024-01-20T19:25:48.552Z DEBUG flexo::http_headers] Sending header to client: "HTTP/1.1 500 Internal Server Error\r\nServer: flexo\r\nDate: Sat, 20 Jan 2024 19:25:48 GMT\r\nFlexo-Payload-Origin: NoPayload\r\nContent-Length: 0\r\n\r\n"

My first guess would be that the mirror selection does not work well for you and flexo is therefore choosing mirrors with a too high latency.
You don't have anything unusual configured regarding networking, like a VPN or so? Also, on which continent are you located? In the past, some users from Australia had issues because of the latencies from Australia to mirrors located in Europe and elsewhere.
Could you please try the following:

Remove the file /var/cache/flexo/state/latency_test_results.json, if it exists.
Use the default TOML config file and leave all default settings, with the only exceptions:
allowed_countries should be configured as described here.
If you have to change the port or the listen_ip_address, that's also fine, that won't have an influence on the issue you've described.
If that still doesn't work, try to increase max_score.

If that still doesn't work, please post the output of the following command, would be interesting to see how fast your connection is:
curl -w @- -o /dev/null -s "https://mirror.moson.org/arch/core/os/x86_64/core.db" <<'EOF'                  (git)-[main] %
    time_namelookup:  %{time_namelookup}\n
       time_connect:  %{time_connect}\n
    time_appconnect:  %{time_appconnect}\n
   time_pretransfer:  %{time_pretransfer}\n
      time_redirect:  %{time_redirect}\n
 time_starttransfer:  %{time_starttransfer}\n
                    ----------\n
         time_total:  %{time_total}\n
EOF

Trying this on my laptop and it works file.
Trying this on my server which is a TrueNAS Scale x86_64 which uses kubernetes.
When I run in the container, unset all the FLEXO env variables, set the allowed_countries and use the default TOML, I still get time outs with flexo but using curl downloads fairly quickly even with some which timeout with flexo.
Flexo also exits because it can't find any non timed out mirror. Increasing max score to 10 and timeout to 30 seconds doesn't change anything.
Here's the output with moson.org
    time_namelookup:  5.059352
       time_connect:  5.172486
    time_appconnect:  5.300360
   time_pretransfer:  5.300383
      time_redirect:  0.000000
 time_starttransfer:  5.505811
                    ----------
         time_total:  5.707949

Here's the output with moson.org
    time_namelookup:  5.059352
       time_connect:  5.172486
    time_appconnect:  5.300360
   time_pretransfer:  5.300383
      time_redirect:  0.000000
 time_starttransfer:  5.505811
                    ----------
         time_total:  5.707949

So it takes more than 5 seconds until name lookup has completed, that is very unusual. This is how it looks for me:
    time_namelookup:  0.001474
       time_connect:  0.009997
    time_appconnect:  0.020877
   time_pretransfer:  0.020898
      time_redirect:  0.000000
 time_starttransfer:  0.036836
                    ----------
         time_total:  0.055268

It's possible that flexo does not behave quite as expected under less-than-ideal networking conditions, but my impression is that some networking strangeness in your Kubernetes setup seems to be at least a contributing factor.
Have you verified that the settings are also applied correctly for Flexo? I'm not an expert on Kubernetes, but with plain docker, here's one example to set the allowed_countries setting via environment vars:
docker container run -it --rm  -e RUST_LOG=debug -e FLEXO_MIRRORS_AUTO_ALLOWED_COUNTRIES=DE,AT,CZ nroi/flexo

During startup, you should then see something like the following to show which settings are applied (this requires a log level of DEBUG or comparable):
[2024-02-05T17:24:18.005Z DEBUG flexo] The following settings were fetched from the TOML file or environment variables: MirrorConfig {
        cache_directory: "/var/cache/flexo/pkg",
        mirrorlist_fallback_file: "/var/cache/flexo/state/mirrorlist",
        mirrorlist_latency_test_results_file: Some(
            "/var/cache/flexo/state/latency_test_results.json",
        ),
        refresh_latency_tests_after: None,
        port: 7878,
        listen_ip_address: Some(
            "<IP_ADDRESS>",
        ),
        mirror_selection_method: Auto,
        mirrors_predefined: [],
        custom_repo: None,
        low_speed_limit: Some(
            128000,
        ),
        low_speed_limit_formatted: None,
        low_speed_time_secs: Some(
            3,
        ),
        connect_timeout: None,
        max_speed_limit: None,
        num_versions_retain: Some(
            3,
        ),
        mirrors_auto: Some(
            MirrorsAutoConfig {
                mirrors_status_json_endpoint: "https://archlinux.org/mirrors/status/json/",
                mirrors_status_json_endpoint_fallbacks: [],
                mirrors_blacklist: [],
                https_required: true,
                ipv4: true,
                ipv6: false,
                max_score: 2.5,
                num_mirrors: 8,
                mirrors_random_or_sort: Sort,
                timeout: 350,
                allowed_countries: [
                    "DE",
                    "AT",
                    "CZ",
                ],
            },
        ),
    }

What you say makes sense, the time takes less long on other devices.
On the truenas itself (outside of the container) I can bring the time_namelookup down to less than a millisecond.
I can also get very good times in other containers.
Is there something special done to the DNS in the nroi/flexo container?
You can see the settings i ran in my original post.

Changing my DNS settings fixed the issue and flexo is working in the container.

Glad to hear that!

Don't know what we can learn from this to improve flexo since these issues only came up from a bad DNS config.

I might try to check if I can reproduce this issue somehow, but as long as it works fine for users with no unusual network settings, I won't invest too much time into it. There are other areas at flexo that have higher priority.


Error 'Cannot read property'

Installed Vsoma extension, F1 -> Vsoma: play, choosing any station pops the following error:
Cannot read properties of null (reading 'toString').
Meta info:
Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:49:24.808Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.0-27-generic snap

Thanks for reporting. This needs to be addressed. Meanwhile, please double check if you have mpv in your PATH.
From the README.md: VSoma requires mpv (https://mpv.io/) installed and accessible in your $PATH or with a custom path defined in Visual Studio Code extensions settings for VSoma (Mpv path). Leave this field empty if you already have mpv in your $PATH.

Just wanted to comment and say that I was having this same issue on Mac OS Monterey, version 12.4 (21F79), and I was able to resolve the problem by adding the path to mpv manually under the VSoma settings within VSCode.
To be more detailed in case it helps:
Prior to this, I did in fact ensure that mpv was on my path by running which mpv which returned /opt/homebrew/bin/mpv as expected after using Homebrew to install; despite this, there was no change, even after relaunching VSCode multiple times. Immediately after adding the path manually to the settings field & relaunching VSCode another time it worked as expected.
Hope this helps. Cheers.

Thank you @vascomfnunes and @Alchemyst0x for responding. I confirm that mpv is installed and its installation path is (manually) added to my PATH; however, I still see the same error.


Include DB_* Environment Variables in Default .env / .env.sample

Description
The default .env and .env.sample files are missing DB_* environment variables. For new projects, following the 12-factor app rules, users expect these default variables to be included.
Currently, users must inspect configs and documentation to find the necessary variables.
Suggested Solution
Include commonly used DB_* environment variables in the default .env or .env.sample files.

Need to check that the installer adds these envs during installation https://github.com/spiral/app/blob/5700688f67f5a3d1d417549ba955b27b6512bb82/.env.sample#L30-L36


[QUESTION] Push notification

How do I use Push notification?
I tried to do it but it seems that I am missing something

This package does not yet implement push notification automatically, did you follow the instructions in the documentation?
https://developer.zendesk.com/embeddables/docs/ios-chat-sdk/push_notifications
https://developer.zendesk.com/embeddables/docs/android-chat-sdk/push_notifications

Hello @davidtito1992
I am having a cumbersome issue using this package with FCM push notifications.
When a push notification launches the iOS app from a quit state it always crashes the app.
I followed zendesk documentation that is described above like so:
- (void) application:(UIApplication*)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)tokenData {
    [ZDCChat setPushToken:tokenData];
}

- (void) application:(UIApplication*)application didReceiveRemoteNotification:(NSDictionary*)userInfo {
    [ZDCChat didReceiveRemoteNotification:userInfo];
}

Here is also a stack trace of the native crash:

Hello @davidtito1992
I am having a cumbersome issue using this package with FCM push notifications.
When a push notification launches the iOS app from a quit state it always crashes the app.
I followed zendesk documentation that is described above like so:
- (void) application:(UIApplication*)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)tokenData {
    [ZDCChat setPushToken:tokenData];
}

- (void) application:(UIApplication*)application didReceiveRemoteNotification:(NSDictionary*)userInfo {
    [ZDCChat didReceiveRemoteNotification:userInfo];
}

Here is also a stack trace of the native crash:


better installation explanation process

Hello there
I can help with better installation documentation, it is a little confusing how we need to install this project.

Submit a PR. Im happy to accept help documenting the process. :)

Submit a PR. Im happy to accept help documenting the process. :)

@lisandroiraguen this issue can be closed, right?

@lisandroiraguen this issue can be closed, right?


Changing password crashes KeyRock instance

Hello,
I've installed KeyRock on an Ubuntu 14.04 VM, using this walkthrough. After gaining access to settings menu, using fix from #6, I tried to change user's password. After doing so, I was logged out. However, when I tried to log in again using new credentials, I got 401 (unauthorized) error. Moreover, when I went back to the main page, I got 401 again. Clearing cookies helped, but situation was identical when I tried to log in again, no matter on what account. Passing invalid credentials did not break the application.
The only thing that can fix this situation is clearing the database with fab keystone.database_reset task. However, after changing a password, the application is broken again.
Details of the error: http://dpaste.com/0MSJATZ
Thanks in advance!

Hi,
I don't know what could be happening, never had an issue with the passwords. Right now I'm out of the office, next week I can take a closer look to see what could be going wrong. Try checking the user table in the database, mainly the active/valid column. If you find out anything else please let me know.
Cheers,
Enrique

I have the same problem as redds. After changing password for idm user, KeyRock crashes:
Django Version:	1.6.11
Exception Type:	Unauthorized
Exception Value:
The request you have made requires authentication. (HTTP 401)
Exception Location:	/root/idm/horizon/.venv/src/fiwareclient/keystoneclient/session.py in request, line 389
Python Executable:	/root/idm/horizon/.venv/bin/python
Python Version:	2.7.3
Python Path:
['/root/idm/horizon',
'/root/idm/horizon/.venv/src/openstack-auth',
'/root/idm/horizon/.venv/src/fiwareclient',
'/root/idm/horizon/.venv/lib/python2.7',
'/root/idm/horizon/.venv/lib/python2.7/plat-linux2',
'/root/idm/horizon/.venv/lib/python2.7/lib-tk',
'/root/idm/horizon/.venv/lib/python2.7/lib-old',
'/root/idm/horizon/.venv/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/root/idm/horizon/.venv/local/lib/python2.7/site-packages',
'/root/idm/horizon/openstack_dashboard']

Hi,
I've tried changing my user's password and it works fine. Basing on @vladanminic's answer, looks like you changed the 'idm' account password, which is the one that the front-end uses to operate in the back-end. Update your settings with the new password and it should work fine.
Best regards,
Enrique


fix: formulaRange display error when it is overFlow

fix:

When using the sum formula, formulaSelection displays an error when the cells in the selected area exceed the maximum number of rows for the max cell range.

How to reproduce the issue?

Add an empty sheet which has 84 row by default. Then enter "=sum(A1:A100)"(it doesn't has A100) in any single cell and click other cell. The issue will be reproduced after double-clicking the cell with the formula.


Dispatching delegates in designated queues

This PR should solve issue #249.
CC @DevAndArtist
There are still 3 calls for main dispatch queue. Do you have an idea how to solve it? I guess I should use the queue used for central manager to be consistent.

Ok, I guess that's it. Could you check if it works for you? Or at least if the API will work for you?

@philips77 thank you for the effort, I will add it tomorrow to our project and check how it behaves. Btw. I scanned over the patches and haven't seen any use of dispatchPrecondition, how did you verified the queue on which the code is being run?

The main reason for not using it is that I don't know how to use this method :)

Hello, any updates on this? I watched a video and I'm now pro in dispatchPrecondition, but still don't think it's necessary due to what I said earlier.

@philips77 not yet. I'm currently fixing other parts of our library which prevent me from being able to compile the project. I'll try to test your patch by the end of the day, I hope, and report back.
If you're interested to read more about dispatchPrecondition here is a Swift thread where I asked for some more clarifications: https://forums.swift.org/t/what-is-the-default-target-queue-for-a-serial-queue/18094

Other thing, dispatchPrecondition is available on iOS 10+ while DFU is now supported on 9.0+ (after migrating Zip -> ZipFramework in #251).

I'm thinking about merging the PR tomorrow and releasing 4.3.0 if you have no objections.

I finally updated to project to test the changes but I'm hitting an issue:
dyld: Library not loaded: @rpath/ZIPFoundation.framework/ZIPFoundation
  Referenced from: /private/var/containers/Bundle/Application/D5798A54-60A6-4F27-9BC1-F3E9AD9164B5/App.app/Frameworks/iOSDFULibrary.framework/iOSDFULibrary
  Reason: image not found

Should I include the new dependency manually or is the projects dependencies messed up? (I'm using carthage to include the DFU lib.)

Resolved the dependency here and the framework gets added into the app bundle, but I'm hitting the next issue and unable to run the app.
dyld: Library not loaded: @rpath/ZIPFoundation.framework/ZIPFoundation
  Referenced from: /private/var/containers/Bundle/Application/6768A1C7-5C6E-471B-9969-F84AEFE42EA3/App.app/Frameworks/iOSDFULibrary.framework/iOSDFULibrary
  Reason: Incompatible library version: iOSDFULibrary requires version 1.0.0 or later, but ZIPFoundation provides version 0.0.0

I'm currently out of ideas why this issue happens. I cleared Derived Data and clean build the project.

I resolved the issue above, it's an issue ZIPFoundation has, I'm not sure if my PR will be approved. I found the solution in a different project after searching the web for it: https://github.com/jpsim/Yams/issues/131
I fixed the issue here:
https://github.com/weichsel/ZIPFoundation/pull/91

In your case you still need to add a cartfile so Carthage can pull ZIPFoundation.

I've created cartfile with
github "weichsel/ZIPFoundation" ~> 0.9

in the main directory. Is there anything else needed for me to push?

Btw, we didn't have cartfile before switching to ZipFoundation, or at least I don't see it. Was it working for you before, or you had to include that dependency in your cartfile?

That's a good question. To be honest I'm not sure how Carthage previously pulled Zip.framework. It just didn't worked for me this time.

I'm fixing some internal dispatchPrecondition cases related to the changes made here. Give me an hour or so, I'll report if I could flash without issues.

Okay I could flash multiple times without any issues. Feel free to merge.

I've added Cartfile. Is that the right place for it?

Looks good on my end, Carthage can now pull ZIPFoundation correctly, the only requirement to the project to run correctly is them to merge my PR.


Allows additional 7.2 support

Allows additional 7.2 support (more users can benefit from the package)
Uses symfony/security-bundle instead of symfony/security

Thanks @gloomy ! Feel free to continue contribution. Happy new year!

Thanks @gloomy ! Feel free to continue contribution. Happy new year!


Add support for null safety

Would like to use with Flutter 2.0. Please consider adding null safety.

Sure. Would merge #7 today and publish it

@pelusodan Successfully published the null safety version, feel free to use it


Removed Alias Legacy Street Name fields from StreetNameAliasTable

Structural change between versions 1 and 2 or NENA-STA-006
Removed Alias Legacy Street Name Pre Directional field, Alias Legacy Street Name field, Alias Legacy Street Name Type field, and Alias Legacy Street Name Post Directional field from the StreetNameAliasTable.
Source
NENA-STA-006.2-2022 from sub-bullets in "Specific structural changes to the Data Model that were made:" bullet on page 13 under the Reason for Issue/Reissue section.

Adopted by Data Model Template working group Consent Agenda on 2022-11-23.


Update index.html

removed the overlapping cake leaving only the background one.

I removed the overlapping image and fixed it in the background.

Great :)


Add tests

I close the issue since it is pretty old, and it is referring to a very old version of the package. In the new version #85 we will add extensive tests.


For the "Display Device Location with NMEA Data sources", Trimble R12 was not show in the list

Hi,
Currently this sample supports 3 external Bluetooth devices: SXBlue, EOS and BadElf only for demonstrating purposes.
If you want to try out the Trimble device,

either add the protocols to this section in Info.plist, i.e. com.trimble.correction and com.trimble.command

https://github.com/Esri/arcgis-runtime-samples-ios/blob/61c82de7f8d620cf7edb54e509f98c2f0606a713/arcgis-ios-sdk-samples/Info.plist#L118

or use the Esri Field Maps app

Thanks for the reply. Now the Trimble could connect to the iOS device. But I find the AGSNMEALocationDataSource seem to not update automatically. Anyone have test this new function in SDK 100.11?

I find the AGSNMEALocationDataSource seem to not update automatically

Can you explain a bit more here? What do you mean by not update automatically? Do you mean

The location indicator (blue dot) is not showing up
No updates are provided by the locationDidChange delegate method
The device is not pushing data to the location data source, etc.

Thanks.

@yo1995 Sorry for the misunderstanding. For my case, there are no updates are provided by the locationDidChange delegate method. I think this problem maybe caused by the second reason you mentioned. Thanks for your help, I look forward for your response tomorrow.

While waiting for feedback, (having done some preliminary research) I found that Trimble R-series do work differently than the built-in support for EOS, SXBlue or BadElf (which only requires Bluetooth connection). It seems Trimble requires some config steps that possibly involve...

Trimble Mobile Manager
GNSS Configuration and some parameters
Multiple bluetooth protocols included in Info.plist

Hope I'll be able to come up with a step by step instruction for setting up Trimble.

@yxliwhu Just got feedback from Trimble folks. They explained that only Trimble R1 and R2 has partial NMEA output support in their firmware, but not the "non-GIS R-series receivers like the R10/12/12i". 😞  Therefore it seems it's currently not possible to use the Runtime NMEA APIs together with your Trimble R12.
Please let me know if you have further questions!

Close due to inactivity. Feel free to reopen or create a new issue!


Using the oss-review-toolkit in IOS Projects

Can this tool be used with an IOS project or do I need to find a different OSS tool for that?

Neither CocoaPods nor Swift projects are currently supported. However, I heard that @tsteenbe might be starting to work on Swift support soon. What technology exactly would you require? (Please up-vote the respective existing issue so we can prioritize them accordingly.)
As an alternative to finding a different tool (if there is one), we're happily accepting pull requests to extend the analyzer's capabilities.

The project uses both CocoaPods and Swift packages, so it would be nice to have them both. I didn't find any windows or Linux based tools that can run an analysis outside of the Apple ecosystem. I've only found some IOS tools.

Ok, so would you be fine with closing this issue in favor of upvoting / subscribing to the respective two issues linked above?

Yes, thank you!


stylistic changes, e.g. comment typos

Catch-all pull request for callecting any stylistic code changes made while researching the floatThead library.

thanks :+1:


Vscode insiders are Missing icons in terminal

VSCode Version: 1.31.x insiders
OS Version: Debian 9

Steps to Reproduce:

Install vscode and vscode insiders

Use zsh as default terminal and set agnoster theme

In vscode all looks fine

In vscode insiders icons fonts are missing.

Does this issue occur when all extensions are disabled?: Yes

i probably do something wrong...
but i do not find..

"terminal.integrated.fontFamily": ""

You're setting the font to nothing, you need to set it to the powerline font. See https://code.visualstudio.com/docs/editor/integrated-terminal#_can-i-use-powerline-fonts-in-the-integrated-terminal

Hello, thanks for you help...
but i have still the pb, if i downgrade to previous version
code-1.30.2-1546901769.el7.x86_64.rpm, then it is ok....
[image: image.png]
[image: image.png]
[image: image.png]
Pierre-Marie PETIT
SI Engineer
Tech & Talents - B'TWIN
+33 6 48 26 78 93Check our new
website: https://techandtalents.subsidia.org/
https://techandtalents.subsidia.org/
On Wed, Feb 13, 2019 at 7:04 PM Daniel Imms<EMAIL_ADDRESS>wrote:

"terminal.integrated.fontFamily": ""
You're setting the font to nothing, you need to set it to the powerline
font. See
https://code.visualstudio.com/docs/editor/integrated-terminal#_can-i-use-powerline-fonts-in-the-integrated-terminal
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/66489#issuecomment-463303067,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD3wMdtoknnDGDJ4dpPjOQxVRp95wyDOks5vNFOYgaJpZM4Z-cSM
.

@pmpetit when you reply via email images don't get attached. I'm not sure exactly what changed, but it shouldn't have been working before if terminal.integrated.fontFamily was set to "".


Missing mapillary images when loaded in JOSM

Mapillary images shown in the osm-navigation-map are not being loaded in JOSM. I came across this issue quite a few times, so thought of ticketing this.

Mapillary image detected in osm-navigation-map

No mapilary image in loaded on JOSM
Imagery location:

http://mapbox.github.io/osm-navigation-map/#17.88/45.45784/-73.82010
http://mapbox.github.io/osm-navigation-map/#18.58/45.42085/-73.97119

This issue is already mentioned in our previous mapping task aswell
cc:/ @planemad @geohacker

@gyllen it seem like the detected objects vector tiles https://a.mapillary.com/v3/tiles/{z}/{x}/{y}.mapbox is more recent than the coverage layer https://d2munx5tg0hw47.cloudfront.net/tiles/{z}/{x}/{y}.mapbox that is being used in JOSM
How long is the delay in updating both tiles from a new photograph submission in Mapillary?

@planemad We are switching out the old vector tile layer for https://d25uarhxywzl1j.cloudfront.net/v0.1/{z}/{x}/{y}.mvt
I should not take more then around 10 minutes before that layer updates (sometimes longer if the region is cached in cloudfront)
Here is the spec (this will be posted on website soon)
Vector Tile Specification

Endpoint: http://d25uarhxywzl1j.cloudfront.net/v0.1/{z}/{x}/{y}.mvt
Extent: 4096

Sequence Overview Layer

Name: mapillary-sequence-overview
Type: circle

We divide a tile into 256x256 squares. Each square takes up 16x16
pixels (if extent is 4096). Each square is associated with the latest
captured sequence within the square.

Property
Type
Description
Available Zoom Levels
Guarantee
Examples

key
String
Sequence key of the latest sequence
0-5
Non-empty string
"h1f6sKNaxOG9YReT5fdv5A"

userkey
String
User key of the latest sequence
0-5
Any string (empty if not found)
"", "73Q3j-BDvHrsirf6gPYT4w"

captured_at
Number
The captured time of the latest sequence, expressed as UTC epoch time in milliseconds
0-5
Non-negative integer (0 if not found)
0,<PHONE_NUMBER>242

ikey
String
The first image key of the latest sequence
0-5
Any string (empty if not found)
"", "SoPIfY9dIvhwz9JULXGLpQ"

image_count
Number
The number of images within the square
0-5
Non-negative integer
0, 134

user_count
Number
The number of users within the square
0-5
Non-negative integer
0, 12

Sequence Layer

Name: mapillary-sequences
Type: line

Property
Type
Description
Available Zoom Levels
Guarantee
Examples

key
String
Sequence key
6-14
Non-empty string
"h1f6sKNaxOG9YReT5fdv5A"

userkey
String
User key
6-14
Any string (empty if not found)
"", "73Q3j-BDvHrsirf6gPYT4w"

captured_at
Number
Captured time, expressed as UTC epoch time in milliseconds
6-14
Non-negative integer (0 if not found)
0,<PHONE_NUMBER>242

ikey
String
The first image key
6-14
Any string (empty if not found)
"", "SoPIfY9dIvhwz9JULXGLpQ"

Image Layer

Name: mapillary-images
Type: circle

Property
Type
Description
Available at
Guarantee
Examples

key
String
Image key
14
Non-empty string
"M7C5Vr8dfHX6PKkHJW4FnQ"

userkey
String
User key
14
Any string (empty if not found)
"", "4grOAszFcvM6c5~-nwfdbw~"

captured_at
Integer
Captured time, expressed as UTC epoch time in milliseconds
14
Non-negative integer (0 if not found)
0,<PHONE_NUMBER>026

skey
String
Sequence key
14
Non-empty string
"h1f6sKNaxOG9YReT5fdv5A"

ca
Number
Image azimuth
14
Any number (-1 if not found)
-1, 250.2, 335.34

pano
Number
Image pano
14
Either 0 or 1
0, 1

cc @ajithranka @amishas157

@gyllen is the min zoom for the new tiles z6?

Map now using the latest tiles as of 1e216ec


cleanup: fixes constraint violations errors.

Description
This is related to some old data rules, and old columns not used any more

fixes to delete update repo only if there is no other updates using it.
fixes delete commit from updatetransaction_commits before delete (where there is no direct update-transaction).
fixes orphan commits to take into consideration only those commits not linked to repos.commit_id feild that exist only in stage env, seems some old rules still reflected in stage data base.
set scheduler to run on saturday 0 hour.

Type of change
What is it?

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[X] 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
[X] New and existing unit tests pass locally with my changes
[X] I run make pre-commit to check fmt/vet/lint/test-no-fdo

Codecov Report
Patch coverage: 34.61% and project coverage change: -0.07% :warning:

Comparison is base (9ab6261) 61.36% compared to head (6c8ced3) 61.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2203      +/-   ##
==========================================
- Coverage   61.36%   61.29%   -0.07%
==========================================
  Files          80       80
  Lines       11846    11866      +20
==========================================
+ Hits         7269     7273       +4
- Misses       3951     3964      +13
- Partials      626      629       +3

Files Changed
Coverage Δ

cmd/cleanup/cleanupimages/cleanupimages.go
62.77% <0.00%> (-0.83%)
:arrow_down:

...eanup/cleanuporphancommits/cleanuporphancommits.go
67.44% <28.57%> (-5.90%)
:arrow_down:

cmd/cleanup/cleanupdevices/cleanupdevices.go
75.68% <55.55%> (-0.38%)
:arrow_down:

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

is it possible to wirte unit test for the cleanup functionallity?

@Mergifyio refresh

@Mergifyio requeue

/retest


changes for kontainer-driver-metadata

Because we currently have both code and data in rancher/kontainer-driver-metadata, vendoring it in different release branches for rancher and rke causes issues.

Introduce changes to our build process for rke and rancher so that they stop vendoring kdm and have access to local bin data file
Update rke and rancher to load data from this local file

Discussed with @kinarashah, the current logic for syncing kdm is use catalog url to fetch data.json first, then fallback to vendor file.(Assuming fallback method is needed in case catalog sync failed or air-gap installation). The goal is to move away from vendor file and only use data.json as source of truth. Same applies to RKE.

@StrongMonkey sounds good, just to clarify, we don't currently have any vendor file, as in we don't have vendored data.json but it's just structs

Related PRs:
https://github.com/rancher/types/pull/1088
https://github.com/rancher/rke/pull/1910
https://github.com/rancher/kontainer-driver-metadata/pull/136
https://github.com/rancher/types/pull/1088

This issue is available to test. This actually introduce no functionality change, but we need to verify there is no regression.
To verify this, try to provision RKE cluster in a normal or airgap setup. All the image should still be download and components should be brought up.

do the following preparation before doing validations

Run Rancher:master-head 7640e89b0 and check the builtin k8s versions as the following:

- 1.17.3-rancher1-1 (default)
- 1.16.7-rancher1-1
- 1.15.10-rancher1-1

Copy the builtin data.json file and host it at a server so Rancher can download from an URL

Validation 1:

edit the copy to add a new k8s version, saying 1.17.4-rancher1-1
go to Settings -> rke-metadata-config to change the URL to point to the copy

Results:

Rancher logs show the following message which indicates a refresh is trigged

2020/02/27 00:38:53 [INFO] Refreshing driverMetadata in 1440 minutes
2020/02/27 00:38:53 [INFO] driverMetadata: refreshing data from upstream https://raw.githubusercontent.com/jiaqiluo/kontainer-driver-metadata/issue-25162/data/data.json

In Rancher UI, go to the cluster provision page, see the new k8s version is showing in the list

Validation 2:

change the default to be 1.16.x in the data.json file

  "RancherDefaultK8sVersions": {
    "2.3": "v1.17.x",
    "2.3.0": "v1.15.x",
    "2.3.1": "v1.15.x",
    "2.3.2": "v1.15.x",
    "2.3.3": "v1.16.x",
    "default": "v1.16.x" <--- this line
  },

go to tools -> drivers and click refresh kubernetes metadata

Results:

Rancher logs indicate a refresh is triggered

2020/02/27 00:46:30 [INFO] driverMetadata: refreshing data from upstream https://raw.githubusercontent.com/jiaqiluo/kontainer-driver-metadata/issue-25162/data/data.json

in Rancher UI, the default version showing in the cluster provision page is v1.16.7-rancher1-1
also in the api:

"default": "v1.16.7-rancher1-1",
"id": "k8s-version",

Validation 3:

go to Settings -> rke-metadata-config to change the refreshing interval to 1

"refresh-interval-minutes": "1",

edit the data.json file to add a new k8s version v1.18.1-rancher1-1, and change the default to v1.18.x

Results:

in Rancher's log, the following shows every minute which indicates the refresh is triggered automatically

2020/02/27 01:07:08 [INFO] Refreshing driverMetadata in 1 minutes
2020/02/27 01:07:08 [INFO] driverMetadata: refreshing data from upstream https://raw.githubusercontent.com/jiaqiluo/kontainer-driver-metadata/issue-25162/data/data.json
2020/02/27 01:08:08 [INFO] Refreshing driverMetadata in 1 minutes
2020/02/27 01:08:08 [INFO] driverMetadata: refreshing data from upstream https://raw.githubusercontent.com/jiaqiluo/kontainer-driver-metadata/issue-25162/data/data.json
2020/02/27 01:09:08 [INFO] Refreshing driverMetadata in 1 minutes
2020/02/27 01:09:08 [INFO] driverMetadata: refreshing data from upstream https://raw.githubusercontent.com/jiaqiluo/kontainer-driver-metadata/issue-25162/data/data.json

in Rancher UI, the new version shows up as the default value

the values under v3/settings also reflect the changes

The following validations are done on an air-gapped setup Rancher:v2.4.0-rc1, single install
Validation 1:

provision a cluster for each supported k8s version with the embedded metadata
confirm that clusters are active and use the same set of images as the clusters provisioned in a non-air-gapped setup with the same k8s version

Validation 2:

host the data.json file and change the url in settings to point to that file
add a new k8s version to the data.json file, and trigger a refresh in Rancher
confirm that the new k8s version shows up in Rancher


Async translation support

The property "translationTexts" doesn't support async translation (e.g. using angular-translate).

#162


[SMALLFIX] Improve comment style in alluxio.client.file.FileOutStream

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/657/
Test FAILed.

什么意思，没通过？？

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/660/
Test FAILed.

Jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/661/
Test FAILed.

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/662/
Test PASSed.


Software harness

Fixes #82.
WIP.
This PR defines a new backend and a C++ parsing harness that will allow us to run kernels with arbitrary data.

Cool. Here are a couple of things I notice in this version:

Looks like you have a new abstract concept of a backend target, which lets you customize (for example) the strings used as type names for various internal types. This seems useful and, as you alluded to yesterday, could be the right groundwork to lay to support other HLS tools as targets. (Like Merlin, for example.)

One small thing that could cause problems: sized ints in the "Vivado-like" backend are emitted as C ints, which will of course not quite match the semantics of sized numbers. They will overflow when they shouldn't for 200-bit ints, for example, and they will not wrap around when they should for 4-bit ints. As a purely "quality of life" issue, it would be nice if the default backend for software execution faithfully implemented the source language semantics for sized numbers. This would be really heavyweight, but we could link to something like gmp to provide arbitrary-precision ints.

As a separate-ish new feature, the compiler can now emit a main function including a bunch of parsing logic that lets you actually run the programs.

I have to admit that I'm fundamentally a little bit wary of the approach that involves generating the main file. In general, real programs—and perhaps even our own examples!—will want to do different, squirrelly things as part of main. For example, you could imagine that some benchmark might be best run in some outer loop that iterates the kernel to convergence. It also seems a little odd for the compiler to include code for parsing a special data format, when "real" users of our system (not our little examples!) will of course have their own data formats, so they'll never want to use that part.
That's why I've been recommending the approach where each of our examples comes with its own C/C++ file that has main in it. To avoid duplication, they can all share a common header with your file-parsing code, but I think it might be cleaner for the per-application main to be "handcrafted," one by one, rather than automatically generated.

Ah, the PR name is confusing. This is NOT meant for benchmarking.
This is something that I’d imagine using when developing a kernel and wanting some nice REPL like interaction by doing fuse prog run. This approach definitely doesn’t scale to all benchmarks (say BFS).
The benchmark related parts is the concept of a new backend. I can create a separate backend that understands the software harness setup after this PR.
Regarding bit accuracy, I’ve been looking into GMP. The abstraction might make it easier to link with it regardless of which software backend we’re using.
The final benefit of this backend is being able to test the emitted code is valid CPP.

Aha, cool! So I should think of the purpose of the main emitter stuff as being like an alternative to having an interpreter (with the side effect of quickly validating that the codegen produces valid C++). Sounds good!

An alternative to gmp that was just discussed at the meeting I'm at right now at UCLA is Mentor Graphics' AC Datatypes library, which has header-only C++ libraries called ac_int, ac_fixed, and ac_float implementing signed numbers. Could be a little lighter-weight than full gmp.

Ready for review!
High level summary:

Changes to CLI:

-o put the output from the compiler in a file
-b switch to a different backend. Supported backends are vivado and c++
fuse run <src> -o <out> generate an executable that can be run with a json data file.

To review, try to follow the example added under docs/cpp-runnable.md.

sbt assembly automatically downloads the required headers.

Take a look at the output of matadd.cpp after following the previous step. Make sure the emitted code makes sense.
Take a look at the parser.cpp file.

I'll try to merge this tomorrow before the meeting. Everyone should try playing with this PR. Requiring review from @sa2257 and @sampsyo.

Merging now. @sa2257 will review and ask questions here by EOW.


City @ Night - Winter Edition

This is a pretty straightforward/simple thing, but I decided to generate a city at night, in the winter with snow falling. Each generation has a different set of buildings and snow placement. :)

Thanks for the submission! Could you make the windows stay inside the buildings?

ill try :)