External Console output not matching actual python console output

From<EMAIL_ADDRESS>on 2010-03-21T03:23:37Z
What steps will reproduce the problem?

Run the program as shown in the screenshots What is the expected output? What do you see instead? I should see the output as in the correct_result.png. However, when i run
it in spyder, i usually get the output in wrong_common.png. Sometimes the
other two results are produced (wrong_1.png and wrong_2.png). These three
outputs are never produced when I use the normal python interpreter from
the command line or the "execute" facility in geany. In fact, this should
not happen at all given the code path.

Here is the snipped of code that is running:
print "a"

(Self explanatory)
template = pars.parse(data_filename)
(Prints the time taken when the method is complete)
print "b"
data = {...} (snipped out, irrelevant)
print "c"

doc = template.createDocument(data)

(Prints the time taken when completed)
print "d"
fil = open(filename, "w")

doc.printToFile(fil)

(Prints the time taken when completed)
print "e"
Thus the expected result should be as in the correct_result.png, given this
code. However, Spyder produces incorrect results. I would classify this as
a serious bug. What version of the product are you using? On what operating system? 1.1.0alpha2 on Ubuntu Karmic
Please provide any additional information below
. I can attach the code if requested. It's a personal project so that's why I
am not attaching it right now
Attachment: correct_result.png wrong_1.png wrong_2.png wrong_common.png
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=179

From pierre.raybaut on 2010-03-29T11:13:41Z
I think attaching the code would help me to debug this strange behaviour.
Thanks a lot for this interesting and well documented bug report!
Status: Accepted
Labels: -Priority-Medium Priority-High

From<EMAIL_ADDRESS>on 2010-03-29T21:55:29Z
I've attached the source. I hope it helps in debugging the issue. The code requires
reportlab 2.3 in order to run
Attachment: src.zip

From<EMAIL_ADDRESS>on 2010-03-29T22:04:00Z
I've just noticed that the output is different if i use F5 to run the code, in that
case it almost always shows just "a" in the external console output, and in a few
cases it shows the exact correct output.
In my previous post, I was clicking on the "Run" button in the external console panel
to execute my code. Repeating that still shows the old output that I had posted with
screenshots.
Maybe this will help.

From pierre.raybaut on 2010-03-31T11:56:17Z
This issue was closed by revision 72f07dad34 .
Status: Fixed

From pierre.raybaut on 2011-04-24T07:33:57Z
This issue was closed by revision 72f07dad341b .

From pierre.raybaut on 2010-03-31T11:56:38Z
Fixed! :) https://code.google.com/p/spyderlib/source/detail r= 72f07dad341b9c9ab4c678351b8fd2fd257cdafd


Adding an ellipse, without clicking on the map to create a point first, causes an ellipse to be created at the place where the mouse left the map  (ArcMap)

Procedure:

In ArcMap add a world background data source
Display Ellipse tab on Distance and Direction addin UI panel
Click Map Point tool
Move mouse over map but do not click on map
Enter values in Major, Minor, Angle text boxes
Press Enter

Result: Ellipse is created at the point where the mouse left the map. Presumably this is to support user entering point non-interactively, however, if they merely forgot to click on the map it seems like strange behaviour when the point at which the mouse left the map is used as the center point of the ellipse being created.
Result expected: for discussion. The Center Point text box fulfils both the task of displaying the current location of the mouse and of recording the location to be used for the center point. Perhaps a separate 'Input Center Point' text box could be provided that does not update on mouse move, but only updates either a. when a user clicks a point on the map or b. when the user enters values manually.
Issue is linked to #200, #202.

@nfeuerstein I'm guessing priority might not be high any longer since the case is Version - After Next?

Fixed in PR: https://github.com/Esri/distance-direction-addin-dotnet/pull/319

As designed

Reopening for MT PEs to verify

Following the steps outlined below no longer cause the ellipse/circle/ring to be drawn at the last mouse location.
Procedure:

In ArcMap add a world background data source
Display Ellipse tab on Distance and Direction addin UI panel
Click Map Point tool
Move mouse over map but do not click on map
Enter values in Major, Minor, Angle text boxes
Press Enter


Improve Sentry and Segment Logs in backend

Did it resolved? Would u pls relate it to the PR?

The entry was created for this donation had incorrect value for projectId and userId. It was probably created manually and the values were field instead of each other.
However, the reason behind missing entities like this is not clear yet. We don't have any clue and there isn't anything recorded in log records.
I and @mohammadranjbarz deduced that the only temporary solution is to add segment/sentry log around the logics in both front-end and back-end in order to have some valuable information next time it happens
Originally posted by @aminlatifi in https://github.com/Giveth/giveth-next/issues/626#issuecomment-1008066470

Check all error handlers
Set configs for Sentry


EAS Build Breaks React Navigation Drawer & react-native-draggable-flatlist. Both Work Locally

Build/Submit details page URL
No response
Summary
EAS Build breaks react-navigation drawer slide out and slide in via pulling from the left side of the screen to slide it into play. Tapping on the screen behind the drawer also no longer closes the drawer. This works perfectly fine locally via expo run on a physical device or a simulator. As soon as we create an EAS build eas build -p ios and push it to testflight it no longer works.
This is the same case for https://github.com/computerjazz/react-native-draggable-flatlist, the list works perfect locally but breaks as soon as we make an EAS build.
Drawer: https://reactnavigation.org/docs/drawer-based-navigation/
Any ideas on what could be going on?
Managed or bare?
Managed
Environment
  EAS CLI 0.42.4 environment info:     System:       OS: macOS 12.0       Shell: 5.8 - /bin/zsh     Binaries:       Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node       Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.0/bin/yarn       npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm     Utilities:       Git: 2.30.1 - /usr/bin/git     npmPackages:       expo: ^43.0.0 => 43.0.3       expo-updates: ~0.10.13 => 0.10.15       react: 17.0.1 => 17.0.1       react-dom: 17.0.1 => 17.0.1       react-native: 0.64.3 => 0.64.3       react-native-web: 0.17.1 => 0.17.1     npmGlobalPackages:       eas-cli: 0.42.4       expo-cli: 4.13.0     Project workflow: managed
Error output
No response
Reproducible demo or steps to reproduce from a blank project
Cannot reproduce in the simulator and cant give a demo as its on testflight for internal users only.

