Balance Suggestion: Boost Tritium Production in Solar Neutron Activators

The difference between tritium and deuterium production is rather heavily weighted in favor of Deuterium by a factor of roughly 10:1, more if you count day/night cycle.  This bottleneck is primarily in the fact that Solar Neutron Activators are extremely slow.  This leaves a reactor build requiring a ridiculous number of SNAs in order to match production between the two gasses.
Since SNAs are not particularly difficult to build, and since there is an existing bottleneck in brine -> lithium production, further bottlenecking the process with slow SNAs really just pads out the build needlessly, especially since they're sunlight dependent, which doubles the number you need to around 20 per deuterium chain.
Further, needing 20 SNAs per deuterium production chain will potentially be a lag contributor. Considering that running a reactor full-bore will require around 5 individual deuterium chains, that's 100 SNAs on top of the brine production towers and condensitrators you would need to build to keep lithium production up high enough to deal with night, weather, and non-ideal biomes.  With each SNA having associated conduit as well as their own tick load, if more than one or two people on a server try to build a fully-active reactor, it's going to add an not-insignificant amount of load on a server.  And, regardless of apparent lack of practicality of doing all that, people will still build it all.
It seems more reasonable and server friendly to boost the SNA production and leave the bottleneck as the one that exists at the lithium production level, requiring at most 1 or 2 SNA per lithium producing Solar Evaporation Tower pair.

Scaled up by a factor of 4.


Impossible to install Microsoft Defender for Cloud connector

Describe the bug
When installing the Microsoft Defender for Cloud connector in Sentinel, only the legacy connector installs successfully. The preview one, that Microsoft recommends is not successful.
To Reproduce
Steps to reproduce the behavior:

Go to content Hub
Search for Microsoft Defender for Cloud
Install the connector
See error when refreshing the connector page

Expected behavior
The preview connector should be installed along with the legacy one without issues.
Additional context
Error mesage:
The following codeless connectors are not valid, and will not be displayed: Connector display name: Tenant-based Microsoft Defender for Cloud (Preview), ConnectorId: /subscriptions/providers/Microsoft.SecurityInsights/dataConnectors/MicrosoftDefenderForCloudTenantBased, ConnectorKind: StaticUI, Error: Error: staticConnectorModel for microsoftdefenderforcloudtenantbased was not found in static connectors list. Try to update the solution, if there is an update available

Hi @ViktorArnekvist, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 19-04-2024. Thanks!

This also occurs when trying to deploy the connector as an ARM template and is not just limited to using the portal.

Hi @v-sudkharat I get the error both when using the ARM template method and adding through the portal.

Hi @ViktorArnekvist / @liam-stevenson / @lwardleACE, We have checked on this issue and the fix for this issue will get in upcoming solution version (3.0.2).
Meanwhile, to get unblock you from this issue could you please custom deploy the Solution MainTemplate and check whether your issue get resolved.
Sharing the MainTemplate and Custom deployment steps-
Custom Deployment -  Custom Deployment of the Solution - Copy.docx
Main template: - mainTemplate.json
Thanks!

Hi! @v-sudkharat
Thanks for the proposed solution. I was successfully able to deploy the resource with the ARM-template. I can see the connector now under Data Connectors. I was also able to connect the connector successfully after installation. I have also tested the incident/alert-flow and incidents now show up as intended.
Thanks!

Hi,
I'm using the code from "All-in-One"
there is a reference to a template with a guid.
What is the new artifact reference?
templateLink": {
"uri": "https://catalogartifact.azureedge.net/publicartifacts/azuresentinel.azure-sentinel-solution-microsoftdefenderforcloud-7f61aa4d-8e77-42b6-93f7-e78561b05e98-azure-sentinel-solution-microsoftdefenderforcloud/Artifacts/mainTemplate.json",
"contentVersion": "<IP_ADDRESS>"
Thanks

@ViktorArnekvist, So as your issue is resolved, can we close this issue from GitHub? 3

@v-sudkharat You can close the issue from my side.

@ViktorArnekvist, Thank you for confirmation. Closing this issue. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.

Hello, I just installed Solution 3.0.2 but have the same issue. Can this be checked please?


Blocks HA launch when spa connection is down

My in.touch2 box is pretty far from my tub at the moment (waiting for the ground to thaw to continue construction, at which point there will be network out to a cabinet near the tub). It works most of the time but sometimes disconnects.
This morning I needed to restart HA and it happened that the tub connection was down. The Gecko integration seemed to totally block HA from finishing startup. I waited several minutes and it was still blocking startup. Unplugging the in.touch2 to take it offline temporarily solved the issue. Seems like perhaps there needs to be a timeout added somewhere in the initialization code.
Thanks for the great work!

I've left my spa offline for 2 months without any issues to with HA, it does log that its taking a long time though but not stopping boot process.

Interesting. I wonder if it's something specific to a weak connection. E.g. it's able to begin the connection process in a way that doesn't happen if the spa is totally offline. Either way, I'm fine for now as I just moved the hub upstairs where it has a better connection.


Same Form in different react components: how to wrap values in different subprops?

Hi,
i am using redux-form for a big form so I divided it into different React components. It works just great but when my onSubmit function receives the data, it does in a single big object.
What i need is to have properties grouped by an intermediate property with a custom name, maybe defined in the component where that property was born
EXAMPLE:
onSubmit={(values) => console.log(values)}

what i got:
values = {
  field1: 'value1',
  field2: 'value2',
  field3: 'value3'
};

what i would need:
values = {
  form1: { field1: 'value1' },
  form2: { field2: 'value2' },
  form3: { field3: 'value3'}
};

thank you!

It seems like FormSections are exactly what you want.
http://redux-form.com/6.5.0/docs/api/FormSection.md/
In the future, please ask at StackOverflow, using the redux-form tag.
This is because the GitHub issue tracker is better suited for discussions related to bugs and improvements of Redux Form.
Meanwhile, StackOverflow is better at keeping popular questions visible, while separating feature-related questions from help-related questions.
Thanks for using Redux Form!


find a bug

    var tri = [ [200,-200,200], [200,200,200],[-200,-200,200]];
    var pt = [0,0,400];
    var dir = [0.39994618020143263, -0.2542030806365038, -0.8805815389486623]

     console.log(intersect([], pt, dir, tri));

return [90.83683055153155, -57.735273655634465,<PHONE_NUMBER>0000003]
but change the vertices order such as below code
    var tri = [ [200,200,200], [200,-200,200],[-200,-200,200]];
    var pt = [0,0,400];
    var dir = [0.39994618020143263, -0.2542030806365038, -0.8805815389486623]

     console.log(intersect([], pt, dir, tri));

return null

The Möller–Trumbore intersection algorithm does require that the triangle vertices be passed in counter-clockwise order. I used the following code to sort on the z-axis before attempting to intersect the triangles. (x is index 0, x is index 1, y is index 2). This isn't fully tested but it's solved my issues with ray triangle intersections.
  sortVerticesCounterClockwise : function(vertices, origin) {

    origin = origin || [0, 0, 0];
    vertices.sort(function(a, b) {
      var value1 = Math.atan2(a[2] - origin[2], a[0] - origin[0]);
      var value2 = Math.atan2(b[2] - origin[2], b[0] - origin[0]);
      if (value1 > value2) {
        return 1;
      } else if (value1 < value2) {
        return -1;
      } else {
        return 0;
      }
    });
  }

@philmaker1
i had solved it by the blow pr..
https://github.com/substack/ray-triangle-intersection/pull/2/commits/57c3ead8fe76e9a647b3a684f8627fddec48f64f


Bibliography entries are displayed incorrectly

Description
The bibliography entries are displayed incorrectly (see screenshots).
There are four issues:

There should be no colon after the last authors name.
There should be no semicolon between several author names.
There should not be a dot at the end of an entry.
The brackets should not be angular but round.

How to reproduce
Steps to reproduce the behavior:

Add an bibliography entry.
For example:

@book{testmanagement-droste-merz,
    author      = {Oliver Droste and Christina Merz},
    title       = {Testmanagement in der Praxis},
    shorttitle  = {Testmanagement in der Praxis},
    year        = {2019},
    publisher   = {Springer Vieweg},
    location    = "{Berlin/Heidelberg}"
}

Screenshots
Current behavior:

Correct behavior (from Mrs. Heinrich PDF file):

From the screenshot:

Die Trennzeichen zwischen den einzelnen Angaben sind nicht normiert!

Regarding your issues

There should be no colon after the last authors name.

There is a colon in her example.

There should be no semicolon between several author names.

As cited above: There is no separator defined.

There should not be a dot at the end of an entry.

This one could be true but I don't know for sure. There were dots at the end of my bib entries in my PA1 and Mrs. Heinrich didn't complain about it.

The brackets should not be angular but round.

I think that there should be rectangular brackets as in the screenshot above.

Die Trennzeichen zwischen den einzelnen Angaben sind nicht normiert!

Okay.

There is a colon in her example.

In my opinion, this example should only show what must be included and not how it should be displayed.
In terms of presentation, the following screenshot should be more meaningful:

We also used this style in her exercises. Example:

Annotation: If we decide to remove the colon, I would suggest removing the semicolon between multiple author names as well, since it fits much better.

This one could be true but I don't know for sure. There were dots at the end of my bib entries in my PA1 and Mrs. Heinrich didn't complain about it.

Okay, then it's fine.

The brackets should not be angular but round.

As written above: In my opinion, this example should only show what must be included and not how it should be displayed.

Ok, so our TODO here is:

[ ] Remove colon after last author name
[ ] Remove period after bib entry
[ ] Replace ; as multi author delimitor with some kind of new line character
[ ] Replace brackets around the keyword with parentheses

In the most recent Empfehlungen zur Anfertigung von Projekt- und Bachelorarbeiten by Prof. Dr. Thomas Grubert (2013/2014) there is always a dot at the end of an bibliography entry. 😑


Implement auto-resolvment of directories links

Fix https://github.com/puli/issues/issues/125.
As suggested by @webmozart, it should be possible to access the children of a directory link seemlessly, ie something like:
$repo = new InMemoryRepository();
$repo->add('/dir', new DirectoryResource('/some/directory'));
$repo->add('/dir-link', new LinkResource('/dir'));
$repo->get('/dir-link/file');

This PR aims to implement this.

Added some comments above. What happens when adding resources to a linked directory? I think these should be added to the linked path as well.
You need to rebase this on master btw. as Resource has changed to PuliResource now.

