iOS 13 Sandbox Issue - WebPageProxy::Ignoring request to load this main resource because it is outside the sandbox

Bug Report
Received an unexpected URL from the web process: 'file:///Users/gokasci/Library/Developer/CoreSimulator/Devices/2EFBFE26-6A43-4F8C-A502-2AAE7CA5B67A/data/Containers/Bundle/Application/7ED4101B-FDCD-40E0-AD59-A24B37829E40/Curiosmo.app/www/pages/templates/homepage.html'
WebPageProxy::Ignoring request to load this main resource because it is outside the sandbox
Problem
I receive a sandbox error when I try to direct the user to a local .html file in my app:
'file:///Users/gokasci/Library/Developer/CoreSimulator/Devices/2EFBFE26-6A43-4F8C-A502-2AAE7CA5B67A/data/Containers/Bundle/Application/7ED4101B-FDCD-40E0-AD59-A24B37829E40/Curiosmo.app/www/pages/templates/homepage.html' on iOS 13. (It works fine below iOS 13.)
What is expected to happen?
After user login on 'index.html' (the user can receive a token from the server), the user should be directed to 'homepage.html'
What does actually happen?
After the user login on 'index.html', the user is stuck on 'index.html' and the device gives the error above.
Information
https://stackoverflow.com/questions/49638653/load-local-web-files-resources-in-wkwebview
https://stackoverflow.com/questions/40123321/wkwebview-run-local-html-in-document-received-an-unexpected-url-from-the-web-p
https://forums.developer.apple.com/thread/95473
Command or Code
cordova platform add ios
cordova plugin add cordova-plugin-wkwebview-engine
Environment, Platform, Device
iOS 13.2.2, cordova-ios 5.1.1, iPhone 6S
Version information
cordova-cli 9.0.0
android 8.1.0
browser 6.0.0
ios 5.1.1
osx 5.0.0
cordova-pdf-generator 2.0.8 "PDFGenerator"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-apprate 1.5.0 "AppRate"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-calendar 5.1.5 "Calendar"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-customurlscheme 4.4.0 "Custom URL scheme"
cordova-plugin-device 1.1.7 "Device"
cordova-plugin-dialogs 1.2.1 "Notification"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-firebase-analytics 4.1.2 "FirebaseAnalyticsPlugin"
cordova-plugin-firebase-messaging 4.1.1 "FirebaseMessagingPlugin"
cordova-plugin-inappbrowser 3.2.0 "InAppBrowser"
cordova-plugin-ios-camera-permissions 1.2.0 "iOS Permissions"
cordova-plugin-media-capture 3.0.2 "Capture"
cordova-plugin-native-settings 1.0.0 "NativeSettings"
cordova-plugin-nativestorage 2.3.2 "NativeStorage"
cordova-plugin-navigationbar-color 0.0.8 "NavigationBar"
cordova-plugin-purchase 9.0.0 "Purchase"
cordova-plugin-splashscreen 5.0.3 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-wkwebview-engine 1.2.1 "Cordova WKWebView Engine"
cordova-plugin-wkwebview-file-xhr 2.1.4 "Cordova WKWebView File XHR Plugin"
cordova-plugin-x-socialsharing 5.4.7 "SocialSharing"
cordova-support-android-plugin 1.0.1 "cordova-support-android-plugin"
cordova-support-google-services 1.4.0 "cordova-support-google-services"
cordova.plugins.diagnostic 5.0.1 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"
Checklist

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to a most recent version
[x] I included all the necessary information above

how do you redirect to homepage.html?
can you provide a sample app?

Ignoring request to load this main resource because it is outside the sandbox

This sounds like you're trying to access a resource that is "outside" of your app.

(It works fine below iOS 13.)

This suggests to me you're trying to use the exact same URL (maybe hard-coded) on different simulators.
Make sure you're using relative paths, not absolute paths. You cannot after all determine the UUID portion of the url on iOS.

While testing in a blank app, we realized that putting index.html in a folder and redirecting it to another .html in another folder outside the index.html's folder causes the problem:
-folder1
--index.html
-folder2
--redirected.html

try to use
NSString *path = [[NSBundle mainBundle] pathForResource:@"index" ofType:@"html"];
NSString *htmlContent = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil];
[self.webView loadHTMLString:htmlContent baseURL:fileURL];
i resolve it on ios14 beta

I'm having the same problem, running on iOS 13 currently and using Xcode 11.7 beta, I'm new to iOS so I don't have an idea of how to solve it. Just built my existing cordova project, using cordova ios 6.1, I tried downgrade to 5.1 but the error still appearing

Hi @yumi19880806
where you put this code to solve it?

I used @gasci 's solution and it worked!
This is my folder structure.
-en
--index.html
-ko
--index.html

It failed to move en/index.html to ko/index.html. I created a simple html page in www folder.
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="refresh" content="0; url=./en/index.html" />
<title>Main Page</title>
</head>
<body>
</body>
</html>

index.html
-en
--index.html
-ko
--index.html

Then I changed a config.xml.  to
<platform name="ios">
        <content src="index.html" />
</platform>

The error, "WebPageProxy::Ignoring request to load this main resource because it is outside the sandbox" is gone. Worked fine.


How to visualize the learnt policies

Hi, how do I get the visualizations like in assets folder for the policy learnt?
Thanks

Use evaluate.py


[Bug]: Unable to apply for library permissions

ODC version
odc431
OB version

What happened?

What did you expect to happen?
Can apply for library permissions
How can we reproduce it (as minimally and precisely as possible)?
Execute SQL statements that operate on tables within the SQL window of low privilege accounts
Anything else we need to know?
No response

Fixed In Commit e94b64b0b25abdd13d49f191a01068e9cecab341
------
畅晚
Tue Aug 6 09:55:12 2024 +0800

pass


Warning: ignoring input sourcemap

I'm now getting this warning message whenever I fire up ember:
$ ember s
version: 0.2.3
Livereload server on port 35729
Serving on http://localhost:4200/
Warning: ignoring input sourcemap for bower_components/route-recognizer/dist/route-recognizer.js because ENOENT, no such file or directory '/home/kiffin/projects/ember/cli/na-mockup/tmp/tree_merger-tmp_dest_dir-C9TNBuKx.tmp/bower_components/route-recognizer/dist/route-recognizer.js.map'

That's actually an issue with either route-recognizer or Ember CLI itself.

You're right, here's the link for anyone interested:
https://github.com/tildeio/route-recognizer/issues/44


Add check that "::" is not allowed in identifier scheme values

For document type, process and participant identifier schemes

Fixed in 7.0.0


(docs) add note to clarify enable param

Adds a note to the service type to clarify enable parameter behavior. (see DOC-4016)

CLA signed by all contributors.

Looks like Travis doesn't like the commit message, we need to change (DOCS) to lowercase (docs)

Fixed, @joshcooper

@jbondpdx sorry it looks (docs) needs to be prepended to the commit summary and force pushed to your topic branch as opposed to the github PR summary.

Ah no worries, sorry @joshcooper !


Unable to display GIS files generated from duckdb (v0.10.1)

Unable to display GIS (QGIS 3.34.3-Prizren) file generated by v0.10.1.
INSTALL httpfs;
INSTALL spatial;

LOAD httpfs;
LOAD spatial;
SET s3_region='us-west-2';

COPY (
    SELECT
        height,
        num_floors,
        ST_GeomFromWKB(geometry) as geometry
    FROM
        read_parquet('s3://overturemaps-us-west-2/release/2024-03-12-alpha.0/theme=buildings/type=*/*', hive_partitioning=1)
    LIMIT
        100
    ) TO 'buildings_sample_0_10_1.fgb'
WITH (FORMAT GDAL, DRIVER 'FlatGeobuf');

Actual Output:

Expected Output:
from v0.10.0

Thanks again for reporting this, I have a fix ready in #296

Thanks for the fix. It has resolved the issue.


DX: AbstractDoctrineAnnotationFixer - no need for import aliases

Coverage remained the same at 91.934% when pulling 401dab195255e960314bc0826a09871869a3042b on keradus:2.18_groom2 into 44635508bda29f5be49e0ed0cc63d1776c48f944 on FriendsOfPHP:2.18.


Do not cache thread id on aarch64 linux

From https://github.com/crossbeam-rs/crossbeam/pull/802#issuecomment-1074579963

For the record, taking 0.5.4 works, and changing try_select to have #[inline(never)] breaks it again.

Given that an annotation about inlining reintroduces the issue, it appears that this may also be reintroduced by options such as opt-level and LTO.
Disabling cache on aarch64 linux until the problem is fixed upstream is probably a more robust approach.

cc @glandium

The current one seems to be working anyway, so will close this for now.


Allow empty query sets

I ran into a problem a while back where if I clear cache, reaper has a hard time showing the empty response set until my first DNS query comes in.  Just a quick little patch, hope this reaches you well!

Thanks, appreciate it.


fix: update to eye v4.15.1

fix: update to eye v4.15.1

:tada: This PR is included in version 6.6.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v6.6.1

Your semantic-release bot :package::rocket:


Adding upload_artifact_s3

Adding function to upload artifacts to s3 so they can be send to report portal. This is related to OLS-592

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.29%. Comparing base (e2af104) to head (58765f1).
Report is 30 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1292      +/-   ##
==========================================
- Coverage   94.75%   92.29%   -2.46%
==========================================
  Files          57       57
  Lines        2441     2441
==========================================
- Hits         2313     2253      -60
- Misses        128      188      +60

see 10 files with indirect coverage changes

/lgtm

make verify + make format

/lgtm

/test Red Hat Konflux / lightspeed-service-on-pull-request

/retest


Add Microsoft AL Code Language

Microsoft Dynamics 365 Business Central uses the AL Code language, which this PR adds support for the .AL files.
Description
Hello!  First time contributor, so hopefully I've got it all correct.
Microsoft Dynamics 365 Business Central uses the AL Code language, which increasingly will grow as a presence in both public and private repositories, such as the repo run by the Microsoft team over at:  https://github.com/microsoft/AL
Currently, all .AL extension files are being detected as PERL across the platform.
I have added the new language to the language file.  The color is the branding logo color for the platform.  The syntax/grammar file repo I created uses the officially provided TM language syntax Microsoft publishes to us in the VSIX/Extension for AL Code Development.
The code samples in the Sample File are from an @ajkauffmann repo under the MIT License for training purposes:  https://github.com/ajkauffmann/ALCodeSamples
There are lots of in the wild examples now, as shown in this search:
https://github.com/search?q=extension%3Aal+dynamics&type=Code
There is still slow adoption of a uniform tagging of the projects to the language, so some repos can be found via:
https://github.com/topics/al-language
https://github.com/topics/dynamics-365-business-central
As far as I can tell, this passes all the bundle exec rake test checking that I can figure out.
Checklist:

[x] I am adding a new language.

[x] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?q=extension%3Aal+field&type=Code

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

https://github.com/ajkauffmann/ALCodeSamples

Sample license(s):

[x] I have included a syntax highlighting grammar: https://github-lightshow.herokuapp.com/?utf8=✓&scope=from-url&grammar_format=auto&grammar_url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FAL%2Fblob%2Fmaster%2Fgrammar%2Falsyntax.tmlanguage&grammar_text=&code_source=from-url&code_url=https%3A%2F%2Fgithub.com%2Fajkauffmann%2FALCodeSamples%2Fblob%2Fmaster%2FGitHub%2520AL%2520Issues%2FPages%2FALIssueList.al&code=

Apologies, I didn't spot that it included my tweak to script/grammar-compiler to make it work in my WSL1 environment.  Hopefully that individual change can be skipped over.

Additional code samples suggested by the community (@hougaard) to show adoption:
https://github.com/microsoft/ALAppExtensions

Hmm, still trying to verify the 'in the wild' methods to warrant the addition in a cleaner way for your team.
I realized that just about every AL Code project has a ".vscode/launch.json" file with a property in it, and this was the most compelling search result yet - every "Code" result appears to be the AL Code launch.json file, which means there are about 600-700 repositories with AL Code.
Search:  https://github.com/search?q=filename%3Alaunch.json+schemaUpdateMode

@JeremyVyska If you update the original post's template with a GitHub search query for AL Code files, we will then be able to use Harvester to count the number of repositories these files are in. We can then correlate that with your second approach to count the number of repositories :+1:

Apologies, missed a copy/paste on the template.  Fixed now.
Thanks for the review and confirmation it's looking good.  Let me know if you need anything at all - the team at Microsoft who made the language is available for any assistance we might need too.

Thanks for the tip about Harvester!  Took a little to learn to use it, but I was able to refine the search commands a bit more.
I used both search techniques (the AL file type as search 1, the json technique as search 2) and managed to come up with some Unique repo lists for each.
I combined and deduped the lists, and have attached all the results.    Hope this simplifies the process - it's appreciated.
unique-repos-1.txt
unique-repos-2.txt
unique-repos-cross-deduped.txt
al-harvest-1.txt
al-harvest-2.txt

@pchaigno / @lildude - This was approved, but is now out of date.  Do I need to do the merge or will you do that as part of accepting this?

Do I need to do the merge or will you do that as part of accepting this?

That's not a problem as we can click the "Update branch" button and it'll update your branch.
I've taken a quick look at this PR and .al is already associated with Perl and appears to be incredibly popular. We're going to need a heuristic added to this PR to differentiate between the two.

Oh jeez.  OK, I read that section of the CONTRIB and was really happy it didn't apply.
Does this mean I need to help gather an army of Perl .al files versus Microsoft AL Code .al files for testing?  Do I need to learn how to make the Heuristic?
I can certainly do a detailed guide on what .al files will contain.   In summary, it's Object Oriented, in a way, but the root of each file can only contain a limited prescribed list of object types.   In the Syntax highlighting from the Microsoft AL Code repo, this section:
		<dict>
			<key>match</key>
			<string>\b(?i:(CODEUNIT|PAGE|PAGEEXTENSION|PAGECUSTOMIZATION|DOTNET|ENUM|ENUMEXTENSION|VALUE|QUERY|REPORT|TABLE|TABLEEXTENSION|XMLPORT|PROFILE|CONTROLADDIN))\b</string>
			<key>name</key>
			<string>keyword.other.applicationobject.al</string>
		</dict>

That is the root of "applicationobjects" that are allowed.  If there isn't a non-indented line with
[keyword] [number] ["name"][Linefeed]
{

then it be considered not a valid AL Code .al file.

Does this mean I need to help gather an army of Perl .al files versus Microsoft AL Code .al files for testing?

Not really, but it will help you validate your heuristic. You could just use the samples in Linguist and this PR to start.

Do I need to learn how to make the Heuristic?

You probably know how to do this already 😉 The heuristics are a series of regular expressions added to https://github.com/github/linguist/blob/master/lib/linguist/heuristics.yml to differentiate the languages for each extension. As you're only differentiating between two languages, you only need to ensure the MS AL regex is right and fallback to Perl as everything is currently assumed to be Perl.  @Alhadis is pretty good at these if you need a hand.
We'll also need tests for the heuristic too.

Roger - I will update the PR with new RegEx in the heuristics.yml.
What actions should I take to help with tests for the heuristics?

What actions should I take to help with tests for the heuristics?

Something like the other tests, for example like this .as heuristic test should do the trick: https://github.com/github/linguist/blob/96ad1185828f44bb9b774328a584551ee57ed264/test/test_heuristics.rb#L64-L69
This uses the samples in the repo (and this PR) to verify the heuristic.
Oh yes, and the license file format has changed in master, so you'll need to run bundle exec licensed cache -c vendor/licenses/config.yml, add the new file and remove the old vendor/licenses/grammar/AL.txt file.

OK!   Licensing update merged and updated.  Heuristics Regex added (with Perl as the default 'fallback' - I checked over Perl AL files and the Regex is really AL Code specific), as well as the testing hooks added for .al files, I believe, to check if it's AL Code or Perl AutoLoader.

Thank you @lildude - it's going to be awesome to get this merged and start seeing it flow through GH.

Is there a chance that "AL Code" get renamed to "AL" only?
In Azure DevOps .al files are categorised as AL, not "AL Code".

Is there a chance that "AL Code" gets renamed to "AL" only?

Sure. I don't have the bandwidth right now, but please feel free to submit a PR yourself.

Is there a chance that "AL Code" gets renamed to "AL" only?

Sure. I don't have the bandwidth right now, but please feel free to submit a PR yourself.

Done that. is there anything else I should do to get this thing rolling? :)

Nope. https://github.com/github/linguist/pull/5023 is waiting for review from one of the external maintainers. Even once merged, it won't take effect on GitHub.com until I've made a new release.


Raw sections not expanding when referenced

I've been converting my config file to utilize your script, but when it comes to making a raw section and then referencing it, nothing happens.
So when I have:
!@<+default_keybindings
bindsym...
>
And then later:
mode "another_mode" {
...
!@default_keybindings
}
The config file will have the another_mode section written out literally rather than expanding.
Am I doing something wrong?

Do you have #!nobracket in your config file?

 It works fine now.


Please add support for Julia 1.7 running on Apple Silicon (ARM64) on MacOS

It would be great if this supported Apple Silicon natively.

This needs upstream support, please subscribe https://github.com/JuliaIO/HDF5.jl/issues/870

Thanks @johnnychen94

@johnnychen94 I installed HDF5 via Homebrew. Is there a way I can use that with the MAT package?

Check out the "Using custom or system provided HDF5 binaries" section on the HDF5.jl webpage: you can set the environment vartiable JULIA_HDF5_PATH to point to the location of the library file. More generically you can use the override mechanism provided by the julia packaging system to force the usage of the system provided libraries.

We've just tagged 0.16 which adds apple silicon support, this will now allow up to upgrade this package and close this issue out. Fix should be available soon.

Thanks @musm! This works for me now.


Normalize File and Folder Names to Replace Spaces in Path Names

Description:
When this project repo was initialized, naming best practices for deploying live pages was not considered. Now that some pages are being published, it's clear that spaces within path names need to be normalized to adhere to best practices and ensure smooth deployment.
Expected Behavior:
File and folder names follow best practices, avoiding spaces to ensure compatibility and consistency.
Actual Behavior:
Currently, pages do not break with spaces in the file path names. However, it is best practice to update the naming scheme to avoid potential issues in the future.
Proposed Solution:
Implement an incremental approach to rename files and folders:

[x] Identify Critical Items: List all files and folders for projects intended to be published.
[x] Rename in Small Batches: Rename files/folders, replacing spaces with underscores or hyphens.
[ ] Update References: Update any references within the codebase.
[ ] Test After Each Change: Test the project locally to ensure it works correctly.
[ ] Document Changes: Keep a log of all changes made.

Normalized up through Section 13 completed.


Laravel 5.0 not supported

laravel : 5.0
php version : 5.4.16
Package hekmatinasser/verta has a PHP requirement incompatible with your PHP version

I try release 1.0 too but same error.

verta minimum requirement php version 5.6


Style guide: add notes from SEO briefing to the Front matter page

Style guide: add notes from SEO briefing to the Front matter page

LGTM, single pedantic comment you can ignore


Bonding Curve

Thanks for sharing. I'd like to know which bonding curve formula is used to calculate price and amout out etc.?

Just read data from api


Remove retries from example DAGS (users should use repair)

Retries can lead to issues in the current implementation, especially if the previous job execution has not yet been finished.
If users have issues, they are encouraged to use the repair feature.

Codecov Report
Patch and project coverage have no change.

Comparison is base (b9b2ef2) 78.33% compared to head (f259f7d) 78.33%.

:exclamation: Current head f259f7d differs from pull request most recent head 1821a8d. Consider uploading reports for the commit 1821a8d to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #48   +/-   ##
=======================================
  Coverage   78.33%   78.33%
=======================================
  Files           5        5
  Lines         480      480
  Branches       64       64
=======================================
  Hits          376      376
  Misses         83       83
  Partials       21       21

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Figure out how to send a message from one account to another using code

From self account to any other channel id in a server id / or user id via dm
explore other github projects that perhaps send messages
a good keyword to search is 'discord selfbot' and perhaps you can find one on github ( i had trouble )

i recommend doing this through clicks rather than the discord api. the api will likely get you banned but if you click the elements to send the messages it will be better
so enable discord developer mode to be able to open chrome dev tools inside discord, then inspect the elements orders to click and type 'gm' into
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click

couple ways to do this, for now focusing on just discord users would be easier, and can fill in servers -> channels later


Search bar within the map for addresses / locations

Implementation could change which repo this project belongs to
Might be a dupe of https://github.com/waterthetrees/wtt_front/issues/255 but not sure

is this a search bar similar to google maps search bar?

i was on instagram desktop and how they integrated the search bar within the vertical menu was pretty cool. I like to go down this route with the search bar for the map.

started to integrate the search into the vertical menu for the map. Its just a layout, but im not sure what content we want to put in here. If its just past trees searched, addresses, random searches.

Forgot I started a search menu for mobile. But I like the idea of removing the green header bar and having the search bar there instead. still a work in progress.

I am looking at ways to incorporate the search into our current interface. I have thought of the idea of having it at the very top to remove the horizontal green bar or now I looked at tesla having it at the bottom. Both are valid solutions to explore. I was looking at the bottom to be more of a tool to see your trees or do more actions (similar to what google maps does). I see the search being more valuable at the top as its not as easy to access with a finger. I see the search not being the primary tool to a certain degree as planting is much more of the focus with the actions at the bottom.