Does it work locally with latest expo-cli? (When testing delete android/ios directories to make sure you are testing on the clean state)
You can also specify expoCli field in eas.json build profile to test that in the other direction`
The other thing you can try is to build with eas build --local to verify what is responsible for different behavior(build process or environment)
You are comparing debug build create with run:ios to release build created on eas. Is there anything that would suggest that issue is on eas side?

Hey, the issue I believe we were running into was not pushing the ios folder up to our repo. Once we that it seemed to fix the issue. My thought was that the EAS Build would regenerate it on expo servers so I'm not sure entirely why that fixed it.

if you have android/ios directories in gitignore then your project was treated as managed and eas build generated it for you, after you committed those directories to repo your project becomes bare workflow (aka ejected) and eas is building it as it is.
If that fixed it for you then most likely you had some local changes in your android/ios directories that changed the behavior.
Other than potential local changes, the main difference in your case is expo-cli version that you are using is 4.13.0 and eas build runs 5.0.3, so prebuild command could introduce that change.

I am also experiencing a build fail for android, and it seems its because of react-native-navigation
this happens after I run eas build --platform android
here is a snip of my build log in my Expo dashboard
  - expo-updates (0.11.6)
- react-native-reanimated (2.3.3)
[stderr] FAILURE: Build completed with 2 failures.
[stderr] 1: Task failed with an exception.
[stderr] -----------
[stderr] * Where:
[stderr] Build file '/home/expo/workingdir/build/node_modules/react-native-navigation/lib/android/app/build.gradle' line: 5
[stderr] * What went wrong:
[stderr] A problem occurred evaluating project ':react-native-navigation'.
[stderr] > Plugin with id 'kotlin-android' not found.
[stderr] * Try:
[stderr] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[stderr] ==============================================================================
[stderr] 2: Task failed with an exception.
[stderr] -----------
[stderr] * What went wrong:
[stderr] A problem occurred configuring project ':react-native-navigation'.
[stderr] > compileSdkVersion is not specified. Please add it to build.gradle
[stderr] * Try:
[stderr] Run with --stacktrace option to get the stack trace. Run with --info or
[stderr] --debug option to get more log output. Run with --scan
[stderr] to get full insights.
[stderr] ============================================================================== [stderr] * Get more help at https://help.gradle.org

@CRIMSON-CORP
Same problem here, found a solution/workaround?

Same problem

Same problem here!!!


Can't train on wikitext from the web-client

Uploading the training file wiki.train.tokens in the web-client and hitting Train alone triggers the error:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
    getModelJSON hub.js:584
    loadTokenizer tokenizers.js:62
    from_pretrained tokenizers.js:4406
    getTaskTokenizer tokenizer.js:18
    apply text_preprocessing.js:65
    async*get preprocessing/preprocessingChain</< data.js:62
    get preprocessing/preprocessingChain</< data.js:62
    get preprocessing/< data.js:63
    next lazy_iterator.ts:803
    serialNext lazy_iterator.ts:650
    lastRead lazy_iterator.ts:643
    promise callback*next lazy_iterator.ts:643
    next lazy_iterator.ts:711
    fitDataset model.js:56
    train index.js:31
    fitModel trainer.js:36

It seems the web-client doesn't manage to load the Transformers.js tokenizer.

Issue solved by adding env.allowLocalModels = false and clearing the browser cache as specified in this article.


Fix ETag handling for Binaries and Binary descriptions

Resolves: https://jira.duraspace.org/browse/FCREPO-1983
Resolves: https://jira.duraspace.org/browse/FCREPO-1754

This supersedes #991 and #920

@ajs6f: I restructured the large inline comment, placing it in the javadoc

👍

Let's hold of on merging more into master until the following issue has been resolved:
https://github.com/fcrepo4/fcrepo4/pull/1039

Your tests in the PR are thorough, thanks! The logic is somewhat confusing in ContentExposingResource, but that is no fault of your own... and it works.

@awoods I added a commit to address your last comment.


Fix wrong calculation for queue deserved in proportion plugin

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #729

@hex108 @k82cn Could you please review this PR? Thanks.

is it possible to add an e2e test for that?

is it possible to add an e2e test for that?

Let me spend some time to see if it is possible to add e2e test.

@k82cn,  I have added the e2e test "Proportion".
Without my fix, the test will fail. You can verify at this CI Test:  https://travis-ci.org/kubernetes-sigs/kube-batch/builds/535261793?utm_source=github_status&utm_medium=notification
With my fix, the test can pass, which you can check the latest CI result.

LGTM overall, thanks 👍

/lgtm
for this PR.

@k82cn  Could you approve this PR? Thanks.


types-rasa (typing stubs)

What problem are you trying to solve?
use type-hinting and mypy linting. currently when setting up linting for mypy whole rasa package with all dependencies has to be installed in order to get types (takes long time in CI/CD pipelines).
What's your suggested solution?
create seperate package for typing only for rasa
Examples (if relevant)
https://github.com/python/typeshed/tree/master/stubs
https://pypi.org/project/pandas-stubs/
https://pypi.org/project/types-click/
Is anything blocking this from being implemented? (if relevant)
No response
Definition of Done
No response

Thanks for submitting this feature request 🚀 @melindaloubser1 will get back to you about it soon! ✨

@adamwojt thanks for your request. This is a cool idea but at this stage this would require a lot more changes in the ways we work internally at Rasa, so I don't think this is something that will happen in the short-term, realistically 😬
You mentioned that this puts some burden on your CI, may I ask how much of a pain is it? In our own CI on GitHub the installation takes about ~5min including the required os libraries.

@adamwojt thanks for your request. This is a cool idea but at this stage this would require a lot more changes in the ways we work internally at Rasa, so I don't think this is something that will happen in the short-term, realistically grimacing
You mentioned that this puts some burden on your CI, may I ask how much of a pain is it? In our own CI on GitHub the installation takes about ~5min including the required os libraries.

Yeah this is not high priority. I would say it's nice-to-have. It's not that much of pain :)


mix project crawly prevent iex -S mix to give me the interactive console

Hello !
Right after installation, I loose the interactive console when starting a mix project:
> iex -S mix
Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

21:45:13.764 [debug] Opening/checking dynamic spiders storage

21:45:13.779 [debug] Using the following folder to load extra spiders: ./spiders

21:45:13.789 [info] No spiders found to auto-load: %MatchError{term: {:error, :enoent}}

[ last forever ]

before crawly installation:
? iex -S mix
Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

Interactive Elixir (1.17.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>

Is there any obvious configuration or anything that I am missing ?
have a nice day !

I'm having the same problem with an existing project, and I wonder if it is an issue with the latest Elixir?
% elixir --version
Erlang/OTP 26 [erts-14.2.5] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit] [dtrace]

Elixir 1.17.1 (compiled with Erlang/OTP 26)

I hadn't run my crawler in a week or so, but had updated Elixir in the meantime. I've tried updating other deps to see if something got out of sync, but didn't help.

Plus one here. This is the error I get. I'm on elixir 1.17
[debug] Opening/checking dynamic spiders storage
[debug] Using the following folder to load extra spiders: ./spiders
[info] No spiders found to auto-load: %MatchError{term: {:error, :enoent}}

Hi people. I have made the fix for the problem in #299

Thanks. Progress for me, though I have a new error. (I probably won't have time to diagnose it today, but I'll get back if I can narrow down the issue.)
09:10:40.418 line=144 pid=<0.782.0> file=lib/crawly.ex domain=elixir application=crawly mfa=Crawly.load_spiders/0 [info] No spiders found to auto-load: %MatchError{term: {:error, :enoent}}

09:10:40.421 line=52 pid=<0.787.0> file=lib/crawly/data_storage/data_storage.ex domain=elixir application=crawly mfa=Crawly.DataStorage.start_link/1 [debug] Starting data storage
Interactive Elixir (1.17.1) - press Ctrl+C to exit (type h() ENTER for help)

09:10:45.514 line=1391 pid=<0.940.0> file=gen_server.erl domain=otp mfa=:gen_server.error_info/8 [error] GenServer #PID<0.940.0> terminating
** (stop) exited in: GenServer.call(Crawly.Engine, {:start_spider, MySpider.Spider, "cadaa246-3956-11ef-ba43-265b3976fd17", [crawl_id: "cadaa246-3956-11ef-ba43-265b3976fd17"]}, 5000)
    ** (EXIT) time out
    (elixir 1.17.1) lib/gen_server.ex:1128: GenServer.call/3
    (my_spider 0.1.0) lib/my_spider/cron.ex:18: MySpider.Cron.handle_info/2
    (stdlib 5.2.3) gen_server.erl:1095: :gen_server.try_handle_info/3
    (stdlib 5.2.3) gen_server.erl:1183: :gen_server.handle_msg/6
    (stdlib 5.2.3) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Last message: :spider
State: %{}

o_O. Sorry, I believe I see the problem. Will think how to solve it.

Could you try this branch?
https://github.com/elixir-crawly/crawly/compare/fixing_list_sliders2

Awesome, that fixes it for me. My crawler just ran to completion.

I am going to merge and release it soon!


Remove heavy SVG in favor of Webp

[x] Add .webp images instead of heavy svg
[x] Replace adornments svgs
[x] Add resize for adornment images
[x] Move HowTo ilustrations to pure .svg (now we have texts for SEO and less file size)

New build log
Page                                       Size     First Load JS
┌ ○ / (1631 ms)                            720 kB          839 kB
├   /_app                                  0 B             118 kB
└ ○ /404                                   186 B           119 kB
+ First Load JS shared by all              118 kB
  ├ chunks/framework-9b5d6ec4444c80fa.js   45.7 kB
  ├ chunks/main-f0e16f48d3775e5e.js        30.7 kB
  ├ chunks/pages/_app-b08dae46b209c1fb.js  40.2 kB
  └ chunks/webpack-2e68b01c7e74ed91.js     1.83 kB

○  (Static)  automatically rendered as static HTML (uses no initial props)

Previos build log
Page                                       Size     First Load JS
┌ ○ / (1943 ms)                            4.45 MB        4.56 MB
├   /_app                                  0 B             118 kB
└ ○ /404                                   186 B           118 kB
+ First Load JS shared by all              118 kB
  ├ chunks/framework-9b5d6ec4444c80fa.js   45.7 kB
  ├ chunks/main-f0e16f48d3775e5e.js        30.7 kB
  ├ chunks/pages/_app-b08dae46b209c1fb.js  40.2 kB
  └ chunks/webpack-71eb4fcc773b358e.js     1 kB

○  (Static)  automatically rendered as static HTML (uses no initial props)

In general looks much better now, good joob 👌
This is before:

This is now:


Literal spaces in FAQ hyperlinks

Where to find the issue

https://www.coronawarn.app/en/faq/results/#qr_scan
https://www.coronawarn.app/en/faq/results/#qr_test
https://www.coronawarn.app/en/faq/results/#hc_already_registered
https://www.coronawarn.app/de/faq/results/#qr_scan
https://www.coronawarn.app/de/faq/results/#qr_test
https://www.coronawarn.app/de/faq/results/#hc_already_registered

Describe the issue
Hyperlinks in the FAQs to the following assets contain spaces. This is not allowed in HTML:

/assets/documents/MU 10C (01_2021) web.pdf
/assets/documents/MU OEGD (08_2021) web.pdf
/assets/screenshots/2-16/en/ios/iPhone 13-screenshot_recovery_certificate_valid_details_part2.png

Suggestion
For the 10C and OEGD assets, replace the spaces by underscores. These assets were provided privately by KBV (see https://github.com/corona-warn-app/cwa-website/issues/1780). Similar forms on KBV's website https://update.kbv.de/ita-update/Blankoformulare/10C_OEGD/Muster.zip use underscores in the filenames. This also makes the filenames aligned to all other assets in the directory src/assets/documents which make no use of space characters.
For the iPhone asset, convert the space in the hyperlinks to an escaped space character (%20), since the asset is used also on the https://www.coronawarn.app/en/screenshots/ pages. In general it would be better if the screenshots generated for iOS in future do not contain any spaces in their filenames. This is however a separate topic.
Reference

https://www.w3schools.com/tags/ref_urlencode.asp "URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign or with %20.

PR https://github.com/corona-warn-app/cwa-website/pull/3216 submitted to resolve this issue


Implement "Localization System"

I think this one will scrap Puddle down if don't get done before more command was added...

Successfully implement localization https://github.com/Zazalng/Pudel/pull/21

support community helper .csv file declare


Module name modification

Change the module name to github.com/SkyAPM/go2sky.

Related issues
#36

@wu-sheng Can you give me an example?

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

Like this ?

No, it is not an Apache foundation project. should be

Licensed to SkyAPM org

@wu-sheng Please review

reporter/grpc directory ignored.


Incorrect config settings crash server

This is from #584, the fix is correct there but the underlying issue is that incorrectly written yaml files can lead to server crashes, when it should really just display a server warning instead.

There's really no one-size-fits-all solution here. Personally I'm a fan of "fail fast and loudly" so invalid config producing a mere warning is iffy to me.
That said, making the game more robust about stuff going wrong is definitely a good idea. #584 was because the entity throws in creation which puts invalid entity data into the entity list. https://github.com/space-wizards/RobustToolbox/issues/949 would avoid "one entity creation failing makes entire game unplayable".

P sure this is discussed as intentional. Closing.


can_i_Dcignoredist and container

Hello i not know if is issue or not but i explain problem.
IF i set CAN=can_i_Dcignoredist on a type t_container i can open from XXXX dist, i manage it in script.
But i can't drop item inside it, i not know if can_i_Dcignoredist also work for drag and drop.

Also can_i_dcignoredist canseelos does not work in 0 state.

Because DCIgnoreDIST meaning Double Click Ignore Distance, it only ignore distance when you dclicked the item. It doesn't work on drops.
I didn't get your 0 state meaning, there is a CAN_I_DCIGNORELOS if you want to ignore canseelos instead of distance.


[Bug] The isValidating flag gets stuck on true if a request is cancelled

Not sure what's going on, but I just realized that the isValidating flag returned from useSWR often gets stuck on true when cancelling a request.
I've managed to boil it down to the following example:
import React, { useState, useCallback } from 'react';
import useSWR from 'swr';

function Test() {
  const [input, setInput] = useState('');
  const handleChange = useCallback(e => setInput(e.currentTarget.value), [setInput]);
  const handleClear = useCallback(() => setInput(''), [setInput]);

  const { data, isValidating } = useSWR(
    input ? `https://jsonplaceholder.typicode.com/posts/${input}` : null,
    async key => {
      // NOTE: This is just to make a slow request. It happens with actual slow requests too.
      await new Promise(resolve => setTimeout(resolve, 2000));
      const res = await fetch(key);
      return res.json();
    }
  );

  return (
    <>
      <form>
        <input value={input} onChange={handleChange} />
        <button type="button" onClick={handleClear}>
          Clear
        </button>
      </form>
      <output>
        {isValidating
          ? 'Validating...'
          : JSON.stringify(data, undefined, 2) || typeof data}
      </output>
    </>
  );
}

