Getting different results with the same seed

Hi,
I'm using python SDK and getting different results while using the same seed between stability python SDK and Dreambooth UI.
I'm expecting python SDK to produce the same image for the same prompt + seed + configuration, however the image comes out different.
Here's what I've tried:
Dreambooth:

Python SDK:
python -m stability_sdk --seed<PHONE_NUMBER> -n 1 --engine "stable-diffusion-v1-5" --steps 30 --cfg_scale 7  "lion head smiling"

Cheers

CLIP based results are non-deterministic, so you will get a slightly
different result. Also, the video hardware can also lead to differences
depending on your situation. In this case, CLIP is probably the cause of
this variation.
On Fri, Jan 13, 2023, 7:55 PM Mikolaj Stawiski @.***>
wrote:

Hi,
I'm using python SDK and getting different results while using the same
seed between stability python SDK and Dreambooth UI.
I'm expecting python SDK to produce the same image for the same prompt +
seed + configuration, however the image comes out different.
Here's what I've tried:
Dreambooth:
[image: image]
https://user-images.githubusercontent.com/26871388/212445253-e021d131-611f-4c42-b292-16d0c4079f6b.png
Python SDK:
python -m stability_sdk --seed<PHONE_NUMBER> -n 1 --engine "stable-diffusion-v1-5" --steps 30 --cfg_scale 7  "lion head smiling"
[image: image]
https://user-images.githubusercontent.com/26871388/212445316-f580c823-2e20-463a-9500-6dc6fe756f43.png
Cheers
—
Reply to this email directly, view it on GitHub
https://github.com/Stability-AI/stability-sdk/issues/169, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB72USNEWTM66NQQYGEYQHLWSIBSXANCNFSM6AAAAAAT27X434
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hey @sedetweiler, I used Dreambooth instead of running this on my own hardware.
And you're right, I do get the same picture when I disable "CLIP Guidance" in Dreambooth.
However, I can't information in the SDK about CLIP guidance, does this mean this feature is only available via web in Dreambooth?

@stawiski you can use CLIP guidance with the SDK. Check out the StabilityInference generate method and it has parameters:
        guidance_preset: generation.GuidancePreset = generation.GUIDANCE_PRESET_NONE,
        guidance_cuts: int = 0,
        guidance_strength: Optional[float] = None,
        guidance_prompt: Union[str, generation.Prompt] = None,
        guidance_models: List[str] = None,

Just pass generation.GUIDANCE_PRESET_FAST_BLUE for example for the guidance_preset (you can leave the others at their defaults). As @sedetweiler mentioned though when using CLIP guidance you won't get back the same result each time even if you use the same seed.

@pharmapsychotic you're right! Thanks!


add bin/fe.pid to .gitignore

Proposed changes
Issue Number: No.
<--Describe your changes.-->
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

why need to add it?

@jackwener There resides a bin directory in the source root. By accident someone, like me, would execute scripts in that directory. As a consequence, a pid file will be generated. This file by no means shall be tracked by Git.

doris bin dir is in output/...., why is it in doris/bin/?


Payment using credit card using inbuilt API call without Mobile Reader.

Currently, application is accepting payment using a mobile reader using the following method.
    omni?.takeMobileReaderTransaction(request: createTransactionRequest(), completion: { _ in
      self.log("Finished transaction successfully")
    }, error: { error in
      self.log(error)
    })

We have a specific requirement to accept payment without using any device.
The client will enter his credit card information and payment should be done using the tokenized method through the application only.

@sojitrajayumedex , the feature of taking a payment without using the mobile reader is under development and will be available in very soon in version 1.4.0. I will post here and let you know when it is available

By when I can expect it? As we have to also release our app. If you can let me know the expected date then it will be helpful for us.

@sojitrajayumedex 1.4.0 Is scheduled to be available this Saturday evening


[Migrate] bottom navigation example and edit README

I migrated the bottom navigation example to null safety and simplified it a bit. I also updated the GIF :)
Furthermore, I updated the README. The nested navigation examples now all have their own headline, and therefore the bottom navigation example also appears in the TOC and can be found faster.

Codecov Report

Merging #255 (8287a0c) into master (a191056) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #255   +/-   ##
=======================================
  Coverage   83.59%   83.59%
=======================================
  Files          13       13
  Lines         506      506
=======================================
  Hits          423      423
  Misses         83       83

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 6cf3b3b...8287a0c. Read the comment docs.


Test out strongly typed element property

Motivation
Test out whether it is possible to use base models.
Checklist

[ ] Code follows coding conventions held in this repo
[ ] Automated tests have been added
[ ] Tests are passing
[ ] Docs have been updated (if applicable)
[ ] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
If manual testing is required, what are the steps?

It is not possible, because there is no information about the structure of the item when you are retrieving that data (what element is of what type) without extra call ty to structure information.
So public async Task<TResponse> InvokeMethodAsync<TPayload, TResponse>(string endpointUrl, HttpMethod method, TPayload body, Dictionary<string, string> headers = null) does not know how to map element to BaseElement values


Publishing a no_std crate without dependencies causes a empty_library dependency.

When publishing a no_std crate without dependencies, it will add an empty_library to the crates on [docs.rs].
Reproduction steps:

Publish a no_std library without dependencies.
The docs.rs page will now have a empty_library in the crates.

This seems like a rather awkward way to tell the reader the crate has no dependencies. Now if you click any deeper into the documentation, on the left (under the crates header) the empty_library will be a clickable link that leads to a dead link.
This is what I mean: Link to CRC8-RS Docs

Not specific to no-std libraries, seems to have started happening within the last month or so, either a docs.rs, rustwide or rustdoc change. Skimming the docs.rs merge requests none stand out to me as potentially causing this.

More specifically it appears to have changed between
rustc 1.52.0-nightly (45b3c2851 2021-03-04) docsrs 0.6.0 (da1f362 2021-03-05)

and
rustc 1.52.0-nightly (caca2121f 2021-03-05) docsrs 0.6.0 (918ee5d 2021-03-06)

