Can you create a blog or docs with high_voltage?

I am looking for something like Jekyll, but directly embedded inside the Rails app.
The idea is to have a folder blog with all the blog posts. Each post would also have a front matter.
Is there any way to iterate on the blog posts?
Ideally you would read each file like it was a row in a database, so that you have a author, category, date, etc. from the front matter for each post, then you can display the index of posts or a category or a specific post.
Can you do that with this gem? Do you already have a similar approach for that (blog, docs, etc.) or I need to build from scratch?

I think you could get that working, but you need a way to make rails render markdown first. Here's one approach.

I think you could get that working, but you need a way to make rails render markdown first. Here's one approach.

I had something like this implemented and it worked perfectly. I can dump markdown files (with erb) in my pages folder without issues. Here are my steps:

Install the RedCarpet Markdown Gem ($ gem install redcarpet)
Add a file to your app/config/initializers, mine is called markdown_template_handler.rb,
Write a ruby file that calls the redcarpet gem on markdown files using the register_template_handler function. Here is a copy of mine, but please note that I have it wrap generated markdown in the tailwindcss prose class for styling.

Also DANGER, I am the only author, so I have erb available on all markdown files. You may want create a second file format like mderb so that you can limit when markdown can have erb:
# app/config/initializers/markdown_template_handler.rb
require 'redcarpet'

class CustomMarkdownRenderer < Redcarpet::Render::HTML
  def postprocess(full_document)
    "
#{full_document}
"
  end
end

class MarkdownTemplateHandler
  def erb
    @erb ||= ActionView::Template.registered_template_handler(:erb)
  end

  def call(template, source)
    compiled_source = erb.call(template, source)
    "Redcarpet::Markdown.new(CustomMarkdownRenderer.new).render(begin;#{compiled_source};end.to_s).html_safe"
  end
end

ActionView::Template.register_template_handler(:md, MarkdownTemplateHandler.new)


new export-portal CLI command

Is your feature request related to a problem? Please describe.
Users sometimes want to transition from the imperative way of working of the educates CLI to a declarative way of working so that they can integrate into some type of automation or source control. There's currently no way to get the yaml associated with a specific trainingportal and the referenced workshops.
Describe the solution you'd like
Add a educates export-portal <portal-name>... command that will spit yaml ready to be added to version control or automation tools. It should include the TrainingPortal and the Workshops included in the Trainingportal.
Describe alternatives you've considered
No response
Additional information
No response

think about when exporting, initially just exporting the yaml to stdout, but add possibility, via flags of creating files (structured in the way we do structure workshops) and also ociImages. (e.g. --as-files <DEST_DIR> and --as-image <IMAGE_NAME>) so that we can use the generated files and image to educates deploy-workshop (or similar command)


HTML link files are not reloaded

fn on_request(r : zap.Request) void {
    r.sendFile("index.html") catch return;
}

This index.html file contains the link of styles.css and  script.js file ( I also mentioned the .public  folder having the above files). The html files perfectly reloaded but css and js files are not reloaded even though I rerun the server.  so I need to embed everything on html file. Is any option i have to watch those files?

There's no magic in zap. You need to set headers to non-caching.
LG, Rene
Rene Schallner
@.*** @.***> / renerocks.ai
https://renerocks.ai/
On November 12, 2024, Rene Schallner @.***> wrote:

fn on_request(r : zap.Request) void { r.sendFile("index.html") catch
return; }
This index.html file contains the link of styles.css and script.js
file ( I also mentioned the .public folder having the above files).
The html files perfectly reloaded but css and js files are not
reloaded even though I rerun the server. so I need to embed everything
on html file. Is any option i have to watch those files?

—
Reply to this email directly, view it on GitHub
https://github.com/zigzap/zap/issues/141, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AHLWBJ3VODSOWPVPB36WB5T2AIDRJAVCNFSM6AAAAABRUEUSM6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2TEMRZG43TMMI>.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

What I mean: your browser is caching th JS and CSS. It is not probably not even attempting to load them. Sending no-cache headers will force the browser to always attempt to load those files. Your setup is a bit strange in that you explicitly serve the index.html but leave all the other files to be caught by the public folder handling.

I did some research. If you look at zap's doc comments of sendFile:
/// Important: sets last-modified and cache-control headers with a max-age value of 1 hour!
/// You can override that by setting those headers yourself, e.g.: setHeader("Cache-Control", "no-cache")