I am looking at ways to incorporate the search into our current interface. I have thought of the idea of having it at the very top to remove the horizontal green bar or now I looked at tesla having it at the bottom. Both are valid solutions to explore. I was looking at the bottom to be more of a tool to see your trees or do more actions (similar to what google maps does). I see the search being more valuable at the top as its not as easy to access with a finger. I see the search not being the primary tool to a certain degree as planting is much more of the focus with the actions at the bottom.

yah I feel like whatever we want to be the most prominent should be on the bottom - this sounds like the planting or other maintenance actions flow from discussions we've already had I think!

started to integrate the search into the vertical menu for the map. Its just a layout, but im not sure what content we want to put in here. If its just past trees searched, addresses, random searches.

Have you finalized whether you want the search bar on the main screen or hidden away in the menu? Or maybe the former is for desktop and the latter is for mobile?

@ri0nardo
We talked about this briefly, but I'm curious if this matches up to what you had in mind for searching trees. https://github.com/waterthetrees/wtt_front/issues/524
Are there other lists of trees we would want to populate the autocomplete with? Are there other entities that users might be searching for besides trees?

Are there other lists of trees we would want to populate the autocomplete with? Are there other entities that users might be searching for besides trees?

We can brainstorm a whole list of filters we want to include. Its quite a large task to include it all. A few more we could incorporate in the future include:

User Search - Profiles
Organization Search
DBH size
Nurseries

I would focus on values that are currently already included in the tree details sidebar.

Oooh, I think it would be cool to search for trees with a "maintenance needed" feature. This looks to go hand in hand with implementing the tagging feature (see screenshot). An example use case would be to search "Needs water" on the search bar much like you would type "food" on google maps. The map would populate with the 10-15 results closest to the centroid of the user's current viewport.

That's the idea, but I believe that "watering" feature needs work with timing plus the notifications. Do we want to start a ticket on filters we want to include, and scope it out to what we currently could include and future implementation?

started to integrate the search into the vertical menu for the map. Its just a layout, but im not sure what content we want to put in here. If its just past trees searched, addresses, random searches.

Have you finalized whether you want the search bar on the main screen or hidden away in the menu? Or maybe the former is for desktop and the latter is for mobile?

I want to go down the route of integrating the search into the side menu which I started. Right now I am just going to use the mobile results and place them into the search and see how that looks. I would also make space for the filters. I would essentially make mobile and desktop look very similar just so its less components and possibly quicker to incorporate. How soon do you need it? I haven't spent anytime on the search, so i can switch priority to this if you need it soon.

Honestly getting a bit confusing from a developer's perspective on what phase we are in the design iteration. Might want to consider splitting out into design tickets in the future. For now, I can see it being helpful for getting everyone's opinion.

I was exploring all the possibilities of the search and the placement on a mobile device. Mobile is the priority to me at this moment. But I do have a solution, but need to design it out.

I want to go down the route of integrating the search into the side menu which I started. Right now I am just going to use the mobile results and place them into the search and see how that looks. I would also make space for the filters. I would essentially make mobile and desktop look very similar just so its less components and possibly quicker to incorporate. How soon do you need it? I haven't spent anytime on the search, so i can switch priority to this if you need it soon.

I think I have 1-2 weeks worth of work to do before I work on the UI component. You don't need to rush, but it would be good to get a general sense of what you were envisioning for the search bar, since it seems different than what you previously had in your mock. Sounds like it'll be hidden until the side menu is opened if it's incorporated into the side menu? I think that makes sense for mobile, but I feel like with the screen real estate we have on desktop, we could probably keep the search bar on the top of the map for desktop.
Take your time! I have plenty of work to occupy me in the meantime, but this will be my main project starting next week.
As an aside, what do you mean by filters? I think you're talking specifically about the autocomplete results?

I think I have 1-2 weeks worth of work to do before I work on the UI component. You don't need to rush, but it would be good to get a general sense of what you were envisioning for the search bar, since it seems different than what you previously had in your mock. Sounds like it'll be hidden until the side menu is opened if it's incorporated into the side menu? I think that makes sense for mobile, but I feel like with the screen real estate we have on desktop, we could probably keep the search bar on the top of the map for desktop.

I dont think the search should take its own space on the map due to it being in the same space as all the other actions. See my example. While there is screen real estate the focus should be the map. also the less we populate the screen makes it look cleaner imo.

As an aside, what do you mean by filters? I think you're talking specifically about the autocomplete results?
I was just talking about the filter tags I put in the search.

I think I have 1-2 weeks worth of work to do before I work on the UI component. You don't need to rush, but it would be good to get a general sense of what you were envisioning for the search bar, since it seems different than what you previously had in your mock. Sounds like it'll be hidden until the side menu is opened if it's incorporated into the side menu? I think that makes sense for mobile, but I feel like with the screen real estate we have on desktop, we could probably keep the search bar on the top of the map for desktop.

I dont think the search should take its own space on the map due to it being in the same space as all the other actions. See my example. While there is screen real estate the focus should be the map. also the less we populate the screen makes it look cleaner imo.

As an aside, what do you mean by filters? I think you're talking specifically about the autocomplete results?

I was just talking about the filter tags I put in the search.

Got it! This all LGTM! 🙏

@mwpark2014 im actually reconsidering how the search will work on mobile. I find more value with the search showing the user where the tree(s) are in relation to the map. I found an example from a case study someone was doing. What do you think?

@mwpark2014 im actually reconsidering how the search will work on mobile. I find more value with the search showing the user where the tree(s) are in relation to the map. I found an example from a case study someone was doing. What do you think? I am just talking about the first screen from this example.

I think we discussed this elsewhere. Yeah, I think I can get on board with a search that opens up from the bottom. It sounds like one case would be when planting a new tree. Would there be other cases where a user would be likely to need to use search? I'm afraid that hiding it would make it undiscoverable

@mwpark2014 im actually reconsidering how the search will work on mobile. I find more value with the search showing the user where the tree(s) are in relation to the map. I found an example from a case study someone was doing. What do you think? I am just talking about the first screen from this example.

I think we discussed this elsewhere. Yeah, I think I can get on board with a search that opens up from the bottom. It sounds like one case would be when planting a new tree. Would there be other cases where a user would be likely to need to use search? I'm afraid that hiding it would make it undiscoverable

just ignore that message. We can just have this as an idea.


Excessive iteration over query in simple_box example

While debugging inputs in HostServer mode it seems excessive iteration of position_query is done when the input is actually none.
I know this is example code, but programmers (at least one;me) always copy paste, so probably good to fix anyway.

Good catch, thanks!


First noreference posterior task

As documented in #19, this PR rebases on main and adopts #19 accordingly
Closes #18

In the course of setting up this PR, I ran into this problem inside snpe:
self = <sbibm.tasks.noref_beam.task.NorefBeam object at 0x7f6b410389a0>
data = tensor([3.1400e+02, 0.0000e+00, 3.3500e+02, 3.0000e+00, 3.5800e+02, 1.0000e+00,
        3.8700e+02, 1.0000e+00, 4.2300...0, 0.0000e+00, 0.0000e+00, 0.0000e+00, 0.0000e+00,
        0.0000e+00, 0.0000e+00, 0.0000e+00, 0.0000e+00, 6.0198e+04])

    def flatten_data(self, data: torch.Tensor) -> torch.Tensor:
        """Flattens data

        Data returned by the simulator is always flattened into 2D Tensors
        """
>       return data.reshape(-1, self.dim_data)
E       RuntimeError: shape '[-1, 400]' is invalid for input of size 401
E         Trace Shapes:
E          Param Sites:
E         Sample Sites:
E       parameters dist           1 | 4
E                 value           1 | 4
E             data dist 200 200   1 |
E                 value       1 400 |

I have to find out where this comes from.

This PR is almost done. However, when calling this simulator with snpe I get an error that is caused by some internal pyro magic. My pyro foo is not enough to disentangle what is going on.
This is the backtrace at the position where the error is raised:
(Pdb) bt
  /usr/lib64/python3.9/bdb.py(623)runcall()
-> res = func(*args, **kwds)
  /home/steinbac/development/sbibm/repo/tests/tasks/noref_beam/test_interface_noref_beam.py(106)test_benchmark_metrics_selfobserved_three()
-> outputs, nsim, logprob_truep = run_snpe(
  /home/steinbac/development/sbibm/repo/sbibm/algorithms/sbi/snpe.py(82)run()
-> transforms = task._get_transforms(automatic_transforms_enabled)["parameters"]
  /home/steinbac/development/sbibm/repo/sbibm/tasks/task.py(296)_get_transforms()
-> _, transforms = get_log_prob_fn(
  /home/steinbac/development/sbibm/repo/sbibm/utils/pyro.py(76)get_log_prob_fn()
-> max_plate_nesting = _guess_max_plate_nesting(model, model_args, model_kwargs)
  /home/steinbac/development/sbibm/repo/sbibm/utils/pyro.py(375)_guess_max_plate_nesting()
-> model_trace = poutine.trace(model).get_trace(*args, **kwargs)
  /home/steinbac/development/sbibm/repo/sbibm-main-venv/lib64/python3.9/site-packages/pyro/poutine/trace_messenger.py(198)get_trace()
-> self(*args, **kwargs)
  /home/steinbac/development/sbibm/repo/sbibm-main-venv/lib64/python3.9/site-packages/pyro/poutine/trace_messenger.py(174)__call__()
-> ret = self.fn(*args, **kwargs)
  /home/steinbac/development/sbibm/repo/sbibm-main-venv/lib64/python3.9/site-packages/pyro/poutine/messenger.py(12)_context_wrap()
-> return fn(*args, **kwargs)
  /home/steinbac/development/sbibm/repo/sbibm/tasks/task.py(340)model_fn()
-> return simulator(prior_())
  /home/steinbac/development/sbibm/repo/sbibm/tasks/simulator.py(58)__call__()
-> data = self.simulator(parameters, **kwargs)
> /home/steinbac/development/sbibm/repo/sbibm/tasks/noref_beam/task.py(278)simulator()
-> len(samples.shape) >= 3

for some reason, bdist = pdist.Binomial(total_count=self.flood_samples, probs=img) does not return the expected result in this scenario. and the following pyro.sample call produces something that is missing a dimension. Could be a batch_shape versus  event_shape issue, but I don't understand where it is coming from.
@jan-matthis if you have any idea, please let me know.

The trouble you run into has to do with a call to transforms = task._get_transforms(automatic_transforms_enabled)["parameters"]. This method tries to automatically construct transformations into unbounded parameter space by inspecting the pyro model of the task. Since the output of the task is not equal to a sample from a pyro.sample-call but rather a reduced version of it (due to the torch.sum statements) this automatic construction cannot work.
I think we should be able to make this work out by 1) remove the assert statement you added, and 2) overriding the _get_transforms method in the task class, e.g. by:
    def _get_transforms(
        self,
        *args,
        **kwargs: Any,
    ) -> Dict[str, Any]:
        return {"parameters": torch.distributions.transforms.IndependentTransform(torch.distributions.transforms.identity_transform, 1) }