(from comparing https://docs.rs/syn/1.0.62/syn/ and https://docs.rs/syn/1.0.61/syn/)

To confirm I went back through the release pages and found the exact builds which changed behaviour, https://docs.rs/near-runtime/4.0.0-pre.1/near_runtime/ was the last build that didn't show empty_library, and https://docs.rs/mangadex-api/0.2.4/mangadex_api/ was the first build that showed it (currently on page https://docs.rs/releases/recent/59, but will be moving further back as more builds happen). These were both with docs.rs da1f362, but the rustc version changed.

Would this then be a rustdoc issue, and should I open one over there?
I am not getting this behaviour, when just normally compiling documentation on my local machine. It could be that there are some flags of rustdoc that are bugged.

It seems like it's a change in rustdoc behaviour, but it is docs.rs specific, we use empty_library as a dummy library. It might be that we need to change something here to workaround whatever changed rather than changing rustdoc. (I skimmed the PRs, and couldn't see anything that would have changed rustdoc's behaviour in that release :shrug:).
https://github.com/rust-lang/docs.rs/blob/65e946c0ecac3633846fd55c1f19bf3029fcf39b/src/docbuilder/rustwide_builder.rs#L59

I'd expect this to be a regression from https://github.com/rust-lang/rust/pull/80845, cc @GuillaumeGomez. Do we maybe keep the artifacts from the empty_library crate around when documenting other crates?

Huh, weird that that PR doesn't appear in the compare view though? Looks like that would be in the 2021-03-06/07 nightly, not the 2021-03-05 one.

Checking what's wrong.

It's an interesting "bug" from rustdoc indeed. Sending a fix.

Actually no, it's not a bug from rustdoc. Here how it works for rustdoc: crates.js list the crates from search-index.js. Meaning that at some point, the file isn't empty as it should. The problem here is that the rustdoc update wasn't fully integrated into docs.rs.

So here, I see two possibilities:

We remove crates.js from the folder
We don't generate crates.js when the --disable-per-crate-search argument is passed in rustdoc.

Which solution do you prefer?

I precise that the second option seems unreliable considering that crates.js isn't only used for search but also to list crates in the sidebar.

I can't find where you clean/remove the search-index.js file. Any pointer maybe? :)


⚠ Fortnite has degraded performance

In 9d7c76e, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1535 ms

Resolved: Fortnite performance has improved in 1b117c8.


Async ( sync ) clipboard support

https://developer.mozilla.org/en-US/docs/Web/API/Clipboard
This PR adds partial support for the async ( still sync under the hood ) clipboard API with the clipboard property exposed on the navigator object.
navigator.clipboard.readText()
  .then(text => {
    // console.log(text);
  })

navigator.clipboard.writeText(value)
  .then(()=> {
    // Text is in clipboard
  })

I have removed the previous (slightly modified ) code blocks responsible for copy / paste --
window.document.on('paste', e => {
  e.clipboardData = new window.DataTransfer();
  contexts.forEach(context => {
    const windowHandle = context.getWindowHandle();
    const clipboardContents = nativeWindow.getClipboard(windowHandle).slice(0, 256);
    const dataTransferItem = new window.DataTransferItem('string', 'text/plain', clipboardContents);
    e.clipboardData.items.push(dataTransferItem);
  });
});

https://github.com/webmixedreality/exokit/blob/3348908d00b08f63c26f0502992d6e5f87eeba7f/src/Document.js#L102-L108
Also not sure if this is needed if the PR looks good.


struct {D,R}av1dFilmGrainData: Revert asm changes from #534 and fix a dav1d alignment bug

Asm Change Reversion
As discussed in #534, changing the asm at all means we lose upstream testing, review, and other improvements.  Given that e27877e5f, which made {D <=> R}av1dFilmGrainData conversions, had no perf regressions, this commit reverts back to that behavior.
The asm changes were reverted with git checkout main -- src/x86/* src/arm/*, where main is bb68fb8.
I'm doing this as a follow-up PR after all of the intermediary ones to avoid a ton of merge conflicts.  So once this is approved, I can merge all of the PRs up to and including this one.
dav1d Alignment Bug Fix
This PR also fixes a alignment bug in dav1d surfaced/triggered by this asm reversion, which places Dav1dFilmGrainDatas on the stack in a different place (i.e. alignment) than e27877e5f did.
x86 asm uses psrad on a pointer to Dav1dFilmGrainData::ar_coeff_shift.  When psrad's shift operand is a memory address, i.e. a XMMWORD PTR`, it loads 128 bits from it, shifts by the lower 64 bits, and requires the 128 bits to be 128-bit/16-byte aligned.
Previously, and still in dav1d, ar_coeff_shift is only 8-byte aligned, as is Dav1dFilmGrainData.  However, in dav1d, Dav1dFilmGrainData is part of Dav1dFrameHeader, which is allocated with malloc.  malloc happens to return 16-byte aligned pointers usually, but is not required to, so this is UB and will segfault if not aligned.
Due to the Rav1dFilmGrainData to Dav1dFilmGrainData conversion done now, the Dav1dFilmGrainData is stored on the stack, and often will not be 16-byte aligned, and thus will often segfault.
To fix this, ar_coeff_shift must be 16-byte aligned.  This cannot be done only for the field without changing the offsets of
the subsequent fields, however, so we instead align Dav1dFilmGrainData itself with #[repr(align(16))].  ar_coeff_shift is at offset 0xB0/176, which is divisible by 16.
psrad also loads a full 128 bits, not just the 64 bits of ar_coeff_shift, even if it doesn't read them, so we must ensure that the following 64 bits are also deferenceable.  They indeed are in dav1d, but we must be careful, as ar_coeff_shift being the last field would read 8 bytes out of bounds and be UB.
Note that this bug fix comes before the next commit, which actually triggered the bug due to putting Dav1dFilmGrainData on the stack and at a slightly different spot than previously.  However, this was always a bug and UB all along, just not triggered by a segfault yet.  Putting this bug fix commit first means all the commits will continue to pass all tests.

BTW, I believe the alignment issue may arise only on older 32-bit systems. Alignment requirements have been relaxed over time but I don't quite remember when that happened.

Ahh.  I've been testing on aarch64-unknown-linux-gnu through qemu; would I run into 32-bit things?


Expose bits_per_coded_sample on VideoCodecContext

Great to see someone taking up the torch.
bits_per_coded_sample needs to be set when decoding qtrle frames.
PR for issue https://github.com/PyAV-Org/PyAV/issues/1162

:+1:


Idea: CloudError subclasses

It would be very nice to have concrete CloudError subclasses for the various errors Azure spews out, instead of everything being CloudError.
Currently, to handle a particular error type you need to do something awkward like
try:
    self.compute_client.virtual_machines.get(...)
except CloudError as ce:
    if ce.error.error == 'ResourceNotFound':
        # ... process resource not found...
    else:
        raise  # some other error...

while you could do
try:
    self.compute_client.virtual_machines.get(...)
except ResourceNotFound:
    # ... process resource not found...

instead.
Some technical notes/thoughts:

I'd probably steer away from magic such as generating these exception classes at runtime, because that tends to just confuse static analysis and IDEs.
Generating an exceptions.py sort of file for each service should be easy, since the it seems the various error codes are well-known, see e.g. here.
Call sites raising CloudError won't need to be modified, since __new__ magic could be added to CloudError; that is, raising a CloudError could actually end up raising a more specific subclass thereof. For a less magical (Explicit Is Better Than Implicit) approach, though, raise CloudError.from_response(resp) could also work.

That's an excellent question. Current SDKs are generated from Autorest and Swagger files. I think some people have thought about adding some explicit metadata in the Swagger, to allow this, but I don't know the details yet.
May I ask you to open an Autorest bug directly with the exact same message? You could just add a final sentence to say it's not Python specific (but they will get it anyway).
https://github.com/Azure/autorest/issues
FYI @johanste

Done deal (https://github.com/Azure/autorest/issues/2998).


Lots of  comments in generated code

When I inspect the generated code in Chrome or Safari (both macOS) I see lots of <!----> comments. Why is that?
I use lit-html with this simple import in a single-file toy project:
<script type="module">
import {html, render} from "https://unpkg.com/lit-html?module";
...
</script>

See https://github.com/Polymer/lit-element/issues/249

This is fundamental to how lit-html works, and cannot change. It should not cause any problems.

@justinfagnani Can you clarify if this may change when the new templating related spec is implemented in browsers? I agree it generally causes no problems, though no idea how it may impact e2e testing in any way.
I guess it's more an unpleasant sight than a problem.


add unit service in systemd timer

adding the service, for the timer call

Thanks. Though, this is not needed.


Support weight of 0 for upstreams

When rolling out in a staged fashion it is useful to have a backend with a 0 weight (defined but not accepting traffic)
Reproduction Steps:

add a service with two backends
set one to 0 the other to 100 (for instance)
push traffic to the service

Expected behavior:
The backend with weight 0 should get no traffic, the backend with 100 should get all and no errors appear in the log.
Observed behavior:
Error in the log :
error: invalid backend, weight 0 given
message: Could not elect one upstream
Janus version: 3.6.0
OS and version: Linux, ubuntu 16.04

Solved on #292


Use monomorphic let constraints instead of def

This PR implements let_mono constraints in place of def and monomorphic predicates. One test is currently failing - @frank-emrich, can you take a look and tell me your thoughts? I had to comment out an assertion in Unifier, line 108. Apparently in some situations we are attempting to skolemize monomorphic variables. I haven't investigated yet but we need to take a look at this since it might indicate a bug. Overall constraint generation code in the client got significantly shorter, which is a huge improvement. There's no extra complexity in the solver itself, though obviously some changes were required.

I haven't looked at the code yet, but here are some questions:

Currently f receives a type scheme forall a. a -> a and we enforce correct behaviour by monomorphising quantifier a, which prevents it from being instantiated with a polymorphic type. This works as intended but is not correct since f should not be generalised at all.

One way of looking at it, though, is that we can generalize f and then immediately instantiate those quantifiers we just generalized with fresh monomorphic unification variables.

expression M is allowed to have a polymorphic type, in which case any top level quantifiers should not be monomorphised.

This makes it seem like we currently track for quantifiers whether they are monomorpic or polymorphic. This shouldn't be necessary, as quantified type variables should always be considered polymorphic. In other words, use sites determine whether quantified variables should be instantiated monomorphically or polymorphically.

However, implementing the above leads to problems with unbound unification variables, as originally speculated in #24. These are manifested in the failure of nested_forall_inst_3, which produces:

I dont understand the expected result type ∀ a. a → a for nested_forall_inst_3. Why is it polymorphic? I vaguely remember that the implemenation generalizes everything at the toplevel. But does this generalization obey the value restriction or not? If it does, then the expected type should just be a -> a for some monomorphic, but otherwise unconstrained type variable a.
But in any case, there is definitely something wrong with the generated System F term, it should be using type variable 61 throught, as you've done in your corrected version (I assume the few occurences of 55 that are left in your corrected version were also meant to be 61s). This should be independent from whether or not there is a  Λ61 at the outermost level or not, so it's not really affected by my earlier question about toplevel generalization

I haven't looked at the code yet, but here are some questions:

Currently f receives a type scheme forall a. a -> a and we enforce correct behaviour by monomorphising quantifier a, which prevents it from being instantiated with a polymorphic type. This works as intended but is not correct since f should not be generalised at all.

One way of looking at it, though, is that we can generalize f and then immediately instantiate those quantifiers we just generalized with fresh monomorphic unification variables.

expression M is allowed to have a polymorphic type, in which case any top level quantifiers should not be monomorphised.

This makes it seem like we currently track for quantifiers whether they are monomorpic or polymorphic. This shouldn't be necessary, as quantified type variables should always be considered polymorphic. In other words, use sites determine whether quantified variables should be instantiated monomorphically or polymorphically.

However, implementing the above leads to problems with unbound unification variables, as originally speculated in #24. These are manifested in the failure of nested_forall_inst_3, which produces:

I dont understand the expected result type ∀ a. a → a for nested_forall_inst_3. Why is it polymorphic? I vaguely remember that the implemenation generalizes everything at the toplevel. But does this generalization obey the value restriction or not? If it does, then the expected type should just be a -> a for some monomorphic, but otherwise unconstrained type variable a.
But in any case, there is definitely something wrong with the generated System F term, it should be using type variable 61 throught, as you've done in your corrected version (I assume the few occurences of 55 that are left in your corrected version were also meant to be 61s). This should be independent from whether or not there is a  Λ61 at the outermost level or not, so it's not really affected by my earlier question about toplevel generalization

This makes it seem like we currently track for quantifiers whether they are monomorpic or polymorphic.

This is exactly how things work at the moment. For example if we have let f = id id in f ~id we infer the type of f to be forall a. a -> a and mark quantifier a as being monomorphic. I realize this isn't exactly how we specified things in the PLDI paper but I believe the end result is the same.

I dont understand the expected result type ∀ a. a → a for nested_forall_inst_3. Why is it polymorphic? I vaguely remember that the implemenation generalizes everything at the toplevel.

Yes, correct. In the test specification I write [∀ a.] a → a, where square brackets indicate that the quantifier comes from top-level generalisation. I forgot to put the brackets it in this case. This is now fixed.

But does this generalization obey the value restriction or not?

I changed it today to obey the value restriction, but at the moment this doesn't lead to any noticeable differences due to the way we handle monomorphic lets, described above.
I will merge this PR now since it achieves the main goal of eliminating def constraints and correctly implementing the value restriction using monomorphic lets. I will leave the task of changing the internal behaviour of monomorphic lets for the future.

This makes it seem like we currently track for quantifiers whether they are monomorpic or polymorphic.

This is exactly how things work at the moment. For example if we have let f = id id in f ~id we infer the type of f to be forall a. a -> a and mark quantifier a as being monomorphic. I realize this isn't exactly how we specified things in the PLDI paper but I believe the end result is the same.

I dont understand the expected result type ∀ a. a → a for nested_forall_inst_3. Why is it polymorphic? I vaguely remember that the implemenation generalizes everything at the toplevel.

Yes, correct. In the test specification I write [∀ a.] a → a, where square brackets indicate that the quantifier comes from top-level generalisation. I forgot to put the brackets it in this case. This is now fixed.

But does this generalization obey the value restriction or not?

I changed it today to obey the value restriction, but at the moment this doesn't lead to any noticeable differences due to the way we handle monomorphic lets, described above.
I will merge this PR now since it achieves the main goal of eliminating def constraints and correctly implementing the value restriction using monomorphic lets. I will leave the task of changing the internal behaviour of monomorphic lets for the future.


Added repositories module

Added Repositories module to get all repos of given User.

Sorry Bhaiya, I made a small mistake.


repo、category page progressive load app data

repo、category page progressive load app data

solved #231


Spark + Scala rdd returns same message

Hi,
I have downloaded this Ch2_002/HMB_1.bag from Udacity and used https://github.com/valtech/ros_hadoop/blob/master/src/main/scala/Main.scala to generate idx.bin file.
This is my scala program.
Trying to generate rdd from the bag file and printing first 20 messages. Seems like all the messages are same.
I can't use python in my project for some reasons.
Thanks

On further analysis, when I use RosbagBytesInputFormat instead of RosbagMapInputFormat I am seeing different results.
But I am not sure how do I decode the values.
Is there a method to decode those values.
Tried
def hex2string(hex: String): String = {
    hex.split(" ").map(Integer.parseInt(_, 16).toChar).mkString
  }

But It's not decoding it completely.

and I have tried this below snippet to decode the value.
Used RosbagParser present in this repo.
 p.take(1).foreach{
      case (k,v) => {
        val value = ByteBuffer.wrap(v.getBytes)
        val parser = new RosbagParser(value)
        println(parser.read_header())
      }
    }

and I am getting BufferUnderflowException.

Related issue #16
ROS software has to be installed on all nodes because the parsing and processing of all possible ROS messages happens on each node in parallel.

Sure. I will install the ros and try again . If you could give me the
snippet in Scala to retrieve the messages n bag , that would be great .
Thanks for ur help.
On Fri, Jan 4, 2019 at 12:28 AM Jan Wiegelmann<EMAIL_ADDRESS>wrote:

Yes ROS is needed to decode the ROS messages.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/valtech/ros_hadoop/issues/17#issuecomment-451382673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACeJMHClW8x0YZACzzehjaCPE_vomRtrks5u_xC3gaJpZM4ZnG_w
.

--
Regards,
Iniyan P

Decoding ROS messages works as implemented only in the ROS supported languages C++ and Python.


added tests and some more stuff

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


The installation is failing on windows, may be because it's not been tested i believe.

I have the gcc properly installed. But looks like there seems to be an issue while installing go-sqlchiper. Has anyone tried to install the new release on windows yet. Any help is greatly appreciated. Thanks
go get github.com/xeodou/go-sqlcipher
github.com/xeodou/go-sqlcipher
....\workspace\src\github.com\xeodou\go-sqlcipher\sqlite3-binding.c:18280:26: fatal error: openssl/rand.h: No such file or directory
#include <openssl/rand.h>
^
compilation terminated.

hi,
I got the same error.
You can download openssl from here http://slproweb.com/products/Win32OpenSSL.html
Notice: You need download the full version
1.)After that go to this path ->C:\OpenSSL-Win32\include
and copy openssl folder and place it to C:\TDM-GCC-64\include\    if you are using TDM-GCC
2.)Rename these two file libeay32.a and libeay32.def will be present at   C:\OpenSSL-Win32\lib
to libcrypto.a and libcrypto.def
and place libcrypto.a and libcrypto.def to C:\TDM-GCC-64\lib\
Then do go get github.com/xeodou/go-sqlcipher
you wouldn't get any error

This is what I got:
# github.com/xeodou/go-sqlcipher
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcrypto
collect2.exe: error: ld returned 1 exit status

Hi,
I got the same error, and followed the steps above.
This is what I got :
d:\develop\go\src>go get github.com/xeodou/go-sqlcipher
github.com/xeodou/go-sqlcipher
d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: skipping incompatible d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-m
ingw32/5.1.0/../../../../lib/libcrypto.a when searching for -lcrypto
d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: skipping incompatible d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-m
ingw32/5.1.0/../../../../lib\libcrypto.a when searching for -lcrypto
d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: skipping incompatible d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-m
ingw32/5.1.0/../../../libcrypto.a when searching for -lcrypto
d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: skipping incompatible d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-m
ingw32/5.1.0/../../..\libcrypto.a when searching for -lcrypto
d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: skipping incompatible d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-m
ingw32/5.1.0/../../../../lib/libcrypto.a when searching for -lcrypto
d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: skipping incompatible d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-m
ingw32/5.1.0/../../../libcrypto.a when searching for -lcrypto
d:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: cannot find -lcrypto
collect2.exe: error: ld returned 1 exit status
Maybe it is trying to compile for 64bit while having a 32bit library?

you are Right about compile for 64bit while having a 32bit library.
Please tying go1.7 32 bit
please do not forget to follow the steps i mentioned above.
If still not able compile please feel free to mail me<EMAIL_ADDRESS>

But I need to build 64bit program. How can I do?

Hi Jin ,
I would suggest you use this PKG
https://github.com/mutecomm/go-sqlcipher
Thanks and Regards
Vijay Kumar Giri
On Wed, Jan 18, 2017 at 1:49 PM, Jin<EMAIL_ADDRESS>wrote:

But I need to build 64bit program. How can I do?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/xeodou/go-sqlcipher/issues/1#issuecomment-273411614,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOWz0-wEcWzRLnyTKxr2IkLgp_8x_g--ks5rTcstgaJpZM4JTDbJ
.

@vijaygiri10
That PKG has a bad performance problem and the xeodou's works very well.I just have to solve the issue of compilation on windows.😁

Now I stuck there:
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xd8b): undefined reference to __imp_GetDeviceCaps' C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xdb8): undefined reference to __imp_CreateCompatibleBitmap'
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xdce): undefined reference to __imp_GetObjectW' C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xe91): undefined reference to __imp_GetDIBits'
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xf20): undefined reference to `__imp_DeleteObject'

I tried in GO 1.6 32bit (windows10,windows7 64 bit OS)
You can download openssl from here http://slproweb.com/products/Win32OpenSSL.html
Rename these two file( libeay32.a) and (libeay32.def) to libcrypto.a and libcrypto.def
These two file( libeay32.a) and (libeay32.def)  will be present at where you install openssl.
For me it is ->C:\OpenSSL-Win32\lib\
When you rename above file, please place them to C:\TDM-GCC-64\lib\
Then do go get github.com/xeodou/go-sqlcipher
you wouldn't get any error
Thanks $ Regards

I figure out it.
I modified the sqlite3_windows.go and added '-lgdi32' behind the LDFLAGS.
Then I recompiled the libcrypto.a of OpenSSL 64bit and put it into C:\TDM-GCC-64\lib.

If you want to build 32bit binary with 64bit go compiler and TDMGCC. Just recompile a 32bit  libcrypto.a from OpenSSL. Then put it into C:\TDM-GCC-64\lib. DO NOT USE the distribution of  http://slproweb.com/products/Win32OpenSSL.html, that doesn't work. And don't use the OpenSSL of 1.1.x version. Because that's not compatible with old version.

See Issue #5 I've written a complete complication manual for how to compile on Windows 64bit. I do have to submit a PR for a minor change. Also this manual should probably go in some README or something. But first check it out and verify it also works on your environment.

That's great. Well done!


Duplicated content

l2bridge section duplicated on the page
https://docs.microsoft.com/en-us/virtualization/windowscontainers/container-networking/network-drivers-topologies

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

ID: 556473c3-3630-dc56-caad-a3d72d34e9e1
Version Independent ID: 560ad6ca-e017-db71-4605-a73e9f1b8aed
Content: Windows container networking
Content Source: virtualization/windowscontainers/container-networking/network-drivers-topologies.md
Service: windows-containers
Product: windows-containers
GitHub Login: @JMesser81

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Language model unavailable

Copilot Chat Extension Version:
VS Code Version:
OS Version:
Logs:

Steps to Reproduce:

Duplicate of https://github.com/microsoft/vscode-copilot-release/issues/2116


problem " go  get " impossible install cointop on windows 10

C:\Windows\system32>go get -u github.com/miguelmota/cointop
go: downloading golang.org/x/sys v0.0.0-20210921065528-437939a70204
go get: installing executables with 'go get' in module mode is deprecated.
Use 'go install pkg@version' instead.
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
C:\Windows\system32>
I used " go install github.com/miguelmota/cointop@latest
and is not working.
have an idea?

What happens with "not working"?   Does the command complete?  What is the output?
How do you attempt to start cointop afterwards?
I don't have windows, and don't know golang, but this appears to work OK on mac.  From a machine with no golang installed at all:
  501  brew install go
  502  export GOPATH=$HOME/golang
  503  export GOROOT=/usr/local/opt/go/libexec
  504  export PATH=$PATH:$GOPATH/bin
  505  export PATH=$PATH:$GOROOT/bin
  506  go install github.com/miguelmota/cointop@latest
  507  ./golang/bin/cointop

Is the place where "go install" put your cointop binary part of your path?

You don't have to install it into system32, just clone the project, have GOPATH in PATH of Windows, then go to the repository and use go install

C:\Windows\system32>go get -u github.com/miguelmota/cointop go: downloading golang.org/x/sys v0.0.0-20210921065528-437939a70204 go get: installing executables with 'go get' in module mode is deprecated. Use 'go install pkg@version' instead. For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.
C:\Windows\system32> I used " go install github.com/miguelmota/cointop@latest and is not working. have an idea?

just type:
go install github.com/cointop-sh/cointop@latest


zipkin ui refresh request again response no anything

docker-zipkin version:2.12.5
docker-zipkin version : 2.11.12 is ok. other version not test
deploy env: kubernetes v1.13.1
simple deploy yaml:
env:
            - name: "STORAGE_TYPE"
              value: "elasticsearch"
            - name: "ES_HOSTS"
              value: "http://<IP_ADDRESS>:9200"
            - name: "ES_MAX_REQUESTS"
              value: "64"
            - name: "ES_INDEX"
              value: "rdc_cloud_zipkin_trace"
            - name: "ElasticsearchStorage.Builder.index"
              value: "rdc_cloud_zipkin_trace"
            - name: "ES_DATE_SEPARATOR"
              value: "."
            - name: "ElasticsearchStorage.Builder.dateSeparator"
              value: "."
            - name: "ES_INDEX_SHARDS"
              value: "5"
            - name: "ES_INDEX_REPLICAS"
              value: "1"
            - name: "KAFKA_BOOTSTRAP_SERVERS"
              value: "<IP_ADDRESS>:9092,<IP_ADDRESS>:9092,<IP_ADDRESS>:9092"
            - name: "KAFKA_TOPIC"
              value: "rdc_cloud_zipkin_trace"
            - name: "KAFKA_GROUP_ID"
              value: "rdc_cloud_zipkin_trace_zipkin_group"
            - name: "QUERY_PORT"
              value: "9411"
            - name: "ZIPKIN_UI_DEPENDENCY_LOW_ERROR_RATE"
              value: "0.3"
            - name: "ZIPKIN_UI_DEPENDENCY_HIGH_ERROR_RATE"
              value: "0.75"
            - name: "ZIPKIN_UI_LOGS_URL"
              value: "http://devcloud.i139.cn/kibana/app/kibana#/discover?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-7d,mode:quick,to:now))&_a=(columns:!(_source),index:'b7e371c0-4638-11e9-bad2-61d86dd48551',interval:auto,query:(language:lucene,query:'{traceId}'),sort:!(timestamp_millis,desc))"
            - name: "JAVA_OPTS"
              value: "-Xms1G -Xmx1G -Dlogging.level.zipkin=WARN -Dlogging.level.zipkin2=WARN"

First request zipkin ui every thing is OK.

But when refresh zipkin ui in chrome browser, chrome browser print no thing,however the response is 200, And use curl http://zipkin-ui-url:9411 response normal data forever:

cc @anuraaga @trustin the http 200 with zero data sounds dubious but not sure if that is directly from the server or from k8s.
I will look into this tonight. hopefully can be reproducable outside k8s if only docker.
If anyone has armeria troubleshooting tips for dubious http responses.. like log categories etc please pass them.

I'm seeing this issue too.  I see it both with Zipkin running locally on Docker and also with Spring Sleuth's demo instance https://docssleuth-zipkin-server.cfapps.io/zipkin/

The issue seems to start in version 2.12.4.  It affects both 2.12.4 and 2.12.5.  Rolling back to version 2.12.3 of the Docker image fixes the issue for me.

the main change was switch to armeria library for http routing. I maybe
created a bug here.
I will investigate tonight and thanks for checking. it is good that it is
reproducible outside k8s

verified I get the white screen using latest zipkin (built from master) just by clicking refresh cc @tacigar

it doesn't matter whether it is classic or lens btw

the workaround right now is to do force reload. I'm looking into this.

There is a bug in cache control handling. The server should be returning 304, but it is returning 200
Ex.
$ curl -H'If-None-Match: "7mC/RgQ/AWmBfiYQ"' localhost:9411/zipkin/ -v
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9411 (#0)
> GET /zipkin/ HTTP/1.1
> Host: localhost:9411
> User-Agent: curl/7.54.0
> Accept: */*
> If-None-Match: "7mC/RgQ/AWmBfiYQ"
>
< HTTP/1.1 200 OK
< date: Fri, 15 Mar 2019 13:21:35 GMT
< last-modified: Fri, 15 Mar 2019 13:15:22 GMT
< etag: "7mC/RgQ/AWmBfiYQ"
< content-type: text/html
< cache-control: max-age=60
< content-length: 0
<
* Connection #0 to host localhost left intact

I think I found the bug

https://github.com/openzipkin/zipkin/pull/2445 will fix this

2.12.6 on the way. thanks for the bug reports and sorry I made this bug

ok I verified it is good with docker now

Thanks @adriancole.  The fix in 2.12.6 is working for me.

good to hear @msmsimondean !


disable_rlc_component is not working

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
I am trying to disable a RLC component. The method returns true but the component still is enabled.
r = edbapp.core_components.disable_rlc_component("C3")
My goal is to disable any component Resistor, Inductor, capacitor, IC, IO, Other. But for now I am using this as this is the only API I could find.

Steps To Reproduce
open EDB
disable a component
Save EDB and open in ansysedt
Which Operating System are you using?
Linux
Which Python version are you using?
3.10
Installed packages
NA

BTW This works but please fix the EDB and also have this feature in EDB
h3d.modeler.components["C1"].enabled = False

@vishak-venkatraman have you tried:
edbapp.core_components.deactivate_rlc_component(component_name)
the disable_rlc_component disable the R, L or C values

@vishak-venkatraman I've added a property is_enabled to the components in Edb with getter and setter

@maxcapodi78
1.
edbapp.core_components.deactivate_rlc_component(component_name)
Is not working. I see a warning but when I open the edb I see them as enabled.
pyaedt WARNING: RLC properties for Component C1 has been assigned.
pyaedt WARNING: RLC properties for Component C2 has been assigned.

I don't see a way in this API to disable only R, or only L or only C from the code
r = edbapp.core_components.disable_rlc_component("C3")
It seems to disable all of them

But even that doesn't work.

@vishak-venkatraman  you are right. There was a bug that I've fixed in 0.6.70. and I've added also the getters and setters
edb.components.instances["C1"].is_enabled = False

Implemented in v0.6.71


intersect_ray() ignores any TileMap cells with collision polygons after a call to TileMap.set_cell()

Godot version: 3.2
OS/device including version: Manjaro Linux 18.1.5
Issue description: If you change a cell (on a TileMap) from a tile with collision polygon to a tile without collision polygon, the next call to Physics2DDirectSpaceState.intersect_ray() will not collide with any TileMap cells. This only happens if a call to intersect_ray() is made during next _physics_process tick right after set_cell() call had happened on a _process() tick.

I believe it is a regression, since this does not happen on version 3.1.2.
Steps to reproduce:

During _process() tick, call TileMap.set_cell() and change a cell from a tile with collision polygon to a tile without.
On the next _physics_process() tick, call Physics2DDirectSpaceState.intersect_ray() directed at a TileMap cell with a collision polygon.

Minimal reproduction project:
ReproductionProject.zip

Hey, I think I have got same error happening. Is there an update on this? or a workaround?

@Crare, I'm doing TileMap operations on physics tick as a workaround:
`func destroy_tile(world_pos: Vector2, destroy_all: bool = false) -> bool:
var tile_idx := world_to_map(world_pos)
if not destroy_all and get_cell(int(tile_idx.x), int(tile_idx.y)) == TILE_WALL_INDESTRUCTIBLE:
return false
## Workaround Godot issue #35725
#set_cell(int(tile_idx.x), int(tile_idx.y), TILE_FLOOR)
_destroy_tile_queue.append(tile_idx)
return true
Workaround Godot issue #35725
func _physics_process(delta: float) -> void:
if not _destroy_tile_queue.empty():
for tile_idx in _destroy_tile_queue:
set_cell(int(tile_idx.x), int(tile_idx.y), TILE_FLOOR)
_destroy_tile_queue.clear()
`
I think you may also try calling TileMap.update_dirty_quadrants ( ) after attempted changes.

I bisected the regression, it's caused by #29951. CC @raphael10241024 @pouleyKetchoupp
commit 434fd71d2a4b69f576362c3a9baa5b39db009d31
Author: yakun.zhang<EMAIL_ADDRESS>Date:   Fri Jun 21 19:33:01 2019 +0800

    add 2d physic optimization simlilar to 3d physics

Now, regardless of this issue, if you update the tilemap and expect to do physics-based tests after this, you should do your tilemap update logic in _physics_process. Even there, you should be aware that any changes done to physics (like adding/removing colliders as done here) will only take effect in the next iteration - but it's wrong here that the whole collision shape becomes inactive instead of keeping its pre-removal state.

I bisected the regression, it's caused by #29951. CC @raphael10241024 @pouleyKetchoupp
commit 434fd71d2a4b69f576362c3a9baa5b39db009d31
Author: yakun.zhang<EMAIL_ADDRESS>Date:   Fri Jun 21 19:33:01 2019 +0800

    add 2d physic optimization simlilar to 3d physics

Now, regardless of this issue, if you update the tilemap and expect to do physics-based tests after this, you should do your tilemap update logic in _physics_process. Even there, you should be aware that any changes done to physics (like adding/removing colliders as done here) will only take effect in the next iteration - but it's wrong here that the whole collision shape becomes inactive instead of keeping its pre-removal state.


Popover: isNonModal does not disable focus trapping

Provide a general summary of the issue here
The isNonModal prop is described as follows:
Whether the popover is non-modal, i.e. elements outside the popover may be interacted with by assistive technologies.
However, when using the prop, only scrolling is enabled. Tabbing outside of the popover is not possible (it traps the focus), since the focus trapping seems to be handled by the Dialog component, which we use inside the Popover.
Either the prop description is vague, or the behavior should be changed (isNonModal should perhaps disable the focus trapping of the child Dialog)
🤔 Expected Behavior?
explained in description
😯 Current Behavior
explained in description
💁 Possible Solution
No response
🔦 Context
No response
🖥 Steps to Reproduce
Create a Popover, add a Dialog in it, and use isNonModal prop. Try tabbing outside the element
Version
1.0.0-rc.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
macos sonoma
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Mind expanding on your use case here? I think having the popover's isNonModal setting turn off focus containment for child components could make sense in very specific use cases but typically Dialogs should contain focus except when using a global keyboard shortcut in non-modal Dialogs.


Image component prevents ListView to render

When using an Image component inside a ListView to render a series of items, I pass an image URL to the source uri prop:
<Image source={{uri: rowData.media}} resizeMode='cover' style={styles.image} />

rowData.media being https://www.meneame.net/backend/media?type=link&id=2426367. However, if I use our Thumbor server to generate thumbnails based on the previous image URL, the ListView doesn't even render. The Thumborized URL is: http://thumbor.eduherraiz.com/unsafe/750x310/www.meneame.net/backend/media?type=link&id=2426126.
Does anyone know how can this happen?

Do you mean it is working when using https://www.meneame.net/backend/media?type=link&id=2426367, but it is not working when using http://thumbor.eduherraiz.com/unsafe/750x310/www.meneame.net/backend/media?type=link&id=2426126?
I found I can't reproduce this. I tried the latter URI in my listview component, it works correctly.
Did you set the style props to your Image?

Yes @lazywei , that's what I meant. The style props were correctly set but the issue was when composing the image URL. The API was returning an entry without image and the URL generation was breaking but I couldn't see any errors in the console. Enabling Pause On Caught Exceptions in Google Chrome helped me to find the bug.
Thanks for helping me!


Scoreboards show up for everyone, not just yourself.

Jobs 3.9.4
@Zrips Typing /jobs top <job>  pops up a scoreboard for everyone online, not just yourself.

Confirmed

also is stays up forever and it won't go away

+1

+5


Made loader icon background transparent

Made loader icon background transparen

Fixes Issue #73

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

ok this works!


cuda/cuda_config.h missing when compiling custom ops with nvcc

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes, see below.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 16.04
TensorFlow installed from (source or binary):
Source
TensorFlow version (use command below):
v1.3.0-0-g9e76bf324 1.3.0
Python version:
3.5.2
Bazel version (if compiling from source):
0.5.4
CUDA/cuDNN version:
8.0.44 / 5.1.5
GPU model and memory:
Any.
Exact command to reproduce:
See below.

Describe the problem
When compiling a custom op using nvcc, which includes tensorflow/core/util/cuda_kernel_helper.h, I get the following error:
/usr/local/cuda-8.0/bin/nvcc -c -o ~/Code/libspn/build/ops/gather_columns_functor_gpu.cu.cc.o ~/Code/libspn/libspn/ops/gather_columns_functor_gpu.cu.cc -std=c++11 -x=cu -Xcompiler -fPIC -DGOOGLE_CUDA=1 --expt-relaxed-constexpr -I ~/.local/lib/python3.5/site-packages/tensorflow/include -gencode=arch=compute_35,"code=sm_35,compute_35" -gencode=arch=compute_52,"code=sm_52,compute_52" -gencode=arch=compute_61,"code=sm_61,compute_61"
In file included from ~/.local/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/platform/default/stream_executor.h:26:0,
                 from ~/.local/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/platform/stream_executor.h:24,
                 from ~/.local/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h:26,
                 from ~/Code/libspn/libspn/ops/gather_columns_functor_gpu.cu.h:11,
                 from ~/Code/libspn/libspn/ops/gather_columns_functor_gpu.cu.cc:5:
~/.local/lib/python3.5/site-packages/tensorflow/include/tensorflow/stream_executor/dso_loader.h:32:30: fatal error: cuda/cuda_config.h: No such file or directory
compilation terminated.

Copying cuda_config.h to /site-packages/tensorflow/include/tensorflow/stream_executor/cuda solves the problem.
The same issue has been observed by several other users in #6602 (see the comments added after the issue was closed).

the same problem, I want to know if there is any better way to solve this problem

@allenlavoie, have you looked at this as part of your library cleanup?

I haven't. I may have run into it when I was following our custom op documentation. It sounds like worst case we could add a copy in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/pip_package/build_pip_package.sh ? Or maybe a genrule before that.

I have the same problem while compiling with nvcc. Also is because tensorflow/core/util/cuda_kernel_helper.h was included.

The commit 2c598e874e6a7b6b3185846ce9bac97a7d5d0169 destroys my makefile, too. This commit changed consists of several
-#include "third_party/gpus/cuda/include/cuda.h"
+#include "cuda/include/cuda.h"

giving the exact same error message:
../site-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h:28:80: fatal error: cuda/include/cuda.h: No such file or directory
compilation terminated.

compiling user-ops with GPU does not work since 1.3.1.
Does anybody know where tensorflower-gardener currently lifes? He is the guy who usually introduces the breaking changes!

@PatWie +1
I encounter this problem when build android tensorflow_demo, giving the following error message:
tensorflow/core/kernels/lrn_op.cc:34:10: fatal error: 'cuda/include/cuda.h' file not found

With TF 1.3, I only find cuda_config.h missing, but when compiling against current master 1.4-rc0/1, I also additionally get:
tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h:24:31: fatal error: cuda/include/cuda.h: No such file or directory
compilation terminated.

I also encounter the same problem.
/usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/stream_executor/dso_loader.h:32:30: fatal error: cuda/cuda_config.h: No such file or directory

I also encounter this problem in TF 1.4.0, any clue ?

Also stucking on this problem in TF 1.4.0...

@CR-Ko Downgrading to 1.2.0 "solved" the issue for me

Any other workarounds for this besides downgrading?

Downgrading "solution" will cause incompatibility with cudnn. You also need to downgrade cudnn.@nikste
Could installing from source solve this problem?@pronobis@PatWie

No change here. I currently stick to TF1.2 compiled from source (I always compile the library from source). It is frustrating. @allenlavoie or @aselle can you give us at least a hint.
This is a MWE for v1.2 for reproducing the error. It works under TF1.2 but not TF1.4.

@Queequeg92 installing from source did not fix the problem, ended up manually adding directories to .h files as additional include directories and copying cuda_config.h from source to my project.

It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

I solved this problem by commenting the line *** #include "cuda/cuda_config.h" *** in the "dso_loader.h" file. And the custom op works normally.

@Queequeg92
The cuda.h is part of the cuda toolkit or whatever Nvidia ships. It is not part of TensorFlow, that is what the lines
# use cuda
find_package(CUDA 9.0 EXACT REQUIRED)
set(CUDA_SAMPLE_INC "${CUDA_INCLUDE_DIRS}/../samples/common/inc")
message(STATUS "CUDA_INCLUDE_DIRS: ${CUDA_INCLUDE_DIRS}")
include_directories(SYSTEM "${CUDA_INCLUDE_DIRS}/../../")

are for. But the latest version of TF is broken again (https://github.com/tensorflow/tensorflow/issues/15002#issuecomment-362663624)


Add link for AsciiDoc

More and more developers switch from Markdown to AsciiDoc. The badge should offer an alternative link for embedding the report into AsciiDoc documents.

@bmuschko sorry, could you give some examples? I've never heard of this before.

AsciiDoc is a markup language like Markdown but more powerful. You can find more information on the usage + examples in the AsciiDoc Writer’s Guide. Let me know if you need anything else.


Authentication Algorithm and Encryption Cipher Algorithm

I want to configure a connection to the server with a router (firmware Andy Padavan  rt-n56u)
What types "Authentication Algorithm" and "Encryption Cipher Algorithm:" is used in this openvpn configuration?

Defaults are:
OpenVPN 2.3 - SHA1 HMAC authentication and BF-CBC cipher
OpenVPN 2.4 - SHA1 HMAC authentication and AES-256-GCM cipher

Defaults @buchdag mentioned are correct. OpenVPN 2.3 defaults are not secure. OpenVPN 2.4 defaults are reasonable, but can be strengthened if both client and server support the stronger options.
To see supported options for your environment, use the following commands:

Run openvpn --show-ciphers to show all cipher algorithms available for use.
Run openvpn --show-digests to show all message digest algorithms available for use.
Run openvpn --show-tls to show all TLS ciphers (sorted from highest to lowest preference).

For Docker, you'll want to launch an interactive terminal within the container: docker exec -i -t kylemanna/openvpn:latest bin/bash.
If you want more secure defaults (assuming router is fast enough to support strong crypto), you can specify the options you want to be included in the config file. For example:
docker run \
--network=none \
-v $PWD:/etc/openvpn \
--rm -t -i kylemanna/openvpn ovpn_genconfig \
-u udp://your-vpn-address.com \
-C 'AES-256-CBC' \
-a 'SHA512' \
-T 'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256:TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256:TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384:TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384:TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384'

Leave off the -T line if your not familiar with how TLS ciphersuite negotiations work and which suites are better than others. Also see https://github.com/kylemanna/docker-openvpn/blob/master/docs/paranoid.md.


Add latest available version in the API and in the dashboard

Description
Latest available version was added to the the server spec handler response and the same was added to the dashboard component.
Relevant screenshots
Running latest version:

Running outdated version:

Version fetch error:

This PR fixes #1752 and #1753
Notes for Reviewers
This is my first pull request please let me know if everything is alright.
Signed commits

[x] Yes, I signed my commits.

Also, I guess some golang test is failing can you run the golang lint command in local and then check that?

Also, I guess some golang test is failing can you run the golang lint command in local and then check that?
The command can be found in the makefile.

I have fixed that particular issue now.


Docker Image Build fails on Dev compose

Describe the bug
Failed to create a docker image using docker-compose -f docker-compose-dev.yml up -d .
Build fails with error Service 'cueo-backend' failed to build : Build failed
To Reproduce
Steps to reproduce the behavior:

Git clone this repo
Run docker-compose -f docker-compose-dev.yml up -d

Expected behavior
CueO components image to be built successfully and CueObserve to start running on localhost:3000
Additional context
Will add the entire log in the file or snippet below.

Run Command: docker-compose -f docker-compose-dev.yml up -d | tee docker-compose-dev-error.log
docker-compose-dev-error.log

Can't reproduce, try building cueo-backend only:

Go to api directory
Run command docker build -t cueo-backend .

Steps followed
git checkout latest_release
cd api
docker build -t cueo-backend .

Same error is produced.
System : Mac OS x64 i5

Looks like the problem lies in building facebook's prophet once installed via pip (For only Mac users). Prophet internally uses pystan and the problem reciprocates from pystan.
https://github.com/facebook/prophet/issues?q=is%3Aissue+is%3Aopen+mac


Fix release build.

This pull request does the following:

variant_call.cpp: make the members arg_names + return_type also available for the release build.
visual_script_nodes.cpp: move single}outside of the #ifdef DEBUG_ENABLED ... #endif.

This should fix #6134  + #6291.
@reduz please check if this is okay for you.

Looks fine to me.

The changes look ok, but I'd like @reduz to have a look at the VariantCall change before merging, as it changes a code chunk that had not been modified since Feb 2014, so the bug might be in the use of these variables more than their declaration.

The VisualScript code change was obsoleted and now conflicts, could you rebase to keep just the VariantCall fix?

Okay. My git fu leaves me alone...
I will redo the pr. :-|

What would have worked:
git rebase -i HEAD~2
// remove the last commit
// redo the change manually
git add core/variant_call.cpp
git commit -m 'Fix release build with visualscript module`
git push myfork fix_release_build --force

A simple git pull --rebase upstream master + fixing the merge conflict might have worked too, but might need some more git fu or at least experience with conflict resolution :)