I fixed a lot of issues and reorganized the code. Can you review this @webmozart?

What about a relative links check in the AbstractPathMappingRepository?
I see a lot of strpos(..., 'l:') and an abstraction could be an idea considering the convention.

That's a good idea. A few static helpers methods in the AbstractPathMappingRepository could be useful, like AbstractPathMappingRepository::isPathMappingLink and AbstractPathMappingRepository::getPathMappingLinkTarget.What do you think?

@tgalopin seems good :+1:

I did this :) .

Thanks for working on this! :) Please remember to fix the tests on Windows when you're done.

Closing this as I am refactoring the path mapping repositories and fixing these problems along the way.


IsAotCompatible flag missing?

Your readme mentions AOT compatibility, but then the project doesn't enable the analysis flag, see the docs here: https://learn.microsoft.com/dotnet/core/deploying/native-aot/#aot-compatibility-analyzers
And a helpful article on resolving any warnings: https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/

I will enable the flag in the next release. Currently, the code still works as AOT.
I also push the test aot project in repo.
<PropertyGroup>
  <IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
</PropertyGroup>


AMBARI-24980 - Infra Manager: java 11 support

What changes were proposed in this pull request?

Run infra manager using java 11
Run Integration test using java 11
Install java 11 to infra manager docker image

How was this patch tested?
ITs and UTs passed when using java 11

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Infra-Github-PR-Builder/31/
Test PASSed.


How can I disable decompiling with Recaf?

How can I disable decompiling with Recaf?

In 4.X you can do one of the following:

Change the User Interfface > Class Editing : Default Editor for JVM classes value
Change the Decompilation > Decompilation manager : Preferred Java decompiler value to Fallback

The Fallback decompiler is really just a half-way between decompilation and disassembling. Its way faster than a decompile, but still gives you the general class structure in Java source form.
Changing the class editing value will also work, but I'm still working on porting alternative editing modes in so you'll just get a blank screen in those cases. For classes we'll eventually support:

Decompilation
Hex editing
Low level model display

In 4.X you can do one of the following:

Change the User Interfface > Class Editing : Default Editor for JVM classes value
Change the Decompilation > Decompilation manager : Preferred Java decompiler value to Fallback

The Fallback decompiler is really just a half-way between decompilation and disassembling. Its way faster than a decompile, but still gives you the general class structure in Java source form.
Changing the class editing value will also work, but I'm still working on porting alternative editing modes in so you'll just get a blank screen in those cases. For classes we'll eventually support:

Decompilation
Hex editing
Low level model display

How can I prevent my JAR from being opened by Recaf?

How can I prevent my JAR from being opened by Recaf?

By not running Recaf? How do you want to reverse engineer the jar while not opening it?

@handy-git
Recaf is created to decompile, not to prevent it.

Lmao


chore(socketPath): correcting the socketPath env name

Signed-off-by: shubhamchaudhary<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Checklist:

[ ] Fixes #
[ ] Labelled this PR & related issue with documentation tag

versioned docs too, pls!


Crawl Pushsum page parallel

Found there are 4 thousans pushsum boards need to check, made it parallel to accelerate speed.
if useless, may need to clean this user's subscribe, he subscribe 4132 pushsum dashbords..
https://github.com/meifamily/ptt-alertor/wiki/2020-11-28-CPU-Drop-down

Great!!


Remote File

Hi. Apparently there is a remote file for each file. Like this:
        remote = RemoteFile {
          id = "CgADBAADtwQAAliEqVO4wB9sQ8CQ7xYE"
          isUploadingActive = false
          isUploadingCompleted = true
          uploadedSize = 2171391
        }

So i want to know how can I access this remote file? Can I use it to upload it somewhere else without downloading?

You can use inputFileRemote as InoutFile in any class or method.

I found no method which I can use to download the file by InputFileRemot or InputFile or remoteId :(

You can use the method getRemoteFile to get a file and file.id by remote.id.

What is returned value type of GetRemoteFile()?


Get interfaces

When service config is not given, just look at model.getInterfaces(). When service config is given, look at model.getApis().
This blocks https://github.com/googleapis/gapic-generator/pull/2532

PTAL

Fixed wrong comment; PTAL


Fix typo in CSS Grid: Use Media Queries to Create Responsive Layouts

'CSS Grid: Use Media Queries to Create Responsive Layouts'

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[ ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[x] Addressed currently open issue (replace #17449 with an issue no in next line)

Closes #17449
Description

@vuongggggg the line after what you changed should be changed as well - on line 1331 where it says grid-template-columns - that should be changed to grid-template-areas


does not work

In the mod menu, the mod itself is displayed, but there is no "zoom *select the * key" in the settings

Just to clarify, the option is called "Quick Spyglass" and you can find it in the "Inventory" section:

If you don't see it and pressing z does nothing, then please provide more information - your Minecraft and Zoomgalss versions, list of other mods you have installed, etc.


misc fixes

I unfortunately broke this by merging a different PR first.

nm. Water under the bridge.


Add AI4PP image

Summary

Related issue :

@mrorro you need to rebase after the merge of PR https://github.com/EGI-Federation/egi-notebooks-images/pull/118 i guess

@mrorro you need to rebase after the merge of PR #118 i guess

ah no no need, i'm rerunning the build

ah no you need to rebase:-)

Rebased


Creating the login, loginCheck and logout method.

Creating the login, loginCheck and logout method.

Creating the login, loginCheck and logout method is terminated.


Perry Mason TV series

When I use transcode-video to transcode the Perry Mason TV series to use in Plex, I have noticed that the "pans", etc., or large amounts of movement are choppy and stepped instead of smooth and flowing.  What am I doing wrong?
The command I used was:
transcode-video --crop 0:0:0:0 "C:\in\Perry Mason\Season 01\Perry Mason - s01e02 - The Case of the Sleepwalker's Niece.mkv"
Everything else that I have watched appears to be fine and doesn't exhibit this issue.
Please help!

@Bob-Collins Thanks for filing an issue. Can I assume this episode of "Perry Mason" has been ripped from a DVD and not a Blu-ray Disc?
Because if your source is a DVD then it's likely the video is interlaced or contains combing artifacts due to poor mastering of that disc. You can try applying a filter to correct that.
I would first recommend you try "detelecine" and force the original frame rate, if you know what that rate is. Possibly something like this:
transcode-video --filter detelecine --force-rate 23.976 "/path/to/Movie.mkv"

If that doesn't improve things then I would try "decomb" like this:
transcode-video --filter decomb "/path/to/Movie.mkv"

I hope that helps.
BTW, there's no need to use --crop 0:0:0:0 since transcode-video does not crop by default.

Thanks, I had tried the force of the frame rate and detelecine before I got your reply, and it looks like those worked.  Yes, it is a rip from DVD to a single MKV file.
Again, to anyone ripping the old Perry Mason series from DVD, you will want to use the "--filter detelecine --force-rate 23.976" options, from I can tell in preliminary tests.
Thanks!

@Bob-Collins Wow! You are now officially an expert user for figuring that out on your own. And I hope you continue to help others around here. That's awesome!
And I'll consider adding that --filter detelecine --force-rate 23.976 trick to the "README" document in a more prominent place. It's already in the "FAQ" section but it needs more context for folks to understand the utility of it.
Also, my apologies for taking over four hours to respond initially but I just got up here on the West Coast to the United States. :) I assume you're in Europe or on the East Coast?

Yes, East coast here, and I am hardly an expert, just trying to figure this all out.  I figure older stuff like Perry Mason are definitely film, and should probably be limited to 24 fps, while newer stuff is video at 30 fps.  Not sure what the detelecine does, but the combination of the 2 seems to have resolved my issue with it, now I just need to redo the first four season which I had already done before, and then do the last 5 seasons.

@Bob-Collins Well, this is the way you become an expert. :)
The "detelecine" filter is weird but useful. As you guessed, it has to do with the conversion of film to video. You can find out more about the original process here:
https://en.wikipedia.org/wiki/Telecine
The filter tries to reverse that process by dropping duplicate frames to restore the pre-telecine frame rate. However, it can't always know what that frame rate is so you have to force it.
I'm sorry that you have to redo four seasons know. Thankfully these are DVD rips so they'll be much faster than full 1080p transcodes.

Yes, they are all DVD rips, and I am using a batch file to get them all, so I just let the machine run and it keeps churning them out.  One thing I want to play with is specifying and output path, and having the different seasons wind up separated already, but things are fine just dumping all into the same directory where I am running the command from.
I would like some tips from you on creating scripts for Windows, and maybe having it just process every file in a directory instead of me having to specify each filename explicitly on a command line.  Currently I am using something like this:
call transcode-video --force-rate 23.976 --filter detelecine --crop 0:0:6:4 "E:\Plex\Perry Mason\Season 01\Perry Mason - s01e01 - The Case of the Restless Redhead.mkv"
call transcode-video --force-rate 23.976 --filter detelecine --crop 0:0:0:0 "E:\Plex\Perry Mason\Season 01\Perry Mason - s01e02 - The Case of the Sleepwalker's Niece.mkv"
call transcode-video --force-rate 23.976 --filter detelecine --crop 0:0:0:0 "E:\Plex\Perry Mason\Season 01\Perry Mason - s01e03 - The Case of the Nervous Accomplice.mkv"
I know I don't need to specify the all zeros on the crop, but there are a few titles where it is needed, so it is easier to just paste it in for every file.

@Bob-Collins That seems efficient. And I understand your crop usage now. Makes sense.
I wish I could advise you on scripting on Windows but I don't have any current experience on that platform. However, @samhutchins and @JMoVS, the authors of our Windows installation documentation, might be able to point you in the right direction.

@Bob-Collins Yeah, if you look at the readme, Sam and me created a repo where we documented two ways. But the way Sam documented with using binaries is definitely the recommended way. I guess (@samhutchins can chime in here) that using windows shell scripts should serve you well.

I have things installed already, I was asking for some assistance or guidance on using scripts or .bat files in Windows to control transcode-video.

@Bob-Collins ah sry, ok. I don't have much personal experience with that, but I guess @samhutchins has?

If the settings are all the same you could probably do something like this in the bat file:
for %%i in (*.mkv) do call transcode-video --force-rate 23.976 --filter detelecine "%%i" --output "%%~ni_out.%%~xi"

