New Feature: Allow $default to be a callback

Hello,
It would be nice if the getOrDefault & find methods would execute and return the result of a closure if provided.
return $default instanceof \Closure ? $default() : $default

This would allow for code like this:
Collection::from()->getOrDefault('foo', function() {
	return new SomeExpensiveObject();
});

Collection::from()->getOrDefault('foo', function() {
	throw new \Exception('foo is required');
});

I would be happy to build & submit a PR if this is a desired feature for this project.
Thank You

Hi. GetOrDefault/Find can not be altered in the proposed way because of the conflicts it would cause if the collection in question was a collection of functions. Would you return the passed function or execute it and return the result?
Do you have a use-case for this? Maybe an introduction of new methods named something like GetOrExecute/GetOrCallback/GetOrDo/etc could be beneficial. Then again, maybe you'll be better off composing existing functionality like:
$item = $collection
    ->get(key, true)
    ->map(function($i){
            return function() {return $i}
    })
    ->append(expensiveCallback)
    ->first()()

A collection of closures... did not think of that :)  The idea is to execute the callback and return in the result.
The primary scenario I have is throwing an exception if the collection does not contain an element. Something like this:
if(!$collection->has('foo')) {
	throw new \Exception('foo is required');
}

return $collection->get('foo');

Becomes:
return $collection->getOrCallback('foo', function() {
	throw new \Exception('foo is required');
});

The callback will not be executed unless the default value is returned.

Would the solution I proposed (composition of current functionality, see my previous post) work for you? I.e. is it good enough? I feel like introduction of a specialized function would have just semantical value at this point.

Thanks for the input & feedback and creating this library 👍


Booster: More flexible rewrite rule indexing

The rule index implementation is currently a simple hard-wired search for a cell called k containing a non-empty kseq ).
We can obviously do better by

making this cell (k by default) configurable for the server
adding a way to consider more than one cell for the index. This is important for layered semantics. As an example: for the MX backend, we would need instrs, k, and  commands). This alternative is still an over-approximation but an improvement over picking just one of these three important cells.

Computing this automatically as suggested in #3769 would be a great addition to booster, and can happen at load time or at compile time (adding metadata to the definition).
As a first step to address current issues, we can quickly implement the manual mode described above.

Duplicate of #3769


DS - /feature/ - Visuals for Community Sentiment Data

Picking up where Roger and Bradley left off with a current issue on Jira. We would like to explore this new data, create visualizations, and ensure we can receive new user input (through collaboration with Web students).

We might be able to add this into the current issue in the subtasks? Thoughts?

I wasn't sure how we should split it, or if Roger and Bradley needed the Issue to go through in order to graduate.
I saw the distinction as our ticket dealing with sending processed data to FE/BE and theirs dealing with receiving new data from FE/BE. I also saw the potential for various pull requests, if we are dealing with exploratory data analysis (notebook), adding the visualizations into the app, and creating an endpoint so Web can pull visuals from DS/Mongo. All the while communicating and documenting changes for clarity across DS, FE, and BE.

Now that we would like to do better NLP, considering topic modeling with LDA, this might work as a continuation of the active issue.

Relates to other active issues.


add last_prologue_traces earlier

and unify the last trace handling + caching a bit.
Fixes #842

Looks really good, and I think this might solve some annoyances that I've had with the interpreter log too. This has been on my PMO list for some time.


inner join error

    const result = await db.with("config_query", (qb) =>
        qb
          .selectFrom("config_proxy")
          .whereRef("config_proxy.config_key", "=", "config.config_key")
          .whereExists((qb) =>
            qb.selectFrom("cblock_ip")
              .whereRef("cblock_ip.ip_key", "=", "config_proxy.ip_key")
              .where("cblock_ip.ip_key", "=", "[ip_key]")
          ))
        .selectFrom("config")
        .whereExists((qb) => qb.selectFrom("config_query").select(1))
        .execute();

