Collapse blocks that have no difference

Have you considered collapsing the blocks of text that have no difference? For example, if you're differing two similar files with 10k lines and only line 5378 is different, it would collapse most of the lines above and below it and actually focus on the differences, which should be the purpose :D
This is very similar to what GitHub does in the PR diffs, but you can also see that in other places like diffing on vertically split files within vi, etc.

I don't think there are any APIs for this, this extension just tells vscode to open a diff editor, if it were possible there would be some settings or comments for that directly in vscode.


[doc] Fix background in block diagram

The background was originally a gradient background on the right together with a solid background on the left. This caused some distortion on closer inspection. This commit changes it to have one background that is a gradient from left to right.

You can see that the original background is not correct when viewing it on a dark background:


actionTrigger now takes the confirmLabel Props in requiresConfirmation

…ation objet, added an example in vapor
Proposed Changes
The inline prompt that is triggered when a requiresConfirmation is set will now take a custom prompt description that will bypass de default 'are you sure ?' string.
Potential Breaking Changes
Not used anywhere yet.
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

I tried to find a way to test the behavior. But I did'nt know where to look for the render of the confirmLabel

Codecov Report

Merging #1266 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #1266   +/-   ##
=======================================
  Coverage   99.49%   99.49%
=======================================
  Files         356      356
  Lines        8968     8968
  Branches     2126     2126
=======================================
  Hits         8923     8923
  Misses         45       45

Impacted Files
Coverage Δ

...ages/react-vapor/src/components/actions/Action.tsx
100% <ø> (ø)
:arrow_up:

...vapor/src/components/inlinePrompt/InlinePrompt.tsx
100% <ø> (ø)
:arrow_up:

...act-vapor/src/components/actions/TriggerAction.tsx
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aca23dd...8c09a40. Read the comment docs.


'dict object' has no attribute 'launch'

After updating ansible to 2.1, running on a traditional server, trying to run Paraview
primary job:
[17:33:03.124] ERROR: 'dict object' has no attribute 'launch'
  File "cumulus/tasks/job.py", line 278, in submit_job
    script = _generate_submission_script(job, cluster, job_params)
  File "cumulus/tasks/job.py", line 213, in _generate_submission_script
    **job_params)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 989, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 754, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "<template>", line 63, in top-level template code
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 408, in getattr
    return getattr(obj, attribute)
UndefinedError: 'dict object' has no attribute 'launch'

submit pvw job:
[17:33:03.124] ERROR: Exception raise by task.
  File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "cumulus/taskflow/__init__.py", line 117, in wrapped
    return func(celery_task, *args, **kwargs)
  File "/opt/hpccloud/hpccloud/server/taskflows/hpccloud/taskflow/paraview.py", line 299, in submit_paraview_job
    girder_token=girder_token, monitor=False)
  File "/usr/local/lib/python2.7/dist-packages/celery/local.py", line 188, in __call__
    return self._get_current_object()(*a, **kw)
  File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 439, in __protected_call__
    return orig(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/celery/app/task.py", line 420, in __call__
    return self.run(*args, **kwargs)
  File "cumulus/tasks/job.py", line 278, in submit_job
    script = _generate_submission_script(job, cluster, job_params)
  File "cumulus/tasks/job.py", line 213, in _generate_submission_script
    **job_params)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 989, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 754, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "<template>", line 63, in top-level template code
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 408, in getattr
    return getattr(obj, attribute)
UndefinedError: 'dict object' has no attribute 'launch'

Fixed by #491


Replace cron schedules with the alternative

Allegedly, these were not allowed as per renovate-config-validator.

I should probably setup renovate-config-validator as a GitHub action, similar to the fish_indent one.


Make sure all special block types are properly identified

From this comment:

replaceBreaks My only concern is this might choke on some other custom MD syntaxes that obsidian uses, such as footnotes and LaTeX.

'sall good


Issue-title bar

Automated Review Comments
Issues in app.config.ts:

(3, 'Hardcoded string found')
Issues in components/TitleBar.vue:
(2, 'Hardcoded string found')
(22, 'Line exceeds 80 characters')
(26, 'Hardcoded string found')
(27, 'Line exceeds 80 characters')
(30, 'Hardcoded string found')
(31, 'Line exceeds 80 characters')
(34, 'Line exceeds 80 characters')
(34, 'Hardcoded string found')
Issues in layouts/default.vue:
(2, 'Hardcoded string found')
Issues in src-tauri/Cargo.toml:
(4, 'Hardcoded string found')
(9, 'Line exceeds 80 characters')
Issues in src-tauri/tauri.conf.json:
(3, 'Hardcoded string found')
(4, 'Hardcoded string found')
(5, 'Hardcoded string found')
(6, 'Hardcoded string found')
(7, 'Hardcoded string found')
(8, 'Hardcoded string found')
(11, 'Hardcoded string found')
(12, 'Hardcoded string found')
(15, 'Hardcoded string found')
(17, 'Hardcoded string found')
(18, 'Hardcoded string found')
(19, 'Hardcoded string found')
(20, 'Hardcoded string found')

I got it.


Fusion Reactor Tick error

Please use the search functionality before reporting an issue. Also take a look at the closed issues!
Issue description: Fusion Reactor activation causes game crash with a BLOCK ENTITY TICK ERROR (reactorport tick). I've tried in creative, crashes every time as soon as I turn on the lasers. I've used several tutorial videos that you link to on the wiki page to check my set up. I can't find the problem.
I'm submitting on a Mac, but I have the same problem on my pc, don't know if that could be relevant.
I can't find any reasoning for this, I'd really appreciate your help.
Version (make sure you are on the latest version before reporting):
Forge: <IP_ADDRESS>6
Mekanism: 9.3.4 fix
Other relevant version:
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
crash-2017-09-29_09.50.12-server.txt

Hmm, this reminds me of #4645 (though it's not the exact same thing). See if installing CoFH Core does anything.

Ummm, that should never happen in 1.11 as we bundle the api :/
I'd advise removing mods one by one until it doesn't happen

Looks like some other mod packages an other version of the rf api... Either we are outdated (don't think they make such a breaking change), or someone had added a corrupt api..

Small addition, do you have a normal startup log (fml-client-latest.txt or the server equivalent). That should contain which api gets loaded from where

I'm removing all other mods and running the test with exclusively your mods, (Mekanism, generators & tools) I'm going to run a test like that right now and I'll let you know how it goes, I do have that log for you, just in case/maybe you can tell me which one is actually causing me issues and I can remove it. I love your mod it's great fun, and I apologize about taking so long to get back to you. RL getting in the way of the important things in my life.
fml-client-latest.log

That latest.log appears to be from 1.10?

Mekanism and Immersive Engineering appear to be the only ones in your list that bundle the erroring API

Ok, I took out all other mods, and it works great. I then put Immersive engineering back in and couldn't recreate the error, It may be on that same line I have several of those Immersive's, but I'll put them back in one by one, It does fix my problem though. I appreciate your guys help. As soon as I find the offending mod I'll respond in this thread to let future Mekanism players know there is an issue. I'm prepared to call that solved. Thanks again!


To modify the card for an Out of Box Connector

HI team,
Is it possible to alter the OOB card(notification) received to a team channel as a part of Webhook connector,
EX: If i have configured the Jira/Azure DevOps connector a particular type of the Action card is received in notifications. So can we modify that.?
Regards
Lovy

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

ID: 90ff2a84-a8bc-9259-d37d-622b102df75b
Version Independent ID: e3b53e27-2946-189c-623b-9df704ea8f12
Content: Post external requests to Microsoft Teams with incoming webhooks - Teams
Content Source: msteams-platform/webhooks-and-connectors/how-to/add-incoming-webhook.md
Product: msteams
GitHub Login: @laujan
Microsoft Alias: laujan

@lovyjain Yes, you could update the card posted in channel using the post action of a connector. Could you please try out the sample here?

@Gousia-MSFT Thanks for response but i was looking for the Change in card for the OOB connector . Like for the one of Azure devops or jira.

@lovyjain Do you mean changing the card posted by Azure/Jira connectors through Teams? That's not possible. The only way to modify the card sent in channel is to update it by using the post request.

Yes I wanted to have different actions in the card posted by Azure/jira. As these are OOB present so is there a way to modify them.
So is there a possibility we can write our own custom connectors for Azure/jira to be connected to teams??

@lovyjain Those are O365 connectors built by Azure/Jira team. Those can not be modified. You could try creating your own Connector post notifications to channel.

can we create a custom connector which can copy the same work done by azure,devops connectors and then modify it as per the need.

@lovyjain It is not possible to copy the azure devops connector code since it is not open sourced but you could create your own webhook and send out the message card as per your requirement. Please check out the docs here.


502 bad gateway

I've deployed parse-server-example on an amazon EC2 instance. Everything was working fine for a while (so it has been set up properly) but suddenly after updating parse-server version, I'm getting 502 Bad Gateway response for every request being made. Unable to figure out the reason
Here is my package.json
{
  "name": "parse-server-example",
  "version": "1.0.0",
  "description": "An example Parse API server using the parse-server module",
  "main": "index.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/ParsePlatform/parse-server-example"
  },
  "license": "MIT",
  "dependencies": {
    "express": "~4.2.x",
    "kerberos": "~0.0.x",
    "parse": "~1.6.12",
    "parse-server": "~2.1.4"
  },
  "scripts": {
    "start": "node index.js"
  },
  "engines": {
    "node": ">=4.3"
  }
}

Bad gateway usually indicates a problem with your load balancer or proxy or firewall or something else that sits in between Parse Server and your client.

Logs said You must provide a serverURL! and suddenly I see a new environment variable being required for the same. This wasn't the case a while ago when I'd deployed

I updated parse-server-example and specified serverURL enviroment variable. It is working fine now. Can I also update 'parse-server' to '2.1.4'?

Sure! Make sure you test it before deploying, especially is you use S3Adapter. Some people have been having issues with certain configurations of the S3Adapter.


Directory Object broken on Windows 10