When I last did a batch like this I write some crappy python script, but I can't find it any more :-(. I went to python because parsing the crop values out of a text file in a batch file sounds like a pretty horrible way to spend an evening

Thanks for the scripting foo, @samhutchins! :)
Yeah, I don't bother cropping TV episodes unless it's something extreme like original 4:3 aspect ratio content in a 16:9 frame, i.e. with big "pillar box" black bars on either side. Which is exactly the case for the "Twin Peaks" released on Blu-ray.

No problem.
Since it's a one-liner you can do that directly in the CMD window, but use single % instead:
for %i in (input\*.mkv) do call transcode-video "%i" --output "output\%~ni.mkv"

Thanks for the help!

OK folks, I will close this for now since the original issue has been resolved. But feel free to continue commenting.

So would it hurt to use the --force-rate 23.976 --filter detelecine when transcoding old TV shows, even if they did not need it or exhibit the choppiness originally?

@Bob-Collins Probably not, but you should check that with a few videos first. And it would slow down transcoding slightly.


Various minor fixes for the Evaluator rules

See individual commits for details.

@tsteenbe, I guess that merge commit should have been a rebase?


expandArrays addition and character type for unserialize

I don't see how this is necessary. The MexUI functions have a specific number and order of args, so hardcoding the args when calling them seems simpler and easier.
Also I don't usually do "short variable names" except as iterators in a loop (and in very few other cases). I prefer readability.

Okay fair enough.
I thought my mexui window control creator functions take x,y,w,h,etc.
I also thought your getPositionVec2() will surely return a [x,y] or an {x:x,y:y}, same for getSizeVec2.
So I just tried to make it compatible.

I fixed the args manually. Closing this PR.


Update dependencies monthly instead of weekly

Codecov Report

Merging #13 (b5e3fc3) into master (a43e88c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #13   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            2         2
=========================================
  Hits             2         2

Continue to review full report at Codecov.

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


Sketch 3.6 (Beta): After relabelling, the group's dimensions don't change

Relabelling works just fine, but the resulting group still seems to have the same bounding box as it had before relabelling, despite its contents being newly resized.
Very strange, but means I can't use snap and stuff since the group thinks it's a different size than it really is.
I can fix by editing the text layer manually, even if I change nothing. Just going in and out seems to update the group's dimensions.

Looks like this is fixed with the latest update. Thanks @kenmoore !

@bomberstudios Could you please have a look into this? Thank you!!

Hey @bomberstudios .... any updates on this issue?


Messaging example don't respond after allow notification on iOS.

Step to reproduce:

Download SDK package from https://dl.google.com/firebase/sdk/unity/firebase_unity_sdk_1.1.0.zip
Clone this repository.
Open Unity project from repository /quickstart-unity/messaging/testapp.
Download google-services-json and GoogleService-Info.plist to project.
Import package FirebaseMessaging.unitypackage into project.
Change bundle identifier in Project Settings.
Open Build Settings, change platform to iOS with Symlinks Unity libraries checked, then click Build.
Open Xcode project -> Capabilities, turn on Push Notifications.
Also turn on Background modes with Remote notifications checked , then build and run.
Once application is opened, it will ask for notification permission. Either click 'Allow' or 'Don't allow', everything on the screen don't respond anymore.
But if I kill application and reopen, it works perfectly fine.

Xcode console message:
2017-01-12 10:26:09.899093 myapp[2318:621207] [DYMTLInitPlatform] platform initialization successful
2017-01-12 10:26:10.256185 myapp[2318:621002] Firebase automatic screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO in the Info.plist
2017-01-12 10:26:10.313326 myapp[2318:621002] -> registered mono modules 0x100a3f090
2017-01-12 10:26:11.018892 myapp[2318:621002] [Accessibility] ****************** Loading GAX Client Bundle ****************
2560-01-12 10:26:11.571: <FIRMessaging/INFO> FIRMessaging library version 1.2.0
-> applicationDidFinishLaunching()
2017-01-12 10:26:11.800370 myapp[2318:621002] Metal GPU Frame Capture Enabled
2017-01-12 10:26:11.800910 myapp[2318:621002] Metal API Validation Disabled
-> applicationDidBecomeActive()
GfxDevice: creating device client; threaded=1
Init: screen size 750x1334
Initializing Metal device caps: Apple A8 GPU
Initialize engine version: 5.5.0p3 (84ad46be53aa)
UnloadTime: 3.073375 ms
2017-01-12 10:26:15.863482 myapp[2318:621172] [Firebase/Core][I-COR000001] Configuring the default app.
2017-01-12 10:26:15.864 myapp[2318]  [Firebase/Core][I-COR000001] Configuring the default app.
2017-01-12 10:26:15.948726 myapp[2318:621172] <FIRAnalytics/INFO> Firebase Analytics v.3600000 started
2017-01-12 10:26:15.949 myapp[2318:] <FIRAnalytics/INFO> Firebase Analytics v.3600000 started
2017-01-12 10:26:15.950075 myapp[2318:621172] <FIRAnalytics/INFO> To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/Y0Yjwu)
2017-01-12 10:26:15.950 myapp[2318:] <FIRAnalytics/INFO> To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/Y0Yjwu)
2560-01-12 10:26:15.979: <FIRInstanceID/WARNING> FIRInstanceID AppDelegate proxy enabled, will swizzle app delegate remote notification handlers. To disable add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2560-01-12 10:26:15.987: <FIRInstanceID/WARNING> Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"
2560-01-12 10:26:15.998: <FIRMessaging/WARNING> FIRMessaging AppDelegate proxy enabled, will swizzle app delegate remote notification receiver handlers. Add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2017-01-12 10:26:16.005290 myapp[2318:621002] FCM: Subscribe to topic TestTopic, normalized /topics/TestTopic
FCM: Subscribe to topic TestTopic, normalized /topics/TestTopic
Firebase.Messaging.FirebaseMessaging:Subscribe(String)
UIHandler:InitializeFirebase()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
2560-01-12 10:26:16.009: <FIRMessaging/WARNING> Cannot subscribe to topic: /topics/TestTopic with token: (null)
Firebase Messaging Initialized
UIHandler:DebugLog(String)
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
2017-01-12 10:26:16.105735 myapp[2318:621398] <FIRAnalytics/INFO> Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist
2017-01-12 10:26:16.105 myapp[2318:] <FIRAnalytics/INFO> Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist
2017-01-12 10:26:16.493633 myapp[2318:621398] [Firebase/Core][I-COR000019] Clearcut post completed.
2017-01-12 10:26:16.493 myapp[2318]  [Firebase/Core][I-COR000019] Clearcut post completed.
-> applicationWillResignActive()
2017-01-12 10:26:17.245458 myapp[2318:621226] <FIRAnalytics/WARNING> The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at http://goo.gl/9vSsPb
2017-01-12 10:26:17.245 myapp[2318:] <FIRAnalytics/WARNING> The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at http://goo.gl/9vSsPb
2017-01-12 10:26:17.413960 myapp[2318:621226] <FIRAnalytics/INFO> Firebase Analytics enabled
2017-01-12 10:26:17.414 myapp[2318:] <FIRAnalytics/INFO> Firebase Analytics enabled
2560-01-12 10:26:18.539: <FIRInstanceID/WARNING> APNS Environment in profile: development
After allow notification:
2017-01-12 09:53:37.933 myapp[226:9309] FCM: Connected to FCM
FCM: Connected to FCM
PS. Unity version: 5.5.0p3

I believe this is another manifestation of #33 we'll take a look.

Thanks.


The facility for exposing default settings launch.json

The official documentation for VS Code's built-in debugger doesn't provide comprehensive detail on the attributes exposed by Intellisense for launch.json. For example, showAsyncStacks is a boolean, for which no default is indicated. Neither symbols nor settings expose its value.
For example, Intellisense does not expose an address attribute, contrary to the 'official' documentation, which asserts that remote debugging is baked into VS Code, and is specified with the address attribute. Without a facility to expose internals, it's difficult to know if this was simply an oversight in the preparation of the Intellisence database, or if VS Code doesn't recognize an address attribute, if included in launch.json. Intellisense exposes the following 48 attributes:
args, attachSimplePort, autoAttachChildProcesses, cascadeTerminateToConfigurations, console, customDescriptionGenerator, customPropertiesGenerator, debugServer, enableContentValidation, enableTurboSourcemaps, env, envFile, internalConsoleOptions, killBehavior, linus, localRoot, name, nodeVersionHint, osx, outFiles, outputCapture, pauseForSourceMap, postDegugTask, preLaunchTask, presentation, profileStartup, program, remotesRoot, request, resolveSourceMapLocations, restart, runtimeArgs, runtimeExecutable, runtimeSourcemapPausePatterns, runtimeVersion, serverReadyAction, showAsyncStacks, skipFiles, smartStep, sourceMapPathOverrides, sourceMapRenames, sourceMaps, supressMultipleSessionWarning, timeout, timeouts, trace, type, windows
BTW, the attribute, runtimeArgs, appears to be misnamed for its intended purpose: to include command-line arguments. runtimeArgs has the same symantics as Args (args are passed at runtime). commandOptions would be more appropriate.
-MDA
<EMAIL_ADDRESS>

For example, Intellisense does not expose an address attribute, contrary to the 'official' documentation, which asserts that remote debugging is baked into VS Code, and is specified with the address attribute.

I do not reproduce this:

The complete set of options documentation can be found here: https://github.com/microsoft/vscode-js-debug/blob/main/OPTIONS.md. This is also linked to in the 2nd paragraph of options documentation on the docs site.


extension mongodb failed compile check

