[Event Request] table 751 "Standard General Journal Line" - OnBeforeShowDimensions

Please add new event in table 751: OnBeforeShowDimensions
procedure ShowDimensions()
begin
    OnBeforeShowDimensions(Rec, xRec);

    "Dimension Set ID" :=
        DimMgt.EditDimensionSet(
        "Dimension Set ID", StrSubstNo('%1 %2 %3', "Journal Template Name", "Standard Journal Code", "Line No."),
        "Shortcut Dimension 1 Code", "Shortcut Dimension 2 Code");

    OnAfterShowDimensions(Rec);
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeShowDimensions(var StandardGenJnlLine: Record "Standard General Journal Line"; var xStandardGenJnlLine: Record "Standard General Journal Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 47651.


Remove the mutating fixit for getter subscript

This PR removes the mutating fixit for subscript blocks that only contain a getter. When the fixit is performed on a subscript that contains an implicit get block, there's no valid source change to be made because the mutating keyword is not supported on implicit get blocks.
This does remove the fixit for explicit get blocks, which do work correctly. However the value of this fixit is marginal since mutating getters are not very common. I would like to be able to distinguish between these two cases if anyone has any thoughts.
This resolves SR-3401.

So, there's still something to be said for not emitting this on getters at all, to avoid encouraging mutating getters. What do y'all think? @KingOfBrian, @slavapestov, @CodaFi
@swift-ci Please smoke test

@swift-ci Please smoke test

I think that's unrelated.
@swift-ci Please smoke test Linux

Would still like to know if anyone has any opinions on "don't provide this at all", but this is still better than the current state.

Thanks for your help folks, I appreciate the time, feedback and patience!


Update fr_FR translations

Hello, i've added last missing strings from the en_EN file
and organized it to match the actual code style

Nice! :+1:

It is a pleasure !

You wouldn't by any chance have the time to translate the applications ? :)


new option to set status codes to be retried

Coverage decreased (-1.03%) to 90.078% when pulling 89e924abb48e6500c80d9c5a45be5116200b62e8 on beruangcoklat:master into e5b796715c966db63ce82f486a0d66d86a197cee on gojek:master.


Feat:Adding search bar in the website

Describe the feature
I want to add a search bar in the website which will help user to search for the topics he wants to.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

It is not required


remove the variable exports in environment.ts

currently the ENV variable is exported from environment.ts, and set in the engine.ts.
This is causing issues on some bundling system that copies the module on require('environment.ts') call, in which the set exports.ENV in setEnbironmentGlobal method is setting the variable in the origin module object not the copied module object.
export function setEnvironmentGlobal(environment: Environment) {
  ENV = environment;
}

This change is

For posterity, here is a post talking about immutable exports: http://2ality.com/2015/07/es6-module-exports.html
So this PR seems reasonable. We need to have two top level objects stuck on NS because:

ENV needs to be available at file load time, thus it needs to check NS.
ENGINE needs to be available at file load time. It can see ENV, but cannot stick itself on ENV because we want ENV to be a leaf.

Therefore, we must have two top-level objects stuck on NS.
Ping, let me know when you're ready to review.

Just to clarify, that's only for commonjs modules. Any es6 modules will allow the current functionality, but we're not going to rely on that.

Let's hold off on this PR until we understand where the build error is coming from and can reproduce it. All the current configs seem to work just fine :)

Closing this since we solved this with the webpack config.


Improve performance when total returned result is small

Currently the _search_generator function will have 2 calls to the service even if the result is small (say 10 results or so). This can be improved by adding additional return statement in the code.

Thank you for the contribution @xiaoyongzhu !  It means a lot that you'd take the time to find the issue, improve it, and contribute it back!


Recursive model_serializer_mapping

We currently maintain a hack that allows us to have recursive polymorphic serializers like so: https://github.com/tfranzel/drf-spectacular/blob/master/tests/contrib/test_rest_polymorphic.py#L28
This small change opens up a lot of modelling options, one of which is building polymorphic tree structures.
Are you open to the idea of optionally accepting strings there and lazy loading the classes? If yes, I would be happy to prepare a PR for that.

yes exactly. awesome! I will prepare a PR with tests.


[client-common][router] minor cleanup and some tests for otel

Summary
some minor cleanups and tests including

Not initializing VeniceOpenTelemetryMetricsRepository when otel is not configured
Disabling OTel exporting to endpoint in routers for integration tests
Removing the explicit names passed in RouterMetricEntity and use the enum name itself to be less error prone
some tests around these changes

How was this PR tested?
GH CI
Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[] Yes. Make sure to explain your proposed changes and call out the behavior change.

Thanks @m-nagarajan !


Explore Wallet error around DBIndexed (sentry)

I've been able to simulate this issue by:

importing a regular wallet via seed phrase.
and then "clearing the site data" through the DevTools.
tried to imported another seed phrase.

Not sure if it's related yet, I'll come back to this later though.


[groups] Conditional monitoring

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
New Monitor
🔖 Feature description
A Monitor, that uses other Monitors as a and/or condition.
✔ Solution
Add another Monitor, where you can select other Monitors as condition
Example:
I have an application, with a Database and a Webserver, but I want users to only see the application as a whole on their Status Page. So why not make a Monitor where I can select the Database Monitor (Docker Monitor) and the Webserver Monitor (Ping) and combine them into one called “Application”, then I have to set the condition for example “or” so if the Database or the Webserver are down the whole Application is displayed as being down.
❓ Alternatives
No response
📝 Additional Context
No response

Isn't it sufficient to just monitor the Website? If the DB is down, the Website would be down as well. Unless I misunderstand the setup.

In general I like the idea. In detail it might get quite complex quite fast.
Being able to add more than one URL to the http check and define how many have to be UP to be "healthy" sounds interesting. But the complexity of several and/or's of stacked checks might be a real pain...
There are other feature requests already suggested where one can define dependent monitors, so if monitor a is down, then monitor b will also not work and should not be checked separately (and alerted separately).
One possible solution, in a direction as @michield suggested (outside uptime-kuma):
Implement a small "health-check" as part of your Webserber which checks all dependent services on demand.
That's what we are doing in many of our applications and that's why I suggested a new monitor type ( see #2501 ).
Every application checks it's direct dependencies (database, backend systems and so on) and reports their status within its own healthcheck.
{
  "status": "DOWN",
  "checks": [
    {
      "name": "database",
      "status": "DOWN",
      "data": {
        "errorcode": "42",
        "description": "connection timeout"
      }
    },
    {
      "name": "smtp-server",
      "status": "UP"
    }
  ]
}

For some more details and examples please take a look at the eclipse documentation:
protocol-and-wireformat

My use case may be a little more simplified than what you all would use this for but for example.. .i'm monitoring my home internet connection along side services within my LAN.. if my internet connection is down then i don't need notifications for everything inside my LAN.. so for me i'd only need a 2 tiered option..

+1 on this request. Use case would be e.g. for multiple servers running in a cluster. If one of them fails I can display an outage via only one monitor on a status page. Or just send a notification if all of the monitors (could be multiple redundant switches in my core network) in one condition fail.
Configuration might be done quite easy, a bit like adding tags but choosing monitors instead of tags and saying globally if the monitor should work as a and/or conditional.
No need to setup the monitors twice, just use the status information of the already existing monitors..

also +1. The ideal feature for me would allow association with the parent monitor, e.g. ping. If the ping monitor is down, none of the below service specific monitors get notified on. should just be able to select parent when creating a new monitor. This way for the basic use case of "is host on the network?" no, then all the http/tcp service monitors in place don't notify, which make incident response more actionable (host is offline, don't worry about the services until the host issue is resolved)

+1 on this.  While I can see the arguement for creating monitors that are simple and highlight any subordinate issues, it does sometimes help to have structural dependencies.  e.g. had 1 monitor for http call (to track internet availablity) failing, all subsesequent fault finding showed DNS issue on the Uptime Kuma system, spent 30 mins tracking down DNS issues when suddenly realised the Kuma system gets external DNS through site-to-site VPN.  The VPN was down....
Would be a nice to have to link monitors showing clear relationships.

I will share that this is valuable beyond the original post usecase. For example, I want to test connectivity to the internet and only send alerts if "internet" is up. Furthermore, I want to test if the edge router for my remote network is up before sending alerts for services behind it.

@Bodge-IT

Would be a nice to have to link monitors showing clear relationships

I think #2693 (to be merged in https://github.com/louislam/uptime-kuma/milestone/31) will solve this issue.
From a UX perspective, I think Conditional Monitors could easily get very confusing

@Bodge-IT

Would be a nice to have to link monitors showing clear relationships
I think #2693 (to be merged in https://github.com/louislam/uptime-kuma/milestone/31) will solve this issue.
From a UX perspective, I think Conditional Monitors could easily get very confusing. Ideas to get around this?

A suggestion for the ui, would simply be a depends-on button for a node(showing status of depended-on nodes i.e. down/red if any depended-on node is affected).  The button could maybe trigger a popup(I know...terrible UI but quick), that displays links to one or more depended-on nodes(including their current status).
Your point about getting confusing is valid, but by definition these things are hierarchical in nature and therefore threadable as opposed to flat.  You could simply display them as a folder structure with down-the-line dependents shown inset under the dependent node.

@Bodge-IT

Would be a nice to have to link monitors showing clear relationships

I think #2693 (to be merged in https://github.com/louislam/uptime-kuma/milestone/31) will solve this issue.
From a UX perspective, I think Conditional Monitors could easily get very confusing. Ideas to get around this?

A suggestion for the ui, would simply be a depends-on button for a node(showing status of depended-on nodes i.e. down/red if any depended-on node is affected).  The button could maybe trigger a popup(I know...terrible UI but quick), that displays links to one or more depended-on nodes(including their current status).
Your point about getting confusing is valid, but by definition these things are hierarchical in nature and therefore threadable as opposed to flat.  You could simply display them as a folder structure with down-the-line dependents shown inset under the dependent node.

I dont think the popup would solve the problem of having

loops in the conditions
Communication about how these work would be challenging

I don't fully get what you mean by the folder structure.
Could you provide a mockup (ms-paint/ drawn on paper and photographed)?

The dialogue I'm suggesting could look like this mockup
WebApp dependents ☑ dependent 1 ✅ API health ☑ dependent 3
Then when opening dependent settings for any other monitor, WebApp could not be selected as a dependent. However a monitor could be a dependent for multiple master services.
API Health dependents ☑ dependent 1 ☑ dependent 3
This would allow any number of apps to depend on one master monitor, and prevent a master monitor from being dependent on any other, including loop scenario.
This has some limitations, where a line of legitimate dependencies (i.e. monitoring remote service which depends on internet, monitor which depends on the local router) however that would require testing the whole relationship chain for loops. This achieves the goal to minimize Down notifications while potentially minimizing complexity.
Just my 0.03$ adjusted for inflation

Not sure if it is similar to this, but in systems like WhatsUP Gold, PRTG, Zabbix, there is an option for device dependencies, I can set a parent monitor and in case of its down or paused, its childs status will be ignored.

Sort of.  I used to use What'sup Gold in my DevOps days.  My idea sort of
combines that relationship dependency to enable a sort of "if this and that
then this must be at fault" then activate this notification sort of
monitoring.
I'd be happy with the parent dependency thing too, it would still improve
the product.
On Wed, 5 Jul 2023 at 15:24, Marcio Zimbres @.***>
wrote:

Not sure if it is similar to this, but in systems like WhatsUP Gold, PRTG,
Zabbix, there is an option for device dependencies, I can set a parent
monitor and in case of its down or paused, its childs status will be
ignored.
—
Reply to this email directly, view it on GitHub
https://github.com/louislam/uptime-kuma/issues/2487#issuecomment-1621869153,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOLMKVGSJGSK54KD5B4WA3XOV2KRANCNFSM6AAAAAATKWCGYA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Would it simply be enough to allow a service to be assigned to multiple groups? I think all the usecases presented here would be covered, except the advanced conditional processing part—but I am not sure what real benefit that would provide over multi-grouping.

Hi!
I'll share an image to help explain my use case for conditional monitoring, or dependency, for groups and single assets.
This is my home lab, from where I monitor not only assets in my local network but also external servers and services:

As it is now, if srv01 (uptime-kuma) fails to reach the firewall, I'll get a push notification for each asset above it as being down. If it fails to reach the wifi-rtr02, I'll get a push notification for everything outside srv01 being down.
Ideally, in both cases above, I would only receive a notification stating that wifi-rtr02 is down and everything above it is unreachable because srv01 can't tell if they are down or not. And the notification for each state (up, down, and unreachable) would be configured separately. I could opt not to receive an unreachable notification or just for the first alert while still getting a down notification every X minutes.
Again, ideally, dependencies would be established on all levels: services or a group of services to servers, servers or a group of servers to network assets, network assets to links, etc.


Add default sort to Table component

Description
Expose a property to set a default column to be used to sort the data
References #1975
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

How Has This Been Tested?
In storybook
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

@cjwinsor @rthanga1 if everything is ok, could one of you guys merge this for me?


CD-54173 Add before_waitpid and after_waitpid callbacks

Please review:

[ ] @abdollar
[ ] @tjackiw
[x] @edk

:+1:

👍

👍

@johnny-lai go ahead and merge if this is to be merged. thanks


Idea / Query - PTC2 Proxy Integration

Hey Guys,
Been using this for a while now and i'm starting to think all Pokemon GO have to do is reference all accounts made by the same IP and blacklist those accounts.
See it as a pre-precaution i guess, but it's starting to feel like that's happening.

Hey,
on linux, just install tor, launch ptc2 skript with while cycle in bash where you can restart tor service during a specific period time with a long enough propret time for the tor service restart..
saph

Maybe --tor=xy parameter in sec or value of repeats might be implemented with "sudo systemctl restart tor" command for bash users who would like automatically restart the tor service in specified period?

Good precaution, but out of the scope of this repo; any proxying should be handled by external scripts like @sapphirecz suggested.


Using Parameters With Union Types

🔎 Search Terms
parameters union-tpes
🕗 Version & Regression Information

I am using "typescript": "^4.9.5"
see the code below

⏯ Playground Link
No response
💻 Code
onValueChange: ((value: string[]) => void) | ((value: string) => void) | ((selectedItems: SelectOption[]) => void) | ((selectedItem: string) => void) | ((value: string) => void) | undefined

type ValueType = Parameters<NonUndefined<typeof onValueChange>>[0];
const value: ValueType = '0';
onValueChange?.(value);

🙁 Actual behavior
Argument of type 'string' is not assignable to parameter of type 'string[] & string & SelectOption[]'.ts(2345)
🙂 Expected behavior
I think the code should pass without errors
Additional information about the issue
No response

You forgot to fill out the issue template. It asks you to provide a playground link, and the code should be self-sufficiently working (if possible).
This is working as intended. When trying to call a union of functions your argument must match the argument type of each function, meaning an intersection: string[] & string & SelectOption[], because the compiler doesn't know which function you're actually dealing with.
Parameters<> works distributive, you're getting a union of each argument type. That means the value can be a string, but the actual function you're calling is one that requires a string[].

Hi @MartinJohns and thanks for your response.
Here is a playground link. So the Parameters<> is working as expected, but is there a way to use a utility type for this case? It would be great if there were a way to extract the right type from a union of functions.

a way to extract the right type from a union of functions.

It is the right type. You have a union of functions, that means your function can either be (value: string[]) => void or (value: string) => void, but the compiler can't know which one it is. So whatever argument you provide must match all of the functions, so it doesn't matter which one it is - the argument works for both.


Feature request: show math as tex commands

It would be nice if I can inspect Tex Commands of the math equation as MathJax does:

This could be a reasonable add-on. I'm personally not a huge fan, but I imagine people coming from MathJax might enjoy it.
You might be interested in KaTeX's copy-tex add-on which enables copy/pasting math and getting the LaTeX source code.


[HOLD for payment 2023-12-14] [$500] Web - Emojis - Flags category is missing on Emoji picker screen

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to stsaging.new.expensify.com
Navigate to any conversation
Open emoji picker and check emoji categories

Expected Result:
Flags category should be ordered in the list of emoji categories
Actual Result:
Flags category is missing on Emoji picker screen
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Flags category is missing in EmojiPicker on Windows web
What is the root cause of that problem?
We intentionally disabled the flags category in this PR since Windows doesn't support them.
What changes do you think we should make in order to solve the problem?
Now that we have new emoji fonts for Windows, flags are shown as below

If this is acceptable, we can update the code
https://github.com/Expensify/App/blob/704f3f7f4d39e0a155b6d29bdbb18a380d726e0a/src/components/EmojiPicker/EmojiPickerMenu/index.js#L76-L79
to
        const filteredEmojis = EmojiUtils.mergeEmojisWithFrequentlyUsedEmojis(emojiAssets);

What alternative solutions did you explore? (Optional)

@aimane-chnaif
When a iphone user sends a flags emoji to a Windows user, the Windows user is still able to see the flags emoji(as in the screenshot in my proposal).
A user can receive flags emoji, but can't send flags emoji. I think this is worth fixing
cc @c3024 @puneetlath

Now that we have new emoji fonts for Windows

What do you mean by this @s-alves10?

I mean we recently introduced a new emoji fonts for Windows
https://github.com/Expensify/App/blob/main/assets/fonts/web/seguiemj.ttf

Emoji picker missing the section for flags.

Got it. I don't feel too strongly, we already have a flag icon in our library as I thought we already had this section in place. So if we do decide to add it, we at least already have the icon for that section. Might need to make the picker wider on desktop though to account for the extra tab item.
Curious if @puneetlath thinks this is worth fixing or not though.

I think I'm cool re-adding support for it. It removes some platform specific code and just makes things more consistent, so I say we go for it.

Pay day here would be 14 Dec. @puneetlath

Ah thanks. Not sure why the automation didn't work.
@s-alves10 @c3024 sent you both offers.

@puneetlath Accepted. Thanks

All paid.


Add Minimum Clearance implementation

This pull request exposes the "minimum clearance" functionality added in GEOS 3.6 to Shapely geometries as a unary property. I've never contributed here before and I'm sure there are more implications than I saw to adding support for a newer version of GEOS, so if this is a no-go (or there's a ton more work to be done to fully support that) please let me know, but I'm happy to put in the work to get it done.
I've wanted for a while to add something back to this library which I've gotten great use out of, so I hope this is something that fits.
Thanks for your time!

Coverage decreased (-0.1%) to 80.877% when pulling 0878aaa92a09022d1f29a4cb20fa1452dde0b03d on tomplex:minimum-clearance-impl into 68ee09cff39a869526adb64780e0819c532e838a on Toblerity:master.

Hey @sgillies,
I modified the code the explicitly use the decorator and it seems the tests were still being skipped in Travis, though I was able to run / skip them on my local by playing with the required version.
That still didn't get the tests to stop always skipping in CI, so I switched from pytest to unittest to see if that helps. Travis is taking a bit to start the run so I'll check back a bit later.
As an aside, the pytest docs suggest that creating a marker called pytestmark at the module level should enforce those rules for an entire file, so I guess it's good that the marker wasn't working regardless of how it was applied, but that's not helpful as to why it wasn't working. I'll try to take a closer look.

@tomplex I think you're doing everything right. Makes me think that our test environment is misconfigured and we're not using the version of GEOS we think we are. I'll dig into that today.

@sgillies, I made pytest show print statements so we could see the diagnostic info in the test/__init__.py. I checked every job in the matrix and they're all running with geos version 3.5.0, or at least as far as Shapely is concerned.

I also added a check of the geos-config --version which shows us that cached versions of GEOS are correct, so it means that the wires are getting crossed somewhere in the pip install, and we're not installing against the specified version properly.

Also, it looks like during the pip install step, we're using the right geos-config - so I'm not sure where we're going wrong. Maybe we're using the wrong Python to run tests?

hey @sgillies, I think I've gotten to the root of this, sort of. It looks like in all cases we're referring to the right version of GEOS, passing it into pip / the setup.py file correctly. I think the issue is that Shapely is not consistently referencing the proper version of GEOS. I included more info including steps to reproduce in #872.

@tomplex in https://github.com/Toblerity/Shapely/pull/873/files I've made some changes to help shapely use the correct GEOS and assert that it is doing so.

@sgillies  should this request be pointing at master or a different branch? Seems like you merged the changes for Travis into maint-1.7, so should I be pointing at that branch instead?

@tomplex if you're comfortable rebasing it on maint-1.7, please do 🙏 . If not, no sweat, I'm going to squash merge this PR and then I could cherry-pick the commit after.

No problem! I can do that as soon as I "get home" from work this evening.

@sgilles I think I mucked up the history a teensy bit but if you're gonna squash it anyway then it shouldn't make a difference. Thanks again for taking a look a this!

Crap, I accidentally carried over a change in the __init__.py regarding the Shapely version...no idea where that came from.

Fantastic. Thanks @tomplex !


What is the roadmap

Hi @tonybaloney , your Pyjion project is awesome.
Do you have a roadmap of where you want to go in the future?
Do you have plan to support async and "with" in the future ?
Do you collaborate with Microsoft or other people or you are alone on that project?
Make python faster is really something important and Pyjion look like of the most promising tool.
Regards

The plan is actually to get as much of Pyjion and the optimisations into CPython as possible. So far, 2 (and a bit) of the optimisations that Pyjion has are in 3.11, with others probably coming later.
This way, CPython will just be faster and an extra project isn't required

Hi @tonybaloney , that would be awesome!
Do you work alone on that project? Are you helped by Microsoft?

Hi @tonybaloney , that would be awesome!
Do you work alone on that project? Are you helped by Microsoft?

I now work for Microsoft, which is totally unrelated to this project!
The CPython core developers are working on that project, there is a virtual team working on optimizations called the "Faster CPython" team

Hi @tonybaloney , do you know why this project that seem awesome is not supported by Microsoft ?
This projevt architecture seem good.
Do you know if limitation like with ans async await will be raised on day?

This is an excellent project, @tonybaloney! Is there still a plan to release wheels for py2.11 and py3.12?
Also, you mentioned upstreaming some optimization to CPython, so how successful have you been? :chipmunk:


Develop file parse

add file interface
add file parse
add marshal/unmarshal of json
add test files

Codecov Report

Merging #8 into master will decrease coverage by 6.25%.
The diff coverage is 44.96%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   74.33%   68.07%   -6.26%
==========================================
  Files          11       13       +2
  Lines        1274     1629     +355
==========================================
+ Hits          947     1109     +162
- Misses        199      358     +159
- Partials      128      162      +34


Disable the submit button when the button has been clicked

Disable the submit button when the button has been clicked

 Disable the submit button when the button has been clicked


h

added h alias to help command, as suggested here
replaced Please wait... messages with just typing
removed the argument requires only ... chars messages
removed __pycache__ folder
improved devs.py and premium.py in the framework directory
improved w/ping and w/botinfo command (less delay, immediate message)
most music commands now returns reactions instead of messages, just like groovy lol
the leaderboard command now supports server-wide leaderboard with w/leaderboard server
fixed some grammatical errors and typos

yeet!


Cutover checklist

Holding pen for items that need to be confirmed/changed just prior to or at time of launch. Please add any new items directly to this comment rather than in subsequent comments. We can break these out into separate issues as needed.

[x] Approval for visual continuity (will defer to @atopal as to high up the executive chain this needs to go), plus addition of NFT text in "here and now" section
[x] DNS cutover, including any considerations for general ipfs.io gateway behavior (@andyschwab is managing)
[x] Check all page URLs display correctly, plus 404
[x] Migrate any issues still in https://github.com/ipfs/website/ repo to this repo
[x] Make sure this repo's readme is correct and useful
[x] Close any stray dependabot issues/PRs
[x] Add standard issue templates
[x] Protect any branches that need to be protected
[x] Remove any permissions not necessary after making repo public
[x] Confirm Countly is using correct data and dashboard is working; switch on email reports
[x] Make sure Dinesh knows metrics are now coming from Countly
[x] Confirm Speedcurve is using correct data
[x] Confirm social cards display correctly, particularly image as that's an absolute path and can't be tested in advance
[x] Send internal email and create meeting slide
[ ]  (scheduled for 1 July for safety net) Move repo to ipfs-inactive org; confirm that https://github.com/ipfs/website/tree/master/static/docs and items within redirect correctly into the archived repo

I've got a calendar reminder in to move the old repo into ipfs-inactive; we're good to close this one.


Perform SSA -type of optimizations

(as @hzoo suggested in Slack)
c.f.: https://en.wikipedia.org/wiki/Static_single_assignment_form
var x = 1;
var x = 2;
y = x;

We can determine that 1st statement is useless. Combined with variable inlining, we could shorten this to the ideal y = 2.

So, I'm thinking to implement something like this -

make the flow graph for a declaration
traverse this flow graph -

create declarations/bindings for every constantViolation
update the following reference items in the flow graph to reference this new binding

thoughts or suggestions ?

The way I see it is we're dealing with 2 things here — duplicate declarations (aka K violations) and partial evaluation (where we can statically resolve x to its value and replace identifier with it in y = x case).
It might be simpler to break it in these 2 steps.
@boopathi can you explain your "decl -> reference -> K violation -> ref -> K violation -> ref" chain? why does reference would link back to K violation? How would it look in the above example? I'm trying to understand.

That's the flow graph ... Right now, we don't have the control flow for something that we calculate based on positions and other clues ...
So, for this example -
var a = 1;
foo(a);
a = 2;
bar(a);
var a = a + 3;
baz(a);

We need to rename the references correctly to the corresponding declarations (when replaced). So the flow for a in the example would be - decl -> ref -> k violation -> ref -> k violation -> ref ... so from this graph,

we can replace all k violations to new declarations
and the references that follow to reference this new declaration.

var a = 1;
foo(a);
var a2 = 2;
bar(a2); // a needs to be updated to a2 and a2's references should point here
var a3 = a2 + 3;
baz(a3);

And we deal with branching and looping accordingly.


Integrating tags

This would be somewhat of a larger undertaking I'm guessing.
It'd be cool if Quartz could handle Obsidian tags. Personally I use #tag syntax in Obsidian so I'm guessing you'd have to convert those tags to be part of each post's frontmatter. Then adding a component (like a sidebar) to the html in order to display all the tags plus attaching the tags to each post.
I've been trying to do something similar but with Eleventy but I've ran into a wall. I'm not too familiar with Hugo but I'll give it a shot. Let me know if you have any thoughts or ideas!

I don't think it will work you would have to make your own markdown parser. #tags are not converted to links

Hugo supports tag taxonomies. They have to be added in the Front Matter, in the --- enclosure where the title lives. A template could be made for it to parse the tags with or without the "#". You would then have to find the optimal way to display them in the page.

Tracking this in #35, will not be supporting #tags in the text but will have it be recognized by the frontmatter


[Change proposal] improve error texts for const and enum keywords

What version of Ajv you are you using?

6.5.0

What problem do you want to solve?
The error message returned by ajv.errorsText() is not descriptive enough for the keywords:

const: should be equal to constant
enum: should be equal to one of the allowed values

What do you think is the correct solution to problem?
Improving the error messages template to include the allowed value/values (JSON serialized).
Probably it should only be printed if those values are simple, i.e. are either:

a simple type
an array of simple types (joined with commas and or)

Will you be able to implement it?
No (I do not know dot.js)

There is ajv-errors package where it can be addressed. The error object includes all this data and it can be processed there.

Thanks for your response. It can definitely fix this problem.
Just to make sure: isn't this something that could provide value to the core, instead of letting users do it themselves?


Responsive demo not working?

Hi I'm trying to run your responsive demo, but it doesn't seem to be detecting the device?

Haven't changed any code, just built and run

Beta 11 has a bug, you would need to use beta 04 until beta 12 release.
https://www.nuget.org/packages/Wangkanai.Responsive/2.0.0-beta04

Tracking with #107


Dev

bug fixes related to beadplot expansion (#351, #352, #365)
merging duplicate filter_problematic functions (#290)
front-end system diagram (#355)
bringing tooltip to the front (#356)
Add submodules to keep lineages.csv and problematic_sites_sarsCov2.vcf updated (#334)

Didn't run into any issues when testing the front-end


Histogram visualization error when using numeric type.

Histogram visualization error when using numeric type.
Query parameter
e.g.
Numeric Columns: Numeric type columns
Group by:  Numeric type columns
Expected results
A histogram is drawn.
Actual results
Error occurred. (type error)
Screenshots

How to reproduce the bug

Go to Sources menu.
Click on Tables.
Click on Specific table.
Select histogram chart.
Numeric Columns and Group by columns setting.
Run query
See error. ('int' object is not iterable)

Environment

superset version: master
python version: Python 3.7.4
node.js version: v11.5.0
npm version: 6.9.0

Checklist

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
No

This problem will be solved by checking the instance of numeric type.


Opacity on ImageSVG doesn't work

Description
I have a SVG i use just like an icon. I wanted to animate its opacity so it hides/shows, but opacity either on the ImageSVG or when i wrap it with a group just doesn't work.
Here is the SVG:

TrashIcon.svg
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.25 5.25L6.1875 20.25C6.23203 21.1167 6.8625 21.75 7.6875 21.75H16.3125C17.1408 21.75 17.7595 21.1167 17.8125 20.25L18.75 5.25" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M3.75 5.25H20.25H3.75Z" fill="#000000"/>
<path d="M3.75 5.25H20.25" stroke="#000000" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round"/>
<path d="M9 5.25V3.375C8.99957 3.22715 9.02837 3.08066 9.08475 2.94397C9.14114 2.80729 9.22399 2.6831 9.32854 2.57854C9.43309 2.47399 9.55728 2.39114 9.69397 2.33476C9.83066 2.27838 9.97714 2.24957 10.125 2.25H13.875C14.0229 2.24957 14.1693 2.27838 14.306 2.33476C14.4427 2.39114 14.5669 2.47399 14.6715 2.57854C14.776 2.6831 14.8589 2.80729 14.9152 2.94397C14.9716 3.08066 15.0004 3.22715 15 3.375V5.25M12 8.25001V18.75M8.625 8.25001L9 18.75M15.375 8.25001L15 18.75" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

Version
0.1.193
Steps to reproduce

Render svg
Try to change its opacity

Snack, code example, screenshot, or link to a repository
import React, { useEffect } from 'react'
import { Circle, DataSource, Group, ImageSVG, useSVG } from '@shopify/react-native-skia'
import { useWindowDimensions } from 'react-native'
import { useSafeAreaInsets } from 'react-native-safe-area-context'
import {
  interpolate,
  useDerivedValue,
  useSharedValue,
  withDelay,
  withSpring,
} from 'react-native-reanimated'
import { springConfig } from '@app/constants'

const RADIUS = 40
const ICON_SIZE = 30

type TrashZoneProps = {
  insets: ReturnType<typeof useSafeAreaInsets>
  isVisible: boolean
  windowDimensions: ReturnType<typeof useWindowDimensions>
}

const trashIcon = require('./assets/icons/trash_black.svg') as DataSource

export function TrashZone({
  insets,
  isVisible,
  windowDimensions,
}: TrashZoneProps): React.ReactElement {
  const progress = useSharedValue(0)
  const trashSVG = useSVG(trashIcon)

  useEffect(() => {
    progress.value = withDelay(
      isVisible ? 100 : 0,
      withSpring(isVisible ? 1 : 0, springConfig),
    )
  }, [isVisible, progress])

  const bottom = windowDimensions.height - RADIUS - insets.bottom
  const horizontal = windowDimensions.width / 2 - RADIUS / 2

  const radius = useDerivedValue(() => {
    return interpolate(progress.value, [0, 1], [RADIUS / 2, RADIUS])
  })

  return (
    <Group opacity={progress}>
      <Circle
        cx={horizontal + RADIUS / 2}
        cy={bottom}
        r={radius}
        color="white"
      />

      <ImageSVG
        width={ICON_SIZE}
        height={ICON_SIZE}
        x={horizontal + RADIUS / 2 - ICON_SIZE / 2}
        y={bottom - ICON_SIZE / 2}
        svg={trashSVG}
      />
    </Group>
  )
}

This is how we are document this at the moment: https://shopify.github.io/react-native-skia/docs/images-svg/#applying-filters but we need to make it a bit clearer

This is how we are document this at the moment: https://shopify.github.io/react-native-skia/docs/images-svg/#applying-filters but we need to make it a bit clearer

thank you @wcandillon! gonna try the filter

This seems to work:

  const paint = useSharedValue(Skia.Paint())

  useAnimatedReaction(
    () => {
      return progress.value
    },
    (opacity) => {
      paint.value.setAlphaf(opacity)
    },
  )

  return (
    <Group layer={paint}></Group>
   )


chore: updates default oci

Updates Default OCI registry to use scarf
Related Issue
towards #3872
Proposed Changes
Changes default value to use our own dns.
Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[x] My changes have reasonable test coverage
[x] All tests pass with make test
[x] I ensured my PR is ready for review with make reviewable

helm install external-secrets ./deploy/charts/external-secrets
NAME: external-secrets
LAST DEPLOYED: Thu Sep 12 12:19:55 2024
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
external-secrets has been deployed successfully in namespace default!

In order to begin using ExternalSecrets, you will need to set up a SecretStore
or ClusterSecretStore resource (for example, by creating a 'vault' SecretStore).

More information on the different types of SecretStores and how to configure them
can be found in our Github: https://github.com/external-secrets/external-secrets
...
k get pods -A
NAMESPACE            NAME                                               READY   STATUS    RESTARTS   AGE
default              external-secrets-6d86c99848-hkqsz                  1/1     Running   0          44s
default              external-secrets-cert-controller-b94f46cd5-6hhm4   1/1     Running   0          44s
default              external-secrets-webhook-5bf4bb9c45-7lcxm          1/1     Running   0          44s
kube-system          coredns-5d78c9869d-59mnm                           1/1     Running   0          78s
kube-system          coredns-5d78c9869d-8x6rt                           1/1     Running   0          78s
kube-system          etcd-ocm-test-control-plane                        1/1     Running   0          91s
kube-system          kindnet-c2cb9                                      1/1     Running   0          78s
kube-system          kube-apiserver-ocm-test-control-plane              1/1     Running   0          91s
kube-system          kube-controller-manager-ocm-test-control-plane     1/1     Running   0          91s
kube-system          kube-proxy-ggzh7                                   1/1     Running   0          78s
kube-system          kube-scheduler-ocm-test-control-plane              1/1     Running   0          91s
local-path-storage   local-path-provisioner-6bc4bddd6b-5gtxt            1/1     Running   0          78s

LGTM

Interesting, I was able to start the thing. 🤔

yeah, just updated e2e to use old ghcr links... very weird


Vérification Channel Configuration

Hello @zlorgoncho1 Passons en review ces points pour le store 👍
Steps to create a channel

[x] 1. Create a new channel in configuration.
[x] 2. Assign it to shipping zones to make shipping rates available.
[ ] 3. Assign it to warehouses to make stock available.
[ ] 4. Add price to product variants in the newly created channel and set availability.
[ ] 5. Make channel active.

Settings

[ ] Currency: Can be assigned only to a single currency, and it can not be changed.
[ ] Default country: When products are queried, the default country is used to determine the stock availability of the product.
[ ] Allocation strategy: Determines the rules on which warehouse is picked for stock reservation and allocation, learn more.
[ ] Warehouse: Assign warehouses that would be used for fulfillment.
[ ] Shipping zones: Channel can be assigned to multiple shipping zones.
[ ] Status: Channel can have different permissions for admin users.
[ ] Order expiration: Set how long the order will be valid.
[ ] Slug: Channel slug is used to query the channel. Some web shops might use it as part of the URL.
[ ] Channel name: Name of the channel, intended for internal use but can be also made public via API.
[ ] Allow unpaid orders: learn more
[ ] Authorization: When authorization mode is enabled, checkout payments will be authorized but not captured, this means that capturing process would need to be done manually in the dashboard or via API after the order is created.

Hello @dofbi , bien reçu !

Nous n'avons qu'un channel, travaillons dessus

Hello @dofbi , bien reçu ! Dans ce cas est ce qu'on va considérer le channel par défaut ?

J'ai apporter les modifications suivantes au channel @honorableCon @zlorgoncho1

[X] Use Transaction flow when marking order as paid
[ ] Allow unpaid orders
[ ] Authorize transactions instead of charging

J'ai désactive

[ ] Allow fulfillment without payment

J'ai désactivé la confirmation des adresse email pour les users @mass-gueye @zlorgoncho1

Taux de livraison ajouter pour régler l'erreur de livraison

Hello @dofbi , Je ne sais pas est ce que vous l'avez vu ou pas, j'avais créé la taxe TVA.


Sending binary data as photo

I am sending binary data as photo with the code I used in telepot 7 (and it worked)
file_link = 'http://example.com/a.jpg'
image = requests.get(file_link).content
bot.sendPhoto(from_id, ('a.jpg', image))

Now I get an assertion error:
Traceback (most recent call last):
  .....
  File "/home/paul/.local/lib/python3.5/site-packages/telepot/__init__.py", line 273, in sendPhoto
    return self._sendfile(photo, 'photo', p)
  File "/home/paul/.local/lib/python3.5/site-packages/telepot/__init__.py", line 255, in _sendfile
    return self._api_request(method, _rectify(params), files)
  File "/home/paul/.local/lib/python3.5/site-packages/telepot/__init__.py", line 224, in _api_request
    return api.request((self._token, method, params, files), **kwargs)
  File "/home/paul/.local/lib/python3.5/site-packages/telepot/api.py", line 129, in request
    fn, args, kwargs = _transform(req, **user_kw)
  File "/home/paul/.local/lib/python3.5/site-packages/telepot/api.py", line 94, in _transform
    fields = _compose_fields(req, **user_kw)
  File "/home/paul/.local/lib/python3.5/site-packages/telepot/api.py", line 60, in _compose_fields
    fields.update({k:_filetuple(k,v) for k,v in files.items()})
  File "/home/paul/.local/lib/python3.5/site-packages/telepot/api.py", line 60, in <dictcomp>
    fields.update({k:_filetuple(k,v) for k,v in files.items()})
  File "/home/paul/.local/lib/python3.5/site-packages/telepot/api.py", line 41, in _filetuple
    return (f[0], f[1].read())
AttributeError: 'bytes' object has no attribute 'read'

Is it possible to send photos from binary data or from url in telepot 8?

Can you try:
f = urlopen(file_link)
bot.sendPhoto(from_id, ('a.jpg', f))

That worked. Thank you!


trigonocephaly

Add:
trigonocephaly (child of abnormal head shape MP:0011495)
DEF: presence of a wedge-shaped, or triangular head, with the apex of the triangle at the midline of the forehead and the base of the triangle at the occiput; trigonocephaly can be caused by premature fusion
of the metopic suture
SOURCES:
HP:0000243
http://www.skullbaseinstitute.com/craniosynostosis-craniofacial/trigonocephaly.html
Broad synonyms: triangular head shape; wedge shaped head
Exact synonyms: triangular shaped forehead; triangular skull shape; triangular cranium shape; wedge shaped skull; wedge shaped cranium
Annotation in J:177282

trigonocephaly MP:0030368


C2D WASM/React Native

Hi, I'm working on updating these runtimes (https://github.com/sondro/C2D-Web) & I'm interested in adding Babylon C++ for desktop & WASM.
The last issue thread is really long with outdated code & links.
Just curious what the current state or timeline is vs BabylonJS before I start playing with the code.
Also, is there React Native support or just solely DearImGUI?
Thanks.

Hi Sondro,
Thanks for your interest in Babylon C++ !!
The current state of BabylonJS is that I am working on bringing Babylon C++ in sync with BabylonJS v5.0.0-alpha.19. Due to many recent changes it is not advised to try out the latest version as it will probably not work at this moment. However, for a stable version in sync with the last Babylon.js v4.2.0 release of 2020/11/12, please revert to this commit. This version should give a good view of the current stable state. If you encounter any issues please let me know so I can further investigate.
There were also some efforts in creating a WASM version of Babylon C++ as you can see in this issue thread. You can try out the WASM version on this link. Compared to the desktop version, this version has more issues (render artefacts, disappearing scenes, etc.) and debugging these issues were time consuming. Due to the lack of contributors I decided to only focus on the desktop version for now instead of maintaining/debugging two versions. So WASM is possible but it requires some effort to get it in the same state as the desktop version.
I had a brief look into your project C2D-Web, this is an interesting project! Nice work, especially the 200 mesh deforming raptor dinosaurs on screen are impressive. I would be interested on working together on adding Babylon C++ for desktop to your project. For instance, we could first create a separate branch to work on and then integrate your code for the mesh creation. From what I can see you are only using the core library and none of the extra libraries (i.e. procedural texture library) are therefore needed.
About the React Native support, this is not supported at this moment. because I never used this. At this moment only Dear ImGUI is supported. In case you are interested in adding support for React Native let me know.
Best regards,
Sam

Well, firstly I want to say I'm not the creator of C2D or the tool, I'm just updating the outdated runtimes & demos + open to possibly porting them to other platforms. There is a runtime in C++ for UE4 4.26 from the actual developer: https://github.com/kestrelm/Creature_UE4
The C++ 3D engine ecosystem has a lot of competition (eg UE4 which has lots of free assents & learning content). The main benefit of this project I imagine would be for BabylonJS users who want desktop & WASM so they can create projects in each easily -- where other 3D engines like UE4 will be too 'heavy' & big for such projects.
I don't know if it will be worth it if the WASM will most likely never work (since Babylon is a web 3D engine -- that's where most of their users come from). Like I'm mainly curious in the difference between Babylon CPP WASM (if it worked) vs BabylonJS. I already know any C++ desktop implementation will be superior.
As for React Native -- that's what most web/mobile engineers use these days & it's very easy to theme. The main problem with DearImGUI is 99% of the interfaces appear identical & it seems difficult or complex to theme (don't know if they have improved this). I'd also be curious how well DearImGUI works in WASM web apps -- it's mostly used as a debugging/demo UI in C++.

Hi Sondro,
Ah, I was under the impression you were the creator of C2D. Then probably you don't want to put much effort in the desktop only version as you are mostly interested in the WASM version of BabylonCpp.
The benefit about BabylonCpp you mention is indeed the major selling point. Users can prototype in BabylonJS (with the existing tooling) for fast iterations and still have the option to target desktop for smaller runtime size and improved performance.
The difference between BabylonCpp WASM and BabylonJS greatly depends on the intended application. If you have a lot of game logic that is CPU bound then you can get a 2X performance (and more) improvement just by implementing the logic in WASM, for the numbers I can refer to this page. When your scene is very GPU bound, for instance if you have a lot of heavy shaders causing a high GPU load then the performance difference will not be that huge. With WASM it is also easier to achieve a stable framerate.
Yeah, most people use Dear ImGUI as a debug overlay and are not very worried about how it looks. Using it as a full user interface toolkit is not done often, however there good showcases such as LumixEngine. In case you want to try out Dear ImGUI in WASM I can refer you this page. Indeed, React Native looks much easier to theme compared to Dear ImGUI.
Best regards,
Sam

Something to consider is a targeted Usability roadmap vs a broad Parity roadmap with BabylonJS.
A Usability roadmap for most users might look something like:

Working WASM
Phong shading & flat colors
glTF compression
Basic normal & albedo maps
Basic stencil shadows
Pre-baked lighting
Basic animating meshes
Easy content import from Blender
instancing
cameras
basic UI
sprites/billboards
heightmap terrain example
skybox primitives
client/server example
Facebook ads/instant games example
FPS example
mobile UI example

Things like PBR materials are really slow for the web due to non-jpgs & pow2. Even on desktop, PBR requires libraries or special tools since most users cannot make them properly.
WebGL was originally based on OpenGL ES, but now it's being highly influenced by Vulkan & will become more Vulkan-like (C++, Rust, & Vulkan are developing new memory models & techniques over the years). Because of this it might be worth considering future proofing the project with a Vulkan build & then an OpenGL ES 2 build for high WASM compatibility.
Obviously if you have to support WASM & Vulkan that's less time for all of these misc. features -- but again, how many people are actually using them?
Another useful feature to consider would be coding your BabylonJS project in TypeScript & then transpiling it to C/C++ for BabylonCPP. Assuming your BabylonCPP supports WASM & you get the performance -- the lack of X engine extension is easily worth trading for the many JavaScript engineers who will forever be clueless & scared of C/C++.

Hi Sondro,
Thanks for the advice and feedback!
Indeed the development of BabylonJS goes really fast making it difficult to keep up feature wise. I was also thinking about taking the upcoming BabylonJS 5.0 as a target and then only work on usability for a long time, for instance on the topics you mentioned.
On your last comment, the BabylonJS project is actually coded in TypeScript but transpiling it to WASM is not their target. Porting the BabylonJS TypeScript codebase to AssemblyScript which can then be more easily transpiled to WASM seems to be the approach to achieve this.
On future proofing the project with Vulkan, that is a valid point. At this moment I am testing the upcoming WebGPU spec in this repository, many examples are ports from the Vulkan examples. I am currently targeting native (which uses the Vulkan backend on Linux) but in a few weeks when I have more examples I am going start working on the WASM version.
Best regards,
Sam

Vulkan/Web GPU path seems like a good idea. I haven't checked in on web compatibility with Web GPU, but since Firefox is imploding you just really need to support the latest Chrome.
I know that the BabylonJS WASM is not their target. My point is that if someone was experienced with BabylonJS & wanted to port their project to BabylonCpp their might be ways to ease this like typescript to C++ & some similar syntax to hook in (assuming the target audience of this project is BabylonJS users).

Indeed, WebGPU support in Firefox is behind the latest Chrome, but it is getting closer. Vulkan is also an option but this API does not compile to WASM. With WebGPU you can target WASM and it works on native too.
The target audience is BabylonJS users, familiar with the BabylonJS API and who do not want to invest time in learning another 3d framework to have native support using C++. The BabylonCpp API is similar to BabylonJS, there are a lot of examples demonstrating this. For Javascript and Typescript users who want both JavaScript/C++ there is Babylon Native officially supported by the BabylonJS team. For the moment I am not planning any JavaScript support for BabylonCpp, it look like too much work...
Best regards,
Sam


[release-4.10] OCPBUGS-20769: CVE-2023-44487: bump golang.org/x/net to v0.17.0

cc @openshift/storage

/test verify-deps

/label backport-risk-assessed

/lgtm

The 4.10 bugs were closed, apparently this is not being backported past 4.11 after all.


How to add local reference

I use visual studio 2017, and have problem to add local reference
I tried to add
#r "MyProject.Core"
using MyProject.Core;

And executed 'dotnet script run.csx' command but unfortunately compilator says about CS0246 error what means that MyProject.Core cannot be found
Moreover i don't have intellisense in vs 2017 for dotnet script
Importing nuget packages also doesn't work but i'm more interested local refs now

Hi @garfelddd
Project references is not supported in C# scripting. You can however reference your compiled dll.
#r "[PathToDll]MyProject.Core.dll"

If you would like to reference NuGet packages and still have intellisense, you need to use VS Code with the C# extension. Language services are provided by the OmmiSharp project and comes bundles with the C# extension. In addition to referencing NuGet packages, you can also debug the script(s).
Hope that answers your question

Sweet. Thank you:)

No problem 👍🙂

Hi. Thank you for the great job!
Is it possible to reference another script file?
ex.:

main.csx
types.csx

Hi. Thank you for the great job!
Is it possible to reference another script file? ex.:
* main.csx

* types.csx

//main.csx #r "types.csx"

How about using #load?

yeah #load is for script references and #r is for assembly/nuget references

How to add a relative dll path to a dotnet-script? Is there an example to refer?


Cast "hashed" does not work in laravel tinker in updating operation

Laravel Version
11.0.8
PHP Version
8.3.9
Database Driver & Version
PostgreSQL 16.2
Description
I have cast "hashed" for field password in User model.

When i create user in controller or in tinker, i have correct hashed value in database.

But when i use tinker for updating this password, i have unhashed value in database

Steps To Reproduce

Add hashed cast for password field in the User model
Create user
Open tinker
Update password for user via tinker

What you are doing is a database query, which does not use the casts from Eloquent and also doesn't fire any model related events.
To have model casts and events active you would need to do, first query the data and then perform the update in PHP and not directly in the database:
User::where('email', 'ivan@ivanov.com')->get()->update([
    'password' => 'anotherPassword'
])

// or
User::where('email', 'ivan@ivanov.com')->get()->each->update([
    'password' => 'anotherPassword'
])

// or
User::where('email', 'ivan@ivanov.com')->first()->update([
    'password' => 'anotherPassword'
])

Thanks


Printing from browser pages move up

When using fast report opensource web reports on mvc and printing from browser the pages keep getting moved up so some content spans over multiple pages.
The more pages the report has the further up each page moves see the images below. The grey lines are the page breaks

2.

3.

Is there a fix for this because it would be very handy to able to print to pdf and send these reports via email?

Is there any information or workaround on this issue?


Fix incorrect documentation link for D3D11_TEXTURE2D_DESC1

The link for D3D11_TEXTURE2D_DESC1 was pointing to the helper structure CD3D11_TEXTURE2D_DESC1 instead of the proper documentation for the D3D structure.

Hi, please sign the CLA (see comment in the thread above) before making further contributions. Thank you! :)


Selected destination is not a directory

When i entered my SDK location (Folder is existing),

<USER> is replaced by user in the system
I see this red message: Selected destination is not a directory

C:\Users\<USER>\AppData\Local\Android\Sdk

How to reproduce

Be on windows
Specify similar folder

Resolved

Need also create folder by hands for project and make sure all two folders existing

I'm wondering if this is related to a known LWJGL3-related issue with non-alphanumeric characters in the username. I believe spaces, some punctuation, and any letters not used by English can cause problems with some libraries we know finding various things in the user's folder. There's a workaround applied for the native libraries so they don't get extracted in the user directory. There isn't one applied for Android SDK installations in the user dir if the username is unexpectedly non-alphanumeric.
I don't know exactly what happened here because your steps to reproduce don't cause that behavior for anyone else so far. You do need to have the Android SDK installed to make Android apps, of course. Installing Android Studio should get the required tools all put into the right places.


功能请求:在人物名字中添加对应主页的链接

比如这里，如果点击人物名字可以到达对应的人物主页，会很方便，因为“通过问题数量”包含的信息量太少。、
否则想要进入该人物的主页我们就得“打开新的页面，找到自己的主页，将名字替换为该好友的名字”，这样的操作不如点一下方便。

That's a really good idea! Thank you for your feedback and I'll try to implement it. :D

Perhaps there are more things we can do, such as associating this project with github, so that users need github account authorization to use it, so that the text information of leetcode-following can be saved permanently, either on a third-party server or in a file that is automatically generated after the user forks some repo. and make some automated changes.
Moreover, we can extend this feature to sites without built-in social systems such as codeforces.
I don't have any experience with this, so I don't know how difficult this task is, but it just came to me in a flash.


⚠ Bofrost.fr has degraded performance

In 39d072f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 2839 ms

Resolved: Bofrost.fr performance has improved in 28cfac5 after 6 minutes.


epub3 fixed layout conversion

I have an epub v3 file that has a fixed layout. The only reader I've found that can even read it at all is Thorium Reader which uses the readium-js library for epub rendering.
Unfortunately there isn't a way to print or convert an epub file in Thorium Reader and it's honestly fairly clunky to use. Trying to convert one with Calibre is a mess and it doesn't look like they're going to be getting any support for it any time soon.
Given the nature of this project, converting things to 1:1 cbz files, I was wondering if you could possibly add support for this.

I have working code that converts epub files to cbz, I just need to clean it up and add it to CbzMage. So yeah, I can do that but I won't have time to do it before the end of the month (it's vacation time :)).
In the meantime it's not super hard to do manually: epub files are actually zip archives. So rename the file to .zip and unpack it, then find the directory with the images (it's named EPUB, OEBPS, or OPS), then create a new zip archive containing only the images and finally rename that archive to .cbz.

No, I'm not sure at all as I only had a quick look :)

I had time to do a little research, here's one thing you can try: unpack the epub and find the directory with the .xhtml files. Try opening a few of them in a Chromium browser (Chrome, Edge etc) and see if they render okay.

Please send the book to rotvel AT gmail DOT com

As an aside, if you know of any advanced OCR tools that can do OCR based off a specific font & font size, let me know.

The only experience I have with OCR is SubtitleEdit which can scan image based movie subtitles. I remember reading about some of the different OCR tools it uses in the documentation. That's all I got.

If you provide an email, I can email it to you for testing purposes. You can delete the comment immediately afterward, I'll see it in my email notifications.

Yeah, I'd like to have a look at it. You should have my email now.


Bad response from MixpanelAPI

I get the following log: response was {"error":null,"status":1} (Thread 289)
I am using mixpanel 2.0.0 and Flutter 3.3.5.

Can confirm on Android emulator and IoS that both are not displaying any events. When downgrading to v 1.6.0, I get events again.

Tried the downgrade on ios, doesn't work...
At its core, it's just doing an HTTP call.... I don't understand why only we're experiencing this issue.

hi @phalox , sorry for the late response. If you don't see events, first make sure the simulator has access to the internet. Then please follow the faq: https://github.com/mixpanel/mixpanel-flutter#faq "Why aren't my events showing up?"

{"error":null,"status":1} is a success response as descirbed in the API docs: https://developer.mixpanel.com/reference/track-event


Error on timestamp

Thank you for prompt reply yesterday. Now, I got this error when I send the massage. Here is an error.
Possibly because a pre-0.10 producer client was used to write this record to Kafka without embedding a timestamp, or because the input topic was created before upgrading the Kafka cluster to 0.10+. Use a different TimestampExtractor to process this data.

Sounds like you are using a very old version of Apache Kafka? Which version do you use? I tested it with Kafka 1.1. and 2.0.
Pre-0.10 is very old. It did not include timestamps in a message. So it seems to be not compatible.

Hi kaiwaehner,
I used the kafka in confluent-5.0.0, and kafka_2.11-2.0.0. It also shown the errors like that.

That's really strange. I will check with Confluent engineers why this can happen with the current version of Kafka and come back to this thread.

Can you please give more details about the steps you do and where this happens?
Are you doing the airline example step-by-step as explained or anything else?
How do you send the message? With kafkacat or another command?

Here is a hint from a colleague if you use kafkacat like in my example:
Make sure they use librdkafka >= v0.11.4. Old versions of Ubuntu/Debian will have outdated librdkafkas. Verify with kafkacat -V
Maybe this helps.

Problem solved. I used the kafka producer to send the massage and it work fine.


Use MSVC for the Windows toolchain instead of MinGW

Explicitly use MSVC to avoid the runtime dependencies that the default toolchain CMake is using is bringing in.
Closes #454

Got a successful CI run, but I'm going to rerun CI to confirm that caching makes it so the next run isn't 2 hours. Afterwards I'll download this on a windows machine and test that things work as expected.

I was able to compile dotnet/mono using the artifact from this PR on my local windows

The "cached build" took 2+ hours so I'm going to try to dig in to why ccache isn't working.

Hm on a new commit it worked with a ~20m build time, similar to today. Given that I think this is ok, so I'm going to merge.


Add Google play Link at Readme file

Kind (Required)

Improvement

Overview (Required)
Add Google play Link at Readme

You can install the production app via Get it on Google Play. // TODO: Add link to Google Play

Links
https://play.google.com/store/apps/details?id=io.github.droidkaigi.confsched2020

🙋♂

Thanks! Assigned 👍


Image is not displayed

I am not able to display the image in the templates.
<img` src="images/igl.jpg" alt="">
OUTPUT (In terminal) :
<IP_ADDRESS> - - [11/Apr/2020 19:54:48] "GET /images/igl.jpg HTTP/1.1" 404 -
The image is present in images folder inside the templates folder. I have tried other images with different extensions as well but none worked.
I have tried various things but none of them is displaying the image

This is the code image. Please if anyone can rectify this issue.

Try changing it to this,

@Letlaka  Actually i have resolved this issue I'll upload the solution and close the issue soon.


REFACTOR: rename the README to be uppercase

Related to #1.
This won't close the issue, it's just one of the points :yum:
it's just a simple renaming, i feel README is more conventional than readme :wink:

It's a start. 😆


⚠ Bofrost.de has degraded performance

In d452244, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1928 ms

Resolved: Bofrost.de performance has improved in c6e32ad after 25 minutes.


Tags / Commits for the 0.18.0 release

Hi everyone,
I was looking into adding support for arrow2=0.18 to my own crate and was looking for the source code of this release. However I can't seem to find the commit / branch / tag for this release. At first glance the 0.18.0 release does not seem to be based on this repository or did I miss something?

I asked about this in a discussion, but no answer so far. @jorgecarleitao or @ritchie46 do you have any information?


Retain spaces in quoted strings in window options

Fixes https://github.com/tony/tmuxp/issues/239
With the below in tmux config:
setw -g pane-border-format " #P "

Before the fix:
('pane-border-format', '"', '#P', '"')

After the fix:
('pane-border-format', ' #P ')

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3963a8a). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master      #37   +/-   ##
=========================================
  Coverage          ?   78.67%
=========================================
  Files             ?        8
  Lines             ?      830
  Branches          ?        0
=========================================
  Hits              ?      653
  Misses            ?      177
  Partials          ?        0

Impacted Files
Coverage Δ

libtmux/window.py
82.71% <100%> (ø)

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 3963a8a...8900f52. Read the comment docs.

I added a test you can work again, but shlex.split isn't storing the expected value.
_____________________________ test_set_show_window_options ______________________________

session = Session($1 libtmux_ziQLip)

    def test_set_show_window_options(session):
        """Set option then Window.show_window_options(key)."""
        window = session.new_window(window_name='test_window')

        window.set_window_option('main-pane-height', 20)
        assert window.show_window_options('main-pane-height') == 20

        window.set_window_option('pane-border-format', ' #P ')
>       assert window.show_window_options('pane-border-format') == [' #P ']
E       assert '"' == [' #P ']
E        +  where '"' = <bound method Window.show_window_options of Window(@2 2:test_window, Session($1 libtmux_ziQLip))>('pane-border-format')
E        +    where <bound method Window.show_window_options of Window(@2 2:test_window, Session($1 libtmux_ziQLip))> = Window(@2 2:test_window, Session($1 libtmux_ziQLip)).show_w
indow_options

I also rebased it against the latest changes, and dropped python 2.6

Can you give it a look @kaushalmodi?

Will have a look.. could probably mean that set_window_option has somehow to be updated to support spaces in quotes.

I am missing out something obvious here.. how do I run the test_set_show_window_options test locally?
I tried make test in the libtmux repo but the py.test referenced in the Makefile does not exist.
> make test
py.test
make: py.test: Command not found
make: *** [test] Error 127

Did you try loading the project with tmuxp load path/to/libtmux?  You can also manually invoke ./bootstrap_env.py and source into the virtual environment created.
Also you can do pip install requirements/test.txt

I got this from the .travis.yml and it ran the tests: python3 setup.py test... though fails a different test:
_____________________________________________________________ test_set_height _____________________________________________________________

session = Session($1 libtmux_8kct1jov)

    def test_set_height(session):
        window = session.new_window(window_name='test_set_height')
        window.split_window()
        pane1 = window.attached_pane
        pane1_height = pane1['pane_height']

        pane1.set_height(4)
        assert pane1['pane_height'] != pane1_height
>       assert int(pane1['pane_height']) == 4
E       AssertionError: assert 3 == 4
E        +  where 3 = int('3')

tests/test_pane.py:36: AssertionError
================================================== 1 failed, 77 passed in 16.67 seconds ===================================================

Rerun it and see if it keeps happening. Could be a fluke.

Still getting the same error.. will tackle this tomorrow. Thanks for the guidance.

Yes go ahead, and try to do it via tmuxp load path/to/libtmux and see what happens

I still see that test_set_height error. But I also see the test_set_show_window_options error too.

I am at a deadend now.. In the failing case (' #P '), something is calling Session._info, but I cannot trace back any further.
https://github.com/kaushalmodi/libtmux/commit/1e10452e9d65780fcada05a1216c8c7242cd55b1

Codecov Report

Merging #37 into master will decrease coverage by 1.23%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
- Coverage    79.9%   78.67%   -1.24%
==========================================
  Files           8        8
  Lines         841      830      -11
==========================================
- Hits          672      653      -19
- Misses        169      177       +8

Impacted Files
Coverage Δ

libtmux/window.py
82.71% <100%> (-0.2%)
:arrow_down:

libtmux/common.py
83.24% <0%> (-3.63%)
:arrow_down:

libtmux/session.py
80.12% <0%> (-0.51%)
:arrow_down:

libtmux/exc.py
100% <0%> (ø)
: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 3963a8a...6bea5d3. Read the comment docs.

I think it's understable that "format" type options such as:

automatic-rename-format
pane-border-format
window-status-current-format
window-status-format
window-status-seperator

Are wrapped in quotes.
I think that these options should be unquoted on show, and re-quoted on setting.

Codecov Report

Merging #37 into master will decrease coverage by 0.33%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
- Coverage    79.9%   79.57%   -0.34%
==========================================
  Files           8        8
  Lines         841      842       +1
==========================================
- Hits          672      670       -2
- Misses        169      172       +3

Impacted Files
Coverage Δ

libtmux/window.py
83.01% <100%> (+0.1%)
:arrow_up:

libtmux/server.py
76.43% <0%> (-1.73%)
:arrow_down:

Continue to review full report at Codecov.

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

I think that these options should be unquoted on show, and re-quoted on setting.

That is not needed after part #2 of the fix; now comparison is with just ' #P '.
And all the tests are now passing too!

.. though I still get this one failure. I don't get why Travis passes but it fails when I run make test.
_____________________________________________________________ test_set_height _____________________________________________________________

session = Session($1 libtmux_dBF9RL)

    def test_set_height(session):
        window = session.new_window(window_name='test_set_height')
        window.split_window()
        pane1 = window.attached_pane
        pane1_height = pane1['pane_height']

        pane1.set_height(4)
        assert pane1['pane_height'] != pane1_height
>       assert int(pane1['pane_height']) == 4
E       AssertionError: assert 3 == 4
E        +  where 3 = int('3')

tests/test_pane.py:36: AssertionError
================================================== 1 failed, 77 passed in 14.97 seconds ===================================================

>       assert int(pane1['pane_height']) == 4
E       AssertionError: assert 3 == 4
E        +  where 3 = int('3')

@kaushalmodi Can I see your .tmux.conf?   Have you tried making the font smaller/terminal window bigger so there are more cells?

Can I see your .tmux.conf?

here
I didn't realize that make test loaded the config too.

I think it is big enough

Have you tried making the font smaller/terminal window bigger so there are more cells?

No
I thought got that error to go away if I moved my ~.tmux.conf. I can incrementally comment my config to see what's causing that. Thanks.

It's caused when the pane border is enabled!

setw -g pane-border-status "bottom"

Could you move your .tmux.conf then rerun the tests? No need to kill your main tmux server, since tests run on their own server.
Just trying to isolate if its a config issue or something else.

Could you move your .tmux.conf then rerun the tests?

That's what I did (see above).

No need to kill your main tmux server, since tests run on their own server.

Yup.

I thought got that error to go away if I moved my ~.tmux.conf. I can incrementally comment my config to see what's causing that. Thanks.

Just read that, sorry. So did moving the tmux config make it test error go away?

So did moving the tmux config make it test error go away?

Yes. That fixed the error, and also changing the pane-border-status to "top" instead of "bottom".

Okay that makes sense.  So yes I think we can say it's a config issue, for now, and that this issue is good to merge.
LGTM :shipit:

So yes I think we can say it's a config issue

Seems like a tmux issue.
If I am in a tmux window with panes split into top/bottom, display "#{pane_height}" increases by 1 when I switch pane-border-status from "top" to "bottom".
Thanks for merging this PR.

If I am in a tmux window with panes split into top/bottom, display "#{pane_height}" increases by 1 when I switch pane-border-status from "top" to "bottom".

Understood.

Thanks for merging this PR.

Thanks for your time and your contribution. It is now on pypi as libtmux 0.7.1. You are credited in the CHANGES.
I thought there as an issue in tmuxp you had, but I can't find it. I still need to add a test on the tmuxp side.

I thought there as an issue in tmuxp you had, but I can't find it.

It is this same issue.. tmuxp freeze failed because I had set the pane status to " #P " (https://github.com/tony/tmuxp/issues/239).


Update akka-actor, akka-stream, ... to 2.6.15

Updates

com.typesafe.akka:akka-actor
com.typesafe.akka:akka-stream
com.typesafe.akka:akka-stream-testkit
com.typesafe.akka:akka-testkit

from 2.5.32 to 2.6.15.
GitHub Release Notes - Version Diff
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!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka" } ]

labels: library-update, semver-minor

Superseded by #105.


In-memory FASTER

What:

create a new struct for managing a FASTER instance that has no associated on-disk portion
create two traits to separate the available methods for in-memory/larger-than-memory FASTER instances
move basic_tests and checkpoint_tests into relevant modules

Why:

FASTER supports a pure in-memory HybridLog so we should too
It doesn't make sense to try and checkpoint an in-memory structure so by creating these traits we prevent someone trying to do something undefined
we want to make sure a change doesn't break the behaviour for the in-memory/larger-than-memory FASTER instance

Closes #14

@Max-Meldrum let me know what you think. The other design option is to not have these separate traits and just allow the user to call Checkpoint on a FasterKvInMemory. This is obviously lower developer overhead (no need to add use faster-rs::FasterOperations) but seems less safe to me.

I agree it would be good to prevent users from doing something undefined. Although, it feels like quite some code duplication. There might be a way to have a macro check if its of type InMemory and if "checkpoint" is used, then it should fail at compile time.

I don't know if such a compile time check is possible.
We could return an Error type when trying to call Checkpoint on an in-memory FASTER instance.

@matthewbrookes yeah, what I said is probably hard to do. So, this approach sounds good.
The question is if we need the same unit tests for the two different types.

Probably not, my fear was that we could introduce a bug that only affected one of the variants but I guess that's pretty unlikely

@Max-Meldrum lmk what you think of this way of doing it

@matthewbrookes yeah, I think this way is better.

Feel free to merge if you're happy

Will do. Nice work :)


Replays not writing to the backfill area on eos

Hello:
We have noticed that the output from the recent replays is not going to the
/eos/cms/tier0/store/backfill/1/data/ area, but to the /eos/cms/tier0/store/data/ area. We checked the Tier0  configuration and everything seems to be properly set up.  Operationally it not causing particular problems right now, but it is not the expected behavior. Discussing it with @hufnagel, it is likely related to the general parameter reorganization in StdBase.
--
Regards,
John

No time to look into it due to the Princeton workshop. But nothing changed in the Tier0 code that overrides MergedLFNBase and UnmergedLFNBase, so my first order assumption is that for some reason these parameters reset back to default values for some reason.

Ok, it seems during "assignment", ie. WMWorkload.updateArguments(), the LFN bases reset to the default values. To prevent this from happening, I made a change in the Tier0 code and now pass ALL parameters again to the updateArguments.
https://github.com/hufnagel/T0/commit/af85db1bd695de1abf7eff8a277852c12a1640a2
@amaltaro @ticoann can you comment on whether this is OK ?
Also, with this change, the updateArguments() call actually fails since the LFN validation doesn't understand Tier0 LFN.

I think that is fine as long as it passes the correct values.

Fixed by #8007


Visualise FT_sensors

Visualise the data from all the FTs available on iCubGenova09:
The FT sensors Yarp wrapper configuration files are located at ami-iit/robots-configuration/iCubGenova09/wrappers/FT#devel_iCubGenova09.

FT sensor location
Config file
YARP port
Device Type

Left arm
left_arm-FT_wrapper.xml
/icub/left_arm/measures:o
multipleanalogsensorsserver

Right arm
right_arm-FT_wrapper.xml
/icub/right_arm/measures:o
multipleanalogsensorsserver

Left leg hip
left_leg_hip-FT_wrapper.xml
/icub/left_leg_hip/measures:o
multipleanalogsensorsserver

Right leg hip
right_leg_hip-FT_wrapper.xml
/icub/right_leg_hip/measures:o
multipleanalogsensorsserver

Left foot
left_foot-FT_wrapper.xml
/icub/left_foot_heel_tiptoe/measures:o
multipleanalogsensorsserver

Right foot
right_foot-FT_wrapper.xml
/icub/right_foot_heel_tiptoe/measures:o
multipleanalogsensorsserver

Device Type
Parts
Data Format (tentative)

multipleanalogsensorsserver
arm
( ((F_x F_y F_z Tau_x Tau_y Tau_z) timestamp) ) () () () () () ()

multipleanalogsensorsserver
leg_hip
( ((F_x F_y F_z Tau_x Tau_y Tau_z) timestamp) ) () () () () () ()

multipleanalogsensorsserver
foot_heel_toe
( ((F_x F_y F_z Tau_x Tau_y Tau_z) timestamp) ) ( ((F_x F_y F_z Tau_x Tau_y Tau_z) timestamp) ) () () () () ()

Note (to be verified)
we index the nested blocks inwards as follows:

sensor index -> modality index[^1] -> measurements/timestamp selection index -> mesurement component index.

[^1]: if the sensor provides multiple sensor modalities, e.g. the IMU intregrates 4 sensors -> orientation sensor, accelerometer, gyroscope, magnetometer.

Ciao @S-Dafarra . Could you let me know which main config file you are using when activating the FT sensors, or simply which files in https://github.com/ami-iit/robots-configuration/blob/devel_iCubGenova09/iCubGenova09/wrappers/FT you intend to use for activating the FTs?

Our main configuration file is https://github.com/ami-iit/robots-configuration/blob/devel_iCubGenova09/iCubGenova09/icub_wbd.xml

Thanks!

@S-Dafarra , out of curiosity, if I understood correctly from the configuration files, the heel and toe FTs...

used to be connected respectively to the boards/devices right_leg-eb11-j0_2-strain and right_leg-eb12-j3_5-strain,
and are now both connected to the same board/device right_leg-eb12-j3_5-strain.

Right?

@S-Dafarra , out of curiosity, if I understood correctly from the configuration files, the heel and toe FTs...

used to be connected respectively to the boards/devices right_leg-eb11-j0_2-strain and right_leg-eb12-j3_5-strain,
and are now both connected to the same board/device right_leg-eb12-j3_5-strain.

Right?

as pr the wrapper in the table and the configuration file https://github.com/ami-iit/robots-configuration/blob/devel_iCubGenova09/iCubGenova09/hardware/FT/right_leg-eb12-j3_5-strain.xml.

Yes, before only one EMS could have handled only one FT. But when we installed some new FTs in the thigh, we ran out of EMS. So we needed to change the FW in order to handle multiple FTs from the same board.

whenever you can, until tomorrow noon, if you could drop here a sample of the Yarp data from one of the ports in the description (e.g. /icub/left_foot_heel_tiptoe/measures:o), it would be great.

whenever you can, until tomorrow noon, if you could drop here a sample of the Yarp data from one of the ports in the description (e.g. /icub/left_foot_heel_tiptoe/measures:o), it would be great.

We have some issue with the robot at the moment and I am not able to get those data yet.

whenever you can, until tomorrow noon, if you could drop here a sample of the Yarp data from one of the ports in the description (e.g. /icub/left_foot_heel_tiptoe/measures:o), it would be great.

Here you go:
() () () () (((264.0)<PHONE_NUMBER>.98573541641) ((264.0)<PHONE_NUMBER>.98173546791)) (((-57.952880859375 -101.806640625 8.23974609375 -1.666259765625 0.4852294921875 0.2471923828125) 157041978.0) ((-78.55224609375 -60.05859375 -54.74853515625 -0.30670166015625 1.190185546875 -0.01373291015625) 157037978.0)) () () () ()
() () () () (((264.0)<PHONE_NUMBER>.99573731422) ((264.0)<PHONE_NUMBER>.99173736572)) (((-57.037353515625 -101.25732421875 6.77490234375 -1.666259765625 0.47607421875 0.2471923828125) 157051980.0) ((-78.55224609375 -59.6923828125 -55.11474609375 -0.2838134765625 1.190185546875 -0.00457763671875) 157047980.0)) () () () ()
() () () () (((264.0)<PHONE_NUMBER>.00573444366) ((264.0)<PHONE_NUMBER>.00173449516)) (((-57.403564453125 -101.98974609375 7.50732421875 -1.68914794921875 0.47149658203125 0.2471923828125) 157061977.0) ((-78.460693359375 -60.150146484375 -53.8330078125 -0.3021240234375 1.1993408203125 -0.0091552734375) 157057977.0)) () () () ()
() () () () (((264.0)<PHONE_NUMBER>.00573444366) ((264.0)<PHONE_NUMBER>.01173734665)) (((-57.403564453125 -101.98974609375 7.50732421875 -1.68914794921875 0.47149658203125 0.2471923828125) 157061977.0) ((-78.55224609375 -59.50927734375 -55.2978515625 -0.28839111328125 1.1993408203125 -0.02288818359375) 157067980.0)) () () () ()
() () () () (((264.0)<PHONE_NUMBER>.02574038506) ((264.0)<PHONE_NUMBER>.02174139023)) (((-57.403564453125 -100.982666015625 7.32421875 -1.67083740234375 0.494384765625 0.25177001953125) 157081983.0) ((-78.643798828125 -59.234619140625 -54.5654296875 -0.28839111328125 1.20849609375 -0.00457763671875) 157077984.0)) () () () ()

Corrected the format documentation in the description.


Move create and edit tag modals to React

Motivation and Context

This PR is part of the ongoing effort of having the frontend to be in React as much as possible.
Your Changes

Description:
The changes are centered around the modals to create and edit tags, in both the tags table and the submissions info panel (for assignments). Specifically:

The modals for both creating and editing tags are now fully in React, alongside Jest UI tests for each.

Tag name now has to be non empty before the form (on the modal) is submittable, indicated by a red background when the tag name input is empty (consistent with the rest of Markus). Similarly, the submit button is disabled until then.

The modals previously lived in the ERB layer and partially in tags controller. Those code are removed as well.
The React modals are written to replicate the old ERB modals as much as possible.

New Modals

Type of change (select all that apply):

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Refactoring (internal change to codebase, without changing functionality)
[x] Test update (change that modifies or updates tests only)
[ ] Other (please specify):

Testing

CreateTagModal and EditTagModal are common in a lot of ways, so the common parts are refactored out into a TagModal. These 3 components have a test suite each.
Questions and Comments (if applicable)

Checklist

[x] I have performed a self-review of my own code.
[x] I have verified that the pre-commit.ci checks have passed.
[ ] I have verified that the CI tests have passed.
[ ] I have reviewed the test coverage changes reported on Coveralls.
[x] I have added tests for my changes.
[x] I have updated the Changelog.md file.
[ ] I have made changes to the documentation and linked to that pull request below.

Pull request to make documentation changes (if applicable)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

45 of 53 (84.91%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 91.866%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/assets/javascripts/Components/Modals/create_tag_modal.jsx
19
21
90.48%

app/controllers/tags_controller.rb
7
9
77.78%

app/assets/javascripts/Components/Modals/edit_tag_modal.jsx
16
20
80.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
38402

Relevant Lines:
41246

💛  - Coveralls


Metv listing request

Source
Http://comcast.net/tvlisting
Channels
Metv
Notes
No response

METV is in
https://iptv-org.github.io/epg/guides/us.xml


Swallow duplicate key exception on ThreadLoggingScope.Set

Related to #5

I've commited a variation of this PR with a configurable toggle for logging vs throwing and a details exception/log message. See: https://github.com/evicertia/Common.Logging.Extras/commit/f7773cb2bb57e4fdc55e71d4ea45823ecde5616c


Some ideas to work easier in the filetree

Hi,
really a great plugin for Atom and work more like a real FTP Integration like all the other ftp-plugins!
One think I miss are functions for a faster filetreework. Sometimes I work on servers with a lot of files and folders. So, a search field for finding files in the open project would be nice and some functions to show hide some files or also to type a startletter to jump fast to the files who are start with this letter.
Cheers

+1
and there is still not enough hotkey to open the file when you move around the tree with the arrows


use correct scope for events

This fixes events to return the actual events. Previously is was only returning multiple copies of the same event.

Thanks for it!
I will start adding a couple of enhancements to the lib. 😄


InteractiveBrowserCredential option in DefaultAzureCredential

Is your feature request related to a problem? Please describe.
DefaultAzureCredential should include InteractiveBrowserCredential as an optional credential type to be cross-language consistent with the .NET implementation. I can see it was implemented in #14561, but reverted in #14628 (with somewhat unclear reasoning here).
This addition could streamline the developer experience with less boilerplate code required when developers need to include the InteractiveBrowserCredential option. I wonder if there are any considerations of bringing the includeInteractiveCredentials flag back to DefaultAzureCredential.
Describe the solution you'd like
includeInteractiveCredentials option in DefaultAzureCredentialOptions, e.g.:
const defaultAzureCredential = new DefaultAzureCredential({
  includeInteractiveCredentials: true
});

Describe alternatives you've considered
Utilising DefaultAzureCredential and falling back to InteractiveBrowserCredential if non of the included credential types were found:
  try {
    const defaultAzureCredential = new DefaultAzureCredential();
    const tokenResponse = await defaultAzureCredential.getToken(scope);
    return tokenResponse.token;
  } catch (error) {
    console.info(
      'No available credentials from DefaultAzureCredential, falling back to InteractiveBrowserCredential',
      error,
    );
    const interactiveBrowserCredential = new InteractiveBrowserCredential({});
    const tokenResponse = await interactiveBrowserCredential.getToken(scope);
    return tokenResponse.token;
  }

Heya @szajcz - thanks for reaching out and a special thank you for digging into some of the history here, it provides great context and the effort is appreciated!
For the next step we will discuss this internally and try to understand some of the reasoning behind removing InteractiveBrowserCredential from the DefaultAzureCredential chain. Then, we'll work with our language partners to understand whether we can put it back and if it would make sense to do so.
Just to set expectations, that may take some time, but please know that we will be actively discussing the suggestion. Thanks again!

@szajcz JS will not support this credential as part of DefaultAzureCredential chain.  DAC is not a one-stop-solution-for-everything. We instead encourage users to use ChainedTokenCredential and in that you can add the credentials of your choice. DAC shouldn't be too heavy with all possible credentials; it really is just a "get started scenario" credential. Here's the guidance - https://learn.microsoft.com/en-us/azure/developer/javascript/sdk/credential-chains#use-chainedtokencredential-for-granularity
Technically in order to construct the above scenario, you can use the sample below -
import {
    ChainedTokenCredential,
    DefaultAzureCredential,
    InteractiveBrowserCredential
} from "@azure/identity";

const credential = ChainedTokenCredential(
    DefaultAzureCredential(),
     InteractiveBrowserCredential()
);


Do you have 3D file of board with screen attached?

I downloaded and opened your 3D file but there was only the ESP32S3 board and no screen, hence it's difficult for me to design a case for it. It would be great if you can provide 3D file with screen included.

@mmMicky is it possible to get both the screen versions as 3d files. The rectangular non-touch version, and the newer touch version with rounded glass. Thanks!

https://github.com/Xinyuan-LilyGO/T-Display-S3/blob/main/3D_file/glass_screen.stp
I uploaded the screen file. actually using the need to combine them together

https://github.com/Xinyuan-LilyGO/T-Display-S3/blob/main/3D_file/glass_screen.stp
I uploaded the screen file. actually using the need to combine them together

I'm having this problem when trying to import the file into Autodesk Fusion 360. Please check.

I use Rhino 7 to open fine.

Thanks @mmMickey, that's brilliant.
@t-rekttt thanks for the warning, it opens with freecad (file->import)

TDisplayS3touch_stl_fbx_step.zip
Added version together, it's approximately positioned 1.5mm from top edge and 5.5mm from board to glass surround which matches roughly the unit in my hands, and matches the normal t-displays3 if you measure to the top of LCD.


[BACKPORT][v1.2.x][BUG] Restore from backup sometimes failed if having high frequent recurring backup job w/ retention

Describe the bug
ref: #3055

Verified on v1.2.5-rc2 20220829

longhorn v1.2.5-rc2 (e931127)

The test steps

Install Longhorn v1.2.5-rc2 Ref.(install-with-kubectl)
Create a volume "bak" on longhorn
Create volume "bak"'s PV(name:bak) & PVC (name:myclaim) from longhorn UI
Deploy pod “mypod1” via cli kubctl apply -f mypod1.yaml

kind: Pod
apiVersion: v1
metadata:
  name: mypod1
  namespace: default
spec:
  containers:
    - name: testfrontend
      image: nginx
      volumeMounts:
      - mountPath: "/usr/share/nginx/html/"
        name: mypod1
  volumes:
    - name: mypod1
      persistentVolumeClaim:
        claimName: myclaim

Enter mypod1 shell  kubectl exec --stdin --tty mypod1 -- /bin/bash
execute echo 'Hello from Kubernetes storage' > /usr/share/nginx/html/index.html
Create recurring back job, 3 retain, 1 concurrency, every minute
Create a manual backup
Restore manual backup to volume-v1
Check whether or not the error was printed

Result Pass

After restored, we didn’t find out the error log.
longhorn-support-bundle_1878a0bf-5abd-40de-8e5d-e6686e5ba5d6_2022-08-29T04-39-39Z.zip


Native PhysicalPlanner extension points

What is the problem the feature request solves?
Extending Comet with custom operators requires three-step procedure:

Creating a custom SparkSessionExtensions class responsible for modification of SparkPlan object. This is not trivial especially if you would like to apply custom rules on top plan that has been already processed by the rules from CometSparkSessionExtensions it requires rerun of native block merging, re-serialization of native operators for a given block, etc - not easy but doable.
Extending Prototbuf messages - currently making a copy of Comet proto files and adding a new operators - again not ideal but easy to do.
The problem is with extending PhysicalPlanner and create_plan function that does the mapping of Opstruct to native implementation of operators.

Describe the potential solution
There is a long discussion (in many threads in the Internet) about the way plugin mechanism should be implemented in Rust applications given the problem of stability of Application Binary Interface (ABI), memory safety aspects, etc.
See this, that and that .
Seems like all approaches have their pros and cons and I'm too inexperienced in Rust that I could judge which is the best in Comet case. I'm happy to help to implement it once we agree upon the strategy.
Additional context

dlopen2
No response

Thanks for filing this @mwiewior. Having a plugin mechanism would allow us to support Rust UDFs as well, which would be a compelling feature for Comet.