Custom parser for phoronix.com.

This adds support for extracting articles from phoronix.com.
Thanks!

Looks like the @postlight-bot is showing the parse results before the pull request? I see this:
{
  "title": "Steam's Linux Marketshare Ticks Up Ever So Slightly For May",
  "content": "

\n

\nWith the start of a new month, Valve has published their software/hardware survey numbers for the month prior. For May 2019, the Steam Linux usage did tick-up slightly on a percentage basis.\r
\r
For last month, the percentage of Steam users running Linux (according to the controversial Steam Survey) rose to 0.84%, or a 0.02% increase over April. The number is largely in line with expectations of around 0.8% that it's been in that area recently and an increase over last year.\r
\r
On a percentage basis, the Linux gaming marketshare has tended to grow bit-by-bit since Valve introduced Steam Play last year for allowing many prominent Windows games to run on Linux thanks to their Wine-based Proton and DXVK for translating Direct3D to Vulkan. But there hasn't been any Linux exclusives, the return of Steam Machines, or any landmark reasons to cause a sudden shift of Windows gamers to switch over to Linux. As a result, it's just been either flat or tiny increases each month.\r
\r
Windows comes in at 95.9% for May's usage on Steam while macOS is at 3.26%.\r
\r
The monthly Steam survey data can be viewed at SteamPowered.com.

",
  "author": "Michael Larabel",
  "date_published": "2019-06-01T12:34:00.000Z",
  "lead_image_url": "https://www.phoronix.com/assets/categories/valve.jpg",
  "dek": null,
  "next_page_url": null,
  "url": "https://www.phoronix.com/scan.php?page=news_item&px=Steam-May-2019-Numbers",
  "domain": "www.phoronix.com",
  "excerpt": "With the start of a new month, Valve has published their software/hardware survey numbers for the month prior. For May 2019, the Steam Linux usage did tick-up slightly on a percentage basis. For last…",
  "word_count": 190,
  "direction": "ltr",
  "total_pages": 1,
  "rendered_pages": 1
}


Send periodic cluster status data to supabase

Nice job.
Liked how you solved it.
Left some comments

also when fixing your comments i saw the runner.global_config, it might be some kind of lighter alternative solution to the problem in the future


Update cancel-azure-subscription.md

Update deletion for AAD Offer - autodelete after 90 days of cancellations

@bandersmsft
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@macyso I don't understand what you mean when you used the word "offer". Do you instead mean "Azure resources"?
By the way, Azure Active Directory was replaced by Microsoft Entra ID some time ago.
If this is what you meant, please update your pull request:

The disabled subscription and all resources in them get automatically deleted after 90 days of cancelling. No action is needed to manually delete them.

Hi Bill,
I am specifying it's the AAD Offer is because recently we have run a program of disabling all remaining AAD Offer subscriptions manually as a clean-up program.
Some customers have manually cancelled their AAD Offer subscription but were confused on why they can't delete them. Usually most subscriptions, after they cancel their subscription, they can come back to the portal and delete them after 3 days. But for AAD Offer subscription, after they cancel them (even if it is customer cancellation), they can't be deleted by the customer, but instead they will be auto deleted within the system after 90 days of cancellation. That's why I wanted to add a line mentioning that if they are cancelling their AAD Offer subscription, and wanted to delete them, they don't have to do any follow-up actions to delete them, instead they will get auto deleted by the system after 90 days of cancellation.
Let me know if that makes sense.
Sincerely
Macy So (She/Her)
Technical Program Manager
Commercial Platform and Experiences
@.***
@.?anonymous&ep=bwmEmailSignature>Book time to meet with @.?anonymous&ep=bwmEmailSignature>