The Directory Object appears to be broken on Windows again. :(
Windows 10, Godot version 2.0.2 - 2.0.3
Attempting to check if a directory exists will always return FALSE, even if the folder/directory was just created.
Steps to reproduce - check example program below.
http://pastebin.com/b6PEEBwi

This is present in 2.0.3 but was fixed in master.

Is there a safe-to-backport fix for 2.0.4, or should I leave it as is?

I believe these are safe to backport: 61655d6, e048d1e, ffbc2e5.

This bug does not appear in the 2.1 alpha a user on the Godot facebook group sent me a link to, by the name of Hugo Locucio, however I see that got deleted. Was he not supposed to share that?

@YodamanJer No idea, he probably removed the link himself for some reason. You can use his builds yes, he's a trusted community member.

@vnen Those commits seem not trivial to cherry-pick (some consequent merge conflicts), so I guess I'll leave that for 2.1 which is right around the corner anyway.

I don't plan to make a newer 2.0.x version, so closing this bug. The issue is fixed in 2.1-beta.


Chinese variants model support

As for Vicuna didn't support Chinese very well, is there a way to support some more good performance Chinese model in demo?>

We have some preliminary support for MOSS on the main branch, and you can build and run them manually (by specifying --model moss-moon-003-sft. Currently, they are still using default schedules (that said, very slow). I'll tune the kernel performance by the end of this week, and we will make them available in the next release.
@LeshengJin is working on ChatGLM support.

@yzh119 thanks, hoping for it.

We can make a release as soon as we finish tuning the Dolly and MOSS performance.

how about Chinese-Alpaca-Plus-7B?
is it possible run on mlc-llm?

We have some preliminary support for MOSS on the main branch, and you can compile and run them manually (by specifying --model moss-moon-003-sft. Currently, they are still using default schedules (that said, very slow). I'll tune the kernel performance by the end of this week, and we will make them available in the next release.
@LeshengJin is working on ChatGLM support.

Hi @LeshengJin, how was the progress going on ChatGLM?


feat: copying icons to clipboard feature 🚀🔥

Close #708
Changes proposed

Added copy icon functionality to both <div> elements with class icon-box and <li> elements with class icons-container.
Created a concise and visually appealing "Copied!" overlay to provide feedback after successful copying.
Updated JavaScript code to handle click events for the copy icon on both types of elements.
Improved UX by adding accessibility attributes to the copy icon element.
So, This PR adds a new feature to the Food Recipes Website that allows users to copy icons to their clipboard with a simple click. The copy icon functionality is now available for both <div> elements with the class icon-box and <li> elements with the class icons-container.
When users click on the copy icon, the corresponding icon class will be copied to their clipboard, and a brief "Copied!" overlay will confirm the successful copy.
This enhances user experience and makes it easier for users to use the icons in their projects.

Testing

Tested the copy icon feature extensively on different browsers and devices to ensure consistent behavior and no errors. Conducted tests to verify that the correct icon class is copied to the clipboard.🚀

Screenshots
https://github.com/Anupkjha2601/food-recipes-website/assets/92252895/66946ceb-405f-450f-9a97-4a07050938b0

🚀 Exciting PR Alert! 🚀
Hey there, @Anupkjha2601! 🌟
I'm thrilled to present this electrifying Pull Request that introduces a fantastic feature to our Food Recipes Website! 🍔🍕🍲
Now users can effortlessly copy icons to their clipboard with a single click! ✨
This awesome addition enhances the overall user experience, making it super easy for them to use icons in their projects. 🎉
I've thoroughly tested this feature on various browsers and devices to ensure flawless functionality. 💯 And guess what? It's working like a charm! 🔥
I'm confident this PR will be an absolute game-changer, bringing more delight to our users and boosting the productivity of our website! 🚀
Can't wait to hear your thoughts on this electrifying PR! Let's make Food Recipes Website even more amazing together! 🌟

@Anupkjha2601 Please add level3 label 🏷
This PR adds a new feature entirely from scratch.


Readme update

Added quick note for the DSL abbreviation.

Pulled this into the develop branch (and the 1.6.0 release branch on my local machine). I tweaked it slightly so that only the abbreviation itself was linked, and I linked to the Wikipedia entry rather than Fowler's page that pushes his book. I felt only a quick definition of "DSL" was necessary rather than a big list of specific patterns.

Sounds great., thanks.


automatic placement of nodes, with neat output

I'm lazy to think
idea :
group_position: "admin_list"
and y will be -5 (or custom) with x 0,1,2,3,4,5,6,7,8,9,10 (0..10 is admin_list)
cc @jacomyal @Yomguithereal @sheymann @sim51 @qinfchen @josemazo

sorry, i move to VisJS


minor fixes

some spelling mistakes
one command in restart cluster did not work for a local cluster until port was removed.
tpcc workload was pointing to bank command

This change is

please review @jseldess

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/bfca7f9d01b4a4a720fd38cd1fce58c41842ffef/

addressed your comments @jseldess


Replace navigator with nav in browser.ts

Fixed inconsistent use of nav, which results in an error when navigator is not defined (ex. server side rendering)

Thank you!


ffmpeg-qsv encode avc some cases psnr drop on TGL

os: ubuntu 18.04.3
kernel: 5.6.0-rc6+
platform: TGL
libva-afca400d5629
gmmlib-40c7d14fd16a
ffmpeg-cartwheel-e57905ae6125
intel-media-driver-388ea758af1f
vaapi-fits-smoke-a24b5f1caf09
vaapi-fits-6add33007b84
This issue is caused by this patch.
commit 37f26bb6850a242f6d2b549795ba31911386227b
Author: Pavel Gribov<EMAIL_ADDRESS>Date:   Mon Mar 16 15:14:00 2020 +0300
[h264e] Enable QPOffset by default

- In CQP mode and GopRefDist 1 case
  PRefType is set to MFX_P_REF_PYRAMID by default.
- EnableQPOffset is on by default, QPOffset is added in CQP mode.

case:
bframes=0,case=480p,gop=30,profile=main,qp=28,quality=4,slices=1
command line:
ffmpeg -init_hw_device qsv=qsv:hw -hwaccel qsv -filter_hw_device qsv -v verbose -f rawvideo -pix_fmt yuv420p -s:v 720x480 -i ./720x480p.yuv -vf 'format=nv12,hwupload=extra_hw_frames=120' -an -c:v h264_qsv -profile:v main -g 30 -q 28 -preset 4 -slices 1 -bf 0 -low_power 0 -vframes 150 -y ./test.h264
psnr:expect = [35.9774, 44.0011, 42.742, 40.9332, 46.4891, 45.4389]
psnr:actual = [35.2934, 43.8931, 42.6525, 40.5894, 46.3961, 45.3094]

Hi, @xinyudox
It's expected behavior for this patch. It drops PSNR, but improves bd-rate. We are planning to upload one or more related patches that provide further improvement. And it’s hard for me to say about the planned dates, but we expect them in the near future.

ok, thanks!


Should we think about models differently for aggregate queries?

Model instances seem to represent a table "row" conceptually, at least in the sense that they are validated upon writes (they seem to not be validated when fetched from the database– is that correct?).  I find this to be a little confusing when performing reads that do not actually return a valid record.
A simple example of this is when performing an aggregate query, where the result does not represent a physical row in the database– consider summing a rating attribute that is supposed to be between 1 and 5– of course the result may fail that requirement.  Another example is using a query builder method like columnInfo() that doesn't return data in the table at all.
Is there anything we can do to make this more conceptually consistent?  I love that objection helps me make my weird queries, and I don't want to mess with that.  I don't have any answers to the problem– just curious if there are any ideas out there.  My one idea would be a query-builder option that can make the results of a query not wrapped in a model instance.
Here's an example of that adapted from the docs,
Person
  .query()
  .select(Person.raw('coalesce(sum(??), 0) as ??', ['age', 'childAgeSum']))
  .groupBy('parentId')
  .asInstances(false)      // Do not wrap the results in `Person` instances
  .then(childAgeSums => {
    console.log(childAgeSums[0].childAgeSum);
  });

There is the knexQuery method:
Person
  .knexQuery()
  .select(Person.raw('coalesce(sum(??), 0) as ??', ['age', 'childAgeSum']))
  .groupBy('parentId')
  .then(childAgeSums => {
    console.log(childAgeSums[0].childAgeSum);
  });

Ah, thanks!  That's actually great for my purposes– I had overlooked it.


As a user, I want to create specific types of genealogical charts of my extended family tree so that I can visualize large amounts of data in a pleasing way.

A general desire to have genealogy data turned into visualizations that are easier for humans to process.
Does not fit into a specific card; this the essence of Genie itself


Deadzone not applying

Help, I can't for the life of me why this is happening, picture shows the left stick with a slight drift forwards, with a deadzone of 90%, it seems to apply to the other stick, and even to the X axis of the left stick, but not the Y axis where the drift actually exists. And as you can see from picture, the drift bad and jittery.

I just tested it with "Durazno v0.6-41" and it worked fine. =S
Can you check this test-dll please? It's for 32bit Durazno, just replace the dll in there with this one.

I was also using v0.6-41, got this joystick just last week, and am seriously considering returning it.
Anyway, it seems it handles better than before, however it still sort of rests off center like in picture.
Actually further testing right now to get picture showed the exact issue, if the movement is only on the Y axis then the deadzone is not applied, as soon as move sideways it works.

Can you attach your INI file please?

 Seems to be working as intended now. Thanks!
Can I just use the same dll and rename for the other needs? And do you still want the config file?

No need for the config files anymore. As for the dll, you might reuse it for a lower version but functions will be missing for a higher version dll. I'll try to get some builds later today though.

Thanks, let us know when you release it and close the issue.
Fyi, on the hardware side of things, it seems to have helped quite a lot to use an air blower over the mechanism, and then lubricate it with light machine oil, move it to let it spread and let it rest for a while. You should try that if your sticks are really too bad.

Roger that, I'll close it then. The new build is "Durazno v0.6-43", please see if works as expected.
As for the controller, it never centered at perfect zero but now it's very loose so it's even harder to keep it around the center. Nothing that some huge deadzone can't fix. =P


Test driven

The code about the test driven development exercise. Implementing an availability feature to the calendar app.

please sync to master


Device + entity customization + cleanup

Requirements

[ ] Name BrowserMod entities
[x] Add devices to rooms
[ ] Add entities to rooms
[x] Add icons to devices
[ ] Add icons the entities
[ ] Add icons to automation

UPDATED:

Added devices to rooms.
Added icons to devices.


Abida et al focus on polyA / TCGA focus on TPM normalized GEX (OSF)

Leave out the capture and focus just on the polyA GEX-matrices in Abida et al.
In TCGA use the TPM normalized extractable from the OSF data rather than cBioPortal's median normalized data
No need to include both

The capture gex and derived variables from capture gex have been removed


[RFC] Improve core types for (Async) Iterable/Iterator/Generator

Changes @@iterator method to return more specific type in Generators.
An $Iterator is an $Iterable
Add optional return and throw methods to $Iterator (http://www.ecma-international.org/ecma-262/7.0/#table-54)
A $Generator is an $Iterator
Fix mistaken function name to $asyncIterate to match style of $iterate.

@nmote anything preventing merging this?

Happy comment anniversary @goodmind!

I'm also finding lots of issues with async generators, but don't have the OCaml chops to help here.
Would love to see improvements like these :+1:

TIL that there's a convention for AsyncIterator.return being able to accept a promise:

If the argument value is used in the typical manner, then if it is a rejected promise, a promise rejected with the same reason should be returned; if it is a fulfilled promise, then its fulfillment value should be used as the value property of the returned promise's IteratorResult object fulfillment value. However, these requirements are also not enforced.

The TS type for AsyncIterator.return, consequently, is
return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;


Website examples should be minimal reproducable examples

In order to understand the examples on the website more easily, each example should be a minimal reproducable example. So if I copy the code into https://svelte.dev/repl the code should run right away. This would make it much easier for developers to implement the same functionality in their codebases.
Currently however, most of the code examples work with unknown factors such as custom components, svelte stores, etc...
Example:

bind:selected = {JSON.stringify($language_store)}

Favorite programming languages?

<MultiSelect
  id="languages"
  options={languages}
  placeholder="Take your pick..."
  bind:selected={$language_store}
>
  <LanguageSlot let:option {option} slot="selected" />
  <LanguageSlot let:option {option} slot="option" />
</MultiSelect>

Here the <LanguageSlot> is unknown. The content of $language_store is also unknown, and there's no import statement, so the code isn't a minimal reproducable example.
There's also examples that I couldn't get working at all when modifying them and adding them to a svelte repl.
One of those is the slots example , which I tried to reproduce in this repl , but the result was just a list with a bunch of undefined elements inside:

That's a great point! I liked the minimalism of only including the parts of the code that showed the mechanics, i.e. where to plug in slots, how to write the callbacks, etc. but that's probably because I wrote the code. I can see how someone who isn't familiar with the code base would prefer the complete runnable code. However, having multiple files to define the slot components in a slide out code fence isn't really feasible. So I added REPL links for each example in
db42ac9. We could add Stackblitz links as well. Happy to take a PR if anyone feels so inclined.


Responsive navbar with offcanvas

Responsive navbar with offcanvas would be nice addition in navbar components

Hi!
Thank you for your suggestion, we will keep that in mind


Support for strict mode with pytest-asyncio

Looks like when strict mode is enabled (as the old auto mode is being deprecated) when running a test lots of errors like these are produced:
AttributeError: 'async_generator' object has no attribute 'Response'

It looks like fixtures need to be explicitly decorated via: @pytest_asyncio.fixture as mentioned here https://github.com/pytest-dev/pytest-asyncio#strict-mode

looks like this might have been literally solved right now in 2.1.5, lol


Autoprefixer doesn't work out of the box

Describe the bug
In the Create React App doc, it says

This project setup minifies your CSS and adds vendor prefixes to it automatically through Autoprefixer so you don’t need to worry about it.

This doesn't seem to be true however.
Steps to reproduce
npx create-react-app my-app
cd my-app
npm run build

When I inspect build/static/css/main.xxx.chunk.css, I expect to see
.App-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

but I get
.App-header {
  display: flex;

d

meet the same problem.
yarn build and the result CSS like below:
.wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

and the value was not been computed:
.amd-form-item-default-label {
    flex-basis: 173 * 0.5 * 1px;
    margin-right: 24 * 0.5 * 1px;
}

Last,  I made sure again that  my configuration is correct  in package.json:
"browserslist": {
    "production": [
      "Android >= 5.0",
      "Chrome >= 60",
      "iOS >= 9"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }


Update sample to version v0.6.1

Current sample doesn't work with version 0.6.1. This PR is to fix it.

Awesome, thanks!


Multiple project firestore

I'm using this line of code for using firestore
$this->firestore = app('firebase.firestore')->database()
So I can get documents of collection using this line of code
$this->firestore->collection('peoples')->documents()
I have no problem with using the default project configuration.
But what if I have multiple project configurations?

Finally i'm using this line of code, and this is working. Thanks
$this->firestore = Firebase::project('project_name')->firestore()->database();


added protonet integration

This PR adds a integration for protonet soul (https://protonet.info/)
The toggl button is added to each todo-detail-view next to the other options in the top right.
Integration screenshot:

Is there a way to test it out with some demo account or something similar.

Hi, actually this is not possible since a protonet server is a private server that companies can host from their offices. If you really need to test it, I could set up a test account on my server, but this one is on a custom domain so it's even more complicated.

Hi Christian,
As Protonet seems to be quite a custom solution, meaning that it is usually on a private server and on a custom domain, there is no generic url that Toggl Button can use.

Hey, the avarage protonet user is always on *.protonet.info, which is the default subdomain for each protonet server.


How to connect the postgres to pgadmin of saleor docker container

I have tried everything
I used the hostname as DB, db, localhost, <IP_ADDRESS>, saleor, saleor-platform_db_1, postres but it did not work for me, I know that username and password is saleor/saleor.
Please help how can I connect it to pgadmin. I also tried updating it like below:
version: "2"

services:
  api:
    ports:
      - 8000:8000
    build:
      context: ./saleor
      dockerfile: ./Dockerfile
      args:
        STATIC_URL: "/static/"
    restart: unless-stopped
    networks:
      - saleor-backend-tier
    depends_on:
      - db
      - redis
      - jaeger
    volumes:
      - ./saleor/saleor/:/app/saleor:Z
      - ./saleor/templates/:/app/templates:Z
      - ./saleor/tests/:/app/tests
      # shared volume between worker and api for media
      - saleor-media:/app/media
    command: python manage.py runserver <IP_ADDRESS>:8000
    env_file: common.env
    environment:
      - JAEGER_AGENT_HOST=jaeger
      - STOREFRONT_URL=http://localhost:3000/
      - DASHBOARD_URL=http://localhost:9000/

  storefront:
    build:
      context: ./saleor-storefront
      dockerfile: ./Dockerfile.dev
    ports:
      - 3000:3000
    restart: unless-stopped
    volumes:
      - ./saleor-storefront/:/app:cached
      - /app/node_modules/
    command: npm start -- --hostname <IP_ADDRESS>

  dashboard:
    build:
      context: ./saleor-dashboard
      dockerfile: ./Dockerfile.dev
    ports:
      - 9000:9000
    restart: unless-stopped
    volumes:
      - ./saleor-dashboard/:/app:cached
      - /app/node_modules/
    command: npm start -- --host <IP_ADDRESS>

  db:
    image: library/postgres:11.1-alpine
    ports:
      - 5432:5432
    restart: unless-stopped
    networks:
      - saleor-backend-tier
    volumes:
      - saleor-db:/var/lib/postgresql/data
    environment:
      - POSTGRES_USER=saleor
      - POSTGRES_PASSWORD=saleor

  redis:
    image: library/redis:5.0-alpine
    ports:
      - 6379:6379
    restart: unless-stopped
    networks:
      - saleor-backend-tier
    volumes:
      - saleor-redis:/data

  worker:
    build:
      context: ./saleor
      dockerfile: ./Dockerfile
      args:
        STATIC_URL: "/static/"
    command: celery -A saleor --app=saleor.celeryconf:app worker --loglevel=info
    restart: unless-stopped
    networks:
      - saleor-backend-tier
    env_file: common.env
    depends_on:
      - redis
      - mailhog
    volumes:
      - ./saleor/saleor/:/app/saleor:Z,cached
      - ./saleor/templates/:/app/templates:Z,cached
      # shared volume between worker and api for media
      - saleor-media:/app/media

  jaeger:
    image: jaegertracing/all-in-one
    ports:
      - "5775:5775/udp"
      - "6831:6831/udp"
      - "6832:6832/udp"
      - "5778:5778"
      - "16686:16686"
      - "14268:14268"
      - "9411:9411"
    restart: unless-stopped
    networks:
      - saleor-backend-tier

  mailhog:
    image: mailhog/mailhog
    ports:
      - 1025:1025 # smtp server
      - 8025:8025 # web ui. Visit http://localhost:8025/ to check emails
    restart: unless-stopped
    networks:
      - saleor-backend-tier

  pgadmin:
    container_name: pgadmin4_container
    image: dpage/pgadmin4
    restart: always
    environment:
      PGADMIN_DEFAULT_EMAIL<EMAIL_ADDRESS>      PGADMIN_DEFAULT_PASSWORD: root
    ports:
      - "5050:80"
    depends_on:
      - db

volumes:
  saleor-db:
    driver: local
  saleor-redis:
    driver: local
  saleor-media:

networks:
  saleor-backend-tier:
    driver: bridge

I know it's a bit late.
Since you already installed PostgreSQL on your host machine, it takes up the default port of 5432.
So change the port mapping in your compose file to something either than 5432. Eg 5433:5432 and then use 5433 to connect from pgAdmin.


time function

Hello Adam,
thank you for such an original engine - I love this idea!
Patricia was running on a chess server for me and I noticed a time management issue?!
A basic idea is: do not start a new iteration without first checking whether there is still enough time available to complete the new iteration.
And from my observation, Patricia doesn't do that?! Example game:
[Event "Engine matches"]
[Site "?"]
[Date "2024.9.13"]
[Time "16:21:20"]
[White "?"]
[Black "Patricia 3.1"]
[Result "0-1"]
[WhiteElo "2213"]
[BlackElo "2214"]
[Opening "A09 Reti Opening: Advance Variation, 3.g3"]
{Time control = 5 1 Book(s): Cerebellum 3Merge 2020-09-16.bk ICCF GM 2500+ 2019+_20240909.bk playchess + infinitechess games 2500+_2020+.bk}

Nf3 d5 {0,00/0 0.0 } 2. c4 d4 {0,00/0 0.5 } 3. g3 Nf6 {0,00/0 0.0 } 4. d3 c5 {0,00/0 0.5 } 5. Bf4 Nc6 {-0,45/17 8.4 } 6. Nbd2 Nh5 {-0,82/16 7.3 } 7. Bg2 g6 {-0,92/15 7.6 } 8. Bg5 h6 {-1,21/15 6.8 } 9. Bf4 Bg7 {-1,37/15 7.2 } 10. Nb3 Nxf4 {-1,42/15 8.7 } 11. gxf4 O-O {0,00/1 8.2 } 12. Nfd2 e5 {-1,87/14 8.8 } 13. fxe5 Nxe5 {-1,63/14 6.0 } 14. Nxc5 Re8 {-1,77/13 7.6 } 15. Ndb3 Qh4 {-2,45/13 5.7 } 16. O-O Ng4 {-3,06/13 5.5 } 17. h3 Nf6 {-3,23/14 5.7 } 18. Kh2 Bxh3 {-7,86/14 6.2 } 19. Bxh3 Re3 {-7,44/13 5.0 } 20. f3 Rae8 {-7,89/13 5.0 } 21. Rg1 Nh5 {-9,04/14 5.8 } 22. Qf1 Rxe2+ {-10,03/14 5.5 } 23. Rg2 Nf4 {-10,86/14 4.8 } 24. Rxe2 Rxe2+ {-11,49/14 4.5 } 25. Kh1 Qg3 {-M 07/14 5.5 } 26. Qxe2 Nxe2 {opponent resigns} 0-1

for move 11:

the last finished iteration:
16:23:15.491<-info multipv 2 depth 15 seldepth 31 score cp 150 nodes 4351853 nps 545003 time 7985 pv e8g8 d1d2 d8d6 h2h4 a7a5 a2a4 e7e5 f4e5 d6e7 e1f1 a8a7 e5e6 c8e6 h4h5
the last (not finished) iteration:
16:23:15.491<-bestmove e8g8

move statistics in game notation: 0,00/1 8.2 (PV is missing because of unfinished iteration)
Thank you!

Hi, thank you for the feedback!
Patricia's time management works as such: if she completes an iteration and time is above some number A, she stops searching. If she hasn't completed an iteration, and time gets above A, she keeps searching to try and finish the iteration, but if it reaches some number B, she immediately stops searching so as to not run out of time.
This is a standard time management method that many engines use, and it gains a lot of Elo.
Here it seems that she searched for a little bit less than A time, then the next iteration took a very long time and it reached B time before it completed. This does happen occasionally, but there's no good way to predict if it is likely to happen, and it doesn't happen often enough to offset the benefits of the time management scheme.
If she doesn't print out the iteration while other engines do, it's because other engines print when they hit B, while Patricia only prints the best move and returns.

Hi, thank you for feedback!

and it doesn't happen often enough to offset the benefits of the time management scheme.

Well, it happens in almost all games, and also several times in same game. Here another examples, please note my annotations:
[Event "Engine matches"]
[Site "?"]
[Date "2024.9.18"]
[Round "?"]
[White "Patricia 3.1 ver Aug 7, 2024"]
[Black "?"]
[Result "1-0"]
[BlackElo "2197"]
[Opening "C65 Spanish: Berlin, Beverwijk Variation"]
[Time "18:48:36"]
[WhiteElo "2214"]
{Time control = 5 0 Book(s): Cerebellum 3Merge 2020-09-16.bk ICCF GM 2500+
2019+_20240909.bk playchess + infinitechess games 2500+_2020+.bk}  1. e4
{0,00/0 0.0 }  1... e5 2. Nf3 {0,00/0 0.0 }  2... Nc6 3. Bb5 {0,00/0 0.0 }
3... Nf6 4. O-O {0,00/0 0.0 }  4... Bc5 5. Bxc6 {0,00/0 0.6 }  5... dxc6 6. d3
{0,00/0 0.0 }  6... Qe7 7. Nbd2 {0,00/0 0.0 }  7... Ng4 8. h3 {0,00/0 0.0 }
8... h5 9. Nb3 {0,00/0 0.0 }  9... Bb6 10. d4 {0,31/14 7.8 }  10... Be6 11. a4
{0,21/16 6.9 }  11... O-O-O 12. a5 {0,38/15 6.0 }  12... Bxd4 13. Nbxd4
{0,38/16 7.2 }  13... exd4 14. Re1 {0,32/16 6.0 }  14... Nf6 15. Bg5 {1,48/15
6.0 }  15... Qc5 16. e5 {2,03/14 5.2 }  16... Nh7 17. Bxd8 {2,03/15 6.5 }
17... Rxd8 18. a6 {1,90/15 6.7 }  18... b5 19. Qd2 {2,10/15 5.5 }  19... g6
20. Rad1 {2,50/15 5.1 }  20... Qb6 21. Qf4 {0,00/1 5.0 -- unfinished iteration}
21... c5 22. b4 {2,52/15 5.3 }  22... cxb4 23. Nxd4 {2,90/16 5.3 }  23...
Nf8 24. Nxe6 {3,16/16 5.4 }  24... Qxe6 25. Qxb4 {6,04/19 5.8 }  25... c6 26.
Rxd8+ {11,55/18 5.1 }  26... Kxd8 27. Qxf8+ {opponent resigns}  1-0
[Event "Engine matches"]
[Site "?"]
[Date "2024.9.18"]
[Round "?"]
[White "?"]
[Black "Patricia 3.1 ver Aug 7, 2024"]
[Result "0-1"]
[BlackElo "2222"]
[Opening "C50 Giuoco Pianissimo: Italian Four Knights"]
[Time "19:03:32"]
[WhiteElo "2181"]
{Time control = 5 0 Book(s): Cerebellum 3Merge 2020-09-16.bk ICCF GM 2500+
2019+_20240909.bk playchess + infinitechess games 2500+_2020+.bk}  1. e4 e5
{0,00/0 0.0 }  2. Nf3 Nc6 {0,00/0 0.6 }  3. Bc4 Bc5 {0,00/0 0.0 }  4. d3 Nf6
{0,00/0 0.6 }  5. Nc3 O-O {0,00/0 0.0 }  6. Ng5 d6 {0,00/0 0.0 }  7. a3 Bg4
{0,00/0 0.0 }  8. f3 Bc8 {0,00/0 0.0 }  9. h4 a5 {0,00/0 0.0 }  10. g4 Nd4
{0,00/0 0.6 }  11. Kf1 h6 {0,00/0 0.5 }  12. Kg2 c6 {0,00/0 0.0 }  13. Ba2 d5
{0,00/0 0.5 }  14. Rh2 b5 {-2,21/13 6.4 }  15. Bd2 Qd6 {0,00/0 0.6 }  16. Rc1
Rb8 {0,00/1 7.1 -- unfinished iteration}  17. Nh3 b4 {-3,91/14 6.7 }  18. Na4
dxe4 {-3,83/15 9.4 }  19. Nxc5 exf3+ {-4,44/16 6.8 }  20. Kh1 Qxc5 {-4,35/16
6.5 }  21. c3 bxc3 {-5,13/15 5.4 }  22. bxc3 Ne2 {-6,13/15 5.9 }  23. g5 Ng3#
{opponent checkmated}  0-1
Maybe another look on your boundaries "A" and "B"?
Thank you.

I've watched quite a few games now, and I now know that iterations are aborted in almost every game, and several times in a single game. So these are not occasional situations!
You surely know “HGM” Harm-Geert Muller, a pope in computer chess? I quote:
"   H.G. Muller (NOV 21, 2008 on talkchess.com):
In uMax, where the search time is extremely variable, because it always finishes
an iteration, once its starts it, the target time (after which I do not start a
new iteration) must be at most 10% of the remaining time on the clock, or there
is a significant probability that it will forfeit on time with the current move.
On average it uses about 1.5 times as much time as this target time, but the
distribution has a very long tail towards long thinking times.
For the long-run target, you can assume that the game will last 40 more moves,
so that you have timeLeft + 40 * timeInc, and that you want on the average to
spend 4% of that remaining time on the next move.
So you get targetTime = 0.04 * (timeLeft + 40 * timeInc) / 1.5.
This works for any incremental time control, whether the increment is zero
(sudden death), or most of the time must come from the increment."
Just another suggestion...

Adam, a new run - I did some statistics...

This does happen occasionally, but there's no good way to predict if it is likely to happen, and it doesn't happen often enough to offset the benefits of the time management scheme.

Patricia has played so far: 213 games Fischer clocks 5 1
total number of unfinished iterations: 380
rate of unfinished iterations: 1.784 per game
To me this is not "occasionally". It means in every game almost 2 unfinished iterations, which means

wasted thinking time
even worse playing out a final move based on an unfinished iteration.

See HGM's statement above based on a very large knowledge and experience...

This is a standard time management method that many engines use

Are you sure? I watched many debates regarding time function on talkchess.com over the last about 15 years and I learnt: no, there is no standard. Rather, there are many different solutions, and people only agree on very basic things, such as: do not start a new iteration x+1 if it is unlikely that it can be completed regularly.
Here is another example of a final move, without finishing the iteration:
The move 28...Ra2 was finally played - out of the blue - based on an incomplete iteration, and it wasn't even examined in the last 5 search depths?! Would you trust a move like that?
Attached is the game and Patricia's iterations on this move alone.
Patricia games - unfinished iterations #02 - 28...Ra2.txt
Patricia games - unfinished iterations #02 - 28...Ra2 - engine statistics.txt


Style the Start Now button similar to the www website

@yuval-hazaz this is very weird - it doesn't show the correct button style on the Netlify preview here, but when I run this branch locally I do see the button with the right style (as I showed you today). Not sure why.


Does metering apply for Recording and Transcripts API when using delegated tokens?

[Enter feedback here]
Does metering apply for Recording and Transcripts API when using delegated tokens?  We have an app that will retrieve the transcript from a meeting created by User A  using their delegated token.   Will the cost apply here for User A to download the transcript or recording via the Graph API?
The page mentions pricing for App - not clear if that extends to App Permissions or to Delegated Permissions as well?

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

ID: 01f880b9-2394-f540-9b06-bcddbe40bfa8
Version Independent ID: 22de9e03-e917-bcc6-abd7-ebfb3a0cdec8
Content: Payment models and licensing requirements for Microsoft Teams APIs - Microsoft Graph
Content Source: concepts/teams-licenses.md
Product: microsoft-teams
Technology: microsoft-graph
GitHub Login: @nkramer
Microsoft Alias: MSGraphDocsVteam

@GauravES - Yes, the APIs to fetch meeting transcript and recording content are indeed metered APIs. This means that there is a cost associated with their usage, regardless of whether you're using delegated tokens or not. The cost applies to the usage of the API itself, not to the user who created the meeting or to the specific token used.

Ok, good to know.
Feedback to your pricing team:  A recording that is free to view or download or available to be shared at no cost from the creator's OneDrive should not cost via a delegated token for the same user via an API.

@GauravES - We have communicated the feedback to concerned team. Thanks!

We are closing this issue for now. Please feel free to reopen if required. Thanks!


Too Many Unnecessary json.parse calls

Should be

Right now, we are getting the response string, turning it back into JSON, and then parsing it again, which doesn't really make sense. Once we get the responseJSON, we can just pull the fields directly.
@joeyszhao can you go through all the fetch calls and update each call to the above format?

done


AWS Go SDK Upgrade

Proposal
In the Keda project, we are currently using below AWS Go SDK version.
github.com/aws/aws-sdk-go v1.44.287
But AWS released a V2 version long back which has few advantages over V1.
Below are the snippets from their docs.

The AWS SDK for Go v2 requires Go 1.15 or higher, and offers significant performance improvements in CPU and memory utilization over version 1. Review our Developer Guide to get started with AWS SDK for Go v2 or review the migration guide if you already use version 1.

The AWS SDK for Go V2 has been updated to take advantage of the Go modules which became the default development mode in Go 1.13. A number of packages provided by the SDK have been modularized and are independently versioned and released respectively. This change enables improved application dependency modeling, and enables the SDK to provide new features and functionality that follows the Go module versioning strategy.

Docs
https://aws.amazon.com/blogs/developer/aws-sdk-for-go-version-2-general-availability/
Migrating to the AWS SDK for Go V2
https://aws.github.io/aws-sdk-go-v2/docs/
We can upgrade to AWS SDK V2.
Use-Case
No response
Is this a feature you are interested in implementing yourself?
Maybe
Anything else?
No response

This is a nice improvement indeed.
Would you be willing to contribute with this?

@JorTurFer Yes, I can take up this.

nice! ❤


Add gorm, project center and wrapper-factory

These will be installed under /Developer/Applications

tools-xcode was considered but only builds mac apps and seems somewhat broken upon evaluation at least with FreeBSD.

https://github.com/ds-repos/ds-base/pull/32


Export Selection Has Different Results

Exporting a selection gives me different results in two regards.
Firstly the light data doesn't come down in the export, secondly I get duplicate nodes.
If I have an object tree.
Warehouse
   - Lights
   - SpawnPoint
   - WarehouseMesh

Export selection gives me...
Warehouse
WarehouseMesh
Warehouse
   - Lights
   - SpawnPoint
   - WarehouseMesh

Export selection with the KHR_lights_cmn will return no lights at all. Without selection I get the lights as expected.
I haven't tested anything with animation yet.
Observed on latest master.

Part of the json
        {
            "children" : [
                3,
                12,
                19
            ],
            "name" : "Warehouse"
        },
        {
            "mesh" : 8,
            "name" : "Struts",
            "translation" : [
                0.0,
                5.0,
                6.0
            ]
        },
        {
            "children" : [
                0,
                2,
                4,
                11,
                13,
                14,
                15,
                16,
                18
            ],
            "name" : "WarehouseMesh"
        },
        {
            "name" : "WarehouseMesh"
        },
        {
            "name" : "Warehouse"
        }

Can you please provide the file, as I just tested the feature and it works on my side.

I've noticed that as well - "export selected" yields markedly different results than exporting everything (even when everything is selected).
I'll get around to filing something after I finish repro'ing and reporting a more pressing issue:)

Tracking plans for updates here in https://github.com/KhronosGroup/glTF-Blender-IO/issues/193.


Checkov: CKV2_AZURE_21: “Ensure Storage logging is enabled for Blob service for read requests”

The Storage Blob service provides scalable, cost-efficient objective storage in the cloud. Storage Logging happens server-side and allows details for both successful and failed requests to be recorded in the storage account. These logs allow users to see the details of read, write, and delete operations against the blobs. Storage Logging log entries contain the following information about individual requests: Timing information such as start time, end-to-end latency, and server latency, authentication details , concurrency information and the sizes of the request and response messages.
Storage Analytics logs contain detailed information about successful and failed requests to a storage service. This information can be used to monitor individual requests and to diagnose issues with a storage service. Requests are logged on a best-effort basis.
We recommend that you ensure Storage Logging is enabled for Blob Service for Read Requests
Guide: https://docs.bridgecrew.io/docs/ensure-storage-logging-is-enabled-for-blob-service-for-read-requests

Previously added to .github/workflows/validate_terraform.yml skip_check.


Support using named parameters

In various places, rest parameter syntax (e.g. ...params) was used to
represent the parameters to an SQL statement. The problem with this
approach is that it would not allow named parameters to be used, because
in order to use named parameters, an object must be passed as the params
to the driver method, but passing an object as the first parameter would
end up being wrapped in an array, and the driver method would treat the
object as a single parameter.
This commit replaces the uses of rest parameter syntax with a check
whether there is exactly one parameter whose type is 'object'. If so,
that object is used as the params to the driver method. Otherwise, an
appropriate slice of the arguments array-like object is used as the
params to the driver method.
typeof arguments[1] === 'object' is used to allow the parameters to
be passed as a single array, in the same usage style as the driver
methods.

Crossposting:
Given that it's only the run method that applies, I don't think Statement should expose the specific id/changes property for all execution types. Maybe have a method to return the sqlite3 statement object instead if needed?

Given that it's only the run method that will return the change id / changes props, I don't think Statement should expose the specific id/changes property for all execution types. Maybe have a method to return the sqlite3 statement object instead if needed?

I just checked and the result of accessing lastID / changes is undefined before a successful run(). This is what it would be if we tried accessing either of these two properties on a driver statement object before a successful run(). Thus, I don't see harm in exposing these. One benefit is that it allows the API to remain unchanged.
The sql property is always available.

@koistya i think the changes look good, but don't have merge rights

@theogravity I cannot check it right now. Will be back on Monday. But, feel free to merge if everything looks good: https://github.com/kriasoft/node-sqlite/invitations

Thanks, do you want me to do the npm publishing as well?

@theogravity done, thanks getting involved!

Will publish under a minor version as there are no breaking API changes

@theogravity you will need to run npm run build and then publish from inside the build folder.

got it, thanks

Published under 2.2.0

Thank you very much Theo for reviewing and publishing these changes.


Better handling of timeouts in the block creation

The way that the block creation works is:

Try to read 1000 transactions
If less then 1000 transactions are available wait up to 5 seconds and create a block with less then 1000 transactions.

We included this timeout so that if the system is slow we do not create unnecessary small blocks.
The problem is that this timeout is not absolute, its reset everytime a new transaction comes in so for eg if transactions were to come in every 4 sec we would wait up to 4000 sec before creating the block.
We need to make this timeout absolute for a given block so that each block creation will wait at most 5 secs for new transactions before creating the block.

Related issue #427

This is no longer an issue with the release of BigchainDB 2.0, which works differently.


std.complex should have a separate Imaginary type

joseph.wakeling (@WebDrake) reported this on 2013-12-20T08:18:00Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=11787
CC List

bugzilla (@WalterBright)

Description
The rationale for a separate imaginary type has been laid out in Kahan & Thomas, "Augmenting a programming language with complex arithmetic", http://www.eecs.berkeley.edu/Pubs/TechRpts/1992/CSD-92-667.pdf, and has also been requested on the D mailing lists:
<EMAIL_ADDRESS>
Briefly, it should allow more efficient calculations (as unnecessary manipulations of 0 are avoided) and should allow a way round some calculations that unnecessarily evaluate to NaN under the IEEE floating point standard.

bugzilla (@WalterBright) commented on 2019-11-12T20:23:22Z
IMHO, this is not a bug, but a request for an enhancement...


Default values are not created/set on Android

Default values set in the app-settings.json and later baked into the xml file fine are not being applied to the preferences on the device.
As it turns out these have to actively be set by a command as described here:
http://stackoverflow.com/questions/6171155/defaultvalue-from-xml-preference-file-isnt-stored-why
I guess this belongs in the AppPreferencesActivity.template ?

I see, default values need to be copied to the preferences at first launch of application. Best way to resolve this is to check for a specific key in preferences (like apppreferences.defaults.copied) at plugin initialization and if it is not set, copy every preference value from xml.

Ok, did you mean to implement this or did you mean that I should have a look into it ? :-) not to make the same addition twice!
I'm not a java developer, thats the "problem"....

Currently I don't have time to implement this. And I am not an android developer too -)


Update the parameter from jwtPublicKey to certificate

See:

https://github.com/casdoor/casdoor-go-sdk
https://github.com/casdoor/casdoor-nodejs-sdk

@jakiuncle


fix regression on contex value implementation for Storage

fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/1861

/azp run cpp - storage


Scripts/code not firing on pjax:end, any thoughts?

Hi @mislav, thanks continually for a great plugin.
I'm running into a slight issue with refiring of scripts when pjax has finished/ended. If I refresh the browser on that page, the scripts work no problem, but on clicking/back (essentially with pjax is fired) my scripts never fire.
For example, I have this function,
function imageSizes() {
    $('.chronology-container .each-chronology .image-container, body.works-detail .image-container').each(function() {
        var div = $(this);
        var img = $('img', div);
        if ( img.height() < img.width() ) {
            div.addClass('landscape');
        } else {
            div.addClass('portrait');
        }
    });
}

And for pjax, I have:
$(document).on('ready pjax:end', function() {
    imageSizes();
    $('.loader').fadeOut();
});

But the script never works until I refresh... any thoughts? Am I doing this right? This is just one example, but things from isotope to custom scripts rarely fire on pjax. The weird thing is that the loader always fades out so I know it's doing something.
Cheers,
R

The event handler looks correct. You said the loader fades out after pjax has finished, so that means imageSizes definitely gets invoked. The problem probably lies within whatever that function is doing. Sprinkling logging or debugging statements in your code would be the fastest way to determine what's happening here and at which phase. Is anything stopping you from doing that?

@mislav Thanks for the help. I'll dig around more if it's nothing obvious. Appreciated!

@mislav I have to reopen this issue as I am really stuck with this. It's impacting on the rest of my scripts (sometimes fires, sometimes not... pretty inconsistent). Added a console.log statement to the imageSizes function shows it is being fired in the console; but it's clearly firing too early for the content. If I am using both ready pjax:end showed it show twice in the console? When exactly does pjax:end fire?

pjax:end fires after the XHR request fetching the new content has finished and new HTML has been injected into the DOM. I don't know what the problem of your app is since I don't see its full code nor understand exactly where the problem lies. “My scripts never fire” is a difficult problem to debug for anyone else other than you.

Thanks for the reply. I really want to solve this so what would you like from me? What would help us figure out what is going wrong? I'll post some further code updates...

Hi again @mislav...
Okay, so for example, at the top of my scripts.js file, I have lots of functions set up, an example of one is:
function imageSizes() {
	$('body.works-detail .image-container').each(function() {
		var div = $(this);
		var img = $('img', div);
		if ( img.height() < img.width() ) {
			div.addClass('landscape');
		} else {
			div.addClass('portrait');
		}
	});
}
imageSizes();

Then, after all this, I have two pjax setups; one for a click function, then one for any links with data-pjax.
$.pjax.defaults.scrollTo = false;
$.pjax.defaults.timeout = 200000;

if ($.support.pjax) {
	$(document).on('click', 'a[data-pjax-detail]', function(e) {
		e.preventDefault();
	    $('.loader').show();
	    $('body').removeClass('detail-loaded');
	    if ( $(this).is('.prev') ) {
		    $('body').addClass('detail-loading-prev');
	    } else {
			$('body').addClass('detail-loading-next');
	    }
	    var url = $(this).attr('href');
	    $('#pjax.content').one(window.transitionEnd, function() {
	        $.pjax({
	            url: url,
	            container: '#pjax.content',
	            //fragment: '#pjax.content',
	            timeout: 200000
	        });
			if ( $('body').is('.detail-loading-prev') ) {
		    	$('body').removeClass('detail-loading-prev detail-almost-loaded-prev detail-loading-next detail-almost-loaded-next').addClass('detail-almost-loaded-prev');
		    } else {
				$('body').removeClass('detail-loading-prev detail-almost-loaded-prev detail-loading-next detail-almost-loaded-next').addClass('detail-almost-loaded-next');
		    }
	    });
	});
	$(document).on('ready pjax:end', function() {
		$('body').removeClass('detail-loading-prev detail-loading-next').addClass('detail-loaded');
	});
}

$(document).pjax('a[data-pjax]', '#pjax.content');

$(document).on('ready pjax:start', function() {
	$('.loader').show();
});
$(document).on('ready pjax:end', function() {
	imageSizes();
	var bodyClass = $('meta[name=body-class]').attr('content');
	if (bodyClass !== undefined) { document.body.className = bodyClass; }
	$('.loader').fadeOut();
});

Hope this helps you realise my setup and if I am doing any particularly wrong? The issue I have is, for example, when I click on data-pjax-detail links, the imageSizes function states that it's firing with a console.log test, but it randomly says a portrait image, for example, is landscape and vice versa, then sometimes it is right and other times not so right. You see my issue... it's not consistent. This is one example using imageSizes whereas it's the same with any other function I have.

Sorry, there is not enough information given here for us to be able to provide any advice. It sounds like this might be a problem with usage of this project, and not a bug in our code. If you do think this is a bug, please reopen this and provide more information, such as steps to reproduce. Thank you!


possibility to set urlencode to false

The feature offers a choice on encoding query

Q
A

Branch?
master

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets

License
MIT

Doc PR

example:
$httpClient = HttpClient::create();

$response = $httpClient->request('GET', 'http://example.com', [
    'query'=>[
        'key_1'=>['value'=>'example1,example2', 'urldecode'=>false],
        'key_2'=>'normal'
    ]
]);

But actually this would be rejected. If you need a specific encoding scheme, pass the query in the URL directly.


rhel images on registry.access.redhat.com appear to be missing nss_wrapper

Image stream shows:
$ oc describe is python -n openshift
Name:			python
Created:		3 weeks ago
Labels:			<none>
Annotations:		openshift.io/image.dockerRepositoryCheck=2015-12-16T00:46:26Z
Docker Pull Spec:	<IP_ADDRESS>:5000/openshift/python

Tag	Spec								Created		PullSpec							Image
2.7	registry.access.redhat.com/rhscl/python-27-rhel7:latest		3 weeks ago	registry.access.redhat.com/rhscl/python-27-rhel7:latest		93d5039ac0fd9c1a9361b3459fdb005cddbdab694afe8d09abf18c064abebf20
3.3	registry.access.redhat.com/openshift3/python-33-rhel7:latest	3 weeks ago	registry.access.redhat.com/openshift3/python-33-rhel7:latest	f50d07ce98c32fc94bdb75215468a4df26b9810aaa96cb5bbdfcf9a68571408d
3.4	registry.access.redhat.com/rhscl/python-34-rhel7:latest		3 weeks ago	registry.access.redhat.com/rhscl/python-34-rhel7:latest		bae1743ada780f4f14ba992fb5719ecd8cb2360480546280369050e597f98b3f
latest	3.4								3 weeks ago	registry.access.redhat.com/rhscl/python-34-rhel7:latest		bae1743ada780f4f14ba992fb5719ecd8cb2360480546280369050e597f98b3f

Logs show lots of:
ERROR: ld.so: object 'libnss_wrapper.so' from LD_PRELOAD cannot be preloaded: ignored.

If rsh into the container created by the RHEL based S2I builder for Python, no nss_wrapper files exist.
bash-4.2$ find / -name '*nss_wrapper*' -print
find: '/proc/tty/driver': Permission denied
find: '/var/cache/ldconfig': Permission denied
find: '/var/lib/machines': Permission denied
find: '/var/lib/yum/history/2015-12-02/1': Permission denied
find: '/var/lib/yum/history/2015-12-02/2': Permission denied
find: '/var/lib/yum/history/2015-12-02/3': Permission denied
find: '/var/lib/yum/history/2015-12-02/4': Permission denied

bash-4.2$ ls -las /usr/lib64/libnss_*
 48 -rwxr-xr-x. 1 root root  46552 Oct 29 13:19 /usr/lib64/libnss_compat-2.17.so
  0 lrwxrwxrwx. 1 root root     30 Dec  3 03:40 /usr/lib64/libnss_compat.so -> ../../lib64/libnss_compat.so.2
  0 lrwxrwxrwx. 1 root root     21 Dec  2 09:26 /usr/lib64/libnss_compat.so.2 -> libnss_compat-2.17.so
 40 -rwxr-xr-x. 1 root root  38224 Oct 29 13:19 /usr/lib64/libnss_db-2.17.so
  0 lrwxrwxrwx. 1 root root     26 Dec  3 03:40 /usr/lib64/libnss_db.so -> ../../lib64/libnss_db.so.2
  0 lrwxrwxrwx. 1 root root     17 Dec  2 09:26 /usr/lib64/libnss_db.so.2 -> libnss_db-2.17.so
 28 -rwxr-xr-x. 1 root root  27512 Oct 29 13:19 /usr/lib64/libnss_dns-2.17.so
  0 lrwxrwxrwx. 1 root root     27 Dec  3 03:40 /usr/lib64/libnss_dns.so -> ../../lib64/libnss_dns.so.2
  0 lrwxrwxrwx. 1 root root     18 Dec  2 09:26 /usr/lib64/libnss_dns.so.2 -> libnss_dns-2.17.so
 64 -rwxr-xr-x. 1 root root  61928 Oct 29 13:19 /usr/lib64/libnss_files-2.17.so
  0 lrwxrwxrwx. 1 root root     29 Dec  3 03:40 /usr/lib64/libnss_files.so -> ../../lib64/libnss_files.so.2
  0 lrwxrwxrwx. 1 root root     20 Dec  2 09:26 /usr/lib64/libnss_files.so.2 -> libnss_files-2.17.so
 28 -rwxr-xr-x. 1 root root  28264 Oct 29 13:19 /usr/lib64/libnss_hesiod-2.17.so
  0 lrwxrwxrwx. 1 root root     30 Dec  3 03:40 /usr/lib64/libnss_hesiod.so -> ../../lib64/libnss_hesiod.so.2
  0 lrwxrwxrwx. 1 root root     21 Dec  2 09:26 /usr/lib64/libnss_hesiod.so.2 -> libnss_hesiod-2.17.so
 68 -rwxr-xr-x. 1 root root  66184 Oct 12 08:39 /usr/lib64/libnss_myhostname.so.2
260 -rwxr-xr-x. 1 root root 263688 Oct 12 08:39 /usr/lib64/libnss_mymachines.so.2
 56 -rwxr-xr-x. 1 root root  56792 Oct 29 13:19 /usr/lib64/libnss_nis-2.17.so
  0 lrwxrwxrwx. 1 root root     27 Dec  3 03:40 /usr/lib64/libnss_nis.so -> ../../lib64/libnss_nis.so.2
  0 lrwxrwxrwx. 1 root root     18 Dec  2 09:26 /usr/lib64/libnss_nis.so.2 -> libnss_nis-2.17.so
 68 -rwxr-xr-x. 1 root root  65744 Oct 29 13:19 /usr/lib64/libnss_nisplus-2.17.so
  0 lrwxrwxrwx. 1 root root     31 Dec  3 03:40 /usr/lib64/libnss_nisplus.so -> ../../lib64/libnss_nisplus.so.2
  0 lrwxrwxrwx. 1 root root     22 Dec  2 09:26 /usr/lib64/libnss_nisplus.so.2 -> libnss_nisplus-2.17.so

The file for generating the passwd/group files and setting environment variable is present.
bash-4.2$ cat /opt/app-root/etc/generate_container_user
# Set current user in nss_wrapper
PASSWD_DIR="/opt/app-root/etc"

export USER_ID=$(id -u)
export GROUP_ID=$(id -g)
envsubst < ${PASSWD_DIR}/passwd.template > ${PASSWD_DIR}/passwd
export LD_PRELOAD=libnss_wrapper.so
export NSS_WRAPPER_PASSWD=${PASSWD_DIR}/passwd
export NSS_WRAPPER_GROUP=/etc/group

Confused.
I don't remember if saw this with CentOS based images and I can't check right now as the remote cluster I am using decided to run out of disk space. So need to get that fixed up before can try.

Managed a deploy on the broken cluster as some nodes still okay.
Confirmed I don't see the preload error with CentOS images and that nss_wrapper files do exist.
$ oc rsh wsgi-hello-world-1-rqiy2 bash
bash-4.2$ find / -name '*nss_wrapper*' -print
find: '/lost+found': Permission denied
find: '/proc/tty/driver': Permission denied
/usr/bin/nss_wrapper.pl
/usr/lib64/pkgconfig/nss_wrapper.pc
/usr/lib64/cmake/nss_wrapper
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config-version.cmake
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config.cmake
/usr/lib64/libnss_wrapper.so
/usr/lib64/libnss_wrapper.so.0
/usr/lib64/libnss_wrapper.so.0.1.0
find: '/var/cache/ldconfig': Permission denied
find: '/var/lib/yum/history/2015-08-14/1': Permission denied
find: '/var/lib/yum/history/2015-08-14/2': Permission denied
find: '/var/lib/yum/history/2015-08-14/3': Permission denied
find: '/var/lib/yum/history/2015-08-14/4': Permission denied
find: '/var/lib/yum/history/2015-08-14/5': Permission denied
find: '/var/lib/yum/history/2015-08-14/6': Permission denied
find: '/var/lib/yum/history/2015-08-14/7': Permission denied
/var/lib/yum/yumdb/n/b097b2acb37e9cf59ccff6ee0ad3c4823a2e138c-nss_wrapper-1.0.3-1.el7-x86_64
find: '/var/tmp/yum-root-_MPE5y': Permission denied

@GrahamDumpleton it is yum that is lying to us I presume. When we build the image and the nss_wrapper is not installed, we don't know that until we manually inspect the image. We should really be checking everything we install and verify that it was really installed.
@bparees did we released these images? @GrahamDumpleton are this images from official channel?

The images are whatever was added as part of the Roadshow environment installation. Uses the standard Ansible scripts as far as I know, but with it being pointed at Red Hat internal registry and not just Docker Hub and so with RHEL variants of builders pulled in. @thoraxe could say more about how Roadshow environments are built.

I don't think the roadshow has anything to do with the situation in this particular case. If the images in the RH registry are missing libraries, they're missing libraries?

@mfojtik please double check our registry.access.redhat.com rhel7 images for this issue.  If they are in fact missing the nss_wrapper rpm, work with @sdodson.

@mfojtik it's definitely not in this image
registry.access.redhat.com/openshift3/python-33-rhel7                latest              66bbba7cedad        4 weeks ago         463 MB
$ docker run -it registry.access.redhat.com/openshift3/python-33-rhel7 rpm -q nss_wrapper
package nss_wrapper is not installed

@tdawson sounds like we'll need a rebuild/publish of the python image to fix this.

Cluster got rebuilt. So here is results from the three different images for different Python versions.
The fact that all three don't have it is odd in itself. I could imagine one failing, but all three.
The CentOS ones are all fine.
$ oc run -i --tty py27 --image=python:2.7 --restart=Never --command bash
I have no name!@py27:/$ find / -name '*nss_wrapper*' -print
find: `/etc/ssl/private': Permission denied
find: `/proc/tty/driver': Permission denied
find: `/root': Permission denied
find: `/var/cache/ldconfig': Permission denied
I have no name!@py27:/$ uname -a
Linux py27 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 GNU/Linux

$ oc run -i --tty py33 --image=python:3.3 --restart=Never --command bash
I have no name!@py33:/$ find / -name '*nss_wrapper*' -print
find: `/etc/ssl/private': Permission denied
find: `/proc/tty/driver': Permission denied
find: `/root': Permission denied
find: `/var/cache/ldconfig': Permission denied
I have no name!@py33:/$ uname -a
Linux py33 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 GNU/Linux

$ oc run -i --tty py34 --image=python:3.4 --restart=Never --command bash
I have no name!@py34:/$ find / -name '*nss_wrapper*' -print
find: `/etc/ssl/private': Permission denied
find: `/proc/tty/driver': Permission denied
find: `/root': Permission denied
find: `/var/cache/ldconfig': Permission denied
I have no name!@py34:/$ uname -a
Linux py34 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 GNU/Linux

Results for CentOS images are:
$ oc run -i --tty py27 --image=openshift/python-27-centos7 --restart=Never --command bash
bash-4.2$ find / -name '*nss_wrapper*' -print
find: '/lost+found': Permission denied
find: '/proc/tty/driver': Permission denied
/usr/bin/nss_wrapper.pl
/usr/lib64/pkgconfig/nss_wrapper.pc
/usr/lib64/cmake/nss_wrapper
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config-version.cmake
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config.cmake
/usr/lib64/libnss_wrapper.so
/usr/lib64/libnss_wrapper.so.0
/usr/lib64/libnss_wrapper.so.0.1.0
find: '/var/cache/ldconfig': Permission denied
find: '/var/lib/yum/history/2015-08-14/1': Permission denied
find: '/var/lib/yum/history/2015-08-14/2': Permission denied
find: '/var/lib/yum/history/2015-08-14/3': Permission denied
find: '/var/lib/yum/history/2015-08-14/4': Permission denied
find: '/var/lib/yum/history/2015-08-14/5': Permission denied
find: '/var/lib/yum/history/2015-08-14/6': Permission denied
find: '/var/lib/yum/history/2015-08-14/7': Permission denied
/var/lib/yum/yumdb/n/b097b2acb37e9cf59ccff6ee0ad3c4823a2e138c-nss_wrapper-1.0.3-1.el7-x86_64
find: '/var/tmp/yum-root-_MPE5y': Permission denied
bash-4.2$ uname -a
Linux py34 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 x86_64 x86_64 GNU/Linux

$ oc run -i --tty py33 --image=openshift/python-33-centos7 --restart=Never --command bash
bash-4.2$ find / -name '*nss_wrapper*' -print
find: '/lost+found': Permission denied
find: '/proc/tty/driver': Permission denied
/usr/bin/nss_wrapper.pl
/usr/lib64/pkgconfig/nss_wrapper.pc
/usr/lib64/cmake/nss_wrapper
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config-version.cmake
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config.cmake
/usr/lib64/libnss_wrapper.so
/usr/lib64/libnss_wrapper.so.0
/usr/lib64/libnss_wrapper.so.0.2.0
find: '/var/cache/ldconfig': Permission denied
find: '/var/lib/machines': Permission denied
find: '/var/lib/yum/history/2015-12-15/1': Permission denied
find: '/var/lib/yum/history/2015-12-15/2': Permission denied
find: '/var/lib/yum/history/2015-12-15/3': Permission denied
find: '/var/lib/yum/history/2015-12-15/4': Permission denied
find: '/var/lib/yum/history/2015-12-15/5': Permission denied
find: '/var/lib/yum/history/2015-12-15/6': Permission denied
/var/lib/yum/yumdb/n/4187e893c3c63399d23cd0a87abc08bcccf8f05e-nss_wrapper-1.1.0-1.el7-x86_64
bash-4.2$ uname -a
Linux py33 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 x86_64 x86_64 GNU/Linux

$ oc run -i --tty py34 --image=openshift/python-34-centos7 --restart=Never --command bash
bash-4.2$ find / -name '*nss_wrapper*' -print
find: '/lost+found': Permission denied
find: '/proc/tty/driver': Permission denied
/usr/bin/nss_wrapper.pl
/usr/lib64/pkgconfig/nss_wrapper.pc
/usr/lib64/cmake/nss_wrapper
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config-version.cmake
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config.cmake
/usr/lib64/libnss_wrapper.so
/usr/lib64/libnss_wrapper.so.0
/usr/lib64/libnss_wrapper.so.0.1.0
find: '/var/cache/ldconfig': Permission denied
find: '/var/lib/yum/history/2015-08-14/1': Permission denied
find: '/var/lib/yum/history/2015-08-14/2': Permission denied
find: '/var/lib/yum/history/2015-08-14/3': Permission denied
find: '/var/lib/yum/history/2015-08-14/4': Permission denied
find: '/var/lib/yum/history/2015-08-14/5': Permission denied
find: '/var/lib/yum/history/2015-08-14/6': Permission denied
find: '/var/lib/yum/history/2015-08-14/7': Permission denied
/var/lib/yum/yumdb/n/b097b2acb37e9cf59ccff6ee0ad3c4823a2e138c-nss_wrapper-1.0.3-1.el7-x86_64
find: '/var/tmp/yum-root-jTzDe5': Permission denied
bash-4.2$ uname -a
Linux py34 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 x86_64 x86_64 GNU/Linux

If rpm -V is your solution, don't think you got it right:

https://github.com/openshift/sti-python/commit/fc308b8b44afc8895172f31a2da9f22f397fdf74#commitcomment-15437745

Presumably addressed by:

https://github.com/openshift/sti-python/commit/fc308b8b44afc8895172f31a2da9f22f397fdf74

When will updated images make it to RH registry though, or have they already been updated?
BTW, ignore any email you may have seen of me questioning whether fix was correct. I wasn't reading stuff properly. :-)

we'll queue that up for the 3.1.1 release.

this appears to be fixed for the v3.3 image.  SCL will be updating the 2.7 and 3.4 images in february so let's revisit this then.

When you say v3.3, are you talking about OpenShift 3.3, which I understand is likely to be around June/July?

@GrahamDumpleton yep, summit time release.

@GrahamDumpleton @mfojtik
no, i'm talking about the python version in the image.  We have 3 python images, one for python27, one for python33, and one for python34.  The python v3.3 image is shipped by openshift, so we've fixed that one already.  The 2.7 and 3.4 images are delivered by the SCL team so they have a different release schedule.

Can you clarify then if this isn't OpenShift 3.3, when will the change likely be incorporated? Will it be fixed in time for online preview?

Again, the python v3.3 images are already fixed.
2.7 and 3.4 should be fixed by the SCL team before the online preview, but @hhorak would need to confirm.

Specifically openshift3/python-33-rhel7 is fixed but rhscl/python-34-rhel7
and rhscl/python-27-rhel7 are not. There's no correlation between these and
specific OpenShift versions or OpenShift release timelines. The rhscl
images ship independently.
On Fri, Feb 5, 2016 at 9:58 AM, Ben Parees<EMAIL_ADDRESS>wrote:

Again, the python v3.3 images are already fixed.
2.7 and 3.4 should be fixed by the SCL team before the online preview, but
@hhorak https://github.com/hhorak would need to confirm.
—
Reply to this email directly or view it on GitHub
https://github.com/openshift/sti-python/issues/87#issuecomment-180389579
.

The fix should be now in testing and released after next update for python-27 and python-34.

Presumably this is now fixed so closing.


fix external debug-halt vs. exception concurrency

Fixing #879.
The CPU can now be halted right after reset before the first instruction is executed. However, the on-chip debugger does not provide the "halt on reset" functionality yet (but that can be emulated by the debugger).

I've tested this by replacing the IMEM by a constant x"00000000" (illegal instruction) and I was able to halt the core at any time (even right after reset 🎉).
So, hopefully, this fixed the "bug".
Thanks again for your help! :+1:


multiple image upload

please provide ability to upload multiple images.

This a limitation from Instagram. We can't do anything about it :(


fix lazy_loader

Different versions of lazy_loader have different dependencies on Python version. So we add a LazyLoader class by ourselves.

Please fix this as well:
Simbert不能正常使用，除非你安装：bert4keras、tensorflow ，为了安装快捷，没有默认安装.... No module named 'bert4keras'
Traceback (most recent call last):
  File "/work/share/home/csj/data-juicer/tools/process_data.py", line 3, in <module>
    from data_juicer.config import init_configs
  File "/work/share/home/csj/data-juicer/data_juicer/config/__init__.py", line 1, in <module>
    from .config import (export_config, get_init_configs, init_configs,
  File "/work/share/home/csj/data-juicer/data_juicer/config/config.py", line 17, in <module>
    from data_juicer.ops.base_op import OPERATORS
  File "/work/share/home/csj/data-juicer/data_juicer/ops/__init__.py", line 1, in <module>
    from . import deduplicator, filter, mapper, selector
  File "/work/share/home/csj/data-juicer/data_juicer/ops/selector/__init__.py", line 1, in <module>
    from . import (frequency_specified_field_selector, random_selector,
  File "/work/share/home/csj/data-juicer/data_juicer/ops/selector/random_selector.py", line 6, in <module>
    from data_juicer.format.mixture_formatter import MixtureFormatter
  File "/work/share/home/csj/data-juicer/data_juicer/format/__init__.py", line 1, in <module>
    from . import (csv_formatter, empty_formatter, json_formatter,
  File "/work/share/home/csj/data-juicer/data_juicer/format/empty_formatter.py", line 4, in <module>
    import ray

Please fix this as well:
Simbert不能正常使用，除非你安装：bert4keras、tensorflow ，为了安装快捷，没有默认安装.... No module named 'bert4keras'
Traceback (most recent call last):
  File "/work/share/home/csj/data-juicer/tools/process_data.py", line 3, in <module>
    from data_juicer.config import init_configs
  File "/work/share/home/csj/data-juicer/data_juicer/config/__init__.py", line 1, in <module>
    from .config import (export_config, get_init_configs, init_configs,
  File "/work/share/home/csj/data-juicer/data_juicer/config/config.py", line 17, in <module>
    from data_juicer.ops.base_op import OPERATORS
  File "/work/share/home/csj/data-juicer/data_juicer/ops/__init__.py", line 1, in <module>
    from . import deduplicator, filter, mapper, selector
  File "/work/share/home/csj/data-juicer/data_juicer/ops/selector/__init__.py", line 1, in <module>
    from . import (frequency_specified_field_selector, random_selector,
  File "/work/share/home/csj/data-juicer/data_juicer/ops/selector/random_selector.py", line 6, in <module>
    from data_juicer.format.mixture_formatter import MixtureFormatter
  File "/work/share/home/csj/data-juicer/data_juicer/format/__init__.py", line 1, in <module>
    from . import (csv_formatter, empty_formatter, json_formatter,
  File "/work/share/home/csj/data-juicer/data_juicer/format/empty_formatter.py", line 4, in <module>
    import ray

Have also lazy loaded ray and redis.

Please sync the main branch.

再检查下是否有遗漏，比如刚合并的 image_face_count_filter

Done


Difference between poll_for_frames and wait_for_frames modes?

Required Info

Camera Model
D400

Firmware Version
5.09.14

Operating System & Version
Linux (Ubuntu 16)

Kernel Version (Linux Only)
4.4.38-tegra

Platform
NVIDIA Jetson

SDK Version
2

Language
C++

Issue Description
Reading through the API docs I was unclear about the difference / use cases between the mode of "poll_for_frames" and "wait_for_frames":

poll_for_frames:

rs2::pipeline pipe;
pipe.start();
rs2::frameset frames = pipe.wait_for_frames();
rs2::frame frame = frames.first(RS2_STREAM_DEPTH);
if (frame)
    frame.get_data();

wait_for_frames

rs2::pipeline pipe;
pipe.start();
rs2::frameset frames;
if (pipe.poll_for_frames(&frames))
{
    rs2::frame depth_frame = frames.first(RS2_STREAM_DEPTH);
    depth_frame.get_data();
}

My understanding is that wait_for_frames() is blocking with a timeout, and poll_for_frames you have to call yourself?  If I'm using a rs2::frame_queue for processing my only option is to poll, correct? Am I misunderstanding something?

Hi @mprat
Your understanding is pretty much correct. Wait for frames will block until frame is available. Poll for frames will always return instantly. There is also try_wait_for_frames that will block but not throw on timeout but rather return false. frame_queue has similar wait_for_frame / poll_for_frame / try_wait_for_frame methods. Note frame instead of frames. These share the same semantics.
Usually, if you are implementing single producer / single consumer model wait_for_frame/s is best choice. If frame is available by the time your processing finish, it will return immediately, if not, it will block and free up CPU until next frame is available. If you have multiple producers (multi-camera setup) this model becomes problematic (since we don't have something like "wait for multiple objects" in the API). Then we recommend to switch to poll_for_frames, like in the multicam example.
If you do use poll_for_frames you should manually decide when to put the CPU to sleep and for how long, otherwise you can end up using 100% of a single core.
Let us know if you have follow-up questions

Does the "multi-cam" logic apply for multiple USB devices or for multiple camera streams from a single device as well?
If I know I want to process multiple streams (say RGB & depth) then do you still recommend the wait_for_frames model?

wait_for_frame/s works naturally with single pipeline / frame_queue object. If you have multiple, better use poll_for_frames to ensure you are not missing frames from one queue when waiting on another.

Multiple streams come from a single pipeline / frame_queue object, so sounds like wait_for_frames is the right way to go. Thanks!

Hi @doronhi , my question is if I enable auto exposure priority, does it supersede wait_for_frameswhen exposure time is longer than time out period?


fix(theme): switch to rhdh-plugins theme which also incl. some mui v5 fixes

Description
This PR switch the theme from https://github.com/redhat-developer/red-hat-developer-hub-theme repo to https://github.com/redhat-developer/rhdh-plugins/tree/main/workspaces/theme
The npm version 0.4.0 of both packages was the same, but the latest 0.4.3 already contains some MUI v5 bugfixes.
https://github.com/redhat-developer/rhdh-plugins/blob/main/workspaces/theme/plugins/theme/CHANGELOG.md
Which issue(s) does this PR fix

https://github.com/redhat-developer/rhdh-plugins/pull/122
https://github.com/redhat-developer/rhdh-plugins/pull/123
https://github.com/redhat-developer/rhdh-plugins/pull/125
https://github.com/redhat-developer/rhdh-plugins/pull/126
https://github.com/redhat-developer/rhdh-plugins/pull/129
https://github.com/redhat-developer/rhdh-plugins/pull/135
https://github.com/redhat-developer/rhdh-plugins/pull/136
https://github.com/redhat-developer/rhdh-plugins/pull/139

PR acceptance criteria
Please make sure that the following steps are complete:

[x] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

Font is missing...
/hold

/lgtm for bulk import
https://github.com/user-attachments/assets/1ca38644-4e4c-4585-8500-251e2ac32566

Test with pr-2033-5a56eeac:
I noticed a lot of small improvements with background colors, but also some blocking issues.
Fixes

Description
Before
With this PR
1.3

Bulk import Add repository page uses same background color for card and table

Bulk import Add repo drawer background color

RBAC sidebar with changed background color and outline around buttons

Card borders are back and vertical tab selection-indicator is now on the right side

Issues

Description
Before
With this PR
1.3

The Red Hat font is still missing
no picture
no picture
no picture

The biggest difference is the missing padding around the tables, but I need to check this with @ShiranHi and maybe @ciiay if they are mandatory. I'm fine with reverting that change for now.

no picture

Missing padding in bulk import (MUI v5)

no picture

Missing padding on search, also the search bar misses background color since 1.4

Missing shadow or border around action dropdown

tested topology .
https://github.com/user-attachments/assets/ab9e3496-9c0c-4ca9-84d8-285790dc1b03

Tested with pr-2033 ,  image pr-2033 will contain changes from latest commit , right @christoph-jerolimov ?


MMQS filter is overly strict in fp_filter

Occasionally SNVs near each other will be removed inappropriately if they cause the MMQS value to exceed the threshold.  It does still remove plenty of "junk", but we may want to consider replacing it or tweaking the parameters.

Copying old notes here for reference:
Problem: There are two point mutations p.Q61 is filtered as DOCM_ONLY chr12:25227341 T>G.   p.R68 does not appear in the vcf outputs chr12:25227322 T>G.  VAFs are high both variants are mostly supported by the same reads.

read depth there is 83,34 for a  VAF of 29%  but called by docm only - mutect, strelka, and varscan all filtered it out with MMQSD50: Difference in average mismatch quality sum between variant and reference supporting reads is greater than 50
There are not more than just those two mutations in those reads if you zoom out. Mutect also dropped them before the FP filter as being "clustered events"
these are the bam-readcount values for that site:
MMQS ref (T) = 2.99
MMQS var (G) = 63.29

Here's a summary of the mismatch quality sum (MMQS) filter that runs as part of the false-positive filter.
It calculates the average MMQS for reads supporting the variant and reads supporting the reference, and if ``$var_mmqs - $ref_mmqs > 50`, tosses the site.
You can read the definition of MMQS from Travis here: https://www.biostars.org/p/69910/#70336
Ignoring the adjacent-base stuff, because it doesn't apply here, the basic idea is: for each read, take the mismatched bases, and sum up their quality scores. Then, average that across all the reads supporting the variant, and those supporting the reference.
This is meant to remove mismappings due to paralogous sequence, which are a problem.  They result in mappings that look a lot like this: 2-10 high-quality bases being present in lots of reads.  Unfortunately, that's also what real phased events look like, and it's possible that with the advent of longer reads and hiqher quality scores, the MMQS threshold of 50 is too low.
I'm going to take a pass through this case's VCFs, and take a look at some sites excluded only by this filter to see if altering it might make sense

small sample size, but there are only two other sites in this sample removed solely by this filter, and they both are clearly garbage

The two bad sites in this sample have mmqs differences of 95.47 and 78.4, so not miles above the 60.3 of the good site in KRAS
Okay, I've reviewed 4 samples now, each of which only has a fairly small number of sites that only fail this filter.  (3-9 variants). For these sites, I calculated the mmqs_diff score and manually reviewed it to see a) if it was a good site or not and b) if any of the later filters (mapq, llr) would have caught it.   Another 9 sites would have been caught by a subsequent filter, but that'd still leave us with 13 false positives across 4 samples.  Not awful, but not great either.

Two common patterns in the sites:

the clear paralogs - just mismapped reads

garbage regions with lots of errors

i feel like maybe #2 could be caught by messing with some of the other read/base quality params but I don't have a clear idea of what to require to weed out #1 without also removing sites like the KRAS above.
Open to ideas on how to alter this filter to rescue these sites without losing the specificity bump from using this filter.


Move the test files next to the source files

Move the test files from test next to the source files.
Originally posted by @anbraten in https://github.com/geprog/vite-plugin-env-config/issues/23#issuecomment-1121388516

@anbraten Where should we keep the fixtures and snapshots then?


Doublons

Duplicated files under texts/xml-provisional/doublon-to-check should be excluded from the repository (by adding this directory in .gitignore, for instance). Otherwise it's impossible to tell which files are supposed to be validated and which are not.

@michaelnmmeyer — this folder was created recently by @ajaniak when (at my request) she restructured the contents of the repo, which were previously organized per encoder. in the process, she determined that a small number of inscriptions had been encoded twice. see this commit.
our encoders @chhomkunthea, @chloechollet and @salomepichon are working on undoubling the files and will inform you once the doublon-to-check folder is ready to be deleted.

@arlogriffiths I understand. My observation is purely technical: I have a program that examines all repositories to find the texts edited so far and that performs some sanity checks, like checking for uniqueness. I made it ignore duplicate files for now.

The files have been undoubling by me and @chhomkunthea. I deleted the doublon-to-check folder.


Debugging code is on npm?

I've installed this component via npm and am seeing some strange behaviour that I don't quite understand.
On running this the first time, the debugger kicked in... which was strange. I've opened up the react-responsive-tabs folder in node_moduels and in lib/index.js, there's numerous console.log statements and even a debugger line.

When viewing the source code here on Github, those lines don't exist.
Did some debugging code accidentally make it on npm?
I thought I was seeing things, so did a rm -rf node_modules && npm install again... and sure enough, those items are still there.

Yes,  I can confirm this.
I ran into the same issue on the latest version (4.4.1)

Sorry guys, this should be fixed now 🙄

👍🏻 Great, thanks!


Stop using a copy of the talk description on the accepted talks page

Hi there -- PyOhio uses a fork of symposion, and I just created an issue in our repo, and a friend said I should add it here.
So, I'm copying / pasting this below.
Here's a fun fact: when a talk is accepted, the system copies the talk description.
So, speakers then go back and edit their original proposal, but don't see the changes show up on the accepted talks page but the DO see them on the original proposal for their talk.
Then they ask me to refresh the site, and I never remember how to do that.
The right way for this to work is to only keep a single copy of the data.
Somebody explained that the idea was to prevent people from editing a talk after acceptance, or after voting (I don't remember the specifics), and that's not necessarily a bad idea.
But I would prefer to support that feature explicitly by blocking edits, not by copying data.
I found these notes from last year when I had to deal with this problem:
This is the process I followed to refresh the talk data in the schedule.
Go to the review page for a talk and change the status from Accepted to Standby. This has a side effect of removing the talk from the schedule.
This is the review page for the configman talk:
http://www.pyohio.org/reviews/review/117/
Immediately change the talk back from Standby to Accepted.
Go to the edit schedule page:
http://www.pyohio.org/schedule/talks/edit/
and then find the plus symbol where the talk used to be. Click that
and in the popup modal, select the talk.
It seems to work OK. the sexism talk is now "diversity in tech". I
don't know what exact changes were made in the configman talk though,
so I can't be sure of that one.

It may be better to add "action" to bring description from proposal to presentation.

In my local development, I've linked proposal and presentation details directly.
With this modification, changes speaker made will be reflected immediately to schedule details.
https://github.com/miurahr/symposion/commit/5cc77200bc3e77404361b4f98ca5b662d5cd6829#diff-4602d0514027b76396671c88251b11f6R188


Status conformance tests for channels

Proposed Changes

Status conformance test for KafkaChannel
Status conformance test for NatssChannel

Additional context

https://github.com/knative/eventing/pull/3000

/ok-to-test

/assign @aliok

/retest

/lgtm
Awesome! Thanks!

/approve


feat: Stages

Description
Stages crate.

Current dependencies on/for this PR:

main

PR #13   👈

This comment was auto-generated by Graphite.


Release CICD pipeline

Job: https://jenkins.eclipse.org/jaxb-impl/job/jaxb-fi-release/
This is first working release job on new Jenkins.

Tested for both master and EE4J_8 branches.


Log willSample prepublish replacer

This requires an updated larch so it isn't ready to land yet, but it works.
Wrote a simple script to insert willSample checks before log lines. I messed around with using some macro systems (sweet.js and the C preprocessor) but found that neither would work. The replacer script is an inelegant solution but it's short and it works.
r: @raynos @jcorbin

This seems reasonable.
I want to try running it and looking at a diff of the pre-process vs post-process.
Also we need to figure out what to do in terms of workflow, prepublish might have to copy into a "build/*" folder and we should change the package.json to import from there.
Then we can .gitignore build/*

tests fail lal.

Changed this to use publish.sh. It's real ugly but it runs the replacer, makes a temp commit, creates the package, then resets git.

we need to fix debug logtron.


weekday function - removed positive restriction

Removed the positive restriction for the weekday parameter, because the algorithm is still correct, and it would make the speak_the_days() function return today's name for most negative indexes (i <= -2).

What will this get us?  There's other macros that give you days that are in the past.  A negative index does not make sense because there is no day in the list 1,2,3,4,5,6,7 that is negative.

Okay, I understand you. In that case, we can just fix it in the speak_the_days() function, if you like that better: https://github.com/Petro31/easy-time-jinja/pull/36

Fixed in https://github.com/Petro31/easy-time-jinja/pull/36


cgroups: Backport of upstream fix for PidsLimit vs TasksMax

opencontainers/runc#1917
Signed-off-by: Sergio Lopez<EMAIL_ADDRESS>

LGTM


Add a "related projects" page to the documentation

It would be good if we had a page in the documentation that showcased related projects. These could be projects that assist with the analysis of MITgcm output, such as xmitgcm, or projects that use the MITgcm to do exciting things, such as SOSE and ECCO.

Maybe start a new Chapter (11?) where people can add things via PRs, and some suggested info to provide?

I believe this is (or should be) what is the current chapter 'previous applications of the MITgcm'???

I had thought this would be different from the content in the old "Previous applications of MITgcm", which is essentially a list of publications where people have used the model to do science. I was thinking somewhat larger than a single paper - hence the SOSE and ECCO examples.
I agree that a new chapter is probably the best option, perhaps we could combine these two ideas.

chatted with Ed... indeed we are envisioning this chapter could be along the lines of his comment above 'Projects using the MITgcm' or a chapter heading something like this, with a subsection 'highlighted papers using the MITgcm' or similar heading.

Closed via #47


A thanks, not an issue

Happiness is opening a template project and finding a commit 16 hours ago "Update to latest version".
Haven't tried it yet, but seems like an awesome project! (Y)
Sorry about the noise, read somewhere that it's good to thank maintainers :-)
No action needed, can be closed.

Thanks for the motivation! Cheers 🤘


Investigate Neoantigen tools/pipelines

There are many neoantigen tools and pipelines out there.
Let's investigate these tools and consider adding them so ours can be the best!
Add all tools/pipelines of interest to the document here:
https://docs.google.com/document/d/11fAqBiD9bKB4pUB79kjiwxL3GzQpzl1852vHlBNRPdU/edit

https://genomebiology.biomedcentral.com/articles/10.1186/s13059-023-03005-9
For neoantigens from Structural Variants

I dont know if we have anything on agretopicity  (ratio of mutant vs. wild-type peptide binding affinities) but previous tool we used developed by CCS is https://github.com/mskcc/agReto


Please add an editor on project 246, OpenStack

Hey folks, I'd like to add a new user, Thierry Carrez (user 15194) as an editor to OpenStack. I understand I can do this myself, but the authentication requests me to grant access to a bunch of organizations including those of my employer, that I can't grant access to.
Can somebody please make the edit for me?

Hi! We don't have a way to grant access to organizations, just to individuals.

If you have the rights to a badge entry, you can add other editors. Let me know if you need help with that.

Hey @david-a-wheeler, thanks for looking into this!
@mcpeak actually has rights on badge entry 246 (OpenStack) and would like to add me (user 15194) to it.
The issue is that he would prefer to avoid logging in to do it, as the CII oAuth authentication mechanism requests access to all GitHub organizations in his GitHub identity, some of which are private or his employers'.

Hmm, it shouldn't do that. We do our best to not ask for more than we need. We do need the list of public projects (so we can determine if they have edit rights), but we definitely don't want private info. I don't see why that would be happening.
But to answer your immediate question: Yes, we can do that. The challenge is that I need evidence that it's authorized. The easy way would be for @mcpeak to reply to this comment & say that this is authorized :-). @mcpeak - this okay to do?

Yes, please do!
-Travis
On Wed, Dec 15 2021 at 2:14 PM, David A. Wheeler @.***>
wrote:

Hmm, it shouldn't do that. We do our best to not ask for more than we
need. We do need the list of public projects (so we can determine if
they have edit rights), but we definitely don't want private info. I don't
see why that would be happening.
But to answer your immediate question: Yes, we can do that. The challenge
is that I need evidence that it's authorized. The easy way would be for
@mcpeak https://github.com/mcpeak to reply to this comment & say that
this is authorized :-). @mcpeak https://github.com/mcpeak - this okay
to do?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/coreinfrastructure/best-practices-badge/issues/1698#issuecomment-995255584,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBG7IH6D2TWYLD6JEACVQTUREHMTANCNFSM5IOMPUMA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Done! Sorry for the delay. We try to make as everything "self-service" as we can.

Thanks everyone!