The 1 hour is the default used in the facil.io library. If you use the public_folder feature, then all files in public_folder will be cached by your browser for 1 hour. There is no way to get around that without changing that sensible default in the C library.
If you need control over how your files are cached by browsers, serve them in your request handler, where you can set cache-control headers. (That's what I always do, I hardly ever use the public_folder feature).
Alternatively, disable caching in your browser while developing  & changing assets frequently.


CDB_EstimateRowCount / _CDB_GenerateStats isn't parallelizable

While testing favouring parallel plans I get the following error in postgresql logs:
2018-07-09 15:17:51.091 UTC [24903] ERROR: cannot start subtransactions during a parallel operation
 2018-07-09 15:17:51.091 UTC [24903] CONTEXT: PL/pgSQL function cdb_querytablestext(text) line 18 during statement block entry
 SQL statement "SELECT _CDB_GenerateStats(tabname) FROM unnest(CDB_QueryTablesText(query)) AS tabname"
 PL/pgSQL function cdb_estimaterowcount(text) line 6 at PERFORM
 2018-07-09 15:17:51.091 UTC [24903] STATEMENT:
 WITH
 rowEstimation AS (
 select CDB_EstimateRowCount($windshaft$SELECT status,stump_diam,health,spc_common,cartodb_id,the_geom_webmercator FROM benchmark_d8e8efa7f605fc5f0bc8c68907284f77db485ae4fc737f3230705$windshaft$) as rows
 ),
 geometryType AS (
 SELECT ST_GeometryType(the_geom_webmercator) as geom_type
 FROM (SELECT status,stump_diam,health,spc_common,cartodb_id,the_geom_webmercator FROM benchmark_d8e8efa7f605fc5f0bc8c68907284f77db485ae4fc737f3230705) AS __cdb_query WHERE the_geom_webmercator IS NOT NULL LIMIT 1
 )
 SELECT
 rows AS count,
 geom_type AS type
 FROM rowEstimation, geometryType;

Costs config:
seq_page_cost = 1.0                     # measured on an arbitrary scale
random_page_cost = 4.0                  # same scale as above
cpu_tuple_cost = 1                      # same scale as above
cpu_index_tuple_cost = 1                # same scale as above
cpu_operator_cost = 1           # same scale as above
parallel_tuple_cost = 0.0001            # same scale as above
parallel_setup_cost = 0.1       # same scale as above

Can be solved by marking both CDB_EstimateRowCount and _CDB_GenerateStats as PARALLEL UNSAFE.
cc/ @CartoDB/rt-managers (Engine issue)

Situation:
We have a new release of the extension, 0.23.1 with this fix. It's deployed in all production db hosts and the rails codebase is already using it for new users. We are not updating existing users yet to avoid interfering with a hotfix we'll probably need to roll shortly for an unrelated issue.

Everyone's on 0.23.2 thanks to @javitonino


Add informative messages to pin_write

See #164 .
Let's implement the helpful message printed, when a user writes a pin in R pins:
> board %>% pin_write(mtcars)
Using `name = 'mtcars'`
Guessing `type = 'rds'`
Creating new version '20221101T145832Z-bfb57'
Writing to pin 'mtcars'

Note that pin name and type are required in R pins, so the message will be less related to guessing, but still useful

Another example would be warning the user if they pass versioned=True when trying to write to an unversioned board.


DBeaver disconnects from DB automatically after some time.

System information:

Windows 10
DBeaver Version - 21.3.4
Java 8
Additional extensions :  None

Connection specification:

MySQL 5
JDBC
Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
DBeaver disconnects from DB automatically after some time.
when I try to execute a query after some time of inactivity like 5 minutes, the application disconnects itself.
So, I have to invalidate the db everytime before executing a query. or else, The query takes much time to respond
Steps to reproduce, if exist:
Open DBeaver. execute a query. wait for like 5 - 10 mins. just run the same query again
Include any warning/errors/backtraces from the logs

dbeaver-debug.log
dbeaver-debug.log

Check DB logs for disconnects issued by database (iddle connection, iddle transaction whatever)

@michalk-k Could you try to change the keep-alive value in connection properties to non-null and check if it fixes your issue?

kumaran-IV0IV the advice from @uslss is directed to you rather than me.

@michalk-k Could you try to change the keep-alive value in connection properties to non-null and check if it fixes your issue?

Thanks for ur response.
This is worked, Even though I tried this many times, Now only it worked out.. I've no idea

Not working for me. A regression?

Version: Community Edition <IP_ADDRESS>402041841.  This behavior only started recently.

Started happening to me too recently on Postgres connections. Same version (<IP_ADDRESS>402041841).

Connection issue on Version <IP_ADDRESS>402060628 running on Debian 12.5, suddenly disconnected from the server when the computer is idle. All SQL expression filter gone. How to keep alive connection & keep history SQL Exp filter? -- Thanks

Windows 11 pro -   DBeaver	<IP_ADDRESS>402041841
I have not changed anything in my settings and now it is killing my connections when idle... No other versions have had that issue before.

I have not changed anything in my settings and now it is killing my connections when idle... No other versions have had that issue before.

@serge-rider Can you please have a look into this thread and maybe reopen it? I'm afraid this hasn't been noticed given that this issue is closed.


No Voice in IPermissions

IPermissionOverwrite for voice channel has no Voice in deny and allow (which both are IPermissions)

Pretty sure I fixed that 12 days ago in https://github.com/qeled/discordie/commit/30af2df026780f8b98765a07c939407b24a83a35 - should be working on 0.7.0 and above.

I thought my packages was updated, because I run npm update and it should update all dependencies listened at package.json, before I start bot. Agrh, npm..
Tested, this really works.
Sorry for disturb =(


[Docs] React Native Katas

Hello all,
I've spent considerable efforts to make React Native more digestible for designers and complete beginners. React Native Katas is a fully immersive hands-on experience that such an audience can go through, with a basic development setup and an iOS simulator. It currently focuses solely on views and styles.
I've heard there's a documentation revamp, so this might fit in there somewhere as it proved a really efficient learning tool in a very short while. Please let me know if you'd like me to push this forward.
/cc @caabernathy

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/docs-react-native-katas
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub. GitHub issues have voting too, nevertheless
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


Pegah: Task 849-852: tmu_gfm_dataset

@Palipoor, wondering if you can help review this PR?

Hi,

Please rename your tasks so they have different names based on their category and reflect this in the readme file. Also, for source and contributors use lists.
For task 849, maybe "Text Modification" is a better category name. Also, can you add a few more instances so the total number of instances is more than 100?
In task 850, in the definition you mention "good" and "poor" but there's a "fine" in the outputs too.
In task 850, please fix the examples.
In task 851, the labels "good" and "poor" are not balanced. Also, please re-write the definition as it's not easily understandable.
Is the task 852 the same as 851?

@lilse137, can you address the reviewer comments so that I can evaluate your tasks?

Shall do the same by EOD. Thank you for reminding.

Hey sorry, I will update this soon

Hey sorry, I will update this soon

I need to evaluate soon. Make sure to address comments.

@Palipoor Thank you for your clear comments on the error.
@swarooprm The balance in multi label classification is a bit off. I could not sample it properly.

@Palipoor Thank you for your clear comments on the error. @swarooprm The balance in multi label classification is a bit off. I could not sample it properly.

@Palipoor, check if you are happy or have any other comment?

Hi, I am sorry about the task 851 and 852 being the same. I made a erroneous code edit, that made both of them be the same. The 3 lexical evaluations must be grammar, ,meaning and fluency. I edited the read me by intuitively naming summary and category. Pardon me for not paying attention to read.me.
Do you think the  current definition for 850 would be embedded appropriately with a machine learning or should I define them close by to their reference.


Broken link for pretrain_encoder for speech_text_joint_to_text

📚 Documentation
Dear Team,
Thanks for opening source the code for "speech_text_joint_to_text". However, the link for pretrain_encoder (https://github.com/pytorch/fairseq/blob/main/examples/speech_text_joint_to_text/docs/ende-mustc.md) is broken.
It would be much appreciated if you could update the link.
Thanks.

@yuntang

📚 Documentation
Dear Team,
Thanks for opening source the code for "speech_text_joint_to_text". However, the link for pretrain_encoder (https://github.com/pytorch/fairseq/blob/main/examples/speech_text_joint_to_text/docs/ende-mustc.md) is broken.
It would be much appreciated if you could update the link.
Thanks.

Hi @mingzi151 , thanks very much for reporting the issue! Please use this link instead: https://dl.fbaipublicfiles.com/fairseq/s2t/mustc_joint_asr_transformer_m.pt .


Thunderbird package out of date.

Thunderbird package installs Thunderbird 45.1.1, which is the same version as reported by Chocolatey.
There is now a security update to 45.2.0, which was released June 30th, there is no status shown on the packages page for 45.2.0. The latest version shown on the package page is 45.1.1.

@nwra-admin thanks for coming back on this one.  The automatic updater stopped working, hence why the new versions hadn't appeared.

Glad to help


Problems with inputs and textareas inside of draggable component

I investigate some problems when placing <input> and <textarea> elements inside of draggable component,

cmd+A or Ctrl+A shortcuts doesn't work for input or textarea (but selecting text with Shift + Arrows still works)
Attempt to select input or textarea content with touchpad/mouse starts dragging parent element

My draggable component looks like,

This is caused by the registration on the selectstart event, which is apparently only needed for IE compatibility.
If like me you don't need IE compatibility, here was my quick fix that may work for you :
https://github.com/dperetti/react-dnd/commit/06f74ef97e07a9a24c10eab8593f3e2121d4f2ed

Thanks for reporting! I'm glad to accept a PR fixing this.
I have two requirements:

It needs to still have that IE fix.
Please verify whether preventDefault() is needed for the other browsers. I think it prevents the text selection of whatever you tried to drag. If it indeed helps prevent unwanted selection in other browsers, you might want to surround e.preventDefault() with some check a la e.target.tagName !== 'input' (but a smarter one).

Same bug with <div contentEditable={isEditing} />.
Also I can't edit it.  Ctrl+A and Shift + Arrows doesn't work.

In the next three weeks I'm going to be busy and I don't have the time for fixing this.
As I said I'm happy to accept a PR with a fix as described in https://github.com/gaearon/react-dnd/issues/178#issuecomment-108110202.

Was looking into this. If I comment out the entire handleSelectStart function's body, everything works as expected. Tested this in IE11 and seems to be good there, too.
@gaearon do you know if there's a specific use case or setup for why the event needs to be handled at all? IE10? Different setup from textarea/input in a draggable node?

The original issue was https://github.com/gaearon/react-dnd/issues/128.
If you can prepare a PR that fixes the problem, but also keeps https://github.com/gaearon/react-dnd/issues/128 working, that would be a huge help.

Will see if I can look into it. Need to figure out a way to set up a simple test case for IE9.

I think sortable-simple example failed on IE9 before #128 was fixed.

@gaearon Yeah that was a good example to use, thanks. A few notes:

No other browsers (tested latest Chrome, Safari, FF, and IE 11) seem to care about this. The event doesn't need to be handled whatsoever.
IE9 only appears to only need the e.target.dragDrop() call. Disabling the text selection can be done by creating a handle that covers the entire draggable, wrapping the draggable node in connectDragPreview and the handle in connectDragSource. While this may sound nasty, AFAIK you're not officially supporting IE9 so is that a reasonable workaround, especially when other problems are likely to arise in that browser?
Point number two is also useful anyway in the case that you have a text input within the draggable. Users can't select text by dragging their mice if connectDragSource is applied the the whole node (it ends up dragging the node instead of selecting text), however applying to an invisible handle that is the size of the whole node works very nicely.

Unsure how you want to handle this. Without resorting to UA checking, I don't know that there's a great way to deal with this and it seems to me like it's adding functionality to support an unofficially supported browser that's breaking good browsers which may end up digging a maintenance hole. But that's all my opinion. Regardless, there's a workaround to this issue that also solves other issues.

Removing the event listener for selectstart makes contentEditable work in Chrome, but still it's not working in Safari.

Fixed by https://github.com/gaearon/react-dnd/commit/0a36033693868a7985ea2348105da4fb2cef8a00.

Removing the event listener for selectstart makes contentEditable work in Chrome, but still it's not working in Safari.

This is HTML5 drag and drop API issue in Safari. Nothing we can do about it.

The fix for this issue was released in<EMAIL_ADDRESS>Please verify that it works.

Confirmed that Ctrl/Cmd-A works in <input> inside a draggable component.

Attempt to select input or textarea content with touchpad/mouse starts dragging parent element

I see this is not fixed, create a new issue?

Elements with contentEditable set inside a draggable parent container wouldn't allow me to select text or interact with them in any way. After some digging, I found this bug report: https://bugs.chromium.org/p/chromium/issues/detail?id=170139
It appears Chrome has since fixed the issue. Safari's behavior can be fixed in the meantime with CSS:
.contenteditable-element {
  user-select: text;
}

@trevorsmith This is still not fixing the Firefox's behaviour. Do you know any workaround for Firefox?

@rahul1995 - I just found out a solution: just store a ref to the draggable DOM node and when user focuses input/textarea set draggable attribute to false:
const Test = () => {
  const ref = useRef(null);
  const [focused, setFocused] = useState(false);
  const [_, drag] = useDrag({ item: { type: 'test' } });

  useEffect(() => {
    if (ref.current) {
      ref.current.setAttribute('draggable', !focused);
    }
  }, [focused]);

  return drag(
    <textarea ref={ref} onFocus={() => setFocused(true)} onBlur={() => setFocused(false)}></textarea>
  );
};

This should do the trick for Firefox :wink:

@rahul1995 - I just found out a solution: just store a ref to the draggable DOM node and when user focuses input/textarea set draggable attribute to false:
const Test = () => {
  const ref = useRef(null);
  const [focused, setFocused] = useState(false);
  const [_, drag] = useDrag({ item: { type: 'test' } });

  useEffect(() => {
    if (ref.current) {
      ref.current.setAttribute('draggable', !focused);
    }
  }, [focused]);

  return drag(
    <textarea ref={ref} onFocus={() => setFocused(true)} onBlur={() => setFocused(false)}></textarea>
  );
};

This should do the trick for Firefox 😉

Have you considered making a PR? This is a fairly big issue on Strapi when entering data.
https://github.com/strapi/strapi/issues/12432

To be honest I didn't, because I didn't know where to start - if anyone can point me in the right direction I'm happy to work on the issue :+1:

All good, digging in more I saw that your fix has to be applied outside the scope of the react-dnd core. Was trying to apply it to this ref, but the Strapi contrib process was not working correctly on my M1 machine 😅
There may be a way to use the logic you propose on nested elements and have it bubble up to the draggable ref so we fix it at the React-dnd level for all to make benefit, but we'd have to dig in more to see how that would work.

This is a vanilla JS issue, not a React issue. Programmatically focusing the input element when its clicked on fixes the issue.

@sean-mcclure - so you think a solution like this should work?
const Test = () => {
  const [_, drag] = useDrag({ item: { type: 'test' } });

  return drag(
    <textarea onClick={(e) => e.target.focus()}></textarea>
  );
};

Why is this a vanilla JS issue and is it reported anywhere in Gecko (Firefox) or Blink (Chromium based browsers)?

A year later almost, but I for some reason found a now soon-to-be-deprecated repo react-sortable-hoc way more intuitive to work with. Have more troubles setting the new repo up for some reason 🤔

This is not documented very well, but if you add the class name nodrag this works to not allow dragging by the text input field, meaning you can select and highlight text with your cursor.
No other solutions solved my issue.
      <>
        <Input
          disabled={isDisabled}
          value={value}
          onChange={handleChange}
          className={'nodrag'}
          placeholder={placeholder}
          multiline
          error={error_message}
        />
      </>


Feature request: Changelogs for each tagged release

So that it can be seen easily what's changed, this would help when tracking issues / dependencies.

did you see this : https://github.com/wighawag/hardhat-deploy/blob/master/CHANGELOG.md


Why stop isn't called in another thread but start is.

As I know, the class CameraView has two main method that must be called before/after work with it: start() and stop.
If we go to implementation of these functions we will see, that start method contains:
new Thread(new Runnable() {
    @Override
    public void run() {
        mCameraImpl.start();
    }
}).start();

but stop method contains only mCameraImpl.stop();
So for first method the new tread is started, but for the second isn't.
My question is "why"? Because it seems, that stop method requires pretty big amount of time.
You see, I want to have a list of photos, and first element is CameraView with camera preview (like in Telegram application). I starting CameraView in onViewAttachedToWindow method, and stop it in onViewDetachedFromWindow. And my application lags when I scroll my list exactly in the moment when first item with camera preview fades from phone window.

I'm also having issues caused by this code part. The problem is, that .stop() may be called and executed in the main thread before .start() has finished in the separate thread. This results in an app crash as soon as the camera is used the next time.


Clown Car Duplicates NPCs

The clown car function of the party sheet/token does not 'pull in' companion NPC tokens.
The party token will spawn these token if they are not already adjacent to the party token.
The companion NPCs are part of the party sheet.
The party token will not pull the companion tokens in.
If you move the party token away and 'expell' the party, it will create new, duplicate, tokens for the NPC companions.

This does not have to do with NPCs but unlinked tokens. You'll want to link actor data if making an NPC a member of a party.


feat: Add Verification Layer to "Starknet : get_transaction_by_block_and_index"

Add a Transaction / Block / Root(if needed) verification on top of the data received from the "starknet-rs" Client.
Transaction / Block / Root verification can be done through validation of Starknet_Block info form L1 and also utilizing storage_proofs(maybe it's not needed) from this issue: https://github.com/keep-starknet-strange/beerus/issues/62

Describe the Feature Request

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[ ] Yes
[ ] No

Would be happy to take on this issue.

Assigned!


removing unwrap in a function of type result. using unstable sort ins…

Motivation
Using unwrap in a function that returns result is not recommended in the libra codebase, as it promotes recoverable errors to unrecoverable errors and it leads to panic. (More info here).
Hence I am removing the usage of unwrap.
In the future, this lint will be added to clippy to prevent this from happening in the first place.
Have you read the Contributing Guidelines on pull requests?
Yes
Furthermore, other I replaced the usage of sort with unstable sort in a function as per this guideline
Test Plan
No new functionality added, so no new tests needed, but I ran existing tests to ensure nothing is breaking.
cargo build
cargo xtest

left you some comments, otherwise LGTM

thanks David 👍

cc @davidiw can we get this in?

/land

hint: always run cargo xfmt before submitting a PR

:broken_heart: Test Failed - commit-workflow

/land

@xvschneider: :key: Insufficient privileges: Not Collaborator

hint: always run cargo xfmt before submitting a PR

yep you're right, forgot to do that. maybe we can make a git hook that runs xfmt ?

@davidiw  can you run land again please? Thanks!

/land


Update about-the-service-connection-point.md

Added reference information about how to configure the proxy account in Site System Server Proxy Properties for the Service Connection Point.

@Brenduns Can you review this suggestion?

@xstaindx      Thanks for the contribution! This content should update with that addition soon.


pydantic V2 porting

Completed porting to V2

Kind of expected. Note to self:

Fix tests on py<3.10 for new type hints.
Fix tests on windows for case sensitive env variables: on windows it has no effect (https://docs.pydantic.dev/latest/usage/pydantic_settings/#case-sensitivity)


Fix liquid tags

It seems that some liquid tags are broken, youtube videos for instance are not filling the expected area in posts, it's cropping in a weird way. Need to review and update liquid tags.

Liquid tags are working, but we needed a way to customize the embeds. The latest release of Parsed fixes that by using Stencil templates.


added collision fade

this adds fade upon collision
https://github.com/GodotVR/godot-xr-tools/assets/56046022/79597692-75e9-4fbc-9226-48df14a8e97b
walk up a wall to experience the fade upon collision.

how to setup your environment for the fader:

select all the static bodys that you wish to influence the fader
set their collision layer to = 2

how to add it to your scenes:

drag and drop the fader.tscn - scene as child of the camera
drag and drop the fade_in_out.tscn and the fade_collision.tscn - scene as children of the fader

based upon @Malcolmnixon  work from 2022 which was made for a earlier version of xr tools for godot 3.5, link is below
https://github.com/Malcolmnixon/godot-xr-tools-experiments

currently the above is fully functional except the fade_area part which i was not able to convert properly from the godot 3.5 version, if anyone wants to chime in and fix it, would be great!

Strategy
This PR is fundamentally promoting "fading" from being a special-purpose thing we have in staging used for scene-switching, and promoting it to an effect usable in multiple areas. As such I think we should locate the core fading effects code in addons/godot-xr-tools/effects.
Fundamentally what we want from fading is:

The staging machinery provides fading out of the box (already achieved by the Fade node in staging)
The user can add the Fade node to any scene if not using the staging machinery)
Any node (or even multiple nodes) can request fading
Fading can be to any color - not just black (E.G. fade to red for death)

Fade Shader/Node/Script
The fade machinery implemented in staging has a fair number of improvements which make it work on both gl_compatibility and vulkan shaders. We want to incorporate those improvements...
The existing addons/godot-xr-tools/staging/fade.gdshader can only fade to black, whereas the new fade.gdshader can fade to any color. I think we want to use the shader type, mode, and vertex function from the staging-shader, but use the albedo color uniform and fragment shader from the new file.
The Fade node should follow the approach used in the staging.tscn Fade node - a 2x2 quad with a custom AABB of [-5000,-5000,-5000], [10000,10000,10000] to ensure it's not culled.
The following is a proposed script to provide access to fading from anywhere. This is a 'push' model rather than a 'pull' model, and so should be much faster than the group-based approach; although it does require Godot 4.2 for static fields:
class_name Fade
extends MeshInstance3D

# Dictionary of fade requests
var _faders : Dictionary = {}

# Fade update flag
var _update : bool = false

# Fade material
var _material : ShaderMaterial

# Static fade instance
static var instance : Fade

func _ready() -> void:
    instance = self
    _material = get_surface_override_material(0) as ShaderMaterial

func _exit_tree() -> void:
    instance = null

func _process(_delta : float) -> void:
    # Skip if nothing to update
    if not _update:
        return

    # Calculate the cumulative shade color
    var fade := Color(1, 1, 1, 1)
    var show := false
    for whom in _faders:
        var color : Color = _faders[whom]
        fade *= color
        show = true

    # Set the shader and show if necessary
    _material.set_shader_parameter("albedo", fade)
    visible = show
    _update = false

static func set_fade(p_whom : Variant, p_color : Color) -> void:
    if instance:
        instance._faders[p_whom] = p_color
        instance._update = true

static func clear_fade(p_whom : Variant) -> void:
    if instance:
        if instance._faders.erase(p_whom):
            instance._update = true

With this code all code requiring shading can now simply call Fade.set_fade(<whom>, <color>) or Fade.clear_fade(<whom>) where <whom> can be the self of the requesting node, or some string identifier.
Fade Requests
The set_fade method in addons/godot-xr-tools/staging/staging.gd can be switched to:
func set_fade(p_value : float) -> void:
    Fade.set_fade("staging", Color(0, 0, 0, p_value)

The other fade providers should use similar calls, although they should probably use self for the whom rather than a fixed name as there may be multiple instances.

closing since #631 is adding the above more in the lines of the xr tools


feat: update Madara binary to release from experimental version

Feature Request
In #448 we are adding a Madara binary with experimental link, once we have it in release, we should update the link to the release.

What is the status of this @bajpai244


Store the angle value into angle toolState

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

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

The value rAngle was added to angle toolState.

What is the current behavior? (You can also link to an open issue here)

Linked issue: https://github.com/cornerstonejs/cornerstoneTools/issues/703

cornerstoneTools.getToolState(element,'length') -- returns the calculated length value

But the same doesnt work for 'angle' -- Does not return the calculated value.
It would be great, if we could add this. Its just one line change needed, that I have done locally now. But would be good if its added to a release.

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

cornerstoneTools.getToolState(element, 'angle') will return the rAngle value.

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

No.

Other information:

It's already implemented on vNext branch:
https://github.com/cornerstonejs/cornerstoneTools/blob/90dcd97a98e95669df315c83a6966acc26ba9586/src/tools/annotation/AngleTool.js#L192

@algates90 FYI

Coverage decreased (-0.0008%) to 7.009% when pulling 8d4b19d3cad5440f6a0b2ef232a90aa6c7cc3724 on store-angle-value-into-toolState into bb33233bc60cb2a31a70af8f89c5a6fb9075d6c1 on master.

Hey @rodrigolabs,
I like the idea of storing the angle in the tool data, but just a thought: wouldn't it be better to calculate and store the angle whenever the annotation is created/modified? Then in onImageRendered we could just grab the value and render it to the canvas, rather than recalculating it every frame?
I wouldn't want to block this PR, as it is replicating what is in vNext, but just as more of a permanent solution?
Cheers,
James

Hi @JamesAPetts,
I was beginning to make this change when I realized that if we calculate this value only after an angle is created, we'll lose the reference on this text:

What's your opinion on this case?

Hmm, good point, on my phone atm, so not in a good place to check through the source, correct me if I'm wrong, but surely we could update it on drag also? I.e. whenever the node changes position?

Per our recent announcement I am going to close this issue. If you feel it would be a good candidate for the latest version of cornerstone-tools, then let's continue to discuss how we might best move forward and add this functionality.
If it is absolutely critical it be added to version 2, we can discuss that as well. Realistically, this will be much more likely to happen if a partner PR is made that targets version 3.
I'm sorry if this inconveniences you. We appreciate the effort you've put in. We realize it can be frustrating to donate work and for it to ultimately not be used. If there's anything we can do to improve in this area, please let us know. We're a small team, open to criticism, and actively trying to improve this process.
FYI, if you check out the latest RectangleRoi, you can see how we're caching the tool data from calculation there. We also throttle those same calculations. I'd be curious to hear your thoughts.


404 HTTP Status

I'm no longer using the angular CLI until it's out of beta, as I have encountered too many problems with it. I am scaffolding the app with the tutorials on the main angular.io documentation. Just wondering if there is a way to use material in an angular 2 app without using the angular CLI.

You will need to copy<EMAIL_ADDRESS>files and configure system.js like this  https://github.com/kara/puppy-love/blob/master/src/system-config.ts

I'm not using the angular CLI to build it so there is no system-config.ts file. There is a systemjs.config file and I tried putting the dependencies on there but it didn't work.

For now you need some module loader that can handle CommonJS modules. The CLI currently uses SystemJS, but any module loader should do.


Default functions, extend YarnCommand and YarnFunction attributes

Please check if the pull request fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[x] CHANGELOG.md has been updated to describe this change

What kind of change does this pull request introduce?

[ ] Bug Fix
[x] Feature
[ ] Something else

It seems like the function support was not fully implemented (a NotImplementedException was being thrown when adding functions) but I have taken the liberty to fully implement it, and add a few features of my own. Not sure which issues I could link. Hopefully that's not overstepping too much!

What is the current behavior?

The command support is somewhat incomplete, and no functions by default are added.

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

I'm just gonna copy everything from the changelog to avoid repeating myself.

Default functions have been added for convenience.

float random() - returns a number between 0 and 1, inclusive (proxies Unity's default prng)
float random_range(float, float) - returns a number in a given range, inclusive (proxies Unity's default prng)
int dice(int) - returns an integer in a given range, like a dice (proxies Unity's default prng)

For example, dice(6) + dice(6) to simulate two dice, or dice(20) for a D20 roll.

int round(float) - rounds a number using away-from-zero rounding
float round_places(float, int) - rounds a number to n digits using away-from-zero rounding
int floor(float) - floors a number (towards negative infinity)
int ceil(float) - ceilings a number (towards positive infinity)
int int(float) - truncates the number (towards zero)
int inc(float | int) - increments to the next integer
int dec(float | int) - decrements to the previous integer
int decimal(float) - gets the decimal portion of the float

The YarnFunction attribute has been added.

Simply add it to a static function, eg
[YarnFunction] // registers function under "example"
public static int example(int param) {
  return param + 1;
}

[YarnFunction("custom_name")] // registers function under "custom_name"
public static int example2(int param) {
  return param * param;
}

The YarnCommand attribute has been improved and made more robust for most use cases.

You can now leave the name blank to use the method name as the registration name.
[YarnCommand] // like in previous example with YarnFunction.
void example(int steps) {
  for (int i = 0; i < steps; i++) { ... }
}

[YarnCommand("custom_name")] // you can still provide a custom name if you want
void example2(int steps) {
  for (int i = steps - 1; i >= 0; i--) { ... }
}

It now recognizes static functions and does not attempt to use the first parameter as an instance variable anymore.
[YarnCommand] // use like so: <<example>>
static void example() => ...;

[YarnCommand] // still as before: <<example2 objectName>>
void example2() => ...;

You can also define custom getters for better performance.
[YarnStateInjector(nameof(GetBehavior))] // if this is null, the previous behavior of using GameObject.Find will still be available
class CustomBehavior : MonoBehaviour {
  static CustomBehavior GetBehavior(string name) {
    // e.g., it may only exist under a certain transform, or you have a custom cache...
    // or it's built from a ScriptableObject...
    return ...;
  }

  [YarnCommand] // the "this" will be as returned from GetBehavior
  void example() => Debug.Log(this);

  // special variation on getting behavior
  static CustomBehavior GetBehaviorSpecial(string name) => ...;

  [YarnCommand(Injector = nameof(GetBehaviorSpecial))]
  void example_special() => Debug.Log(this);
}

You can also define custom getters for Component parameters in the same vein.
class CustomBehavior : MonoBehaviour {
  static Animator GetAnimator(string name) => ...;

  [YarnCommand]
  void example([YarnParameter(nameof(GetAnimator))] Animator animator) => Debug.Log(animator);
}

You should continue to use manual registration if you want to have "pseudo-static" dispatch, where there is an instance attached to the action, but the script should not know about it.

Does this pull request introduce a breaking change?

I have tried to avoid breaking changes and designed the changes to default to the previous behavior but obviously with a change this drastic, there is bound to be an edge case or two that I missed.
However, I did not have to "fix" any existing unit tests in this area (other than a couple wording changes), so that is a promising sign.

Other information:

How low do we HAVE to test here? I got it to work on 2019 but couldn't really get it to work on 2018. My personal opinion is that not enough people are using 2018.4 anymore to justify testing it (especially once we take into account that by the time we exit beta LTS will drop).
Additionally, I did see this (which I did not modify):
static IEnumerator WaitForYieldInstruction(Delegate @theDelegate, object[] finalParametersToUse, Action onSuccessfulDispatch)
{
    yield return @theDelegate.DynamicInvoke(finalParametersToUse);
    onSuccessfulDispatch();
}

which does not compile on 2019. It looks like it's c# 8 which might just be one of those quirks of Unity supporting features from c# 8 randomly???
If we don't actually need to support 2018.4 then we should probably bump it up to 2019 or 2020 in the dependencies.

I guess I have one more comment before I merge this (or I can do it if you are doing other stuff) we are going with snake_case for functions but C# still goes down the camelCase route, so can you update the round_places and random_range to be camelCase in the C# and using the attribute make it snake for Yarn?
Let me know either way, thanks again for the excellent PR.

Personally I feel like since these aren't referenced elsewhere we should take advantage of the auto-naming system, but I don't really mind either way


[FLINK-6982] [guava] Integrate flink-shaded-guava-18

What is the purpose of the change
This PR integrates the shaded guava dependency from flink-shaded. Basically, replace all usages of guava with the shaded guava dependency and remove all traces of the original dependency.
Brief change log

replace all guava dependencies with flink-shaded-guava
replace all guava imports
modify illegal import checkstyle rule to forbid unshaded guava imports
add suppression for IllegalImport rule for cassandra&kinesis
add check in travis watchdog that no unshaded guava classes are present in flink-dist

Verifying this change
The commits that replace existing guava usages are straight-forward.
Special care should be given to the last commit that removes the root pom shading of guava. Several modules still transitively rely on vanilla guava (for example cassandra) and have to do their own shading now. Some of these modules already did that (like cassandra of flink-shaded-hadoop2), but others didn't and relied on the fail-safe configuration of the root pom.

check that compilation works
check artifacts for inclusion of shaded guava
check artifacts for exclusion of unshaded guava
check that we are not exposing a vanilla guava dependency with maven
start a cluster and run some examples

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Looks pretty good, all in all!
+1 from my side

merging,


Swipe function

Dear,
Would it be possible to add a swipe function for mobile devices?
I found this one for bootstrap carrousel: https://github.com/mattbryson/TouchSwipe-Jquery-Plugin/

Nevermind, didn't see the jcarouselSwipe.

I don't see jcarouselSwipe, where is it?


cli  fails when trying to build appbundle with multi dimension and multiple words in the flavor name

Steps to reproduce
1- Create a new flutter app with flutter create
2- Modify the android/app/build.gradle to Include the following flavors:
    flavorDimensions "track", "country"
    productFlavors {
        internal {
            dimension "track"
            applicationIdSuffix ".internal"
            manifestPlaceholders = [applicationLabel: "[Internal] Shorebird Example"]
        }
        stable {
            dimension "track"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
        global {
            applicationIdSuffix ".gl"
            dimension "country"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
        playStore {
            applicationIdSuffix ".pl"
            dimension "country"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
        local {
            applicationIdSuffix ".lcl"
            dimension "country"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
    }

3- Run flutter build appbundle --flavor stablePlayStore
4- See error
Expected results
No errors should be show since the aab file were created
Actual results
$ flutter build appbundle --flavor stablePlayStore

Running Gradle task 'bundleStablePlayStoreRelease'...            1,347ms
Gradle build failed to produce an .aab file. It's likely that this file was generated under
/Users/erick/projects/shorebird/samples/flavors/build, but the tool couldn't find it.

Code sample
Since this is an issue in the CLI tool, I don't have any dart code, I am pasting here though the full build.gradle file which I added a section of it in the steps to reproduce:
plugins {
  id "com.android.application"
  id "kotlin-android"
  id "dev.flutter.flutter-gradle-plugin"
}

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

android {
    namespace "com.example.flavors"
    compileSdkVersion flutter.compileSdkVersion
    ndkVersion flutter.ndkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.example.flavors"
        // You can update the following values to match your application needs.
        // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
        minSdkVersion flutter.minSdkVersion
        targetSdkVersion flutter.targetSdkVersion
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

    flavorDimensions "track", "country"
    productFlavors {
        internal {
            dimension "track"
            applicationIdSuffix ".internal"
            manifestPlaceholders = [applicationLabel: "[Internal] Shorebird Example"]
        }
        stable {
            dimension "track"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
        global {
            applicationIdSuffix ".gl"
            dimension "country"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
        playStore {
            applicationIdSuffix ".pl"
            dimension "country"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
        local {
            applicationIdSuffix ".lcl"
            dimension "country"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
    }

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10"
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.2.1 23C71 darwin-arm64, locale en-BR)
    • Flutter version 3.19.5 on channel stable at /Users/erick/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (4 weeks ago), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/erick/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] Network resources
    • All expected network resources are available.

This came up from a customer of Shorebird, and we had to fix handling of related cases in shorebird's code, figured flutter_tool would also want to know about such.  See Erick's linked PR as to how he fixed things in Shorebird. 🤷

Thanks for the detailed report. A similar issue was fixed last year https://github.com/flutter/flutter/issues/65264 and was shipped in 3.13.0 stable release, but in latest versions, this is still occuring:
ake-icons flag when building your app.
Running Gradle task 'bundleStablePlayStoreRelease'...             172.3s
Gradle build failed to produce an .aab file. It's likely that this file was generated under /Users/dhs/Documents/NCFlutter/cli_issue/build, but the tool couldn't find it.
dhs@Dhss-MacBook-Pro cli_issue %

Works with building apk though:
dhs@Dhss-MacBook-Pro cli_issue % flutter build apk --flavor stablePlayStore

Running Gradle task 'assembleStablePlayStoreRelease'...            23.0s
✓ Built build/app/outputs/flutter-apk/app-stableplaystore-release.apk (18.5MB)
dhs@Dhss-MacBook-Pro cli_issue %

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.19.6, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.19.6 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (6 days ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.22.0-14.0.pre.67, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.22.0-14.0.pre.67 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1a905d508d (20 hours ago), 2024-04-21 06:44:23 -0400
    • Engine revision 75ca2195c9
    • Dart version 3.5.0 (build 3.5.0-83.0.dev)
    • DevTools version 2.35.0-dev.8
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Hi everyone! I had to dig up on this and I thought I would share my findings
I found this similar closed issue, which is the same thing but not involving multiple words and was fixed by this commit.
I understand from this code that the CLI is looking for aab files in all the place where the different versions of gradle could produce them, with each time a specific file name format .
For example :

myflavorRelease/app.aab for AGP <3.5.0,
myflavorRelease/app-myflavor-release.aab for AGP <4.1.0,
...
The commit adds support for multi dimension knowing that a app/build.gradle file with several flavorDimensions would produce a file name where dimensions are separated by a - (kebab case). So it takes the --flavor argument passed to the CLI and tries to separate the dimensions by writing it in kebab case.
For example with this gradle file:

flavorDimensions "track", "country"
    productFlavors {
        internal {
            dimension "track"
            applicationIdSuffix ".internal"
            manifestPlaceholders = [applicationLabel: "[Internal] Shorebird Example"]
        }
        stable {
            dimension "track"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
        global {
            applicationIdSuffix ".gl"
            dimension "country"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
        playStore {
            applicationIdSuffix ".pl"
            dimension "country"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
        local {
            applicationIdSuffix ".lcl"
            dimension "country"
            manifestPlaceholders = [applicationLabel: "Shorebird Example"]
        }
    }

the command flutter build appbundle --flavor stableGlobal --release asks gradle to create a bundle file which names it app-stable-global-release.aab, and then looks for the file app-{kebabCase(flavor)}-release.aab.
kebabCase(stableGlobal) gives stable-global so the CLI can find the file from Gradle ✅
the command flutter build appbundle --flavor stablePlayStore --release asks gradle to create a bundle file which names it app-stable-playStore-release.aab, and then looks for the file app-{kebabCase(flavor)}-release.aab.
kebabCase(stablePlayStore) gives stable-play-store and not stable-playStore so the CLI doesn't find anything ❌

And I think that's why our bug is occurring 😁

Also I adapted this temporary workaround, here is the script that works for me
You can add this at the very end of your app/build.gradle file until the issues is closed
// We need this block until https://github.com/flutter/flutter/issues/147261 is resolved
tasks.whenTaskAdded { task ->
    if (task.name.startsWith("bundle") && task.name.endsWith("Release")) {
        def renameTaskName = "rename${task.name.capitalize()}Aab"
        def aabdir = task.name.substring("bundle".length()).uncapitalize()
        def flavorEnvName = aabdir.substring(0,aabdir.length()-"release".length())
        tasks.create(renameTaskName, Copy) {
            // path to the aab file generated by Gradle in the cdapp/android/app/build/ folder
            def path = "${buildDir}/outputs/bundle/${aabdir}/"
            from(path)
            into("${buildDir}/../../../build/app/outputs/bundle/${aabdir}/")
            // name of the aab file to be found by flutter-tools in the cdapp/build/ folder
            rename '(.*)aab', "app-${flavorEnvName}-release.aab"
            duplicatesStrategy = DuplicatesStrategy.INCLUDE
        }
        task.finalizedBy(renameTaskName)
    }
}

Just after the aab file is generated by Gradle, this script copies it at one of the places where the flutter CLI would find it


Throttle snapshot transfers

Summary
Currently the leading master requests snapshot from followers every time the internal journal state machine triggers a snapshot.
Without proper throttling, this would mean constant snapshot transfer under heavy load.
It's ideal to delay requesting snapshot for some internal trigger,  so leading master's download bandwidth can be better utilized for serving user requests. Triggers could be:

Log index (unsnapshotted entry count > ~1M)
Log file count (more than ~5 journal files.)
Last download time (~5 mins)

I believe this issue is still valid. Keep it open for now.


Finish preparing for v0.6.0-rc2 release

What this PR does / why we need it:
This makes the remaining changes needed to release v0.6.0-rc2.

Thanks!
/lgtm


Add additional tests for Plan::isSamePerson

Closes #69

There is a fundamental understanding of commenting, utilising of testcases as well as variable and function naming at play here. This PR demonstrates that pinnacle of Software Engineering. As a reviewer, I am grateful for the opportunity to review such a masterpiece and I hope I would be able to incorporate such genius in my own work. LGTM. LFG.


learning rate

I train the project with pytorch 1.7.0
It show the below message,
Should I exchange the scheduler.step() (line 77) and optimizer.step() (line 106)?
/opt/conda/lib/python3.6/site-packages/torch/optim/lr_scheduler.py:136: UserWarning: Detected call of lr_scheduler.step() before optimizer.step(). In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step() before lr_scheduler.step().  Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate
"https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate", UserWarning)
Iter: 100

Hi! You may do it.

Thanks, I got it!


Update home-assistant-query-selector

This pull request updates the home-assistant-query-selector dependency to the latest version.

coverage: 100.0%. remained the same
when pulling e819ccbef1201b937e174dafa261fc062b8126fd on update_dependencies
into 3e4d30d7714bfb286298d93f5d4926d1b2ccde92 on master.


Computed Void is an Expected Param where Void is not

🔎 Search Terms
void, function parameters
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about void.

⏯ Playground Link
Playground Example
💻 Code
// I have an event map

interface Events {
    invalidate: void
    reassign: number
}

// It gets used in my application sorta like this:

function send<E extends keyof Events>(event: E, mesg: Events[E]) {}

function recv<E extends keyof Events>(event: E, cb: (mesg: Events[E]) => void) {}

// I assumed the above solution is equal to overloading

function o_send(event: "invalidate", mesg: void): void
function o_send(event: "reassign", mesg: number): void
function o_send(event: string, mesg: any) {}

function o_recv(event: "invalidate", cb: () => void): void
function o_recv(event: "reassign", cb: (mesg: number) => void): void
function o_recv(event: string, cb: (mesg: any) => void) {}

// But there seems to be an issue with the computed void function parameter :(

o_send("reassign", 32);
send("reassign", 32);

o_send("invalidate");
send("invalidate") // Expected 2 arguments, but got 1.

// More succinctly: this should not error...

comp_ck<void>();
function comp_ck<T>(t: T) {}

// ...because this doesn't

void_ck();
function void_ck(t: void) {}

🙁 Actual behavior
The computed void is expected in function parameters where the static void is not.
🙂 Expected behavior
I expected this to work the same way in both cases, whether void was computed or not.
Additional information about the issue
No response

Duplicate of #39600.

// I assumed the above solution is equal to overloading

That assumption is wrong. Keep in mind that E can be a union type as well. It's perfectly valid that the type for E is "invalidate" | "reassign". That also means it's possible to provide an invalid mesg for the event.

@MartinJohns Yes that is correct, I do account for this through these
// helper types
// https://stackoverflow.com/questions/50374908/transform-union-type-to-intersection-type
type UnionToIntersection<U> =
	(U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never

// https://stackoverflow.com/questions/53953814/typescript-check-if-a-type-is-a-union
type IsUnion<T, U extends T = T> =
    (T extends any ?
    (U extends T ? false : true)
        : never) extends false ? false : true

export type OneOf<T, K> = IsUnion<K> extends false ? keyof T : never;

recv<E extends OneOf<Events, E>>(event: E, cb: (mesg: Events[E]>) => void) {}

I meant equal in the context of the problem, which is how they handle void.

UnionToIntersection has been called an I'll formed type


az next error

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az next
Errors:
cannot import name 'RecommendationError'
Traceback (most recent call last):
Temp\pip-unpacked-wheel-rpp6y7vh\knack\cli.py, ln 215, in invoke
cli\core\commands\__init__.py, ln 558, in execute
azure\cli\core\__init__.py, ln 478, in load_arguments
cli\core\commands\__init__.py, ln 315, in load_arguments
Temp\pip-unpacked-wheel-rpp6y7vh\knack\commands.py, ln 106, in load_arguments
azure\cli\core\__init__.py, ln 787, in default_arguments_loader
azure\cli\core\__init__.py, ln 827, in get_op_handler
...
<frozen importlib._bootstrap>, ln 665, in _load_unlocked
<frozen importlib._bootstrap_external>, ln 678, in exec_module
<frozen importlib._bootstrap>, ln 219, in _call_with_frames_removed
cliextensions\next\azext_next\custom.py, ln 8, in <module>
    from azure.cli.core.azclierror import RecommendationError
ImportError: cannot import name 'RecommendationError'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az next

Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.17.1

Extensions:
next 0.1.0

Additional Context

Please submit the relevant issue of "az next" to cli-recommendation repo

Please submit the relevant issue of "az next" to cli-recommendation repo

@zhoxing-ms done, https://github.com/hackathon-cli-recommendation/cli-recommendation/issues/4 , thank you.

@zhoxing-ms done, https://github.com/hackathon-cli-recommendation/cli-recommendation/issues/4 , thank you.


Question: How do i trigger a component method while i'm inside static navigationOptions?

#145 has a few ideas.

Closing in favor of #145


Removed the extra parameter $args['id']

This is a fix for the issue of missing label when generating a radio field.

Going to merge this manually to avoid conflicts with new formatting


What about Android devices?

Is your feature request related to a problem? Please describe.
It is possible to use node.js on android devices.  https://github.com/sjitech/build-nodejs-for-android
Describe the solution you'd like
Expand list of systems to Android.

https://nodejs.org/api/process.html#process_process_platform
The value 'android' may also be returned if the Node.js is built on the Android operating system. However, Android support in Node.js is experimental.

https://www.npmjs.com/package/termux

@ldittmar81 : thank you! Will to figure out, how I can implement features for this. Will also need set up an android device to test it ;-)

Maybe something like this? https://www.osboxes.org/android-x86/

@ldittmar81 thank you for this link! was not aware of that ;-)

Here is a docker image with nodejs 8: https://github.com/beevelop/docker-android-nodejs

Has anyone discerned what first steps are needed to implement this?


switch to react-style

we should switch from js-style to react-style. that project has more momentum.

I believe it's better to remove js-stylesheet at all, and use normal BEM class styles. I can make a PR (removing not creating :)).


Support for additional comment styles

Search Terms
triple slash comments, c# style documentation, comment style
Problem
TypeDoc doesn't support relatively common comment styles
Suggested Solution
Add a new option: commentStyle which determines how TypeDoc searches for comments:

JSDoc (default) - /** ... */
Block - /* ... */
TripleSlash - /// ...
All - //, ///, /* */, /**

This suggestion was previously rejected (see #963), but my stance on it has completely changed having used a language which uses /// comments. They are much nicer for dealing with embedded codeblocks that contain block comments.
At the same time, for JSDoc and Block style comments, this should add support for the escaping mechanism used by TSDoc.
Cross linking:

https://github.com/microsoft/tsdoc/issues/160
https://github.com/microsoft/tsdoc/issues/166
https://github.com/microsoft/TypeScript/pull/39930
#963

this should add support for the escaping mechanism used by TSDoc.

I looked at implementing this today, and... there still isn't consensus on the TSDoc side. Using + to continue a line seems somewhat useful, but since marked won't add <br>, in most cases you can just do this...
For now, I'm just going to implement support for *\/ being parsed as */. If someone asks for support for the + line continuation, I'm certainly not opposed to it.
See: https://github.com/microsoft/tsdoc/issues/166


fix(mdl-select): make onFocus and onInputFocus public

Fixes #1014

Coverage remained the same at 97.552% when pulling 53257eb3aa296113d7a4e7539a06cb022070438a on Pix4D:master into 0b543433f40a97754cdd17dd8301617a75c2a6c9 on mseemann:master.

published @angular-mdl/select:0.11.1


White Boots - Gaining White Boots through the debug console added it with a counter of 80

Ths happened in a second modded run playing as a Mystic. I died, started a new one and got the relic through the console after the 1st fight.

Also, gaining it through the Blue Jade custom modifier added a White Boots with a counter of 153. Probably the problem is that the loaded value is not set to zero when the relic is obtained... but I have to check if this creates problems when save/loading.

Fixed in other issue.


restore deleted rita library

restore deleted rita library (not sure why this was deleted in the first place)
please check @outofambit @davepagurek

Sure, but I at least was never asked. And I see other libraries missing and wonder if those authors were queried.
Of course its not your fault, but I have to say its frustrating to spend so much time on such things and then find them simply removed without so much as a heads-up...

We tried to send an email to everyone who submitted a library before, but I feel like there's a good chance that ends up in spam if the Google gods aren't feeling it on a given day. Sorry it never got to you!

Again, not trying to be rude, but there aren't so many people involved here - it seems a bit more of an effort could have been made (library authors are relatively easy to find on the web)

I hear you. It was a conscious decision to not send stuff to authors beyond that initial email before getting the site out to save on organizational time with all the other moving parts (I'm sure you've noticed other bugs on the new site that we're still in the process of fixing), so we take responsibility for that. Sorry it's affected you!


npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>

package.json#L44
  "peerDependencies": {
    "react": "0.x"
  }

This doesn't match with 0.14.0-rc1 since npm doesn't versions containing [a-Z] characters as releases. (as long as I can remember)
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ^0.14.0-beta3 || ^0.14.0-rc1
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ^0.14.0-rc1
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>

@Olical why not just change to "^0.14.0"?
https://github.com/rackt/react-router/issues/2194

Because then the moment 0.15 comes out we have the same issue again. I
don't depend on the React API too heavily, we should be able to use 12, 13,
14 and later. I don't see why * would be a problem for now.
On 8 Oct 2015 7:49 am, "Chen-Heng Chang"<EMAIL_ADDRESS>wrote:

@Olical https://github.com/Olical why not just change to "^0.14.0"?
rackt/react-router#2194
https://github.com/rackt/react-router/issues/2194
—
Reply to this email directly or view it on GitHub
https://github.com/Olical/react-faux-dom/issues/12#issuecomment-146436109
.

@Olical But maybe one day you will use some newer React API, or do this when it occurs.

I'm going to change this to use * for now because new versions will forever have this issue. If we find a version that's incompatible then I'll deal with that as it arises. But that's far less likely.


dep version

It would be helpful to know which version of dep I'm using when reporting issues. Right now the best I can do is use go log -1 in the golang/dep folder.
That doesn't always work though, as I recently failed to install the new version of dep.
Usually I'd use -ldflags with git rev-parse --short HEAD and such when building the tool, likely with a Makefile to do the build. That isn't ideal for go get use though. Suggestions?

We don't have versions, nor (IMO) should we, until we get a bit more stable.

Thanks @Mattn for giving it a go. I was thinking more along the lines of the git sha in the binary to start, along with an issue template. Fine by me to hold off though.

I actually agree with @nathany's suggestion of at the very least adding the git sha that the binary was built off of as the version for now. I know personally that using a binary and then having to trace back what commit it was built off of is slightly painful. @peterbourgon is there any real reason not to include at least the sha or is that a reasonable compromise here?

Yes, it's not possible to embed a version or git SHA and still be able to fetch the client with go get. At some point we'll do versioned releases but IMHO it doesn't make sense to opt-in to that extra tedious process until we at least stabilize the file formats.

File formats are stabilized, v0.1.0 release is rolled - we can start thinking about this now 😄

Do we have a preferred approach to how versions are marked?
go get won't allow users to specify versions. Do we have plans for alternative install methods?

I found 2 PRs related to this (I believe there is a third one but I'm not able to relocated it):
#51 uses Make and write version to text file, it prints the version, the commit sha1, GOOS & GOARCH.
#210 has version as a const within the command .go file

Versions are marked as tags in the repo of the form vX.Y.Z.
http://semver.org/
go get does not respect versions but dep ensure does when it populates
the vendor folder.
On Sat, May 27, 2017 at 8:03 PM, Ibrahim AshShohail <
<EMAIL_ADDRESS>wrote:

Do we have a preferred approach to how versions are marked?
go get won't allow users to specify versions. Do we have plans for
alternative install methods?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/dep/issues/209#issuecomment-304467527, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAG_TVbDESB0z65o4hGI1xoKvA-PsRSIks5r-GWEgaJpZM4LzUrl
.

Oh, lord, I just realized I answered a question you didn't ask. Please
disregard :facepalm:
On Mon, May 29, 2017 at 8:57 AM, Peter Bourgon<EMAIL_ADDRESS>wrote:

Versions are marked as tags in the repo of the form vX.Y.Z.
http://semver.org/
go get does not respect versions but dep ensure does when it populates
the vendor folder.
On Sat, May 27, 2017 at 8:03 PM, Ibrahim AshShohail <
<EMAIL_ADDRESS>wrote:

Do we have a preferred approach to how versions are marked?
go get won't allow users to specify versions. Do we have plans for
alternative install methods?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/dep/issues/209#issuecomment-304467527, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAG_TVbDESB0z65o4hGI1xoKvA-PsRSIks5r-GWEgaJpZM4LzUrl
.

It's totally ok. 🤣🤣🤣 I can see how you might misunderstand my question. 🤣🤣🤣

Just wanted to bring this up again. v0.2.0 has been released. IMHO it makes sense now (especially since more and more people are switching to dep) to introduce a version flag for dep.

yeah, we need to do...something. unfortunately, we're still victims of the same basic issue that everyone else has - having a version flag behave correctly requires having a makefile, or some other strategy that's incompatible with go get.
i'd love to have someone champion getting this done, with the understanding that it really being done involves not just creating a subcommand/flag/whatever, but also updating our CI, our docs, and our github templates accordingly.


layersupport + freezable

Thanks so much for all your work on this.  Is there any way to use layersupport and freezable together/simultaneously?

Hi,
Thank you for your message.
Indeed it looks like the naming collision on _originalOnAdd prevents the simultaneous integration of both plugins.
By using a workaround to prevent this naming collision, all seems the work correctly:
// Modify _originalOnAdd before LayerSupport kicks in, in order to prevent naming collision.
L.MarkerClusterGroup.include({
  // Original onAdd is already stored in _originalOnAdd and replaced in onAdd by Freezable plugin.
  _originalOnAddFreezable: L.MarkerClusterGroup.prototype._originalOnAdd,

  onAdd: function(map) {
    var frozenZoom = this._zoom;

    // Use the new name for the original onAdd.
    this._originalOnAddFreezable(map);

    // Rest of method is unchanged compared to Freezable plugin.
    if (this._frozen) {

      // Restore the specified frozenZoom if necessary.
      if (frozenZoom >= 0 && frozenZoom !== this._zoom) {
        // Undo clusters and markers addition to this._featureGroup.
        this._featureGroup.clearLayers();

        this._zoom = frozenZoom;

        this.addLayers([]);
      }

      // Replace the callbacks on zoomend and moveend events.
      map.off('zoomend', this._zoomEnd, this);
      map.off('moveend', this._moveEnd, this);
      map.on('zoomend moveend', this._viewChangeEndNotClustering, this);
    }
  }
});

Live demo: http://playground-leaflet.rhcloud.com/rono/1/edit?html,output
Versions:

Leaflet 1.2.0
Leaflet.markercluster 1.1.0
Leaflet.MarkerCluster.Freezable 0.1.1
workaround
Leaflet.MarkerCluster.LayerSupport 1.0.5

Perfect, thanks so much for the response and more importantly thanks for your efforts.


Incompatible forks | Clean Git History

Hi Jan,
I was using your https://github.com/getnamo/tensorflow-ue4 inside my project.
Which required
https://github.com/getnamo/UnrealEnginePython/
instead of
https://github.com/20tab/UnrealEnginePython/
Now I already had my own fork, but since the changes were small I just did a hard reset to your version and redid the changes.
After some time I upgraded my Unreal Engine. Of course this did not work with your specific fork. So I disabled the tensorflow plugin and switched back to the original '20tab/UnrealEnginePython/'. The main reason for switching back was that Robert (20tab) pulled my changes and my tensorflow code was not yet fully implemented.
Now I would like to use Tensorflow, but it seems your fork is not compatible with the original master, check:
https://github.com/20tab/UnrealEnginePython/compare/master...getnamo:master
Side Note: To avoid future headache (and typing commands) I automated updating my fork so that it is exactly same as 20tab, by using a cron command with:
git pull 20tab master --rebase
git push
(20tab is my remote name, use 'remove -v' to check your remote name)
Now I saw your comment here about creating a clean pull request:
https://github.com/20tab/UnrealEnginePython/pull/539#issuecomment-432776153
And so I wondered if you would be willing to cleanup your fork as well ^^.
So in that case we can use merge / fast forward again. (and perhaps create a pull on 20tab fork with all your changes, so that all forks stay in sync)
Looking at the compare
https://github.com/20tab/UnrealEnginePython/compare/master...getnamo:master
It seems that sometimes you pull / merge within GitHub.com (e.g it shows 'verified'), while other times you did it using a git cmd.
Personally I stopped using GitHub.com pull / merge, since it contaminated the history with 'Merge branch 'master' of  into '.
Now I'm not a git guru by any means, but I think it should be quite easy to fix.

by using a git rebase -i ( from before the changes).
Or something specified here:
http://sethrobertson.github.io/GitFixUm/fixup.html

Regard,
TQwan
Note: Sorry for the long post.

Sorry for a late reply, this issue somehow flew under my radar completely.
Let me talk about my motivations for the fork first so you can figure out what would suit you best. The main changes done in this fork is largely to

Allow pip to auto-install dependencies. This allows tensorflow updates to be a simple update of https://github.com/getnamo/tensorflow-ue4/blob/master/Content/Scripts/upymodule.json
Encapsulate/embedd everything so it doesn't mess with other python installations in your system.
Related to 1) ensure that other plugins can specify their dependencies, scripts, and content without needing to be directly placed in a project or the unreal python plugin content folder. In this case the tensorflow plugin has specific tensorflow python scripts that are embedded under the plugin content/scripts and it all gets copied and packaged correctly and you could feasibly write another dependent plugin without changes to this unrealenginepython fork.
Ensure all tensorflow tasks can be called on a background thread and returned with results on the gamethread, allowing minimal impact on gamethread.
Provide scripts that handle some hard parts e.g. pip, imports, threads, and additional startup, found here: https://github.com/getnamo/UnrealEnginePython/tree/master/Content/Scripts

The things that break the tensorflow plugin are mainly the 3, 4, and 5 changes. If you can replace all the differing dependencies found in https://github.com/getnamo/tensorflow-ue4/blob/master/Content/Scripts/TensorFlowComponent.py you should be able to setup your own fork/change to work with the rest of the plugin. Specifically it's upythread.py for background threading and the custom c++ based python function ue.run_on_gt which handles callbacks. The embedding (2) is not strictly necessary and some devs have changed things to point to their main python installation without issue and conversely pip (1) installation can be handled manually if desired.
Checking your link https://github.com/20tab/UnrealEnginePython/compare/master...getnamo:master, it appears the two are currently compatible. I generally just periodically sync with the master, but I'm not convinced all my changes make sense for the upstream fork. It would require some splitting to figure out what minimal changes would make sense to merge upstream without poluting it with opinionated changes such as embedding or plugin script isolation. If the upstream comes up with better suited solutions to 1-5, I'll gladly replace the workaround ones used here.
I'm open to suggestions, but I'll likely default to the simpler path for the moment due to time limitations.


Apply Aiven-specific changes on top of upstream 4.1.5

Changes

https://github.com/apache/cassandra/blob/cassandra-4.1.5/CHANGES.txt
https://github.com/apache/cassandra/blob/cassandra-4.1.4/CHANGES.txt

Dropped commit

https://github.com/aiven/cassandra/pull/21/commits/158a1778559fb07819b4eb586d4436d2d51ab20c  (obsolete)

Test runs
(1)
Warning in org.apache.cassandra.cql3.MemtableSizeTest

Expected heap usage close to 75.529MiB, got 71.597MiB.
https://issues.apache.org/jira/browse/CASSANDRA-16684
https://issues.apache.org/jira/browse/CASSANDRA-17298
<EMAIL_ADDRESS>https://github.com/apache/cassandra/commit/3875fd26ea3c16e57bf08454d570e3359d2ce5fc
https://butler.cassandra.apache.org/#/ci/upstream/compare/Cassandra-4.0/cassandra-4.0

testSize[skiplist] (org.apache.cassandra.cql3.MemtableSizeTest) failed (warning)
junit.framework.AssertionFailedError: Expected heap usage close to 75.526MiB, got 71.473MiB.

	at org.apache.cassandra.cql3.MemtableSizeTest.testSizeFlaky(MemtableSizeTest.java:149)
	at org.apache.cassandra.Util.runCatchingAssertionError(Util.java:696)
	at org.apache.cassandra.Util.flakyTest(Util.java:721)
	at org.apache.cassandra.cql3.MemtableSizeTest.testSize(MemtableSizeTest.java:81)

Based on CASSANDRA-17298 they changed the memtable_allocation_type to heap_buffers (in the unit test).
As  a result the test now fails in 4.0 and 4.1. Only the test is broken.

https://aiven-io.slack.com/archives/C052RDBD1TP/p1718867347237329?thread_ts=1718866820.372779&cid=C052RDBD1TP

increase the threshold testSize[skiplist] (org.apache.cassandra.cql3.MemtableSizeTest)

@sjamgade
During the daily the suggestion was to keep the flaky test untouched, as long as we get the build.
The reason why the test fails

By default we use heap_buffers in cassandra.yaml, but the unit tests were switched for testing to offheap_objects. This needs to be reverted. We should be testing with heap_buffers on all branches, we do it only in cassandra-3.0 at the moment.
It was discovered that unit tests were running with memtable_allocation_type: offheap_objects when we ship C* with heap_buffers.
So we changed that in CASSANDRA-19326, now we test with memtable_allocation_type: heap_buffers. As a result, this test now fails all the time on 4.0 and 4.1.

The severity is low (CASSANDRA-17298)


Design a way for a container contract to react to changes to its children

For example, given a container contract, we can query its children and get back Contract classes. If we run functions on them, and re-build them, the parent contract doesn’t know about such changes, and re-building the parent contract means that the changes will get discarded because the raw contract tree was never updated.

Closing stale issues


Make Tern tooltips better readable

Increase timeout of the tooltip clear() function to prevent fast disappearing of
the Tern tooltip, which could make clicking on the [doc] link hard.

The original file tern.js comes from CodeMirror https://github.com/codemirror/CodeMirror/blob/master/addon/tern/tern.js I would like to avoid modifying it, or otherwise you could create a PR to the CodeMirror?

PR to CM opened: https://github.com/codemirror/CodeMirror/pull/3055

@cpetrov could you create a PR with CM changes please. Thanks.


new entropy modifications not working ?

I have tested 0.5.0 and 0.4.3, with same dice roll, they produce different raw binary entropy but same bip39 mnemonic.
For example :
dice roll :<PHONE_NUMBER>1234561234123456123412345612341234561234<PHONE_NUMBER> five times)
new version binary :
01101101000<PHONE_NUMBER>1<PHONE_NUMBER>1<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>1<PHONE_NUMBER>0 00110110
old version binary :
01001000111<PHONE_NUMBER>1<PHONE_NUMBER>1<PHONE_NUMBER>1<PHONE_NUMBER>1<PHONE_NUMBER>1<PHONE_NUMBER>0<PHONE_NUMBER>1<PHONE_NUMBER>1<PHONE_NUMBER>0<PHONE_NUMBER>0 10010110
But 24 words bip39 is the same for both : reduce prefer put marriage reform genuine carbon diagram lounge night grace put brown loud cover chuckle plug open very oval cupboard scene album receive

Any selection of entropy into a fixed number of words will hash the entropy string as entered (ie not hash the binary conversion). This happens on L1702 of index.js. The hash result is then used as the binary (and truncated if needed).
D6 generates log2(6) ~2.58 bits of entropy per roll. It's most sensible to simply take the exact entropy as entered (which may overall represent some non-integer amount of entropy) rather than the conversion into binary entropy.

Ok, thank you for the clarification. Closing....


AAR Android Studio error MessageLiteOrBuilder

Hi team,
I want to extract the face detection landmark (eyes, mouth, nose) in Android Studio with generated AAR. I only added output stream DETECTIONS in face_detection_mobile_gpu.pbtxt as below:
output_stream: "DETECTIONS:output_detections"
The AAR was generated successfully. However when I tried to call PacketGetter or any method in Detection class (like getScoreList, getLabelList), error raised in Android Studio build output display:
error: cannot access MessageLiteOrBuilder
List labels = detection.getLabelList();
cannot access MessageLiteOrBuilder class file for com.google.protobuf.MessageLiteOrBuilder not found
cannot access GeneratedMessageLite class file for com.google.protobuf.GeneratedMessageLite not found
Please advise.
Thank you.

Sorry my bad, need to add protobuf dependency in gradle:
implementation 'com.google.protobuf:protobuf-lite:3.0.0'
thanks


Warnings Change

Dont know if this is a mosek thing, but it would be great if:
Warning: The variable with index '12' has only positive coefficients akj.
 The problem is possibly ill-posed.

actually told me the variable it is having a problem with rather than an index.

Pretty sure you should be seeing "$VAR is missing a lower bound" in that
case as well. If not try:
gp.genA()
gp.checkbounds()

Yea, so I pulled and this is updated.  It would be nice if I could also
turn off the warnings such as that posted above however...  Right now it is
printing both.
On Wed, Feb 18, 2015 at 3:32 PM, bqpd<EMAIL_ADDRESS>wrote:

Pretty sure you should be seeing "$VAR is missing a lower bound" in that
case as well. If not try:
gp.genA()
gp.checkbounds()
—
Reply to this email directly or view it on GitHub
https://github.com/convexopt/gpkit/issues/163#issuecomment-74942099.

--
Cody J. Karcher
Graduate Student
Department of Aeronautics and Astronautics
Massachusetts Institute of Technology

run it as gp.solve(printing=False) :)
On Wed, Feb 18, 2015 at 3:34 PM, cjk12<EMAIL_ADDRESS>wrote:

Yea, so I pulled and this is updated. It would be nice if I could also
turn off the warnings such as that posted above however... Right now it is
printing both.
On Wed, Feb 18, 2015 at 3:32 PM, bqpd<EMAIL_ADDRESS>wrote:

Pretty sure you should be seeing "$VAR is missing a lower bound" in that
case as well. If not try:
gp.genA()
gp.checkbounds()
—
Reply to this email directly or view it on GitHub
https://github.com/convexopt/gpkit/issues/163#issuecomment-74942099.

--
Cody J. Karcher
Graduate Student
Department of Aeronautics and Astronautics
Massachusetts Institute of Technology
—
Reply to this email directly or view it on GitHub
https://github.com/convexopt/gpkit/issues/163#issuecomment-74942464.

Oh and if your're seeing the MOSEK warnings that's a MOSEK bug. Probably
another section of their code that doesn't properly print to the stream
buffer.
On Wed, Feb 18, 2015 at 3:39 PM, Edward Burnell<EMAIL_ADDRESS>wrote:

run it as gp.solve(printing=False) :)
On Wed, Feb 18, 2015 at 3:34 PM, cjk12<EMAIL_ADDRESS>wrote:

Yea, so I pulled and this is updated. It would be nice if I could also
turn off the warnings such as that posted above however... Right now it is
printing both.
On Wed, Feb 18, 2015 at 3:32 PM, bqpd<EMAIL_ADDRESS>wrote:

Pretty sure you should be seeing "$VAR is missing a lower bound" in that
case as well. If not try:
gp.genA()
gp.checkbounds()
—
Reply to this email directly or view it on GitHub
https://github.com/convexopt/gpkit/issues/163#issuecomment-74942099.

--
Cody J. Karcher
Graduate Student
Department of Aeronautics and Astronautics
Massachusetts Institute of Technology
—
Reply to this email directly or view it on GitHub
https://github.com/convexopt/gpkit/issues/163#issuecomment-74942464.

I was printing on False, so I dont think that's on my end.  May be a Mosek
bug.  I have no idea how to check that out.
On Wed, Feb 18, 2015 at 3:41 PM, bqpd<EMAIL_ADDRESS>wrote:

Oh and if your're seeing the MOSEK warnings that's a MOSEK bug. Probably
another section of their code that doesn't properly print to the stream
buffer.
On Wed, Feb 18, 2015 at 3:39 PM, Edward Burnell<EMAIL_ADDRESS>wrote:

run it as gp.solve(printing=False) :)
On Wed, Feb 18, 2015 at 3:34 PM, cjk12<EMAIL_ADDRESS>wrote:

Yea, so I pulled and this is updated. It would be nice if I could also
turn off the warnings such as that posted above however... Right now it
is
printing both.
On Wed, Feb 18, 2015 at 3:32 PM, bqpd<EMAIL_ADDRESS>wrote:

Pretty sure you should be seeing "$VAR is missing a lower bound" in
that
case as well. If not try:
gp.genA()
gp.checkbounds()
—
Reply to this email directly or view it on GitHub
<https://github.com/convexopt/gpkit/issues/163#issuecomment-74942099
.

--
Cody J. Karcher
Graduate Student
Department of Aeronautics and Astronautics
Massachusetts Institute of Technology
—
Reply to this email directly or view it on GitHub
https://github.com/convexopt/gpkit/issues/163#issuecomment-74942464.

—
Reply to this email directly or view it on GitHub
https://github.com/convexopt/gpkit/issues/163#issuecomment-74943514.

--
Cody J. Karcher
Graduate Student
Department of Aeronautics and Astronautics
Massachusetts Institute of Technology

@cjk12, can you please re-paste the offending warning message here, now that you have pulled?

P_climb has no lower bound
Pi_climb has no upper bound
Warning: The variable with index '130' has only positive coefficients akj.
 The problem is possibly ill-posed.
.
Warning: The variable with index '461' has only negative coefficients akj.
 The problem is possibly ill-posed.

Seems a little redundant?

Thanks. That indeed looks like a mosek bug. I imagine @bqpd can hack their code again, but this is low priority for right now. Thanks for pointing it out!

Fixed in 2693c456472c3bfbcc643d5d94e1e9fec2c5d3ff


API: make functionality for Authentication and authorization.

API: make functionality for Authentication and authorization.

[x] list of endponts
[x] methods
[x] security scheme
[x] response: scheme - success
[x] errors (example:authorization with 401 error "E-mail or/and password is invalid")

403 forbidden
404 wrong resource
500+

more information:

403
[401](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401#:~:text=The HyperText Transfer Protocol (HTTP,credentials for the requested resource.)
if frontend sending e-mail or/and password that not existing in database then return 401 error
if frontend sending valid e-mail/password than generate and save token then send him to user for further authentication. Token length: 180
if frontend sending logout request than delete auth token

@chemeshuggah where is result of "make"? :)

api link in stoplight:
link


Ignored catch parameter

Fixes #17467

Looks great other than the unique identifier change I suggested (which may lead you to remove some tests relating to reserving these identifiers).
I think @rbuckton should review the changes.

(Also, thanks for the PR @tinganho, it's always awesome to see you back!)

Sounds like you want createTempVariable, not createUniqueName. Is that accurate @rbuckton?

Yes, specifically createTempVariable(undefined).

(Thanks @DanielRosenwasser , I have been quite busy for a while, so I haven't have time to participate so much here. Though, working with TS projects all day 😄 )

I now, removed the named variable ignoredCatchParameter, it made more sense to make the suggested temporary unique variable. So I cleaned up diagnostics, tests and some other unnecessary stuff.

@weswigham I think I know why, it messes up checking with the lines after it:

I updated the code with recursive visits.

@weswigham I think I know why, it messes up checking with the lines after it:

invalidTryStatements.ts covers grammar errors handled in the checker. invalidTryStatements2.ts covers parse errors. I think invalidTryStatements2.ts is a better place for try {} catch () {}.

invalidTryStatements.ts covers grammar errors handled in the checker. invalidTryStatements2.ts covers parse errors. I think invalidTryStatements2.ts is a better place for try {} catch () {}.

I added both the test cases try { } and try { } catch { } in invalidTryStatements2.ts.

🔔

Looks great! Thanks for the contribution!

Thanks for the great review!