@akien-mga Thanks, this will be my first tatoo %-)
My task for tomorrow is... git rebasing
(Schande schande schande ;))


Pass component instance to async import

What problem does this feature solve?
In the context of a multi-tenant site, we import some templates based on the site (we have some site codes) for example:
import config from 'Scripts/config.js';
const HomeSearch = site_code => () => import(`Components/sites/${site_code}/top-nav/home-search.vue` /* webpackChunkName: 'home-search' */);

export default {
  // other stuff
  components: {
    HomeSearch(config.site_code)
  }
}

and in a more complex scenario, reactivity would be awesome.
What does the proposed API look like?
Since that config ends up in vuex at application boot, it would be nice instead of doing that, to do this:
import { mapState } from 'vuex';
const HomeSearch = vm => import(`Components/sites/${vm.site_code}/top-nav/home-search.vue` /* webpackChunkName: 'home-search' */);

export default {
  // other stuff
  computed: {
    ...mapState({ site_code: state => state.config.site_code  }) // or use mapGetters
  },
  components: {
    HomeSearch
  }
}

AFAIK, when saying () => import(...) and passing it to the components: {}, it already receives a couple of arguments so I guess it would be easier if the vm arg would be the third one for backwards compatibility and the end feature request would look like:
const HomeSearch = (a, b, vm) => import(`Components/sites/${vm.site_code}/top-nav/home-search.vue` /* webpackChunkName: 'home-search' */);

