Output to a text file

As the command for F6, I put as:
python.exe "{file}" > output.txt
There is an empty text file "output.txt" created in the current directory. Output of the given input is displayed right away in the command prompt but not in the wanted file. Kindly tell me if I am missing something here.
Great work btw

In current version, the command cmd /c start cp python {file} > output.txt runs finally.
So the output of cmd /c (or start, not affecting output.txt to be empty) will be redirected to output.txt, which is empty, and python {file} runs seperately.
I tried several ways, and found that it seems the current version cannot do that for you. I feel sorry about that.
As a matter of fact, this is my first node.js project. I used too many wrappers to run this simple command. There are no surprises of all sorts of bugs or errors.
Thanks for your issue, and I see it. I am working on new versions and this problem could possibly be solved in next version.

This was added in version 0.8.0.
Go to settings in Atom with ctrl + ,
In the left pane, where it says Core, Editor, etc... select Packages
Look for atom-python-run and click Settings

Modify one of the default hotkeys (either F5 or F6).
from -> Default: python {file}
to -> -p '/path/to/output/file.name' '>' python {file}
and it should work.
The symbols for output are

'>' stdout to truncated file.name
'>>' append stdout to file.name
'&>' stdout and stderr to truncated file.name

Actually I failed in testing this feature.
My commands: -p 'output.txt' '>' python {file}
It shows a messagebox saying something like  Windows cannot find the file '-p'
And cp.log does not change (or created if it doe not exists).
In the v0.8.0, I will get a better error (failed in cp/main.py) but it is not working still.

it's still experimental. we'll figure it out. let me know if you come up with anything.

Cannot find the file is mainly because I checked don't use cp...
Maybe I can make it always call cp but select its behavior.
However, when I turned it off, it still fails...
I suppose the character > is parsed as a file redirection notation in child_process.spawn or cmd /c.
And if I replace the character > with a letter like r, it will be correctly passed into cp.
I offer a thinking that you can use -p for >, -a for >> and so on, instead of using -p + > / >> to distinguish them.
Moreover, I am thinking that if we don't use start or even cmd /c start we can direct the output just by the simplist > in command line, and child_proces.spawn has a option shell to open it with a window as I mentioned before.
Command = -p 'output.txt' '>' python {file}
cp.log =
INFO: OS Type: win32
INFO: Version Info: v0.0.10
DEBUG: check_args(): index 0: arg: C:\Users\Infinity\.atom\packages\atom-python-run\cp\main.py
DEBUG: check_args(): index 1: arg: -p
DEBUG: check_args(): index 2: arg: 'output.txt'
DEBUG: check_args(): index 3: arg: '
DEBUG: check_args(): index 4: arg: python
DEBUG: check_args(): index 5: arg: C:\Users\Infinity\Desktop\hello.py
DEBUG: get_arg(): current argument: -p
DEBUG: shift(): index is now 1
DEBUG: get_arg(): current argument: 'output.txt'
DEBUG: shift(): index is now 2
DEBUG: get_arg(): current argument: '
ERROR: IndexError: invalid pipe symbol type: ['>', '>>', '&>', '&']

something you should keep in mind is that when I made the -p (pipe) option, it was constructed to with os.system in mind; not subprocess.call.
os.system takes a single string, exactly like C/C++. I concatenated the arguments and then passed them to os.system as a single string.
subprocess.call takes a list of arguments. not a single string. it behaves a lot like child_process.spawn, not os.system. so when you changed it from system to call, it affected the way the arguments are processed.
piping output or input is typically a command line utility feature which is why i constructed it with os.system and not subprocess.call.
cplib.set_command does the work of translating the namespace to a single list.
luckily, you don't really have to change too much. parse.Parser would just need a small tweak to compensate for any changes since it manages the sys.argv parsing.
aside from that, you have to figure out how to grab the output and either write it to a file or figure out how use call to pipe it for you considering it has stdin, stdout, and stderr parameters.
the easiest way to grab the output from the executed process would be to execute subprocess.check_output in place of call.
source: subprocess.check_output
Considering the implications it might be best to just use popen instead of call or check_output.
source: subprocess.Popen
i'm sick right now, so i can barely focus on anything. when i'm feeling better, i might take a closer look.

I'm really bored from just laying around from being sick, so I dug in to it and found a fairly simple way to do it.
first off, we can keep subprocess.call. leave shell=False as is. it's a security risk otherwise. technically this entire plugin is a security risk; however, that's another discussion for another time.
we'll need to tweak cp.parse so that it doesn't look for a pipe symbol anymore; rather it looks for what you suggested. -s for stdout, -a for append stdout, and -e for stdout and stderr or something along those lines. however, we still need to ask for a path and filename to write to.
so instead of using
-p 'output.txt' '>' python {file}
we can just do this instead
-s '/path/to/output.txt' python {file}
when piping is true, we can open a file under the given path and filename.
if namespace.pipe is True:
    with open(filename, 'w') as f:
        call(command, stdout=f, stderr=f)
        f.close

it will then write stdout and stderr to the given filename.
the code i used to test this was in my Windows Subsystem for Linux (WSL) on Win 10.
list directory contents
$ ls -l
total 9
drwxrwxrwx 0 th3ros th3ros 4096 Jul 25 18:43 bin
drwxrwxrwx 0 th3ros th3ros 4096 Jul 25 18:41 documents
-rw-rw-rw- 1 th3ros th3ros  123 Jul 31 21:49 example.log
-rwxrwxrwx 1 th3ros th3ros  534 Jul 25 18:45 setup.sh
lrwxrwxrwx 1 th3ros th3ros   19 Jul 27 21:41 windows -> /mnt/c/Users/Austin

concatenate example.log to stdout
$ cat example.log
DEBUG:root:Debug: This message should go to the log file
INFO:root:Info: So should this
WARNING:root:Warning: And this too

enter python and test and compare subprocess.call output to previous output
$ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> subprocess.call(['ls', '-l'])
total 9
drwxrwxrwx 0 th3ros th3ros 4096 Jul 25 18:43 bin
drwxrwxrwx 0 th3ros th3ros 4096 Jul 25 18:41 documents
-rw-rw-rw- 1 th3ros th3ros  123 Jul 31 21:49 example.log
-rwxrwxrwx 1 th3ros th3ros  534 Jul 25 18:45 setup.sh
lrwxrwxrwx 1 th3ros th3ros   19 Jul 27 21:41 windows -> /mnt/c/Users/Austin
0
>>> subprocess.call(['cat', 'example.log'])
DEBUG:root:Debug: This message should go to the log file
INFO:root:Info: So should this
WARNING:root:Warning: And this too
0

we can see the output is the same. the 0 at the end is just call's return code.
now, this is where things get interesting.
we need a file to write to first. and then we need to write (or pipe) the output to that file.
>>> f = open('example.txt', 'w')
>>> f
<open file 'example.txt', mode 'w' at 0x7fff2100f660>
>>> subprocess.call(['ls','-l'], stdout=f)
0
>>> f.close()
>>> f
<closed file 'example.txt', mode 'w' at 0x7fff2100f660>
>>> subprocess.call(['cat','example.txt'])
total 9
drwxrwxrwx 0 th3ros th3ros 4096 Jul 25 18:43 bin
drwxrwxrwx 0 th3ros th3ros 4096 Jul 25 18:41 documents
-rw-rw-rw- 1 th3ros th3ros  123 Jul 31 21:49 example.log
-rw-rw-rw- 1 th3ros th3ros    0 Aug 10 16:25 example.txt
-rwxrwxrwx 1 th3ros th3ros  534 Jul 25 18:45 setup.sh
lrwxrwxrwx 1 th3ros th3ros   19 Jul 27 21:41 windows -> /mnt/c/Users/Austin
0
>>>

as you can see, it does pretty much what we would expect. all we have to do is implement this behavior.
i have a date with some saline solution, soup, and my bed; so i'll catch you later.

It's ok, we can stop for a while, wish you getting better soon.

The patch has been pushed upstream and is now available. It should work as expected now with the Prepare 0.9.2 release.


ShowConversationAsTree vs. ConversationSortOrder

From the descriptions it seems that the these parameters have redundant functionality: Both have an impact on how messages are sorted in the reading pane:

ShowConversationAsTree
ConversationSortOrder

ConversationSortOrder seems to provide more options. However to me it is unclear if/how these two parameters interact.
thanks for clearification
Pirmin

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