Note that this would simply define identity transforms. I would suggest that we rather manually specify transforms that turn the prior bounds into unbounded space by a combination of sigmoidal/affine transforms. The Gaussian Linear Uniform task has a similar prior (only with different bounds), to see which transforms are automatically constructed for it, you can take a look at them as follows:
import sbibm
task = sbibm.get_task("gaussian_linear_uniform")
transforms = task._get_transforms()

Being able to transform the problem into unbounded space can help performance with NLE/NRE -- so it would be nice to have appropriate transforms as part of the class for methods that do want to exploit them. Having said that, in principle the code should work with the identity transform as specified above.
From what I saw, you might encounter a problem with SNPE down the line in tests -- conditioning on multiple observations is currently only supported by NLE/NRE, as explained in the message that sbi raises.
I hope this helps!

Thanks for the hints. For the record, I saw that only two_moons and slcp override _get_transforms.
Based on your comment, I added a test for SNLE (which is tricky within it's own right, as these MCMC based SNLE runs take time ... too long for unit test). As I keep getting out-of-support posteriors, like so
E           ValueError: Expected value argument (Tensor of shape (1, 4)) to be within the support (Interval(lower_bound=tensor([20., 20.,  5.,  5.]), upper_bound=tensor([80., 80., 15., 15.]))) of the distribution Uniform(low: torch.Size([4]), high: torch.Size([4])), but found invalid values:
E           tensor([[80.0028, 27.8328, 14.9613,  6.0025]])

I was wondering, if I could expand the noref_beam task in such a fashion, that it would only use summary statistics for my observations x_o (e.g. locations of quartiles) instead of the full projections of my multivariate normal.
Would I have to write a new task for this or can this be leveraged within a given task using the args/kwargs of the task constructor?

Sure!
We should be able to fix the out-of-support problem by running MCMC in unconstrained space. For this, we would need to implement transformations to unconstrained space, e.g. a combination of affine and inverse sigmoidal transform. Adopting the transforms of the gaussian_linear_uniform task, which you can inspect as per the code snippet in my previous comment, should work for this. A pleasant side-effect could also be that SNLE runs faster.
As for the summary stats question: I think it would be fine to implement this alternative scenario using the same class. I did something similar for the Bernoulli GLM example, for which there is an example with raw features as well as summary stats (as well as for the SLCP with/without distractors).

I digged a bit into the issue on

transformations to unconstrained space, e.g. a combination of affine and inverse sigmoidal transform.

It took me quite some time to figure out which part of sbibm generates these transforms that you referred to there. I guess you meant the following:
{'parameters': _InverseTransform(IndependentTransform(ComposeTransform(
    SigmoidTransform(),
    AffineTransform()
), 1))}

If I understood correctly, the get_log_prob_fn function in pyro.py generates this transforms dictionary based on what it can infer from the pyro model each task represents. As my simulator is not quite standard, I guess it didn't infer correctly. In other words, if the following lines:
# project on the axes
first = torch.sum(samples, axis=-2)  # along y, onto x
second = torch.sum(samples, axis=-1)  # along x, onto y

# concatenate and return
value = torch.cat([first, second], axis=-1)

could be implemented in a pyro friendly way, I wouldn't have run into this issue. Because gaussian_linear_uniform finishes the simulator with a pyro.sample call, it appears to trigger the transforms mentioned above.
Bottom line
I removed the offending assert statement in my simulator and replaced it with a if-clause sentinel. It is not nice, but appears to work. :shrug:
For the time being, I left a commented _get_transforms in the code of my task. After some poking around, I could see something like the following fly inside noref_beam/task.py:_get_transforms:
# Warning: this is conceptual untested code
def _get_transforms( # ... ) -> Dict[str, Any]:
	prior_dist = self.get_prior_dist()
    value = { 'parameters' : biject_to(prior_dist.support).inv }
    return value

But I lack the sbibm or pyro skills at this point to oversee the consequences of this monkey patch. Thoughts appreciated.

Great!
The custom transforms you wrote are exactly what I was getting at. I think both options are fine -- you could either specify the transforms manually or use biject_to(prior_dist.support).inv. The advantage of the former is that it's immediately obvious what is going on, whereas the advantage of the second is that it's easier to adapt, e.g., if one wanted to run the task with a different prior.
I'd probably go for the more general solution and add a test for it, checking it against the manual transform and asserting equivalence of transforms.

I worked on this again. Turns out the result of the biject_to(prior_dist.support).inv cannot be inspected too easily. I took a more data-driven approach in the tests via a roundtrip. ;-)

Alright, running the python ./setup.py build_ext command locally on a fc35 box appears to work.
The static linking to the MKL fails as I don't have it installed and the setup.py has it hardcoded.

Sorry for getting back to this with some delay. I removed the MKL entirely now. If you still see some of it left-in, please let me know.


Swagger APIView - Add a comment on swagger PR when there is a new comment on APIView

Swagger API review is generated automatically from pull request. We should add a comment on pull request to indicate there are open comments on generated API review to inform the user to ensure they review the comments and close before they merge swagger PR. Unfortunately, we cannot provide a line-by-line correlation between API review comment to GitHub pull request change due to missing correlation information in APIView token file. So adding a comment on PR to indicate there is a comment on APIView is helpful for the time being.
Feature request here is to add/edit a comment on PR whenever someone adds a comment on APIView. We do not need to show actual comment itself. But showing a text like, Automatically generated API review from this PR has some unresolved comments
@heaths  FYI...

Thanks. I think we should have a check (via check-enforcer, some GitHub Action, or whatever works best) to make sure all APIView comments are resolved, much like we have for the SDK release pipeline. The less manual work a PR assignee for the specs repo has to do, the better.

Issue https://github.com/Azure/azure-sdk-tools/issues/4499 is related to the conversation here.

Feature request here is to add/edit a comment on PR whenever someone adds a comment on APIView. We do not need to show actual comment itself. But showing a text like, Automatically generated API review from this PR has some unresolved comments

I worry that we already have too many comments in the PR and people can easy missed them.

I think we should have a check (via check-enforcer, some GitHub Action, or whatever works best) to make sure all APIView comments are resolved,

We currently don't block SDK Release pipeline on comments. If an architects hits the Aprove button, APIView will tell them, There are still unresolved comments or something like that.
Either way, I like the option of having CI check the status of a review on APIView

We currently don't block SDK Release pipeline on comments. If an architects hits the Aprove button, APIView will tell them, There are still unresolved comments or something like that.
Either way, I like the option of having CI check the status of a review on APIView

I was misremembering how it worked. After you mentioned the Approve button it came flooding back. But, yes, I agree however it works for SDKs would be great here for swaggers/cadl as well.


HBase Whitelist Coprocessors and Use locking_resource

This updates HBase to use HBASE-16700 to allow for coprocessor whitelisting (or as it defaults, to disallow table coprocessors unless on the daemon's classpath).
Also corrected is HBase now uses locking_restart to arbitrate restarts of HBase daemons instead of the now removed hadoop_service definition.

Tested on a VM cluster, configs are there and cluster builds happily with a running HBase.

@amithkanand pl review.


User Login and Registration

User Login and Registration
In this PR I have implemented:

user registration page
login page
form validation
passing value through the state(redux)
testing with fack API
storing data to local storage for latter use

Thanks @alanluqman for your feedback


docs/upgrade-sdk-version: fix v0.17.x version reference, improve formatting/add info

Description of the change: v0.17.1 -> v0.17.2, add references to the v1.0.0 migration guides for all project types, improve formatting.
Motivation for the change: v0.17.1 is an invalid module version, so the version upgrade guide should not reference it. There are also formatting errors and a lack of info on the v1.0.0 migration guides in corresponding version upgrade guides.
/kind documentation
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[x] Add or update relevant sections of the docs website in website/content/en/docs

/cc @camilamacedo86 @jmrodri @bharathi-tenneti


ISR for SSG routes?

Which scope/s are relevant/related to the feature request?
router
Information
Is it on the roadmap to add isr support?
Describe any alternatives/workarounds you're currently using
No response
I would be willing to submit a PR to fix this issue

[ ] Yes
[ ] No

This is already supported through the routeRules in the nitro config object inside the analog() plugin.
We haven't wrapped it in a proper API yet. There are some docs here https://nitro.unjs.io/config#routerules

Closing as a duplicate of #127


Submission problem http status 400

2021-11-13 09:31:25|ALERT|First program for A142938: Primes congruent to 29 mod 64. Terms: 29,157,349,541,733,797,1117,1181,1373,1693. Submitted by Jon Maiga
2021-11-13 09:31:25|ALERT|Faster program for A137421: Decimal expansion of growth constant in random Fibonacci sequence. Terms: 1,2,0,5,5,6,9,4,3,0. Submitted by Jon Maiga
curl: (22) The requested URL returned error: 400 Bad Request
2021-11-13 09:31:26|ERROR|Error submitting program to miner API
terminate called after throwing an instance of 'std::runtime_error'
  what():  Error submitting program to miner API
2021-11-13 09:31:29|INFO |Generated 2614001 programs

Looks like the miner (binary) sent a bad request and was terminated.

Might be caused by a race condition in ApiClient::postProgram(). Needs a bug fix.

should be fixed in new version


Add NazaraEngine and downgrade nzsl last passed version

Nazara Engine package should have on_install and on_test callbacks as well

Superseded by #5


nixos/syncplay: add missing options

Description of changes
Exposed all currently available command-line arguments that were missing, including some that were impossible to use with the catch-all option extraArgs alone, requiring changes to other parts of the system.
Those are now all self-contained in the module.
The service now uses systemd's DynamicUsers.
These changes should be backwards compatible, I've tested the edge cases where I believed that might not be the case.
While the default user:group has changed, any setup where that would matter required overriding those in the first place.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@emilazy 🙏

@emilazy I've fixed the issues except the ones I didn't quite understand, could you please elaborate on those?

Thanks for the review and feedback, I appreciate it!


expose element lengths

Stabilization techniques like ‘streamwise diffusion’ (Elman, Silvester & Wathen 2014, §6.3.2) are based on an ‘element Péclet number’ which requires a measure of the length of the local element.
The details of the definition vary (Elman et al p. 253 prefer ‘a measure of the element length in the direction of the wind’), but a simple start on this might be to expose of the local variable lengths in
https://github.com/kinnala/scikit-fem/blob/0065458db249a91380f88a6c4286738b5dc97731/skfem/mesh/mesh3d/mesh3d.py#L41-L44
and similarly the argument of max in
https://github.com/kinnala/scikit-fem/blob/0065458db249a91380f88a6c4286738b5dc97731/skfem/mesh/mesh2d/mesh2d.py#L43-L46
Then param could be moved up to the common superclass skfem.Mesh.

In bilinear form definition you can use w.h which should do the trick.


Add missing variable to Module 4 [10/6/22] - Kelsey

D_264797252_D_264797252 (only answer of 178420302)

I added D_264797252_D_264797252 to the input files. I'll wait to hear what the other missing variables are before I update the query in BQ.

D_219317801_D_533003859 was the other variable I found missing. I'm going to run through Module 4 one more time today to make sure nothing else is missing

I added D_219317801_D_533003859 to the input files.

Missing:
D_812161236_D_943813942
D_505863509_D_441314504
D_250486386_D_224594497
D_957717014_D_984805254
D_726654963_D_276249147
D_279093430_D_476938134
D_279093430_D_561635035
D_279093430_D_134210521
D_279093430_D_715370929
D_279093430_D_109991481
D_279093430_D_494380686
D_279093430_D_440796912
D_657986901_D_657986901
D_509526051_D_509526051
D_143927994_D_119483547
D_143927994_D_194338739
D_143927994_D_387077376
D_143927994_D_113352592
D_143927994_D_768114466
D_143927994_D_938180781
D_564684946_D_148846635
D_564684946_D_192663941
D_564684946_D_245044197
D_370121390_D_580185896
D_370121390_D_599607007
D_935378391_D_785588454
D_935378391_D_419659205
D_935378391_D_653181757
D_935378391_D_733619119
D_935378391_D_843680322
D_935378391_D_716343828
D_320166033_D_275244758
D_320166033_D_688216428
D_320166033_D_843674851
D_320166033_D_570311888
D_320166033_D_557852952
D_320166033_D_970217879
D_383535171_D_666445636
D_383535171_D_398622449
D_383535171_D_521925072
D_383535171_D_888514303
D_383535171_D_905002640
D_383535171_D_687407917
D_133566757_D_199489170
D_133566757_D_605155921
D_133566757_D_300476868
D_133566757_D_384403974
D_133566757_D_585153023
D_133566757_D_248996395
D_509553290_D_295693777
D_509553290_D_646099557
D_509553290_D_886284650
D_509553290_D_367684056
D_509553290_D_389478638
D_509553290_D_949478044
D_239279719_D_143093472
D_239279719_D_746619983
D_239279719_D_911964974
D_239279719_D_711881258
D_239279719_D_390941579
D_239279719_D_737885885
D_778711683_D_117703279
D_778711683_D_734790700
D_778711683_D_278164536
D_778711683_D_160188014
D_778711683_D_596751155
D_778711683_D_624226136
D_778495585_D_314198277
D_778495585_D_489075623
D_928112898_D_451310566
D_928112898_D_232063618
D_829751791_D_314198277
D_829751791_D_489075623
D_412195193_D_451310566
D_412195193_D_232063618
D_914325712_D_314198277
D_914325712_D_489075623
D_750000285_D_451310566
D_750000285_D_232063618
D_682457230_D_314198277
D_682457230_D_489075623
D_849979952_D_451310566
D_849979952_D_232063618
D_404118353_D_314198277
D_404118353_D_489075623
D_552298163_D_451310566
D_552298163_D_232063618
D_806530984_D_314198277
D_806530984_D_489075623
D_710443293_D_451310566
D_710443293_D_232063618
D_613251957_D_314198277
D_613251957_D_489075623
D_878144094_D_451310566
D_878144094_D_232063618
D_437395872_D_314198277
D_437395872_D_489075623
D_709755471_D_451310566
D_709755471_D_232063618
D_288109261_D_314198277
D_288109261_D_489075623
D_701803756_D_451310566
D_701803756_D_232063618
D_598478268_D_670605457
D_823509509_D_971016509
D_771505558_D_771505558
D_771505558_D_184681822
D_149476435_D_708136662
D_867096017_D_340877879
D_264797252_D_264797252
D_263588196_D_583500714
D_291959537
D_668887646_D_668887646
D_219317801_D_533003859
Home addresses 5-11 haven't been answered often, so I wasn't originally reviewing them, but they should be added.
Right now there's a variable D_212343294 that should be:
D_212343294_D_445867902
D_212343294_D_348049244
D_212343294_D_684217044
D_212343294_D_600319581
D_212343294_D_212343294
D_298296694 that should be:
D_298296694_D_915527263
D_298296694_D_325919807
D_298296694_D_298296694
D_120942783 should be :
D_120942783_D_120942783
D_752015272_D_752015272 should be:
D_752015272_D_139208251
All 12 questions with the child concept ID 867247249 pull no data. This is probably not likely. Do you mind taking a look? It should be 0 for no and 1 for yes for the response.
D_270024672_D_665593888 and D_665593888_D_665593888 are both in the flattened data. Only D_270024672_D_665593888 is in the data dictionary but has no data, D_665593888_D_665593888 is not in the data dictionary but is showing as responded by all

Thank you for the detailed notes. I'll work through this and reach out with questions.

Missing: D_812161236_D_943813942 D_505863509_D_441314504 D_250486386_D_224594497 D_957717014_D_984805254 D_726654963_D_276249147 D_279093430_D_476938134 D_279093430_D_561635035 D_279093430_D_134210521 D_279093430_D_715370929 D_279093430_D_109991481 D_279093430_D_494380686 D_279093430_D_440796912 D_657986901_D_657986901 D_509526051_D_509526051 D_143927994_D_119483547 D_143927994_D_194338739 D_143927994_D_387077376 D_143927994_D_113352592 D_143927994_D_768114466 D_143927994_D_938180781 D_564684946_D_148846635 D_564684946_D_192663941 D_564684946_D_245044197 D_370121390_D_580185896 D_370121390_D_599607007 D_935378391_D_785588454 D_935378391_D_419659205 D_935378391_D_653181757 D_935378391_D_733619119 D_935378391_D_843680322 D_935378391_D_716343828 D_320166033_D_275244758 D_320166033_D_688216428 D_320166033_D_843674851 D_320166033_D_570311888 D_320166033_D_557852952 D_320166033_D_970217879 D_383535171_D_666445636 D_383535171_D_398622449 D_383535171_D_521925072 D_383535171_D_888514303 D_383535171_D_905002640 D_383535171_D_687407917 D_133566757_D_199489170 D_133566757_D_605155921 D_133566757_D_300476868 D_133566757_D_384403974 D_133566757_D_585153023 D_133566757_D_248996395 D_509553290_D_295693777 D_509553290_D_646099557 D_509553290_D_886284650 D_509553290_D_367684056 D_509553290_D_389478638 D_509553290_D_949478044 D_239279719_D_143093472 D_239279719_D_746619983 D_239279719_D_911964974 D_239279719_D_711881258 D_239279719_D_390941579 D_239279719_D_737885885 D_778711683_D_117703279 D_778711683_D_734790700 D_778711683_D_278164536 D_778711683_D_160188014 D_778711683_D_596751155 D_778711683_D_624226136 D_778495585_D_314198277 D_778495585_D_489075623 D_928112898_D_451310566 D_928112898_D_232063618 D_829751791_D_314198277 D_829751791_D_489075623 D_412195193_D_451310566 D_412195193_D_232063618 D_914325712_D_314198277 D_914325712_D_489075623 D_750000285_D_451310566 D_750000285_D_232063618 D_682457230_D_314198277 D_682457230_D_489075623 D_849979952_D_451310566 D_849979952_D_232063618 D_404118353_D_314198277 D_404118353_D_489075623 D_552298163_D_451310566 D_552298163_D_232063618 D_806530984_D_314198277 D_806530984_D_489075623 D_710443293_D_451310566 D_710443293_D_232063618 D_613251957_D_314198277 D_613251957_D_489075623 D_878144094_D_451310566 D_878144094_D_232063618 D_437395872_D_314198277 D_437395872_D_489075623 D_709755471_D_451310566 D_709755471_D_232063618 D_288109261_D_314198277 D_288109261_D_489075623 D_701803756_D_451310566 D_701803756_D_232063618 D_598478268_D_670605457 D_823509509_D_971016509 D_771505558_D_771505558 D_771505558_D_184681822 D_149476435_D_708136662 D_867096017_D_340877879 D_264797252_D_264797252 D_263588196_D_583500714 D_291959537 D_668887646_D_668887646 D_219317801_D_533003859
Home addresses 5-11 haven't been answered often, so I wasn't originally reviewing them, but they should be added.
Right now there's a variable D_212343294 that should be: D_212343294_D_445867902 D_212343294_D_348049244 D_212343294_D_684217044 D_212343294_D_600319581 D_212343294_D_212343294
D_298296694 that should be: D_298296694_D_915527263 D_298296694_D_325919807 D_298296694_D_298296694
D_120942783 should be : D_120942783_D_120942783
D_752015272_D_752015272 should be: D_752015272_D_139208251
All 12 questions with the child concept ID 867247249 pull no data. This is probably not likely. Do you mind taking a look? It should be 0 for no and 1 for yes for the response.
D_270024672_D_665593888 and D_665593888_D_665593888 are both in the flattened data. Only D_270024672_D_665593888 is in the data dictionary but has no data, D_665593888_D_665593888 is not in the data dictionary but is showing as responded by all

Thank you for the detailed notes. I'll work through this and reach out with questions.

Of course! As I mentioned a majority of these missing variables may not have been answered as of yet, but wanted to make a record of them early on. Thank you!

I added the list of Missing variables to the M2-variables.csv file. I will work on the other tasks on Thursday.

You added these variables to M2? Or  M4?

Are these in the query and prod table now to check?

Are these in the query and prod table now to check?

They are not in the query and prod table yet.. I'm working more on this now. I'll update what I have by end of day.

I just updated the flatM4_JP_SA table and scheduled query in prod with the variable additions and removals that you requested.
The CID 867247249 does not appear at all in the Connect.participants table.
D_270024672_D_665593888 does not appear in the Connect.participants table. Would you like me to remove it from the query?

867247249 not being in the participants table is a little concerning but I'll look into that. It looks like in the participants table the main concept ID repeats itself, though that doesn't match the data dictionary. For example, D_716117817.D_728155643.D_728155643 in the participants table is D_716117817.D_728155643.D_867247249 in the data dictionary.
Childhood home 2 was removed from the survey so D_270024672_D_665593888 can be removed

D_170035952_D_674785575

Hi Kelsey,
I went through all of these Secondary Question CIDs and queried all of the Question Text CIDs that were present in the Connect.participants table in prod. The only one for which there was response of ["678602069"] was D_716117817.D_728155643.D_728155643. I did not see any that ended with D_867247249.

Please let me know what you would like me to do for the variables in the query above. It is hard to know how to include them in the M4 query when neither the Data Dictionary nor the Connect.participants table are a reliable reference.

Thanks! That does make sense, as most people will be listing their current address first so it's more likely that only that question will get an answer of still live there

I updated the scheduled queries in all 3 tiers. The tables should be up to date Oct. 27.


yamitranscode: implement I/P/B QP setting on CQP mode

add --ipqp and --pbqp,
the difference between I and B is the sum of --ipqp and --pbqp.
Signed-off-by: wudping<EMAIL_ADDRESS>

lgtm +1, needs verify

Verify -1， if I set qp=26, qpip=-2, the encoded p frame qp is 26, not 24.

Hi, LiZhong, Is the slice_qp_data in the slice parameter set to -2 ?

@wudping ，no， it is 0.

https://github.com/01org/libyami/pull/535 should fix the slice_qp_data with negative value.

I'll re-verify it once 01org/libyami#535 is merged.

Hi @lizhong1008
Please help verify and merge related patches.thank

verify +1 based on 01org/libyami#535.

merged as 27db285d77cbe41989b7bc4a10b9b05f25ce1e1b


Adding missing Gobblin jars

Some Gobblin jar files were missing on previous Gobblin jar refresh.
(previous PR https://github.com/azkaban/azkaban-plugins/pull/221)
Sorry for the trouble.

Per sync up with Jin, the previous version was tested, but not from a clean slate deployment.
This time, the deployment is tested from clean slate.
Should be good

LGTM


Encountered "SignatureDoesNotMatch" when provisioning cluster on aws

Detail of my env is as below:
os: macOS
minishift version: v1.34.1+c2ff9cb
My generated ClusterDeployment yaml file as below:
apiVersion: v1
items:
- apiVersion: v1
  kind: Secret
  metadata:
    creationTimestamp: null
    name: mycluster-abc-aws-creds
  stringData:
    aws_access_key_id: <my-access-key-id>
    aws_secret_access_key: <my-secret-access-key>
  type: Opaque
- apiVersion: v1
  kind: Secret
  metadata:
    creationTimestamp: null
    name: mycluster-abc-ssh-key
  stringData:
    ssh-privatekey: ""
    ssh-publickey: ssh-rsa xx
<EMAIL_ADDRESS>  type: Opaque
- apiVersion: hive.openshift.io/v1alpha1
  kind: ClusterDeployment
  metadata:
    creationTimestamp: null
    name: mycluster-abc
  spec:
    baseDomain: <my-base-domain>
    clusterName: mycluster-abc
    compute:
    - name: worker
      platform:
        aws:
          rootVolume:
            iops: 100
            size: 22
            type: gp2
          type: m4.large
      replicas: 3
    controlPlane:
      name: master
      platform:
        aws:
          rootVolume:
            iops: 100
            size: 22
            type: gp2
          type: m4.large
      replicas: 3
    controlPlaneConfig:
      servingCertificates: {}
    images:
      installerImagePullPolicy: Always
      releaseImage: quay.io/openshift-release-dev/ocp-release:4.2.0
    installed: false
    networking:
      clusterNetworks:
      - cidr: <IP_ADDRESS>/14
        hostSubnetLength: 23
      machineCIDR: <IP_ADDRESS>/16
      serviceCIDR: <IP_ADDRESS>/16
      type: OpenShiftSDN
    platform:
      aws:
        region: us-east-2
    platformSecrets:
      aws:
        credentials:
          name: mycluster-abc-aws-creds
    sshKey:
      name: mycluster-abc-ssh-key
  status:
    adminKubeconfigSecret: {}
    adminPasswordSecret: {}
    clusterVersionStatus:
      availableUpdates: null
      desired:
        force: false
        image: ""
        version: ""
      observedGeneration: 0
      versionHash: ""
    installed: false
kind: List
metadata: {}

After I run oc apply to provision cluster, I got an error that shows:
time="2019-10-22T18:25:16Z" level=fatal msg="failed to fetch Master Machines: failed to fetch dependency of \"Master Machines\": failed to generate asset \"Platform Credentials Check\": validate AWS credentials: checking install permissions: error gathering AWS credentials details: error querying username: SignatureDoesNotMatch: Signature expired: 20191022T182514Z is now earlier than 20191023T091212Z (20191023T092712Z - 15 min.)\n\tstatus code: 403, request id: 152cfedd-b772-4764-bd02-7560256addc7"
time="2019-10-22T18:25:17Z" level=error msg="error after waiting for command completion" error="exit status 1" installID=s98lr622
time="2019-10-22T18:25:17Z" level=error msg="error generating installer assets" error="exit status 1" installID=s98lr622
time="2019-10-22T18:25:17Z" level=info msg="reading installer log" installID=s98lr622
time="2019-10-22T18:25:17Z" level=info msg="saving installer output" installID=s98lr622
time="2019-10-22T18:25:17Z" level=debug msg="installer console log: level=fatal msg=\"failed to fetch Master Machines: failed to fetch dependency of \\\"Master Machines\\\": failed to generate asset \\\"Platform Credentials Check\\\": validate AWS credentials: checking install permissions: error gathering AWS credentials details: error querying username: SignatureDoesNotMatch: Signature expired: 20191022T182514Z is now earlier than 20191023T091212Z (20191023T092712Z - 15 min.)\\n\\tstatus code: 403, request id: 152cfedd-b772-4764-bd02-7560256addc7\"\n" installID=s98lr622
time="2019-10-22T18:25:17Z" level=info msg="updating clusterprovision" installID=s98lr622
time="2019-10-22T18:25:17Z" level=fatal msg="runtime error" error="exit status 1"

My AWS credential is correct since I can use it to provision cluster through openshift-installer directly.

This looks like an issue with clock skew. What are the details of the Hive cluster on which you are running this?

This looks like an issue with clock skew. What are the details of the Hive cluster on which you are running this?

I create a minishift cluster on my mac and the minishift version is v1.34.1 and encountered this issue.
I also created a openshift cluster(v4.1) on my RHEL vm, the hive cluster works well and can provision ocp cluster on aws.

This looks like an issue with clock skew. What are the details of the Hive cluster on which you are running this?

I create a minishift cluster on my mac and the minishift version is v1.34.1 and encountered this issue.
I also created a openshift cluster(v4.1) on my RHEL vm, the hive cluster works well and can provision ocp cluster on aws.

So, yes, that looks like an issue with the clock on your minishift VM.

environment issue. Closing


Update admin guide to include VIP support (w/ DC/OS 1.8)

In all the excitement we forgot to update the docs as part of https://github.com/mesosphere/dcos-kafka-service/commit/786739cf0cb61c0c61db5dbaae07390e2ae42ff8.

Thank you for the bug report.  We have resolved this issue here.  https://github.com/mesosphere/dcos-kafka-service/pull/231


fix code blocks in headings

Now, code blocks in headings match the font size of the heading.

Per: https://forums.fast.ai/t/fastpages-github-pages-blog-using-nbdev/62828/167
This closes: https://github.com/fastai/fastpages/issues/223

/preview


Fix Admin UI to load ontologies for new mappings

Description
As a developer, I want to restore the full functionality of Admin UI to enable new mappings for this release.
Acceptance criteria

[ ] done

duplicate. closing


Training stops while running main.lua , "nClasses is reported different in the data loader, and in the commandline options"

Hi,
I have created a dataset/train folder with folder name as that of fruits with images inside and dataset/val folder with folder name as that of fruits with validation images. My jetson TX1 showed the following output after running for a longtime
ubuntu@tegra-ubuntu:~/imagenet-multiGPU.torch$ th main.lua -data /home/ubuntu/imagenet-multiGPU.torch/dataset/
-- ignore option data
-- ignore option optimState
-- ignore option cache
-- ignore option netType
-- ignore option retrain
=> Creating model from file: models/alexnetowtbn.lua
=> Model
nn.Sequential {
input -> (1) -> (2) -> output: nn.Sequential {
input -> (1) -> (2) -> (3) -> (4) -> (5) -> (6) -> (7) -> (8) -> (9) -> (10) -> (11) -> (12) -> (13) -> (14) -> (15) -> (16) -> (17) -> (18) -> output: cudnn.SpatialConvolution(3 -> 64, 11x11, 4,4, 2,2)
(2): cudnn.SpatialBatchNormalization
(3): cudnn.ReLU
(4): cudnn.SpatialMaxPooling(3x3, 2,2)
(5): cudnn.SpatialConvolution(64 -> 192, 5x5, 1,1, 2,2)
(6): cudnn.SpatialBatchNormalization
(7): cudnn.ReLU
(8): cudnn.SpatialMaxPooling(3x3, 2,2)
(9): cudnn.SpatialConvolution(192 -> 384, 3x3, 1,1, 1,1)
(10): cudnn.SpatialBatchNormalization
(11): cudnn.ReLU
(12): cudnn.SpatialConvolution(384 -> 256, 3x3, 1,1, 1,1)
(13): cudnn.SpatialBatchNormalization
(14): cudnn.ReLU
(15): cudnn.SpatialConvolution(256 -> 256, 3x3, 1,1, 1,1)
(16): cudnn.SpatialBatchNormalization
(17): cudnn.ReLU
(18): cudnn.SpatialMaxPooling(3x3, 2,2)
}
(2): nn.Sequential {
input -> (1) -> (2) -> (3) -> (4) -> (5) -> (6) -> (7) -> (8) -> (9) -> (10) -> (11) -> output: nn.View(9216)
(2): nn.Dropout(0.500000)
(3): nn.Linear(9216 -> 4096)
(4): cudnn.BatchNormalization
(5): cudnn.ReLU
(6): nn.Dropout(0.500000)
(7): nn.Linear(4096 -> 4096)
(8): cudnn.BatchNormalization
(9): cudnn.ReLU
(10): nn.Linear(4096 -> 1000)
(11): cudnn.LogSoftMax
}
}
=> Criterion
nn.ClassNLLCriterion
==> Converting model to CUDA
{
LR : 0
nClasses : 1000
batchSize : 128
data : "/home/ubuntu/imagenet-multiGPU.torch/dataset/"
epochSize : 10000
nDonkeys : 2
save : "/home/ubuntu/imagenet-multiGPU.torch/imagenet/checkpoint/alexnetowtbn/MonAug2212:32:032016"
optimState : "none"
cropSize : 224
nGPU : 1
imageCrop : 224
imageSize : 256
epochNumber : 1
momentum : 0.9
cache : "./imagenet/checkpoint/"
backend : "cudnn"
nEpochs : 55
manualSeed : 2
GPU : 1
weightDecay : 0.0005
netType : "alexnetowtbn"
retrain : "none"
}
Saving everything to: /home/ubuntu/imagenet-multiGPU.torch/imagenet/checkpoint/alexnetowtbn/MonAug2212:32:032016
Starting donkey with id: 2 seed: 4
Starting donkey with id: 1 seed: 3
Creating train metadata
table: 0xd562f928
running "find" on each class directory, and concatenate all those filenames into a single file containing all image paths for a given class
Creating train metadata
table: 0xd0caaad0
running "find" on each class directory, and concatenate all those filenames into a single file containing all image paths for a given class
now combine all the files to a single large file
now combine all the files to a single large file
load the large concatenated list of sample paths to self.imagePath
load the large concatenated list of sample paths to self.imagePath
34 samples found.......................... 0/34 ........................................]  ETA: 0ms | Step: 0ms
Updating classList and imageClass appropriately
34 samples found.......................... 0/34 ........................................]  ETA: 0ms | Step: 0ms
Updating classList and imageClass appropriately
[======================================== 2/2 ========================================>]  Tot: 56ms | Step: 28ms
[======================================== 2/2 ========================================>]  Tot: 58ms | Step: 29ms
Cleaning up temporary files
Cleaning up temporary files
Creating test metadata
table: 0xd51101a8
running "find" on each class directory, and concatenate all those filenames into a single file containing all image paths for a given class
Creating test metadata
table: 0xd516bd48
running "find" on each class directory, and concatenate all those filenames into a single file containing all image paths for a given class
now combine all the files to a single large file
now combine all the files to a single large file
load the large concatenated list of sample paths to self.imagePath
load the large concatenated list of sample paths to self.imagePath
9 samples found........................... 0/9 .........................................]  ETA: 0ms | Step: 0ms
Updating classList and imageClass appropriately
9 samples found........................... 0/9 .........................................]  ETA: 0ms | Step: 0ms
Updating classList and imageClass appropriately
[======================================== 2/2 ========================================>]  Tot: 53ms | Step: 26ms
[======================================== 2/2 ========================================>]  Tot: 55ms | Step: 27ms
Cleaning up temporary files
Cleaning up temporary files
Splitting training and test sets to a ratio of 0/100
Estimating the mean (per-channel, shared for all pixels) over 10000 randomly sampled training images
Splitting training and test sets to a ratio of 0/100
Estimating the mean (per-channel, shared for all pixels) over 10000 randomly sampled training images
Estimating the std (per-channel, shared for all pixels) over 10000 randomly sampled training images
Estimating the std (per-channel, shared for all pixels) over 10000 randomly sampled training images
Time to estimate:   1260.1163020134
Time to estimate:   1266.3318710327
/usr/local/bin/luajit: /home/ubuntu/imagenet-multiGPU.torch/data.lua:47: nClasses is reported different in the data loader, and in the commandline options
stack traceback:
[C]: in function 'assert'
/home/ubuntu/imagenet-multiGPU.torch/data.lua:47: in main chunk
[C]: in function 'dofile'
main.lua:37: in main chunk
[C]: in function 'dofile'
/usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x0000d055
ubuntu@tegra-ubuntu:~/imagenet-multiGPU.torch$