When using php-8.2 to generate static php8.0 on Ubuntu 20.04, the debug log displays "extension mongodb failed compile check".
mongodb extension version: php_mongodb-1.16.2-7.2-nts-x64.zip
[07:41:05] [DEBU] testing ext: mongodb
[07:41:05] [DEBU] Running command with result: /www/static-php-cli/buildroot/bin/php --ri "mongodb"
   SPC\exception\RuntimeException
  extension mongodb failed compile check
  at src/SPC/builder/traits/UnixBuilderTrait.php:74
     70▕             foreach ($this->exts as $ext) {
     71▕                 logger()->debug('testing ext: ' . $ext->getName());
     72▕                 [$ret] = shell()->execWithResult(BUILD_ROOT_PATH . '/bin/php --ri "' . $ext->getDistName() . '"', false);
     73▕                 if ($ret !== 0) {
  ➜  74▕                     throw new RuntimeException('extension ' . $ext->getName() . ' failed compile check');
     75▕                 }
     76▕
     77▕                 if (file_exists(ROOT_DIR . '/src/globals/tests/' . $ext->getName() . '.php')) {
     78▕                     // Trim additional content & escape special characters to allow inline usage
  1   src/SPC/builder/linux/LinuxBuilder.php:234
      SPC\builder\linux\LinuxBuilder::sanityCheck()
  2   src/SPC/command/BuildCliCommand.php:90
      SPC\builder\linux\LinuxBuilder::buildPHP()
[07:41:05] [CRIT] You can report this exception to static-php-cli GitHub repo.

Please provide the compilation command you used.
Failed compile check is usually caused by the extension not being successfully added to the compilation. It is recommended to delete the source/ directory before compiling.

Please provide the compilation command you used.
Failed compile check is usually caused by the extension not being successfully added to the compilation. It is recommended to delete the source/ directory before compiling.

Command: bin/spc build --build-cli "mongodb" --debug
Local PHP Version: 8.2.11
Local PHP extension:
[PHP Modules]
calendar
Core
ctype
date
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mongodb
openssl
pcntl
pcre
PDO
Phar
posix
random
readline
Reflection
session
shmop
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
zlib

[Zend Modules]

Delete the source/ directory and perform compilation again, still displaying extension mongodb failed compile check.

Fixed in #227 . You can clone the latest main branch or download spc binary from actions


macos: script X is running in background.

master branch: Do you guys get this?
It should be start a new instance right? Every time I hit a key it should run a new instance of a key script.
However, this only seems to occur for a handful of keys. I am not sure which yet. But it did happen with
H and J for me just now.

I hit remember and new instance and now things seem to run fine

I am going to reinstall RK bc it feels like this could have something todo with the fact that I haven't pulled master in a while.

The issue seems to persist after having reinstalled RK.

Yes that is expected, and you should just check 'remember' and 'new instance'. Basically the script bound to the key press becomes the feedback window if no feedback window is open, or the binding list window if you are opening it. Since the window is still open when pressing the key again, reaper automatically shows this dialog.


Add useMemo, tests, and prettier (unformatted)

Took some git selection foo, but this should do the trick. If, and when, you're ready you can run yarn format to adopt prettier styling to the repo.

Thanks!

I think it's worth noting that the useCallback hook can now also be implemented via proxy of the useMemo hook:
function useCallback (fn, ...guards) {
	return useMemo(() => fn, ...guards)
}

Can you point me to the react hooks source you're referring to?

Oh, oops. Sorry, I think I got confused with the useCallback(..) hook, which does indeed return a new wrapped function, not the result of calling the provided function. IIUC, your suggested implementation above for useCallback(..) wouldn't be correct, because your version calls useMemo(..) right away, it doesn't return a wrapped function.

However, the docs here do suggest a bit of behavior for useMemo(..) that I don't think is currently handled by your implementation:
https://reactjs.org/docs/hooks-reference.html#usememo

If no array is provided, a new value will be computed whenever a new function instance is passed as the first argument. (With an inline function, on every render.)

IOW, it seems like if no guards list is passed, you have to put a reference to the original function as the only value in the guards list, and make the guards comparison accordingly each time.

Yeah I can see that in the react hooks source now. Simple enough. My original comment on how to implement useCallback is still valid. Both hooks use the same mechanism to determine when a new value is returned. The only difference is that useCallback returns the function you pass as the first argument, instead of executing and returning its result. Clearly you could duplicate the useMemo code and make that single change, but I say why waste?

useCallback returns the function you pass as the first argument

I don't see how that could possibly be right. What useCallback(..) is supposed to return, according to the docs, is a memoized function, not just the original function.
Can you link me to this implementation code?

https://github.com/facebook/react/blob/master/packages/react-reconciler/src/ReactFiberHooks.js#L609

Thanks, I got it now. Sorry for my confusion on that stuff.

No worries. Hooks are still very fresh, so it's easy to lose track of what does what and how. Most of my understanding came from writing my use-react-hooks packport for older react versions.


Trigger TSV loading in ingestion workflow DAGs

Problem

The various ingestion workflow DAGs (europeana_ingestion_workflow, flickr_ingestion_workflow, wikimedia_ingestion_workflow) are used to help update old data for dated DAGs, which otherwise only consume data for the current date. They work by calculating a list of reingestion_days, generally weighted toward more recent data (so for example, we'll reingest every day in the past week, and then increasingly sparsely as we go further back in time), and then pulling data for those days.
The DAGs all run what amounts to just the pull_data task for each of these days, meaning a tsv is generated but not loaded into the upstream db. That happens completely separately in the tsv_to_postgres_loader DAG. This is undesirable for reasons described in #357 (which resolved the issue for our standard provider DAGs).
Description

If we could move the tsv loading steps into the ingestion DAGs, we could get rid of the tsv_to_postgres_loader once and for all 😄
A couple of options:

We could use the TriggerDagOperator to simply trigger the corresponding provider dag (ie europeana_ingestion_workflow triggers europeana_workflow) for each of the reingestion_days.

If we go that route, we'll need to take a close look at the max_active_tasks for these DAGs. Currently most workflow DAGs have max_active_tasks=1, while the ingestion DAGs bump this up to allow for parallelization.

Alternatively, we could keep the DAGs separate and refactor out the loading code so it is reusable. Then within the ingestion DAGs we could parallelize just the pull_data tasks and then run the load_data steps once for all the consumed data

This will result in a much longer-running load_data task
Some refactoring may be required to ensure load_data can pull data from many upstream pull_data tasks.

Implementation

[ ] 🙋 I would be interested in implementing this feature.

@stacimc I believe this was resolved by #615, is that correct? 😮

You're right! I forgot there was a separate issue here. I think all that's left for this issue then is to remove the tsv_to_postgres_loader DAG 🥳

Woohoo! That's an easy one 😄


new volume driver: LINSTOR

This adds a new volume driver for LINSTOR, which is needed to be able to run the Stork integration tests against LINSTOR.

I have the LINSTOR driver for Stork ready internally and it passes all the integration tests.
@disrani-px As soon as this gets merged I can send the patch for the Stork driver


"Chair" block remains when destroyed by non-player

When a chair stair block is destroyed by a creeper or tnt it does not drop the saddle and technically the "chair" remains. If you place any other block there (even non-stairs) you can then "sit" on it. Not game breaking or anything, just not intended behavior I'm sure. XD Worth noting that removing the stair block with world edit will also have the same no-dropping-saddle-chair-still-there problem.

Click on the dirt to sit as if it were a stair chair. XD

Expected behavior
Drop the saddle when the block is destroy for any reason.

This is now resolved:
https://modrinth.com/plugin/teaks-tweaks/version/1.10.6-beta
(on an additional note, accidentally created this while trying to fix it :P):
Infinisaddle Bug (Video)


fix: pasting text from MS office which have as unit of size pt

I fix problem described in issue #170 , which related to unit type which MS office have as default one, I test it and it work now as expected

@Leecason I saw your comment on #195 I add also the conversion here

@Leecason I saw your comment on #195 I add also the conversion here


Fix IS_DECOMPOSABLE flag when bridging to CFURL

CFURL considers a URL decomposable if it can be decomposed into its component parts according to RFC 1808. This varies slightly from an analogous definition of decomposable for RFC 3986, specifically when it comes to relative paths as found in data: URLs.
This PR adjusts Swift URL's CFURL creation logic to add the IS_DECOMPOSABLE flag only if it does not have a scheme or if there is a slash directly following the scheme.

@swift-ci please test


Rebalancing request: Saline Water

Making Saline Water from Salt requires Purified Water however you can also make Saline Water directly from just Water and the easiest way to make Purified Water is via Water Purification which splits water into Purified Water and Saline Water. That all strikes as a bit odd and I would suggest allowing to make Saline Water just from Salt and Water.
Also 10 Salt and 1000 Purified Water make only 400 Saline Water?
My suggestions for adjustment would be:
25 Salt + 1000 Purified Water -> 1000 Saline Water
15 Salt + 1000 Water -> 1000 Saline Water
I think that should keep the balance in line.

I don't think it's worth having a salt + purified water. Update the recipe to 15 Salt + 1000 Water -> 1000 Saline Water


Fix hiding attack styles when switching weapons

Hiding attack styles primarily relies on a subscription to onWidgetHiddenChanged but when swapping between bludgeon to bow this event fires before onVarbitChanged which means that when swapping quickly between the two the longrange option will not be hidden.
There is also a NPE fix.
Closes #9564

Okay. Why not call processWidgets from onVarbitChanged then? This looks like it will update the widgets 5x on login.

You are right, right now process processWidgets are already called 30 times on login, after this change it will be called 39 times. Moving it to onVarBitChanged calls it 5k+ times on login, and just just moving it from onWidgetHiddenChanged doesn't work as the widgets that needs to be hidden need to be open (i think). I didn't think the increase in calls would be that big of a deal compared to what was already happening. But i can look into a more thorough rewrite if you want, it would be nice to avoid the existing amount of calls.

Lowered the amount of processWidgets calls from 39 to 1 on login.

Why is it called 30 times on login? Also moving it to on varbit change would not call it 5k+ times unless the variable changed 5k times so that makes no sense

I messed up the onVarbitChange test, i just counted the number of times the event fired on login, not how many times the specific varbits changed. My bad.
It was originally called 30 times on login because it was fired for every widget rendered in the COMBAT_GROUP as their hidden status was changed to visible on render.

I would refactor onVarbitChanged to have one branch for any of the 3 vars changing

Refactored.

Squashed to two commits.
I decided to remove the prevention of extra calls to processWidgets on login as it's more trouble than it's worth. As you said; the overhead is pretty small and fixing it makes the code more complex than required.

Sounds good

updated commit message.


test

hey @0xNyk !
Consider using a forked version for your needs. This way you can merge into main branch in your repo and open PRs to this repo if needed


Intermittent test res.sendFile(path, fn) should invoke the callback when client already aborted

  1) res .sendFile(path, fn) should invoke the callback when client already aborted:
     Uncaught AssertionError: expected undefined to be truthy
      at Assertion.fail (/Users/josemoreira/GitHub/cusspvz/express/node_modules/should/lib/assertion.js:113:17)
      at Assertion.prop.(anonymous function) [as ok] (/Users/josemoreira/GitHub/cusspvz/express/node_modules/should/lib/assertion.js:39:14)
      at /Users/josemoreira/GitHub/cusspvz/express/test/res.sendFile.js:228:27
      at /Users/josemoreira/GitHub/cusspvz/express/lib/response.js:398:20
      at SendStream.onend (/Users/josemoreira/GitHub/cusspvz/express/lib/response.js:934:5)
      at SendStream.emit (events.js:92:17)
      at ReadStream.onend (/Users/josemoreira/GitHub/cusspvz/express/node_modules/send/index.js:678:10)
      at ReadStream.emit (events.js:117:20)
      at _stream_readable.js:943:16
      at process._tickCallback (node.js:419:13)

A PR to fix is welcome :) I haven't have it fail on my Windows machine or seen it fail on Travis CI, so I just wasn't aware that it fails sometimes.

It might be on-finished fault.
Could you please explain what's the difference between using res.on( 'finish', function(){} ); and your module?

There are way too many differences to describe, I'm sorry--they do completely different things. If you think there is a bug over there, please feel free to send a PR :)!

Since this issue was filed I've done a little more development and Travis CI has been running a few times and so far it hasn't had a transient failure, though I'm still leaving this open until we know for sure.

I think that the intermittent test may indicate a slight regression from 3387916efcac19302188151a24927a0405a373e8

Ok, @cusspvz , since I can't seem to reproduce it on Windows, if you don't mind, can you see if the 4.11 branch in this repo still has the issue?

Seems fixed! :)
MacBook-Pro-de-JM:express josemoreira$ for i in {1..3}; do FAILS=0; for i in {1..10}; do npm test > /dev/null  2>&1; [ $? -ne 0 ] && FAILS=$((FAILS + 1)); done; echo "Failure Rate: $FAILS / 10"; done;
Failure Rate: 0 / 10
Failure Rate: 0 / 10
Failure Rate: 0 / 10