why is this not working , I understand that InnerJoin doesn't work with mysql but still I'm getting :
An error occurred during route handling or page rendering. Error: not implemented
    at parseJoin (https://cdn.jsdelivr.net/npm/kysely/dist/esm/parser/join-parser.js:14:15)
    at SelectQueryBuilder.innerJoin (https://cdn.jsdelivr.net/npm/kysely/dist/esm/query-builder/select-query-builder.js:279:71)

what I'm doing wrong, or what can I do to select some fields from cblock_ip.ip_key , so basically I have config that connects to config_proxy trough config_key , and config_proxy that connects to cblock_ip trough ip_key
btw I'm using MySql

nvm, I'm rtarded, I had another innerJoin() on another sql query in the same page. A left over from when I tried to use innerJoin . ... sry for the troubles

Just curious: are you using Kysely without typescript? There's multiple things in your query above that shouldn't compile, like .select(1) in the latter subquery.

Nope, I'm using it with typescript but didn't got to that part when I posted this message, I was still stuck on the innerJoin part :) I mange to do the query but I did it like this:
  const configs = await db
       .selectFrom("config")
       .where("config_name", "=", link)
       .selectAll("config")
       .execute();

     const proxyResult = await db
       .selectFrom("config_proxy")
       .where("config_proxy.config_key", "=", configs[0].config_key)
       .selectAll()
       .execute();

     const ipAddresses = [];
     for (const proxy of proxyResult) {
       const ipResult = await db
         .selectFrom("cblock_ip")
         .where("cblock_ip.ip_key", "=", proxy.ip_key)
         .select("cblock_ip.ip_address")
         .execute();

       if (ipResult.length > 0) {
         ipAddresses.push(`${ipResult[0].ip_address}:${proxy.ip_port}`);
       }
     }

  but yea that's a pain when it I have like 300+ results for ip_address , I tried doing it with map and promise but the that seems mysql driver doesn't limit the connections well enough, one other thing I could do to make it work with map was to increase the mysql connections limit on my server 1000, that seemed to be working but yea only 4 gb of ram, doesn't seem to be enough for 1000 connections. Isn't there a better way to do this ? maybe I could use like plain SQL ?

You can do all that in a single query. Here's a simple two-line change that already drops the queries down to three:
const configs = await db
  .selectFrom("config")
  .where("config_name", "=", link)
  .selectAll("config")
  .execute();

const proxyResult = await db
  .selectFrom("config_proxy")
  .where("config_proxy.config_key", "=", configs[0].config_key)
  .selectAll()
  .execute();

const ipResult = await db
  .selectFrom("cblock_ip")
  .where("cblock_ip.ip_key", "in", proxyResult.map(it => it.ip_key))
  .select("cblock_ip.ip_address")
  .execute();

if (ipResult.length > 0) {
  ipAddresses.push(`${ipResult[0].ip_address}:${proxy.ip_port}`);
}

Here's all of it in one query:
const result = await db
  .with("config", qb => qb
    .selectFrom("config")
    .selectAll()
    .where("config_name", "=", link)
  .with("proxy", qb => qb
    .selectFrom("config_proxy")
    .selectAll()
    .where("config_proxy.config_key", "in", qb.selectFrom("config").select("config_key"))
  .selectFrom("cblock_ip")
  .where("cblock_ip.ip_key", "in", (eb) => eb.selectFrom("proxy").select("ip_key"))
  .select("cblock_ip.ip_address")
  .execute();

thanks a lot , just the first one where you change it to 3 queries was enough, but thanks for taking the time to write them, I have something to play with now :)

So one more quick question if you don't mind, I tried to build a query like this one:
  const result = await db
      .with("user_result", (qb) =>
        qb
          .selectFrom("member")
          .select("member_key")
          .where("member_key", "=", user))
      .selectFrom("member_social")
      .where(
        "member_social.member_key",
        "in",
        (eb) => eb.selectFrom("user_result").select("member_key"),
      )
      .select("member_social.avatar_url")
      .execute();

The error I get is:
500 internal error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`user_result` as (select `member_key` from `member` where `member_key` = "9770")' at line 1
;

This means that mysql doesn't support this type of query right and I have to do them one by one right ?


Change variable o to organization for generated certficates.

Follow up for PR #3376 as per comment , replacing the variable o with organization.

Thanks! 👍 🎉


Fix typo and delete unnecessary spaces

typo: </br> -> <br />
delete unnecessary spaces: As Markdown syntax, there was a large amount of half-width spaces that did not affect the display, so I deleted it

@changeworld : Thanks for your contribution! The author, @rolyon, has been notified to review your proposed change.

Hi @changeworld
Thanks for making these updates.

#sign-off


Mention Typed Memoryviews in the Working with NumPy doc.

When using google to search for how to use numpy and cython, users find themselve on the Working with NumPy page, with the old interface to the numpy arrays.
Nothing to tell them that there is a more recent interface (Typed Memoryviews).
I added a note at the top of the page to mention the existence of Memoryviews.

While I'm all for adding such a note, I'd be careful saying that memoryviews are (always) faster and making it appear like you cannot use the buffers syntax without the GIL.  I'll relativise it a bit.

Sure thing. I'll be more careful in my choice of words next time. Thanks for the feedback!


Gathering: replace ligand names with random strings

Some of our partners have run the private datasets with internal ligand names. We will need to replace the ligand names in the gathering script and also provide a table of private to public names for the partners.

Is it safe to use the gufe key of the ligand? Or should we use a random string like a, b, c ?

I think we will need to use something more human accessible - the partners will need to manually provide assay data and as part of this will need to match the new names with the old ones, so long gufe keys might be a lot of work.


How do I overlay an image over the background one ?

You can use a  element for this purpose.
and following CSS
.container {
background-image: url('background-image.jpg');
position: relative;
}
.overlay {
position: absolute;
top: 0;
left: 0;
z-index: 1;
}

Hi, I've created a Word doc with a few different examples of an overlay with CSS.
Quick Overview (CSS Overlay).docx

You can overlay an image over a background using CSS by using the position property and the ::before or ::after pseudo-elements. Here's a basic example:
HTML:

Content goes here

CSS:
.container {
  position: relative;
}

.container::before {
  content: "";
  background: url('background-image.jpg');
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5; /* Adjust the opacity as needed */
  z-index: -1; /* Place the overlay behind the content */
}

In this example, the ::before pseudo-element is used to create the overlay. Adjust the background property with the path to your background image, and you can also adjust the opacity to control the overlay's transparency.
Make sure to adjust the paths to your actual image files, and customize the styles to match your design.

The HTML will look like this:

Software development

Javascript developer

            <button>Hire Me</button>

The css will look like this

 header {
        height: 100vh;
        width: 100%;
        text-align: center;
        padding-top: 100px;
        color: white;
        overflow: hidden;
        background: #c04848; /* fallback for old browsers */
        background: linear-gradient(rgb(72, 0, 72, 0.8), rgb(192, 72, 72, 0.8)),
          url("/luke-peters-B6JINerWMz0-unsplash.jpg");
        background-size: cover;
        background-repeat: no-repeat;
      }
      header h1,
      h2 {
        margin: 2rem;
        font-size: 3rem;
      }
      header button {
        padding: 1.5rem;
        border-radius: 0.2rem;
        background-color: white;
        border: none;
        font-size: 1.5rem;
        color: rgb(72, 0, 72, 0.8);
        font-weight: bold;
      }

The result will look like this


Disc full errors on clusters 4+ days old

'Overlay' filesystem at 100% capacity, not allowing new pods to spin up on clusters 4+ days old.

we're going to need to remount the rkt volumes on the extended storage disk @venezia

was resolved awhile ago:  /var/lib/docker now has its own 100GB EBS volume.


Bug 2310062: build: update golang x/net version

Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
[ ] Reviewed the developer guide on Submitting a Pull Request
[ ] Pending release notes updated with breaking and/or notable changes for the next minor release.
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.

/bugzilla refresh

/bugzilla refresh

/bugzilla refresh

/bugzilla refresh


Addressable resolver now accepts custom resolvers

Changes

:gift: The addressable resolver can now be configured to run custom resolvers before falling back to the default duck-type based URI resolution.
Needed for https://github.com/knative/eventing/issues/5593

/kind

Fixes #

Release Note

Docs

@markusthoemmes @vaikas Can you PTAL, ideally before tomorrow pkg release? I believe this PR is completely harmless and if it turns out that eventing#5593 does not work for users, I'll submit a PR to revert this change.

@vaikas WDYT?

now that the release happened, can we get this in? 🙏 @markusthoemmes

/assign @n3wscott

/cc @julz

should be good now @n3wscott

@n3wscott can you please TAL?


Adds a method to publish docker images

This is a test.

Jenkins job istio-testing/pr-master passed

This is a test.

Jenkins job istio-testing/pr-master passed


Document structure of CMSIS_PACK_ROOT folder and the file usage

The Problem To Be Solved
The files and the overall structure of the CMSIS_PACK_ROOT folder needs better documentation.
It is also unclear when and how the files are used.  Specifically, there is a need to specify how cpackget and off-line installers (like MDK PackInstaller) are using these files. Documentation should cover therefore:

how are the different tools using the files in CMSIS_PACK_ROOT.

Going forward, the proposal is to use web services.  This should remove the need to keep local copies of each *.pdcs file in the .web folder. I'm not suggesting to drop this now, but over time.
This issue relates to https://github.com/Open-CMSIS-Pack/cpackget/issues/357 + https://github.com/Open-CMSIS-Pack/cpackget/issues/355

There is this wiki page:
https://github.com/Open-CMSIS-Pack/devtools/wiki/The-CMSIS-PACK-Root-Directory


FR: insert namespace

I would like to request a new feature that can automate namespace insertions.
Given I'm in web/module/custom/example/src/Controller/ExampleController.php
-> generates namespace Drupal\example\Controller;
Given I'm in web/module/custom/theme/src/Plugin/Block/ExampleBlock.php
-> generates namespace Drupal\example\Plugin\Block;
The logic seems consistent enough, although Test namespaces are a little different.
Thank you for your consideration.

The best I could find was https://www.drupal.org/docs/develop/standards/php/psr-4-namespaces-and-autoloading-in-drupal-8#s-namespace-resolution .
VSCode does support some file-based variables in snippets such as:

TM_FILENAME The filename of the current document
TM_DIRECTORY The directory of the current document
TM_FILEPATH The full file path of the current document
RELATIVE_FILEPATH The relative (to the opened workspace or folder) file path of the current document

I'm not sure how well these can be parsed/manipulated.

Closing due to lack of movement.


Small fixes for the sil-devirtualizer

What's in this pull request?

Better ABI compatibility checks - more aligned with the SIL verifier.
The devirtualizer now respects the no-opt markers of callee functions.
Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[x] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test


Not able to select default signature

What operating system are you using?
MacOS Sierra
What version of Nylas Mail are you using?
1.0.29
Bug?
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
Not sure, as I use only Gmail
When selecting signature corresponding to my Gmail accounts, Nylas always shows 0 accounts, and never allows to select the account for adding.

Same here.
What operating system are you using?
MacOS El Capitan 10.11.6
What version of Nylas Mail are you using?
1.0.29
Bug?
Yes. I am unable to set the default signature for any of my accounts. Clicking on the dropdown item doesn't do anything:

Was mentioned in #3286 that a fix will be released for this in the next release.

This should be fixed! Let me know if you continue having issues


⚠ Bofrost.lu has degraded performance

In 5dee02f, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1047 ms

Resolved: Bofrost.lu performance has improved in b2111fc after 22 minutes.


Fix visuals in privacy share permissions view

Fixes #2363

Moved back button to header
Removed subheader
Updated affected views due to class name changes

@saleiva @xavijam review, please

by request, @javierarce can you review this too?

Frontend tests were OK :+1: (details)

:+1:

:eyes: Looks fine to me :+1:

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)


Move protocol implementations such as CMP outside libcrypto

cmpv2 protocal works over https, the current structure  seems not match with this relationship, the dependencies will be more clear that cmp module  move to the directly that same with tls and crypto from this side.
Current Structure::
tls
crypto
--cmp
To be more clear:
cmp
tls
crypto
Version: 3.0.0 Beta1

On a personal note, I agree.  There are a number of protocol implementations (not just cmp) that have been included in libcrypto that I would rather have seen as separate libraries (just like libssl).
However, it's a little too late to change this for 3.0 at this point.

it's a little too late

it's a lot too late!!

What?  Me, a tendency to understate things????
[pleads guilty]

Year, this will be better that consider in Post 3.0.0

cmpv2 protocal works over https, the current structure seems not match with this relationship,

Not really.
CMP works over any reliable transfer protocol - it is designed to be transport agnostic.
HTTP transfer is just one option, but in practice it is the predominantly used one.
TLS may be used underneath, arriving at HTTPS, but from the cert management security perspective it is not needed.

Anyway, I agree on the aim of moving the OpenSSL CMP implementation out of libcrypto.
I propose an improved OpenSSL library structure already

back in 2017:  #4992
and in 2020:  #13440

The proposal given here (though given with not the right technical motivation) is just an instance of that.


[HOPS-682] fixed hdfs-default.xml for block report load balancing

Make sure there is no duplicate PR for this issue

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added and passed (for bug fixes / features)
[x] HOPS JIRA issue has been opened for this PR
[x] All commits have been squashed down to a single commit
[x] The commit message has the following format: [HOPS-XXX] message

Post a link to the associated JIRA issue
https://hopshadoop.atlassian.net/browse/HOPS-682

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Can one of the admins verify this patch?


executor: fix printing null master in netlink_device_change

The issues is only present with verbose debugging enabled.
executor/common_linux.h: In function ‘void netlink_device_change(nlmsg*, int, const char*, bool, const char*, const void*, int, const char*)’:
executor/common_linux.h:380:7: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  380 |  debug("netlink: device %s up master %s: %s\n", name, master, strerror(err));

Hm, I've included the generated file and did a force push, but CI is still not happy for some reason.

Re-running the action does not help.
It seems like a bug in the checkout action, it fetches merge and it is somehow corrupted:
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +3280deb2ae47355c22a38d8a90c35669307cd655:refs/remotes/pull/1772/merge
/usr/bin/git checkout --progress --force refs/remotes/pull/1772/merge
/usr/bin/git log -1
commit 3280deb2ae47355c22a38d8a90c35669307cd655
Author: Andrey Konovalov
Date:   Thu May 28 21:33:37 2020 +0200
    Merge 9d47ac4c3aec5da62fdf4710e4f1e9236df19a66 into d19ed305ae462d0bd5b11771f2180cab2d35a954


Fix WP Manipulate Arrays with Shift Example Code

Also move display function to tail.
Closes #4864

:+1:


Handling deleted notes in obsidian

I love two way sync! I think it could be enhanced by better handling deleted notes in obsidian. At this point (v0.2.1) the note just gets added again in obsidian after next sync. I'd prefer that the note would get deleted in the fleeting notes app too!
I realise this could create problematic situations where ones notes all get deleted by accident when the sync plugin isn't set up properly.  Maybe a "trash" folder could help avoid this?

Hey @iroQuai thank you for the feedback! I'd like to understand your use case for this. Do you want to delete the Fleeting Notes after it's been synced with Obsidian?
I'm asking because I've gotten feedback from other people who want a feature to delete the note from Fleeting Notes after it's been synced to Obsidian. I'm wondering if you fit in this same group as well.

Actually I do not really delete the note, but most of the time I edit the note to a more permanent form and move the note to a different folder (probably the main vault folder, sometimes the "sources" folder if the note mainly contains highlights from an URL)
So after I processed the fleeting note in obsidian and moved it to a more permanent spot, I'd like the the note to be gone in the fleeting notes app too!

It sounds like you "process" your notes once you take them. I've added a command to make it easier to grab unprocessed notes. here is a video of it in action: https://www.youtube.com/watch?v=sFQaDeFNecc
Let me know if this is helpful for you! @iroQuai

I really appreciate you working on a solution!I tried working with it but I find this solution pretty unnatural. Isn't there a way to change some metadata or add a checkmark to a note? I'd rather mark a specific note as processed than a central list with checkmarks...

thanks for the suggestion, i'll be adding an option to delete notes in the metadata in the near future! see #13 for more updates


Bug Downloading js player en_US-vflIsoTq9

[youtube] 9OnHLicVTos: Downloading js player en_US-vflIsoTq9
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 820, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 883, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/lib/python2.7/dist-packages/youtube_dl/jsinterp.py", line 241, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'ez'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError(u"Could not find JS function u'ez'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

You are using an outdated version of youtube-dl. Read this FAQ entry if you have troubles updating.


Error: SD version check failed

I'm updating APP+SD+BL and it works on Android and via an HDK but it fails on iOS. Could it be related to this PR: https://github.com/NordicSemiconductor/pc-nrfutil/pull/64 ?
The error I get is:
Error: SD version check failed

To be clear, my old app allowed only SD 4.0.2 but my new package has SD 4.0.4 and allows both SD 4.0.4 and SD 4.02.

NVM, I solved it by adding the old SD-id to --sd-id in the pkg generate command.

Hi, in Secure DFU it's not possible to update the same bootloader twice. Each next must have higher bootloader version. If you flash the old sd+bl+app, and update it in iOS it should work just like it did on Android. Error SD version check is sent from the DFU bootloader.


Increase feature-parity between Translatable and ActionView's TranslationHelper

Summary

Improve feature parity with Rails translations

Don't create a translation backend if the component has no translation file
Mark translation keys ending with html as HTML-safe
Always convert keys to String
Support multiple keys

Other Information

While migrating from shared translations to Translatable in an application we run into problems related to the missing support for translation keys ending in _html.
Also we're including Translatable inside ApplicationComponent, doing this shouldn't affect memory after this change.

This is really great, thank you for the updates!


Can't reload the open files

I think this problem is a little hard to describe, and I have tried to search about this but not solve it. In this tens of thousands of issues may have been a solution for my problem, but I did not find it.

VSCode Version: 1.13.0 (376c52b955428d205459bea6619fc161fc8faacf, 2017-06-08T16:43:13.058Z)
OS Version: Microsoft Windows NT 10.0.15063.0
I have disabled all extensions

Steps to Reproduce:

open some single files(don't open any folder)

close vscode
reopen vscode

There is no file open.
I want to reload the open files.
Sorry for my poor English. 😅

I am experiencing this with folders too. I.e. open a folder in VS Code, quit VS Code, start VS Code. The folder is no longer open in VS Code.
This appears to be a change / regression in version 1.13 as this was working in 1.12.

Different from you， it can reload the open folder after reopen on my computer.
But it still can't reload the open files.

This is #207

Thanks for your help, I wish your new feature.


Migrating to api v2

At this moment, there is no Mailhide in api v2, so i left it untouched. As soon as they migrate this product too, we need to update this library.
Also, we need changes in ReCaptcha element for Zend\Form and Zend\Captcha\ReCaptcha for use this new service.

Awesome! Thanks!

I'll delegate to @weierophinney to decide if this should be merged

@weierophinney whats the latest on this?

Superseded by https://github.com/zendframework/ZendService_ReCaptcha/pull/11

Thanks!


zkvm/tests: use predicate chooser in tests

Use choose_predicate API in tests (some small bug fixes also)

Sorry for not making it clearer, but this issue will bring Taproot and effectively replace select+call with just call: https://github.com/interstellar/slingshot/issues/248 and make this change undone.

This is made obsolete by Taproot API merged in #268


DDoS by requesting DAG blocks

Description
We are DDoS our network by sending too many block request when tip or pivot is missing on new DAG block. This should be reworked as we get those missing pivots/tips later on.
All is caused by this condition:
https://github.com/Taraxa-project/taraxa-node/blob/develop/src/network/taraxa_capability.cpp#L378

https://github.com/Taraxa-project/taraxa-node/pull/1172


Add Style Guide and Code Structure

Related Issue: Closes #157

Summary:

This change adds two new pieces of documentation for new contributors:

Style Guide: this document outlines the stuff that Prettier and ESLint miss, stuff that requires a bit of intuition. So far this is very minimal, but I'm sure there's other stuff I'm forgetting
Code Structure: information on our tools and how we use them.

Feedback greatly appreciated!

Good suggestions, @AWolf81! Will add.

Gonna merge this as I believe I've addressed @j-f1's feedback! As always, let me know if I've missed something :)


Timestamps not correctly from XX:00 to XX:09

https://imgur.com/yK1BaN4
-> Leading zero is missing.

Fixed
e51dbc3b4d7097164ae5ea5e56c5f61cd8758997


Added rss_image to post

Description
Adds functionality to include an image in a rss feed.
References
Adds #662
Checklist

[X] I have read the contribution guide
[X] Code lint checked via inv lint
[X] changes file included (see docs)
[ ] Usage documentation added in case of new features
[X] Tests added

Thanks @g3rb3n  for your contribution. I was wondering if you could the base post image as rss feed post image.
This will help reduce the complexity of the post admin

This has been merged by mistake with #729 , sorry
Thanks for your contribution, you will be credited for this :)


Using GitOps and Grafana Operator with Amazon Managed Grafana

Issue #, if available:
Description of changes:
Using GitOps and Grafana Operator with Amazon Managed Grafana
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@awsimaya Fixed all your feedback and also revamped few things here and there to align to your feedback. Please check and let me know.


Add unit test for HackerNewsService

Coverage increased (+21.5%) to 84.018% when pulling 4be05cb8ebe5e7618dcc0d60f1608894c075fdd3 on test/hacker_news_service into ad02b86b9e9c7bd751b0976c84987f700a76b739 on master.


Add JNI bindings for gltfio on desktop

I would like to be able to use gltfio using Java\Kotlin for desktop platforms (right now I'm working on Windows). Inside the Windows release, I can find bindings for Filament (filament-java.jar, filament-jni.dll) and Filamat (filamat-java.jar, filamat-jni.dll), but I can't find gltfio. Right now, I don't know how to replicate Android's ModelViewer util on desktop platforms.
Describe the solution you'd like
Include all libraries for each desktop platform (Windows, Linux, MacOS) to be able to use Filament completely, like on Android.
OS and backend
Windows, Linux, MacOS

@prideout You'd need to add a directory in java/ for gltfio/. You can start from the CMakeLists.txt in java/filamat.


Some error

I follow tutorial and install crank-agent and start it.
Then I launch crank --config samples/hello/hello.benchmarks.yml --scenario hello --profile local from powershell core
First time it produce results
crank --config samples/hello/hello.benchmarks.yml --scenario hello --profile local
[06:35:46.635] Running session 'c1d5e040be52474c97d0c1ca42b0d634' with description ''
[06:35:46.690] Starting job 'application' ...
[06:35:46.961] Fetching job: http://localhost:5010/jobs/1
[06:36:39.408] Job has been selected by the server ...
[06:36:39.413] Job is now building ...
[06:42:08.029] Job is running...
[06:42:08.034] Starting job 'load' ...
[06:42:08.040] Fetching job: http://localhost:5010/jobs/2
[06:42:10.069] Job has been selected by the server ...
[06:42:10.071] Job is now building ...
[06:42:23.175] Job is running...
[06:44:41.675] Stopping job 'load' ...
[06:44:42.760] Deleting job 'load' ...
[06:44:42.804] Stopping job 'application' ...
[06:44:43.828] Deleting job 'application' ...

application
-------

## Host Process:
CPU Usage (%):        5
Raw CPU Usage (%):    38.53
Working Set (MB):     52
Build Time (ms):      14,211
Start Time (ms):      4,408
Published Size (KB):  86,819

load
-------

## Host Process:
CPU Usage (%):        3
Raw CPU Usage (%):    20.17
Working Set (MB):     33
Build Time (ms):      5,223
Start Time (ms):      41
Published Size (KB):  68,190

## Benchmark:
First Request (ms):   306
Requests:             512
Bad responses:        512
Mean latency (us):    10,096,008
Max latency (us):     10,609,015
Requests/sec:         17
Requests/sec (max):   3,350

I notice that there 512 failed requests, and attempt to run again with same command.
I have only partial results
[07:14:33.811] Running session 'd56a13d2506345abbf5ec7a4d38ae2df' with description ''
[07:14:33.860] Starting job 'application' ...
[07:14:33.903] Fetching job: http://localhost:5010/jobs/7
[07:14:34.926] Job has been selected by the server ...
[07:14:34.930] Job is now building ...
[07:14:50.047] Job is running...
[07:14:50.052] Starting job 'load' ...
[07:14:50.055] Fetching job: http://localhost:5010/jobs/8
[07:14:52.071] Job has been selected by the server ...
[07:14:52.073] Job is now building ...
[07:15:05.216] Job is running...

Crank-agent has following logs
[07:14:34.640] Processing job 'application' (7) in state New
[07:14:34.641] Acquiring Job 'application' (7)
[07:14:34.641] Checking requirements...
[07:14:34.642] New -> Initializing
[07:14:35.645] Processing job 'application' (7) in state Waiting
[07:14:35.645] Starting job 'application' (7)
[07:14:35.645] Waiting -> Starting
[07:14:35.646] Created temp directory 'C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\uutkasr1.mmr'
[07:14:35.647] Cloning https://github.com/dotnet/crank with branch 'master'
[07:14:35.755] [STDERR] Cloning into 'crank'...
[07:14:38.506] Benchmarked Application in C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\uutkasr1.mmr\crank\samples\hello
[07:14:38.507] Downloading build tools
[07:14:38.507] Installing dotnet runtimes and sdk
[07:14:38.510] Detected target framework: 'netcoreapp3.1'
[07:14:38.511] Patching project file with Framework References
[07:14:41.288] Runtime: 3.1.6 (Current)
[07:14:41.288] SDK: 3.1.302 (Current)
[07:14:41.289] ASP.NET: 3.1.6 (Current)
[07:14:41.289] Patching existing global.json file
[07:14:41.292] Desktop: 3.1.6 (Current)
[07:14:41.293] Publishing application in C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\uutkasr1.mmr\crank\samples\hello\published with:
 publish hello.csproj -c Release -o C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\uutkasr1.mmr\crank\samples\hello\published /p:MicrosoftNETCoreAppPackageVersion=3.1.6 /p:MicrosoftWindowsDesktopAppPackageVersion=3.1.6 /p:MicrosoftAspNetCoreAppPackageVersion=3.1.6 /p:BenchmarksNETStandardImplicitPackageVersion=3.1.6 /p:BenchmarksNETCoreAppImplicitPackageVersion=3.1.6 /p:BenchmarksRuntimeFrameworkVersion=3.1.6 /p:BenchmarksTargetFramework=netcoreapp3.1 /p:BenchmarksAspNetCoreVersion=3.1.6 /p:MicrosoftAspNetCoreAllPackageVersion=3.1.6 /p:NETCoreAppMaximumVersion=99.9 /p:MicrosoftNETCoreApp31PackageVersion=3.1.6 /p:MicrosoftNETPlatformLibrary=Microsoft.NETCore.App /p:RestoreNoCache=true --framework netcoreapp3.1 --self-contained -r win-x64
[07:14:47.451] Application published successfully in 6156.6666 ms
[07:14:47.452] Patching hello.runtimeconfig.json
[07:14:47.454] Application is self-contained, skipping runtimeconfig.json
[07:14:47.455] Published size: 86819
[07:14:47.455] Invoking executable: C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\uutkasr1.mmr\crank\samples\hello\published\hello.exe
[07:14:47.456]   Arguments:
[07:14:47.456]   Working directory: C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\uutkasr1.mmr\crank\samples\hello\published
[07:14:47.499] Process started: 29640
[07:14:47.499] Starting measurement
[07:14:48.739] Processing job 'application' (7) in state Starting
[07:14:49.564] AspNetCore location: C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\uutkasr1.mmr\crank\samples\hello\published\Microsoft.AspNetCore.Hosting.Abstractions.dll
[07:14:49.564] AspNetCore version: 3.1.6
[07:14:49.564] NETCoreApp location: C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\uutkasr1.mmr\crank\samples\hello\published\System.Private.CoreLib.dll
[07:14:49.564] NETCoreApp version: 3.1.5-servicing.20269.1+018cfd06dceb19b6eb1e9217a500fb1071946fcd
[07:14:49.689] info: Microsoft.Hosting.Lifetime[0]
[07:14:49.689]       Now listening on: http://[::]:5000
[07:14:49.703] info: Microsoft.Hosting.Lifetime[0]
[07:14:49.703]       Application started. Press Ctrl+C to shut down.
[07:14:49.704] Running job 'application' (7)
[07:14:49.704] info: Microsoft.Hosting.Lifetime[0]
[07:14:49.704]       Hosting environment: Production
[07:14:49.705] info: Microsoft.Hosting.Lifetime[0]
[07:14:49.705]       Content root path: C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\uutkasr1.mmr\crank\samples\hello\published
[07:14:49.750] Processing job 'application' (7) in state Running
[07:14:50.755] Adding job 'load' (8) to group
[07:14:50.755] Processing job 'application' (7) in state Running
[07:14:51.765] Processing job 'load' (8) in state New
[07:14:51.765] Acquiring Job 'load' (8)
[07:14:51.765] Checking requirements...
[07:14:51.766] New -> Initializing
[07:14:52.770] Processing job 'application' (7) in state Running
[07:14:53.779] Processing job 'load' (8) in state Waiting
[07:14:53.779] Starting job 'load' (8)
[07:14:53.780] Waiting -> Starting
[07:14:53.780] Created temp directory 'C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\1hfikjk4.jua'
[07:14:53.781] Cloning https://github.com/dotnet/crank.git with branch 'master'
[07:14:53.885] [STDERR] Cloning into 'crank'...
[07:14:56.843] Benchmarked Application in C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\1hfikjk4.jua\crank\src\Microsoft.Crank.Jobs.Bombardier
[07:14:56.843] Downloading build tools
[07:14:57.156] Installing dotnet runtimes and sdk
[07:14:57.158] Detected target framework: 'netcoreapp3.1'
[07:14:57.158] Patching project file with Framework References
[07:15:00.233] Runtime: 3.1.6 (Current)
[07:15:00.234] SDK: 3.1.302 (Current)
[07:15:00.234] ASP.NET: 3.1.6 (Current)
[07:15:00.234] Patching existing global.json file
[07:15:00.238] Desktop: 3.1.6 (Current)
[07:15:00.239] Publishing application in C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\1hfikjk4.jua\crank\src\Microsoft.Crank.Jobs.Bombardier\published with:
 publish Microsoft.Crank.Jobs.Bombardier.csproj -c Release -o C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\1hfikjk4.jua\crank\src\Microsoft.Crank.Jobs.Bombardier\published /p:MicrosoftNETCoreAppPackageVersion=3.1.6 /p:MicrosoftWindowsDesktopAppPackageVersion=3.1.6 /p:MicrosoftAspNetCoreAppPackageVersion=3.1.6 /p:BenchmarksNETStandardImplicitPackageVersion=3.1.6 /p:BenchmarksNETCoreAppImplicitPackageVersion=3.1.6 /p:BenchmarksRuntimeFrameworkVersion=3.1.6 /p:BenchmarksTargetFramework=netcoreapp3.1 /p:BenchmarksAspNetCoreVersion=3.1.6 /p:MicrosoftAspNetCoreAllPackageVersion=3.1.6 /p:NETCoreAppMaximumVersion=99.9 /p:MicrosoftNETCoreApp31PackageVersion=3.1.6 /p:MicrosoftNETPlatformLibrary=Microsoft.NETCore.App /p:RestoreNoCache=true --framework netcoreapp3.1 --self-contained -r win-x64
[07:15:05.081] Application published successfully in 4841.0721 ms
[07:15:05.082] Patching Microsoft.Crank.Jobs.Bombardier.runtimeconfig.json
[07:15:05.083] Application is self-contained, skipping runtimeconfig.json
[07:15:05.084] Published size: 68190
[07:15:05.084] Invoking executable: C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\1hfikjk4.jua\crank\src\Microsoft.Crank.Jobs.Bombardier\published\Microsoft.Crank.Jobs.Bombardier.exe
[07:15:05.085]   Arguments:  -c 256 -w 0 -d 15 -n 0 --insecure -l  --fasthttp   http://localhost:5000/
[07:15:05.085]   Working directory: C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\1hfikjk4.jua\crank\src\Microsoft.Crank.Jobs.Bombardier\published
[07:15:05.120] Running job 'load' (8)
[07:15:05.120] Process started: 24904
[07:15:05.120] Starting measurement
[07:15:06.871] Processing job 'application' (7) in state Running
[07:15:07.881] Processing job 'load' (8) in state Running
[07:15:08.890] Processing job 'application' (7) in state Running
[07:15:08.943] Bombardier Client
[07:15:08.943] args: -c 256 -w 0 -d 15 -n 0 --insecure -l --fasthttp http://localhost:5000/
[07:15:09.269] Measuring first request ... 306 ms
[07:15:09.279] Downloading bombardier from https://github.com/codesenberg/bombardier/releases/download/v1.2.4/bombardier-windows-amd64.exe to bombardier-windows-amd64.exe
[07:15:09.906] Processing job 'load' (8) in state Running
[07:15:10.917] Processing job 'application' (7) in state Running
......
[07:15:48.231] Processing job 'load' (8) in state Running
[07:15:49.246] Processing job 'application' (7) in state Running
[07:15:49.731] > bombardier  -d 15s -c 256 --insecure -l --fasthttp http://localhost:5000/ --print r --format json
[07:15:50.261] Processing job 'load' (8) in state Running
[07:15:50.375] [STDERR] ##ChildProcessId:27176
[07:15:51.262] Processing job 'application' (7) in state Running
[07:15:52.263] Processing job 'load' (8) in state Running
[07:15:53.269] Processing job 'application' (7) in state Running
[07:15:54.278] Processing job 'load' (8) in state Running
[07:15:55.285] Processing job 'application' (7) in state Running
[07:15:56.285] Processing job 'load' (8) in state Running
[07:15:57.294] Processing job 'application' (7) in state Running
[07:15:58.299] Processing job 'load' (8) in state Running
[07:15:59.314] Processing job 'application' (7) in state Running
[07:15:59.576] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'application' (7).
[07:15:59.576] Running -> Stopping
[07:16:00.326] Processing job 'load' (8) in state Running
[07:16:00.528] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:00.529] Running -> Stopping
[07:16:00.590] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'application' (7).
[07:16:01.327] Processing job 'application' (7) in state Stopping
[07:16:01.327] Stopping job 'application' (7)
[07:16:01.328] Stopping measurement event pipes for job 'application' (7)
[07:16:01.544] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:02.559] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:03.580] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:04.592] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:05.606] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:06.621] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:07.626] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:08.636] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:09.653] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:10.669] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:10.994] {"spec":{"numberOfConnections":256,"testType":"timed","testDurationSeconds":15,"method":"GET","url":"http://localhost:5000/","body":"","stream":false,"timeoutSeconds":2,"client":"fasthttp"},"result":{"bytesRead":0,"bytesWritten":158720,"timeTakenSeconds":20.596004,"req1xx":0,"req2xx":0,"req3xx":0,"req4xx":0,"req5xx":0,"others":512,"errors":[{"description":"the server closed connection before returning the first response byte. Make sure the server returns 'Connection: close' response header before closing the connection","count":512}],"latency":{"mean":1.0088474890625e+07,"stddev":65479.310496470105,"max":1.0576999e+07,"percentiles":{"50":10066038,"75":10121002,"90":10144001,"95":10148002,"99":10568014}},"rps":{"mean":17.368926103888505,"stddev":195.21480631463487,"max":3375.717339934736,"percentiles":{"50":0.000000,"75":0.000000,"90":0.000000,"95":0.000000,"99":45.608400}}}}
[07:16:11.684] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:16:11.684] Process has exited (0)
[07:16:11.685] Stopping -> Stopped
....
[07:17:26.358] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:17:26.359] Process has exited (0)
[07:17:26.359] Stopped -> Stopped
[07:17:27.372] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:17:27.373] Process has exited (0)
[07:17:27.373] Stopped -> Stopped
[07:17:28.374] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:17:28.375] Process has exited (0)
[07:17:28.375] Stopped -> Stopped
[07:17:29.388] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:17:29.389] Process has exited (0)
[07:17:29.389] Stopped -> Stopped
[07:17:30.390] Process has exited (0)
[07:17:30.390] Stopped -> Stopped
[07:17:31.316] Forcing process to stop ...
[07:17:31.322] Waiting for process 29640 to stop ...
[07:17:31.399] Process has exited (0)
[07:17:31.399] Stopped -> Stopped
[07:17:32.327] Process has stopped
[07:17:32.327] Process stopped (Stopped)
[07:17:32.410] Process has exited (0)
[07:17:32.410] Stopped -> Stopped
[07:17:33.339] Processing job 'load' (8) in state Stopped
[07:17:33.339] Job 'load' (8) has stopped, waiting for the driver to delete it
[07:17:33.422] Process has exited (0)
[07:17:33.422] Stopped -> Stopped
[07:17:34.345] Processing job 'application' (7) in state Stopped
[07:17:34.345] Job 'application' (7) has stopped, waiting for the driver to delete it
[07:17:34.346] Driver didn't communicate for 00:00:10. Halting job.
[07:17:34.346] Stopped -> Deleting
[07:17:34.435] Process has exited (0)
[07:17:34.435] Stopped -> Stopped
[07:17:35.355] Processing job 'load' (8) in state Stopped
[07:17:35.355] Job 'load' (8) has stopped, waiting for the driver to delete it
[07:17:35.445] Process has exited (0)
[07:17:35.445] Stopped -> Stopped
[07:17:36.364] Processing job 'application' (7) in state Deleting
[07:17:36.365] Deleting job 'application' (7)
[07:17:36.365] Deleting directory 'C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\uutkasr1.mmr'
[07:17:36.459] Process has exited (0)
[07:17:36.459] Stopped -> Stopped
[07:17:36.961] SUCCESS
[07:17:36.962] Deleting -> Deleted
[07:17:37.462] Process has exited (0)
[07:17:37.462] Stopped -> Stopped
[07:17:37.968] Processing job 'load' (8) in state Stopped
[07:17:37.968] Job 'load' (8) has stopped, waiting for the driver to delete it
[07:17:38.476] Process has exited (0)
[07:17:38.476] Stopped -> Stopped
[07:17:38.969] Processing job 'application' (7) in state Deleted
[07:17:39.489] Process has exited (0)
[07:17:39.490] Stopped -> Stopped
[07:17:39.981] Processing job 'load' (8) in state Stopped
[07:17:39.982] Job 'load' (8) has stopped, waiting for the driver to delete it
[07:17:40.499] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:17:40.499] Process has exited (0)
[07:17:40.500] Stopped -> Stopped
[07:17:40.983] Processing job 'application' (7) in state Deleted
[07:17:41.511] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:17:41.512] Process has exited (0)
[07:17:41.512] Stopped -> Stopped
[07:17:41.995] Processing job 'load' (8) in state Stopped
[07:17:41.996] Job 'load' (8) has stopped, waiting for the driver to delete it
[07:17:41.996] Driver didn't communicate for 00:00:10. Halting job.
[07:17:41.996] Stopped -> Deleting
[07:17:42.527] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:17:42.528] Process has exited (0)
[07:17:43.011] Processing job 'application' (7) in state Deleted
[07:17:43.544] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'load' (8).
[07:17:43.544] Process has exited (0)
[07:17:44.026] Processing job 'load' (8) in state Deleting
[07:17:44.026] Deleting job 'load' (8)
[07:17:44.026] Stopping measurement event pipes for job 'load' (8)
[07:17:44.026] Process stopped (Deleting)
[07:17:44.027] Deleting directory 'C:\Users\kant\AppData\Local\Temp\benchmarks-agent\benchmarks-server-24280\1hfikjk4.jua'
[07:17:44.486] SUCCESS
[07:17:44.486] Deleting -> Deleted
[07:17:45.497] All jobs in group are finished