If I start typing, then isValidating will change to true.
If I then clear the input while isValidating is still true, either by just backspacing until empty, by clicking the button, then isValidating never returns to false.
If I start typing in the field again, then it "wakes up" because of a new request being triggered and isValidating returns to true when the new request finishes.
If I have any input, and the request is completed, and I then clear it, then isValidating will remain false as expected.

What's going on? 😕

The isValidating value currently is not strongly bound to the key like data does. Will get this fixed in the next version.

@Svish can you try to bump swr to latest (0.3.x) to confirm if the issue is resolved on your side now? thanks

@Svish does this work out your issue?
-{!isValidating
+{(!data && isValidating)
      ? 'Validating...'
      : JSON.stringify(data, undefined, 2) || typeof data}

only display the "Validating" text when there's no data fallback from cache and meanwhile swr is doing the revalidation. when you backspace, swr will do soft revalidate to refetch the state for that key so the isValidating is set to true again.

@huozhi Potential workaround, perhaps, but not able to check right now. Either way, I believe this seems to me to be a bug that should be fixed, rather than worked around.
Still on version 0.2.2 because of this, and haven't really bothered trying to upgrade until this is confirmed fixed. Also on a different project at the moment, so can't check right now, unfortunately.

For a key that has state been resolved before, swr will try to refetch the latest state to make sure it's matching the result fetcher gets from remote. I would say it's not really a bug behavior.
I feel your scenario is more like: I want the fetcher do nothing if the state is resolved once?
so the solution could be either (1) check if the data is resolved already in fetcher, and decide whether to send another request.
or (2) use the condition like !data && isValidating stuff to determine it's fetched when render.
(1) can be considerred as a feature quest, giving more information in fetcher that could let user decide when to fetch.

Not sure I follow you, but either way, the issue here was never what swr was doing with revalidating or refetching or using cached values or whatever. It is that isValidating in a certain scenario gets stuck on true, even though there actually is no validation happening anywhere.
That's an issue, because one of the main points of the isValidating flag (in my opinion) is to be able to show a status to the user that something is happening. And when that gets stuck on true, you end up with a constant spinner shown to the user, without anything actually happening, which is both confusing and wrong. isValidating should always, at some point, return to false. And in the version after 0.2.2, it stopped doing that. And every version I tested after that, it still wasn't. Up till maybe 6 months ago or something, where I had to switch project (one not using swr) and stopped testing.
That's the bug part that I want fixed.


feat(watcher): now watchers can reset their status to idle

this PR resolves #70

:tada: This PR is included in version 1.0.0-dev.6 :tada:
The release is available on:

v1.0.0-dev.6
GitHub release
v1.0.0-dev.6

Your semantic-release bot :package::rocket:

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

v1.1.0
GitHub release
v1.1.0

Your semantic-release bot :package::rocket:


avoid_init_to_null issue doesn't show when declared const

What happened?
When assigning null to a newly declared variable, avoid_init_to_null issue shows up in the bottom-right of the screen.

However, when declared as const, the issue disappears.
Steps to reproduce problem

Define a constant variable [with const]

Additional info
Browser
Browser: firefox
Version: 107.0 (64-bit)
Are you using any extensions/plugins that affect website behavior
(particularly those that affect iframes, such as ad blockers)?
Are there any warnings or errors in your browser's JavaScript console?
If so, paste them below:
[paste warnings or errors here]

Machine
Operating system: Windows 10 Home Single Language
Version: 19044.2251
Code
main() {
  const int? a = null;
  print(a);
}

Thanks for filing an issue!
This is expected because const declarations must be initialized in the declaration and cannot change, so if you want it to be null, you need to explicitly do so.
Note the lint also won't appear if the declaration is final as final variables cannot be read/accessed until assigned, so if you want it to be null and use that variable, you need to explicitly do so.
void main() {
  final int? a = null;
  print(a);
}

The lint is intended for variable declarations (using var or just a simple type declaration such as int?) with a nullable type as they automatically get initialized to null.


frontend: Add comment to explain MiddlewareLowercase

Just adding a comment to try to clarify the purpose of MiddlewareLowercase, since I saw some recent confusion around it.

I don't know why CI thinks this is coming from a fork when it clearly isn't.  Being as this is just a code comment, can we override CI this time?


Idea: Add Stripe

Suggest adding Stripe as a payment provider (instead of PayPal).
Stripe is becoming the most popular compared to PayPal in the EU (due to lower transaction fees).
https://stripe.com/gb

Definitely going to look into other payment options.
Are you using ExpressCart currently or just suggesting?
Would love to hear from people using/wanting to use it.


Return closes search box instead of searching (iOS swipe)

A user on the rust-lang instance is reporting that on iOS Safari 16:

I’ve noticed that if I tap the search icon and use the device’s swipe keyboard to enter a search term, it shows up in the search box. But if I then press return, the search box closes and discards my input instead of searching.

CZO thread

@zulipbot claim

@zulipbot claim

@zulipbot claim

@zulipbot claim

@zulipbot abandon


Quick start installation   guide failed

Checks

[X] I have searched the existing issues.
[X] This issue is NOT security related. (Please disclose responsibly)
[X] This issue is NOT specific to the CLI. (Please open a CLI issue)

deployKF Version
v0.1.5
Kubernetes Distribution
kind
Kubernetes Version
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.0

Description
According to the latest guide https://www.deploykf.org/guides/local-quickstart/ i have follwed the instraction but when i'm trying to create argocd application using below yaml file i'm below error.

$ git branch
* main

# clone the deploykf repo
# NOTE: we use 'main', as the latest plugin version always lives there
git clone -b main https://github.com/deployKF/deployKF.git ./deploykf

# ensure the script is executable
chmod +x ./deploykf/argocd-plugin/install_argocd.sh

# run the install script
# WARNING: this will install into your current kubectl context
bash ./deploykf/argocd-plugin/install_argocd.sh

$ kubectl get --namespace argocd pods
NAME                                                READY   STATUS    RESTARTS   AGE
argocd-application-controller-0                     1/1     Running   0          2m27s
argocd-applicationset-controller-79b7777965-s8cqd   1/1     Running   0          2m28s
argocd-dex-server-7c4c796bf8-2g5t5                  1/1     Running   0          2m28s
argocd-notifications-controller-6cb8857cb9-sbw2x    1/1     Running   0          2m28s
argocd-redis-6c99d949c5-jq6pv                       1/1     Running   0          2m28s
argocd-repo-server-7d894969c6-59dlt                 2/2     Running   0          2m27s
argocd-server-56bf96f47d-t59md                      1/1     Running   0          2m27s

Relevant Logs
Unable to create application: application spec for deploykf-app-of-apps is invalid: InvalidSpecError: Unable to generate manifests in .: rpc error: code = Unknown desc = plugin sidecar failed. error generating manifests in cmp: rpc error: code = Unknown desc = error generating manifests: `/bin/bash -c "set -eo pipefail\n\n## ensure exactly one of 'source_version' or 'source_path' was provided\nif [[ -n \"$PARAM_SOURCE_VERSION\" && -n \"$PARAM_SOURCE_PATH\" ]]; then\n echo \"ERROR: both 'source_version' and 'source_path' were set, but we require exactly one\" >&2\n exit 1\nelif [[ -z \"$PARAM_SOURCE_VERSION\" && -z \"$PARAM_SOURCE_PATH\" ]]; then\n echo \"ERROR: neither of 'source_version' of 'source_path' were set, but we require exactly one\" >&2\n exit 1\nfi\n\n## ensure exactly one of 'output_kustomize_path' or 'output_helm_path' was provided\nif [[ -n \"$PARAM_OUTPUT_KUSTOMIZE_PATH\" && -n \"$PARAM_OUTPUT_HELM_PATH\" ]]; then\n echo \"ERROR: both 'output_kustomize_path' and 'output_helm_path' were set, but we require exactly one\" >&2\n exit 1\nfi\n\n## if no paths are set, default to the argocd app-of-apps\nif [[ -z \"$PARAM_OUTPUT_KUSTOMIZE_PATH\" && -z \"$PARAM_OUTPUT_HELM_PATH\" ]]; then\n PARAM_OUTPUT_KUSTOMIZE_PATH=\"./argocd/\"\nfi\n\nDKF_ARGS=()\n\n## set 'deploykf --output-dir' argument\nOUTPUT_DIR=\"./__PLUGIN_GENERATOR_OUTPUT__\"\nDKF_ARGS+=(\"--output-dir\" \"$OUTPUT_DIR\")\n\n## set 'deploykf --source-version' argument\nif [[ -n \"$PARAM_SOURCE_VERSION\" ]]; then\n DKF_ARGS+=(\"--source-version\" \"$PARAM_SOURCE_VERSION\")\nfi\n\n## set 'deploykf --source-path' argument\nif [[ -n \"$PARAM_SOURCE_PATH\" ]]; then\n DKF_ARGS+=(\"--source-path\" \"$PARAM_SOURCE_PATH\")\nfi\n\n## set 'deploykf --values' argument for each 'values_files' path\nfor env_var in ${!PARAM_VALUES_FILES_@}\ndo\n VALUES_FILE_PATH=\"${!env_var}\"\n if [[ ! -f \"$VALUES_FILE_PATH\" ]]; then\n echo \"ERROR: the provided values file '$VALUES_FILE_PATH' does not exist\" >&2\n exit 1\n fi\n DKF_ARGS+=(\"--values\" \"$VALUES_FILE_PATH\")\ndone\n\n## set 'deploykf --values' argument for the provided 'values' string\nif [[ -n \"$PARAM_VALUES\" ]]; then\n USER_VALUES_FILE_PATH=\"./__PLUGIN_USER_VALUES__.yaml\"\n echo \"$PARAM_VALUES\" > \"$USER_VALUES_FILE_PATH\"\n DKF_ARGS+=(\"--values\" \"$USER_VALUES_FILE_PATH\")\nfi\n\n## set 'deploykf --values' argument for values required by the plugin\nREQUIRED_VALUES='{\"argocd\":{\"source\":{\"plugin\":{\"enabled\":true}}}}'\nREQUIRED_VALUES_FILE_PATH=\"./__PLUGIN_REQUIRED_VALUES__.yaml\"\necho \"$REQUIRED_VALUES\" > \"$REQUIRED_VALUES_FILE_PATH\"\nDKF_ARGS+=(\"--values\" \"$REQUIRED_VALUES_FILE_PATH\")\n\n## run the deploykf generator\ndeploykf generate \"${DKF_ARGS[@]}\"\n\n## ensure the provided 'output_kustomize_path' exists\nif [[ -n \"$PARAM_OUTPUT_KUSTOMIZE_PATH\" ]]; then\n OUTPUT_KUSTOMIZE_PATH=$(realpath \"$OUTPUT_DIR/$PARAM_OUTPUT_KUSTOMIZE_PATH\")\n if [[ ! -d \"$OUTPUT_KUSTOMIZE_PATH\" ]]; then\n echo \"ERROR: the provided 'output_kustomize_path' '$OUTPUT_KUSTOMIZE_PATH' does not exist\" >&2\n exit 1\n fi\nfi\n\n## ensure the provided 'output_helm_path' exists\nif [[ -n \"$PARAM_OUTPUT_HELM_PATH\" ]]; then\n OUTPUT_HELM_PATH=$(realpath \"$OUTPUT_DIR/$PARAM_OUTPUT_HELM_PATH\")\n if [[ ! -d \"$OUTPUT_HELM_PATH\" ]]; then\n echo \"ERROR: the provided 'output_helm_path' '$OUTPUT_HELM_PATH' does not exist\" >&2\n exit 1\n fi\n\n ## add the helm repos for the chart dependencies\n helm dependency list --max-col-width 10000 \"$OUTPUT_HELM_PATH\" | awk 'NR>1 {print $1,$3}' | while read -r name url; do\n if [[ -n \"$name\" && -n \"$url\" && \"$url\" =~ \"^https?://\" ]]; then\n helm repo add \"$name\" \"$url\" --force-update\n fi\n done\n\n ## pull the helm chart dependencies\n helm dependency build \"$OUTPUT_HELM_PATH\"\nfi\n"` failed exit status 1: Error: Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/614078982/6fd87e76-59f1-4ccf-aa0a-6e18de122dcd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240827%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240827T023958Z&X-Amz-Expires=300&X-Amz-Signature=488b399902e42207f7b89b815065c66c96993853260943d595a37fe98b52d297&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=614078982&response-content-disposition=attachment%3B%20filename%3Ddeploykf-0.1.5-generator.zip&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority

### deployKF Values (Optional)

```yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: deploykf-app-of-apps
  namespace: argocd
  labels:
    app.kubernetes.io/name: deploykf-app-of-apps
    app.kubernetes.io/part-of: deploykf
spec:
  project: "default"
  source:
    ## source git repo configuration
    ##  - we use the 'deploykf/deploykf' repo so we can read its 'sample-values.yaml'
    ##    file, but you may use any repo (even one with no files)
    ##
    repoURL: "https://github.com/deployKF/deployKF.git"
    targetRevision: "v0.1.5"
    path: "."

    ## plugin configuration
    ##
    plugin:
      name: "deploykf"
      parameters:

        ## the deployKF generator version
        ##  - available versions: https://github.com/deployKF/deployKF/releases
        ##
        - name: "source_version"
          string: "0.1.5"

        ## paths to values files within the `repoURL` repository
        ##  - the values in these files are merged, with later files taking precedence
        ##  - we strongly recommend using 'sample-values.yaml' as the base of your values
        ##    so you can easily upgrade to newer versions of deployKF
        ##
        - name: "values_files"
          array:
            - "./sample-values.yaml"

        ## a string containing the contents of a values file
        ##  - this parameter allows defining values without needing to create a file in the repo
        ##  - these values are merged with higher precedence than those defined in `values_files`
        ##
        - name: "values"
          string: |
            ##
            ## This demonstrates how you might structure overrides for the 'sample-values.yaml' file.
            ## For a more comprehensive example, see the 'sample-values-overrides.yaml' in the main repo.
            ##
            ## Notes:
            ##  - YAML maps are RECURSIVELY merged across values files
            ##  - YAML lists are REPLACED in their entirety across values files
            ##  - Do NOT include empty/null sections, as this will remove ALL values from that section.

Are you using a corporate network?
If so, does it have a proxy?
When you curl github (specifically something on https://objects.githubusercontent.com) from a pod, do you also see these certificate validation errors.

I suggest you ask your network team more about what is required to access https://objects.githubusercontent.com without certificate validation errors. But if that fails, just use the "manifests repo mode" for now, as this will not require the plugin to connect to GitHub from inside the cluster.
(But it will require you to manually render and commit the deployKF manifests to a GitRepo that the cluster can see).

@tppalani it looks like your network is man-in-the-middling your connection to GitHub, see the following part of the logs:
Error: Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/614078982/6fd87e76-59f1-4ccf-aa0a-6e18de122dcd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240827%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240827T023958Z&X-Amz-Expires=300&X-Amz-Signature=488b399902e42207f7b89b815065c66c96993853260943d595a37fe98b52d297&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=614078982&response-content-disposition=attachment%3B%20filename%3Ddeploykf-0.1.5-generator.zip&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority

There are so many reasons this could be happening, its hard to debug without knowing more context about your network.

Are you using a corporate network?
If so, does it have a proxy?
When you curl github (specifically something on https://objects.githubusercontent.com) from a pod, do you also see these certificate validation errors.

I suggest you ask your network team more about what is required to access https://objects.githubusercontent.com without certificate validation errors. But if that fails, just use the "manifests repo mode" for now, as this will not require the plugin to connect to GitHub from inside the cluster.
(But it will require you to manually render and commit the deployKF manifests to a GitRepo that the cluster can see).

Yes my system is connected with VPN.

And also as you requested i have followed this page https://www.deploykf.org/guides/deploykf-cli/#about-the-cli and installed  deploykf cli
$ deploykf generate \
>   --source-version "0.1.5" \
>   --values ./custom-values.yaml \
>   --output-dir ./GENERATOR_OUTPUT
Using cached deployKF generator source: C:\Users\viswa\.deploykf\assets\deploykf-0.1.5-generator.zip
Error: failed to gather templates for rendering: Couldn't read datasource 'Values': Couldn't read datasource 'Values_0': Can't stat C:\Users\AL44469\custom-values.yaml: CreateFile C:\Users\viswa\custom-values.yaml: The system cannot find the file specified.

Hi @thesuperzapper
can you please help me ?

/objects.githubusercontent.com

Do we have anything for skip ssl validation, I'm not understand why this blocking from VPN network ?

Hi @thesuperzapper
this is not a working solution I believe because I have tested in my own laptop this dkf-core--deploykf-istio-gateway is not sync when I'm doing sync with argo, local quick start will work kind cluster ?


Vertical Perdent (Gradient) Effect Layer

Would be nice to have a vertical oriented gradient option in the Vertical Perdent (Gradient) Effect Layer.
Thanks in advance.

You can Rotate the Freestyle selection.

Didn't know about this. Thanks!


some suse packages not available

Hi there,
can somebody please check the following suse packages? Is there any download mirror?
http://packages.openxpki.org/suse/SLES11/
Those are missing:
myperl-5.22.0-1.x86_64.rpm
myperl-buildtools-5.22.0-1.x86_64.rpm
myperl-dbd-mysql-5.22.0-1.x86_64.rpm
myperl-dbd-oracle-5.22.0-1.x86_64.rpm
myperl-dbi-5.22.0-1.x86_64.rpm
myperl-fcgi-5.22.0-1.x86_64.rpm
cheers,
Daniel

I added the latest packages based on perl 5.24 today and removed those - you should update to openxpki 1.16 and myperl 5.24

that means I only need to install the following packages and ignore the rest?
myperl-openxpki-core-1.10.0-1.x86_64.rpm
myperl-openxpki-core-deps-1.10.0-1.x86_64.rpm
myperl-openxpki-i18n-1.10.0-1.x86_64.rpm

The packages for suse just have the old version in it's file name.
The requested URL /suse/SLES11/myperl-fcgi-5.22.0-1.x86_64.rpm was not found on this server.
change file name to ...-2.24... like below
myperl-fcgi-5.24.0-1.x86_64.rpm
then the download works.
cheers Daniel

It looks like you have used a cached version of the former index file, currently http://packages.openxpki.org/suse/SLES11/ just shows a bunch of files.
The latest version is 1.16.6-1 - not 1.10! I will remove the old ones to reduce confusion.


Remove or extract proof of liability (solvency information)

Agree to schedule on v1.9
I would be happy to make a micro-service of solvency service, but this can be pure JS with blockchain explorer like a list of assets.
no need to affect core performance or code based with public record you can display by a million different ways;

Closed via #1390.


Task creation is succeeding on server, and failing with a popup (Server Error null)

The POST went through fine on the server
The task was created successfully in the client
An error message pops up (randomly?) on task submit suggesting that the server failed to create the task (Server error null message), and nothing is in the log file

I stopped and restarted Intellij, and the created task was not in the dropdown list, and the default started from another task.  I tried to resume the task by it's name (testifm) and received the following error, which looks just like the one from before.

Interestingly, the task resumed successfully, despite hitting this error again.
The task is named "testifm" with id 66


user wants docs on how to pin device(s) to a specific release

 Front conversations

Closed by #1242


Grantapher/ValheimPlus re-release of <IP_ADDRESS>

Since there's likely more people puzzled by this: the <IP_ADDRESS> tag has been re-released, but with version texts containing <IP_ADDRESS>.
So even if you add -e VALHEIM_PLUS_RELEASE=tags/<IP_ADDRESS>, then the internal version info contains <IP_ADDRESS>.
Just redownload the WindowsClient.zip (etc) for your own valheim client, extract as usual, and you'll be all set!
This will persist until a release of tags/<IP_ADDRESS> is done.

Can confirm fixed, the <IP_ADDRESS> is working again (download new zip if you already moved to the .14 one)


dart:core#UnsupportedError - Make the message parameter optional

The current message promotes people just putting in non-sensical/useless messages like 'Not supported' or 'List.hashCode', if the getter is hashCode - something is derivable from the stack trace, and just adds noise/complexity.
My suggestion is to make this an optional parameter:
class UnsupportedError extends Error {
  final String message;
  UnsupportedError([this.message]);
  String toString() {
    const text = 'Unsupported operation';
    return message != null ? '$text: $message' : text;
  }
}

Happy to send a PR if this sounds sensible.

This is a non-breaking request, right? Overriding classes can still make the parameter required. Does not need to be pinned to a major Dart release...


Provider 'agent' for out-of-process handling of long-term key material

In some recent (private) discussion on the viability of implementing key isolation like implemented for OpenSSH with its ssh-agent a set of different options currently available in OpenSSL were noted. Unfortunately none of these is either documented by some example nor easily accessible for use. Goal for such an key isolation scheme should be, that long-term keys – like the private key of X.509 certificates in a TLS server – were not visible in the host process, but only in some separate agent process.
Several general routes for achieving this are available:

Implement some ENGINE that overrides loading and processing keys (similar to Intel QAT)

Implement some PROVIDER that forwards implementations of all algorithms from another provider (e.g. mirroring all of default or fips), but hooks into (or duplicates) certain algorithms to pass their execution to another process (the agent) to handle long-term key material (like asymmetric private keys).

Fiddle with the SSL, SSL_CTX and SSL_SESSION objects to intercept all relevant traffic needed to perform the handshake off-process and re-inject the state (via SSL_SESSION) only after the handshake completed successfully.

Hook implementations of relevant asymmetric ciphers (e.g. RSA, ECDSA) to execute private key operations off-process. While viable in general this is prone to cause issues when new algorithms need to be supported as code has to be duplicated heavily.

Possibly other routes like restoring the SSL_SESSION from the PMS/MS (cf. encrypted traffic capture of Wireshark).

While all those routes are in principle viable to implement even with existing API in OpenSSL (or are possible with only little changes to the API) its by far not actually trivial enough such that the an average developer could implement those options, even less so in a secure and portable way.
In contrast: it would even be an advantage, if such a key separation could be configured via system configuration alone without the base application even aware of this separation.
It thus would be nice if there was some example/demo for OpenSSL showcasing this general notion of an off-process key-agent assisting with cryptographic operations or some (basic) provider that could be extended upon.
Acknowledgements:
Many thanks for the loads of pointers on implementation options and documentation references go to @richsalz, @mattcaswell, @tmshort, @kaduk.

Something like https://github.com/OpenSC/OpenSC/wiki and PCKS#11?

Something like https://github.com/OpenSC/OpenSC/wiki and PCKS#11?

The basic idea for the engine is similar to OpenSC, but the inspiration itself is more on the lines of the SSH key agent. The aim is to be able to use unmodified OpenSSL APIs in the application and have all the secret key operations be performed in a separate process (with memory isolation) to ensure memory corruption issues in the application process can't leak the secrets.

I had an implementation of smth like that (inspired by Cloudflare Keyless SSL) using engines, and I think it's doable via providers.

I more or less concluded this should be covered by current APIs (at least the asymmetric case) but the lack of a proper implementation of it (as part of OpenSSL) made writing applications where you need this form of isolation harder than necessary and thus less ubiquitous than they could be.

Marking as inactive, to be closed at the end of 3.4 dev, barring further input


Naming of the STAC Start End (Date)time Extension Spec (set)

In a recent PR (#202) I changed the name from the "STAC Start End Time Extension Spec (set)" to "STAC Start End Datetime Extension Spec (set)" as it actually describes datetimes and not times and we were very strict about separating these concepts.
Now I am wondering whether this name is really a good choice and the prefix doesn't really fit any longer.
I think it could be a good idea to change the name, I actually never really liked it and would suggest to rename it to something like date(time) range / period or so and choose the prefix accordingly. If we want to stick with Start and End Time Extension, the prefix would be sed or sedt.

I'm fine for a name change. I still feel a bit weird about this extension, as we don't yet have concrete examples of things using it. If we had a 'maturity' class for this I'd call it 'idea'. It does seem good to have some recommendation for people to try out. But I really like the idea of not bringing stuff in until it really has a number of concrete implementations. Perhaps we could have 'extensions' and 'incubating', or maybe 'incubating' as a folder under extensions.

This has been merged


Added Contact us Image Rendering Test

Description

This pull request adds a test to check if both the contact us image on the desktop and the background image on the mobile render well.
Related Issue

Resolves:  #131

Motivation and Context
It ensures the contact us images render as expected.

How Has This Been Tested?
I used cypress chrome desktop to check if the test written works well in all the cases including when the image is not supplied.

Screenshots (if a

ppropriate):

@chadstewart, let me know if there is anything i need to change for the PR to be accepted

@chadstewart, let me know if there is anything i need to change for the PR to be accepted

Sorry about that. This week has been rather busy honestly.

Thanks @chadstewart.


fix(issue): Fix requested review to a team

Question
Response

Version?
v1.4.1

Devices tested?
iPhone 6 Simulator

Bug fix?
yes

New feature?
no

Includes tests?
no

All Tests pass?
yes

Related ticket?
#714

Screenshots

After

Description

Check event.requested_reviewer and event.requested_team. The event doesn't contain enough information about the team, so I passed repository from the outside.

Coverage decreased (-0.1%) to 44.059% when pulling 4ec58bbba0fa080d271a3157b3c33e2a940d188e on chinesedfan:fix_request_team into a9639dc1578b076c80e8123ce25790d05b9b383b on gitpoint:master.

Perfect 👌


Fix wrong csum for non-first ipv4 fragments

Before this commit, natting are blindly changing l4 ports to non-first ipv4
fragments, causing wrong csum.
Also fixes the same issue during the rev natting for dsr.
Signed-off-by: Yuan Liu<EMAIL_ADDRESS>Fix natting of non-first ipv4 fragments.

Thanks for the contribution!
Upon first review, I was confused why you would avoid NATing for second and subsequent fragments since the L3 addresses still need to be translated. However upon closer read, this PR is avoiding port translation (and corresponding checksum calculation for L4) on second/subsequent fragments. Please update the commit message and PR description to reflect this, it will help avoid confusion in future.

Done

Do you have a reproducer to regression-test this issue? It seems like something we would want tests in the codebase for.

I was doing manual testing with a cluster with a udp_echo application. I don't know about regression-tests. do you have more info?

I was doing manual testing with a cluster with a udp_echo application. I don't know about regression-tests. do you have more info?

@liuyuan10 We have fragmentation tests under test/k8sT/Services.go, so I was wondering if we could extend them to include a test that would validate the fix (and prevent us merging code that breaks it in future). The end-to-end testing framework we use is described in more detail here: https://docs.cilium.io/en/v1.8/contributing/testing/e2e/ .

test-me-please

I was doing manual testing with a cluster with a udp_echo application. I don't know about regression-tests. do you have more info?

@liuyuan10 We have fragmentation tests under test/k8sT/Services.go, so I was wondering if we could extend them to include a test that would validate the fix (and prevent us merging code that breaks it in future). The end-to-end testing framework we use is described in more detail here: https://docs.cilium.io/en/v1.8/contributing/testing/e2e/ .

I see. let me look into that. can we merge this PR first?

let me look into that. can we merge this PR first?

Yep, once it passes the full CI.
Feel free to ignore the Cilium-Ginkgo-GKE job failure for now, there is an infrastructure issue. When we get an update on that being fixed, we can re-trigger that job.

retest-gke

The 4.9 build is failing because of a new complexity issue:
2020-10-09T18:52:24.130199902Z level=error msg="Command execution failed" cmd="[tc filter replace dev lxc_health egress prio 1 handle 1 bpf da obj 3350_next/bpf_lxc.o sec to-container]" error="exit status 1" subsys=datapath-loader
2020-10-09T18:52:24.130222938Z level=warning subsys=datapath-loader
2020-10-09T18:52:24.130225739Z level=warning msg="Prog section 'to-container' rejected: Argument list too long (7)!" subsys=datapath-loader
2020-10-09T18:52:24.130274563Z level=warning msg=" - Type:         3" subsys=datapath-loader
2020-10-09T18:52:24.130280055Z level=warning msg=" - Attach Type:  0" subsys=datapath-loader
2020-10-09T18:52:24.130282364Z level=warning msg=" - Instructions: 1716 (0 over limit)" subsys=datapath-loader
2020-10-09T18:52:24.130284500Z level=warning msg=" - License:      GPL" subsys=datapath-loader
2020-10-09T18:52:24.130286629Z level=warning subsys=datapath-loader
2020-10-09T18:52:24.130288654Z level=warning msg="Verifier analysis:" subsys=datapath-loader
2020-10-09T18:52:24.130290702Z level=warning subsys=datapath-loader
2020-10-09T18:52:24.130292748Z level=warning msg="Skipped 4880636 bytes, use 'verb' option for the full verbose log." subsys=datapath-loader
2020-10-09T18:52:24.130294873Z level=warning msg="[...]" subsys=datapath-loader
2020-10-09T18:52:24.130296926Z level=warning msg="6b) *(u16 *)(r10 -52) = r3" subsys=datapath-loader
2020-10-09T18:52:24.130299379Z level=warning msg="751: (67) r3 <<= 32" subsys=datapath-loader
[...]
2020-10-09T18:52:24.130522901Z level=warning msg="1681: (b7) r1 = 256" subsys=datapath-loader
2020-10-09T18:52:24.130525017Z level=warning msg="1682: (7b) *(u64 *)(r10 -120) = r1" subsys=datapath-loader
2020-10-09T18:52:24.130527142Z level=warning msg="BPF program is too large. Proccessed 98305 insn" subsys=datapath-loader

Great find! I'm wondering why it was not caught by the testIPv4FragmentSupport in test/k8sT/Services.go? /cc @qmonnet

In the tests, we check that fragments are effectively processed and sent to the backend by looking for updates on the counters in the CT map:
cmdOut := "cilium bpf ct list global | awk ..."

We don't check for valid checksums on the receiving end at the moment.

retest-4.9

test-me-please


SP2-470 - Add endpoints and logic for creating plans

Added logic for adding plans with associated oasys assessment pk through /oasys/plans
Added logic for adding plans without an associated oasys assessment pk

Note: This will go unused for now, until migration away from OASys is complete, but for clarity sake I've added it now

Refactored existing /oasys/ endpoints to be /oasys/plans/
Updated tests

The reason I didn't use @Enumerated was because if we want to change the values of the Enum the converter will still be able to use the old data - with an @Enumerated it means the data will need converting whilst the app is down. It might not matter for our use case, but thought it was worth explaining why I didn't use the simpler implementation.


Can we minimize the negative log-likelihood of target words without pointer_gen mode?

Without pointer_gen mode, the loss is calculated by tf.contrib.seq2seq.sequence_loss. However, with pointer_gen mode, the loss minimizes the negative log-likelihood of target words.  The loss makes sense for me and but I just wonder whether we cannot also minimize the negative log-likelihood of target words without pointer_gen mode?

Though it may not be obvious from the name, negative log likelihood and cross entropy are the same in this instance.

Exactly, after re-read the code, it maximizes the probability from vocab_dists (generated from decoder output) with the index from the target (from the ground truth). So it is equivalent with cross-entropy.


Issue on checkout page, email should ask first as in default theme.

Bug report
Title
Issue on checkout page, email should ask first as in default theme.
Issue Description
Issue on checkout page, email should ask first as in default theme.
Preconditions
1. framework Version.-1.1.0

Steps to reproduce
1. step1- During checkout enter email of existing account
2. step2- Check, it ask for password just after company field

Expected result
Email should ak first
Actual result

Not fixed Yet, Now passwords is not asking for the existing customer in guest_checkout page in velocity theme
here is default theme

velocity theme,

fixed https://prnt.sc/rvxtd9


Clean Up (Redux)

Since I’ve been removed as a contributor to this repository and I still feel these changes are valuable fixes, I’ve decided to move this to my private fork and re-propose it.
From the original PR description:

Let me know if any of these are controversial, and I’ll just change them back.

@mattbischoff this errant "in" is the only tiny issue, otherwise :+1:

Fixed it. Thanks @cdzombak :heart:


feat: created historical-price endpoint

Dependencies added
zod

DescriptionTypeScript-first schema declaration and validation library with static type inference
AuthorColin McDonnell
LicenseMIT


no histogram in tensorboard, keras 1.0.4, tensorflow 0.8

Hi,
I'm now using keras 1.0.4 + tensorflow 0.8. In my tensorboard, I can see accuracy, loss in 'events' tab, but the 'histograms' tab is always empty.
I'm using fit_generator, here is the code:
tensorboard = keras.callbacks.TensorBoard(log_dir=mydir.tb_log, histogram_freq=1, write_graph=True)
history = self.model.fit_generator(train_generator, samples_per_epoch=samples_per_epoch,
nb_epoch=pars['nb_epoch'],
verbose=2,
callbacks=[tensorboard],
validation_data=validate_generator, nb_val_samples=nb_val_samples,
class_weight=pars['class_weight'])
I debugged into _set_model in callbacks.py, at about line 455, I get variables like below:
layer: <keras.layers.core.Dense object at 0x7f668c8a74d0>
'{}_W'.format(layer): '<keras.layers.core.Dense object at 0x7f668c8a74d0>_W'
'{}_b'.format(layer): '<keras.layers.core.Dense object at 0x7f668c8a74d0>_b'
'{}_out'.format(layer): '<keras.layers.core.Dense object at 0x7f668c8a74d0>_out'
Are these right? I think 'layer' should be a string, but here it is an object. I saw fig_generator has some issues with tensorboard, are them solved?
Thanks a lot!

I am also encountering this issue. It seems TensorBoard isn't working with fit_generator. I believe the reason for the failure is on [line 475 of callbacks.py] (https://github.com/fchollet/keras/blob/master/keras/callbacks.py#L475), self.model.validation_data is None when this executes with fit_generator.
I think the only way to fix this is to rewrite the code to work with a generator for validation data. I'm confused though, because looking at old issues and even the unit tests for tensorboard, I get the impression that it was working with fit_generator at some point in the past.
Anyway, hope this helps anyone who wants to take a crack at fixing this issue.

https://github.com/fchollet/keras/issues/3100
just open another issue about this problem.
@bbitmaster


Cannot use firebase_auth plugin

Steps to Reproduce
Created a new application, edited pubspec.yaml and added a single line:
firebase_auth:
Then I ran :
flutter packages get
and
flutter run
Logs
Running 'flutter packages get' in test_plugins...     0.4s
Launching lib/main.dart on iPhone 6 in debug mode...
Running pod install...
Error running pod install: Exit code 1 from: pod install
Error launching application on iPhone 6.
Flutter Doctor
Running 'flutter packages get' in test_plugins...     0.4s
Launching lib/main.dart on iPhone 6 in debug mode...
Running pod install...
Error running pod install: Exit code 1 from: pod install
Error launching application on iPhone 6.
➜  test_plugins flutter doctor
[✓] Flutter (on Mac OS X 10.12 16A323, channel master)
• Flutter at /Users/arash/source/flutter
• Framework revision fc1b5c9ba9 (3 days ago), 2017-05-10 07:45:16 -0700
• Engine revision cbbf956fcb
• Tools Dart version 1.23.0-dev.11.11
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at /Users/arash/Library/Android/sdk
• Platform android-25, build-tools 25.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.3.2, Build version 8E2002
• ios-deploy 1.9.1
• CocoaPods version 1.2.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Gradle version 3.2
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.1.2)
• Dart plugin version 171.4424
• Flutter plugin version 13.1
[✓] Connected devices
• iPhone 6 • 369236F5-B245-44E5-A43B-60D6DAAC09DB • ios • iOS 10.3 (simulator)

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

@szakarias or @goderbauer would know.  Does pod install when run alone (outside of Flutter) provide you an error message?

You could also try running with flutter run -v to get a more detailed error. My guess would be that your pods need updating (pod repo update, see https://github.com/flutter/flutter/issues/9993).

pod repo update didn't help.
running in verbose mode gave me this:
[ +12 ms] Found plugin firebase_auth at /Users/arash/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.0.1/
[      +38 ms] pod --version
[     +466 ms] pod --version
[     +297 ms] Exit code 0 from: pod --version
[            ] 1.2.1
[            ] Running pod install...
[            ] [ios/] pod install
[     +189 ms] [SYS LOG] May 13 21:33:22 MacBook-Pro com.apple.usbmuxd[2301]: notice    Idle, stopping.
[      +18 ms] [SYS LOG] May 13 21:33:22 MacBook-Pro com.apple.usbmuxd[2767]: notice    usbmuxd-374.913 on Mar 17 2017 at 17:43:50, running 64 bit
[     +651 ms] [DEVICE LOG] May 13 21:33:22 MacBook-Pro CoreSimulatorBridge[68496]: Pasteboard change listener callback port <NSMachPort: 0x7ffe75011950> registered
[     +721 ms] Analyzing dependencies
Fetching podspec for Flutter from /Users/arash/Src/flutter/bin/cache/artifacts/engine/ios
Fetching podspec for firebase_auth from /Users/arash/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.0.1/ios
Downloading dependencies
Installing Firebase (3.17.0)
Installing FirebaseAnalytics (3.9.0)
Installing FirebaseAuth (3.1.1)
Installing FirebaseCore (3.6.0)
Installing FirebaseInstanceID (1.0.10)
Installing FirebaseUI (3.1.1)
Installing Flutter (1.0.0)
Installing GTMOAuth2 (1.1.4)
Installing GTMSessionFetcher (1.1.9)
Installing Google (3.0.3)
Installing GoogleSignIn (4.0.2)
Installing GoogleToolboxForMac (2.1.1)
Installing firebase_auth (0.0.1)
[!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (/Users/arash/Src/flutter-projects/firebase/ios/Pods/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework, /Users/arash/Src/flutter-projects/firebase/ios/Pods/FirebaseUI/FirebaseUIFrameworks/FirebaseGoogleAuthUI/Frameworks/FirebaseGoogleAuthUI.framework, /Users/arash/Src/flutter-projects/firebase/ios/Pods/Google/Frameworks/GGLCore.framework, and /Users/arash/Src/flutter-projects/firebase/ios/Pods/Google/Frameworks/GGLSignIn.framework)
                   [!] `<PBXGroup UUID=`97C146E51CF9000F007C117D`>` attempted to initialize an object with an unknown UUID. `CF3B75C9A7D2FA2A4C99F110` for attribute: `children`. This can be the result of a merge and  the unknown UUID is being discarded.

                   [!] Automatically assigning platform ios with version 8.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

[       +2 ms] Error running pod install: Exit code 1 from: pod install
[            ] Error launching application on iPhone 6.
[      +12 ms] "flutter run" took 7,141ms.
#0      throwToolExit (package:flutter_tools/src/base/common.dart:29)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:327)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:210)

#3      RunCommand.verifyThenRunCommand (package:flutter_tools/src/commands/run.dart:210)

#4      FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:156)

#5      CommandRunner.runCommand (package:args/command_runner.dart:194)

#6      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:261)

#7      CommandRunner.run. (package:args/command_runner.dart:109)
#8      Future.Future.sync (dart:async/future.dart:208)
#9      CommandRunner.run (package:args/command_runner.dart:109)
#10     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:156)
#11     run. (package:flutter_tools/executable.dart:140)

#12     AppContext._run (package:flutter_tools/src/base/context.dart:76)

#13     AppContext.runInZone. (package:flutter_tools/src/base/context.dart:66)
#14     _rootRun (dart:async/zone.dart:1120)
#15     _CustomZone.run (dart:async/zone.dart:1001)
#16     runZoned (dart:async/zone.dart:1465)
#17     AppContext.runInZone (package:flutter_tools/src/base/context.dart:65)
#18     run (package:flutter_tools/executable.dart:113)

#19     main (package:flutter_tools/executable.dart:66)

#20     main (file:///Users/arash/Src/flutter/packages/flutter_tools/bin/flutter_tools.dart:16)
#21     _startIsolate. (dart:isolate-patch/isolate_patch.dart:263)
#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
[     +102 ms] ensureAnalyticsSent: 98ms
[       +1 ms] exiting with code 2

You might be hitting #9694. Try removing use_frameworks! from ios/Podfile, and see if that changes anything.

That solved the problem. Everything is happy now!

This should be mentioned on https://codelabs.developers.google.com/codelabs/flutter-firebase/index.html?index=..%2F..%2Findex#4
:)

FYI @collinjackson

Just ran into this issue too!

/Users/rajeshkumar/Desktop/flutter_demo/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'firebase_analytics/FirebaseAnalyticsPlugin.h' file not found
#import <firebase_analytics/FirebaseAnalyticsPlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In your podfile where You see
target 'Runner' do
  use_frameworks!

comment user_frameworks!
target 'Runner' do
  # use_frameworks!

and go to path /ios of the project
run
pod install
and cheers.

@rajeshzmoke I have created this project a month ago than just came back to start over it again. But this is what I had done. It wasn't commented before than i did later on today while integration of firebase..

@ch-muhammad-adil can u try creating a new one now and check?

@ch-muhammad-adil  ..Thanks..bro..
u give the better solution for this issue
go to path /ios of the project
run
pod install

step 1)in mac
Install homebrew.
Open the terminal and run these commands to install CocoaPods:
brew install cocoapods or brew upgrade cocoapods
pod setup
step 2)
go to path /ios of the project
run
pod install

@arashbi
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1009. Any further collaboration will be done there.

firebase_auth

(void)signInWithCredential:(FIRAuthCredential *)credential
completion:(nullable FIRAuthDataResultCallback)completion {
[self signInAndRetrieveDataWithCredential:credential completion:completion];
}
Error message：
Incompatible block pointer types sending 'void (^)(FIRUser *__strong, NSError *__strong)' to parameter of type 'void (^ _Nullable)(FIRAuthDataResult * _Nullable __strong, NSError * _Nullable __strong)'


How to make vim and vscode highlight java syntax in a .jsh?

Is there a way to make vim and vscode recognize that the .jsh is written in java so that it would highlight keywords and stuff?

I don't believe there's a way to do this, unfortunately.
The point of .jsh files are to emulate the jshell UI, which does not highlight any information for syntax assistance that vim does.
If you'd like some kind of syntax assistance or keyword highlighting, you could write your .jsh files as a .java file and then copy the lines over from your .java to .jsh file!
I'd look forward to being proven wrong by someone who knows better though! Would be very helpful to have colour highlighting in a .jsh file 😄

It is possible in vscode

click on plain text

just choose Java at this window

Thanks, will try!

vim: add the following line at the end of ur .vimrc file au BufRead,BufNewFile *.jsh set filetype=java
vscode:  click on plain text
 just choose Java at this window

THANKS MAN URE SO HOT

It works! Thanks!

Since our PA is over, mind if you close this issue yeah?


Clarify submit validation with action creators and XHR calls

Hi @erikras! Thanks for your great work on this and the universal-boilerplate, both of which I am using!
Maybe this is a n00b question but having gone through the documentation and searching for issues, it wasn't clear how to act based on server response when -

form is submitted
using an action creator
which makes the call to the server

Here is the code to my handleSubmit and actionCreator (following the style of the boilerplate). I can't figure out how to have the errors show up in the form itself.
More importantly, the flow of
start-submit -> promise reject/resolve -> stop-submit -> add to errors in the form
isn't that clear from the documentation and I would love to understand that better.
Any help and clarification would be much appreciated, as I am sure this is a common case for us newbies.
actionCreator
export function addRequest(userId) {

	return {
		userId: userId,
		types: [
			SUBMIT_FORM_REQUESTED,
			SUBMIT_FORM_REQUEST_SUCCESS,
			SUBMIT_FORM_REQUEST_FAIL
		],
		promise: (client) => client.post('/add_requests/', {
			data: {
				"add_request": {
					"user_id": userId
				}
			}
		})
		.then(response => normalize(response, requestSchema))
	};

}

Form Component's handleSubmit

handleSubmit = (data) => {

	return new Promise((resolve, reject) => {
		return this.props.addRequest(
			data.userId
		)
		.then((action) => {

			if (action.type === SUBMIT_FORM_REQUEST_SUCCESS) {
				resolve();
			}
			else if (action.status === SUBMIT_FORM_REQUEST_FAIL) {
				reject({ _error: action.error });
			}
		})
		.catch((error) => {
			reject({ _error: error });
		});
	});
}

Thanks again for your work on these libraries!

@oyeanuj have you looked at the submit validation example? It has submit / async validation / showing errors in the form.
http://erikras.github.io/redux-form/#/examples/submit-validation
Full source is on the gh-pages branch
https://github.com/erikras/redux-form/blob/gh-pages/src/examples/SubmitValidationForm.js
https://github.com/erikras/redux-form/blob/gh-pages/src/redux/modules/submission.js
Would the above flow work?

@oyeanuj If you are using the client middleware from the universal-boilerplate, dispatching the action will return a promise already.
handleSubmit = (data) => {
  return this.props.addRequest(data.userId)
    .then(result => {
      // do something if you wish
    }, error => {
      return {_error: error};
    });
}


Remove rules with deinstall plugin.

https://github.com/opnsense/core/pull/2448

@AdSchellevis I don't think this is an adequate solution, +PRE_DEINSTALL is too fragile and deinstall.sh regenerates template and updates rules files instead of deinstalling...


Wrong image from HEIC by iphone XS Max

The right one from libvips.

And the wrong one from pillow(pyheif)
Code:
heif_file = pyheif.read_heif(heif_stream)
self.img = PIL.Image.frombytes(mode=heif_file.mode, size=heif_file.size, data=heif_file.data)
self.img.format = "HEIC"
self.img.save('/data/yuan.pillow.jpeg')

HEIC file:
https://wetransfer.com/downloads/86f579cce2a263599470d4422ec4da2920200906110046/90153fd81aaae01bf4197f9a03ebca7520200906110144/75abf3

#20


Unnecessarily complicated rewards

The original MetaWorld paper discusses the reward decisions as follows:

Designing reward functions for Meta-World requires two major considerations. First, to guarantee
that our tasks are within the reach of current single-task reinforcement learning algorithms, which
is a prerequisite for evaluating multi-task and meta-RL algorithms, we design well-shaped reward
functions for each task that make each of the tasks at least individually solvable. More importantly,
the reward functions must exhibit shared structure across tasks. Critically, even if the reward function admits the same optimal policy for multiple tasks, varying reward scales or structures can make
the tasks appear completely distinct for the learning algorithm, masking their shared structure and
leading to preferences for tasks with high-magnitude rewards [8].

Looking at the MT10/ML10 benchmarks, it seems to me that the current reward structure is unnecessarily complicated to achieve the above-mentioned properties. First, the rewards/returns for nearly all these tasks are extremely large, making it difficult for the standard RL algorithms (e.g. SAC) to solve the tasks in single-task setting. For example, in reach-v1, the maximum reward is in the order of thousands and the maximum return in the order of hundreds of thousands. Obviously, this can be overcome by tweaking the learning rates and other algorithm hyperparameters, but that seems overly complicated given that the goal of these tasks is to provide a unified benchmark for meta/multi-task learning. Secondly, the rewards/returns across tasks are wildly different. With the scripted policies, for example, the returns for window-{open,close}-v1 environments are less than 100, compared to the hundreds of thousands for reach-v1.
I ran a subset of MT10/ML10 tasks with a simple negative-distance rewards that are scaled between [0, 1] and SAC solves 8/10 tasks with 100% success rate within ~100k steps, and for example reach-v1 only takes 15k steps to solve. Even the two harder tasks I ran, pick-place-v1 and peg-insert-side-v1, could be solved with 100% success rate in just a couple of hundred steps with SAC with default hyperparameters. These improvements are not fully due to changes in the reward structure though, since I also had some additional information in the observation to make the environment Markovian (see #224). However, even without the augmented observations, for example, reach-v1 can be solved an order of magnitude faster with the linear reward. I can report more detailed results here once I've managed to decouple the effect of the full observability and reward structure. In the meanwhile, I'd be curious to hear if you all observed some different behavior that lead to such complicated rewards? Or maybe there's something I'm completely missing here? If so, apologies for the noise.

Hi @hartikainen thanks for checking out Metaworld and providing us with such detailed feedback!
I agree that the reward functions contain the bulk of the issue that you have described. In the MTSAC implementation that I wrote in our sister repo, Garage, we found that just by normalizing rewards to fall between 0 and 1 (not using negative distance) vastly improved our agents performance.
I am actually in the process of rewriting many of our reward functions to address this and #224 to apply them to our v2 environments, which are apart of the public codebase, but are not included as a part of any of the benchmarks yet. We plan to release them soon, sometime later this year.
Perhaps @ryanjulian can comment further.
Thanks!
Avnish


Update README logo.

Use TensorFlow 2.0 logo.
Use transparent instead of white background.
Remove plus symbol.

Check out the logo here and the README here.

The new size really doesn't look nice because it's too large and broke the original near golden-ratio placement: the original ratio between the width of visible logo and the visual text width. For optimizing visual perception, please make sure the new logo matches the exact visible width of the old logo.

Sorry, that was a WIP commit, not ready for review.
I've reverted it, please ignore that overly tall image.

Current status: the logo is high resolution (large) and manually scaled down using the HTML height attribute.
Unfortunately, this doesn't preserve aspect ratio on small screens:

Possible solutions:

Recommend: use a smaller logo image (that's sufficiently high-res) with the exact desired height and don't resize it. This is how the current logo works. I tried to downsize the new logo in this patch but it became too low-res.
Find some other way to resize large images while preserving aspect ratio. I'm not sure this is possible with GitHub Markdown because style attributes are erased.

@markdaoust: I believe you helped us create the original Swift for TensorFlow logo. I wonder if you could please help create a new one, updated with the TF 2.0 logo?

I didn't make the original. Would switcing to svg solve some of these problems?
https://upload.wikimedia.org/wikipedia/commons/2/20/Swift_logo_with_text.svg
https://drive.google.com/open?id=1URqDzFmnPFOQmVXWqEoMGVho3J-_6k3k

I didn't make the original. Would switcing to svg solve some of these problems?
https://upload.wikimedia.org/wikipedia/commons/2/20/Swift_logo_with_text.svg
https://drive.google.com/open?id=1URqDzFmnPFOQmVXWqEoMGVho3J-_6k3k

Thanks for sharing! SVG would be awesome - I don't have photo editing software to stitch together the two SVGs though.

Closing in favor of https://github.com/tensorflow/swift/pull/302.


Year Archive Layout

Hi Michael,
I apologize in advance if this is the wrong place to ask you a question.  This may not even be an issue with your code. I'm very new so please excuse me.
I've forked your theme and am trying to configure an archive page based on your year-archive.html code. However, the year shows up as
2016
(when previewing this, it shows up properly. I'm guessing I'm missing an include?
The page I'm working on is listed here
Any help would be appreciated. Thank you!

What's going on is Markdown is parsing the indents in the code and turning them into code blocks. You have two ways of getting around this.
1. If you want to stick with a .md file then remove the indents so you have something like this following. It's not as easy to read but it gets the job done.

There's a [hot debate as to whether to use the word "Archive" or "Archives"](https://www.robincamille.com/2011-09-09-archive-vs-archives-internet-vs-internet/) - yeah, I'm not touching that! So instead, here we have all the things!

{% include base_path %}
{% capture written_year %}'None'{% endcapture %}
{% for post in site.posts %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% if year != written_year %}

{{ year }}

{% capture written_year %}{{ year }}{% endcapture %}
{% endif %}
{% include archive-single.html %}
{% endfor %}

2. Rename your file to .html. If you have any Markdown you want to convert either rewrite it in HTML or use some Liquid capture tags to get the string, the spit it back out with the markdownify filter.

{% capture text-string-1 %}There's a [hot debate as to whether to use the word "Archive" or "Archives"](https://www.robincamille.com/2011-09-09-archive-vs-archives-internet-vs-internet/) - yeah, I'm not touching that! So instead, here we have all the things!{% endcapture %}

{{ text-string-1 | markdownify }}

{% include base_path %}
{% capture written_year %}'None'{% endcapture %}
{% for post in site.posts %}
  {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
  {% if year != written_year %}

{{ year }}

    {% capture written_year %}{{ year }}{% endcapture %}
  {% endif %}
  {% include archive-single.html %}
{% endfor %}

That makes sense now that you reminded me about the indents. I should've
figured that out! Thanks much for the help.
Michael Rose wrote:

What's going on is Markdown is parsing the indents in the code and
turning them into code blocks. You have two ways of getting around this.
1. If you want to stick with a |.md| file then remove the indents so
you have something like this following. It's not as easy to read but it
gets the job done.

There's a hot debate as to whether to use the word "Archive" or "Archives" - yeah, I'm not touching that! So instead, here we have all the things!
{% include base_path %}
{% capture written_year %}'None'{% endcapture %}
{% for post in site.posts %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% if year != written_year %}
{{ year }}
{% capture written_year %}{{ year }}{% endcapture %}
{% endif %}
{% include archive-single.html %}
{% endfor %}
2. Rename your file to |.html|. If you have any Markdown you want to
convert either rewrite it in HTML or use some Liquid capture tags to get
the string, the spit it back out with the |markdownify| filter.

{% capture text-string-1 %}There's a hot debate as to whether to use the word "Archive" or "Archives" - yeah, I'm not touching that! So instead, here we have all the things!{% endcapture %}
{{ text-string-1 | markdownify }}
{% include base_path %}
{% capture written_year %}'None'{% endcapture %}
{% for post in site.posts %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% if year != written_year %}
{{ year }}
{% capture written_year %}{{ year }}{% endcapture %}
{% endif %}
{% include archive-single.html %}
{% endfor %}
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/mmistakes/minimal-mistakes/issues/278#issuecomment-212054346

--
Will Smith
<EMAIL_ADDRESS>| wismit.com


Create a container that run the Neo-Sharp with Remote-debugging active

This will help the developers to debug a node in production environment.
Some documentation about Remote-Debugging:

https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2017
https://stackoverflow.com/questions/42975570/remote-deploy-debug-visual-studio-2017-net-core
https://www.youtube.com/watch?v=UTRyfRmqJTk
https://www.youtube.com/watch?v=2-Dt8521Ixk

I take this

-= Assigned to nunojusto =-


[[FIX]] Do not crash on improper use of delete

This should resolve gh-2168
Commit message:

In valid JavaScript code, when the delete token is parsed as a prefix,
it will be followed by an expression of some kind. Invalid code may
include any sequence of characters after the delete token, and JSHint
should be capable of gracefully warning about the syntax error.
Avoid crashing in cases where the delete appears as a "prefix" token
but is not followed by an expression.

Coverage increased (+0.0%) to 95.5% when pulling c979afb1fe47efa267c9e4cda3238b2a86320cf4 on jugglinmike:fix-delete-crash into 69b318788de03623b5750079dad449f8fceddf9e on jshint:master.

Coverage increased (+0.0%) to 95.53% when pulling 35df49f867303293008128cf0e193d937109305d on jugglinmike:fix-delete-crash into bfcc86d6e51f53ae1e05cfdd33618e9bc0a9a957 on jshint:master.

Coverage increased (+0.0%) to 95.53% when pulling 35df49f867303293008128cf0e193d937109305d on jugglinmike:fix-delete-crash into bfcc86d6e51f53ae1e05cfdd33618e9bc0a9a957 on jshint:master.


Update self.appInfos in create/destroyApp()

This resolves #184

You can merge this PR, now! @kangz12345

@BECATRUE Please check this again as I resolved a merge conflict.


Added missing customer detail

Codecov Report

Merging #81 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #81   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          16     16
  Lines         476    476
=====================================
  Hits          476    476

Impacted Files
Coverage Δ

customer.go
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


docs(@angular/cli): document serving the app from disk

Closes #4290

@johnpapa & @filipesilva this has been updated with the suggestions


Consider I Object Translation in Type Definitions

Motivation/Description of the PR
Running codecptjs with translated I object in typescript resulting in a type error because the translated object is not available in the type definition file.
This PR solves this by considering the translations for the I object.
As I could not get detox run on my mac I did not add tests. Detox seems to be required for testing the def command.
This may be related to #3007. I could find no other issues than this typing bug.
Applicable helpers:

[ ] WebDriver
[ ] Puppeteer
[ ] Nightmare
[ ] REST
[ ] FileHelper
[ ] Appium
[ ] Protractor
[ ] TestCafe
[ ] Playwright

Applicable plugins:

[ ] allure
[ ] autoDelay
[ ] autoLogin
[ ] customLocator
[ ] pauseOnFail
[ ] coverage
[ ] retryFailedStep
[ ] screenshotOnFail
[ ] selenoid
[ ] stepByStepReport
[ ] stepTimeout
[ ] wdio
[ ] subtitles

Type of change

[ ] :fire: Breaking changes
[ ] :rocket: New functionality
[x] :bug: Bug fix
[ ] :clipboard: Documentation changes/updates
[ ] :hotsprings: Hot fix
[ ] :hammer: Markdown files fix - not related to source code
[ ] :nail_care: Polish code

Checklist:

[ ] Tests have been added
[ ] Documentation has been added (Run npm run docs)
[ ] Lint checking (Run npm run lint)
[ ] Local tests are passed (Run npm test)

hey @dwentland24 perhaps we need to change this actor I here as well
https://github.com/codeceptjs/CodeceptJS/blob/df29be946f1026b8d0ca5bd11d3a78d1c0095562/lib/command/definitions.js#L98

Thanks @PeterNgTr and @dwentland24
I updated this locally and will provide an alternative fix to generate all types for all translated classes.