number of classes must be same with opts.lua


Account association with authentication flow

Local/Fedreated account association with authentication flow
Revisit JIT provisioning with username prompt flow

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Overlapping labeling results in new class

When drawing a new label (e.g. class = 2) on top of an already labeled region (e.g. with class = 1) and saving the resulting labeling as tiff file, the overlapping part will appear with a new label (class = 3), which is surprising and hard to notice. Is this intended behaviour? I would expect that the new label should take precedence, i.e. the overlapping region should have class = 2.
PS: Thanks for the tool - it's really helpful!

I just realized that there is a "override" checkbox in the newer version f Labkit that perfectly solves the problem described above. Awesome!! :)


Listen for FormData error events

Will fix #939.
I've added event handlers for FormData to wherever it's initiated for the first time.
A simple ENOENT test case is also added. With this change, any FileSystem error will be caught, not only ENOENT.

@pornel This is actually completely node-side. Users will probably handle producing buffer themselves or most likely file will be selected through a file input, thus it's all OS's job.
We must make sure calling on method will not break browser though.

I've tried adding shared test for field but regardless of my changes, it was failing. And adding listener to request-base was breaking the browser. So I've removed the listener from request-base and the shared test of field method.
Currently it catches error on node, doesn't behave differently on browser.

Other than my one comment about the unit test filenames, this seems like good functionality to merge. Thanks!