Any way to troubleshoot?

[07:15:59.576] [Heartbeat] Driver didn't communicate for 00:00:10. Halting job 'application' (7).

It looks like the driver stopped. When it's running it's pinging the agent every second. If the agent hasn't received a ping from crank in 10s then it stops all jobs.


Export and document some more things?

First, thanks for this package!  I made some functions for creating objects from my GenomicVectors.jl package using your BAM reader functions. I think I found the right functions.
Chromosome names and lengths:
function GenomeInfo(name, reader::BioAlignments.BAM.Reader)
GenomeInfo(name,
reader.refseqnames,
reader.refseqlens
)
end
Chromosome name and alignment start and end positions:
read_bam = function(bam_file)
# iterate over BAM records
chr = String[]
left_pos = Int64[]
right_pos = Int64[]
for record in reader
push!(chr, BAM.refname(record))
push!(left_pos, leftposition(record))
push!(right_pos, rightposition(record))
end
DataFrame(chr = chr, left = left_pos, right = right_pos)
end
Should/could reader.refseqnames, reader.refseqlens and BAM.refname be exported? I'd be happy to add the exports, some docstrings and a bit of README text if you are open to it.

I don't know about exporing the fields like reader.* should be exprted, but this package should certainly have some sort of getter method to provide a stable api for getting that info.