Awesome, @cusspvz , thanks for confirming :) I had tried running the tests over and over and couldn't get them to fail, but when I looked at the code I saw some events were not in sync and could have caused it, so I was hoping that fixing those would work. Seems like it did :D


No special treatment of scalar arguments in get_slice().

This simplifies the code and user expectations. It also provides symmetry between get_slice() and set_slice().
@jkanche this has some user-visible changes in behavior so some review is required to figure out if this is a problem. Basically we don't return lists or dictionaries anymore if the row/column slicing argument is a scalar.

Shit. I think this needs a bit more thought.

Actually, it might be fine.

I think this is fine, since granges will not extend biocframe.


Picker should handle middleware errors

Picker currently ignores middleware errors.  For example ,req.body will be empty if the body parser size limit is violated.
As a workaround, I've added a hack to pass errors via req.error to my fork: https://github.com/sprohaska/picker/commit/284f62624d0dcb668c608891ccd8d63d510129ee
Ideally, Picker should support express-style error route handler that take an additional err.

This is a serious problem as it stands, having req.body be empty and no end event fired because of a silent failure in the middleware is extremely hard to identify and debug.


firebase_admob 0.8.0+3  iOS build FAILED, android works fine

Just couldn't build iOS anymore after installing firebase_admob 0.8.0+3
Launching lib/main.dart on iPhone XS Max in debug mode...
Running Xcode build...
Xcode build done.                                            5.7s
Failed to build iOS app
Error output from Xcode build:
↳
    2019-02-27 02:31:49.234 xcodebuild[78364:500868] [MT] PluginLoading: Required plug-in compatibility UUID D7881182-AD00-4C36-A94D-F45FC9B0CF85 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/VVDocumenter-Xcode.xcplugin' not present in DVTPlugInCompatibilityUUIDs
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    Undefined symbols for architecture x86_64:
      "_OBJC_CLASS_$_GADRequest", referenced from:
          objc-class-ref in firebase_admob(FLTRequestFactory.o)
      "_GULLogBasic", referenced from:
          _FIRLogBasic in FirebaseCore(FIRLogger.o)
      "_GULResetLogger", referenced from:
          _FIRResetLogger in FirebaseCore(FIRLogger.o)
      "_GULSetLoggerLevel", referenced from:
          _FIRSetLoggerLevel in FirebaseCore(FIRLogger.o)
      "_OBJC_CLASS_$_GADMobileAds", referenced from:
          objc-class-ref in firebase_admob(FLTMobileAd.o)
      "_GULLoggerRegisterVersion", referenced from:
          ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
      "_OBJC_CLASS_$_GADExtras", referenced from:
          objc-class-ref in firebase_admob(FLTRequestFactory.o)
      "_GULLoggerInitializeASL", referenced from:
          ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
      "_GULLoggerEnableSTDERR", referenced from:
          ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
      "_OBJC_CLASS_$_GADInterstitial", referenced from:
          objc-class-ref in firebase_admob(FLTMobileAd.o)
      "_OBJC_CLASS_$_GADBannerView", referenced from:
          objc-class-ref in firebase_admob(FLTMobileAd.o)
      "_GADAdSizeFromCGSize", referenced from:
          -[FLTFirebaseAdMobPlugin callLoadBannerAdWithId:channel:call:result:] in firebase_admob(FirebaseAdMobPlugin.o)
      "_GULLoggerForceDebug", referenced from:
          ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
      "_kGADAdSizeSmartBannerLandscape", referenced from:
          -[FLTFirebaseAdMobPlugin callLoadBannerAdWithId:channel:call:result:] in firebase_admob(FirebaseAdMobPlugin.o)
      "_GULIsLoggableLevel", referenced from:
          _FIRIsLoggableLevel in FirebaseCore(FIRLogger.o)
      "_kGADAdSizeSmartBannerPortrait", referenced from:
          -[FLTFirebaseAdMobPlugin callLoadBannerAdWithId:channel:call:result:] in firebase_admob(FirebaseAdMobPlugin.o)
      "_OBJC_CLASS_$_GADRewardBasedVideoAd", referenced from:
          objc-class-ref in firebase_admob(FLTRewardedVideoAdWrapper.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XS Max.

[✓] Flutter (Channel master, v1.2.3-pre.50, on Mac OS X 10.14.3 18D109, locale
    en-HK)
    • Flutter version 1.2.3-pre.50 at /Users/leungsiuhang/documents/flutter
    • Framework revision f460dd60df (5 hours ago), 2019-02-26 08:08:28 -0500
    • Engine revision 9f95ef23aa
    • Dart version 2.2.0 (build 2.2.0-dev.2.1 f7e435ac26)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1248-b01)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit
      https://flutter.io/setup/#android-setup for detailed instructions.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 33.1.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1248-b01)

[✓] Connected device (2 available)
    • Android SDK built for x86 • emulator-5554                        •
      android-x86 • Android 9 (API 28) (emulator)
    • iPhone XS Max
      • iOS 12.1 (simulator)

! Doctor found issues in 1 category.

@Chepond
The issue at https://github.com/flutter/flutter/issues/28521 has been closed and moved here. Future collaboration on this issue will be done here.

Hi @Chepond
are you still experiencing this issue with the latest version of Flutter and firebase_admob?
If so can you please provide your flutter doctor -v?
Also, to better address the issue, would be helpful
if you could post a self contained app on github
or the steps to reproduce it.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.


Rewrite "What is Meltano?"

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1857
Originally created by @DouweM on 2020-03-13 18:41:55

View 8 previous comments from the original issue on GitLab


Add required hostnames for AutoML vision

Under "Azure public" add entry for required host names for AutoML Vision

Docs Build status updates of commit 6be9778:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/machine-learning/how-to-access-azureml-behind-firewall.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#assign-reviewer:rdondera-microsoft

#assign-reviewer:PhaniShekhar

@jhirono

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Docs Build status updates of commit 2862c07:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/machine-learning/how-to-access-azureml-behind-firewall.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#sign-off


saves everything: The optimizer configuration... it is not able to save TensorFlow optimizers

URL(s) with the issue:
https://www.tensorflow.org/tutorials/keras/save_and_load
Description of issue (what needs changing):
The first reference to "optimizer configuration" is unqualified.
The second reference to "optimizers" is kind of qualified with "(from tf.train)".
Does this mean, tf.keras.optimizer states are stored but not tf.optimizer or does this mean no optimizer states are stored?
full text as follows:
This technique saves everything:

- The weight values
- The model's configuration(architecture)
- The optimizer configuration

Keras saves models by inspecting the architecture. Currently, it is not able to save TensorFlow optimizers (from tf.train). When using those you will need to re-compile the model after loading, and you will lose the state of the optimizer.

@johngrabner Correct. tf.keras.optimizer (v2 optimizers) states are stored but not tf.optimizer (v1 optimizers) as they are not compatible with checkpoints. I am updating the tutorial. May be check tomorrow and let me know if anything is not clear to you. Thanks!

@jvishnuvardhan and @johngrabner , Please close this issue if above PR has included what you wanted.

thanks a lot.


Add Github action to publish pg_to_evalscript on Pypi

Closes https://git.sinergise.com/team-6/openeo-platform/-/issues/50
Made release 0.1.0 https://pypi.org/project/pg-to-evalscript/0.1.0/#history
Was also tested on another branch feature/publish-test-pypi (0.0.1rc5): https://test.pypi.org/project/pg-to-evalscript/#history
Based on:

https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
https://github.com/sentinel-hub/sentinelhub-js/blob/5c8aeafd3af8e88f8bbe830b996b6ff9d3981442/.github/workflows/on_release.yaml

Just a possible improvement.
Would be nice to have a description on pypi.
Instructions for preparing a pypi friendly readme that I found

Just a possible improvement.
Would be nice to have a description on pypi. Can probably be the same as the readme in this repo. Instructions for preparing a pypi friendly readme that I found.
FFTR.

Can be done in a separate PR.


[Feature Request] - brew installation support for Linux

Description
Homebrew is also a valid installation method on Linux, so it would be nice to be able to install termscp using brew on Linux
Changes
The following changes to the application are expected

The Homebrew tap needs to be updated to support Linux

Implementation
Pretty sure there are examples of this as I use A LOT of Rust libraries that can be installed using brew both on Linux and Mac

Thank you @veeso. Just one thing: I think it would be nice to also include the installation instruction in the README.
As it is right now, it's "hidden" inside of the installation script, but you know, sometimes people don't want to go through an installation script to check what it does etc (for security reasons I mean).
It would be nice to have brew command directly