From: Bill Anderson @.>
Sent: Tuesday, July 23, 2024 1:23 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Macy So @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update cancel-azure-subscription.md (PR #123834)
@macysohttps://github.com/macyso I don't understand what you mean when you used the word "offer". Do you instead mean "Azure resources"?
By the way, Azure Active Directory was replaced by Microsoft Entra ID some time ago.
If this is what you meant, please update your pull request:
The disabled subscription and all resources in them get automatically deleted after 90 days of cancelling. No action is needed to manually delete them.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/123834#issuecomment-2245821056, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJKYINIQBLRCQ4FVB4R6WRDZN2GRHAVCNFSM6AAAAABLKT4752VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVHAZDCMBVGY.
You are receiving this because you were mentioned.Message ID: @.***>

@macyso Hi again. I can't find any references to "AAD offer" anywhere in offical Microsoft documentation.
I did find references to "Access to Azure Active Directory", which is a discontinued offer. Can you verify that "AAD Offer" is the same as "Access to Azure Active Directory"? If yes, then I need you to update your pull request (I can't change it for you) as follows:
If you have a disabled Access to Azure Active Directory subscription, the subscription gets automatically deleted after 90 days of cancelling. No action is needed to manually delete it.

[like]  Macy So reacted to your message:

From: Bill Anderson @.>
Sent: Thursday, July 25, 2024 4:00:09 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Macy So @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update cancel-azure-subscription.md (PR #123834)
@macysohttps://github.com/macyso Hi again. I can't find any references to "AAD offer" anywhere in offical Microsoft documentation.
I did find references to "Access to Azure Active Directory", which is a discontinued offer. Can you verify that "AAD Offer" is the same as "Access to Azure Active Directory"? If yes, then I need you to update your pull request (I can't change it for you) as follows:
If you have a disabled Access to Azure Active Directory subscription, the subscription gets automatically deleted after 90 days of cancelling. No action is needed to manually delete it.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/123834#issuecomment-2250796347, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJKYINPVZBFJHQH3UJMPBLDZOEOITAVCNFSM6AAAAABLKT4752VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJQG44TMMZUG4.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Bill,
Yes, ok I will update the close this pull request and open a new one to update the message.
Sincerely
Macy So (She/Her)
Technical Program Manager
Commercial Platform and Experiences
@.***
@.?anonymous&ep=bwmEmailSignature>Book time to meet with @.?anonymous&ep=bwmEmailSignature>

From: Bill Anderson @.>
Sent: Thursday, July 25, 2024 12:00 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Macy So @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update cancel-azure-subscription.md (PR #123834)
@macysohttps://github.com/macyso Hi again. I can't find any references to "AAD offer" anywhere in offical Microsoft documentation.
I did find references to "Access to Azure Active Directory", which is a discontinued offer. Can you verify that "AAD Offer" is the same as "Access to Azure Active Directory"? If yes, then I need you to update your pull request (I can't change it for you) as follows:
If you have a disabled Access to Azure Active Directory subscription, the subscription gets automatically deleted after 90 days of cancelling. No action is needed to manually delete it.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/123834#issuecomment-2250796347, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJKYINPVZBFJHQH3UJMPBLDZOEOITAVCNFSM6AAAAABLKT4752VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJQG44TMMZUG4.
You are receiving this because you were mentioned.Message ID: @.***>

@macyso Thanks. By the way, in the future, it's probably be faster to email me a request for any needed doc update. I can usually make a doc update like this one the same as your request.

[like]  Macy So reacted to your message:

From: Bill Anderson @.>
Sent: Thursday, July 25, 2024 5:37:33 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Macy So @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update cancel-azure-subscription.md (PR #123834)
@macysohttps://github.com/macyso Thanks. By the way, in the future, it's probably be faster to email me a request for any needed doc update. I can usually make a doc update like this one the same as your request.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/123834#issuecomment-2251052322, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJKYINLKCX2HLAM752EMFXTZOEZV3AVCNFSM6AAAAABLKT4752VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRGA2TEMZSGI.
You are receiving this because you were mentioned.Message ID: @.***>


Separate quantizers for chroma planes

Plumb the quantizer indices through from rate-control and mimic the plane-level quantizer interpolation from Daala.

Coverage decreased (-0.5%) to 81.912% when pulling 137431c8f730331eb8c37ceb5a2fde87377e7492 on barrbrain:uv-delta-q into bda810b66b57c0c128d5bc8f689b0db802f80c77 on xiph:master.

Yow that's a lot. It seems correct though.
The Daala ones were CIEDE2000 optimized, iirc. Did you try tweaking it a bit either way to make sure you're still optimized?

Fine tuning this will require collecting more data and a bit of time. It seems to be in the right ballpark.
For Daala the numbers were more extreme but it was bundled with some other chroma bugfixes:
Luma only BD rate (ntt-short-1):
         RATE (%) DSNR (dB)
    PSNR 3.65608  -0.11200
 PSNRHVS 3.61704  -0.17133
    SSIM 3.58143  -0.08467
FASTSSIM 3.41183  -0.09387

BD rate for all planes (subset1):

          RATE (%)   DSNR (dB)
CIEDE2000 -10.7459   0.483104
    *PSNR  -0.14829 -0.000423
 *PSNRHVS  -2.30856  0.156448
    *SSIM  -2.91     0.114373
*FASTSSIM -11.9042   0.306553

*Take with ample salt.


Simulated mouse button clicks are ignored by UI elements

Godot 3.2.4 RC3
func mouse_left_press():
var a = InputEventMouseButton.new()
a.global_position = get_viewport().get_mouse_position()
a.set_button_index(1)
a.set_pressed(true)
Input.parse_input_event(a)
func mouse_left_release():
var a = InputEventMouseButton.new()
a.global_position = get_viewport().get_mouse_position()
a.set_button_index(1)
a.set_pressed(false)
Input.parse_input_event(a)
This two methods are called deferred on action_just_pressed/action_just_released in _physics_process, and it seems to do the click, but UI elements don't react to it.

Are you 100% sure that the mouse coordinates match the UI button's coordinates? Try making the button span the whole viewport to make sure.

@Calinou well, i am able to click the buttons with the actual mouse, but when i simulate a click with a method, at the exact same positions, they ignore it. There is an old issue somewhere, about exactly this problem in Godot 2. i think. It wasn't resolved, just closed because it was old. Input got reworked since then, but the issue seems to be present.

My actual problem is, i implemented the controlls with a joystick, including the mouse movement in menus, but i can't click the ui buttons with it.

That's strange. Godot is definitely able to create menus with full controller support (here's an example).

@Calinou sorry, my explanation was misleading. What you described is already implemented. It is possible to do almost everything in the UI with keyboard/controller. What i mean is the mouse clicking. For example, you use the right stick of the controller to move the mouse in menus. Then you want to click the button hovered by mouse by pressing a controller button, which leads you to calling a mouse button pressed event on controller button pressed. This doesn't work. The events work, but the UI doesn't react to them. You can literally see your mouse clicking, and you can even set the position of the event in script, so you know exactly where the click happens, the mouse warps there automatically, but for usual situation, you just set it to event.global_position = get_viewport().get_mouse_position(), so it clicks where your mouse is right now. The button under the mouse loses focus, when the click happens instead of receiving the click event.

This issue is based on a misconception: You only set a.global_position, but do not set a.position.
The code, that evaluates, if an event is over an UI element, depends on a.position:
https://github.com/godotengine/godot/blob/cec7fc4ffeba4de992436ed9c7f8fe428c22a6b1/scene/main/viewport.cpp#L1864
In order to make your code work, as far as I can tell, you would need to also set a.position.

It still doesn't seem to work. I tried setting the position, position and global position, applying make_input_local and so on. Nothing works for me so far. I am trying to change the value of a horizontal slider by simulating a mouse click from controller input.


Add a recreation of "The Wealth & Health of Nations" (with transitions and interaction) to the website

Add a recreation of Mike Bostock's recreation of Gapminder’s Wealth & Health of Nations.
Current work in progress: http://jleft.github.io/wealth-and-health-of-nations/

(Thought I'd add an issue in case someone was working on something similar.)

I did add a very simple example using the same data to illustrate a bubble chart here:
http://d3fc.io/examples/bubble/
However, I'd really like to include your more interactive example.

Great, sounds good. There's a few more things I'd like to do, then I think I'll be fairly happy it with and ready to put up a PR.

[ ] Add axis labels
[ ] Update to d3fc 3.x.x -> 4.x.x
[ ] Investigate performance


Option to calculate if popping wrinkler to quickly purchase building/upgrade is more efficient

I wanted to propose a new feature that would tell you when to pop wrinklers.
This could only be beneficial when buying some kind of upgrade as popping a wrinkler will effectively decrease your Cps for the time it takes for him to respawn. Let's look at a concrete example:
Suppose you want to buy a Kitten Upgrade for 500 B which would boost your 20 M CpS by 50%. Now you could wait 50*500 = 25000  seconds then buy the upgrade.
But let's look at the same situation in case you have 10 wrinklers active for simplicity suppose that one of those has the necessary amount to let you buy it instantly. This will drop your wrinkler multiplier from ~7 to ~6 until it has respawned, which will take 3300 ticks ~ 110 seconds on average with no upgrades.
If you choose the wrinkler route, you will "lose" 20M CpS for 110 seconds but at the same time you gain 6 * 10M in the first 110 seconds and for the remaining time up to 25000 you will even gain 7 * 10 M, which equals to 1,747,800M cookies gained in total if you pop the wrinkler.
This is in fact a rather extreme case and I did not yet consider that your effective CpS and your real CpS differ quite drastically. Golden Cookie earnings are boosted during the period as well and you will not have to wait for them but on the other hand the numbers I have just given are rather extreme but very tedious to calculate by hand.
Now I would propose an extra "warning" (maybe coloured in Blue) that will let you know it might be more efficient to pop a Wrinkler instead of waiting for an upgrade when you hover over it. Since popping is only advisable when you buy the upgrade directly afterwards, the function should keep the highest golden cookie warning in mind and not pure affordability.
Additionally, a switch that automatically pops wrinklers and then makes the purchase could be included in the options, disabled by default.

Hmm, interesting idea, and I'm guessing the extra notice will be on the tooltip?  I should really figure this out myself, but how did you get the average 110 seconds for a wrinkler to spawn?  If I remember correctly in code, it goes in a loop and trying to spawn each wrinkler, so the amount already spawn won't effect each individually, but as a whole, you are most likely to get wrinklers when there are none on screen than when there is one left.  Another question is, your example is for 1 wrinkler, but how about popping 2 total that has enough to buy, or 3, or 4... etc.  Shouldn't I calculate that also?  Would it be worth it to pop all wrinklers to buy a highly efficient upgrade like kittens (which usually give a maximum boost around 180%)?  To me, the cost of no wrinklers for on average around 110 seconds is minimal vs waiting for kitten to be affordable.
The auto pop wrinkler and buy option I consider too automated so I don't think I'll implement that.

Reference for Wrinkler spawn time, it's the official wiki but it might be slightly outdated
It would be extremely nice if popping 2,3,.. would be calculated as well, as the respawn time for 12 Wrinklers is about 100k ticks to fill all 12 slots (though you obviously your Wrinkler CpS will be regained gradually as each respawns) which will likely be worth it for Kittens.
Golden Wrinklers will probably have to be excluded for now as their respawn isn't guaranteed thus losing CpS indefinitely.

So to me, if I'm calculating 2, 3, I would think I should calculate all of them (up to 12).  Thanks for the link, it will help me calculate the chance easier.  I'm not sure I'll do this yet, as I'm not much of a math person, lol.

I could do the math for you there, calculating the expected time for the current chances of spawning a Wrinkler. I might not immediately find a closed form in terms of the chance but for a given chance it shouldn't be a problem. As long as Orteil doesn't decide to change the values this should be fine.

What do you mean by not being able to find a closed form in terms of the chance?

I think he means a formula where you can plug in the chance of wrinklers spawning. So if Orteil ever decides to change the percentage, you should be able to just plug in the new percentage. Except that that might not be possible.
Also, I think that even though the chance of a wrinkler spawning when there are no wrinklers is higher then when there are 11, I think the chance of that same one returning is about the same. The biggest problem here is that the amount gained from wrinklers is quadratic in terms of the amount of wrinklers, not linear. So I'm guessing that will be the hardest part of the equation.

I'll post a pull request in the next couple of days with means to calculate expected respawn time and also expected loss of CpS, which will utilize the former.

Sounds, good!

Do you think similar logic could be used to make a probabilistic guess at the expected payback time of golden cookie upgrades?

Much harder, as that would require a near perfect prediction of production increase. The effects of golden cookie upgrades are very diverse, compared to wrinklers.
If you are invested in the general topic, it might interesting to hear that the recovery time of spells can be calculated directly, without requiring simulation of all game ticks. Though I am unsure as to how accurate this still is, an update might have changed something.

I have decided to close this issue as even with the correct calculation of wrinkler spawn time there is still a lot of chance involved. Currently all PP calculations involve static data and there is no luck or chance involved in any of the calculations. Adding this functionality would always make the PP calculation more variable and therefore we might be giving incorrect suggestions to the user. Although I can think of cases where calculating the wrinkler respawn time might be useful I don't see how we can include the functionality discussed in this topic without including some factor of chance into our calculations.


Fixes cannot parse JSON error from Support Case 17586

Fix for issue #592 on branch develop

Fixing #592 and #598 instead with this: https://github.com/marklogic/java-client-api/commit/1bfe12a7527737bebb4abc01d3ded0ff150a67b5


Codelab friendly_chat uses deprecated accentColor

Update the friendly_chat codelab for deprecated accentColor usage.
== TESTING friendly_chat/step_07
+ flutter analyze
Running "flutter pub get" in step_07...                            508ms
Analyzing step_07...

   info • 'accentColor' is deprecated and shouldn't be used. Use colorScheme.secondary instead. This feature was deprecated after v2.3.0-0.1.pre. • lib/main.dart:96:52 • deprecated_member_use

1 issue found. (ran in 2.3s)

This deprecated accentColor is everywhere, and the proposed replacement is very verbose (declare a separate variable and use two sets of .copyWith. I wonder if there's a better approach, @HansMuller?

See https://github.com/flutter/flutter/issues/85824#issuecomment-877076324 for more information


ModuleNotFoundError: No module named 'patchcore'

@janamoumita1997 this is because the patchcore module is located in src/patchcore. If you just want to run the sample training script, you can move bin/run_patchcore.py into the src/, then change the script accordingly.

Thanks @petergehler @Cveinnt . Both the suggestions works for me .
Thanks a lot. Closing the isssue.


No license

Neither this nor https://github.com/netlify/node-client have any visible license - is it OK to fork/use any of this code in other projects?

Sorry for the confusion @jotto. I just added the license and a few other missing files in #20. Definitely OK to fork/use the code.

I also applied the same changes to node-client https://github.com/netlify/node-client/pull/7


Added Expanded boolean flag

Right aligning drop down image was not happening and on enabling expanded flag it works.
Added isExpandEnabled flag

Thank you=)

Please let me know when will be the new version published?


Why is it only showing the README file instead of the hugo site?

Hi there, not a real issue ... more of a curiosity question.
I'm trying to use this template. The only step I didn't follow is that - I didn't fork this repo because I already have the username.github.io repo setup in the past. What I did is I MANUALLY (I know it's lame, don't laugh...) copied all the files to my repo and followed some of the steps. However, it's not displaying the website correctly, it's only showing the READ.ME file if you're interested it's https://turtletree.github.io/
I tried again to fork the repo to a new repo and everything works much better. But I had to bear with the url looking like this https://turtletree.github.io/test-publish-logseq/ (safe to click if you're interested)
Can you give me a few tips what the reason might be for this? I'm really confused. Thank you in advance!

ok I did some steps and not sure which exact step works, I think it's adding the theme again as submodules with
git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod
Feel free to close... sorry about that

Interesting, I don't think copy the repo manually is the main reason for it to fail.

ok I did some steps and not sure which exact step works, I think it's adding the theme again as submodules with
git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod
Feel free to close... sorry about that
Like you test it out in the second post, I do think it's related to the themes' issue.
Hugo website layout depends on the theme, but PaperMod itself is also a git repo, manually copying it might cause issues.
I check this stackoverflow question and see a similar solution like yours.

I'll close this issue for now, feel free to reopen it.


[1.21] [Neoforge] Crafter Bug: deleting items and not showing recipes

When I click on the fill recipe, or shift click on an item fill the recipe, the planks get deleted from the inventory, as if they were pulled but they are not. Even if I try to pick planks from the inventory screen, they are deleted when I click it.
Also, the "craftables" tab is glitching on EMI, not showing anything unless I am holding an item on my cursor
toms_storage-1.21-2.0.5
Neoforge 21.0.81
emi-1.1.10+1.21+neoforge
jei-1.21-neoforge-<IP_ADDRESS>

I don't see any item loss.
I fixed the craftables menu in the latest update,

Please reopen if this issue still exists in the latest release.


Optimize finalized header storage

Relayer changes to only keep the necessary finalized header in cache, 8192 blocks apart.
Todo: Replace 8192 with config value once https://github.com/Snowfork/snowbridge/pull/1164 is merged.
Resolves: SNO-956
Polkadot-sdk companion: https://github.com/Snowfork/polkadot-sdk/pull/139

Closing in favour of SNO-1015.


expandOnHover attribute considers only boolean value.

expandOnHover attribute should be consider boolean and numeric value.
Boolean : Will expand each node when user drags on node.
Numeric : Will expand the node only when the user drags node and hover node to particular time.

@pkatta Are you suggesting we add a customizable delay on the expandOnHover?

@jacobscarter : Yes.

@jacobscarter : Please check my PR for same.
https://github.com/angular-ui-tree/angular-ui-tree/pull/792

PR was merged, closing ticket


Print YAML with 2 spaces for indentation

Summary
We were using the default, which is 4. This gets the output to be quite
verbose. The standard is to use 2 spaces, so let's use that when
printing YAML in Minder.
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 54.758% (+0.003%) from 54.755%
when pulling 30db4f916fdbf1f1af9b15950e482fab0f859326 on JAORMX:yaml-indent-2
into c1c035843362bdff1ea1eb7b4d7e63542186a159 on mindersec:main.


Arrivals for transfer stop should take into account ETA of selected trip

From the Trip Schedule list, it's possible to select a stop further along the selected trip (and the ETA at that stop is shown in the list).
If I'm on a bus that takes an hour to reach the stop I get off at, and I want to transfer to another service once I get there, the arrivals screen for that stop should show arrivals expected to arrive at my ETA, not now.
The arrivals-and-departures-for-stop service has an optional "time=n" parameter, this should be provided by the Trip Schedule list when a stop is selected.

you're better off with an app that supports trip planning, which—unfortunately and for reasons totally outside of my control—is not OneBusAway. Try Google Maps, perhaps.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-31-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4893

Questions ?
Please refer to the Backport tool documentation


Bump to Scala 2.12.6 and make it the default.

We may want to hold off on this (I should have said something with the
initial PR), until all the BIG5 are changed. It's purely a matter of
convenience.
On Fri, Jul 20, 2018 at 11:46 AM, Chick Markley<EMAIL_ADDRESS>wrote:

Merged #50 https://github.com/ucb-bar/treadle/pull/50.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ucb-bar/treadle/pull/50#event-1745453160, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGh1wFiX_UsAsF_CchX4wzLF8QjkibuPks5uIiVygaJpZM4VPm6c
.


Trouble accessing package object definitions from within Java

@davidrpugh I am having some trouble accessing the definitions within the package object from within Java. For example:
package object auctions {
   ...
   trait Tradable
   ...
}

I would like to use Tradable shown above to define a simple auction wrapper in Java. The code above compiles to a file package$Tradable.class which, I thought, I would be able to import into Java according to that post in a straightforward way, e.g. as follows.
public class JSimpleAuction<T extends org.economicsl.auctions.package$Tradable> {
   ...
   public void plus(LimitAskOrder<T> order { auction.$plus(order); }
   ...
}

Unfortunately that doesn't work, package$Tradable$ isn't recognised. This might be an explanation.
be possible to move the classes and traits out of the package object into the package itself in order to facilitate the interoperability?

@bherd-rb Interesting!  Yes definitely.  Will submit a PR for this immediately. From the SO link it appears that I am slightly abusing the use case for package objects.


feat(PLM-388): Support check name as keyword

[Why]
Would be easier to write the Checker
[How]

Provide keyword arguments in Checker constructor
Add some functions to ensure it is constructed correctly
Add test & warning messages for deprecation

PLM-388
Reason
Changes
Test Scope
Checks

[x] Unit tests are included or not applicable.

Thanks!


Port Controller from Spray to Akka (WIP!!!)

Refactor controller to use Akka as Spray is no longer supported

Need to consider if we want to replace the existing controller with the port to Akka, or have tons of duplicate code hanging around for version 2 of the controller.

Still need to port over triggers, activations, rules, and packages.

Need to consider if we want to replace the existing controller with the port to Akka, or have tons of duplicate code hanging around for version 2 of the controller.

I imagined - where necessary - to refactor the handlers from v1 so they are free of routing dependencies and so v1 vs v2 just become routing specific, with serializers for the the corresponding http response types.
Definitely do not want to duplicate/clone-and-own all of v1 as v2.

Can we port v1 as is, without going to v2? Benefits include:

Move away from an unsupported spray.
Move away from an unsupported scala version (spray makes us stay on 2.11, while 2.12 is out)

Quick q on the procedure here: Do we want to copy all the code or do we want to migrate v1 to akka-http in-place? Asking specifically because I'd like to keep the git history of these files intact.

+1 I do think there's a way to do the migration to Akka-http without all this copying.

POST requests currently require a payload. Otherwise, an error response is generated. Not sure if this is new in Akka, @rabbah. Will have to figure it out.
Another defect is that generated error responses are not currently JSON formatted.

For the port, I plan on overwriting the existing controller so that there isn't a lot of duplicate code. For now, I'm just working with the duplicate code until I get everything converted over. Just need web actions now.

Side note, keep getting a consul test failure in Travis when running two controllers.

Currently I have replaced the Spray controller with the Akka controller. However, controller unit tests are failing as they are still using Spray, so these tests will have to be updated. Also the BasicHttpService will have to be updated to use Akka since the controller and invoker extend this class.

Currently I have replaced the Spray controller with the Akka controller. However, controller unit tests are failing as they are still using Spray, so these tests will have to be updated. Also the BasicHttpService will have to be updated to use Akka since the controller and invoker extend it.

I'm going to squash all the commits into one commit due to the nightmare that just resulted after rebasing against upstream.

TODO

Fix test failures
Add back auth tests
Transaction IDs not work
Figure out custom error handling

PG4 516, approved.

@rabbah, please review. All tests are passing.

BasicHttpService.scala is a little different since HTTPService is not offered by Akka. Might be able to move bindAndHandle calls into there and remove the Actor extension.

PG3 873. :large_blue_circle:

@rabbah, @markusthoemmes, anymore comments on this one?

PG4 582 🔵 .

PG3 938 🔵

@dubeejw great job on getting all the issues sorted out in this migration!
a couple of small nits to address and I'll merge.


Update s3, sdk-core, sqs to 2.20.130

About this PR
📦 Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.20.129 to 2.20.130
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #657.


Updating readme from branch example

Updates
I updated the readme file. Please review and accept.

Thought
I probably shouldn't , but okay. 👍


Contributing to the Wiki

I've noticed a few small inconsistencies with the wiki and the code (namely the capitalization of the Move struct, as well as the incorrect name for the movement variable in the move struct both in the tic_tac_toe tutorial), I'd like to help by proposing a few small changes, what's the best way to go about this?
I'm also posting this in order to streamline the process for proposing changes to the wiki in the future so it doesn't end up as an issue instead, as I've seen a few documentation related issues coming up (https://github.com/EOSIO/eos/issues?utf8=✓&q=wiki)

The mentioned tic_tac_toe contract guide has moved to http://developers.eos.io/. You can make an account and then you can submit an edit suggestion, using the platform. Thanks for the contribution!


Making library usable in extension targets

Hi, this PR removes usage of UIApplication`s sharedApplication method to make library usable in extensions targets. (described in #5)
I've run tests and did manual testing for all this cases so nothing should be broken:

[x] Presenting and dismissing the view controller in both portrait and landscape modes.
[x] Presenting the view controller, rotating the device and then dismissing from the new orientation.
[x] Presenting the view controller, then enabling split-screen on an iPad.
[x] Changing the split-screen window sizes on iPad.

hm, looks like Travis fail is not actually related to PR changes :(

Sorry for the delay! Yeah, I think Travis was complaining because of a wrong Xcode version.
Thanks for that! That looks good! :)


oto: waveOutOpen error: MMSYSERR_NOMEM

In the windows system, the mp3 file is played every second, and the error is given when the time is long. What could be the cause, how can I solve this problem?
oto: waveOutOpen error: MMSYSERR_NOMEM

Thank you for reporting. The error means that you couldn't allocate memory.  Which Window 32bit or 64bit are you using?

Which Window 32bit or 64bit：“Window 64bit ”
How big is the mp3：“4k ”

In the windows system, the mp3 file is played every second

Does this mean you are opening Oto's players every second (without closing)?

This is my code  ，I closed.
const SOUND_SO_REJECT     = "SOUND_SO_REJECT"
var files map[string][]byte = map[string][]byte{}

func main(){
    //Load the mp3 file into the files variable
     ...
     c = cron.New()
    c.AddFunc("@every 1s", func() {
		go func() {
			if err := Play(audio.SOUND_SO_REJECT); err != nil {
				logs.Error(err)
			}
		}()
     })
     c.Run()
}

func Play(filename string) error {
	dec, data, err := minimp3.DecodeFull(files[filename])
	if err != nil {
		return err
	}
	player, err := oto.NewPlayer(dec.SampleRate, dec.Channels, 2, 1024*4)
	if err != nil {
		return err
	}
	defer player.Close()
	player.Write(data)
	return nil
}

This might be a threading issue. Let me check later. Thank you!

Excuse me but what is 'cron'?

“https://github.com/robfig/cron” Time task package


meaning of tl:dr: a typo?

In the beautiful tutorial large-files-R.Rmd there is a subsection called tl;dr. I don't get the meaning of this name. A typo, maybe?
Thanks.

Wikipedia is there for you: https://en.wikipedia.org/wiki/Wikipedia:Too_long;_didn't_read

:nerd_face:


feat: bump kubectl-validate and k8s to 1.31

Explanation
Bump kubectl-validate and k8s to 1.31.

/cherry-pick release-0.2


[static websites] Fail gracefully when static websites aren't supported

OS: Win10/MacOS/Linux
Node.js: V10.13.0
Build Definition: 20181213.1
The portal continues to load when trying to enable website hosting for a Mooncake/Blackforest account (more than 20 mins)
Repro Steps:

Sign in storage extension with 'Azure China' account.
Create a GPV2 account in portal.
Right click this storage account in VS Code -> Select 'Deploy to Static Website...'.
Click 'yes' on the prompted dialog on the bottom right corner -> Check the result in portal.

Expect:
Succeed to enable website hosting for a Mooncake account in portal.
Actual:
Keep loading in Portal more than 20 mins.
More Info:

This issue also reproduces for Azure Germany account.
Suggestion: Add notification to prompt customers that this action doesn't support. Due to there is no 'State website' for Mooncake and Azure Germany accounts.

@jinglouMSFT Please get @wwlorey access to a Mooncake account so he can test this.

Hi @nturinski , verified this issue with Azure China and Azure Germany accounts on the latest build 20200318.1. And now we can succeed to deploy to static website.

Great, thanks @v-dantch 😁


License?

There's no license specified on this, would it be possible to add one?

Excellent, thank you!


The new Graylog 2.3.x needs that elasticsearch have http.compression enable

The new Graylog 2.3.x needs that elasticsearch have http.compression enable
Graylog2
ERROR: org.graylog2.periodical.IndexRotationThread - Couldn't point deflector to a new index
org.graylog2.indexer.ElasticsearchException: Unable to create index template graylog-internal

Elasticsearch without http.compression
[WARN ][http.netty               ] [Architect] Caught exception while handling client http traffic, closing connection [id: 0xca958d3c, /<IP_ADDRESS>:43634 => /<IP_ADDRESS>:9200]
TransportException[Support for compressed content is disabled. You can enable it with http.compression=true]

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Marco Paulo Martins Sousa seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@marcomsousa Would you mind updating the README.md to use Elasticsearch 5.x (see https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html) instead of the deprecated Elasticsearch 2.x Docker image?
Also http.compression is enabled by default in Elasticsearch 5.x, but not in Elasticsearch 2.x:

https://www.elastic.co/guide/en/elasticsearch/reference/2.4/modules-http.html
https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-http.html


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 3e3823e, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 8729 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in 1cd546b.


remove boost, some cleanups

Codecov Report

Merging #3 (6eb1125) into main (7cf8e87) will increase coverage by 0.1%.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##            main      #3     +/-   ##
=======================================
+ Coverage   89.0%   89.1%   +0.1%
=======================================
  Files          2       2
  Lines        376     361     -15
=======================================
- Hits         335     322     -13
+ Misses        41      39      -2

Impacted Files
Coverage Δ

include/SatEncoder.hpp
100.0% <100.0%> (ø)

src/SatEncoder.cpp
89.0% <100.0%> (+<0.1%)
: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 7cf8e87...6eb1125. Read the comment docs.


Add license information

This PR addresses and fixes #24 and adds the license SPDX identifier to the package.json's license field. It also copies the license information from Readme.md to a separate LICENSE file.

Thanks!


Use the latest version of 0.x for ^0.x.x

Modify for #27

how can I use sabre for contracts with pragma solidity 0.4.24;?

Hi @eMarchenko, normally sabre should pick the right version automatically but I just noticed that there's a bug. At least for me, when pragma is solidity 0.4.24 sabre picks 0.4.25. I opened a bug: #47


implement direct invocation

Direct invocation requires all registered workers to find off-chain consensus about the ordering of requests.
master-fallback
The easiest implementation is to have a master worker which gets all direct invocation requests. Only when the master goes offline, the next on the list takes over
Issues:
(!) centralization
(!) DDOS
(!) incentivization difficult because it will mostly be one party to process everything and collect fees.
round-robin
For each on-chain block another worker is responsible for processing requests.
Issues:
(!) DDOS (users need to know when to use which worker
tx-pool with private random master
All workers could maintain a tx pool like substrate does. Then they privately decide among themselves who will process the next off-chain-block (OCB) of requests. Consensus is trivial because worker enclaves are trusted. No BFT needed. users can hit any worker with their request.
success scenario:

substraTEE-node finalizes a new block
substraTEE-workers watch new block events. on new finalized block:
the OCB master for this round processes all requests in his pool
the OCB master publishes the state update on ipfs, together with a list of hashes of all processed requests
the OCB master commits the hash of the new state and the merkle root of all processed requests to substraTEE-node (the chain)
the substraTEE-workers agree on the OCB master for the next round in some non-predictable manner

Challenges:

how to quickly share state for the handover from one OCB master to the next (IPFS may be too slow). Probably Point-to-point transfer of incremental state updates is the better solution.

deprecating this in favor of scs/substraTEE#29


Massive performance hit when upgrading from <IP_ADDRESS> to 1.0.9

We have a bit of code that, in this example, ends up calling .OrderBy("SomeProperty ASC, SomeOtherProp DESC") a total of 262 times, each time on an EnumerableQuery<T> (that is, LINQ to objects rather than LINQ to sql).
With <IP_ADDRESS>, the total CPU time spent in System.Linq.Dynamic.Core.DynamicQueryableExtensions::OrderBy was ~58ms. In 1.0.9, the total CPU time for the same code against the same data is ~17691ms:

It appears that System.Linq.Dynamic.Core is iterating over every single type currently loaded into the app domain, and pulling the custom attributes from every one of those types? Why is it doing this? Why does it do this on every single call to OrderBy()?

Are you using NET Full framework (4.x ?) or NETStandard/NetCore ?

#237

@ascott18
Can you try MyGet package:
https://www.myget.org/feed/system-linq-dynamic-core/package/nuget/System.Linq.Dynamic.Core/<IP_ADDRESS>-ci-1643 ? This should hopefully fix your issue.

This was with net471, and all config is default.
Thanks for the fix - I won't have a chance to try it out for a while, though.


Add sorting of scores within an assignment

From @steveswinsburg on April 30, 2015 21:54
When clicking on an assignment title, sort the scores in the column. We agreed on a page refresh for now so this can be handled in the Wicket and backend code.
Copied from original issue: steveswinsburg/gradebookNG#56

Done. Sort order will persist through the session.


Add IntoBuffer and IntoImage traits

After the latest changes in submission stuff, whenever a resource is used in a submission it automatically gets locked and is unlocked only when the resource is destroyed.
This works nicely for "pool-like" types such as a UploadBuffer (yet to be actually written). The buffer would be subdivided into multiple "sub-buffers", and destroying the pseudo-object that represents of these subbuffers only frees the subbuffers (and not the buffer as a whole) and allows it to be reclaimed. Combined with the submission rework, this also unlocks the subbuffer.
However this doesn't work nicely for regular buffers. You usually want to pass an Arc<MyBufferType> for the buffer, and with the new submission stuff you would need to destroy the buffer entirely in order to unlock it. In other words once a buffer has been used in a submission it couldn't be used anymore.
In order to make it usable, we need an additional type named MyBufferTypeAccess that holds a Arc<MyBufferType> and that represents a GPU lock of the buffer. Destroying this object unlocks the buffer. But the consequence is that you'd need to call something like my_buffer.gpu_access() every time you use the buffer.
Therefore this PR adds new traits: IntoBuffer, IntoImage and IntoImageView, similar to IntoIterator. Using a buffer in a descriptor set, framebuffer or GPU command only requires a Into* trait. You don't need to call gpu_access manually, as it's done through these traits.

We probably want to rename Buffer to BufferGpuAccess and Image to ImageGpuAccess eventually, but this can be done later in a documentation pass.


UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfa in position 3: invalid start byte

While converting my trained model from saved.pb and checkpoint file to frozen.pb getting the below error :
Traceback (most recent call last):
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 491, in
run_main()
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 487, in run_main
app.run(main=my_main, argv=[sys.argv[0]] + unparsed)
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/absl_py/absl/app.py", line 299, in run
_run_main(main, args)
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/absl_py/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 486, in
my_main = lambda unused_args: main(unused_args, flags)
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 372, in main
freeze_graph(flags.input_graph, flags.input_saver, flags.input_binary,
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 338, in freeze_graph
input_graph_def = _parse_input_graph_proto(input_graph, input_binary)
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 253, in _parse_input_graph_proto
text_format.Merge(f.read(), input_graph_def)
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/lib/io/file_io.py", line 122, in read
return self._prepare_value(self._read_buf.read(length))
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/lib/io/file_io.py", line 94, in _prepare_value
return compat.as_str_any(val)
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/util/compat.py", line 139, in as_str_any
return as_str(value)
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/util/compat.py", line 118, in as_str
return as_text(bytes_or_text, encoding)
File "/home/micronagri/Desktop/tf2_configure/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/util/compat.py", line 109, in as_text
return bytes_or_text.decode(encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfa in position 3: invalid start byte
Below are my system details :
OS: Ubuntu  - 20.04.1
Python Version : 3.8.5
I found couple of threads detailing the use of 'rb' instead of 'r', but I'm not sure of its working here.

@vineethdas,
In order to reproduce the issue reported here, could you please provide the TensorFlow version, the complete code and the dataset you are using. Thanks!

The model was trained in the Windows System with the Tensorflow Version: 2.3.1
I used the git repository - https://github.com/tensorflow/tensorflow/blob/r2.0/tensorflow/python/tools/freeze_graph.py
Though I trained the model in Windows 10, I'm trying to extract the frozen-graph using ubuntu.
The input to the program are the saved.pb and chkpt-00 file.
Let me know if that is possible, (using a windows trained model in linux environment)

@vineethdas,
Could you please provide the complete code to build the model and the saved model files as well, so that we can reproduce the issue on our end? Thanks!


fix: limit situations where we retry

Resolves #290. This is the one where retrying the request on 401/403 was causing all kinds of trouble.  After taking a closer look, I think we should keep the retries, but only in the situation where a user has set an access_token, a refresh_token, and they don't have an expiry_date.  This can happen if the user stashes a refresh and access token for later use, and then populates it manually at a later point.  That's the only real case I can think of where retrying getRequestMetadata is useful beyond what's there today.

Codecov Report

Merging #307 into next will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##             next     #307      +/-   ##
==========================================
+ Coverage   95.32%   95.33%   +0.01%
==========================================
  Files          14       14
  Lines         898      901       +3
  Branches      187      190       +3
==========================================
+ Hits          856      859       +3
  Misses         42       42

Impacted Files
Coverage Δ

src/auth/oauth2client.ts
93.95% <100%> (+0.06%)
: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 7f7666f...9371513. Read the comment docs.


Feature/tooltips for dialogue

Having a little trouble with this one around the web component behavior. Looking forward to chatting with Salem when he gets back.

The content of the tooltip (button text and bubble dialogue) is currently being set through attributes. If this is going to work with the Drupal Lingotek translation module we will need to refactor it so that it is passed in through slots (I believe)
On very narrow screens (under 400px), the tooltip is not respecting the edge of the screen.

Also, not sure why tooltip.scss line 420 width: 300px is set. Seems to be part of the overflow issue on smaller screens.

@danielamorse - Can you review this to see if you can help out Basalt in Salem's absence?

@joekarasek In general, the tooltip component was not built up to our standards, it's been a pain to work with. I am all for a refactor.
Regarding the defined width, it's there to make sure long text would would as well, try to pass a few lines of text into the content and you'll see why.
You can also see in the CSS that the bubble can appear from all directions, not just up. This was never implemented, therefore it does not respect the edge of the screen.

This has been addressed on the main epic branch for the micro journeys (formerly interactive pathways).


MC_MUJOCO_SHARE_DESTINATION

When I want to install mc_mujoco under my home directory, it seems that I need to change CMAKE_INSTALL_PREFIX and MC_MUJOCO_SHARE_DESTINATION. Is it necessary to make them configurable independently?

When I want to install mc_mujoco under my home directory, it seems that I need to change CMAKE_INSTALL_PREFIX and MC_MUJOCO_SHARE_DESTINATION.

Really? In my case, only CMAKE_INSTALL_PREFIX is needed to be set. MC_MUJOCO_SHARE_DESTINATION is set automatically.

Maybe you specified CMAKE_INSTALL_PREFIX using -D option of cmake.
I ran cmake without specifying CMAKE_INSTALL_PREFIX and then changed CMAKE_INSTALL_PREFIX using ccmake.

Ah I see, yes I was using the -D option. I think we don't need to make MC_MUJOCO_SHARE_DESTINATION separately configurable as it is only used for storing xml models.

That's because the variable were set as CACHE variable rather than regular variable and updating CMAKE_INSTALL_PREFIX after the first CMake run would not update them. I have made them regular variables in the above commit.
@fkanehiro note that mc_mujoco is available in https://github.com/mc-rtc/superbuild-extensions/ (but there is a little extra work to do to support MuJoCo on macOS automatically: https://github.com/mc-rtc/superbuild-extensions/blob/main/simulation/MuJoCo.cmake)

Thanks, @gergondet !


Adding Priors Into Model

Hi @devindg !!!
First off, such an awesome package that is easy to use and understand.
I was wondering how would one go about adding priors into a multivariate bsts model. Would you use the state_var_scale_prior variable in the modeling set up? Could you provide an example, please?!

Hi @tim-mcwilliams . Happy that you like package! I'll actually (hopefully) be releasing a new version soon that will allow you to see the posterior distributions and Monte Carlo sampling traces for each of the parameters. But to answer your question: what do you mean by "multivariate"? What parameters do you want to put priors on?
In general, priors will be passed to the sample() method. Here is an example:
 mod = BUC(response=y_train,                         level=True,                         trend=True, damped_trend=True,                         lag_seasonal=(4, 12),                         seed=123)   mod.sample(num_samp=1000,                            level_var_shape_prior=1,                            level_var_scale_prior=0.01,                            trend_var_shape_prior=1,                            trend_var_shape_prior=0.01,                            lag_season_var_shape_prior=(1, 2),                            lag_season_var_scale_prior=(0.01, 0.1),                           damped_trend_coeff_mean_prior=[0.95],                            damped_trend_coeff_prec_prior=[4])

Hi @devindg!
Thanks for the quick reply here! Looking forward to those updates!
When I say "multivariate" I mean that the model has predictors in it. For example,
bayes_uc = buc.BayesianUnobservedComponents(
    response=y_train,
    predictors=x_train,
    level=True,
    stochastic_level=True,
    trend=True,
    stochastic_trend=True,
    trig_seasonal=((12, 0),),
    stochastic_trig_seasonal=(True,),
    seed=123
)

It may be my lack of fully understanding the Bayesian way (I'm relatively new to it), but is there way to add priors to the predictors or are those priors only for the response variable?

Good morning, @tim-mcwilliams. Yes, there's a way to add a prior for the predictor coefficients. For example, let's suppose you have two predictors, $x_1$ and $x_2$, and your mean and covariance priors are, respectively, [2, 3] and [[0.5, 0], [0, 1]]. That is, your prior for the $x_1$ variable is $N(2, 0.5^2)$, and your prior for the $x_2$ variable is $N(3, 1^2)$. Since your covariance matrix is a diagonal matrix (zeros everywhere on the off-diagonal), the corresponding precision matrix, which is just the inverse of your covariance matrix, is [[1 / 0.5, 0], [0, 1]]. The precision matrix, as opposed to the covariance matrix, is what will be passed to sample(). The code is as follows:
bayes_uc = buc.BayesianUnobservedComponents(
    response=y_train,
    predictors=x_train,
    level=True,
    stochastic_level=True,
    trend=True,
    stochastic_trend=True,
    trig_seasonal=((12, 0),),
    stochastic_trig_seasonal=(True,),
    seed=123
)
post = bayes_uc.sample(reg_coeff_mean_prior=[2, 3], reg_coeff_prec_prior=[[2, 0], [0, 1]])

Note that you aren't constrained to lists for the mean and precision priors; you can also use tuples or Numpy arrays. Also, in general, if you prefer to think in terms of covariance instead of precision, you'll have to invert your covariance matrix first to get the corresponding precision matrix. Alternatively, if you don't have or want to provide a specific precision matrix, you can access the zellner_prior_obs argument, which will dictate how much weight you give your mean prior. While pybuc does not exactly follow the implementation of the Zellner's g-prior (because it's not strictly regression), the principle behind the g-prior can be read about here. pybuc follows the same approach as bsts for the implementation of Zellner's g-prior. You can read about more here on pg. 8.
Finally, just as an FYI, you don't need to explicitly pass True for the stochastic_<component> arguments. These are True by default. Hope this helps.

Good morning, @devindg,
Really appreciate the detailed explanation here as well as providing some extra documents to digest. Going to work through my example and will let you know if I have any further questions.
Roger that on the stochastic_<component> tip. Just had those there for my learning purpose.

Closing!


Implements create/get blob over RPC client from remote.

What do these changes do?

Refactor the "processMessage" part in socket server.
Implements create/get blob from remote client over socket, rather than memory sharing
Implements create/get blob on RPC client.

Related issue number
Fixes #173.

Codecov Report

Merging #215 (3f5a4ff) into main (7a5b98b) will increase coverage by 6.78%.
The diff coverage is 64.75%.

@@            Coverage Diff             @@
##             main     #215      +/-   ##
==========================================
+ Coverage   69.35%   76.14%   +6.78%
==========================================
  Files          55       55
  Lines        4265     4405     +140
==========================================
+ Hits         2958     3354     +396
+ Misses       1307     1051     -256

Impacted Files
Coverage Δ

src/common/util/protocols.cc
87.07% <0.00%> (+3.53%)
:arrow_up:

src/server/async/socket_server.cc
75.19% <73.36%> (+4.24%)
:arrow_up:

src/server/async/socket_server.h
100.00% <100.00%> (ø)

src/server/services/etcd_meta_service.cc
76.19% <0.00%> (+6.59%)
:arrow_up:

src/common/util/status.h
48.00% <0.00%> (+7.00%)
:arrow_up:

src/common/util/status.cc
26.51% <0.00%> (+8.33%)
:arrow_up:

src/server/memory/memory.cc
93.22% <0.00%> (+10.16%)
:arrow_up:

src/server/services/etcd_meta_service.h
92.00% <0.00%> (+12.00%)
:arrow_up:

... and 7 more


training deeplabv+ with refined psudo masks

Thank you for sharing the code. I've successfully downloaded the refined pseudo masks for the coco dataset and extracted them to the directory you mentioned: {your_ImageNet2012_directory}/train_pseudo_masks_experts, following your instructions. However, I noticed that the variable category_to_p_images_fp, which you mentioned as {your_category_to_p_images_fp}, should actually point to a specific JSON file, not a directory containing multiple folders with JSON files.
Could you guide me on the correct path that I should define for category_to_p_images_fp?

Dear @elhamravanbakhsh,
Thank you for your interests in our work and sorry for the late response.
I was wondering if you tried setting it to the path to your json file which contains information like
{
"{category_a}": ["path_to_image_a", "path_to_image_b", ...],
"{category_b}": ["path_to_image_c", "path_to_image_d", ...],
"{category_c}": ["path_to_image_e", "path_to_image_f", ...],
...
}

It'd be also helpful if you could let me know what script you are aiming to implement and also the error log you encounter while trying to implement it. :)
Kind regards,
Noel


refactor(ci): Split docker run into launch, logs, and wait

Motivation
This PR further splits up the docker run job.
It is part of ticket #4661.
Solution
This PR splits the docker run jobs into 3 different jobs:

launch: docker run --detach
logs: docker logs --tail all --follow
result: docker wait

It also fixes up some comments and formatting.
Review
This might be one for Gustavo, but anyone who understands GitHub workflows and docker should be able to review it.
Reviewer Checklist

[ ] All GCP workflow jobs have launch, logs, and result steps
[ ] Failing jobs still fail

Follow Up Work

split the logs into checkpoint (sprout, sapling, orchard?) and full validation (sapling?, orchard)
require that full sync goes to 100%

I'm running full checkpoint and tip syncs here:
https://github.com/ZcashFoundation/zebra/actions/runs/2566077841
They seem to have the right jobs, but we still need to check the jobs run correctly before we merge.


Unable to map from/to Fn (function) key

Microsoft PowerToys version
0.56.2
Running as admin

[ ] Yes

Area(s) with issue?
Keyboard Manager
Steps to reproduce
I'm unable to map the Fn key to any other key. When I use the Type button and press Fn the keypress seems not be recognized at all. When I try to select the key manually from the select box, it isn't present (just the individual F# keys).
✔ Expected Behavior
I was hoping to use this utility to swap my Ctrl and Fn key positions to bring consistency between my desktop and laptop keyboards.
❌ Actual Behavior
could not. :)
Other Software
n/a

My apologies for missing that documentation. Thanks for the kind reiteration.


Create release-0.11branch

Motivation
This pr will create a new branch release-0.11 based on main branch
And update manifests/scripts for v0.11.0
PR checklist
Checklist items below are applicable for development targeted to both fast and stable branches/tags

[X] Unit tests pass locally
[X] FVT tests pass locally
[ ] If the PR adds a new container image or updates the tag of an existing image (not build within cpaas), is the corresponding change made in live-builder and cpaas-midstream to add/update the image tag in the operator CSV? Link the PRs if applicable

Checklist items below are applicable for development targeted to both fast and stable branches/tags

[X] Tested modelmesh serving deployment with odh-manifests and ran odh-manifests-e2e tests locally

I retested fvt on locally, it worked. moreover, fvt-odh-manifests use exactly the same fvt script and it passed.
I don't understand why fvt keeps failing. I just restart the failed openshift-ci test. I hope this time, it will pass.
Test steps:
export NAMESPACE=modelmesh-serving
export MODELMESH_SERVING_IMAGE=quay.io/opendatahub/modelmesh-controller:pr-203
make e2e-test

Looks only different thing between fvt and odh-manifest-fvt is test platform. fvt is using gcp but odh-manifest-fvt is using aws. So I created a pr to openshift-ci repo for changing test platform

/retest


Update vad.py with more sane speech_pad_ms: int = 4000

In all my tests speech_pad_ms: int = 400 was too small. All other VAD numbers were good. Making speech_pad_ms: int = 4000 2x the min_silence_duration_ms: int = 2000 fixed all my problems. Maybe someone forgot to add another 0?
Here it is doubled too:
https://github.com/jhj0517/Whisper-WebUI/blob/master/configs/default_parameters.yaml
vad:
vad_filter: false
threshold: 0.5
min_speech_duration_ms: 250
max_speech_duration_s: 9999
min_silence_duration_ms: 1000
speech_pad_ms: 2000

Thank you for the explanation. I checked my transcription and indeed it has sometimes 1 word or 1 sentence missing. A major headache how to adjust the VAD :(


Auto refresh possible

Hey,
thanks for the module, it works flawlessly! I am just wondering if there is a way to auto-refresh the website?
In particular I want to display an image from a weather API which only gets refreshed once I call the website again. I could also provide the URL if needed.
In the config you mention the "loadedJS", maybe it can be achieved somehow?
Thanks!

Probably I guess that that is caused by caching, but I want to understand the problem correctly.

Perfect! It works as expected. Thank you again, very nice :)


'ontouchstart' in document.documentElement

My desktop monitor is not a touch device
bootstrap dropdown js
if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length)

Firefox latest browser ('ontouchstart' in document.documentElement) return true
Chrome latest browser ('ontouchstart' in document.documentElement) return false
chrome is working, firefox is support the touchstart event in not touchable monitor
My operating system windows vista

Well, this still happens on the latest up-to-date Firefox 40 on Ubuntu 14.04. Is there a better way to detect this?

Can't reproduce that:

All indications seem to be that this can only happen to folks using Firefox's dev tools (or who edit about:config), so this will never affect normal users, and thus isn't worth trying to workaround.


On iOS, the AppBar title is invisible

On iOS, in the product edition page, the name of the product (or the title) is invisible.
It doesn't seem to affect Android however.

I will work on it, as it's an easy fix.


fix: pass options to testStorage

Summary

pass options to testStorage in CookieStorage.isEnabled()
Checklist

[x] Does your PR title have the correct title format?
Does your PR have a breaking change?: no

we probably need to do this for packages/analytics-react-native/src/storage/cookie.ts as well.
@dnshi this is an example of where the same logic is copied in browser and react-native pkgs


Avoid division by zero

This addresses https://github.com/biocore/unifrac-binaries/issues/51
While it is not addressing the root cause (sample_counts[0] == 0), it allows to avoid undefined behaviour and allows the test to pass.

Thanks, @vpa1977!
@sfiligoi, could you look when you have a moment? Any idea why this test wasn't flagged on prior CI runs?

Pretty sure we are never supposed to have (sample_counts[0] == 0) in there!
Don't think this is the right approach.
But I need some time to think it through.

Pretty sure we are never supposed to have (sample_counts[0] == 0) in there! (i.e., it is an implicit assumption) Don't think this is the right approach.... we need to find why would anyone ever invoke this function with "wrong" counts.

Here is the h5 dump used in the unit test:
HDF5 "/tmp/table.biom" {
GROUP "/" {
   ATTRIBUTE "creation-date" {
      DATATYPE  H5T_STRING {
         STRSIZE H5T_VARIABLE;
         STRPAD H5T_STR_NULLTERM;
         CSET H5T_CSET_UTF8;
         CTYPE H5T_C_S1;
      }
      DATASPACE  SCALAR
      DATA {
      (0): "2023-10-06T12:05:44.430414"
      }
   }
   ATTRIBUTE "format-url" {
      DATATYPE  H5T_STRING {
         STRSIZE H5T_VARIABLE;
         STRPAD H5T_STR_NULLTERM;
         CSET H5T_CSET_UTF8;
         CTYPE H5T_C_S1;
      }
      DATASPACE  SCALAR
      DATA {
      (0): "http://biom-format.org"
      }
   }
   ATTRIBUTE "format-version" {
      DATATYPE  H5T_STD_I64LE
      DATASPACE  SIMPLE { ( 2 ) / ( 2 ) }
      DATA {
      (0): 2, 1
      }
   }
   ATTRIBUTE "generated-by" {
      DATATYPE  H5T_STRING {
         STRSIZE H5T_VARIABLE;
         STRPAD H5T_STR_NULLTERM;
         CSET H5T_CSET_UTF8;
         CTYPE H5T_C_S1;
      }
      DATASPACE  SCALAR
      DATA {
      (0): "Table for unit testing"
      }
   }
   ATTRIBUTE "id" {
      DATATYPE  H5T_STRING {
         STRSIZE H5T_VARIABLE;
         STRPAD H5T_STR_NULLTERM;
         CSET H5T_CSET_UTF8;
         CTYPE H5T_C_S1;
      }
      DATASPACE  SCALAR
      DATA {
      (0): "No Table ID"
      }
   }
   ATTRIBUTE "nnz" {
      DATATYPE  H5T_STD_I64LE
      DATASPACE  SCALAR
      DATA {
      (0): 0
      }
   }
   ATTRIBUTE "shape" {
      DATATYPE  H5T_STD_I64LE
      DATASPACE  SIMPLE { ( 2 ) / ( 2 ) }
      DATA {
      (0): 5, 1
      }
   }
   ATTRIBUTE "type" {
      DATATYPE  H5T_STRING {
         STRSIZE H5T_VARIABLE;
         STRPAD H5T_STR_NULLTERM;
         CSET H5T_CSET_UTF8;
         CTYPE H5T_C_S1;
      }
      DATASPACE  SCALAR
      DATA {
      (0): ""
      }
   }
   GROUP "observation" {
      GROUP "group-metadata" {
      }
      DATASET "ids" {
         DATATYPE  H5T_STRING {
            STRSIZE H5T_VARIABLE;
            STRPAD H5T_STR_NULLTERM;
            CSET H5T_CSET_UTF8;
            CTYPE H5T_C_S1;
         }
         DATASPACE  SIMPLE { ( 5 ) / ( 5 ) }
         DATA {
         (0): "OTU1", "OTU2", "OTU3", "OTU4", "OTU5"
         }
      }
      GROUP "matrix" {
         DATASET "data" {
            DATATYPE  H5T_IEEE_F64LE
            DATASPACE  SIMPLE { ( 0 ) / ( 0 ) }
            DATA {
            }
         }
         DATASET "indices" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 0 ) / ( 0 ) }
            DATA {
            }
         }
         DATASET "indptr" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 6 ) / ( 6 ) }
            DATA {
            (0): 0, 0, 0, 0, 0, 0
            }
         }
      }
      GROUP "metadata" {
      }
   }
   GROUP "sample" {
      GROUP "group-metadata" {
      }
      DATASET "ids" {
         DATATYPE  H5T_STRING {
            STRSIZE H5T_VARIABLE;
            STRPAD H5T_STR_NULLTERM;
            CSET H5T_CSET_UTF8;
            CTYPE H5T_C_S1;
         }
         DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }
         DATA {
         (0): "foo"
         }
      }
      GROUP "matrix" {
         DATASET "data" {
            DATATYPE  H5T_IEEE_F64LE
            DATASPACE  SIMPLE { ( 0 ) / ( 0 ) }
            DATA {
            }
         }
         DATASET "indices" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 0 ) / ( 0 ) }
            DATA {
            }
         }
         DATASET "indptr" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 2 ) / ( 2 ) }
            DATA {
            (0): 0, 0
            }
         }
      }
      GROUP "metadata" {
      }
   }
}
}

It has 1 sample foo and 5 observations OTU1..OTU2 without any data points.
Since there are no data points, the sample_counts[] are zero.
set_proportions has normalize = true as a default argument.
I am wondering if normalisation makes sense at all in this case and we should just have a do not normalize clause if one of the columns lacks data?

Can you check what happens when you run the code through the command line faithpd?
(unifrac-dev-311) -bash-4.2$ faithpd -i /tmp/table.biom -t /tree/tree.biom  -o a.txt
(unifrac-dev-311) -bash-4.2$ cat a.txt
#SampleID	faith_pd
foo	0

Additionally, can you check that the generated tree actually makes sense?
(unifrac-dev-311) -bash-4.2$ cat /tree/tree.biom
(((((OTU1:0.5,OTU2:0.5):0.5,OTU3:1.0):1.0):0.0,(OTU4:0.75,OTU5:0.75):1.25):0.0)root;

Anyway, you are right that we should not be dividing by zero, but we are...
I traced the code, and
0/0 -> -NAN
on my machine.
Which makes the test
(value <= 0)
pass (by pure luck)
Still, we have to figure out how to properly deal with this situation.
There really is no good answer to what 0/0 is, so we should avoiding getting in there in the first place.
(likely some kind of filtering before invoking the function)
@wasade Any insight on what the proper semantics should be?

The correct faith's pd result in this case is zero. Any issue with if(sample_counts[i] == 0) { props[i] = 0; continue; }?

Updated as per comment.

While this fixes one instance of division by zero, it does not fix the root cause.
(neither it fixes the many other places where we are assuming sample_counts[i] != 0)
FYI, looking into ways to address the root issue of the broken assumption.

Opened PR #53 as an alternative implementation.


[eslint-plugin] improve ts-doc-internal UX experience

fix false positive when there are no comments at all. There may be some internal cache nodes in the array but they don't hold any comments.
instead of showing squiggles for whole declaration body, only report on the id node if its available.

it was annoying to have the whole declaration body squiggled.

after fix:


Resurrect ClassisOption/ClassicResult

We deprecated these APIs in https://github.com/karen-irc/option-t/issues/459. But with breaking change to fix a design problems, we may revive them.
Related Issues

https://github.com/karen-irc/option-t/issues/459
#463

Plan

[ ] Remove special type hacking approach.

This remove special type specialization which is mismatch with an actual implementation.

[ ] Migrate to TypeScript.
[ ] Create a specialized class.

We hesitated this kind of optimization by code size bloat. However, we have PlainOption/PlainResult for that issue.

[ ] Add some compatibility with PlainOption/PlainResult

I thought that we may not have to revive ClassOption. It can be replaced with Nullable<T> in almost case and we provide PlainOption<T>.
When I introduced ClassOption (we invented this package),

TypeScript is not popular and TypeScript can not detect null or undefined strictly. So I wanted None object as explicit way to express absence of values
There is no other utility types provided by this package.

Now, we got some experience about these types:

In almost case,  we should use simple Nullable<T> instead of Option<T>. It's more straight way excluding that you'd like to handle a value with method chain style.
We can treat PlainResult<T, E> as Option<T, E>. So the best thing is type interoperability with other types in this package.

We don't have to revive ClassOption newly.

wip:

// This should be same with `PlainResult`.
interface Result<T, E> {
    ok: boolean;
    val: T | never;
    err: E | never;
}

export interface ClassOk<T> extends Result<T, never> {
    readonly ok: true;
    readonly val: T;
}

export interface ClassErr<E> extends Result<never, E> {
    readonly ok: false;
    readonly err: E;
}

export class ClassResult<T, E> implements Result<T, E> {
    readonly ok: boolean;
    readonly val: T;
    readonly err: E;

    constructor(ok: boolean, val: T, err: E) {
        this.ok = ok;
        this.val = val;
        this.err = err;
    }

    isOk(): this is ClassOk<T> {
        return this.ok;
    }

    isErr(): this is ClassErr<T> {
        return !this.ok;
    }

    unwrap(): T {
        if (!this.isOk()) {
            throw new TypeError();
        }

        return this.val;
    }

    map<U>(transformer: (val: T) => U): ClassResult<U, E> {
        if (this.isErr()) {
            // FIXME: write a comment to why not avoiding allocation.
            const r = createErr(this.err);
            return r;
        }

        const transformed = transformer(this.val);
        const result = createOk(transformed);
        return result;
    }
}

function createOk<T>(val: T): ClassResult<T, never> {
    const r = new ClassResult<T, never>(true, val, null as never);
    return r;
}

function createErr<E>(err: E): ClassResult<never, E> {
    const r = new ClassResult<never, E>(false, null as never, err as never);
    return r;
}

function bar(): ClassResult<number, string> {
    const r = createOk<number>(1);
    if (r.isOk()) {
        const r2 = r.unwrap();
        const r3 = r.map((v) => v);
        return r;
    }

    const b = createErr<string>('');
    return b;
}

{
    const foo = bar();
    const foo1 = foo.map((v) => v);
}

We introduced https://github.com/option-t/option-t/pull/907 and we think it's more better way to do this...


⚠ Samsung has degraded performance

In 5cc7d82, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2365 ms

Resolved: Samsung performance has improved in 14e5a93.


Suggestion: Hide window(s) when using area select

Seems quite simple. I can make a PR and work on this feature if you'd really like me to.
Essentially, if a user wants to do an area screenshot, hide any windows so that they can select apart of the screen without all the windows blocking everything.

What windows specifically? Personally anything I can imagine it'd be quite annoying

All of the windows. The main one, settings, and about from what I see. After the screenshot, they should be brought back up. I failed to mention that.
The idea is that when a user starts an area screenshot, it hides all KShare windows and then brings em up after the screenshot is over.

My point still stands but in most use cases for that idea (eg quick tests) I can imagine it being useful, as an opt-out.


Enable test framkework for changelog tool

EngSys and Automation Categorization

[x] Parity with existing tooling in Track2
[ ] New functionality

added.
next step is to enlarge test coverage


add docs on request and deploy concepts

@tpetr

Could be good to get @markhazlewood's eyes on this too

I kind of have a nitpick with the first person tone (doesn't match the test of the docs), but beside that, LGTM

Updated to sound more like the docs in examples.md

LGTM


Feature get object class groups

Adding support for querying Object Class groups.

This pull request is included in release 1.0.6-alpha in nuget.


Scheduler does not respect the size of the parent container. (version 4.2.1)

Checklist

[X] I've verified that I'm running react-big-schedule version 4.2.0 or higher

Describe the bug
Placed the  in a container and it goes out of the container.
Reproduction Link/Code
Using the grid from ant.design:

<Layout className="">
  <Sider />
  <Layout>

    <Content>
      <Row>
       <Col span={24}>

          .... ant tabs container / content etc ......

            <Row gutter={[32, 32]}>
                <Col span={24}>

                        <Scheduler
                            schedulerData={schedulerData}
                            prevClick={prevClick}
                            nextClick={nextClick}
                            onSelectDate={onSelectDate}
                            onViewChange={onViewChange}
                            eventItemClick={eventClicked}
                        />

                </Col>
            </Row>

          .... end  ant tabs container / content etc ......

          </Col>
        </Row>
      </Content>
  </Layout>
</Layout>

Steps to reproduce
While resizing the window browser it adjust the table width the same as window size, and it does not take the sidebar into account.
Operating System
MAC OSX
Browser
Chromium engine / Safari
React version
18.2.0
react-big-schedule version
4.2.1
Additional Information
No response

This is a image where you can see the size of the Scheduler table, taking the size of the window:

you need to add a beside with in config:
see this example :https://react-big-schedule.vercel.app/basic
code:
import { Component } from 'react';
import * as dayjsLocale from 'dayjs/locale/pt-br';
import * as antdLocale from 'antd/locale/pt_BR';

import { Scheduler, SchedulerData, ViewType, DemoData, wrapperFun } from 'react-big-schedule';

class Basic extends Component {
  constructor(props) {
    super(props);

    let schedulerData = new SchedulerData('2022-12-22', ViewType.Week, false, false, {
      besidesWidth: window.innerWidth <= 1600 ? 100 : 350, // you need to add this
      dayMaxEvents: 99,
      weekMaxEvents: 9669,
      monthMaxEvents: 9669,
      quarterMaxEvents: 6599,
      yearMaxEvents: 9956,
      customMaxEvents: 9965,
      eventItemPopoverTrigger: 'click',
      schedulerContentHeight: '100%',
    });

    schedulerData.setSchedulerLocale(dayjsLocale);
    schedulerData.setCalendarPopoverLocale(antdLocale);
    schedulerData.setResources(DemoData.resources);
    schedulerData.setEvents(DemoData.events);
    this.state = {
      viewModel: schedulerData,
    };
  }

  render() {
    const { viewModel } = this.state;
    return (
      <Scheduler
        schedulerData={viewModel}
        prevClick={this.prevClick}
        nextClick={this.nextClick}
        onSelectDate={this.onSelectDate}
        onViewChange={this.onViewChange}
        viewEventClick={this.ops1}
        viewEventText="Ops 1"
        viewEvent2Text="Ops 2"
        viewEvent2Click={this.ops2}
        updateEventStart={this.updateEventStart}
        updateEventEnd={this.updateEventEnd}
        moveEvent={this.moveEvent}
        newEvent={this.newEvent}
        onScrollLeft={this.onScrollLeft}
        onScrollRight={this.onScrollRight}
        onScrollTop={this.onScrollTop}
        onScrollBottom={this.onScrollBottom}
        toggleExpandFunc={this.toggleExpandFunc}
      />
    );
  }

  prevClick = schedulerData => {
    schedulerData.prev();
    schedulerData.setEvents(DemoData.events);
    this.setState({ viewModel: schedulerData });
  };

  nextClick = schedulerData => {
    schedulerData.next();
    schedulerData.setEvents(DemoData.events);
    this.setState({ viewModel: schedulerData });
  };

  onViewChange = (schedulerData, view) => {
    const start = new Date();
    schedulerData.setViewType(view.viewType, view.showAgenda, view.isEventPerspective);
    schedulerData.setEvents(DemoData.events);
    this.setState({ viewModel: schedulerData });
    function secondsBetween(date1, date2) {
      var diff = Math.abs(date1.getTime() - date2.getTime());
      return diff / 1000;
    }

    console.log('Elapsed seconds: ' + secondsBetween(start, new Date()));
  };

  onSelectDate = (schedulerData, date) => {
    schedulerData.setDate(date);
    schedulerData.setEvents(DemoData.events);
    this.setState({
      viewModel: schedulerData,
    });
  };

  eventClicked = (schedulerData, event) => {
    alert(`You just clicked an event: {id: ${event.id}, title: ${event.title}}`);
  };

  ops1 = (schedulerData, event) => {
    alert(`You just executed ops1 to event: {id: ${event.id}, title: ${event.title}}`);
  };

  ops2 = (schedulerData, event) => {
    alert(`You just executed ops2 to event: {id: ${event.id}, title: ${event.title}}`);
  };

  newEvent = (schedulerData, slotId, slotName, start, end, type, item) => {
    if (confirm(`Do you want to create a new event? {slotId: ${slotId}, slotName: ${slotName}, start: ${start}, end: ${end}, type: ${type}, item: ${item}}`)) {
      let newFreshId = 0;
      schedulerData.events.forEach(item => {
        if (item.id >= newFreshId) newFreshId = item.id + 1;
      });

      let newEvent = {
        id: newFreshId,
        title: 'New event you just created',
        start: start,
        end: end,
        resourceId: slotId,
        bgColor: 'purple',
      };
      schedulerData.addEvent(newEvent);
      this.setState({
        viewModel: schedulerData,
      });
    }
  };

  updateEventStart = (schedulerData, event, newStart) => {
    if (confirm(`Do you want to adjust the start of the event? {eventId: ${event.id}, eventTitle: ${event.title}, newStart: ${newStart}}`)) {
      schedulerData.updateEventStart(event, newStart);
    }
    this.setState({
      viewModel: schedulerData,
    });
  };

  updateEventEnd = (schedulerData, event, newEnd) => {
    if (confirm(`Do you want to adjust the end of the event? {eventId: ${event.id}, eventTitle: ${event.title}, newEnd: ${newEnd}}`)) {
      schedulerData.updateEventEnd(event, newEnd);
    }
    this.setState({
      viewModel: schedulerData,
    });
  };

  moveEvent = (schedulerData, event, slotId, slotName, start, end) => {
    if (
      confirm(
        `Do you want to move the event? {eventId: ${event.id}, eventTitle: ${event.title}, newSlotId: ${slotId}, newSlotName: ${slotName}, newStart: ${start}, newEnd: ${end}`
      )
    ) {
      schedulerData.moveEvent(event, slotId, slotName, start, end);
      this.setState({
        viewModel: schedulerData,
      });
    }
  };

  onScrollRight = (schedulerData, schedulerContent, maxScrollLeft) => {
    if (schedulerData.ViewTypes === ViewType.Day) {
      schedulerData.next();
      schedulerData.setEvents(DemoData.events);
      this.setState({
        viewModel: schedulerData,
      });

      schedulerContent.scrollLeft = maxScrollLeft - 10;
    }
  };

  onScrollLeft = (schedulerData, schedulerContent) => {
    if (schedulerData.ViewTypes === ViewType.Day) {
      schedulerData.prev();
      schedulerData.setEvents(DemoData.events);
      this.setState({
        viewModel: schedulerData,
      });

      schedulerContent.scrollLeft = 10;
    }
  };

  onScrollTop = () => console.log('onScrollTop');

  onScrollBottom = () => console.log('onScrollBottom');

  toggleExpandFunc = (schedulerData, slotId) => {
    schedulerData.toggleExpandStatus(slotId);
    this.setState({
      viewModel: schedulerData,
    });
  };
}

export default wrapperFun(Basic);

Hi @ansulagrawal Many thx for the quick reply! I have added this option and the width of the Scheduler is now correct. this is great!!!
I have one other issue (I think it is an issue). Loading the page, the scheduler is collapsed for some reason. If resize a bit it will fit perfectly, but toggle next or prev it collapses again. I have added a gif to show you what I mean. Probably it has something to do with the container is hidden before. (it also use the ant.design ).
Is there something I can do to fix this?

I will look into it, as soon as possible I will ping you out till then I think you can try with version 4.2.0 it might help you out not sure but please try it

@jovana did you tried https://react-big-schedule.vercel.app/add-more here?. For me it not happening so. can you please provide me the code or create a bug in codesanbox if possible

you can refer this video from my machice that is windows 10  and brave browser
https://github.com/ansulagrawal/react-big-schedule/assets/55939700/0a50c0d5-2926-4cb2-8df7-3343e0d07605

Okay, I have found the issue and how to reproduce it.
If you put the Scheduler in a div container witch has padding enabled (in CSS) it gives this issue.

    <Scheduler ......  />

.schedular-container{
  background-color: #fff;
  padding: 50px 10px;
}

Not sure if this gives you enough info to reproduce. So I have removed the padding and it is al good now!
Let's go to work with real data now and hopefully i will manage to implement this into my project.

@jovana thanks for information will check for how to fix for strict mode.

@jovana thanks for information will check for how to fix for strict mode.

Did you manage to reproduce it, or do I need to send a code pen?

Okay, I was working on the code to give you a minimal working example so you can troubleshoot. But I have found the root cause of the collapse. It only occurred when running in development. After editing a file and saving it ReactJS reload the page, that is when it collapses.
So this problem is only in development mode and working on the files while reloading.
I will close this issue for now (because it is not really an issue anymore).
Many thx for your assistance so-fare!

@jovana thanks for pointing out will check and fix for development mode


Ubuntu 16.10 + Enlightenment cannot login

Hi,
I set up everything and wasn't able to start the session via mstsc. Neither when I specify default session via autorun in xrdp.ini, nor when I choose session dynamically.
Here is my xrdp.log
 [20170511-22:42:22] [INFO ] Socket 12: AF_INET connection received from <IP_ADDRESS> port 11477
 [20170511-22:42:22] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3383)
 [20170511-22:42:22] [DEBUG] Closed socket 11 (AF_INET <IP_ADDRESS>:3383)
 [20170511-22:42:22] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
 [20170511-22:42:22] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
 [20170511-22:42:22] [DEBUG] TLSv1.2 enabled
 [20170511-22:42:22] [DEBUG] TLSv1.1 enabled
 [20170511-22:42:22] [DEBUG] TLSv1 enabled
 [20170511-22:42:22] [DEBUG] Security layer: requested 11, selected 1
 [20170511-22:42:22] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3383)
 [20170511-22:42:22] [ERROR] Listening socket is in wrong state, terminating listener
 [20170511-22:42:22] [CORE ] shutting down log subsystem...
 [20170511-22:42:22] [INFO ] Socket 12: AF_INET connection received from <IP_ADDRESS> port 11478
 [20170511-22:42:22] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3383)
 [20170511-22:42:22] [DEBUG] Closed socket 11 (AF_INET <IP_ADDRESS>:3383)
 [20170511-22:42:22] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
 [20170511-22:42:22] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
 [20170511-22:42:22] [DEBUG] TLSv1.2 enabled
 [20170511-22:42:22] [DEBUG] TLSv1.1 enabled
 [20170511-22:42:22] [DEBUG] TLSv1 enabled
 [20170511-22:42:22] [DEBUG] Security layer: requested 11, selected 1
 [20170511-22:42:22] [INFO ] connected client computer name: DELLANO
 [20170511-22:42:22] [INFO ] TLS connection established from <IP_ADDRESS> port 11478: TLSv1.2 with cipher AES256-GCM-SHA384
 [20170511-22:42:22] [DEBUG] xrdp_00000511_wm_login_mode_event_00000001
 [20170511-22:42:22] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
 [20170511-22:42:22] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
 [20170511-22:42:29] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip <IP_ADDRESS> port 3383
 [20170511-22:42:29] [INFO ] Socket 12: AF_INET connection received from <IP_ADDRESS> port 36660
 [20170511-22:42:29] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3383)
 [20170511-22:42:29] [DEBUG] Closed socket 11 (AF_INET <IP_ADDRESS>:3383)
 [20170511-22:42:29] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
 [20170511-22:42:29] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
 [20170511-22:42:29] [DEBUG] TLSv1.2 enabled
 [20170511-22:42:29] [DEBUG] TLSv1.1 enabled
 [20170511-22:42:29] [DEBUG] TLSv1 enabled
 [20170511-22:42:30] [INFO ] xrdp_wm_log_msg: sesman connect ok
 [20170511-22:42:30] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
 [20170511-22:42:30] [DEBUG] return value from xrdp_mm_connect 0
 [20170511-22:42:30] [DEBUG] Closed socket 18 (AF_INET <IP_ADDRESS>:36660)
 [20170511-22:42:30] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3383)
 [20170511-22:42:30] [ERROR] Listening socket is in wrong state, terminating listener
 [20170511-22:42:30] [CORE ] shutting down log subsystem...

In startwm.sh I have only
enlightenment_start

I cannot figure out either it is login error or inability to start a session. I just see blue screen after login window disappears.

xrdp-sesman.log might be more informative rather than xrdp.log in this case.

Well, I don't really understand the difference between xrdp and xrdp-sesman daemons. Should they run both at start and simultaneously?
My xrdp.ini
 [Globals]
 ; xrdp.ini file version number
 ini_version=1

 ; fork a new process for each incoming connection
 fork=true
 ; tcp port to listen
 port=3383

My sesman.ini
[Globals]
ListenAddress=<IP_ADDRESS>
ListenPort=3350
EnableUserWindowManager=true
UserWindowManager=startwm.sh
DefaultWindowManager=startwm.sh

I use port 3383 and when I speccify this port both in xrdp.ini and in sesman.ini, one of the services fails.
Here is xrdp-sesman log where port is 3383 everywhere. The service fails to start.
 [20170512-08:49:42] [DEBUG] libscp initialized
 [20170512-08:49:42] [INFO ] starting xrdp-sesman with pid 797
 [20170512-08:49:42] [INFO ] listening to port 3383 on <IP_ADDRESS>
 [20170512-08:49:44] [INFO ] shutting down sesman 1
 [20170512-08:49:44] [INFO ] shutting down sesman 1
 [20170512-08:49:44] [DEBUG] Closed socket 7 (AF_INET <IP_ADDRESS>:3383)
 [20170512-08:52:35] [DEBUG] libscp initialized
 [20170512-08:52:35] [INFO ] starting xrdp-sesman with pid 1325
 [20170512-08:52:35] [ERROR] bind error on port '3383': 98 (Address already in use)
 [20170512-08:52:35] [DEBUG] Closed socket 7 (AF_INET <IP_ADDRESS>:0)

And here is log, when I specify 3350 in sesman.ini, as it was out-of-the-box. The services start, but the result is as I described in the OP. I log into just blue screen.
What is the config I should use?

Xorg seems to fail. Login to the server with SSH (or whatever is ok) and run this command in terminal. Let's see what happens.
Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp .xorgxrdp.%s.log

Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp .xorgxrdp.%s.log

It throws
(EE)
Fatal server error:
(EE) Unrecognized option: .xorgxrdp.%s.log
(EE)
(EE)

Ah, the command I showed you was wrong but your log looks strange.
[20170512-08:53:58] [INFO ] Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp .xorgxrdp.%s.log

This should be like this.
[20170512-08:53:58] [INFO ] Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp  -logfile .xorgxrdp.%s.log

And this please show me the result of this command. It should be success.
Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp  -logfile .xorgxrdp.%s.log

I guess you misconfigured sesman.ini. Can you show me [Xorg] block of sesman.ini?

Here is the output of Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp  -logfile .xorgxrdp.%s.log
X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-45-generic x86_64 Ubuntu
Current Operating System: Linux bodhi-v 4.8.0-34-generic #36~16.04.1-Ubuntu SMP Wed Dec 21 18:55:08 UTC 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.8.0-34-generic.efi.signed root=UUID=ee64db49-a991-4bce-bddd-6f771f5f9c54 ro quiet splash
Build Date: 02 November 2016  10:06:10PM
xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: ".xorgxrdp.10.log", Time: Fri May 12 12:29:39 2017
(++) Using config file: "/etc/X11/xrdp/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10
rdpProbe:
rdpPreInit:
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x7f9b4d1aa010
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000506e3 bx 0x00010800 cx 0xfed83203 dx 0x0f8bfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpXvInit: depth 24
rdpClientConInit: kill disconnected [0] timeout [0] sec

rdpScreenInit: out
rdpmousePreInit: drv 0x56291dbe3b80 info 0x56291dcfedf0, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x7f9b4d583cf0
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x56291dbe42c0 info 0x56291de88950, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x7f9b4d380610
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpSaveScreen:
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRGetInfo:
  screen resized to 1024x768
  RRScreenSizeSet ok 1
rdpInDeferredUpdateCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
^CrdpmouseControl: what 2
rdpmouseDeviceOff:
rdpkeybControl: what 2
rdpkeybDeviceOff:
rdpkeybControl: what 3
rdpkeybUnInit: drv 0x56291dbe42c0 info 0x56291de88950, flags 0x0
rdpUnregisterInputCallback: proc 0x7f9b4d380610
rdpmouseControl: what 3
rdpmouseUnInit: drv 0x56291dbe3b80 info 0x56291dcfedf0, flags 0x0
rdpUnregisterInputCallback: proc 0x7f9b4d583cf0
rdpCloseScreen:
xorgxrdpDownDown:
xorgxrdpDownDown: 1
rdpClientConDeinit:
rdpClientConDeinit: deleting file /tmp/.xrdp/xrdp_display_10
(II) Server terminated successfully (0). Closing log file.

Can you show me [Xorg] block of sesman.ini?
Here is it.
[Xorg]
param=Xorg
param=-config
param=xrdp/xorg.conf
param=-noreset
param=-nolisten
param=tcp
#param=-logfile
param=.xorgxrdp.%s.log

I commented -logfile line, because read on some forum that this prevents Xorg from working properly.

Then, you should also comment out the param=.xorgxrdp.%s.log line.

Excellent! Now it works, thanks. And if we want to keep this log .xorgxrdp.%s.log, we should enable both params? And where would it be? In /var/log?

Yes, keep both lines or remove both lines.
See man Xorg to know log location.

Is the issue solved for you?

Yes, thanks.


2.0 rewrite: Changing tab by clicking the tabbar selects the bottom 4 lines for no reason

Instead of just going to the tab, it goes to that tab and selects the bottom 4 lines: https://imgur.com/a/OrFiOA9

Thanks for catching these issues!


Run-TestsInNavContainer parameter -testGroup undocumented

It seems like the testGroup parameter is undocumented for procedure Run-TestsInNavContainer.
I assume this is for test groups in the C/AL Test Runner, which don't seem to be there in the AL Test Runner anymore though.

Correct.

I will document and describe that it is only supported in C/AL tests

Shipped in <IP_ADDRESS>