or we could define the function classically and bind the component context to it and use this like so:
const HomeSearch = function() { return  import(`Components/sites/${this.site_code}/top-nav/home-search.vue` /* webpackChunkName: 'home' */) };
// or
function HomeBanner() { return  import(`Components/sites/${this.site_code}/content/home-banner.vue` /* webpackChunkName: 'home */) };

I know in my scenario, I could import the vuex store and do it like that, but in general, other vm props or data could be used in that import function.

I really don't have a preference for the implementation, though the arrow function would be cleanest. Maybe some splat operators could work, IDK.

You can actually already do that with a computed property:
asyncComponent() {
	return import(`Components/sites/${this.site_code}/top-nav/home-search.vue`)
}

and then use it in a component's `is attribute:
<component :is="asyncComponent"/>

Awesome!!

@posva please update your code and add () =>  at the return line

no, that's intentional

Well, if I remove the arrow fn, I get errors:

found in

---> <Anonymous>```

console.log returns the object just fine, though:
_Ctor: Object [ VueComponent() ]
__file: "components/sites/snuk/nag-popup-content.vue"
beforeCreate: Array [ makeOptionsHot() ]
beforeDestroy: Array [ makeOptionsHot()]
methods: Object { showJoinUs: mappedAction() }
render: function render()
staticRenderFns: Array [ staticRenderFns() ]
<prototype>: Object { … }

It works without the arrow function if I declare the property as a method, not as a computed property.


#517 nav rail width flexible, smaller master view breakpoint

#517

Please close issue if it works after CI.


Add scorecard analysis workflow

Summary

The motivation for this PR is to make root-signing be warned about supply-chain security issues using Scorecard tool.
The PR adds Scorecard workflow using sigstore/community reusable workflow.
The PR does not add Scorecard badge to README, let me know if you would like that.
Release Note

Config changes: Add Scorecard to warn about root-signing possible security issues
Documentation

None.

I have someone in my account could be the hacker that is looking through my account and closing it. I'll try to send information about to the person is in my account. I will share my information over to get the permit me a call it's in block all the pictures that I will send it to.


Create python snippet list_files_in_current_directory.md

Hi sir!
Thank you, deployed here:
https://onelinerhub.com/python/list_files_in_current_directory


Add Istituto Statale Superiore Ernesto Balducci

Website: https://www.istitutobalducci.edu.it
IT and robotics study plan: https://www.istitutobalducci.edu.it/tecnico-tecnologico/piano-degli-studi

@devneri First stage of verification passed, official domain is istitutobalducci.edu.it as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@devneri Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Not logging values of new variable

If a variable was newly created, we don't log the variable's value.

Fixed in my most recent commit.


Function slice not defined and menu.html is incomplete

First of all, great theme!
I am getting below errors.
chankeypathak@perl:~/Desktop/chankeypathak/test$ hugo server --buildDrafts --theme=hugo-theme-learn --buildDrafts
ERROR: 2016/11/29 15:33:03 template.go:350: template: theme/partials/menu.html:16: function "slice" not defined
ERROR: 2016/11/29 15:33:03 template.go:119: html/template: "theme/partials/menu.html" is an incomplete template in theme/partials/menu.html
1 of 1 draft rendered
0 future content
1 pages created
0 non-page files copied
0 paginator pages created
0 tags created
0 categories created
in 14 ms
Watching for changes in /home/chankeypathak/Desktop/pproj/test/{data,content,layouts,static,themes}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address <IP_ADDRESS>)
Press Ctrl+C to stop

The same problem. Which version of Hugo are you using?

Sorry for the delay, it may be because of Hugo version. This theme needs 0.16+ https://github.com/matcornic/hugo-theme-learn/blob/master/theme.toml#L11

$ hugo version
Hugo Static Site Generator v0.16-DEV BuildDate: 2016-02-06T20:15:56+03:00

The slice function was added in hugo 0.17 so try to use hugo 0.17+. It should work.


add semantic models

resolves #431
Description

Checklist

[ ] I have read the contributing guide and understand what's expected of me
[ ] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[ ] I have run changie new to create a changelog entry

Metrics Page - depends on a semantic model

Semantic Model Page with new Project nav on left

condensed DAG model -> semantic model -> metric

full screen view of above

Added entities


Decode raw txs, not UPort txs

@cag Thanks for creating a PR... but unfortunately I believe you are not running the latest version of the master branch, I have fixed about one month ago the uPort stuff, making it as optional...
See:

Ah nice! I'll close this then


preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

Code of Conduct

[X] I agree to follow this project's Code of Conduct.

Submission validity

[X] This is not a personal support request, that should be posted on discussions community.
[X] I checked current issues and this request isn't a duplicate of an existing issue, opened or closed.

Self troubleshooting

[X] I've read the documentation and made sure to follow it.
[X] I've read the troubleshooting first steps and frequent issues guides.

Version
1.9.2
Description
admin works but when visiting front page then redirect loop and in nginx error log i see this:
PHP message: PHP Deprecated:  preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /usr/local/www/mydomain/http/includes/functions.php on line 1168;
PHP message: PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/mydomain/http/includes/functions-formatting.php on line 519
Expectation
Yourls front page opening
Reproduction steps
Install as usual with nginx, php-fpm and php 8.2.14 on freebsd 13.2
Context
OS: Freebsd 13.2-RELEASE-p9
PHP version: PHP 8.2.14 (fpm-fcgi)
Web server: nginx/1.24.0

Hi. After installing theme i got it working normally. Thank you


Fix navigating store type

to and from were set to string, when in reality it returns a page-store-like object.
Before submitting the PR, please make sure you do the following

[x]  It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x]  This message body should clearly illustrate what problems it solves.
[ ]  Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts

thanks!


fix: add migration for tslint to eslint

Description:
Migration from tslint to eslint.
This is the first step to migrate to eslint, I've not yet removed tslint but will do this after some feedback. I've used the typescript-eslint to preserve existing rules.
Looking forward on your feedback.
Related issue (if exists):
#5078
p.s. probably some CI steps will fail with this change.
cc: @kwonoj @cartant

So I made the changes that where mentioned in the comments. I have two questions remaining the migration.

Should we change the dtslint rule set also?
The lint rule fails atm however the settings are the same. Would you like me to fix them once by running the fix command?

Hi @carant, any updates on this PR?

Hi @cartant, any updates on this PR?

Sorry. I've not had time to look over it; I've had other priorities. Which is not to say that this isn't appreciated. It is and thanks for the time you've put into it. I'll bump it up a bit in my backlog and will try to make some time for it on the weekend.

Sorry. I've not had time to look over it; I've had other priorities. Which is not to say that this isn't appreciated. It is and thanks for the time you've put into it. I'll bump it up a bit in my backlog and will try to make some time for it on the weekend.

HI @cartant, thanks for your reply. Take your time I was just curious what the status was of this PR and If some of the team already had a look.

I'm closing im going to close this one and look if I can retry it with the new changes.


/** enter doesn't work

[Enter steps to reproduce below:]  1. ... 2. ...   I will close this issue because of it's messed up formatting.


d_a_obj_doguu_demo

This is my first time doing anything decomposition related, so let me know if I have anything wrong.

if you matched the file fully (I'm assuming so since you removed the Nonmatching comments), you can mark the file as matching in configure.py so the match gets checked by the build.


Implement class-based API

Fixes #253
This PR implements a class-based API for pandera that is heavily inspired by pydantic.

Codecov Report

Merging #300 into master will increase coverage by 0.67%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #300      +/-   ##
==========================================
+ Coverage   97.74%   98.41%   +0.67%
==========================================
  Files          15       18       +3
  Lines        1372     1707     +335
==========================================
+ Hits         1341     1680     +339
+ Misses         31       27       -4

Impacted Files
Coverage Δ

pandera/io.py
97.82% <ø> (ø)

pandera/__init__.py
100.00% <100.00%> (ø)

pandera/decorators.py
100.00% <100.00%> (ø)

pandera/dtypes.py
96.55% <100.00%> (+2.43%)
:arrow_up:

pandera/model.py
100.00% <100.00%> (ø)

pandera/model_components.py
100.00% <100.00%> (ø)

pandera/schemas.py
97.26% <100.00%> (+0.56%)
:arrow_up:

pandera/typing.py
100.00% <100.00%> (ø)

... and 2 more

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 53f0792...6c03bd4. Read the comment docs.


FAQ: How does cert-manager handle ingresses with valid TLS secrets?

I'm trying to figure out if, when creating an ingress with a reference to a TLS secret that is populated with a valid certificate (hostname matches and date is within the valid from/until range), no attempts are being made to obtain a new certificate.
I am in the process of migrating from one Kubernetes cluster to another. The current cluster is using Traefik 1.7, using Traefik's own ACME resolver. I've written a script that parses the acme.json and generates TLS secrets for usage in my new cluster. All certificates used are Let's Encrypt issued. I'll be using cert-manager for renewing these in my new cluster. Since I'll be spinning up my services on the new cluster before actually changing the DNS, I'm hoping that adding the appropriate TLS secrets for the ingresses will prevent cert-manager from attempting to request Let's Encrypt certificates (given the certificates aren't near their expiration date of course). I haven't been able to validate this from the documentation. So maybe I've missed it, or maybe it's not yet there and it might be worth adding it!
Side note: great work on this piece of software! It's really easy to use and I am particularly happy that you've decided to implement ACME, not hardwire it to Let's Encrypt, since we're using an in-house ACME service of our own 👍

Sorry for the very delayed answer.
In v0.16 the controller will now look at the certificate inside the secret and look at the duration, it will happily "adopt" it as it's own and renews when needed.
A PR to add this to the docs is welcome!
/kind documentation
/priority backlog
/help


Current Exchange Rates

Current Exchange Rates
User Story
AS A person who travels often
I WANT to see the flight information for destination cities
And exchange rates for different currencies
SO THAT I can find a flight
And Plan how much money I will need
Acceptance Criteria
GIVEN an application that provides flight information
AND provides current exchange rates for currencies
WHEN I enter my currency
THEN I am able to select a target currency to retrieve up to date exchange rates

The Forex API has been integrated into the application and provides current exchange rates for the currencies selected.  It will also return a conversion in the target currency for the amount selected.


SyllogisticRules.conditionalDedInd()

A small one this time

Your right - will pull this into Statement for now


Docker image build fail

Greetings.
Thank you very much for your reproduction of the original Dreamver-v2 code in Pytorch, as well as open sourcing it on Github.
I have been looking through various Torch ports of the Dreamer-v2 algorithm for some experiments in my research, and your implementation definitely caught my attention, being very complete.
While I managed to get some the PyDreamer agent run locally using the provided instructions, I encountered a problem during the build of the Docker image I though you might want to know about.
Namely, after executing docker build . -f Dockerfile -t pydreamer, it returns the following error:

(pydreamer) d055@akira:~/random/rl/pydreamer$ docker build . -f Dockerfile -t pydreamer
Sending build context to Docker daemon  330.2kB
Step 1/32 : ARG ENV=standard
Step 2/32 : FROM pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel AS base
 ---> c7e20104018e
Step 3/32 : RUN apt-get update && apt-get install -y     git xvfb python3.7-dev python3-setuptools     libglu1-mesa libglu1-mesa-dev libgl1-mesa-dev libosmesa6-dev mesa-utils freeglut3 freeglut3-dev     libglew2.0 libglfw3 libglfw3-dev zlib1g zlib1g-dev libsdl2-dev libjpeg-dev lua5.1 liblua5.1-0-dev libffi-dev     build-essential cmake g++-4.8 pkg-config software-properties-common gettext     ffmpeg patchelf swig unrar unzip zip curl wget tmux     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 2f7651b27698
Step 4/32 : FROM base AS standard-env
 ---> 2f7651b27698
Step 5/32 : RUN pip3 install atari-py==0.2.9
 ---> Using cache
 ---> f7bc1331fcbb
Step 6/32 : RUN wget -L -nv http://www.atarimania.com/roms/Roms.rar &&     unrar x Roms.rar &&     unzip ROMS.zip &&     python3 -m atari_py.import_roms ROMS &&     rm -rf Roms.rar ROMS.zip ROMS
 ---> Using cache
 ---> 5cd00f9e095d
Step 7/32 : RUN mkdir -p /root/.mujoco &&     cd /root/.mujoco &&     wget -nv https://mujoco.org/download/mujoco210-linux-x86_64.tar.gz -O mujoco.tar.gz &&     tar -xf mujoco.tar.gz &&     rm mujoco.tar.gz
 ---> Using cache
 ---> b1decf2d8fd8
Step 8/32 : RUN pip3 install dm_control
 ---> Using cache
 ---> ab0179162e2a
Step 9/32 : FROM base AS dmlab-env
 ---> 2f7651b27698
Step 10/32 : RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" |     tee /etc/apt/sources.list.d/bazel.list &&     curl https://bazel.build/bazel-release.pub.gpg |     apt-key add - &&     apt-get update && apt-get install -y bazel
 ---> Using cache
 ---> 9851f7e81633
Step 11/32 : RUN git clone https://github.com/deepmind/lab.git /dmlab
 ---> Using cache
 ---> e8a16a62e893
Step 12/32 : WORKDIR /dmlab
 ---> Using cache
 ---> 56da3d82b379
Step 13/32 : RUN git checkout "937d53eecf7b46fbfc56c62e8fc2257862b907f2"
 ---> Using cache
 ---> cf2e70fb4e1a
Step 14/32 : RUN ln -s '/opt/conda/lib/python3.7/site-packages/numpy/core/include/numpy' /usr/include/numpy &&     sed -i 's@python3.5@python3.7@g' python.BUILD &&     sed -i 's@glob(\[@glob(["include/numpy/\*\*/*.h", @g' python.BUILD &&     sed -i 's@: \[@: ["include/numpy", @g' python.BUILD &&     sed -i 's@650250979303a649e21f87b5ccd02672af1ea6954b911342ea491f351ceb7122@1e9793e1c6ba66e7e0b6e5fe7fd0f9e935cc697854d5737adec54d93e5b3f730@g' WORKSPACE &&     sed -i 's@rules_cc-master@rules_cc-main@g' WORKSPACE &&     sed -i 's@rules_cc/archive/master@rules_cc/archive/main@g' WORKSPACE &&     bazel build -c opt python/pip_package:build_pip_package --incompatible_remove_legacy_whole_archive=0
 ---> Running in 189631cf8219
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
Analyzing: target //python/pip_package:build_pip_package (1 packages loaded, 0 targets configured)
Analyzing: target //python/pip_package:build_pip_package (7 packages loaded, 15 targets configured)
INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/main.zip) =<PHONE_NUMBER>629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
  /dmlab/WORKSPACE:11:13: in <toplevel>
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/1526964810f57c8028e6760b30faecdd/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Analyzing: target //python/pip_package:build_pip_package (22 packages loaded, 213 targets configured)
INFO: SHA256 (https://github.com/abseil/abseil-cpp/archive/master.zip) = 6d33798883560650cb9484a915e5085d251b61c14d8937ad714448577786c0fa
DEBUG: Rule 'com_google_absl' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "6d33798883560650cb9484a915e5085d251b61c14d8937ad714448577786c0fa"
DEBUG: Repository com_google_absl instantiated at:
  /dmlab/WORKSPACE:17:13: in <toplevel>
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/1526964810f57c8028e6760b30faecdd/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: Repository jpeg_archive instantiated at:
  /dmlab/WORKSPACE:45:13: in <toplevel>
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/1526964810f57c8028e6760b30faecdd/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
WARNING: Download from http://www.ijg.org/files/jpegsrc.v9c.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Checksum was 682aee469c3ca857c4c38c37a6edadbfca4b04d42e56613b11590ec6aa4a278d but wanted 1e9793e1c6ba66e7e0b6e5fe7fd0f9e935cc697854d5737adec54d93e5b3f730
ERROR: An error occurred during the fetch of repository 'jpeg_archive':
   Traceback (most recent call last):
        File "/root/.cache/bazel/_bazel_root/1526964810f57c8028e6760b30faecdd/external/bazel_tools/tools/build_defs/repo/http.bzl", line 111, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [http://www.ijg.org/files/jpegsrc.v9c.tar.gz] to /root/.cache/bazel/_bazel_root/1526964810f57c8028e6760b30faecdd/external/jpeg_archive/temp13980778680031230739/jpegsrc.v9c.tar.gz: Checksum was 682aee469c3ca857c4c38c37a6edadbfca4b04d42e56613b11590ec6aa4a278d but wanted 1e9793e1c6ba66e7e0b6e5fe7fd0f9e935cc697854d5737adec54d93e5b3f730
ERROR: Error fetching repository: Traceback (most recent call last):
        File "/root/.cache/bazel/_bazel_root/1526964810f57c8028e6760b30faecdd/external/bazel_tools/tools/build_defs/repo/http.bzl", line 111, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [http://www.ijg.org/files/jpegsrc.v9c.tar.gz] to /root/.cache/bazel/_bazel_root/1526964810f57c8028e6760b30faecdd/external/jpeg_archive/temp13980778680031230739/jpegsrc.v9c.tar.gz: Checksum was 682aee469c3ca857c4c38c37a6edadbfca4b04d42e56613b11590ec6aa4a278d but wanted 1e9793e1c6ba66e7e0b6e5fe7fd0f9e935cc697854d5737adec54d93e5b3f730
Analyzing: target //python/pip_package:build_pip_package (31 packages loaded, 2049 targets configured)
INFO: Repository glib_archive instantiated at:
  /dmlab/WORKSPACE:34:13: in <toplevel>
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/1526964810f57c8028e6760b30faecdd/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: Repository png_archive instantiated at:
  /dmlab/WORKSPACE:64:13: in <toplevel>
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/1526964810f57c8028e6760b30faecdd/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /dmlab/q3map2/BUILD:54:10: //q3map2:q3map2 depends on @jpeg_archive//:jpeg in repository @jpeg_archive which failed to fetch. no such package '@jpeg_archive//': java.io.IOException: Error downloading [http://www.ijg.org/files/jpegsrc.v9c.tar.gz] to /root/.cache/bazel/_bazel_root/1526964810f57c8028e6760b30faecdd/external/jpeg_archive/temp13980778680031230739/jpegsrc.v9c.tar.gz: Checksum was 682aee469c3ca857c4c38c37a6edadbfca4b04d42e56613b11590ec6aa4a278d but wanted 1e9793e1c6ba66e7e0b6e5fe7fd0f9e935cc697854d5737adec54d93e5b3f730
ERROR: Analysis of target '//python/pip_package:build_pip_package' failed; build aborted: Analysis failed
INFO: Elapsed time: 7.022s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (31 packages loaded, 2049 targets configured)
FAILED: Build did NOT complete successfully (31 packages loaded, 2049 targets configured)
The command '/bin/sh -c ln -s '/opt/conda/lib/python3.7/site-packages/numpy/core/include/numpy' /usr/include/numpy &&     sed -i 's@python3.5@python3.7@g' python.BUILD &&     sed -i 's@glob(\[@glob(["include/numpy/\*\*/*.h", @g' python.BUILD &&     sed -i 's@: \[@: ["include/numpy", @g' python.BUILD &&     sed -i 's@650250979303a649e21f87b5ccd02672af1ea6954b911342ea491f351ceb7122@1e9793e1c6ba66e7e0b6e5fe7fd0f9e935cc697854d5737adec54d93e5b3f730@g' WORKSPACE &&     sed -i 's@rules_cc-master@rules_cc-main@g' WORKSPACE &&     sed -i 's@rules_cc/archive/master@rules_cc/archive/main@g' WORKSPACE &&     bazel build -c opt python/pip_package:build_pip_package --incompatible_remove_legacy_whole_archive=0' returned a non-zero code: 1

I am not very familiar with bazel, but it seems that one of the dependencies, i.e. jpeg_archive that bazel is in charge of installing is not found on the remote repository.
Did you happen to encounter this problem during your experiments ?
Looking forward to hear back from you.
Best regards.

I'm happy you find this useful, and I apologize for late reply!
That part in the dockerfile is building DMLab, and it is quite finicky. I've had problems with it before, but I thought I solved them, but this seems to be a new one.
If you don't plan to actually use DMLab environments, then I recommend to simply comment out that section from Dockerfile from L44 to L69.
If you do intend to use it, then let me know, I will try to debug it.

Thank you for your answer.
Fortunately, the dockerless (local) version is running well enough already.
Following your suggestion, I will probably ignore dmlab from now on, as I am mainly interested in Atrai tasks for now.
Best regards.


Make the code repository pattern compliant

Looking good so far team! We need to do a few other things to make this a "code pattern":

[x] Create a thorough README.md
[x] Create a wiki to draft IBMCode content
[x] Add an architectural diagram
[x] Add Deploy to IBM Cloud support
[ ] Create a video
[x] Create a blog

See https://github.com/IBM/watson-discovery-ui as an example.

Architecture and README completed, yay!

@AnthonyAmanse is a "deploy to bluemix" button do-able with the propose k8s flow?

@stevemart I'll take a look into it

Marking this as closed now that the SLAM is over.

Will create video and blog next week. Have a different demo that I need to work on until next Monday, but after 4/2 I will finish up blog and video for this project.

@horeaporutiu I believe anything had created the blog already. I encourage you to do a quick video explaining what the code pattern is, how to deploy it, and how to run it to generate some output. cc @sanjeevghimire

@stevemart I will finish video and blog soon. Blog is pretty much done.

@horeaporutiu Anthony published one here but the link has expired. Either way, if your blog is done then we can always have two, not an issue.

Okay, will coordinate with @AnthonyAmanse on this.


Add yarn upgrade step to deploy script. Updated yarn.lock.

I had already rerun yarn upgrade, so that generated a new yarn.lock. Not sure if this is correct--or if it should be gitignored?
I think the change to the deployment script is what we want, though...?

The internet says we should not .gitignore yarn.lock, interestingly.
Merging.


feat: add ECRecover precompile

Before closing issue ensure we have a constraint count + a matching test with the exact interface.

Costs:
Groth16 (with commit): 522773
PLONK (vanilla): 6492207
PLONK (with commit): 1764135
PLONK (with rangecheck): 686143, total rangechecks 43923 (ranges 64-79:43919; 80-75:4).
Only test engine tests. Not integrated yet.


Module 'cloud_firestore' not found

Hey @monizj ,
This issue tracker is used for tracking bugs and feature requests for the flutter framework, engine and the flutter tool.
Since this is an error/bug with a 3rd party package, please close this issue and open it here instead.
If you disagree, please post the outputs of flutter run -v and flutter doctor -v and provide a complete minimal reproducible code sample.
Thank you!


The application is running on an easy to remember URL

As a team radio project member, I want people to easily remember the URL of the application, to increase usage. It must be easy to remember, so people can share the link just by saying it
Acceptance criteria

We find one or more available (and reasonably priced) domain names with a nice top level domain (.org, .fm, .radio, .io...)
If teamradio domains already exist with the interesting top level domains, discuss changing the name of the application, so it's easier to find a catchy domain name

I think we can name for the project is "Marconi" - the original inventor of the radio. It's easier to find a domain name, and also a respect for this man.

Verified.
New url for team radio: https://www.teamrad.io


does this module really converts ZERO based index ?

it seems this module actually converts ONE based index.
😁

:+1:


Usage in a Modal?

This is a great package. Thanks!
I'm trying to use it within a Modal component (standard react-native) and swiping isn't working for me.  It seems #8 may solve this issue, as a scrollview does work within the Modal.
Have you used it in this case? If not, what is the status of #8? I may take a shot at it, but if you have made any headway... it would be great to know before starting.

I'm working on #8 but progress is a little slow.

Okay, let me know if this is now fixed.

This behaves the same, so seemingly #8 was not the issue.
The image-slider doesn't respond to touch.
Here is example code (placing your example in the example for (RN modals)[https://facebook.github.io/react-native/docs/modal.html].
Please let me know if you have any ideas. Thanks!
constructor(props) {
    super(props);
    this.setModalVisible = this.setModalVisible.bind(this);
    this.state = {modalVisible: false};
  }

  setModalVisible(visible) {
    this.setState({modalVisible: visible});
    }

render() {return(<CenteredContainer>
      <Modal
          animationType={"slide"}
          transparent={false}
          visible={this.state.modalVisible}
          onRequestClose={() => {alert("Modal has been closed.")}}
          >
            <View>
            <ImageSlider images={[
                'http://placeimg.com/640/480/any',
                'http://placeimg.com/640/480/any',
                'http://placeimg.com/640/480/any'
            ]}/>
            <TouchableHighlight onPress={() => {
              this.setModalVisible(!this.state.modalVisible)
            }}>
              <Text>Hide Modal</Text>
            </TouchableHighlight>

          </View>
        </Modal>

        <TouchableHighlight onPress={() => {
          this.setModalVisible(true)
        }}>
          <Text>Show Modal</Text>
        </TouchableHighlight>
      </CenteredContainer>)}

I'm using your code and it works fine on iOS 9.3 and React Native 0.33. What are you running it on?

I was running on a simulator with iOS 10 and RN 0.33... but running on device, it is working.
The slider scrolls, instead of snapping, within the Modal. It works better than before outside of the Modal.

So I am seeing the same behavior as #13 describes in iOS, but only when used within a modal.

Oh it doesn't snap? I thought you meant it wasn't scrolling.
Can you add a console.log in the release lambda and let me know if it's called?

Closing due to no response.


Better indication of Bazel requirement

I discovered the need for Bazel only after the preinstall script errored.
I would like to augment the documentation (or build.sh itself to install Bazel if not present on the machine) to make this clear.
Thoughts?

@kevmannn Feel free to create a pull request.

@tngan kk!


your code

better in the README

Pull Request Test Coverage Report for Build 17

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 16:
0.0%

Covered Lines:
2

Relevant Lines:
2

💛  - Coveralls


feature request: auto navigation to the "last opened buffer" path

is there an option to make "nvf.nvim" open the last directory path based on the last opened file?
my case was confusion where I was at the last position, when navigating between files

The default behavior should be to reopen the directory that was last opened for a file.
I may not fully grasp the situation, but could ^ key be helpful?


env.Clone() - CXXFLAGS etc. not copied when "tools" parameter passed

This issue was originally created at: 2012-11-23 12:56:47.
This issue was reported by: ang3lus.
ang3lus said at 2012-11-23 12:56:47
env = Environment(
    CXX=cxx,
    CXXFLAGS = cxx_flags,
    LINKFLAGS = link_flags,
    CPPPATH=include_dirs,
    LIBPATH=lib_paths,
)

print env['CXXFLAGS']

...

test_env = env.Clone(tools=['default', 'cxxtest'])

print test_env['CXXFLAGS']

Output:

scons: Reading SConscript files ...
**** Compiling in release mode...
-std=c++11 -stdlib=libc++ -O2 `pkg-config --cflags-only-I freetype2`
Loading CxxTest tool...
<------ here is the print test_env['CXXFLAGS']
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.

The problem:
When the "tools" parameter is passed to the "Clone" method not all variables are copied.
Environment:
python 3.3

Presuming the story is if a tools arg is specified, a poorly behaved mytool.generate() will re-initialize certain variables, not keeping existing values.


Add write_back feature and write queue

Hello,
When using both plc_address and plc_set_address, it can become handy to keep data at plc_set_address at the same state as data at plc_address.
This PR adds an optional write_back configuration flag to implement this feature.
It also fixes an inconsistency when using plc_set_address where data is readen from the plc_set_address instead of plc_address.

Hi,
If several items are true at startup, it tried to write back all at once which ended up in write failure as concurrent write is not supported.
I implemented a write queue to fix this issue and removed the write lock in attribute.js.

Hi,
I like your Pull Request !
I looked through your Code and tested it with my setup.
You can add your Username to the Contributors List in the package.json File.
After that I´m going to merge it to the master branch.

Hi, I just added me as contributor.
I also added a small improvement I made during the week-end.
Thank you for accepting the contribution.

thank you for contributing ! 😄


quictls: 3.0.5+quick_unstable-2022-07.05 -> 3.0.7+quic1

Description of changes
Fixes CVE-2022-3786 and CVE-2022-3602.
See eeca5969b3f42ac943639aaec503816f053e5e53 and 70ca403dc22e97fb4b73ab74af29e1c8a1f45f69.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

For backporting 1ed8ae38c954e5b4b2607f50bf50831d9dddda13, 94ffbb4fdfd2e96e2a34885d13a647f6064b26e9 and 4f99d8e7089a310436342b3554a8ee649fe1d296 are also needed.

@LeSuisse you have duplicated the enable-ktls option - https://github.com/NixOS/nixpkgs/pull/199184/files#diff-a4de3a6e415b4912c750b0474123253f9b667bb9ebc61d801b33cd16865eacfcL105

Right, I'm sorry.  Fortunately it doesn't seem to break anything?

I'm guessing it's broken on darwin? I do not have a env to test it.
I opened #199190 to fix it, it might be better to have the same behavior between the openssl package and this one anyway I guess.

Ah yes, probably, but on this branch there are almost no darwin binaries yet, so it's not a practical issue so far.

it might be better to have the same behavior between the openssl package and this one anyway I guess.

I could not implement changes for the quictls package in openssl. So i maked a separate package.

Yep sure, my comment was specifically about the enable-ktls flag since it was not defined in the OpenSSL package before :wink:
I opened the backport PR: see #199192


incompatible to composer 1.1.0

First of all: thanks for this plugin, a real time saver!
After upgrading to composer 1.1.0 I got the following error

The "hirak/prestissimo" plugin was skipped because it requires a Plugin API version ("~1.0.0-alpha10") that does not match your Composer installation ("1.1.0").

This is probably just due to a wrong version constraint, ^1.0.0 might just work without any additional changes?
If I can help solving this, give me hint.

Did you try one of the 0.2.x versions of the plugin?

Try running composer global remove hirak/prestissimo --no-plugins && composer global require hirak/prestissimo to remove and reinstall it.

@sebastiaanluca
It's work!)
Thanks!

@sebastiaanluca whooooa thanks you solve my problem >_<

@sebastiaanluca @xabbuh thanks, got it working with 0.2.x
Just for the record, alternatively you could simply bump the prestissimo version using
composer require hirak/prestissimo '^0.2' --no-plugins


Too many open files

when I run your scripts using the default parameters, I got "OSError: [Errno 24] Too many open files", and I tried many ways to fix it but failed. Have you ever met this problem? Thanks!

This happens because your system is trying to open too many files when the algorithm runs. I use the command "ulimit -n 3000" in my MacBook and it works.


I took a stab at this (see next comment)

I took a stab at this (see next comment)

Removed most emojis

It's overloading and distracting, use them for emphasis like bold/italic)

Removed link to Quine

They can tap the bot
Perhaps it should be there anyway, just felt it was too in your face and we need the repo maintainer to read the texts

Bolded important bits
More concise tone in general
The “* They’ve done a lot of work in Python” line should be tailored to the repo the PR is for. Thus only showing up if they have a few repos that are Python related. Good enough if they are even forks for this MVP (doesn't have to be perfect yet, if anything better if it isn't for now to get PR!)

Originally posted by @mxcl in https://github.com/VanTudor/ir_remote_frontend/issues/16#issuecomment-940098470

Account