Also, I just tried to reinstall on Linux, but seems like it's still installing 0.11.3

It is mentioned in the website, as all the other installation methods.

Also, I just tried to reinstall on Linux, but seems like it's still installing 0.11.3

You need to wait for 0.12 to be released


 Resources: 6 added, 0 changed, 0 destroyed.

Outputs:

account_id =<PHONE_NUMBER>96
aws_partition = aws
aws_region = us-east-1
resource_aka = arn:aws:dax:us-east-1:352685002396:cache/turbottest37938
resource_id = turbottest37938
resource_name = turbottest37938

Running SQL query: test-get-query.sql
[
  {
    "arn": "arn:aws:dax:us-east-1:352685002396:cache/turbottest37938",
    "cluster_name": "turbottest37938",
    "description": "A test cluster",
    "node_type": "dax.r4.large",
    "tags": {
      "name": "turbottest37938"
    }
  }
]
✔ PASSED

Running SQL query: test-hydrate-query.sql
[
  {
    "akas": [
      "arn:aws:dax:us-east-1:352685002396:cache/turbottest37938"
    ],
    "cluster_name": "turbottest37938",
    "tags": {
      "name": "turbottest37938"
    },
    "title": "turbottest37938"
  }
]
✔ PASSED

Running SQL query: test-list-query.sql
[
  {
    "akas": [
      "arn:aws:dax:us-east-1:352685002396:cache/turbottest37938"
    ],
    "cluster_name": "turbottest37938",
    "title": "turbottest37938"
  }
]
✔ PASSED

Running SQL query: test-notfound-query.sql
null
✔ PASSED

POSTTEST: tests/aws_dax_cluster

TEARDOWN: tests/aws_dax_cluster

SUMMARY:

1/1 passed.

Example query results

Results
### Basic info