README file updated with location info

I have added some info to the README file

I fixed this thanks!


This site can’t be reached :(

Bummer!

I think it's now at http://lebabjs.herokuapp.com/
See #2

Or at https://lebab.unibtc.me/

I deployed a different version here https://lebabjs.com/ that should be working, if anyone is just looking for a working simple UI


 Our repository at work has ~5,500 commits.
The following operation to get the diff with the most deletions took ~30 minutes:
❯ time .cargo/bin/gitql --query 'select * from diffs order by deletions desc limit 1'
╭──────────────────────────────────────────┬───────────────────┬───────────────────────┬────────────┬───────────┬───────────────┬─────────────────────────┬───────────────────────────────────╮
│ commit_id                                ┆ name              ┆ email                 ┆ insertions ┆ deletions ┆ files_changed ┆ datetime                ┆ repo                              │
╞══════════════════════════════════════════╪═══════════════════╪═══════════════════════╪════════════╪═══════════╪═══════════════╪═════════════════════════╪═══════════════════════════════════╡
│ 8b685201464c3027afe9105bb5ed9b40a1befce7 ┆ Matthew Planchard ┆<EMAIL_ADDRESS>┆ 3284       ┆ 41552     ┆ 212           ┆ 2024-08-15 18:15:45.000 ┆ /home/matthew/s/spec/.git         │
╰──────────────────────────────────────────┴───────────────────┴───────────────────────┴────────────┴───────────┴───────────────┴─────────────────────────┴───────────────────────────────────╯

________________________________________________________
Executed in   27.37 mins    fish           external
   usr time   27.25 mins  569.00 micros   27.25 mins
   sys time    0.04 mins    0.00 micros    0.04 mins

During the entire time, a single thread was pretty much pegged. I can get this same result using git and awk in a fraction (1/270th, 0.37%) of the time:
❯ time git log --pretty="@%h" --shortstat | tr "\n" " " | tr "@" "\n" | awk '{if ($7 > deletions) { deletions = $7; commit = $1 }}; END { print commit; print deletions }'
8b6852014
41720

________________________________________________________
Executed in    6.01 secs    fish           external
   usr time    5.41 secs    0.00 millis    5.41 secs
   sys time    0.63 secs    1.78 millis    0.63 secs

Queries on commits seem to run in a more reasonable amount of time, e.g.:
❯ time .cargo/bin/gitql --query "select count(author_name) from commits where author_name like '%matthew%'"
╭──────────╮
│ column_2 │
╞══════════╡
│ 1001     │
╰──────────╯

________________________________________________________
Executed in  357.45 millis    fish           external
   usr time  351.94 millis    0.00 micros  351.94 millis
   sys time    4.62 millis  641.00 micros    3.98 millis

To Reproduce

Check out any large repo
Run the example command above

Expected behavior
Speed is at least within an order of magnitude of git/awk
GQL (please complete the following information):
GitQL version 0.28.0
Additional context
Add any other context about the problem here.

Gitql 0.34.0 is now 50% faster with more functionality on diff content
https://github.com/AmrDeveloper/GQL/releases/tag/0.34.0


Chapter 10 - Regression MLP: why is val_loss constantly lower than the training error?

Hi!
In chapter 10, Jupyter Notebook cell [50], why is the validation error constantly lower than the training error?
It seems that neither the book or the notebook explains why. Thank you!
Epoch 1/20
363/363 [==============================] - 0s 893us/step - loss: 2.2656 - val_loss: 0.8560
Epoch 2/20
363/363 [==============================] - 0s 670us/step - loss: 0.7413 - val_loss: 0.6531
Epoch 3/20
363/363 [==============================] - 0s 661us/step - loss: 0.6604 - val_loss: 0.6099
Epoch 4/20
363/363 [==============================] - 0s 640us/step - loss: 0.6245 - val_loss: 0.5658
Epoch 5/20
363/363 [==============================] - 0s 688us/step - loss: 0.5770 - val_loss: 0.5355
Epoch 6/20
363/363 [==============================] - 0s 668us/step - loss: 0.5609 - val_loss: 0.5173
Epoch 7/20
363/363 [==============================] - 0s 667us/step - loss: 0.5500 - val_loss: 0.5081
Epoch 8/20
363/363 [==============================] - 0s 647us/step - loss: 0.5200 - val_loss: 0.4799
Epoch 9/20
363/363 [==============================] - 0s 683us/step - loss: 0.5051 - val_loss: 0.4690
Epoch 10/20
363/363 [==============================] - 0s 679us/step - loss: 0.4910 - val_loss: 0.4656
Epoch 11/20
363/363 [==============================] - 0s 643us/step - loss: 0.4794 - val_loss: 0.4482
Epoch 12/20
363/363 [==============================] - 0s 644us/step - loss: 0.4656 - val_loss: 0.4479
Epoch 13/20
363/363 [==============================] - 0s 666us/step - loss: 0.4693 - val_loss: 0.4296
Epoch 14/20
363/363 [==============================] - 0s 655us/step - loss: 0.4537 - val_loss: 0.4233
Epoch 15/20
363/363 [==============================] - 0s 636us/step - loss: 0.4586 - val_loss: 0.4176
Epoch 16/20
363/363 [==============================] - 0s 646us/step - loss: 0.4612 - val_loss: 0.4123
Epoch 17/20
363/363 [==============================] - 0s 620us/step - loss: 0.4449 - val_loss: 0.4071
Epoch 18/20
363/363 [==============================] - 0s 675us/step - loss: 0.4407 - val_loss: 0.4037
Epoch 19/20
363/363 [==============================] - 0s 650us/step - loss: 0.4184 - val_loss: 0.4000
Epoch 20/20
363/363 [==============================] - 0s 646us/step - loss: 0.4128 - val_loss: 0.3969
162/162 [==============================] - 0s 428us/step - loss: 0.4212

Hi @JingwenLl ,
I wrote a twitter thread to explain this a while back. I might add a note about this in a future edition.
Hope this helps! 😊


Dont parse json-schema/lib/validate.js in order to avoid "define cannot be used indirect" error

See https://github.com/webpack/webpack/issues/138

Re Issue #1

Awesome, thanks for contributing that!


Button styling (outline when active, makes button overflow)

Example:

Please note this is not only an issue in the drawer component, the problem has been located in other places in DataHub application as well

Confirmed to be fixed by #671


Cannot specify name of dataset

There is no way to specify the name of the dataset generated. Looking in the code, I see it always defaults to 'dataset'.
Maybe the from_rows and from_columns functions could take an optional parameter to specify the dataset name.

@dsgoldberg I'll take a look at this in a few weeks ...

Solved #34


Add UniqueTagList to Model UML diagram

Closes #110.

Codecov Report

Merging #111 (1216762) into master (9ed928c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #111   +/-   ##
=========================================
  Coverage     71.48%   71.48%
  Complexity      649      649
=========================================
  Files           110      110
  Lines          2104     2104
  Branches        216      216
=========================================
  Hits           1504     1504
  Misses          542      542
  Partials         58       58

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 9ed928c...1216762. Read the comment docs.


Use FreeType/Win32 font api in putText when available

added support for freetype, win32 is do-able but not really needed at the moment


Revert dev link

revert #944
That will not work inside a container. Maybe if we map all rules into the container and do the same as on host, it could work.
Anyway, we move over to privileged modus for supervisor. Maybe, that fix also some issue

So this fails because the code is actually being run in the supervisor container, not the on base OS?

yes


:ambulance: fix routing on vercel

Merge activity

Apr 18, 4:01 PM GMT+2: @szamanr merged this pull request with Graphite.


cigien: Watch neptune.ai

cigien requests the watch of the watch_keyword neptune\.ai. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

neptune\.ai has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Rejected by Spevacus in Charcoal HQ.  The problematic occurrences appear to all be in regards to blog articles, so I've implemented a watch that should get all of the /blog entries.'


Regression: Enter no longer submits target list selection when search input is blurred

Repro:

Visit http://embedbox.io
Click into demo.
Click WordPress.
Hit Enter.

@adamschwartz,
This was introduced in the accessibility changes. https://github.com/EagerIO/EmbedBox/commit/00781037979a6e38e87e530faedbbdf012ae60d1#diff-219ac9083f78b0aa72db25c0306c5af1R168
The input field uses the arrow keys to select targets, then enter navigates to the target instructions
In the tab key flow, tabbing focuses through each targets. Then enter or spacebar is used to select an entry. The user must tab down to the "Next" button to navigate.
I believe limiting selection to the spacebar can make both concepts align to the user's expectations.
Thoughts?

I liked the speed of it the other way, but this argument makes sense to me. I’ll leave it up to you! 👍


feature/msbuild: pin to stable versions

cc @prafullbhosale
:watch: on a final build version of Microsoft.DotNet.Cli.Utils

Looks good so far. As you said, lets wait till we get the cli version.


input type="file" weird behavior

It seems that reused input elements with type "file" do not clear their selected file correctly
see: http://jsfiddle.net/mnypy1do/3/
also if you explicitly do: <input type="file" value=""/> (http://jsfiddle.net/mnypy1do/4/)
the same thing happens
I don't know what the proper behavior here should be, probably the best would be to pass in the FileList back into the input via files prop when something gets selected
The only problem is that getting an empty FileList is not an obvious thing, can't just do new FileList(), you have to
var input = document.createElement("input");
input.type = "file";
var emptyFiles = input.files;

see: http://jsfiddle.net/mnypy1do/5/
and passing null wont worke either, unless there would be special handling for this (input.files = null) does nothing
Any thoughts on this?
Thanks

Ahh interesting. So it's actually not the recycler, but just the reconciliation being totally unaware of .files because it is state coming from the DOM itself.  To me this is sort-of an "accidentally similar trees" type situation, and for those I tend to just throw keys onto the afflicted elements or their roots, causing the diff to treat them as independent (but still preserve and recycle them independently of each other).
Here's an example of keys fixing the issue: http://jsfiddle.net/developit/f2gfz7aL/
That being said, this behavior is definitely a bit odd.  We normalize input values in a similar way, it just doesn't apply for type="file" (the input element is insane).
The tricky thing is that Preact can't really know that render() is giving it a separate tree of nodes (without adding keys as the hint).  As far as the library is concerned, the following produce identical output:

  {this.state.show &&

    One
    <input type="file" name="one" />

 }
  {!this.state.show &&

    Two
    <input type="file" name="two" />

}

// ^ is identical to:

    { this.state.show ? 'One' : 'Two' }
    <input type="file" name={ this.state.show ? 'one' : 'two' } />

... interestingly, we'd expect the latter to preserve the FileList, but the former to reset it.  I'm not sure how to resolve that other than by adding keys.
Super interesting case though. What do you think?

When looking at it like this it makes it even more interesting
I did not really notice the other input issues, I pass the value in every time
In my apps case there is no show/hide it is routing and I have a page with a file input that if you use the page twice in one session it will have that previous file selected in it even if I use key, In that case I could just do the trick of setting the state with an empty file list and passing it with files
maybe it should be cleared when mounting and not cleared when applying a diff to an already mounted element?

Yes, that seems very reasonable. I'm wondering if this should just be a recursive setting of value on unmount?

ya, unmount makes more sense than mount :)
this could work for all input types hopefully not only file
Could this be a breaking change for some applications? For example if you have a tabbed view someone could expect inputs not to be cleared even though they were unmounted? Is it enough to let people know that it is the case?

It'll be breaking, yeah.  I'd like to check if React does this, though they don't recycle components across mounts, so this change would likely bring us closer to their behavior.  The change can just go into 5.0.0-betaX, there are still a few things that need to be worked out before I roll that over to be the current major version.

react version: https://jsfiddle.net/5cuaptd6/2/

@kruczy What did we end up deciding on this?  I'm hesitant to add the per-render indeterminate value clearing because of the crazy performance hit.  Think it's worth just saying "use keys or components" or something along those lines?

I have a Component wrapper for all inputs I use
I just added:
componentDidUnmount() {
	if (this.props.type === "file") {
		this.base.querySelector("input").value = "";
	}
}

and it fixes the problem
It would be good to document it somewhere if there will be no change to the code so anybody that hits this will know what is happening

Hey @kruczy - I think I landed on a happy medium for this:  your first example of passing value="" really should have been resetting that input, otherwise the virtual DOM is then out of sync with the actual DOM.
In the latest beta (as of 5.0.1-beta.15), that now works!  Demo:
http://jsfiddle.net/developit/mnypy1do/6/
I think I'll close this one out for now, but I'd love to continue investigating options for resetting inputs automatically.

Cool, thanks alot!


Skipping end level success/failure messages

What's this PR do?
At the end of a level, if no success/failure messages are defined in a game's config, then skip it.
Also includes a bug fix where it seemed like end level messages would get sent to betas who didn't accept the invite to a game
How was this tested?
This was tested with two players in a ScienceSleuth2015 game. I tried both with the end_level_* properties configured and without it. With them defined, it sent the end level success/failure messages. Without them, it didn't and sent just the group message instead.
Any background context?
https://trello.com/c/YGeIyhC9/249-deactivate-the-messaging-associated-with-these-oips-for-end-level-feedback-see-description-for-links
ScienceSleuth2015 content has been setup so that the failure/success names are built into the group end level message
TODOs
We'll need to update the production db to unset end_level_0_correct_loss, end_level_solo_correct_win, end_level_1_to_4_correct_win, and end_level_1_correct_loss on the ScienceSleuth2015 config.

@tongxiang Hm, so I just tried something else out on my local. It also seems to properly skip the failure/success messages when we just remove the end_level_* properties from the config doc and not use the code changes I've put in this PR.
Think there's any value in merging this in anymore? Or maybe just the bug fix and not the if check at the top of the function?

@jonuy since we've decided we're keeping in the end level player-name messages for at least the first week of the launch, we'll hold on this.

@tongxiang So this most recent change (074defb) adds a small bit of logic so that instead of trying to do an optin, we do a mobilecommons.profile_update when no endLevelMessage has been set in the config. It'll then allow for profile fields to still get updated and ultimately resolve this: https://trello.com/c/YGeIyhC9
Let me know if I'm not thinking through this fully, but I think this is safe to merge in since the configs on production right now all have those end level success/fail paths set. So this new bit of logic should never get hit. And even if it does... it doesn't seem harmful?
If merged, I plan on testing with a duplicate Science Sleuth config sans the end level paths.

:+1:


added removeKeyboardActionBinding & removeGamepadActionBinding

Added a way to remove existing bindings in order to support user defined button mapping at run-time.

Feel pretty dumb for not having included this in the first place. Thanks!


nixos/coredns: init

Motivation for this change
Add nixos module for coredns
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This misses an entry in https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/module-list.nix


Tests?

I see a ton of commits on the reactive_ruby branch without any changes to tests. Does this project intend to go back in a more "test driven development" direction?

@wied03 Have a look at #69. For now, my goal is at least tested if not test driven. #70 gets travis set back up (among other things).
Right now specs are only setup for the Ruby/Rails side of things. Still need to get the opal side of things set back up.

Tested: 5cbfd1adcb2d18c5f92f00beab18920fa2d650cc

This issue was moved to reactrb/reactrb#65


Question about note on Creating and Throwing exceptions page

The Creating and Throwing exceptions page https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/exceptions/creating-and-throwing-exceptions has a note that says:
"[!NOTE]The example above is for illustrative purposes. Index validating via exceptions is in most cases bad practice. Exceptions should be reserved to guard against exceptional program conditions, not for argument checking as above."
What is the reasoning for this note?  My understanding is that all .NET error handling should be done using exceptions.  Seems like this note is incomplete.
On this page it says to throw an exception instead of returning an error code.  What would be the best practice for returning argument checking information?
https://docs.microsoft.com/en-us/dotnet/standard/exceptions/best-practices-for-exceptions#throw-exceptions-instead-of-returning-an-error-code

Target framework

[x] .NET Core
[x] .NET Framework
[x] .NET Standard

dotnet --info output or About VS info
<replace>

edit by @BillWagner add document block

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

ID: cfeeac2f-fbeb-b4b5-ff02-fd48a28a2768
Version Independent ID: 4d98bec1-a03a-4a9c-4108-cb847f9c18bd
Content: Creating and Throwing Exceptions
Content Source: docs/csharp/fundamentals/exceptions/creating-and-throwing-exceptions.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

We should update the sample to show more real world error management. A better example to show the InnerException property might be an async algorithm that wraps the original exception.

Nice.  What brought this up is I'm in a discussion about errors vs exceptions and they believe there is a real difference but I'm restating the points in the .NET documentation and what is in the Framework Design Guidelines book.  They think bad user-entered data should be handled differently so in effect we have 2 error handling systems.


⚠ Bofrost.at has degraded performance

In 187a0e9, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2190 ms

Resolved: Bofrost.at performance has improved in 55bc623.


Version number for MS Store source should use real number but not latest.

As you can see, the version number listed here is latest, but your app uses xxx.xxx.xxx.x, the two number is not the same so winget believes there is an update but actually not. So, to solve this problem, version number for MS store source should also use numbers but not latest.

Originally posted by @lychichem in https://github.com/microsoft/winget-cli/issues/693#issuecomment-757080555

Duplicate of #693

Duplicate of #693