record /diagnostics rosbags

record data now published by https://github.com/personalrobotics/barrett_ros_control/pull/17

We'll have to remember to periodically clean out /home/herb_home/logs/diagnostics. Do you plan to automate this somehow or just do manually? Any idea how fast this will grow?

4 minutes generated ~20KB, so ~7-8GB per day? Yeah, I'd better setup a cron script or something in saltstack.

Lets hold off on merging until then - HERB doesn't have that much space on his SSDs, so this could become an issue relatively quickly.

We've had this running for a while, so I'll go ahead and merge this. The bags haven't been an issue yet.


Revert "Participants migration polish"

Reverts Expensify/App#43610

Thought reverting this might fix this bug but doesn't seem to work, sorry for the assignment @madmax330, it usually defaults to a draft PR.


Support price as a search operator

Tricky thing here will be what price do we use? TCGPlayer or Card Kingdom?
price and usd should both be supported.
usd>12.20
usd>=12.34
usd<5
usd<=5
usd:30.12 # equivalent to =
usd=1

You could always add in  a "preferred card site" option, possible saved as a cookie.

I think for now, we're going to go with an API like this:
# by default, this looks for combos that are less than $5 on cardkingdom
price<5

# overwrite the default vendor and look for cards that are less than $5 on tcgplayer
price<5 vendor:tcgplayer