ID: 36d9fd24-705e-4fa4-7ab0-9c35c31b013e
Version Independent ID: 9cab50c8-7f41-40e2-ae3f-1be6ae94b28e
Content: Set-MailboxMessageConfiguration (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/Set-MailboxMessageConfiguration.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@pirminf, this is likely the same as the View options in Outlook:

ShowConversationAsTree corresponds to Show as Conversations: The first message is farthest to the left, then replies are indented to the right below that first message:

ConversationSortOrder likely controls how the individual conversations (the parent or "left-most" messages) sort.

I can see the confusion due to the presence of the Tree value for ConversationSortOrder. Tree likely means newest tree on top, as opposed to TreeNewestOnBottom.
I've used Outlook for a long time, and the combinations of View settings was always hit and miss and required a lot of experimentation.

Closing due to lack of response.
Thanks for the feedback.


Fixed facility store name (#323)

Related Issues

#323
Short Description and Why It's Useful

The issue was resolved by displaying the productStoreId as a fallback when the store name is missing, ensuring no empty list items appear.
Screenshots of Visual Changes before/after (If There Are Any)

Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

The issue was resolved by displaying the productStoreId as a fallback when the store name is missing, ensuring no empty list items appear.


[SPARK-23639][SQL]Obtain token before init metastore client in SparkSQL CLI

What changes were proposed in this pull request?
In SparkSQLCLI, SessionState generates before SparkContext instantiating. When we use --proxy-user to impersonate, it's unable to initializing a metastore client to talk to the secured metastore for no kerberos ticket.
This PR use real user ugi to obtain token for owner before talking to kerberized metastore.
How was this patch tested?
Manually verified with kerberized hive metasotre / hdfs.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1426/
Test PASSed.

Merged build finished. Test PASSed.

cc @cloud-fan

Test build #88122 has started for PR 20784 at commit 2011ef2.

Test build #88122 has finished for PR 20784 at commit 2011ef2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88122/
Test PASSed.

Merged build finished. Test PASSed.

Which cluster manager are you using? This should be completely unnecessary in YARN and Mesos, and standalone in general does not support kerberos.

yarn @vanzin

Test build #88612 has started for PR 20784 at commit 4063855.

Test build #88612 has finished for PR 20784 at commit 4063855.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88612/
Test FAILed.

Test build #88613 has started for PR 20784 at commit ba6b086.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1771/
Test PASSed.

Merged build finished. Test PASSed.

Test build #88615 has started for PR 20784 at commit 5c4335b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1772/
Test PASSed.

cc @jerryshao

Test build #88617 has started for PR 20784 at commit 1e38840.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1774/
Test PASSed.

Test build #88613 has finished for PR 20784 at commit ba6b086.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88613/
Test PASSed.

Test build #88615 has finished for PR 20784 at commit 5c4335b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88615/
Test PASSed.

Merged build finished. Test PASSed.

Test build #88617 has finished for PR 20784 at commit 1e38840.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88617/
Test FAILed.

retest this please

Test build #88620 has started for PR 20784 at commit 1e38840.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1777/
Test PASSed.

Test build #88620 has finished for PR 20784 at commit 1e38840.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88620/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1782/
Test PASSed.

Test build #88624 has started for PR 20784 at commit 1e38840.

Test build #88624 has finished for PR 20784 at commit 1e38840.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88624/
Test FAILed.

Test build #88647 has started for PR 20784 at commit cd8056c.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1791/
Test PASSed.

Test build #88647 has finished for PR 20784 at commit cd8056c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88647/
Test FAILed.

LGTM. retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1813/
Test PASSed.

Test build #88680 has started for PR 20784 at commit cd8056c.

Test build #88680 has finished for PR 20784 at commit cd8056c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88680/
Test PASSed.

Merging to master / 2.3.


Fix:  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default

Quick/simple fix for:
$ cmake ..
-- The C compiler identification is AppleClang <IP_ADDRESS>20042
-- The CXX compiler identification is AppleClang <IP_ADDRESS>20042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
--help-policy CMP0042" for policy details.  Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
sodiumpp
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Generating done

Seems to be working fine, thanks for the PR!


Unable to build with rust 1.65 - error[E0658]: custom discriminant values are not allowed in enums with tuple or struct variants

Attempting to build sevctl on Ubuntu 22.04 distro fails with:
$ cargo build
   Compiling env_logger v0.10.0
   Compiling x509-parser v0.14.0
   Compiling sev v1.2.0
error[E0658]: custom discriminant values are not allowed in enums with tuple or struct variants
   --> /home/azureuser/.cargo/registry/src/github.com-1ecc6299db9ec823/sev-1.2.0/src/error.rs:366:20
    |
271 |     IoError(io::Error),
    |     ------------------ tuple variant defined here
...
366 |     RbModeExited = 0x001F, // 0x001F
    |                    ^^^^^^ disallowed custom discriminant
...
369 |     RMPInitRequired = 0x0020, // 0x0020
    |                       ^^^^^^ disallowed custom discriminant
    |
    = note: see issue #60553 <https://github.com/rust-lang/rust/issues/60553> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `sev` due to previous error
warning: build failed, waiting for other jobs to finish...

This is the OS info:
$ rustc --version
rustc 1.65.0
$ cargo --version
cargo 1.65.0
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

IIUC, the error indicates sev is relying on a fairly new rust language feature which feels undesirable, when even the relatively modern Ubuntu 22.04 LTS release can't cope with it.

I'm surprised this is disallowed, setting discriminate values for enums?
I guess a workaround we could do is remove the custom discriminant from the enum:
pub enum IoError {
    ..snip..
    RbModeExited,
    ...snip..
}

and then for finding this value, we impl the TryInto trait for the enum.
impl TryInto<usize> for IoError {
    type Error = _;

    fn try_into(self) -> Result<usize> {
        match self {
             ..snip..
             IoError::RbModeExited => Ok(0x001F),
             ..snip..
    }
}

@larrydewey what do you think?

@larrydewey Why are the enum values of RbModeExited and RMPInitRequired set explicitly? They're the only two treated like this in the Error enum
https://github.com/virtee/sev/blob/a5c9eb231cea1a1233e57b6e34a1bdd05809e364/src/error.rs#L268-L391

@larrydewey Why are the enum values of RbModeExited and RMPInitRequired set explicitly? They're the only two treated like this in the Error enum
https://github.com/virtee/sev/blob/a5c9eb231cea1a1233e57b6e34a1bdd05809e364/src/error.rs#L268-L391

We are manually setting the discriminant because we are skipping 0x1E. I don't believe there is a known status for the value of 0x1E at this point, so we could set a reserved field here to make sure RbModeExited is assigned the correct enumeration value, but if one gets added in the future we would obviously need to account for that and adjust.

@larrydewey Thanks. Yes, we could just have Error::Reserved and leave a note that it's just a placeholder and shouldn't be used. Either that, or we go with a newer (>= 1.66) Rust version as a minimum. As major OSes like Ubuntu are not even caught up with that version number yet, I don't think that's the way to go, and can lead to more headaches down the line.

Per here, can you try updating the rust package on 22.04 and seeing if this fixes the issue?

Ubuntu pushed out a security update to patch to Rust version 1.66.1. We have merged a PR which sets the Rust minimum version to this. @berrange feel free to re-open if you have any concerns.


Supported event list?

On http://gionkunz.github.io/chartist-js/api-documentation.html#chartistbase-function-on it says:
event ( String ) Name of the event. Check the examples for supported events.
Is it possible to have a list of all events being listed out here instead of checking out each example one y one?

You can use a wildcard callback. When you do chart.on('*', cb) where cb is of signature function(eventName, data)
Cheers
gion

@gionkunz I mean, we need a documentation which lists out all available event names that we can use.

Ah sorry :-) I misunderstood your question. Of course, we need to document the events! I thought about creating even a separate page for this with introduction, event list and examples. This should be tracked here #90

I'll close this in favor of #90


Auto scoop cleanup

Description of the new feature / enhancement
When updating scoop packages, older versions of the packages are not overwritten nor deleted, so you end up with multiple versions of the same package (for example I had 10 versions of llvm, 25gb in total).
The command scoop cleanup llvm deletes every old version the package (I have used llvm as an example, it can be used with any other package), or as an alternative scoop cleanup * deletes every old version of every package. I think it would be nice to have an option in the scoop preferences to auto perform a cleanup every time an app it's instaled.
Proposed technical implementation details
No response

I think you meant to post this at https://github.com/ScoopInstaller/Scoop rather than WinGet.


Changed 4th Blog title on blog-sidebar-right.html

This has conflicts. Will close now & try again next time.  Make your commits longer so you avoid this.
Combine 3-4 sentences all in 1 commit together.


Add Support HTML -> PDF

https://github.com/zzossig/hugo-theme-zzo/issues/146#issuecomment-583754803

@brimwats
I'll move this issue to the zzo-bibtex-parser project.
I can't include the heavy library for this theme.
So, we can make the pdf file in python, not in the browser.

?That's a great idea and point!!

WAIT!
we have an option for that :)
check the website i made using Hugo (for paged.js, the lib that let you print and make PDF from HTML : https://www.pagedjs.org
you got a button top right on this page to set up the preview. Once it’s done, you only need to print from the browser, and you’re all set. Browser side printin as it should be :)
http://localhost:1313/posts/2020-02-18-return-from-prague-the-future-of-web-to-print/
Tell me if you think that would help you as i try to make it reusable inside hugo.

This looks very nice! It would be great if there was a button for pint (done) and a button to automatically get a pdf. But it works exactly like I'd imagine, and looks very nice. How hard is it go add to a theme in hugo?

From: julientaq<EMAIL_ADDRESS>Sent: Tuesday, February 18, 2020 2:53 PM
To: zzossig/hugo-theme-zzo
Cc: Watson, Brian; Mention
Subject: Re: [zzossig/hugo-theme-zzo] Add Support HTML -> PDF (#151)
WAIT!
we have an option for that :)
check the website i made using Hugo (for paged.js, the lib that let you print and make PDF from HTML : https://www.pagedjs.org
you got a button top right on this page to set up the preview. Once it's done, you only need to print from the browser, and you're all set. Browser side printin as it should be :)
http://localhost:1313/posts/2020-02-18-return-from-prague-the-future-of-web-to-print/
Tell me if you think that would help you as i try to make it reusable inside hugo.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/zzossig/hugo-theme-zzo/issues/151?email_source=notifications&email_token=ALWUBRUTBKQRHQCIPHWLQADRDQ4CZA5CNFSM4KR34AMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMED2EY#issuecomment-587742483, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALWUBRRBYCFUJVTYZ2YCZU3RDQ4CZANCNFSM4KR34AMA.

Not that much hard. But the goal would be that you add a git submodule, a couple of info in the config and add the button in the template you’d like.
i’ll be workin on it asap.

Hey folks, wanna try it out for me?
Still pretty experimental, but i’d love to have your thoughts.
https://gitlab.pagedmedia.org/julientaq/pagedjs-hugo
If you follow the readme, you’ll get a print button that you can add to any page as part of the template. next step is to add a configurable option in the front matter to show it or not :)


Test01

Fixes:

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Hi, it looks like you're still learning Git and maybe opened this PR by mistake?
Check out our GitHub guide and the rest of our contributing guidelines if you need help figuring out how to contribute.


Profile DIIPV3 Discover, GET for Over18 is not correct format

it is in ldp_vc, it should sd-jwt
call should be https://issuer.talao.co/ai/over18?vc_format=vc_sd_jwt

@bibash28 we have to issues in _getCredentialByAI:

vc format is not append to the url used for the call (format_vc=....)
after the post we consider it's a json but with vc+sd-jwt we get a jwk which cause an error when we try jsonDecode


Resetting properties of a CCNode when accessing it in CCLabel

I am working with CCLabel
this.Label = new CCLabel (str, "arial", 150, CCLabelFormat.SpriteFont);
Everything works fine, but as soon as I access any CCNode of that label, so
var letter = this.Label[0]
the accessed letter then appears white and on some devices displaced.
I can reset the color afterwards manually.
Seems there is a reset problem when accessing the single CCNodes inside a CCLabel.

@Heikofant
This is as designed.  If you want the color to be the same what you need to do is set the label's Cascaded properties IsColorCascaded and/or IsOpacityCascaded.
Once the sprite of the corresponding letter it is obtained it is then under the developers control to do with as the developer sees fit.

The main thing is not about the color, it is about the character displacement.
As soon as I accessed a single character of the label, that character gets displaced on many devices.
By displacing I mean a change in the actual size which I can't fix.

@Heikofant
Can you create a new issue with that specific problem and attach a sample project because in my tests I am not seeing that.


implement data from 7timer

cloud cover, astro seeing/transparency, precipitation type and amount for given coordinates

cloud cover, astro seeing/transparency, precipitation type and amount for given coordinates

changed to weatherAPI, completed initial axios get request integration


feat(Tile): Reduce nesting

Reduced nesting  to max level 3 in Tile by creating separate mixins for sections.
Renamed classes to include a .iui-tile- prefix:

.iui-tile-more-options
.iui-tile-metadata
.iui-tile-metadata-icon
.iui-tile-name
.iui-tile-description

It would be great to change classes in React ASAP when released.


The predict is always Upstairs.

Hi
I tried to run the dome.
No matter how I moves, the result is always upstairs. Am I missing something?

Provided model is just for demonstration purpose and not optimized for real-life use.


Annotate command not added to root command handler