```sql
select
  cluster_name,
  description,
  active_nodes,
  iam_role_arn,
  status,
  region
from
  aws_dax_cluster;

+----------------------+-------------+--------------+-----------------------------------------------------+-----------+-----------+
| cluster_name         | description | active_nodes | iam_role_arn                                        | status    | region    |
+----------------------+-------------+--------------+-----------------------------------------------------+-----------+-----------+
| turbot-test-20200125 | <null>      | 1            | arn:aws:iam::986325076436:role/turbot-test-20200125 | available | us-east-1 |
+----------------------+-------------+--------------+-----------------------------------------------------+-----------+-----------+

List clusters that does not enforce server-side encryption (SSE)
select
  cluster_name,
  description,
  sse_description ->> 'Status' as sse_status
from
  aws_dax_cluster
where
  sse_description ->> 'Status' = 'DISABLED';

+----------------------+-------------+------------+
| cluster_name         | description | sse_status |
+----------------------+-------------+------------+
| turbot-test-20200125 | <null>      | DISABLED   |
+----------------------+-------------+------------+

List clusters provisioned with undesired (for example, dax.r4.large and dax.t2.medium are desired) node types
select
  cluster_name,
  node_type,
  count(*) as count
from
  aws_dax_cluster
where
  node_type not in ('cache.m5.large', 'cache.m4.4xlarge')
group by
  cluster_name, node_type;

+----------------------+--------------+-------+
| cluster_name         | node_type    | count |
+----------------------+--------------+-------+
| turbot-test-20200125 | dax.r4.large | 1     |
+----------------------+--------------+-------+

Get the network details for each cluster
select
  cluster_name,
  subnet_group,
  sg ->> 'SecurityGroupIdentifier' as sg_id,
  n ->> 'AvailabilityZone' as az_name,
  cluster_discovery_endpoint ->> 'Address' as cluster_discovery_endpoint_address,
  cluster_discovery_endpoint ->> 'Port' as cluster_discovery_endpoint_port
from
  aws_dax_cluster,
  jsonb_array_elements(security_groups) as sg,
  jsonb_array_elements(nodes) as n

+----------------------+----------------------+----------------------+------------+---------------------------------------------------------------------+---------------------------------+
| cluster_name         | subnet_group         | sg_id                | az_name    | cluster_discovery_endpoint_address                                  | cluster_discovery_endpoint_port |
+----------------------+----------------------+----------------------+------------+---------------------------------------------------------------------+---------------------------------+
| turbot-test-20200125 | turbot-test-20200125 | sg-00ef710282a054a53 | us-east-1e | turbot-test-20200125.z6keng.clustercfg.dax.use1.cache.amazonaws.com | 8111                            |
+----------------------+----------------------+----------------------+------------+---------------------------------------------------------------------+---------------------------------+

@Priyanka585464 / @Paulami30 Make suggested changes


[Bridging PCH] Serialize diagnostics in -emit-pch step.

The driver currently doesn't serialize any diagnostics in the generate-pch job type. It needs to if users are to get any useful feedback in Xcode when there's an error in their bridging header.
rdar://30879533

@swift-ci please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - fae468f9516e7014ba5e82adc58cf94bb8622721
Test requested by - @graydon

(There was a transient test-failure but I re-ran and it passed, so merged)


doc: describe the tags and branches used in Lean/Std/Mathlib CI

This document will probably not live in Mathlib long term, but it's a start.

Would this be more appropriate at https://leanprover-community.github.io/ ?

Replaced with https://github.com/leanprover-community/leanprover-community.github.io/pull/393


Import href doesn't work in Firefox

The demo doesn't work in Firefox. Lazy page content isn't loaded, although routing works as desired.
Only the index file is being loaded, while partials specified in the "path" attribute are not fetched (there are no requests in the Network tab of Firefox devtools).
There are no console errors, the only warning is that "Use of getPreventDefault() is deprecated", but it seems not to be related with the issue.
upd: I tried to debug it and something is wrong with the importHref - in Firefox it is never reached, neither onError callback. Firefox version is the newest one
Here is the workaround which works in Firefox kinda like as it is desired.
upd 2: the reason is vulcanizing with shards (using gulp-web-component-shards). Without vulcanizing component seems to be OK.

Probably because the demo does not include webcomponents.js. This should be added in the index.html file.

Fixed by https://github.com/TimvdLippe/polymer-lazy-application/commit/438b0e9a606605e48a6a35b85183bd83c1a65c8f


Support for traits like behaviour

o Added support to define factory attributes via function
o Added support to pass on build options to attrs, build, create APIs. Note that build options is not yet supported by buildMany or createMany APIs.
o Refactored tests to move models, factories, adapters out of the main test files.
o Removed a couple of tests that checked afterCreate gets called, the following tests anyway test that. This got us rid of sinon spy stuff.

Thanks @chetanism, nice PR (except for the style changes!) I really this improvement. I think we do need to add this to buildMany and createMany as well, and the docs need to be updated too. Are you interested in doing these things?

I'm interested in adding another collaborator on this module. I suspect you'd be perfect, are you interested?

Also be aware that you'll need to merge from master because #50 has been merged.

@aexmachina, sorry for breaking the style rules, it's  just my IDE set to fix styles mostly as per the javascript style guide.
I understand your point, and am ready to revert style changes as well, but still I would like to propose to keep the style as per the above mentioned style guide. Going ahead it would help to follow a default standard definition for other contributors as well.
As for being a collaborator, I am definitely interested to be part of this project!

In the mean time, I'll merge #50, to my changes.

Yeah I understand. I don't like the style either. Happy to change it but it doesn't belong in this PR. No need to change it back, I'm more providing feedback on good PR etiquette.
How can I contact you? My contact details are on my profile?

Agreed! Will keep in mind to not pollute PRs with such stuff. Instead will take these things separately.


finer type

the command type currently returns only a very rough information (number or matrix or list, etc)
is there another way to have finer information ? for example, can one distinguish between integers and real and complex numbers ? Would it make sense to change the behaviour of type to allow that ?

Use ntype [http://www.math.sci.kobe-u.ac.jp/OpenXM/Current/doc/asir2000/html-en/man/man_35.html#ntype]

thanks


Add compatibility for WSL

I am currently only developing on my Linux sub system.
I am running Ubuntu 20.04 on WSL2.
VSCode runs with the WSL extension installed.
If you use the option from the extension to open a file in a new window, the new window is simply blank and nothing is opened.

Bump... I'd love to see this too

I don't have access to any Windows machines and I don't think I'd spend any time making this extension work on windows. However, I'd be very happy if you could create PR to make this happen.


Move credentials to environment variables

When using the harness from a CI process any credentials will need to be passed in via environment variables so they can be stored as secrets in GitHub actions.
The first commit is to include some missing maven files. They are standard so no need to review anything maven related. There are lots of file changes but only 5 Java classes, the rest are config files and tests.

None of the maven stuff in the first commit is ours but it is traditionally committed despite that (also seen in an ESS example). See: https://stackoverflow.com/questions/47240546/should-the-mvnw-files-be-added-to-the-repository
If you go to the commits tab you can select the 2nd one and just review the changes in that one without the distraction of the others.


Works only after full page reload. (Doesn't work after click on some link)

If I click reload button everything looks fine. FastRender.debugger logs are on.
But during surfing between the routes (via navigation bar links etc) the spinner appears, and the FastRender.debugger is not logging. So it doesn't work. Any ideas?

I have the same annoying problem by using simple configuration inside iron-router with a waiton wiwh returns a subscription.
I dont know exactly if it's a misuse or a real issue...
Following logs occur only the 1st time
< FR: injecting ddp message: Object>
< FR: new subscription: SingleItem>
<  FR: sending fake ready for sub:SingleItem>
< FR: re writing DDP for: Object >
< FR: actual subscription complete>
< FR: fast rendering completed!>
As a consequence, browsing seems even faster by not using the FR package.
Help is needed. Thx

Could you prepare a repo with this issue?
Then I can debug it locally and try to fix this issue.

Instead of create a repo, you just have to use the meteor todos sample and moving the subscription to waitOn.

todos example is bit different.
For that, you need to create custom FR routes to get data.
(I find it easy rather than moving the subscriptions to 'waitOn.
if (Meteor.isServer) {
  FastRender.route('/lists/:_id', function(params) {
    this.subscribe('todos', params._id);
  });
}

I don't find any slowness with this approach.

donkey coding in my own implementation subsciption waiton was done on client ...
Thanks for help

I create a repo which highlights the way i want to use fast-render/iron-router.
https://github.com/kk4sh/FR-Nav-Test
One more time, it is surely a misuse but i dont achieve to use both fr and get the subscriptions of the detailed items correctly.
A little bit of help is welcome

Any updates on this issue? I'm also experiencing this problem.
I'm declaring FR routes using the API as @arunoda has outlined but they only work on an initial page load. Moving between routes on the client ceases FR's operation.
Is this by design or is this an issue?

Same for me. Can't get it working. Curiously it worked for all admin users but not for the normal ones...

im having the same problem, console shows undefined on subscription and thats why it doesnt show the new page when clicking on some link
"FR: new subscription: recursos
meteorh...779f823 (línea 280)
FR: new subscription: undefined"
when i reload the page entirely, the console shows the suscriptions are made correctly and FR start injecting data
anyone found anything about this issue?


caddy with quic-go v.0.10.1 crashes regularly

Hi!
Since I upgraded caddy to the latest version, I see it crashing regularly with the following callstack:
Feb 10 12:02:16 webhost caddy[27369]: panic: runtime error: invalid memory address or nil pointer dereference
Feb 10 12:02:16 webhost caddy[27369]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x8e21cc]
Feb 10 12:02:16 webhost caddy[27369]: goroutine 1785 [running]:
Feb 10 12:02:16 webhost caddy[27369]: github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go/internal/crypto.(*certChain).getCertForSNI(0xc00000c910, 0xc00046b690, 0xd, 0xc0006dcea0, 0xc0ab214, 0xf5d823d5d2e10447)
Feb 10 12:02:16 webhost caddy[27369]: #011/tmp/gopath_01-16-2336.857153519/src/github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go/internal/crypto/cert_chain.go:66 +0x6c
Feb 10 12:02:16 webhost caddy[27369]: github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go/internal/crypto.(*certChain).GetLeafCert(0xc00000c910, 0xc00046b690, 0xd, 0xc0001f86f8, 0xc00046b601, 0xd, 0xc0006dcf90, 0x10)
Feb 10 12:02:16 webhost caddy[27369]: #011/tmp/gopath_01-16-2336.857153519/src/github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go/internal/crypto/cert_chain.go:51 +0x43
Feb 10 12:02:16 webhost caddy[27369]: github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go/internal/handshake.(*cryptoSetupServer).handleMessage(0xc00021dcc0, 0xc000414e00, 0x514, 0x60f, 0xc00009a990, 0x1, 0xcc7de0, 0xc00004c820)
Feb 10 12:02:16 webhost caddy[27369]: #011/tmp/gopath_01-16-2336.857153519/src/github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go/internal/handshake/crypto_setup_server.go:162 +0x18f
Feb 10 12:02:16 webhost caddy[27369]: github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go/internal/handshake.(*cryptoSetupServer).HandleCryptoStream(0xc00021dcc0, 0x45bca6, 0xbfd39c)
Feb 10 12:02:16 webhost caddy[27369]: #011/tmp/gopath_01-16-2336.857153519/src/github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go/internal/handshake/crypto_setup_server.go:119 +0x21a
Feb 10 12:02:16 webhost caddy[27369]: github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go.(*session).run.func1(0xc0002ac000)
Feb 10 12:02:16 webhost caddy[27369]: #011/tmp/gopath_01-16-2336.857153519/src/github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go/session.go:452 +0x3a
Feb 10 12:02:16 webhost caddy[27369]: created by github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go.(*session).run
Feb 10 12:02:16 webhost caddy[27369]: #011/tmp/gopath_01-16-2336.857153519/src/github.com/mholt/caddy/vendor/github.com/lucas-clemente/quic-go/session.go:451 +0x8a
Feb 10 12:02:16 webhost systemd[1]: caddy.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Feb 10 12:02:16 webhost systemd[1]: caddy.service: Unit entered failed state.
Feb 10 12:02:16 webhost systemd[1]: caddy.service: Failed with result 'exit-code'.

I thought that was fixed in #1657. To be honest, I don't see how maybeGetConfigForClient could possible return a nil value. Can you help me debug this?

This is something that happened in the middle of the night the last few weeks after I had updated caddy. I didn't happen every night, but I repeatedly found the website down in the morning. I am assuming it's caused by some net crawler that indexes the site.
Is this codepath entered when the first packet arrives? If so, I could create a packet trace and we could replay this. The site doesn't receive much traffic, so this might be feasible.

Yes, this code path is executed during the handshake.
For debugging, please turn on logging. A few Printf statements around the function where the crash happens would probably be useful as well (especially to see the SNI and what tls.Config we're handling there).

Ok! I might have time on Tuesday! Will let you know ...

@stephanreiter, do you have any updates for us? Would be good to fix this crash as soon as possible.

No, sorry. I didn't find time; too busy at work.

I started Caddy with debug-level logging and a tcpdump instance that captures udp packets on port 443. No Printf statements yet because I am just using the latest official caddy binary and didn't want to invest time in building it myself today. Let's see what happens tonight ...

Thank you for your efforts, Stephan. Looking forward to your results.

The server hasn't crashed yet. Maybe tonight's the night. :-)

Alright, it went down again! I'll try to extract the relevant packet(s) from the tracefile and will attempt a replay.
2019/02/23 13:00:37 server Serving new connection: 0x7e963db5b52b5474, version gQUIC 39 from [2001:4ca0:108:42:0:443:17:9]:43548
2019/02/23 13:00:37 server Creating new session.  An older version is not susceptible, which is what I am running now.
Monday evening I could compile my own caddy with quic-go with debug info and give you more details or even try to fix the bug. If the info I posted here today is already sufficient for you, please go ahead. :-)
import binascii

x = binascii.unhexlify("0d7e963db5b52b547451303339010b1da2bb2e36486af7df9550a001051443484c4f1200000050414400ef030000534e4900fc030000564552000004000043435300100400004d535043140400005541494434040000544349443804000050444d443c040000534d484c400400004943534c440400004354494d4c0400004e4f4e506c0400004d4944537004000053434c53740400004353435474040000434f5054740400004346435778040000534643577c0400002d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d7777772e676f6f676c652e64655130333901e8816092921ae87eed8086a2158291640000004368726f6d652f36332e302e333233392e3834204c696e7578207838365f36340000000058353039010000001e0000006c652a5a00000000c1a8f5c436d5c33f56d91facbfa33e2c376a4386a646c6b8f153a581f2fb68d064000000010000000000f000000060000000000000000000000000000000000000000000")

import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.sendto(x, ('<IP_ADDRESS>', 443))

Hi @stephanreiter, thank you a lot for your debugging efforts.
I tried to reproduce the problem. I set up a Caddy 0.11.4, and sent it your packet. This is log output I'm getting:
caddy_1   | 2019/02/24 01:39:13 server Got CHLO:
caddy_1   | 	SNI : "www.google.de"
caddy_1   | 	VER : "Q039"
caddy_1   | 	CCS : "\x01\xe8\x81`\x92\x92\x1a\xe8~퀆\xa2\x15\x82\x91"
caddy_1   | 	MSPC: "d\x00\x00\x00"
caddy_1   | 	UAID: "Chrome/63.0.3239.84 Linux x86_64"
caddy_1   | 	TCID: "\x00\x00\x00\x00"
caddy_1   | 	PDMD: "X509"
caddy_1   | 	SMHL: "\x01\x00\x00\x00"
caddy_1   | 	ICSL: "\x1e\x00\x00\x00"
caddy_1   | 	CTIM: "le*Z\x00\x00\x00\x00"
caddy_1   | 	NONP: "\xc1\xa8\xf5\xc46\xd5\xc3?V\xd9\x1f\xac\xbf\xa3>,7jC\x86\xa6FƸ\xf1S\xa5\x81\xf2\xfbh\xd0"
caddy_1   | 	MIDS: "d\x00\x00\x00"
caddy_1   | 	SCLS: "\x01\x00\x00\x00"
caddy_1   | 	CSCT: ""
caddy_1   | 	COPT: ""
caddy_1   | 	CFCW: "\x00\x00\xf0\x00"
caddy_1   | 	SFCW: "\x00\x00`\x00"
caddy_1   | 	PAD : (1007 bytes)
caddy_1   | 2019/02/24 01:39:13 server Closing session with error: no certificate available for 'www.google.de'
caddy_1   | 2019/02/24 01:39:13 server -> Sending packet 0x1 (74 bytes) for connection 0x7e963db5b52b5474, unencrypted
caddy_1   | 2019/02/24 01:39:13 server 	Public Header{ConnectionID: 0x7e963db5b52b5474, PacketNumber: 0x1, PacketNumberLen: 2, Version: gQUIC 39, DiversificationNonce: []byte(nil)}
caddy_1   | 2019/02/24 01:39:13 server 	-> &wire.ConnectionCloseFrame{ErrorCode:0x1, ReasonPhrase:"no certificate available for 'www.google.de'"}
caddy_1   | 2019/02/24 01:39:13 server Connection 0x7e963db5b52b5474 closed.

which is the correct behavior, since my Caddy doesn't have a certificate for www.google.de.
Can you please double-check the version you're running. Really, in the line that the stack trace is mentioning, there's nothing that could go wrong: https://github.com/mholt/caddy/blob/master/vendor/github.com/lucas-clemente/quic-go/internal/crypto/cert_chain.go#L66

The crashing caddy is Caddy 0.11.2.
The stable one is Caddy 0.10.10.
I'll try 0.11.4.

0.11.4 is fine - no surprise, since it worked for you, too! :)


Add some Generator documentation.

Added some documentation (which I hope is accurate) on how the generators work because I didn't find it mentioned.

Awesome, thanks a lot!


Black screen at the beginning of the creation of the gif.

When I start my gif I have a black screen. How can I remove it?
                       var gif = new GIF({
                              workers: 2,
                              quality: 10
                        });

                          for (var x = 0; x < frames.length; x++) {
                                res_ctx.putImageData(frames[x],0,0);
                                var image_gif = new Image();
                                image_gif.src = res_c.toDataURL("image/png");
                                image_gif.height=img.height;
                                image_gif.width=img.width;
                                gif.addFrame(image_gif,{delay: 100});
                            }

                            gif.render();

Have you tried passing the canvas (res_c) directly? You shouldn't need to create an Image, and an image would have to load, introducing asynchronous behavior.