And when we add user accounts, we can have that default vendor be set by the user.


Auto-start server API/functionality

This issue is to discuss/implement OSVR server auto-start functionality/API. For this issue, we could focus initially on the primary use case: Android, where it is critically needed, and finally on more open platforms, where it is just nice to have.
New API vs auto-start behind the scenes
There has been some discussion as to whether there needs to be a new API to initiate server auto-start explicitly by the client application, or whether a client context should just initiate the auto-start behind the scenes, opaque to the client. Here are some of the arguments, but please discuss in the comments:
Pro new API:

In some scenarios there are multiple client contexts in the same process. This would complicate server auto-start as it would need to be synchronized across all the contexts to avoid race conditions. Alternatively, it's easy to just call the auto-start API once prior to creating any client contexts.
It has been noted that some applications may want to explicitly choose whether to auto-start the server or not. Or perhaps to select a different, remote server or a server running on a different port, etc...

Con new API:

Some say there isn't a compelling reason for someone to create a client context and not want the server to start, so it should just be automatic.
Existing applications would need to be changed to use the new API, whereas if it were built in they would get the functionality just by updating their version of OSVR ClientKit.

I am leaning towards the new API approach. It gives the clients flexibility without overly burdening client applications with extra code.

Just leaving a few links here for future reference.
Automatic service activation on Linux
You can trigger an OSVR server startup using D-Bus activation or socket activation using systemd.
Once configured, any time a client attempts to connect to the OSVR TCP socket, systemd will start up the OSVR server (if it's not already running). This requires no special handling within the OSVR API, it just needs to be configured with systemd.

It seems like we're going to have to provide the name of the server to connect to whether we have a separate call or not, so that all client contexts will talk to the same server and so that server can be remote if needed (or on a non-standard port).  Given than, using a URL for the server name as is done in VRPN provides us flexibility for auto-starting or not.  Using an approach like VRPN's where you get handed back the same server if you ask for it twice with the same name will provide the ability to internally avoid trying to spin up multiple servers.
On the other hand, adding an OSVR_Init() with an optional server name is not a large burden on the community and could be added to our example programs.  It would mean changing code, so we should go ahead and make it part of the upcoming breaking change if we do.

We will need both an osvrInit() and osvrShutdown(). On Android osvrShutdown() actually needs shut down the server thread. Calling osvrInit should be optional, and the behavior without it should match the current behavior - assume the server is already running, and fail if it isn't. Thus existing applications shouldn't break so long as the server is running already.
It looks like osvrClientInit already looks at an environment variable for the host:

Note that this should work on Android as well. Android does allow you to set and read environment variables, although they are only visible to the application and its child processes.

The existing environment variable to connect to a non-standard server is an undocumented hack that few know of and that I'd like to be rid of.
To give you a bit of back-story, the initial design intention was that configuration was outside the scope of concern of the application (and that making configuration something that applications had to deal with would be an impediment to VR adoption - nobody wants to pass a bunch of config files as parameters to their application, esp. if they're always the same for that system), and that included configuration of "where the server was", hence why opening a client context took no location parameter: it was assumed there'd be something locally, if nothing else to say "the real server is over there".
The formative pain here was me dealing with VR Juggler, which was fairly and over time increasingly tightly coupled to the concept that it had first dibs on your command line arguments: it expected one or more config files, and/or flags indicating that process' role in the cluster, and heaven forbid you want to pass your own arguments to your program: it would often try to parse whatever you passed as a config file and promptly die when it wasn't one. So running something by just double clicking it would never work by default (VR JuggLua worked around it by faking a command line and passing that to the underlying VR Juggler code), nor would opening some non-config-file document.

Vlib at UNC used configuration files; first searching in the current directory, then the user's home directory, then in a system-wide directory, then in an environment variable.  I could never remember the order and your app would behave differently depending on where you were when you ran it, and it got to be a confusing mess.
VRPN finessed the whole thing by encoding "where is the server and how do I run it" into a URI format within the name of the device itself.  Then, however you described your device to your application, VRPN could do the right thing.  Some used command-line arguments, some used environment variables, some hard-coded them, but it was not VRPN's job to figure that out.
We could leave this to the client app to determine in OSVR using the same mechanism.  You can only standardize what nobody cares about.  People seem to care about how they pass configuration info into their apps.  There should of course be a default that works.  That default might be a separate thread using loopback.

(network loopback, not the new networkless loopback that can't run in a separate thread)

The auto-start functionality is not intended to allow clients control over where the server is, etc... It's meant to be a platform specific black box.
Here is my current prototype (coding blind for the moment):
static const char SERVER_ENV_VAR[] = "OSVR_SERVER";

OSVR_ReturnCode osvrServerInit()
{
    // @todo start the server.
#if defined(OSVR_ANDROID)
    // @todo implement auto-start for android
#else
    auto server = osvr::common::getEnvironmentVariable(SERVER_ENV_VAR);
    if (server.is_initialized()) {
        OSVR_DEV_VERBOSE("Attempting to auto-start OSVR server from path " << *server);

#if defined(OSVR_WINDOWS)
        LPCTSTR appName = server->c_str();
        LPSTARTUPINFO startupInfo;
        LPPROCESS_INFORMATION processInfo;
        memset(&startupInfo, 0, sizeof(startupInfo));
        memset(&processInfo, 0, sizeof(processInfo));
        if (!CreateProcess(appName, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
            startupInfo, processInfo)) {
            OSVR_DEV_VERBOSE("Could not auto-start OSVR server.");
            return OSVR_RETURN_FAILURE;
        }
        return OSVR_RETURN_SUCCESS;
#else
        pid_t pid = fork();
        if (pid == -1) {
            OSVR_DEV_VERBOSE("Could not fork the OSVR server process.");
            return OSVR_RETURN_FAILURE;
        } else if (pid == 0) {
            execl(server->c_str(), NULL);
            OSVR_DEV_VERBOSE("Could not start OSVR server process.");
            return OSVR_RETURN_FAILURE;
        } else {
            OSVR_DEV_VERBOSE("Started OSVR server process successfully.");
            return OSVR_RETURN_SUCCESS;
        }
#endif
    } else {
        OSVR_DEV_VERBOSE("Environment variable " << SERVER_ENV_VAR << " not defined. Assuming server is already running.");
    }
#endif
}

OSVR_ReturnCode osvrServerRelease()
{
#if defined(OSVR_ANDROID)
    // @todo cleanup server thread
#else
    // no-op. Leave the server running.
#endif
    return OSVR_RETURN_SUCCESS;
}

pull request for this issue is open (https://github.com/OSVR/OSVR-Core/issues/380) and could use a review. :)


add link to a more specific Stack Overflow thread

What happens when you try to delete a list element while iterating over it

Thanks a lot @zed for the patch. Merged 👍


Update dependencies to prevent environment-wide downgrades

add PackageAnalyzer

Current compat bounds
https://github.com/JuliaEcosystem/PackageAnalyzer.jl/blob/04d4d1756d2a09c21039e0acc01229c207fbbe69/Project.toml#L17-L22
already allows latest versions of all involved packages, I don't think we have to do anything

As a side note, I strongly recommend using local environments instead of installing all packages in the global environment.  That'd make package resolution simpler and avoids problems when hundreds of unrelated packages try to find a common set of compatible versions

my version is julia 1.7.1
why make this downgrades ?

I don't know what other packages you have in your global environment :slightly_smiling_face:  Using small global environments + task-specific local environments solve this issue

ok , thks

@zsz00 If you update the registry, you should get Git_jll v2.34.1 which may resolve conflict with your other packages.

yes, I tried this. It's worked.


build: Upgrade dependencies

This might fix the greenlet problem

It looks like dependabot upgrades dependencies pyproject.toml, but isn't proactive about those in poetry.lock. So running poetry update bumps all the dependencies in the lock file, including greenlet, and so should hopefully fix the 3.12 error at https://github.com/PRQL/pyprql/pull/270

Thanks!


Two issues in the newer version

Hello and thank you very much for making such a wonderful app and working on the problems quickly and with fast releases of new versions!
I will definitely make a donation by the end of the month!
I commented on another user issue but I think it's better to make another because I point another problem too.
I have the same problem about some anime's not playing from watch history and wathlist but for some reason it only happens on some anime's like Vinland Saga, some seasons of Higurachi (season one is fine but rei and Kay don't play from watch history) and Shin Chan doesn't work too, this ones only play if I search for the title and play from there the episode I want.
I'm rewatching death note and it plays fine from there it doesn't happen in every anime so it's strange but I'm giving you some examples so you can test it!
Another problem in the newer versions is when I turn off the TV with an episode on pause the next day when I want to resume, it freezes and the app needs to be restarted, in previous versions (1.2 if I remember correctly) this didn't happen and you could resume as soon as you turn on the TV.

Try latest version, tell me if it fixed

First Thanks for the fast respond but 2.1.1 is still not working to continue watching from it at all need to select the episode from the
the default menu

Thank you very much for the fast support and problem solving!
The issue about not playing from watchlist or watch history is solved. If we remove the anime from the lists by searching for it and then putting it again on the lists, it worked when I did this.

About the player not resuming if the TV is off for some hours and the need to restart the app I can't test it now but will tell tomorrow if I can!

About the player not resuming if the TV is off for some hours and the need to restart the app I can't test it now but will tell tomorrow if I can!

if the problem because it sleep for hours, maybe because video url only works for some duration & unusable after it expired. AnimeTV cannot know if it already expired, But I will try for this workaround (maybe something like reload episode).

no follow up


The COVID dataset is missing

The readme of this repo says:
In this work, we are also releasing a dataset for COVID-19. The dataset is provided in folder [COVID_data](https://github.com/tamlhp/kbqa/tree/main/data/COVID) in this repository. More details about dataset are provided below.

However, the COVID_data is missing. Could you upload this?

Any updates?

Dear you,
I'm sorry for missing your issue.
However, because this dataset related to our thesis's member, so it's a little bit late when released. We will update it soon, but if you want to get it, you must sign some regulations.
Thanks for your concerning.

Dear you, If you are interested in our dataset, please contact via my email<EMAIL_ADDRESS>Thanks


Error when starting wallet

After running the wallet setup as suggested by Readme, wallet fails to startup because it cant find following files:
zokrates/deposit_stub/artifacts/deposit_stub-abi.json
zokrates/deposit_stub/artifacts/deposit_stub-program
I tried to exec into the zokrates container but couldn't find any artifacts folder containing this files.

I believe this PR updates the README on how to get those files

Closing as resolved.


30% of runner instantiation failes due to timeout

Run machulav/ec2-github-runner@v2
GitHub Registration Token is received
AWS EC2 instance i-0eeae9ef28dcd04e9 is started
AWS EC2 instance i-0eeae9ef28dcd04e9 is up and running
Waiting 30s for the AWS EC2 instance to be registered in GitHub as a new self-hosted runner
Checking every 10s if the GitHub self-hosted runner is registered
Checking...
.
.
.
Checking...
Error: GitHub self-hosted runner registration error
Checking...
Error: A timeout of 5 minutes is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.

this is the error i receive for like 30% of my runners
what could cause this? and how can i increase the percentage of successfull instantiations?

Would also like to know if there's something one can do to limit these situations...

I ran into this issue when previous runners didn't clean themselves up in the GitHub API and I look at the cloud-init log of the configure command it was asking if I wanted to replace the previous runner:
Jun 24 20:41:24 ip-10-x-0-61 cloud-init[2458]: This runner will have the following labels: 'self-hosted', 'Linux', 'X64'
Jun 24 20:41:24 ip-10-x-0-61 cloud-init[2458]: Enter any additional labels (ex. label-1,label-2): [press Enter to skip]```

Hello!
Any update on this? We are also facing a lot of unstarted runners...
@farvour do you plan to do a PR or is there a way to apply your solution on our side?
Thank you!

A timeout of 5 minutes is exceeded

This error usually means that your new EC2 runner can not communicate to GitHub and registers itself as a new runner. Based on the tests, 5 minutes is more than enough for the EC2 runner to be able to register itself.
So I recommend double-checking if the outbound traffic on port 443 is always opened for your EC2 runner.
If that does not help, I have to ask you to provide more information about your action configuration and the AWS infrastructure setup to help you with the issue.

A timeout of 5 minutes is exceeded

This error usually means that your new EC2 runner can not communicate to GitHub and registers itself as a new runner. Based on the tests, 5 minutes is more than enough for the EC2 runner to be able to register itself. So I recommend double-checking if the outbound traffic on port 443 is always opened for your EC2 runner.
If that does not help, I have to ask you to provide more information about your action configuration and the AWS infrastructure setup to help you with the issue.

I'll have to do some probing to see what's going on with 443 traffic however some observations which may be relevant are:

For successful registrations (under 5 minutes) the distribution of time it takes is pretty wide. Not sure why, but I get a decent number of registrations that occur around the 4-5 minute mark. Others occur almost immediately. This seems independent of how long it takes for the instance to reach an "OK" status reported via aws ec2 describe-instance-status.

None of my other EC2 instances instances in this subnet have any obvious networking issues. All my security policies are fully open in the outbound direction.

The AMI I'm using is a t3.mini using a bare Ubuntu 20.04 instance prepared with the apt equivalent of the README instructions, and nothing else done to it.

Hi, I think this might be the same issue where the hostname is used as runner name, and hostnames are reused between instances: https://github.com/machulav/ec2-github-runner/issues/128
Maybe using the --replace option is a good idea though!


Fix percentage chance for 20 microcovids in calculator explainer

I checked the other numbers in the paragraph too; this is the only one that needs fixing.

(since this is a 2 character deletion typo fix in a translation string and the original intent is very clear from context, I'm just going to merge it in without going through review.)


Configuration for already created websites

I'm looking for a way to quickly and correctly use your project for already created websites. In other words,  I often need to install everything in the box, except Wordpress itself. Tell me, please, is there any simple way to cancel the installation of Wordpress, plug-ins to it and other wordpress things?

@s-belichenko-sold I just did this. Go to
provision/playbook.yml

and comment third line
---
- include: playbooks/commands.yml
- include: playbooks/middleware.yml
# - include: playbooks/wordpress.yml

Do a vagrant up. Now your VM is up and running, now put your site in /var/www/html and import your database according to your wp-config.php

@iamandrewluca yep, I'm already tried this way. Yes, this is the obvious way, I've already edited the configuration for my task manually. But I'm talking about the fact that it would be nice to be able to turn off and turn on absolutely all things. More fine-tuning. So far, this possibility has been done only for some things.
Just disabling some configuration file is not a very fine tuning :)

For me it worked like a charm :)

I'm also using VCCW in a similar manner. My goal is to take a backup of the site, (Softcalculus is the control panel my host gives me) and run this locally. To confirm the backup is good, test changes, and also be an offline copy to help train uses on the site.
Here's the steps aproximately

vagrant up and then vagrant ssh
Then I drop the created database, and recreate it based on my backup copy
I adjust the wp config to match the user/name password.
I then add

define('WP_HOME','http://<IP_ADDRESS>');
define('WP_SITEURL','http://<IP_ADDRESS>');

to the wp-confg.php to make the site behave correctly as it's on a different host.
It's not as elgant as I would like; but it works at the moment.  I would like to try and make this slicker and contribute back.


chore: switch from classnames to clsx

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

60 of 60 (100.0%)  changed or added relevant lines in 60 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 62.842%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1254

Relevant Lines:
1740

💛  - Coveralls


Docker file to create an RPI image

A docker file to create an image which can be directly run on an RPI.

LGTM, will merge if no objections.


APEXMALHAR-2382 code changes to create meta table

@DT-Priyanka please review,

Please close this PR until there is agreement on the approach. In the future, please have the discussion first. One more minor thing, there is no need to mention "code changes" in commits and PR titles...


Another encoding issue: Maori (SCCS)

See https://github.com/D-PLACE/dplace-data/blob/master/datasets/SCCS/societies.csv#L121

I'll correct it - it should be Māori. Correct @kirbykat ?

yes!

thanks.


[e2e]: container tag main registry-username-secret

Repo: https://github.com/slsa-framework/example-package/tree/v31.0.580
Run: https://github.com/slsa-framework/example-package/actions/runs/11639374871
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.tag.main.registry-username-secret.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.tag.main.registry-username-secret.yml
Trigger: push
Branch: v31.0.580
Date: Sat Nov  2 03:13:55 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v31.0.581
Run: https://github.com/slsa-framework/example-package/actions/runs/11648006298
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.tag.main.registry-username-secret.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.tag.main.registry-username-secret.yml
Trigger: push
Branch: v31.0.581
Date: Sun Nov  3 03:15:46 UTC 2024
Tests are passing now. Closing this issue.


decode multisig acc

function decodeBech32Pubkey can't decode multisig keys of next format bostrompub1ytql0csgqgfzd666axrjzqm4p586gn8vrm6958zd4c9lje8xeahzcf35mwsjw3gaxn7xnhe9eufzd666axrjzqcc9h5ms6x96eg23e4hxghnvwn7xwtuhgeupvg0lgppn7d6dkyaxc66dhat
seems multisig branch is missed https://github.com/cosmos/cosmjs/blob/b2279928c6d46a568e619cafddc6c1bbd17ec1b0/packages/amino/src/encoding.ts#L37

Your are right.
However, encoding a publich key as bech32 is a very bad idea. bech32 is only valid up to a length of 90 characters (for good reason). So the string you posted there is not valid as it is 156 characters long. I know there was a time when Cosmos SDK APIs encoded pubkeys as bech32. That was a bad idea, which was reverted as far as I know.
So the real question here is: why do you have bech32 encoded pubkeys and how to get rid of this encoding entirely?

Seems right now cosmos sdk works using bech32
I just generated osmo wallet osmopub1ytql0csgqgfzd666axrjzq5q3yaz9mz4322t7v98rvzx8c3uq2ag0u0zn5gcrgh93acgp9x0zqfzd666axrjzqa0cawzgvhal7sctp9w7jl6mnddl0z4w3v7x9et3lxudgw44s3wwc6mq25n using the latest osmo binaries with cosmos sdk 42.9

I just generated osmo wallet osmopub1ytql0csgqgfzd666axrjzq5q3yaz9mz4322t7v98rvzx8c3uq2ag0u0zn5gcrgh93acgp9x0zqfzd666axrjzqa0cawzgvhal7sctp9w7jl6mnddl0z4w3v7x9et3lxudgw44s3wwc6mq25n using the latest osmo binaries with cosmos sdk 42.9

Could you report this as a bug in Cosmos SDK please? You can refer to this spec:

A Bech32[2] string is at most 90 characters long and consists of

https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki

Also, multisig pubkey contains encoded pubkeys from all participants + threshold, thus it can't be like regular acc pubkey in terms of length

Yes. This is why it should not be encoded as bech32.

Default bench32 decoder by default has no limit, so it can decode correctly such addresses.

It can, I know. This doesn't mean this should ever be done in practice.

Also, there is code for construction multisig pubkey in the same file below

Jupp. It's fair to encode this to raw binary, but when used in bech32 the trouble begins.

So, is it all make sense? If so, I can create PR

Mixed feelings. We are fixing other people's bugs by this.

Uh, seems it is already in v0.43 https://github.com/cosmos/cosmos-sdk/pull/7477

Haha, our test data is already full of this for the other direction: https://github.com/cosmos/cosmjs/blob/v0.26.0/packages/amino/src/testutils.spec.ts#L35-L76
I give up. Feel free to create a PR using that test data. See how it is used here in the other direction: https://github.com/cosmos/cosmjs/blob/v0.26.0/packages/amino/src/encoding.spec.ts#L149-L161

Please note https://github.com/cosmos/cosmjs/pull/883

Done on #884 with some minor additions in #886. Thanks!

Released as part of 0.26.1


Segmentation fault on unmount

var fuse = require('fuse-bindings')

var dir = process.argv[2]

fuse.mount(dir, {}, error => {
  if (error) {
    return console.error(error)
  }
  console.log('mounted')

  // unmount after 1 second
  setTimeout(() => {
    fuse.unmount(dir, error => {
      if (error) {
        return console.error(error)
      }
      console.log('unmounted')
    })
  }, 1e3)
})

> node index.js foo/mounted
fish: 'node index.js foo/' terminated by signal SIGSEGV (Address boundary error)

FYI, my environment is Debian Stretch with:
> npm version
{ npm: '4.0.3',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '57.1',
  modules: '48',
  node: '6.9.1',
  openssl: '1.0.2j',
  uv: '1.9.1',
  v8: '5.1.281.84',
  zlib: '1.2.8' }

It seems this does not happen when run as root.


Constructor parameter types in request  class not freely choosable

Hi,
for a project of mine i wanted to use saloon for the api communication with twitter.
For this I created a twitter connector according to the documentation looking like this:
<?php

namespace App\Http\Integrations\Twitter;

use Saloon\Http\Connector;
use Saloon\Traits\Plugins\AcceptsJson;

class TwitterConnector extends Connector
{
    use AcceptsJson;

    public function __construct(protected string $apiKey)
    {
        $this->withTokenAuth($this->apiKey);
    }

    public function resolveBaseUrl(): string
    {
        return 'https://api.twitter.com/2';
    }

    protected function defaultHeaders(): array
    {
        return [];
    }

    protected function defaultConfig(): array
    {
        return [];
    }
}

To request data I created a accompanying request class to perform a tweet search looking like this:
<?php

namespace App\Http\Integrations\Twitter\Requests;

use Illuminate\Support\Carbon;
use Saloon\Enums\Method;
use Saloon\Http\Request;

class SearchRecentTweets extends Request
{
    protected Method $method = Method::GET;

    public function __construct(
        protected string $query, protected Carbon $startTime, protected Carbon $endTime
    )
    {
    }

    public function resolveEndpoint(): string
    {
        return '/tweets/search/recent';
    }

    public function defaultQuery(): array
    {
        return [
            'query' => $this->query,
            'start_time' => $this->startTime->toIso8601String(),
            'end_time' => $this->endTime->toIso8601String(),
            'expansions' => 'attachments.poll_ids,attachments.media_keys,author_id,geo.place_id,in_reply_to_user_id',
            'sort_order' => 'recency',
            'max_results' => 100,
            'tweet.fields' => 'attachments,author_id,context_annotations,conversation_id,created_at,entities,geo,id,in_reply_to_user_id,lang,public_metrics,possibly_sensitive,referenced_tweets,reply_settings,source,text,withheld',
            'user.fields' => 'created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,public_metrics,url,username,verified,withheld',
            'media.fields' => 'preview_image_url,url',
        ];
    }
}

    $twitter = new TwitterV2Connector('xxx');
    $request = new SearchRecentTweets('github', now()->subMinutes(2), now());

    $response = $twitter->send($request);

//edit:
Even using named parameters as in the examle in the documentation does not change the output and I still get the same error message:
$request = new SearchRecentTweets(query: 'cop28', startTime: now()->subMinutes(2), endTime:  now());

Passing the necessary request parameters should be possible via constructor parameters according to the documentattion but once I try to fire the request i get the following error message:
Type of App\Http\Integrations\Twitter\Requests\SearchRecentTweets::$query must be Saloon\Contracts\ArrayStore (as in class Saloon\Http\Request)
So somewhere in the hirarchy chain of the request class there muss be some class defining and typehinting the first parameter of the constructor of the request class.
I tried to identify if this was only a problem on my side but i created an empty laravel project with laravel new and only installed the saloon and the saloon-laravel package and the error is still present.
        "php": "^8.1",
        "guzzlehttp/guzzle": "^7.2",
        "laravel/framework": "^10.10",
        "laravel/sanctum": "^3.2",
        "laravel/tinker": "^2.8",
        "sammyjo20/saloon": "^2.0",
        "sammyjo20/saloon-laravel": "^2.0"

Is there a misunderstanding on my side or is the documentation incorrect!?
If you need more information feel free to ask.

Hey @effem thanks for your message 😇
I think the issue here is your query property on the request. The query property is already used by Saloon internally to store the query parameters object, which is an ArrayStore. As the error states:

Type of App\Http\Integrations\Twitter\Requests\SearchRecentTweets::$query must be Saloon\Contracts\ArrayStore (as in class Saloon\Http\Request)

You can fix this by renaming the query property to something else. Maybe searchQuery?
 This makes total sense and i could have come up with the solution myself.
Thanks for the quick reply and this obviously solves the problem!

Don't sweat it @effem sometimes a fresh pair of eyes can help!! 🚀 Happy devving :)


Movified Groovy file.

PR for issue #255
Plz add the hacktoberfest-approved tag if you approve this PR.

I couldn't find any interesting logo to use for the art.

Hi @michelvosje, thanks a lot for your submission.
However, this won't cut it. If you can't "simply" reduce the size of the original ASCII logo. Maybe try with this design:

Looking forward to merge your PR.

Useful, Ascii Art From Image File Using Python Image Library by @atluft

I tried it with your image and this one:

But I can't convert it to a readable / recognizable ASCII image.
I give up.


What's the connection?

I realize this is a really dumb question ... but what is the connection between the ATEM and the Hub?  I don't find any description or reference to it.  And I don't find any schematics on the BlackMagic site to help.

Hi.
I am not aware of any official documentation on the interface. It is an UDP event stream with binary data – so it is tricky to interpret. The interface is used officially by ATEM Software Control and has been first reverse engineered and documented by SKAARHOJ. This is also the only documentation of the interface I know of, but it is no longer maintained and might be outdated. We use
tv-automation-atem-connection by NRK under the hood to communicate with ATEM. They have a working and maintained implementation, but – in their case – the source is the documentation.

Well, but sometimes there are badly phrased ones.  I'm asking the really basic question of what kind of wire runs between the ATEM and the Hub.  USB?  9 Pin Serial?  VGA?
Thanks for the quick reply.

Yeah – I got this one wrong.  There is a plug on the back labeled "Switcher Control" or "ATEM Control". Just connect that to a switch on your LAN and your LAN should give the ATEM Mixer an IP address. You might have to look the address up in your router, because I am not sure if your ATEM can show it to you. That is the IP you enter in the Hub. Just go with the default port and it should work.
For more details you can check out this video on Youtube (this does not only work on ATEM Mini, but also Television Studio) or the section "Connecting to a Network" in the according handbooks.
And feel free to follow up if you need more detailed help.

Fantastic.  Thank you for that.  And, yes, I may be back.  But I think I have enough to begin now.


core account customization

Is it possible to customize core accounts like audit and log archive using this aft module?

duplicate

Hey @anonymously11505, our 1.4.0 release should enable management of these accounts for you


Maintain profile with git in org base development

Hi Friends,
Problem:
My project is based on org base development and we are looking for a way to maintain huge profile files using GIT. As you know, If profile have specific metadata type, then when we merge to higher branch the existing data relate to same profile file in the higher branch will be over written and new changes will be reflected. In this case, the only way to move around from this issue is, get full profile metadata types along with all metadata of those types and store it in bitbucket. So that when we pull from branch and push back complete profile will be reflected and we can use same branch for deployment as well. I'm not sure we have any other way to resolve this issue. definitely scratch org is not a solution for my project. So we should try get rid of this issue using our current org base development model only.
Feature expecting
On top of this, I don't know how to find and retrieve all the metadata types of profiles from my prod org and not sure whether any free third party plugin or tools like sfpowerkit give hands to me for this case. If you guys have any opinion or suggestions around this problem. Pls share it.
thanks in advance

@dineshpsalm Thanks for reaching out to us.
We have below list of commands to work with profile. I highly recommend to have a look at this commands

sfdx sfpowerkit:source:profile:retrieve
This Command helps you to retrieve the complete profile from your production or any other environment. This commands takes care if building manifest to retrieve the complete profile.

sfdx sfpowerkit:source:profile:reconcile
This command helps you to clean the reference to metadata components that are not available in your target org, lets say you have retrieved the profile from prod and you want to deploy them to scratch org where all the metadata from prod is not available this helps to keep up the profile. This can also clean up against your source code in git as well.

sfdx sfpowerkit:source:profile:merge
This command helps you to retrieve the incremental changes in scratch org or any lower environment. Lets say you have deployed the reconciled profile from prod into your scratch org/ lower environment and you made changes to profile in the org. Now you want to bring the incremental changes to the production profile that is located in your GIT.

sfdx sfpowerkit:org:profile:diff
This command helps you to identify the difference in profile between 2 salesforce orgs or between source vs salesforce org.

Hope this helps you!

Hi @manisfdcsfdx @azlam-abdulsalam, thank you for this plugin and for these explanations.
I've read the relevant source code but am still unclear about what the differences are between using sfpowerkit:source:profile:merge and simply overwriting the profile with what's in the source org.
Could you please clarify what it does and what benefits it offers over just overwriting with the source profile?
Thanks!

Thanks @rjfay for reaching out to us.
on high level view yes you are right sfpowerkit:source:profile:merge is overwriting the local profile with source org. But here is the use case where it can be really handy and useful.
Lets say you have a production/sandbox where your entire components exist with multiple managed packages like nCinio/ Financial service cloud/healthcloud/velocity installed. you can use sfdx sfpowerkit:source:profile:retrieve to retrieve the entire profile with permission to all components including managed packages as well.
your development is happening in sandbox with no managed package or scratch org with only local components. here you can deploy a skinny profile by using  sfdx sfpowerkit:source:profile:reconcile. Now you have introduced couple of new custom objects or modified existing permissions in your scratch org. Here is the actual use of sfdx sfpowerkit:source:profile:merge to get your incremental changes in your scratch org to retrofit in your master profile. New permissions will be added to master profile and any existing permission that was modified in your scratch org takes high preference and override the existing in the master profile.
In case you are not ready to everything coming from source org. you can use to  sfdx sfpowerkit:org:profile:diff to identify the changes with conflict markers and pick only the changes you want from source org.


Please stop using React.PropTypes that is deprecated

Use of React.PropTypes now is deprecated according to: https://facebook.github.io/react/warnings/dont-call-proptypes.html
Thanks

Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

This is solved in v10.0.0.


Feature: export at frame 0

fixed #302

Is this compatible with both states of the Keyframes Start at 0 checkbox?

Is this compatible with both states of the Keyframes Start at 0 checkbox?

All this does, is set the current frame to 0 before exporting and then restore it after exporting is done. I don't know how the Keyframes Start at 0 functions, but I wouldn't expect that they interfere. I will look it though!

Okay, Keyframes Start at 0 is not referenced in the code in any productive way. Also, I didn't have a problem exporting animations with the first keyframe at 0 or 1. That settles your other question, I guess :D

That answers that, thanks! 😅


Error loading file

login_info2.php not found

It contains some sensitive login information which is not public. But i can share this login_info2.php code snippet :
<?php
/* Admin file */
$servername = "xyz";
$username = "name";
$password = "12345";
$dbname = "dbase_admin";
?>

May be this can help you.

You can change information login_info2.php


Add functions to query and validate minimum spec version

This change adds support for determining the minimum spec version required for a specified spec. This allows a minimum version spec to be created if newer fields are not used.
Closes #91
##TODO:

Create a spec with the minimum version instead of requiring that a user set this.

Wouldn't it be a more sustainable/easier to understand and also easier to maintain implementation to define a compatibility-check function for each valid version we support ?
It would be enough if each of those functions would codify and check the extra conditions compared to the previous version, assuming the Spec passed verification of that (and consequently all previous functions).
Then MinimumRequiredVersion(spec *cdi.Spec) (string, error) could be implemented by something like
var (
  sortedVersions []string
  versionValidator = map[string]func(*cdi.Spec) error{
      "0.0.0": validate000,
      ...
)

func MinimumRequiredVersion(spec *cdi.Spec) (string, error) {
    for _, v := range sortVersions() {
        if err := versionValidator[v](spec); err != nil {
            return "", fmt.Errorf("no valid version found: %w", err)
        }
        return v, nil
    }
}

func sortVersions() []string {
    if sortedVersions == nil {
        for v, _ := range validVersions {
            sortedVersions = append(sortedVersions, v)
        }
        semver.Sort(sortedVersions)
    }
    return sortedVersions
}

Moreover, something like IsCompatible(spec *cdi.Spec, version string) could be implemented with something like this:
func IsCompatibleVersion(spec *cdi.Spec, version string) error {
    for _, v := range sortVersions() {
        if err := versionValidator[v](spec); err != nil {
            return err
        }
        if v == version {
            return nil
        }
    }

    return fmt.Errorf("can't verify compatibility, unknown version %s", version)
}

@klihub I think I'm missing the implementation of validate000 in your example to fully understand your suggestion.
The way I've been thinking about this was about adding fields and as such this can be seen as implementing, for example, a:
requiresV050(*Spec)

The issue with vaildation as you describe it (at least from my current point of view), is that older functions need to be updated with new fields with each modification.

@klihub I reworked this to match something like you suggested. Not sure if I'm still missing something though.
I think we can still combine the validSpecVersions and the required map that I create. I will do this in a follow-up.

@klihub I think I'm missing the implementation of validate000 in your example to fully understand your suggestion.

Sorry, I omitted all the validating function details, because I didn't have time to find out what those really would be. But it looks to me that you got what I was after...  even if my vague suggestion/idea was not well thought through (for instance I think I got it totally wrong that version check could/should be done from lowest to highest, requiring that all previous version checks succeed).

Which may be easier to understand than the current implementation. I can work to clean up the edits manipulation a little to.

If we want to do automatic version-picking in case it is unspecified, then I think it probably would be easier to maintain (and understand) the code if manage to codify the version-specific requirements to per-version validation functions, something along the lines of what is being done here.


URI Not Working

The URI "https://webhook.ingestion.office.com/api/signals" that is used in the powershell script and the powerautomate does not work. When attempting to access. A 401 or a 403 error is served. Can you please update the document with a functioning URI?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: d6b68cfa-058a-8536-fb6a-b54e8fffa626
Version Independent ID: dbcba365-2858-8cff-4f30-8a8a0068ac71
Content: Set up a connector to import HR data - Microsoft Purview (compliance)
Content Source: microsoft-365/compliance/import-hr-data.md
Service: o365-seccomp
GitHub Login: @robmazz
Microsoft Alias: robmazz

@lovetherager Thank you for your feedback. I'll check with the author and update the latest URL shortly.
Thanks
Sri

@msbemba

@lovetherager Thanks for your feedback! New issues and pull requests for this content are closed while we update this content to support upcoming feature improvements.


fix: offAll now triggers only with undefined or null

Hello and thank you for such a fantastic library.
I was using this library and encountered weird behaviour - after the .once event listener run, all listeners disappeared. I was using the number's as event names for the event map, and one event had the name 0. 0 is a falsy value, so it triggers offAll behaviour when is passed into the off function.
I've added the additional utility function isNil, which detects if the received value is null or undefined and doesn't break with other falsy values, like an empty string, etc.

Hey @eliassjogreen and @crowlKats :wave:,
Any news on this PR? Is there anything I should do?

sorry, been too busy to follow up. looks good, will merge. @eliassjogreen can you make a new release?


Date Navigation in Monthview is broken in IE

use IE 11
goto sample website
https://antoniandre.github.io/vue-cal/#ex--basic
switch to Month view
click left or right arrows several times

actual:

Hi @jfaquinojr,
The documentation page is tested on IE 11.356 on windows and it works all fine, slow but fine (there are more than 35 instances of vue-cal on that page).
Please clear your browser cache, test the documentation page and if still broken let me know the version and OS.
Cheers.


Traduction for score tab

In front-quasar\wiki-adventure-quasar\src\layouts\lobby\tab\ScoreTabPanel.vue lines 3 and 6
Translate the title and the leaderboard button

Added in these 2 commits:
e052c1eed57258dfad827a204f33c3c97f434cad for French translation,
7527e0c1ac72b9b2d102c6e0e4b19e20f0fea6a9 for English translation.

Added in these 2 commits:
e052c1eed57258dfad827a204f33c3c97f434cad for French translation,
7527e0c1ac72b9b2d102c6e0e4b19e20f0fea6a9 for English translation.

fixed !

fixed !