Describe the bug
The annotate command had been merged but not added to the root command handler thus making it unavailble.
To Reproduce
Steps to reproduce the behavior:

Try execute an annotate command

Expected behavior
The matching images should receive an annotation.
Screenshots

Any relevant environment information

OS: Linux
Version 0.12

It can be seen in the root handler for the CLI: https://github.com/Azure/acr-cli/blob/main/cmd/acr/root.go#L45
that the annotate command is not part of the cli.

If you pass env ACR_EXPERIMENTAL_ANNOTATE=true, you should be able to see the command. For example,
docker run -it -e ACR_EXPERIMENTAL_ANNOTATE=true mcr.microsoft.com/acr/acr-cli: 0.12 annotate


Disable/set autosave when saving to device

When saving to the device I'm constantly waiting for the auto save to finish while frozen. It would be nice if I could just edit the time for auto save in settings

Is this related to desktop app?
What is your version and which OS/OS version

I'm having the same issue -- running the Windows 10 desktop version -- autosave seems to be triggering on every change to the document, and takes 5-10 each save.

We cannot reproduce. Autosave indeed is triggered with every change and takes few seconds BUT we still can use the app and we couldn't reproduce the freeze issue.
Please, explain the exact environment (OS version, architecture, app version, ...)

Same, running on macOS Catalina 10.15.5 with draw.io desktop app 13.3.1.
Working on a large diagram save takes ~3-4s and app is frozen in the meantime (e.g. can't move objects, edit text etc).
I' be happier with an option to set autosave frequency so I could do it every few mins.

@mjs2020 I ending up ditching the desktop app and using the browser based version.

@ashrafteleb I am running Microsoft Windows [Version 10.0.19041.329] and was using draw.io desktop app version 12.9.3

Actually there is an option to disable autosave in the right sidebar (the header will then show "Last saved X minutes ago"). This is good enough for me.

@chuck11001 @mjs2020 We have started using a separate thread for saving + async calls to filesystem (from v13.2.2), which was supposed to offload the ui thread.
Unfortunately, I couldn't reproduce and did that improvement based on guessing. If possible, can you share any file that causes this issue to you?

@ashrafteleb sorry I cannot due to work restrictions. It was a diagram with 10+ layers, 120+ shapes, 300+ links between the shapes, 100+ of the shapes were custom based on .svg import from Adobe Illustrator.

@ashrafteleb work file for me as well but I can remove some data and share privately with you to reproduce.

@mjs2020 Yes please, you can send to this email<EMAIL_ADDRESS>Thanks

I've installed v13.3.5 and no longer have had the issue so far. Thanks @ashrafteleb for looking into this.

I was referring to the desktop app but have not experienced it lately. Will close for now.

I am experiencing this same issue using both the web version or desktop app. I chose to save my diagram to my device (e.g. ~/diagram.drawio) and any time I make a change, the application freezes while it is (I assume) writing the file to disk. If I disable autosave the issue goes away.
I'm using Google Chrome 108.0.5359.124 on Ubuntu 20.04.


Not compatible with Kicad 5,1,10 on MacOS BigSur

Hi
Tried this plugin on MacOS Big Sur.
It doesn't load  : I tried to print full stack on python console, it seems that the default python version on MacOS BigSur is still Python 2.7.16, and the script uses some Python 3 syntax.
Can this script be fixed to run on Python 2.7, or can you provide some guidelines to make Kicad run with python 3 ?

it seems that KiCad will go with python 3 with the upcoming version 6 on MacOS, but i couldn't find any guides how to do it with 5.x. i don't have any machines running MacOS so i don't know/don't have a way to test a way to make it work nonetheless.

I tinkered it a bit. It seems that the print formatting features are not compatible.
Also, Pathlib seems to be missing.
By the way, it seems that JLCPCB wants part's middle coordinates, but those provided are corner's one.
It might be possible to get module center instead of corner ?

oh did they change it again? i'll look at it and i'll try push a fix in the coming days.


Angular 4 table choices

We are considering migrate to Angular 4 for back-office. There are some choices for data table

https://github.com/valor-software/ng2-table. The UI look good but seem not up to date
https://github.com/swimlane/ngx-datatable. The most popular but, haven't figure out how to filter by multiple columns
https://github.com/akveo/ng2-smart-table. Not official smart table for angular 2
https://github.com/andyperlitch/ngx-super-table. Look promising

How about the data-table from Angular Material as https://material.angular.io/components/table/overview?

looking nice. Thank @sau-lanvy


PKE/AWS: volume size selection

Q
A

Bug fix?
yes

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
fixes #3006

License
Apache 2.0

What's in this PR?
Allow API user to set explicit volume size for each node pool, or choose the bigger from the AMI image size and 50GB.
Why?

It was always 50GB
You couldn't run AMI images bigger than that

Additional context
Checklist

[x] Implementation tested (with at least one cloud provider)
[x] Code meets the Developer Guide
[x] OpenAPI and Postman files updated (if needed)
[ ] User guide and development docs updated (if needed)

To Do
Todo: make the minimum size (50GB) configurable.

Regarding the aggregation of the individual image and volume related activities I'm not sure whether they can all be handled as part of the image selection

I think they are rather belong together in a default selection "activity", but they can actually be separate activities, extracted to a function.

Regarding the aggregation of the individual image and volume related activities I'm not sure whether they can all be handled as part of the image selection

I think they are rather belong together in a default selection "activity", but they can actually be separate activities, extracted to a function.

do you mean to call activites from functions called in the workflow? i don't like the idea.

From private conversation:

Another thing: the AMI image is not propagated from the update request to the workflow so the volume size was not added either.
We should decide whether we want to handle this, record this or it's fine this way because we will throw out the update API with the further development of the nodepool update.

Adding it to the TODOs on the PR description

Regarding the aggregation of the individual image and volume related activities I'm not sure whether they can all be handled as part of the image selection

I think they are rather belong together in a default selection "activity", but they can actually be separate activities, extracted to a function.

do you mean to call activites from functions called in the workflow? i don't like the idea.

I do. Why not? That's a perfectly valid solution for reusing business logic.

Tested
<EMAIL_ADDRESS>(pkeaws-volume-size $ u=)
> aws --profile banzaicloud cloudformation describe-stacks --stack-name "pke-master-pregnor-local-200806-pipeline-3006-13"

# Begin: 2020-08-07T00:05:03.712+02:00

{
    "Stacks": [
        {
            "StackId": "arn:aws:cloudformation:eu-central-1:161831738826:stack/pke-master-pregnor-local-200806-pipeline-3006-13/e5c3d320-d82f-11ea-83d9-0ab33d325cd0",
            "StackName": "pke-master-pregnor-local-200806-pipeline-3006-13",
            "Description": "Master Node and SGs for Banzai Cloud Pipeline Kubernetes Engine",
            "Parameters": [
...
                {
                    "ParameterKey": "VolumeSize",
                    "ParameterValue": "100"
                }
...

# End: 2020-08-07T00:05:08.388+02:00
# Duration: 4s676ms
# Exit code: 0

<EMAIL_ADDRESS>(pkeaws-volume-size $ u=)
> aws --profile banzaicloud cloudformation describe-stacks --stack-name "pke-pool-pregnor-local-200806-pipeline-3006-13-worker-pool1"

# Begin: 2020-08-07T00:05:21.099+02:00

{
    "Stacks": [
        {
            "StackId": "arn:aws:cloudformation:eu-central-1:161831738826:stack/pke-pool-pregnor-local-200806-pipeline-3006-13-worker-pool1/36c7b930-d830-11ea-b8a6-0a78571d47e2",
            "StackName": "pke-pool-pregnor-local-200806-pipeline-3006-13-worker-pool1",
            "Description": "Worker Nodepool for Banzai Cloud Pipeline Kubernetes Engine",
            "Parameters": [
...
                {
                    "ParameterKey": "VolumeSize",
                    "ParameterValue": "100"
                }
...

# End: 2020-08-07T00:05:35.286+02:00
# Duration: 14s187ms
# Exit code: 0

<EMAIL_ADDRESS>(pkeaws-volume-size *$% u=)
> banzai cluster get pregnor-local-200806-pipeline-3006-16

# Begin: 2020-08-07T00:41:27.235+02:00

Id  Name                                   Distribution  Location      CreatorName  CreatedAt                  Status  StatusMessage
1   pregnor-local-200806-pipeline-3006-16  pke           eu-central-1  pregnor      2020-08-07T00:37:19+02:00  ERROR   specified volume size of 1GB for "c5.large" instance type using ami-0e342d72b12109f91 image is less than the AMI image size of 8GB; specified volume size of 1GB for "t2.small" instance type using ami-0e342d72b12109f91 image is less than the AMI image size of 8GB

# End: 2020-08-07T00:41:27.358+02:00
# Duration: 123ms
# Exit code: 0


add UserDataDir

hi, classic chromium.launchPersistent supports userDataDir, can you update your PlaywrightExtra.LaunchAsync and add userDataDir?

Hi. Yeah, already did :)
Just need to clean up and test it before upload.
Unfortunately, playwright is being jerk and not cleaning resources when context persistent between requests.
If you make like several thousands requests per context lifetime, you'd get massive memory leaks.
So i've left choice to user. Now you'll be able to run it with following scenarios:

launch incognito (as default was) with permanent context
launch incognito with new context per page (so when page is closed, context is disposed)
launch persistent (user data dir is considered) with permanent context
launch persistent with new context per page


Newsletter-323: translate into Chinese

Netlify is showing as failed, but it seems to have passed. @hulatown can you rebase this on master to trigger a new build?


Snapshots diff sometimes returns null side with older package

I have two snapshots, older one (_tcp-1440157930) and newer (_tcp-1440161185). Only difference between them is that newer snapshot contains package python-aptly 0.5.2
When I compare these snapshots, I always get null on the side of older snapshot:
$ curl http://localhost:8080/api/snapshots/_tcp-1440157930/diff/_tcp-1440161185
[{"Left":null,"Right":"Pall python-aptly 0.5.2 c0f4a0c3fc9e22c5"}]
$ curl http://localhost:8080/api/snapshots/_tcp-1440161185/diff/_tcp-1440157930
[{"Left":"Pall python-aptly 0.5.2 c0f4a0c3fc9e22c5","Right":null}]

So it seems that version comparison like 0.5.2 > 0.5 doesn't work.
Expected output would be:
[{"Left":"Pall python-aptly 0.5 f0dfd70e4a936c2f","Right":"Pall python-aptly 0.5.2 c0f4a0c3fc9e22c5"}]

This is how newer snapshot looks like:
$ curl -sss http://localhost:8080/api/snapshots/_tcp-1440161185/packages|json_pp|grep python-aptly|sort
   "Pall python-aptly 0.2.2 cbd9cf268ece7eb2",
   "Pall python-aptly 0.3.1 8142186f92d78d20",
   "Pall python-aptly 0.4.1 950bac934669ffac",
   "Pall python-aptly 0.4.2 984dd9ec9b30e4bf",
   "Pall python-aptly 0.4.3 dc6e6adee37a0486",
   "Pall python-aptly 0.4.4 d943dbd2a4bf39c9",
   "Pall python-aptly 0.4.6 98288a131f1b253b",
   "Pall python-aptly 0.4 864efe6993977f7f",
   "Pall python-aptly 0.5.2 c0f4a0c3fc9e22c5",
   "Pall python-aptly 0.5 f0dfd70e4a936c2f",

And the older one:
$ curl -sss http://localhost:8080/api/snapshots/_tcp-1440157930/packages|json_pp|grep python-aptly|sort
   "Pall python-aptly 0.2.2 cbd9cf268ece7eb2",
   "Pall python-aptly 0.3.1 8142186f92d78d20",
   "Pall python-aptly 0.4.1 950bac934669ffac",
   "Pall python-aptly 0.4.2 984dd9ec9b30e4bf",
   "Pall python-aptly 0.4.3 dc6e6adee37a0486",
   "Pall python-aptly 0.4.4 d943dbd2a4bf39c9",
   "Pall python-aptly 0.4.6 98288a131f1b253b",
   "Pall python-aptly 0.4 864efe6993977f7f",
   "Pall python-aptly 0.5 f0dfd70e4a936c2f",

It also happens on complex versions like:
contrail-config (None -> 2.20+0~1440164666.77~1.44a14c7)

I have noticed this happens when there's multiple versions of the same package in one of the snapshots, for example:
snapshot1 (newer, eg. nightly):
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3780    0  3780    0     0   549k      0 --:--:-- --:--:-- --:--:--  615k
   "Pall python-aptly 0.5 7840ce67841eeb47",```

Package python-aptly-0.5 is then used to create another snapshot merged with one containing older version. Resulting in snapshot with multiple versions of python-aptly package:
```$ curl -q http://<IP_ADDRESS>:8080/api/snapshots/_main-1444924682/packages|json_pp|grep aptly                                                                                (master*)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3822    0  3822    0     0   147k      0 --:--:-- --:--:-- --:--:--  155k
   "Pall python-aptly 0.5 7840ce67841eeb47",
   "Pall python-aptly 0.4.6 8065acbf04255a3",```

The result of compare is:

[{"Left":null,"Right":"Pall python-aptly 0.4.6 8065acbf04255a3"}]

Which is completely wrong, expected result would be same for both snapshots:

[{"Left":"Pall python-aptly 0.5 7840ce67841eeb47","Right":"Pall python-aptly 0.5 7840ce67841eeb47"}]

@fpytloun I was re-reading your bug report... But I don't get what is wrong with aptly.


[BUG] Disabling mines does not affect Mineholds

Is there an existing issue for this?

[X] I have searched the existing issues and none matched.

Operating System
Win11
CPU
AMD
GPU
RTX3050L
Storage
ssd
Game Version
5.0.0-041
Game Mode
dance
Theme
soudwaves
Describe the problem
When toggling off this option the mine is removed, but minepits are not affected by this setting.
On

Off

Describe what should happen
The mintepit should either be removed, or a setting specific for pits should be added
Relevant Log output
No response

Thanks for reporting, will be fixed for 042

Still present in 043-a10


fix: use posix path separators

This fixes #1 when the builder is used on Windows.

Thanks for the PR and sorry for the delay.


Reported time is less than current (and sometimes than the start) time

The time reported by gps is 10 minutes less then real time set in the iPhone simulator. Could it be explained somehow?

After some tests, it seems that the given geolocation points are not given in real time but after a treatment in the app.
On iOS, when url is defined, the real time and geolocation capture time are equals at the beginning, but after a while, there is a difference between them (at the end, the difference is around 10 minutes as you say). The fact is that the app store the other points in local database as failed posts (see https://github.com/mauron85/react-native-background-geolocation#http-locations-posting). Those points are sent in a second time, when the syncThreshold is reached (100 by default) and if the syncUrl has been defined. It also seems that after you stopped the geolocation, the package send the stored failed points by itself after a while (so we should not close the background task when the app is killed and set the stopOnTerminate option to false).
The best way I found to get the captured points more regulary was to define only the syncUrl and syncThreshold to 1. This way, it sends to the server the GPS points more often and the last ones are sent a while after the geolocation has been stopped.
If other have experienced this kind of issues, it would be great to have your configurations and your results about your collect of GPS points.

The fact is that the app stores the other points in local database as failed posts

There is probably your problem. According rest of the post I don't see any irregularities

I do not use url, nor syncUrl options in my configuration and still have both mentioned issues with collected data:

constant time difference with real device time (results are back in time) - both iOS and Android
the growing delay of data incoming to the hook - seen in iOS only

Here is the log example:
10-11 12:20:18.482  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:19:53.000Z"
10-11 12:20:20.312  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:19:55.000Z"
10-11 12:20:22.282  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:19:57.000Z"
10-11 12:20:23.302  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:19:58.000Z"
10-11 12:20:25.312  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:00.000Z"
10-11 12:20:27.282  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:02.000Z"
10-11 12:20:28.282  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:03.000Z"
10-11 12:20:30.202  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:05.000Z"
10-11 12:20:32.192  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:07.000Z"
10-11 12:20:33.192  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:08.000Z"
10-11 12:20:34.182  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:09.000Z"
10-11 12:20:35.202  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:10.000Z"
10-11 12:20:37.192  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:12.000Z"
10-11 12:20:38.192  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:13.000Z"
10-11 12:20:40.152  2407 32412 I ReactNativeJS: Tracker/_locationHandler() time "2016-10-10T09:20:15.000Z"

Here the time diff is 1 day and 25 seconds (the device timezone is GMT+3).
The way to get this log:
_locationHandler = async location => {
	const time = new Date(location.time)
	console.log("Tracker/_locationHandler() time", time)
	...
}

Configuration options:
{
	desiredAccuracy: 0,
	stationaryRadius: 0,
	distanceFilter: 0,
	debug: false,
	startOnBoot: false,
	startForeground: true,
	stopOnTerminate: true,
	locationProvider: BackgroundGeolocation.provider.ANDROID_ACTIVITY_PROVIDER,
	saveBatteryOnBackground: false,
	interval: 2000,
	fastestInterval: 1000,
	activitiesInterval: 1,
	stopOnStillActivity: false,
	activityType: 'Fitness',
	maxLocations: 1,
	syncThreshold: 1,
}

For future, desperate visitors, I couldn't find any solutions to this issue and implemented iOS part with react-native-location. Now both iOS and Android works as expected.

Warning: this issue has been inactive for 37 days and will be automatically closed on 2017-12-09 if there is no further activity.

This should not be issue anymore. In older version, there was location queue which might delay location callbacks. This queue was completely removed in recent versions.


Fix model loading twice on CUDA by changing map_location='cpu'

mistakenly i added a new commit in same PR, it's a inference code from https://github.com/jarredou/AudioSR-Colab-Fork


classification

how can i use these spikes count in python that can classify images

Hey @assadRasheed. I guess you are talking about the spike_count variable in Spiking-Neural-Network/classification/classify.py.
This variable stores the number of spikes fired by each neuron in output layer. For a particular image the neuron with maximum number of spikes corresponds to the class that image belongs to. For eg. suppose neuron 1 is trained for 'X' and neuron 2 for 'O' and feed an unknown image (one out of these 2 pattern). If 1 fires most then we can say that input image belongs to class 'X' and vice versa.

THANKS.
Please sir code further in Spiking-Neural-Network/classification/classify.py in such a way that it tells us which class the input image belong.
i tried a lot but failed to get the results.


Bug with the custom blocks and the sidebar on mobile

Description
I feel like the migration of the documentation caused a small display problem. Indeed it seems that the theme used is a bit buggy.
The little icon on custom blocks is now above the sidebar when it is expanded on mobile devices.
This id probably just a z-index problem.
Screenshots

Hey @MrAnyx, thanks for pointing this out. We'll have it fixed

You may not be responsible of this bug, it may be caused by the theme you use I also created an issue in their repository.
https://github.com/mychidarko/leaf-docs-theme

This issue has been fixed now. Thanks for pointing it out


Tried testing out your prompt and adding my flair on it. More bad images than good ones!

I tried out your latest prompt (but not before adding my flair on it, jk but i dont think it would have made a difference) and imagefx is only scraping image 400: bad images. Either the US Google is more strict than singapore google or I am doing something wrong. Im unsure CG-2 will be giving you alot of images because its not giving ME any.

prompts are not my issue

Ok… but it will take a long time to obtain images
Get Outlook for iOShttps://aka.ms/o0ukef

From: Andrew Higgins @.>
Sent: Thursday, September 5, 2024 4:19:32 PM
To: speckly/sucorn @.>
Cc: Jacob Bender @.>; Author @.>
Subject: Re: [speckly/sucorn] Tried testing out your prompt and adding my flair on it. More bad images than good ones! (Issue #53)
Closed #53https://github.com/speckly/sucorn/issues/53 as not planned.
—
Reply to this email directly, view it on GitHubhttps://github.com/speckly/sucorn/issues/53#event-14152586934, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHVUTASIZNTWLQL7XFG6MDLZVC4FJAVCNFSM6AAAAABNXG2QWSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGE2TENJYGY4TGNA.
You are receiving this because you authored the thread.Message ID: @.***>
CAUTION: This email was sent from someone outside of the university. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Using Noble to send Write Request

I am using Noble in my Node project to communicate with a BLE device. I am able to get my BLE device to do what I want if I send this string 5212006E01004EBD as a hex string using a simple BLE IOS app which PacketLogger logs tells me it just sends a write request to the BLE device with opcode 0x0018.
My problem is when I try to send this string using Noble I can see no matter what way I try using characteristic.write(Buffer.from("5212006E01004EBD", "hex"), false, function (error) function or via the peripheral.writeHandle(0x0018, Buffer.from("5212006E01004EBD", "hex"), true, function(err) { console.log('writehandle'+err) }); function I just can see in PacketLogger logs no write request is being sent instead there is a Exchange MTU Request  with opcode 0x0002 and the BLE device doesn't respond neither.
How do I ensure that a write request is sent using Noble please?

@brucie25 If you already have the HEX string, you need to parse it to Uint8Array:
const fromHexString = hexString => new Uint8Array(hexString.match(/.{1,2}/g).map(byte => parseInt(byte, 16)));
then you can do this:
const uintArray = fromHexString(myHEXString);
const buffer = Buffer.from(uintArray);
characteristic.write(buffer, true|false, (error) => { ... });


Main publications page needs to link to Code, Talks, Posters

I think the ultimate solution here is to get rid of all the Javascript and just use Isotope or some other filtering code (and then use display_pub_snippet.html so we don't have all of this custom pub display code everywhere.

This is now mostly done but we should check to make sure that posters are shown appropriately

Also have to make sure that videos are showing here. They are not in this example even though the project is clearly linked...


DDIM Scheduler

Hi,
Thank you for the amazing work!
I tried training a model using your code with the DDPM scheduler, which works fine during the interference/sampling as well. However, I am not able to use the DDIM scheduler for inference. The model outputs a completely blurred image with DDIM, even with 1000 steps. Do you have any idea what could be the problem here?

@aneesurhashmi
Hi,
I encountered the same problem, did you solve it?

Hi @yihp, no, I was not able to solve it and decided to switch to the stable diffusion pipeline.
You can have a look at my implementation here https://github.com/BioMedIA-MBZUAI/XReal


raidboss: r4s strategy options for NA strats

This series includes several strategy options for the m4s fight that fit the
standard NA PF strategies.

raidboss: add support for DN strategy for Ion Cluster in m4s
raidboss: add support for DN strategy during Witch Hunt in m4s
raidboss: add uptime sunrise sabaath callouts in m4s

These are based off the shabin pastebin and hector guide, with the uptime
waymarks strategy for sunrise sabaath.
I made all of these configuration options, so that existing default callouts
which do not use a specific strategy are not affected. I tried to put good
brief explanations, and used the standard strat names I see going around.
I've tested variations of this code in my runs, though it did not use a
strategy option at the time. Thus, this exact code is not yet battle tested
outside of the simulator.

The Sunrise callouts could be modified to also call wall baits as an option too; the tower/cannon priority is the same and only the baiting direction is different.

The Sunrise callouts could be modified to also call wall baits as an option too; the tower/cannon priority is the same and only the baiting direction is different.

Ya. I can probably include that as another option. My group (and most PFs) seem to do uptime strategy so that's what I implemented.

The Sunrise callouts could be modified to also call wall baits as an option too; the tower/cannon priority is the same and only the baiting direction is different.

Ya. I can probably include that as another option. My group (and most PFs) seem to do uptime strategy so that's what I implemented.

I see a good mix of both in PF which is why I suggested it.

The Sunrise callouts could be modified to also call wall baits as an option too; the tower/cannon priority is the same and only the baiting direction is different.

Ya. I can probably include that as another option. My group (and most PFs) seem to do uptime strategy so that's what I implemented.

I see a good mix of both in PF which is why I suggested it.

I've updated the descriptions, renamed the strategy as "snakes prio" to match the way its discussed in the various sites. I split the uptime callouts from the priority system so now it will call the direction to bait properly for non-uptime spots.
Hopefully this version looks good! I'll be testing it in a live run tonight.

Here's example callouts for witch hunt.

Here's the current example of callouts for sunrise sabbath

Here's the config text. It's definitely ugly. Let me try to fix that.

Here's the new version with HTML breaks!

This is if I re-use yellowShort and and blueShort.. I don't like "Point W"

Here's what I came up with. I think this is acceptable

@xiashtra can you re-check this? I think I've fixed all your concerns. I also took the time to squash everything down since I had a lot of fixes that made reviewing individual commits more difficult.

I updated the witchhunt callout to always put bait first. I think that's easier to parse, and certainly easier for a shot caller to use.

I'd like to know if anyone thinks this needs more changes :)


[Service Bus] Performance testing (Optimizations)

This Epic is for tracking Stress tests work aimed for 4/27 GA release date.

Closing this issue as we plan to revisit the perf & stress testing story for Service Bus this month, potentially based on the common perf & stress infrastructure.


New release

@ggongaware @mleone87 Would it be possible to do a new release for this repository. I would like to use a new feature for cloud-init disks which has been merged but not yet released. This is about https://github.com/Telmate/terraform-provider-proxmox/pull/748

Linked to #808

Telmate folks seem to have been very quiet lately, it's a little concerning.

Is there somewhere else we can request a new release? Raising an issue here doesn't seem to be working. There are some patches to v2.9.14 that fix crashes in my Terraform scripts.


New screenshot with "move to cold" included

Also noted that "last accessed" doesn't seem to be an option anymore, hence the difference in screenshot.

@normesta
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

I've gone ahead and implemented the updated screenshot in a separate PR. The change will appear live after 3. Thank you!
#please-close


Vulnerability roundup 93: wolfssl-4.4.0: 1 advisory [6.8]

search, files

[ ] CVE-2020-24613 CVSSv3=6.8 (nixos-20.03)

Scanned versions: nixos-20.03: 0d0660fde3b.
Cc @mcmtroffaes

merged


2FA page doesn't show correctly

We have 2FA enabled to log in to the email. This is how the 2FA page looks like in 'original' 0.4.0:

And this is how it looks like in your 0.5.0-beta:

Here is some output from dev console in 0.5.0-beta:

Just in case this is the same output for 0.4.0:

Let me know if you need more debug info

@DenisBY i need a deeper log about this. Can you attach your har and log?
To produce *.log you have to point to Console and right-click and Save as

To produce *.har you have to go in Network tab and click on Export HAR

I'll try to figure out something from them.

It should save files into default download directory.
Try and search them named *.har, *.log

It should save files into default download directory.
Try and search them named *.har, *.log

No, no any file like *.har. I guess on clicking "Save as..." there should be a new window opened where I can select where to save the logs. But no any window appears. Clicking "Save as..." or arrow down literally does nothing.

Sorry, I don't know.

@DenisBY ok... i've done a step forward.
Due to this bug https://github.com/electron/electron/issues/31152 you cant "save as" required log.
I've just recompiled and published a new version here https://github.com/MagiusCHE/prospect-mail/releases with this Electron bug officially fixed.
Can you try to install it and grab the logs now?

here it is:
jquery-migrate-1.2.1.min.js:2 Uncaught ReferenceError: jQuery is not defined
    at jquery-migrate-1.2.1.min.js:2
(anonymous) @ jquery-migrate-1.2.1.min.js:2
jquery.poshytip.min.js:7 Uncaught ReferenceError: jQuery is not defined
    at jquery.poshytip.min.js:7
(anonymous) @ jquery.poshytip.min.js:7
bootstrap.min.js:6 Uncaught Error: Bootstrap requires jQuery
    at bootstrap.min.js:6
(anonymous) @ bootstrap.min.js:6
jquery.qtip.js:24 Uncaught ReferenceError: jQuery is not defined
    at jquery.qtip.js:24
    at jquery.qtip.js:28
    at jquery.qtip.js:3063
(anonymous) @ jquery.qtip.js:24
(anonymous) @ jquery.qtip.js:28
(anonymous) @ jquery.qtip.js:3063
angular.js:11655 TypeError: a.Spinner is not a constructor
    at Object.<anonymous> (angular-spinner.min.js:1)
    at Object.fn (angular.js:12895)
    at n.$digest (angular.js:14308)
    at n.$apply (angular.js:14571)
    at angular.js:1455
    at Object.e [as invoke] (angular.js:4203)
    at d (angular.js:1453)
    at uc (angular.js:1473)
    at Jd (angular.js:1367)
    at angular.js:26304
(anonymous) @ angular.js:11655
error @ js:2365
$digest @ angular.js:14326
$apply @ angular.js:14571
(anonymous) @ angular.js:1455
e @ angular.js:4203
d @ angular.js:1453
uc @ angular.js:1473
Jd @ angular.js:1367
(anonymous) @ angular.js:26304
a @ angular.js:2762
c @ angular.js:3032
angular.js:11655 Error server-side logging failed
(anonymous) @ angular.js:11655
error @ js:2389
$digest @ angular.js:14326
$apply @ angular.js:14571
(anonymous) @ angular.js:1455
e @ angular.js:4203
d @ angular.js:1453
uc @ angular.js:1473
Jd @ angular.js:1367
(anonymous) @ angular.js:26304
a @ angular.js:2762
c @ angular.js:3032
angular.js:11655 ReferenceError: $ is not defined
    at error (js:2376)
    at n.$digest (angular.js:14326)
    at n.$apply (angular.js:14571)
    at angular.js:1455
    at Object.e [as invoke] (angular.js:4203)
    at d (angular.js:1453)
    at uc (angular.js:1473)
    at Jd (angular.js:1367)
    at angular.js:26304
    at HTMLDocument.a (angular.js:2762)
VM250:188 Missing valid handler, try again in 5 seconds
VM250:188 Missing valid handler, try again in 5 seconds
VM250:188 Missing valid handler, try again in 5 seconds
VM250:188 Missing valid handler, try again in 5 seconds

Please attach HAR too.

Here it is.
https://file.io/oeAsvhb9bNkv
This is a "one-time" share. The file will be deleted after the first download.

@DenisBY so the problem is this: i cant reprocude your bug because you are using a custom 2FA and i cant try it (the default one works like a charm).
Your logs displays an error based of missing jquery and no other "prospect-mail" specific error.
I try to analyze it checking the injecting method but, i repeat, if i cant reproduce your case i cant fix it.
Sorry but it will be hard.

I see. Thank you for your efforts anyway. Maybe you can examine your changes compared with 0.4.0 as it's working without any issues?

But, just to be sure: have you tried to call the url directly from browser right? does it work?

im meant: directly form CHROME or CHROMIUM browser

And Firefox as well. No issues at all.

Well i've added a command line --disablecontextmenu to prevent the only relevant change from 0.4.0 to 0.5.0.
What package do you use? (.pacman? .deb? or?)
I will upload it so you can try run client passing --disablecontextmenu as command line arg.

pacman

published here https://github.com/MagiusCHE/prospect-mail/releases

Same problem with --disablecontextmenu
$ prospect-mail --disablecontextmenu
Loaded settings {
  outlookUrl: 'https://outlook.office.com/mail',
  deeplinkUrls: [
    'outlook.live.com/mail/deeplink',
    'outlook.office365.com/mail/deeplink',
    'outlook.office.com/mail/deeplink',
    'outlook.office.com/calendar/deeplink'
  ],
  outlookUrls: [ 'outlook.live.com', 'outlook.office365.com', 'outlook.office.com' ]
}
ContextMenu disabled via --disablecontextmenu cmdarg.
libva error: /usr/lib/dri/iHD_drv_video.so init failed
[365241:0224/092613.250267:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
Prepare 'main.css' to be injected.
Prepare 'unread-number-observer.js' to be injected.

Can you try with the latest beta version (0.5-beta1)?
sudo snap install prospect-mail --channel=beta
Also available here in other packages: https://github.com/julian-alarcon/prospect-mail/releases/tag/v0.5.0-beta1

I tried but it has the same issue.


Error deploying to Netlify

Describe the bug
When I try building on Netlify I receive an error.
It's the first time I deploy to Netlify, so I may be missing something: sorry if it's my fault.
To Reproduce
I cloned the basic example, created my app and then tried to build in Netlify using "dist" as folder and "npm run build" as build command
Expected behavior
Build without errors
Additional context
The error I receive is this:
6:48:11 PM: Build ready to start
6:48:12 PM: build-image version: 42bca793ccd33055023c56c4ca8510463a56d317
6:48:12 PM: buildbot version: 100b6eb75273bf0f246d913a11a328d6edb9c24b
6:48:12 PM: Fetching cached dependencies
6:48:12 PM: Failed to fetch cache, continuing with build
6:48:12 PM: Starting to prepare the repo for build
6:48:13 PM: No cached dependencies found. Cloning fresh repo
6:48:13 PM: git clone git@bitbucket.org:f2net/malpensago-frontend
6:48:14 PM: Preparing Git Reference refs/heads/production
6:48:14 PM: Starting build script
6:48:14 PM: Installing dependencies
6:48:15 PM: Attempting node version 'v10.9.0' from .nvmrc
6:48:15 PM: Downloading and installing node v10.9.0...
6:48:15 PM: Downloading https://nodejs.org/dist/v10.9.0/node-v10.9.0-linux-x64.tar.xz...
6:48:16 PM:   0.0%
6:48:16 PM:
########
6:48:16 PM:                                        11.2%
6:48:16 PM:
#############################
6:48:16 PM:                                      41.6%
6:48:16 PM:
#######
6:48:16 PM: ###############################################                    75.9%
6:48:16 PM:
################
6:48:16 PM: ######################################################## 100.0%
6:48:16 PM: Computing checksum with sha256sum
6:48:16 PM: Checksums matched!
6:48:18 PM: Now using node v10.9.0 (npm v6.2.0)
6:48:18 PM: Attempting ruby version 2.3.6, read from environment
6:48:19 PM: Using ruby version 2.3.6
6:48:20 PM: Using PHP version 5.6
6:48:20 PM: Started restoring cached node modules
6:48:20 PM: Finished restoring cached node modules
6:48:20 PM: Started restoring cached yarn cache
6:48:20 PM: Finished restoring cached yarn cache
6:48:20 PM: Installing yarn at version 1.3.2
6:48:20 PM: Installing Yarn!
6:48:20 PM: > Downloading tarball...
6:48:20 PM: [1/2]: https://yarnpkg.com/downloads/1.3.2/yarn-v1.3.2.tar.gz --> /tmp/yarn.tar.gz.bV1DIiK0M4
6:48:20 PM:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
6:48:20 PM:                                  Dload  Upload   Total   Spent    Left  Speed
6:48:20 PM:
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
6:48:20 PM:
100    91  100    91    0     0    628      0 --:--:-- --:--:-- --:--:--   627
100    91  100    91    0     0    626      0 --:--:-- --:--:-- --:--:--   623
6:48:20 PM:
  0     0    0   608    0     0   1
6:48:20 PM: 643      0 --:--:-- --:--:-- --:--:--  1643
6:48:20 PM:
100  865k  100  865k
6:48:20 PM:    0     0  1270k      0 --:--:-- --:--:-- --:--:-- 1270k
6:48:20 PM: [2/2]: https://yarnpkg.com/downloads/1.3.2/yarn-v1.3.2.tar.gz.asc --> /tmp/yarn.tar.gz.bV1DIiK0M4.asc
6:48:20 PM:
100    95  100    95    0     0   2245      0 --:--:-- --:--:-- --:--:--  2245
6:48:20 PM:
  0     0    0   612    0     0   3128      0 --:--:-- --:--:-- --:--:--
6:48:20 PM:   3128
6:48:20 PM: 1
6:48:20 PM: 00  1027  100  1027    0     0   4396      0 --:--:-- --:--:-- --:--:--  4396
6:48:20 PM: > Verifying integrity...
6:48:20 PM: gpg: Signature made Thu 02 Nov 2017 04:44:10 PM UTC using RSA key ID FD2497F5
6:48:21 PM: gpg: Good signature from "Yarn Packaging<EMAIL_ADDRESS>6:48:21 PM: gpg: WARNING: This key is not certified with a trusted signature!
6:48:21 PM: gpg:          There is no indication that the signature belongs to the owner.
6:48:21 PM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907  BBB7 1646 B01B 86E5 0310
6:48:21 PM:      Subkey fingerprint: 6A01 0C51 6600 6599 AA17  F081 46C2 130D FD24 97F5
6:48:21 PM: > GPG signature looks good
6:48:21 PM: > Extracting to ~/.yarn...
6:48:21 PM: > Adding to $PATH...
6:48:21 PM: > We've added the following to your /opt/buildhome/.profile
6:48:21 PM: > If this isn't the profile of your current shell then please add the following to your correct profile:
6:48:21 PM: export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
6:48:21 PM:
6:48:21 PM: > Successfully installed Yarn 1.3.2! Please open another terminal where the `yarn` command will now be available.
6:48:21 PM: Installing NPM modules using Yarn version 1.3.2
6:48:22 PM: yarn install v1.3.2
6:48:22 PM: (node:1323) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
6:48:22 PM: [1/4] Resolving packages...
6:48:24 PM: [2/4] Fetching packages...
6:48:37 PM: info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
6:48:37 PM: info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
6:48:37 PM: [3/4] Linking dependencies...
6:48:37 PM: warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>- 3".
6:48:37 PM: warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>6:48:37 PM: warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>6:48:37 PM: warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>6:48:37 PM: warning "eslint-config-react-tools ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>6:48:37 PM: warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^4.0.0".
6:48:41 PM: [4/4] Building fresh packages...
6:48:43 PM: success Saved lockfile.
6:48:43 PM: Done in 21.45s.
6:48:43 PM: NPM modules installed using Yarn
6:48:44 PM: (node:1379) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
6:48:44 PM: Started restoring cached go cache
6:48:44 PM: Finished restoring cached go cache
6:48:44 PM: unset GOOS;
6:48:44 PM: unset GOARCH;
6:48:44 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.10.linux.amd64';
6:48:44 PM: export PATH="/opt/buildhome/.gimme/versions/go1.10.linux.amd64/bin:${PATH}";
6:48:44 PM: go version >&2;
6:48:44 PM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.10.linux.amd64.env';
6:48:44 PM: go version go1.10 linux/amd64
6:48:44 PM: Installing missing commands
6:48:44 PM: Verify run directory
6:48:44 PM: Executing user command: npm run build
6:48:44 PM: ><EMAIL_ADDRESS>build /opt/build/repo
6:48:44 PM: > react-static build
6:48:46 PM: => Info: No 'siteRoot' is defined in 'static.config.js'. This is suggested for absolute url's and a sitemap.xml to be automatically generated.
6:48:46 PM: => Building Routes...
6:48:47 PM: => [✓] Routes Built: 926.826ms
6:48:47 PM: => Copying public directory...
6:48:47 PM: => [✓] Public directory copied: 1.195ms
6:48:47 PM: => Bundling App...
6:49:47 PM: => [✓] App Bundled: 60265.807ms
6:49:48 PM: => Fetching Site Data...
6:49:48 PM: => [✓] Site Data Downloaded: 0.099ms
6:49:48 PM: => Fetching Route Data...
6:49:48 PM: => [✓] Route Data Downloaded: 3.987ms
6:49:48 PM: => Exporting Route Data...
6:49:48 PM: => [✓] Route Data Exported: 1.579ms
6:49:48 PM: => Exporting Shared Route Data...
6:49:49 PM:   Error: /opt/build/repo/node_modules/react-router/es/Router.js:9
6:49:49 PM:   import warning from "warning";
6:49:49 PM:          ^^^^^^^
6:49:49 PM:   SyntaxError: Unexpected identifier
6:49:49 PM:
6:49:49 PM:   - vm.js:73 new Script
6:49:49 PM:     vm.js:73:7
6:49:49 PM:
6:49:49 PM:   - vm.js:245 createScript
6:49:49 PM:     vm.js:245:10
6:49:49 PM:
6:49:49 PM:   - vm.js:297 Object.runInThisContext
6:49:49 PM:     vm.js:297:10
6:49:49 PM:
6:49:49 PM:   - loader.js:657 Module._compile
6:49:49 PM:     internal/modules/cjs/loader.js:657:28
6:49:49 PM:
6:49:49 PM:   - loader.js:700 Module._extensions..js
6:49:49 PM:     internal/modules/cjs/loader.js:700:10
6:49:49 PM:
6:49:49 PM:   - node.js:152 Object.require.extensions.(anonymous function) [as .js]
6:49:49 PM:     [repo]/[babel-register]/lib/node.js:152:7
6:49:49 PM:
6:49:49 PM:   - loader.js:599 Module.load
6:49:49 PM:     internal/modules/cjs/loader.js:599:32
6:49:49 PM:
6:49:49 PM:   - loader.js:538 tryModuleLoad
6:49:49 PM:     internal/modules/cjs/loader.js:538:12
6:49:49 PM:
6:49:49 PM:   - loader.js:530 Function.Module._load
6:49:49 PM:     internal/modules/cjs/loader.js:530:3
6:49:49 PM:
6:49:49 PM:   - loader.js:637 Module.require
6:49:49 PM:     internal/modules/cjs/loader.js:637:17
6:49:49 PM:
6:49:49 PM:
6:49:49 PM: npm ERR! code ELIFECYCLE
6:49:49 PM: npm ERR! errno 1
6:49:49 PM: npm ERR<EMAIL_ADDRESS>build: `react-static build`
6:49:49 PM: npm ERR! Exit status 1
6:49:49 PM: npm ERR!
6:49:49 PM: npm ERR! Failed at the<EMAIL_ADDRESS>build script.
6:49:49 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
6:49:49 PM: npm ERR! A complete log of this run can be found in:
6:49:49 PM: npm ERR!     /opt/buildhome/.npm/_logs/2018-11-14T17_49_49_192Z-debug.log
6:49:49 PM: Caching artifacts
6:49:49 PM: Started saving node modules
6:49:49 PM: Finished saving node modules
6:49:49 PM: Started saving yarn cache
6:49:49 PM: Finished saving yarn cache
6:49:49 PM: Started saving pip cache
6:49:49 PM: Finished saving pip cache
6:49:49 PM: Started saving emacs cask dependencies
6:49:49 PM: Finished saving emacs cask dependencies
6:49:49 PM: Started saving maven dependencies
6:49:49 PM: Finished saving maven dependencies
6:49:49 PM: Started saving boot dependencies
6:49:49 PM: Finished saving boot dependencies
6:49:50 PM: Started saving go dependencies
6:49:50 PM: Finished saving go dependencies
6:49:50 PM: Cached node version v10.9.0
6:49:50 PM: Error running command: Build script returned non-zero exit code: 1
6:49:50 PM: Failing build: Failed to build site
6:49:50 PM: failed during stage 'building site': Build script returned non-zero exit code: 1
6:49:50 PM: Finished processing build request in 1m37.803508435s

Are you using a v6 beta? or a v5.x.x ?

v. 5.9.12. Thank you.

If it's useful, my package.json is as follows:
{
  "name": "malpensago-frontend",
  "version": "1.0.1",
  "main": "index.js",
  "license": "UNLICENSED",
  "scripts": {
    "start": "react-static start",
    "stage": "react-static build --staging",
    "build": "react-static build",
    "serve": "serve dist -p 3000"
  },
  "dependencies": {
    "apollo-cache-inmemory": "^1.3.9",
    "apollo-client": "^2.4.5",
    "apollo-link": "^1.2.3",
    "apollo-link-error": "^1.1.1",
    "apollo-link-http": "^1.5.5",
    "axios": "^0.18.0",
    "bootstrap": "^4.1.3",
    "formik": "^1.3.1",
    "graphql": "^14.0.2",
    "graphql-tag": "^2.10.0",
    "moment": "^2.22.2",
    "node-fetch": "^2.3.0",
    "react": "^16.6.3",
    "react-apollo": "^2.2.4",
    "react-dom": "^16.6.3",
    "react-icons": "^3.2.2",
    "react-router": "^4.3.1",
    "react-select": "^2.1.1",
    "react-slick": "^0.23.2",
    "react-static": "^5.9.12",
    "reactstrap": "^6.5.0",
    "slick-carousel": "^1.8.1"
  },
  "devDependencies": {
    "eslint-config-react-tools": "1.x.x",
    "extract-text-webpack-plugin": "^3.0.2",
    "node-sass": "^4.10.0",
    "sass-loader": "^7.1.0",
    "serve": "^10.1.1"
  }
}

I updated some packages to the latest version (also serve): could it be related?
Thank you,
Matteo

Could you try reverting your packages to what they were on the initial install? I have a fresh install running on netlify without issues but they have older dependencies. Could be something breaking changed in one of them, like my router is on 4.2.0.

I reverted all the packages in the same version as the basic template, but I receive the same error when Netlify builds.

Can you deploy the basic example without any changes? It might be that your changes to the code could be causing this.
(Or do you have the repo publicly available for me to take a look at?)

Also, mind posting a link to your package-lock.json file? npm might be trying to download an older version.

~Also, does the build on local also fail?

Hi, thank you for your answer. I already tried to delete the package-lock.json and recreating it.
This morning I'll try deploying the basic example without changes.
If the example project works, @Pixelatex could you send me your email address (my is f2 at f2.net) so that I could send you the repository (it is not an opensource project).
Thank you,
Matteo

The local build works well.

I specified the node version in the .nvmrc file (running as 10.9.0).
I can confirm that the basic example works as expected on Netlify, so it is surely something bound to my code.
@Pixelatex If you are so kind to have a look at it, I could privately send the repository to you.
Thank you,
Matteo

sure, send it to<EMAIL_ADDRESS>

Hi @Pixelatex. Did you find the time to look at my project to understand why it fails building on Netlify?
Thank you for your kind support.

@f2net
So I ran your code and pushed it to netlify. Sent you the link via email.
Everything works :)
2 things that might help:

Please write your code in english, with all the spanish variables and functions it's impossible to read. If you ever get a non-spanish speaking employee or you yourself go to an interview for an international company, this code will not help you.

You should commit your package-lock or yarn-lock file to prevent dependency issues

Yeah, was gonna close this actually. Happy it's been resolved :)


If only proc address, no method name

How to use Out
I can't use name，only use Proc Address
I want to get the string
buffer no change
// typedef void (*_HWi32_GetSensorName)( int iSensor, char* sensor_desc_buf, int sensor_desc_buf_sz );

const GetSensorName = lib.func(687, "void", ["int", "uint64_t *", "int"]);
// const GetSensorName = lib.func(687, "void", ["int","__Out__ uint64_t *","int"]);   // ERROR Unknown or invalid type name '__Out__ uint64_t *'

let buf = Buffer.allocUnsafe(256);
console.log("GetSensorName", GetSensorName(3, buf, buf.length));

How to proceed, please, thank you！

In Koffi 2.6.0 and earlier versions, the string qualifiers (Out, In, etc.) only work when using prototype-like definitions.
I've changed this in Koffi 2.6.1, which I've just released, so your code should almost work. But it's _Out_, not __Out__.
So for Koffi 2.6.0 and earlier, use this:
// typedef void (*_HWi32_GetSensorName)( int iSensor, char* sensor_desc_buf, int sensor_desc_buf_sz );

const GetSensorName = lib.func(687, "void", ["int", koffi.out("uint64_t *"), "int"]);

let buf = Buffer.allocUnsafe(256);
console.log("GetSensorName", GetSensorName(3, buf, buf.length));

And for Koffi 2.6.1, this should work too:
// typedef void (*_HWi32_GetSensorName)( int iSensor, char* sensor_desc_buf, int sensor_desc_buf_sz );

const GetSensorName = lib.func(687, "void", ["int", "_Out_ uint64_t *", "int"]);

let buf = Buffer.allocUnsafe(256);
console.log("GetSensorName", GetSensorName(3, buf, buf.length));

Upgrade 2.6.1 is OK！
But buffer have no change.
The dll is already in production, so there is no problem
What could be the cause?
So how do I find the problem

Okay, I upgrade 2.6.1. that solves my confusion. Thank you


add check to make sure upgrade sequences of both channel ends are in sync after ChanUpgradeTry succeeds

we are missing a check to make sure that the upgrade sequences of both channel ends are in sync after ChannelUpgradeTry succeeds. If you add after this line a check like this suite.Require().Equal(path.EndpointA.GetChannel().UpgradeSequence, path.EndpointB.GetChannel().UpgradeSequence) you will see that this test will fail.
Originally posted by @crodriguezvega in https://github.com/cosmos/ibc-go/pull/5231#discussion_r1412889148

is this issue necessary? should this not be addressed in the open PR?

sure, I can just try to wrap up that PR!

closed by #5231


Mobile support?

I have installed this and works fine, but when using it on a mobile device, I noticed  the   pointer is not draggable  though it can change position when  tapping on any part of the slider.

Hi,
Thanks for raising this bug.
This is our code bug. We will fix it soon and let you know.
Thanks.

Getting Console error please help me
Uncaught TypeError: Cannot read property 'querySelector' of null
at new Slider (circular-slider.js:17)
at circular-slider.js:218
at circular-slider.js:236


Inquiry about AgentStore Model in Benchmark Rankings

I am writing to inquire about the model "AgentStore," which is currently ranked first under the "Screenshot + A11y tree" category in the Benchmark section on your website (https://os-world.github.io/). Could you please provide any available information or references regarding this model?
Thank you for your time and assistance.

Thanks for your question! Only info can be found from here.


Inittialize after reset causes failure

Try this:

TimeMe.setCurrentPageName('test');
TimeMe.initialize();
TimeMe.resetRecordedPageTime('test');

TimeMe.setCurrentPageName('test');
TimeMe.initialize();

is causing a type error:
TypeError: arrayOfTimes[(arrayOfTimes.length - 1)] is undefined

Great catch.  I put in a commit to fix the issue.

Thanks for the fix


Updating OpenLane not working

Description
I am just follwing the steps to update openlane. But it fails.
Environment
Kernel: Linux v5.13.0-28-generic
Distribution: ubuntu 20.04
Python: v3.8.10 (OK)
Container Engine: UNKNOWN vUNKNOWN (UNSUPPORTED)
OpenLane Git Version: mpw-4
pip:click: INSTALLED
pip:pyyaml: INSTALLED
pip:venv: INSTALLED
PDK Version Verification Status: OK
Git Log (Last 3 Commits)
0624c5c 2022-02-04T05:29:13+02:00 Reinstate changes from 673a63e lost in 0a5afc3 (#903) - Matt Liberty -  (HEAD -> master, origin/master, origin/HEAD)
f01acb5 2022-02-02T16:44:10-08:00 Add scripts/pdk-linker.py for ORFS/OL integration and ioplacer update (#897) - Matt Liberty -  ()
aac68a0 2022-01-31T18:03:00+02:00 Added PDN and tap halo distinction (#896) - Marwan Abbas -  ()
Logs
The following command

sudo make pdk

gives me the following error

git clone https://github.com/google/skywater-pdk /home/student/openlane2/OpenLane/pdks/skywater-pdk
fatal: destination path '/home/student/openlane2/OpenLane/pdks/skywater-pdk' already exists and is not an empty directory.
make: *** [dependencies/pdk.mk:40: /home/student/openlane2/OpenLane/pdks/skywater-pdk/LICENSE] Error 128

This seems related to #921, and thus also linked to #922

@mdzakirhussain This issue seems to have been resolved with #922 on my end
Can you confirm as well?

I am still getting the following
student@student-VirtualBox:~/openlane$ sudo make test
[sudo] password for student:
cd /home/student/openlane &&
docker run --rm -v /home/student/openlane:/openlane -v /home/student/openlane/designs:/openlane/install -v /home/student/openlane/pdks:/home/student/openlane/pdks -e PDK_ROOT=/home/student/openlane/pdks -e STD_CELL_LIBRARY=sky130_fd_sc_hd --user 0:0 -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /root/.Xauthority:/.Xauthority --network host efabless/openlane:2022.02.14_01.57.38 sh -c "./flow.tcl -design spm -tag openlane_test -disable_output -overwrite"
[INFO]:
___   ____   ___  ____   _       ____  ____     ___
/   \ |    \ /  ]|    \ | |     /    ||    \   /  ]
|   | |  o  )  [ |  _  || |    |  o  ||  _  | /  [
| O | |   /    ]|  |  || |_ |     ||  |  ||    ]
|   | |  | |   [ |  |  ||     ||  _  ||  |  ||   [_
_/ || ||||||||||||||_____|
[INFO]: Version: 2022.02.14_01.57.38-4-g74b9e10
[INFO]: Running non-interactively
[INFO]: Using design configuration at /openlane/designs/spm/config.tcl
[INFO]: Sourcing Configurations from /openlane/designs/spm/config.tcl
[INFO]: PDKs root directory: /home/student/openlane/pdks
[INFO]: PDK: sky130A
[INFO]: Setting PDKPATH to /home/student/openlane/pdks/sky130A
[INFO]: Standard Cell Library: sky130_fd_sc_hd
[INFO]: Optimization Standard Cell Library is set to: sky130_fd_sc_hd
[INFO]: Sourcing Configurations from /openlane/designs/spm/config.tcl
[INFO]: Current run directory is /openlane/designs/spm/runs/openlane_test
[INFO]: Storing configs into config.tcl ...
[INFO]: Preparing LEF Files
[INFO]: Extracting the number of available metal layers from /home/student/openlane/pdks/sky130A/libs.ref/sky130_fd_sc_hd/techlef/sky130_fd_sc_hd.tlef
[INFO]: The available metal layers (6) are li1  met1  met2  met3  met4  met5
[INFO]: Merging LEF Files...
[INFO]: Trimming Liberty...
[INFO]: Generating Exclude List...
[INFO]: Generating Exclude List...
[INFO]: Creating ::env(DONT_USE_CELLS)...
[ERROR]: Tool klayout is required by the flow scripts being used, but appears to not be installed in the environment.
[ERROR]: Please update your environment. OpenLane will now quit.
[INFO]: Calculating Runtime From the Start...
[INFO]: Generating Final Summary Report...
[INFO]: Design Name: spm
Run Directory: /openlane/designs/spm/runs/openlane_test
Source not found.
LVS Summary:
Source: /openlane/designs/spm/runs/openlane_test/logs/finishing/spm.lvs.lef.log
Source not found.
Antenna Summary:
No antenna report found.
[INFO]: check full report here: /openlane/designs/spm/runs/openlane_test/reports/final_summary_report.csv
[INFO]: Saving runtime environment...
[ERROR]: Flow failed.
while executing

"flow_fail"
invoked from within
"if [catch {exec python3 $::env(OPENLANE_ROOT)/dependencies/verify_versions.py} ::env(VCHECK_OUTPUT)] {
if { [info exists ::env(MISMATCHES_OK)]..."
(procedure "prep" line 379)
invoked from within
"prep {}$args"
(procedure "run_non_interactive_mode" line 11)
invoked from within
"run_non_interactive_mode {}$argv"
invoked from within
"if { [info exists flags_map(-interactive)] || [info exists flags_map(-it)] } {
puts_info "Running interactively"
puts_info "Note, that post_run_hook..."
(file "./flow.tcl" line 405)
make: *** [Makefile:122: test] Error 1

@mdzakirhussain
[ERROR]: Tool klayout is required by the flow scripts being used, but appears to not be installed in the environment.
Install klayout and try again

@vijayank88
The whole tools comes inside the flow called openlane, this openlane runs in a docker container. Though I have in my system klayout installed, that klayout should come inside the docker container.  It means when we clone the openlane repository and follow installation, klayout needs to be included in that repository so that it comes inside the docker container.

@mdzakirhussain
please try make mount followed by ./flow.tcl -design spm works or not?

@vijayank88,
I already had tried that, but ended up with the same problem.

@vijayank88,
I already had tried that, but ended up with the same problem.

@mdzakirhussain
We are not able to reproduce this issue at our end.
Please try to install in new directory, if same issue repeats provide detailed installation steps and logs

Fixed in master- for your specific situation, just rm -rf /home/student/openlane2/OpenLane/pdks/skywater-pdk.


fix(requirements): pin frictionless to 4.x.x version

Frictionless got recently upgraded to 5.x.x version which broke nightly build. Pinning it to 4.x.x for now (it's not clear whether it's a bug in 5.x.x or if data format of open numbers supports only 4.x.x)

@larsyencken up to you, I'm a bit scared of rebuilding our entire catalog on minor version updates (well, we could extract only major versions...). We found the error in the nightly build, got alerted and solved this relatively fast. It could have been faster, but our monitoring works well enough I think.

No worries. Let's leave things as they are for now then.


'release_notes' is stuck on red no matter what I fill in

In project curl I've selected 'Met' for the requirement named 'release_notes' (under the "Change control" tab) but it shows me a read thumbs down no matter what I set it to.
If that is on purpose, maybe some explanation would be suitable. If it is not on purpose, it needs to be fixed!

Not a bug; this criterion requires a URL (for the release notes).  This particular fact is shown in the placeholder before the user types in text.
This does show a UI weakness though.  Once you start typing in the text, the placeholder disappears.  So perhaps putting that in the placeholder isn't enough.  How can we make that clearer?  Would a tooltip on the status icon be enough?  ("This must be met and have a URL to be satisfied").  If not, what?

I've created issue #259 to track ideas for making it more obvious that a criterion needs a URL.  Comments/suggestions welcome.

"The project MUST provide, in each release, release notes that are a human-readable summary of major changes in that release"
I added the emphasis. If the releases notes are indeed in a release then maybe there's no direct URL to the release notes as a release is typically a tarball or similar.
The description doesn't even say that it requires a URL to be given.


Remove /types endpoint?

The /formats endpoint with query parameter for=* could be used instead?

No because /types only lists schema languages supported for validation by the service instance.


Adds ability to join-up with someone by mentioning them

Description

Resolves #84

Checklist

[x] Add tests for these changes
[ ] Test coverage is not decreased
[ ] Entire test suite passes

Codecov Report

Merging #92 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   97.08%   97.09%   +0.01%
==========================================
  Files          21       21
  Lines        1236     1241       +5
  Branches      195      199       +4
==========================================
+ Hits         1200     1205       +5
  Misses         21       21
  Partials       15       15

Impacted Files
Coverage Δ

src/spellbot/__init__.py
95.37% <100.00%> (+0.06%)
:arrow_up:

src/spellbot/data.py
100.00% <0.00%> (ø)

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 73f14df...20d5dd4. Read the comment docs.


Feature enhancement suggestions

some suggestions

allow sorting or manually position the order of Epic
the tile is display based on start date and target date in Epics & Features instead of iteration path
what's the usage of the dropdown (Epic, feature, PBI) at the top right hand corner?
timeline always show on top, as the number of Feature grow, we lost of sight of timeline they belongs to
the tile (feature tile) show the date/iteration they belongs
different color selection on tile

I would like to see iteration start/end dates to be drawn as vertical lines this would help planning features inside iterations.

First two points are essential. Other ways, it is just a play toy and cannot be seriously used for tracking and presentations


URL regression

Legacy links like on http://roads.mapazonia.org/ don't work anymore. It appears that a center property in the URL query part is needed. In addition, moving the map after landing from a legacy link destroys the legacy links location proeprties.

Looks like adding zoom values to these queries ( z=[number] ) will fix this.
Broken link
http://map.project-osrm.org/?loc=-2.5701525797,-57.8703463558&loc=-2.7418427523,-58.034545884&output=json&z=0&hl=pt
Working link with z=4 pass into query
http://map.project-osrm.org/?z=4&loc=38.929827%2C-77.007039&loc=-2.747148%2C-66.772126&output=json&z=0&hl=pt
@tristen - Is there a good way to redirect links coming to the site that will add the zoom value to the query string? That seems like the best option here.

/cc @joto this could be related to the broken links you were talking about yesterday

@daniel-j-h: not quite the same, but similar. I had a link looking like this: "http://map.project-osrm.org/?dest=COORDINATES&destname=SOMEADDRESS" which doesn't work any more. It would show the area around the coordinates and did a search on the address and put it in the destination field. The user then only had to fill out the start location.

Still working on this... hoping to:

pull in start and end points from the query url
pass as waypoint values
then force update of center point

cc @tristen

Tested this all on http://roads.mapazonia.org/ and they are working as expected.
Please test url-fix branch locally before we merge @lxbarth.
cc @tristen

@lxbarth - Made final code simplification and loosened zoom. If no objections, I'll be merging soon.
cc @tristen

Thanks!


New item status needed?

For some books it is possible to view it only at the library: it is not possible to get it at home. Does it need a new Item status?

There should indeed be a status "Not for loan", at CERN we call it in our current system: "Reference".

Note that there might be a difference between "Reference" and "Not for loan". E.g. we have books that are actually locked away, ie. really really not for loan. While References are not for loan, but with opening hours of 24/7 and self service, as soon as you shelve the stuff people might put it on the self service machines. In our case this triggers an "overnight checkout".
So I think it is more a loan period than a "status" like binding, catalouging etc.

Indeed, considering that as a loan period is indeed fine for me.
Anne


"Tip us" paywall link in README is broken

The README Tip us section links to a dead paywall with a 404 error.

@arcbtc needs to update the link to legend.*

Duplicate of #647. Closing.


Review ready: various enhancements to the deployment

Summary below (very open to refactoring/doing it the way y'all prefer just wanted to get something working first):

Provide ability for different service publishing strategies. The default approach uses 2 load balancers per cluster. This also adds a model where the infrastructure services can be exposed as a node port and if a centralized load balancer exposes the entire node port range  exists traffic can flow through that. It means that the number of total load balancers in use does not scale with the number of clusters (it remains constant: one load balancer per zone exposing the node port range)

Instead of hard coding what the APIServerSecurePort is and the AdvertisedIPAddress we now allow that to be specified through the HostedClusterCRD.

Allow the ability to enable and disable asset payloads. Was thinking this will be useful depending on the environment/provider a customer is targeting (AWS/IBMCloud/Azure etc). Can also help for toggling a VPN deployment versus a konnectivity style deployment

Integrates a haproxy side car server with the machine config server that can enable it to do authentication using the node bootstrapper token.

Adds a controller that handles syncing any changes to the node bootstrapper token in a user cluster to the control plane and updating of the asssociated user-data secret to update the auth for the initial call workers use to auth to the ignition server.

Moves the ignition route to have E2E tls validation. CAs are passed to the user-data that workers use to make the initial ignition call to validate TLS.

Then just one non important question that we can talk about the next time we sync:

/test e2e-aws

Good work @relyt0925 !
I would love to see this broken down into different PRs.  I've personally been wanting 1 for a while now and can be a self-contained changed.  4-6 look like they could be bunched together in a PR as they are all part of "authenticating the MCS".  2 and 3 can be their own PRs as well.
So could you break this down into 4 PRs?  1, 2, 3, and 4-6?

Then just one non important question that we can talk about the next time we sync:

What is the question?

Hey @sjenning! Will do
The question is:
https://github.com/openshift/hypershift/pull/86/files#diff-3d4ffda0834e09a59a4d510523932e20b9234bcb9816e40258a0fb32a87a7006R1068
//TL: I believe this we will want to change so we don't get in a case of subdomains being hijacked from the control plane in user clusters.
//the "management cluster" and the clusters it hosts should be independent from a DNS perspective. For example: one management
//cluster can host clusters from a variety of different tenants and sometimes different providers (IBM Cloud VPC Gen 2 and IBM Cloud Classic in same tugboat)
// We likely want a user to pass this in explicitly and some automated system can use the data they pass in and adjust the base domain to point to the proper
// router pod ips when applicable.

First PR separated is here:
https://github.com/openshift/hypershift/pull/89

part 2 is here:
https://github.com/openshift/hypershift/pull/91

this is part 3:
https://github.com/openshift/hypershift/pull/92

This PR has been decomposed into other PRs/Issues.  It is overly board and now requires a huge rebase.


Nt/wave vote percent

What does this PR?
managing separate vote percentage for waves
Screenshots/Video
https://github.com/ecency/ecency-mobile/assets/6298342/99b65f8c-9847-4a31-a43e-57287e96c9d6

Update:
Unvote Support
https://github.com/ecency/ecency-mobile/assets/6298342/54591119-896c-4ad9-bb4e-0f896bc128d6


[TACHYON-1301] Clean up formatting for equals in TachyonFile.

Follow up to #2073 making the format more consistent.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/6817/
Test PASSed.

LGTM

LGTM


#235(mage2vs) feat: add import of cms blocks and pages

Since in the mage2vuestorefront adapter an error is thrown if something goes wrong my idea was to catch it here and display a proper message

Great job, thanks!