@1j01 I have an image for example
"img/Myimage.jpg"
I would like to convert it to the Uint8ClampedArray format (as shown in the image).
http://i.imgur.com/h34rf7f.jpg
For what? I am using a library that after a long process converts the images to this format, but I have others images that I need to convert them on my own to this same format. how can I do it? Excuse my ignorance
                var frames = animator.frames;
                var res_c = document.getElementById("result");
                var res_ctx = res_c.getContext('2d');
                for (var x = 0; x < frames.length; x++) {
                //***frames are ImageData (Uint8ClampedArray)***
                    res_ctx.putImageData(frames[x],0,0);
                    console.log(frames[x])
                    gif.addFrame(res_c,{copy:true,delay: 120});
                }
                //I need convert my images in  ImageData (Uint8ClampedArray) for add others frames

I'm not sure I understand the problem. Are you assuming you need to pass the image data in the same way for all frames? You should be able to add frames as Image/<img> objects too, but you do need to wait for them to load.
If you have an array of URLs of images to load, you can use something like this (taken from here and edited):
function waitForImagesLoaded(imageURLs, callback){
    var imageElements = [];
    var remaining = imageURLs.length;
    var onEachImageLoad = function(){
        if (--remaining === 0 && callback) {
            callback(imageElements);
        }
    };

   // first create the images and apply the onload method
   for (var i = 0, len = imageURLs.length; i < len; i++){
      var img = new Image();
      imageElements.push(img);
      img.onload = onEachImageLoad;
      img.src = imageURLs[i];
   }
}

Like so:
var urlsToLoad = ["img/MyImage.jpg"];
waitForImagesLoaded(urlsToLoad, function(images){
    for (var i = 0; i < images.length; i++) {
        gif.addFrame(images[i]);
    }
});

@1j01  Thank you! it worked!

I'm having the same problem but my images are base64 strings so pre-loading them isn't helping.

I can clearly see the first images has a valid base64 images with content.
I was using
workers: navigator.hardwareConcurrency || 2,
witch is 8 in my case.
When using workers: 2 that is the result:

When using workers: 1 that is the result:

When using workers: 0 doesn't return any value.

Although those are a base64 images the img.onload trick works for me as well.


refactor(react-router): expose scrollBehavior on the ScrollRestoration component

Exposes the scroll behavior option for the ScrollRestoration component.
Currently the scrollTo only receives the x and y which makes it animate smoothly. If we always want to force an instant jump to the last point we should be able to set the behavior.

please update docs
docs/framework/react/guide/scroll-restoration.md

@joshuaKnauber thank you for contributing this in 🎉

@joshuaKnauber thank you for contributing this in 🎉

Thank you for reviewing and for all your guys work!


test: change Config\Images::$libraryPath only when the file exists

Description
When there is no /usr/bin/convert, the errors occurs.
Checklist:

[x] Securely signed commits
[] Component(s) with PHPDoc blocks, only if necessary or adds value
[] Unit testing, with >80% coverage
[] User guide updated
[x] Conforms to style guide

Thank you @kenjis


New version: TheBrowserCompany.Arc version <IP_ADDRESS>303

Created by 🥟 Dumplings in workflow run #7557.

Log
Updated: <IP_ADDRESS>963 → <IP_ADDRESS>303
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978334972
2024-08-23 15:28:20.290 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(757)\WindowsPackageManager.dll!00007FF9025CC11F: (caller: 00007FF902358D6F) LogHr(1) tid(165c) 8A15005E     Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FF9024D2B08: (caller: 00007FF90257BC20) Exception(1) tid(165c) 8A15005E ]
2024-08-23 15:28:25.237 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(757)\WindowsPackageManager.dll!00007FF9025CC11F: (caller: 00007FF902358D6F) LogHr(1) tid(fd4) 8A15005E     Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FF9024D2B08: (caller: 00007FF90257BC20) Exception(1) tid(fd4) 8A15005E ]
2024-08-23 15:28:33.178 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(757)\WindowsPackageManager.dll!00007FF8E59EC11F: (caller: 00007FF8E5778D6F) LogHr(1) tid(1b70) 8A15005E     Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FF8E58F2B08: (caller: 00007FF8E599BC20) Exception(1) tid(1b70) 8A15005E ]
2024-08-23 15:29:15.095 [CORE] Deployment operation #2: Windows cannot install package TheBrowserCompany.Arc_<IP_ADDRESS>303_x64__ttt1ap7aakyb4 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.UWPDesktop" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.33728.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.UWPDesktop" currently installed are: {Microsoft.VCLibs.140.00.UWPDesktop_14.0.29231.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00.UWPDesktop_14.0.30035.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00.UWPDesktop_14.0.33321.0_x64__8wekyb3d8bbwe}
2024-08-23 15:29:15.095 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(161)\WindowsPackageManager.dll!00007FF8E5873F75: (caller: 00007FF8E57CA720) Exception(2) tid(1b70) 80073CF3 Package failed updates, dependency or conflict validation.
2024-08-23 15:29:15.196 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FF8E5872D2F: (caller: 00007FF8E587432C) Exception(3) tid(1b70) 80073CF1 Package was not found.
2024-08-23 15:29:15.196 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(126)\WindowsPackageManager.dll!00007FF8E59E8931: (caller: 00007FF8E5875853) LogHr(2) tid(1b70) 80073CF1 Package was not found.
Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FF8E5872D2F: (caller: 00007FF8E587432C) Exception(3) tid(1b70) 80073CF1 Package was not found.
2024-08-23 15:29:15.228 [CLI ] MSIX installer failed:<PHONE_NUMBER>

Automated error analysis suggests -1978334972 may mean This package has a dependency missing from your system.
Automated error analysis suggests<PHONE_NUMBER> may mean Error Installing Dependency - Windows cannot install this package because it depends on a framework (version) that could not be found.
Automated error analysis suggests 8A15005E may mean APPINSTALLER_CLI_ERROR_PINNED_CERTIFICATE_MISMATCH - The server certificate did not match any of the expected values.
(Automated response - build 888.)

https://github.com/microsoft/winget-pkgs/issues/161022

[Policy] Dependencies

[Policy] Dependencies
[Policy] Blocking-Issue

This package installs and launches normally in a Windows 10 VM.
(Automated response - build 923.)

This package installs and launches normally in a Windows 10 VM.
(Automated response - build 923.)


Added pre-push hook to ensure tests are run

hook will be applied on initial run of run_tests.sh

So, two things here:

This is super nice for people that want to do this. However, it doesn't work for e.g. shared folders with a VM (coding on host, testing on guest), and there's probably people that don't want to run tests on push anyway (at least myself). I don't generally like the idea of forcing this on people.
I really don't like run_tests.sh installing git hooks. Imagine someone sneaks in a malicious scripts/githooks/postpush or whatever. It should be caught in review, but nobody is perfect.

What if, instead, we updated the testing doc in doc/dev/ and added this there. "Here's a git hook if you'd like to run tests before pushing each time" etc.

@jimrollenhagen +1 On all this. I often push code as WIP to my branches, especially if I'm hopping between machines, and not all tests may be passing.
Leave it up to CI to run the tests officially. The coders can run the tests locally however they see fit.

@n1889 Any resolutions on this?

Yeah complete +1 on what @jimrollenhagen said. I don't want pushes prevented, all non-trivial (aka non-documentation typo) pushes to master should go via pull request and pull requests are be checked by CI.
Meanwhile I don't like being prevented to push changes to WIP branches where we might not have working unit tests yet: thon't won't get merged anyway.
Moving this to documentation would be nice though.

I'm more than happy to move them to docs if needed, I'm used to using pre-push test hooks so it's second nature to me, to use them. I'll update the PR when I get a chance to.

Thanks @n1889

@n1889 Just a bump on the changes for this to docs.

The other alternative here is to add a ./scripts/add_test_push_hook and ./scripts/remove_test_push_hook

@n1889 What's the status of this?

Sorry for the delay, been absolutely swamped with work.

Looks good, except for the changes to .meteor/version which I can't see any reason for.

Should the script to install the hooks be in doc/dev? It seems out of place to have a script in a doc/ directory.

@guitarman0831 @n1889 Should be installed under scripts/ in path that makes sense.

@n1889 How's this coming along?

I'm taking this over.


defer_js blank screen when no body is present

Testing defer_js on a very simple page I see:
example1.js
  document.write("hello ");

example2.js
  document.write("world");

djs.html
  <script src="example1.js"></script>
  <script src="example2.js"></script>

When run normally I see "hello world", as expected.  When run with defer_javascript I see a blank screen.
Test it here: http://www.jefftk.com/djs?PageSpeedFilters=defer_javascript
Here are WPT runs for Chrome, FF, and Safari showing the same thing:

Chrome: http://www.webpagetest.org/result/160623_DD_115V/
Firefox: http://www.webpagetest.org/result/160623_0N_1163/
Safari: http://www.webpagetest.org/result/160623_R8_1169/

If I add a <body> tag it works as expected and writes out "hello world".

Moved from https://github.com/pagespeed/mod_pagespeed/issues/1054

I think this is not a problem in practice, since it only affects tiny demo pages.  If we see this causing problems elsewhere we should reopen.


Data type refactor restructuring and changes

Fixes #436 , #437 and #438

Do we need this snippet ? Why ?
        if "enums" in xpattern:
            schema["properties"]["value"]["enum"] = copy.deepcopy(
                xpattern["enums"]
            )
            schema["properties"]["values"]["items"]["enum"] = copy.deepcopy(
                xpattern["enums"]

Do we need this too ? can't it be deepcopied directly to schema ?
        xconstants = (
            xpattern["x-constants"] if "x-constants" in xpattern else None
        )

This is again coming from old code, but shouldn't we check if counter feature is provided before defining Incr/Decr schemas ?

these were from beginning not sure the use-cases

these were from beginning not sure of the use-cases

Would suggest removing any unused code, hence asking for confirmation if it's indeed used

We're not setting correct format and min/max auto field (for integer)

Do not provide minimum and maximum for properties which require exact 32/64 bits.

these were from beginning not sure of the use-cases

Would suggest removing any unused code, hence asking for confirmation if it's indeed used

removed unused code

empty string not needed
                    pt.get("type", "") == "int" or pt.get("itemtype") == "int"

Inside _get_integer_format, if type_format is None, set it to int32

needs to be and
    def _min_max_in_range(cls, format, min, max):
        if min is None or max is None:
            return True

Remove _format_from_range and its usage. Print a WARNING that since format has not been provided, it's being defaulted to int32

Probably need to include map for int32
self._oapi_go_types = {