redisdown doesn't support level@8 architecture

Hey, when copy pasting the current README example, we get this kind of an error.
 throw error
   ^
Error [InitializationError]: First argument must be an abstract-leveldown compliant store
   at new LevelUP (C:\folders\node_modules\levelup\lib\levelup.js:41:13)
   at LevelUP (C:\folders\node_modules\levelup\lib\levelup.js:25:12)
   at Object.<anonymous> (C:\folders\foobar.js:6:10)
   at Module._compile (internal/modules/cjs/loader.js:1085:14)
   at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
   at Module.load (internal/modules/cjs/loader.js:950:32)
   at Function.Module._load (internal/modules/cjs/loader.js:790:12)
   at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
   at internal/main/run_main_module.js:17:47

According to this thread https://github.com/fergiemcdowall/search-index/issues/591

"The whole levelup/leveldown ecosystem has undergone a upgrade recently, with the unfortunate consequence that many of the old *downs are no longer usable."

Any plans to upgrade to level@8 architecture?

Wow.  You are right, things have changed quite a lot!  How familiar are you with the new architecture?  Any chance you know a way to make it work with level@8?

Thanks for the quick response! I've no prior experience with level, so I can't take this up myself.


ZkVM: factor out all assignments/witness conversion out of the shared path

Problem
VM has two parts: verification and proving. They have common data types (Data, Value etc) and a shared stack machine implementation (vm::VM).
The verification part is much smaller and more critical: it cannot arbitrarily change w/o breaking compatibility with already deployed software that verifies transactions.
The proving part is much bigger and less critical: its API and capabilities can change without breaking compatibility with the entire network, as long as the produced transaction is compatible.
Goal
To keep the verification part easier to audit, we need to minimize amount of proving code that is entangled with it.
Suggestion

Factor out all witness types from types.rs into witness_types.rs, so that types.rs has minimal amount of mention of the witness types (at most, as witness: Option<Box<SomeWitness>> references).
All the methods for witnesses/assignments conversion should be moved into witness_types.rs.
All the glue code that handles witnesses/assignments in vm::VM should be factored out in methods to minimize amount of code related to glueing witnesses in the VM stack machine code.
Move all witness-/assignment-/proving-specific errors from errors.rs into prover_errors.rs. And nest them into VMError under a single variant VMError::ProverError(ProverError::WitnessIsNotWhatItShouldBe).

Alternative
On the other hand, we may want to factor things in task-specific modules:
values.rs — all types and algorithms for encoding/decoding inputs, contracts and values.
predicate.rs — everything about predicates: verification, construction and encoding.
constraints.rs — everything about variables and constructing expressions and constraints.
We could still have types.rs for basic non-witness type declarations and pure type-conversion methods (e.g. not encoding/decoding, but just Into<X> and to_x() methods).


[hotfix][runtime]Fix the missing methed parameter annotation problem

What is the purpose of the change
This pull request fixs the problem of missing methed parameter annotation.
Brief change log
Add the parameter annotation  of 'taskManagerResourceId' for the method 'ResourceManagerGateway.sendSlotReport'.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

Thanks for the quick fix, looks good to me.
I just think a hotfix commit should be good enough, would you mind renaming this to [hotfix][runtime]xxxxx?

That sounds great. I have made this change. Thank you so much. @reswqa

Wait a minute, you shouldn't only change the title of github pull request. Commit message should be aligned with this also.

Sorry about that. May I close the current PR and request a new one?

Wait a minute, you shouldn't only change the title of github pull request. Commit message should be aligned with this also.

I had close this pr and create a new one. https://github.com/apache/flink/pull/24666


Maybe there's a conflict with VSCode's sticky-scroll

The extension is very helpful in most cases, but when I write a file with only variables, it does show the outline correctly, but vscode's sticky-scroll effect seems to be lost.
When the variables have multi multi lines, due to the lack of sticky-scroll, it's quite hard to recognize which one is being viewed and edited (meanwhile functions and methods' outline and sticky-scoll both work well), and I cannot find a way to get the effect back unless I uninstall the extension.
I've tried different similar extensions, it all seemed to have this problem, maybe that's because vsc just dont support sticky-scoll in such way at this point :( ...

Sorry, RegExp Outline does not support multi-line headings.
I wrote it Features of README as "Single-line headings are assumed. Complex syntax is not supported."
Sticky-scroll is not the cause.

OK, I see this now, many thanks to this extension. it does help a lot in editing some large files.


fix  pool scope crd resource etcd key path

What type of PR is this?
/kind bug
What this PR does / why we need it:
when pool scope resources set to some crd resources by editing yurt-hub-cfg configmap,  the default etcd storage key is wrong, where resource group is not set in the key path
Which issue(s) this PR fixes:

Fixes #1728
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

@qsfang please fix golangci-lint errors. package import should follow the following orders:

golang libs
k8s libs
openyurt libs

/lgtm


Provide feature to change default location of harpoon.json file

I would like to change harpoon.json file location. I have a custom git setup that autocommits and pushes certain files.
I would like my harpoon marks to persist across multiple computers I am using. I was able to hack together something to get this work, but its really ugly. It would be awesome if this was supported out of the box.

its already there
require("harpoon.data").set_data_path(full_path)

but this is subject to change in the future with me potentially making every key generated its own file in a harpoon directory.  this would allow me to write to file on every single change instead of waiting for vim to close (anything goes wrong / terminal is closed we may not save)


Copy edit docs

The macro tutorial is rough. Things could be reworded for clarity. Some language is too casual to respect. Changes have been made since the docs were written. The quick start could be more minimal. Don't forget to edit the readme as well, remember that shows up on both GitHub and PyPI. Read through the entire generated docs page, including the auto API docs.

Docs are taking longer than the code. Could take a week at this rate.

Docs are taking longer than the code. Could take a week at this rate.

I've been working through the docs in order. I got through the macro tutorial. I still have the API and FAQ, which I expect will take me at least two more days.

I've been working through the docs in order. I got through the macro tutorial. I still have the API and FAQ, which I expect will take me at least two more days.

API doc is more or less done. Maybe I can get through the FAQ today.

API doc is more or less done. Maybe I can get through the FAQ today.

Before sunrise counts, right?

Before sunrise counts, right?

Closed by #89

Closed by #89


a more robust way to load --obj option

Obj loaded as javascript file not really use javascript format but javascript fragment that is not very reliable (#65)
I suggest to use https://github.com/lorenwest/node-config to load data,
it's a robust node module for loading config.
It support a lot of format like javascript, json, json5, yaml.

I believe you can use JSON instead of javascript


FB.login() called when user is already connected.

Getting this when I try to trigger a login function.
FB.login() called when user is already connected.

You should logout your facebook account and try again.


Replace flake8-import-order-jwodder with isort

Codecov Report

Merging #140 (3f00ae4) into master (e35a702) will decrease coverage by 2.97%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #140      +/-   ##
==========================================
- Coverage   71.38%   68.41%   -2.98%
==========================================
  Files          10       10
  Lines         975      975
  Branches      179      179
==========================================
- Hits          696      667      -29
- Misses        224      253      +29
  Partials       55       55

Impacted Files
Coverage Δ

src/tinuous/state.py
100.00% <ø> (ø)

src/tinuous/util.py
85.86% <ø> (ø)

src/tinuous/github.py
51.56% <100.00%> (-2.25%)
:arrow_down:

src/tinuous/appveyor.py
51.19% <0.00%> (-25.00%)
:arrow_down:

src/tinuous/__main__.py
51.38% <0.00%> (-2.09%)
:arrow_down:

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 e35a702...3f00ae4. Read the comment docs.

I resolved the merge conflict straight on github, but if you like -- welcome to rewrite @jwodder and proceed with the merge
Thanks!


[Q] got a segment fault in running a simple test - could be related to my dev env

by running a basic upload/download example in this environment, I got this exception
Thread 1 "StorageTests" hit Catchpoint 1 (exception thrown), 0x00007ffff566e8ce in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) up
#1  0x00007ffff5662e9a in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) up
#2  0x00007ffff570240a in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) up
#3  0x00007ffff5703a3b in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) up
#4  0x0000000000a39cea in google::cloud::storage::v1::internal::CurlRequestBuilder& google::cloud::storage::v1::internal::CurlRequestBuilder::AddOption<google::cloud::storage::v1::IfMatchEtag>(google::cloud::storage::v1::internal::WellKnownHeader<google::cloud::storage::v1::IfMatchEtag, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) ()

I guess this happens in this code path:
https://github.com/googleapis/google-cloud-cpp/blob/81f72495510d08c2e748f7dc4a67c3de3cbad9e0/google/cloud/storage/internal/curl_request_builder.h#L88-L90
From this code pointer and exception stack - wondering if this header var wraps an immutable memory, I assume line88 assignment should be a deep copy, a bit puzzled, any tip?
GCC version:
[shawncao@dev-shawncao:~/nebula/build]$ gcc --version
gcc (Ubuntu 10.1.0-2ubuntu1~18.04) 10.1.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

by running a basic upload/download example in this environment,

Could you share some details about your environment?  Looks like GCC, on Ubuntu:18.04 from the compiler version.  What version of google-cloud-cpp?
What function from google::cloud::storage::* are you calling at the point of the crash? The stack trace stops rather abruptly.

I assume line 88 assignment should be a deep copy,

Yeah, this is pretty vanilla code.

a bit puzzled, any tip?

The stack trace reminds me of memory corruptions I have seen in the past (not with this code in particular, just generate C++ stuff).  Have you tried running your example with valgrind?

Thanks @coryan . I agreed, most likely related to my env, im testing different versions of compilers. Just to confirm with you there's no specials with this piece of code. It repeatedly failed in this position per GDB.

It may not be your environment, it may be how your program is structured, or a bug in the library, I never discount bugs in the library.

switch away from gcc 10.1.0 to '9.3.0' or '8.4.0', I saw different error:
#0  0x00007ffff566e8ce in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x0000000000e01c2b in absl::lts_2020_09_23::optional_internal::throw_bad_optional_access() ()
#2  0x0000000000a75190 in absl::lts_2020_09_23::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::value() const & ()
#3  0x0000000000a94495 in google::cloud::storage::v1::internal::ComplexOption<google::cloud::storage::v1::UserIp, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::value() const ()
#4  0x0000000000ac71c8 in void google::cloud::storage::v1::internal::SetupBuilderUserIp<google::cloud::storage::v1::internal::InsertObjectMediaRequest>(google::cloud::storage::v1::internal::CurlRequestBuilder&, google::cloud::storage::v1::internal::InsertObjectMediaRequest const&) ()
#5  0x0000000000a8f28b in google::cloud::v1::Status google::cloud::storage::v1::internal::CurlClient::SetupBuilder<google::cloud::storage::v1::internal::InsertObjectMediaRequest>(google::cloud::storage::v1::internal::CurlRequestBuilder&, google::cloud::storage::v1::internal::InsertObjectMediaRequest const&, char const*) ()
#6  0x0000000000a7c4b9 in google::cloud::storage::v1::internal::CurlClient::InsertObjectMediaMultipart(google::cloud::storage::v1::internal::InsertObjectMediaRequest const&) ()

so for this line:
https://github.com/googleapis/google-cloud-cpp/blob/master/google/cloud/storage/internal/curl_client.cc#L125
should we check has_value() before access value() or use value_or("")?

should we check has_value() before access value() or use value_or("")?

The HasOption<> check is doing that (or should be).  This is looking more and more like memory corruption.  Did you try valgrind?

It would be helpful if you provided a MCVE. I attempted to create one myself by mashing up the GCS quickstart program as well as extracting the core GCS logic from your library. Then I ran the program against the emulator:
https://github.com/remyabel/google-cloud-cpp-1/commit/067d0060f33bd7704069d8ea256148434a4bf686
It ran successfully.
In order to run my repro, make sure you installed GCS inside a docker container, then run ./test.sh repro-program. Perhaps by extracting the logic out I eliminated the bug, but I think this points to the bug not directly lying with the GCS code.

Any further thoughts? Were you able to get a MCVE and/or some results from valgrind / AddressSanitizer or any other tool to check for memory corruption?

No, sorry haven't had a chance to try valgrind yet.
On Wed, Mar 10, 2021 at 12:11 PM coryan @.***> wrote:

Any further thoughts? Were you able to get a MCVE and/or some results from
valgrind / AddressSanitizer or any other tool to check for memory
corruption?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/google-cloud-cpp/issues/5970#issuecomment-796018980,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLGAZLD3Q6BYJ3HJCT5ZGLTC674TANCNFSM4YSXRNVQ
.

If you have additional information please ping this bug.

Since I can use curl + googleapi HTTP as alternative way, I don't reserve a time to look into this further.
Sorry about that @coryan - if you feel it's a tracking burden, we could 1) assign to me for investigate further (if applicable) 2) close this and I will revisit it when I get free cycles.

Ack.  Feel free to reopen if you need more help.

Just to note: I think there's something in this - I have something similar. I'm still investigating, but asan a use after free when trying to add the IfMatchEtag header


Some types are colored yellow some orange

I would say that String and List should have the same color.
I see that codelab and chrome dev editor do those colors in a similar way, I was wondering where this highlighting is defined.

String is in the same category as 'int' and 'bool'
I think the colouring comes from the code mirror scheme. @devoncarew will know exactly where it's defined.

I think I found it:

Would it be an idea to add the other classes of dart:core to this list ?
BidirectionalIterator Comparable DateTime Duration Function Invocation Iterable Iterator List Map Match Null Object Pattern RegExp RuneIterator Runes Set Sink StackTrace Stopwatch String StringBuffer StringSink Symbol Type Uri bool double int num

We just do syntax highlighting, not semantic. So, we don't know what tokens are types; semantic highlighting, which depends on resolving the tokens into their actual type references, would have this info.
Syntax highlighting is available in many more contexts, and from my perspective solves the 95% use case.
Those builtin types (int double String ...) we know are types, so we can highlight them. I'm not sure if it makes sense to highlight all the dart:core types, or just the most frequent ones. The current list of highlighted types roughly corresponds to the list of primitive types from other languages. @lukechurch, thoughts?

GitHub uses the same syntax highlighting script that Sublime uses. I wonder if we can converge on this file?
https://github.com/guillermooo/dart-sublime-bundle/blob/master/Dart.tmLanguage

This file uses the following "types" it seems: void|bool|num|int|double|dynamic|var|String|List|Map.

+1 to having codemirror, ace, and sublime all converge to highlighting the same types :)

Ah I see now that webstorm also doesn't highlight most class names. Actually webstorm highlights less, only the lowercases types it seems: bool, num, int, double, void, dynamic,var.
I think I got consufed by having String be highlighted, but List and Map not, for some reason my brain things those are in the same category.

+1 to having codemirror, ace, and sublime all converge to highlighting the same types :)

Just looking how dartlang and stackoverflow do it, but they do highlight all types in the same way. I guess they just have a list for the lowercase types, and then mark any capitalized word as a type.

Dartlang uses this regex for types it seems:
["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q]

together with:
// Keywords for types.
[PR['PR_TYPE'], /^\b(?:bool|double|Dynamic|int|num|Object|String|void)\b/i]

@sethladd Looks like WebStorm uses AS for highlighting now (WEB-18698) with no such thing as "builtin types". Is it new convergence point for editors now?


⚠ Bofrost.de has degraded performance

In 3e337a9, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1767 ms

Resolved: Bofrost.de performance has improved in 48252e7 after 24 minutes.


Potential danger of deadlock in DatabaseOutputCacheStorageProvider

The class uses an interned string as a way of having named locks. This is however prone to complex errors, see: http://stackoverflow.com/questions/6983714/locking-on-an-interned-string
Instead such locking can be implemented with the service used here: https://github.com/OrchardCMS/Orchard/blob/issue/20740/src/Orchard/Utility/NamedReaderWriterLock.cs Or even better by using IDistributedLockService.
But on a second though I wonder why there is a need for locking here at all?
Cc @sebastienros as the author.

Definitely not IDistrivutedLockService. I prefer the named RWL which is similar to what @DanielStolt had implemented locally at first, but which I replaced by the String.Interned.
The idea is from Daniel to block requests if they are all requesting the same page while it's rendered. This way when the first request renders it, the other ones get released and get it from the cache. So I am fine reverting to Daniel's original code or use the class you are mentioning as it seems to do exactly the same thing.

The locking is certainly needed.
I agree that string interning has some risks, although I think it's extremely unlikely that any of them will actually occur in this particular scenario given how our keys are constructed.
NamedReaderWriterLock cannot be used for this scenario, since the acquisition and release happen in different methods.
Reverting to my original code is the only viable option.

I will do it as I need to change this code to support locking (gating) or cache reads too (as discussed offline with Daniel). My next PR.

Just for infos, locking on an interned string is also used here:
OutputCacheFilter.
ImageProfileManager.
DistributedLockService.

@Piedone, also in DistributedLockService.
Best

Oh wait, I misread the title - sorry, I thought we were talking about OutputCacheFilter! In that case, my opinion completely different @sebastienros  and @Piedone.
As @Piedone mentions, locks in the class DatabaseOutputCacheStorageProvider seem questionable, I'm not really sure what they are meant to accomplish. If the purpose is to synchronize around presumably atomic groups of database access operations, we should be using IDistributedLockService instead.

i also was talking about OutputCacheDilter

Using IDistributedLockService seems to be too expensive for the task, even though that seems to be the only solution with locks, if we actually try to do atomic operations. I would rather favor a solution which doesn't require lock and can just handle consistency issues gracefully.

@sebastienros Assuming we are still talking about DatabaseOutputCacheStorageProvider then I think the locks can simply be removed.


Nuttx next update to uavcan - latest nuttx

This will update to Nuttx 73331bded77a7952c79dc3fdcf36762c8b769424

Good to merge if you guys are happy with this state.

Merged into nuttx_next


Map isn't differentiable but compiler diagnosis is gone

I though Dan had talked about .map becoming differentiable recently in an open design meeting, but there is still an issue as of the 9/16 Xcode snapshot. The compiler lets this through, but it produces an incorrect derivative:
func mappy(a: [Double]) -> Double{
    let twice = a.map{$0 * 2}                   //compiles, but resulting gradient is incorrect (empty list)
//    let twice = a.differentiableMap{$0 * 2}   //works, gradient is [2.0, 2.0, 2.0]

    return twice.differentiableReduce(0, +)
}

print(valueWithGradient(at: [1,2,3], in: mappy))

Also reproducible with Xcode release v0.12-rc2


Fix sync when address_country is None.

Codecov Report

Merging #423 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #423      +/-   ##
===========================================
+ Coverage    96.08%   96.08%   +<.01%
===========================================
  Files           91       91
  Lines         3039     3042       +3
  Branches       261      262       +1
===========================================
+ Hits          2920     2923       +3
  Misses          82       82
  Partials        37       37

Impacted Files
Coverage Δ

datahub/search/contact/dict_utils.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

I was actually thinking that it would make more sense to change all the *_dict functions so that they check and return None (or maybe {} ?) if the input param is None.
This is also to avoid similar problems in the future. What do you think?

I am not sure if validation should be *_dict responsibility, but indeed that way we could avoid this kind of problems.

@marcofucci I changed *_dict to return None if input param is None


Getting a frame-by-frame iterator?

Hello,
Is it possible to iterate a video with a "frame-by-frame" iterator and get pixel data for each frame?

This is pretty much what I ended up with:
command = ['ffmpeg',
           '-i', filename,
           '-f', 'image2pipe',
           '-pix_fmt', 'rgb24',
           '-vcodec', 'rawvideo', '-']

with sp.Popen(command, stdout=sp.PIPE, bufsize=WIDTH * HEIGHT * 3) as pipe:
    while True:
        raw_image = pipe.stdout.read(WIDTH * HEIGHT * 3)
        ....


stm32vldiscovery board no longer writable with st-flash

[X] Programmer/board type: Stlink/v1
[X] Operating system: e.g Linux
[X] Stlink tools version and/or git commit hash: v1.2.0/git-c0106c53
[X] Stlink commandline tool name: st-flash
[X] Target chip: STM32VLdiscovery -- STM32F100

I used to flash the STM32VLdiscovery [1] with st-flash. The current git version of st-flash will no longer parse the command line as given in the documentation (doc/tutorial.md):
$ ./st-flash write v1 in.bin 0x8000000
invalid command line
I trace the issue to src/tools/flash_opts.c
            if(o->format == FLASH_FORMAT_BINARY) {    // expect filename and addr
                if (ac != 2) return -1;

In the case of stlink v1, we have 3 args, not 2 (v1 file.bin address), hence the failure to parse the command line I believe.
[1] http://www.st.com/en/evaluation-tools/stm32vldiscovery.html

Thats a good catch, the tutorial.md is actually an conversion from an very old pdf document. It has not been read/updated and reviewed for some time. It is indeed incorrect. Probably we should change it to the current commandline arguments.
The project got some time ago man-pages which are converted from markdown to man which er under the doc/man folder.
Are you able to use the tool with the "new" arguments on your board or is it utterly broken?
Thank you for your report!

I confirm that the issue is only with the documentation and that st-flash can write properly in a STM32VLDicovery board by using the same command line as given in the documentation, without the v1 option:
st-flash write file.bin 0x8000000

Thats good news, we should update the documentation then. With the upcoming v1.3.0 release you can also write hex files with st-flash!


Integration tests

Once #1 is in place, it should be relatively easy to write a set of integration tests that validate whether or not the desired auth behaviors are in place.  Obviously they would initially fail until the module is complete.

Initial tests that would support the api scenario:

Call http://PROXY/ to validate that API/ content is returned, which is just a test that the reverse proxy is in place
Call http://PROXY/secure with no JWT and expect a 401
Call http://PROXY/secure with a bogus or expired JWT and expect a 401
Obtain a valid JWT and then call http://PROXY/secured with it and expect that API/secure content is returned

My assumption for these tests is that we can create a valid JWT without having to actually go to Auth0, since we can create and sign a token with the same secret that the nginx-auth0 module will use to verify the token on a request.


Crypto: use a rich object to represent a message digest (instead of list of bytes)

This issue was originally filed by<EMAIL_ADDRESS>
In its current shape, the hash and HMAC functions in the crypto library return List<int> as a message digest. This has several deficiencies:

If you want to print it, you need an extra function to convert it to string (see issue #2839).
If you want to compare it and use the hashes for passwords, you have to be very careful to avoid timing attacks (se http://codahale.com/a-lesson-in-timing-attacks/).

Therefore, I propose to use a rich object called Digest instead. It would look like this:
interface Digest {
  final List<int> bytes;
  // TODO operator equals, when implemented
  bool operator ==(Digest other);
  String toString();
}
I'm attaching a patch with complete implementation (necessary modifications to tests included). Note that if you accept this, it supersedes issue #2839.
Please note that I DON'T really understand crypto, so if you decide to accept this API change, proper crypto review is a good idea :-)

Attachment:
0001-represent-message-digest-as-a-rich-object-with-bette.patch (9.72 KB)

This issue has been moved to dart-lang/crypto#2.


This else statment was redundant I believe :^)

The ytd-dlp code is taken from this reddit comment
https://www.reddit.com/r/youtubedl/comments/skgjon/is_there_a_better_guide_to_using_ytdlp_with_python/iagu3bg/

I'm afk rn, but I just thought of a solution. The problem is that the "hasattr" func should be called out of the if block, so you can check both the message member and it's value all at once, instead of using two if statements.

You actually do need that hanging else statement. I would revert because my solution has a logical error. Sorry my bad.

No worries I haven't yet merged this into main.


"Grafana string replace" article

This is for https://github.com/aiven/devportal/issues/1194
What changed, and why it matters
This is for phase 2 of our ES -> OS migrations, in which Phase 1 we tried to move every ES customers to OS that has Backward compatible API and metrics, Phase 2 we will drop support for Backward compatibility for those OS Clusters so that it only has OS API and opensearch_ metrics.
We cannot convert non-default Aiven for Grafana dashboard, therefore, we provide a tool for our customer to use.

I've replace the two articles in two PRs as it may help me to better assist you with a review. The other article can be found in this PR: https://github.com/aiven/devportal/pull/1198

I've tried to rewrite the text to be easier to follow, and also a bit more explicit in some parts.
I don't believe that I have changed any of the technical details.


Upgrading debezium to 1.9.5

Motivation
Upgrade debezium, pickup latest improvements (e.g. better postgres error handling) and bug fixes
Modifications
Debezium version updated.
Similar to https://github.com/apache/pulsar/pull/17340 (cannot cherry-pick)
Verifying this change

[ ] Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): YES
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation
Check the box below or label this PR directly.
Need to update docs?

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

cherry-picked with https://github.com/datastax/pulsar/commit/a9653884483b17fa06a207d040704c138b5465c8


refactor(tier4_planning_rviz_plugin): create abstract class for footprint

Description
Footprint for path with lane id, path, trajectory is almost same implementation.
Therefore, I created an abstract class for them.
The only difference among the footprints is that path with lane id has lane_id visualization.

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@yukkysaito Could you review the PR.


Pencil is slow: speed up

This is due to the implementation in xpart: one twiss and two times build_particles. Can this be sped up?

We could generate the pencil analytically, as we know the equations of the inner and outer ellipses, given the twiss parameters


Renderers rewrite

This PR aims to bring more OOP in code and make plugin more extendable.
Includes:

Create a new interface or use Disposable to сreate an abstraction over multiple render elements that are related to highlighting error.
Create interface that will abstract away EditorElementsRenderer implementation by removing trees of if statements (should contain 1 method .render() ). EditorElementsRenderer implementation should compose them in some way. Possible to accept Set<Render???> as an argument to render method in EditorElementsRenderer (rename some of them to avoid repetition):
[x] Background
[x] Text
[x] Gutter
[x] Effect
Start adding multiline hints inspired by Rust compiler or Groovy assertation tool

[ ] Fix number of whitespaces after end of line
[ ] Fix text isn't centered
[ ] Add . after hints without box effect
[ ] Fix descriptions intersect
[ ] Fix box effect blinking


selectedDateTime is not set with initialDateTime on initialization

If you open BottomPicker with initial date provided, you will see the correct value on picker. But if you don't change selected date, onSubmit will return DateTime.now() instead of initialDateTime.
The problem is, probably, in _BottomPickerState.initState() method.

Thanks @evaranshark  for providing exact problem description, it will be fixed ASAP and published in a new version

@evaranshark the package is now up to date with the bug fixes check it out 1.0.6


Performance advice

Hi thanks for the great work!
I'm trying to validate a schema which is taking 120ms I'm running the script on latest M1 Mac.
I'm not sure is it good or not. Because for example, if I try to validate 100,000 schema, it takes very long.
Is there any to shorten the time
{
  "$schema": "http://json-schema.org/draft/2019-09/schema",
  "$id": "esbridge-log-store",
  "title": "esbridge-log",
  "description": "Keep log of console dump",
  "type": "object",
  "required": ["store","schemas"],
  "properties": {
    "store": {
      "type": "string"
    },
    "schemas": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["name","fields"],
        "properties": {
          "name": {
            "type": "string",
            "description": "name of schema"
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "object",
              "required": ["name","data_type"],
              "properties": {
                "name": {
                  "type": "string"
                },
                "data_type": {
                  "oneOf": [
                    {
                      "$ref": "#/definitions/data-type-string"
                    },
                    {
                      "$ref": "#/definitions/data-type-number"
                    },
                    {
                      "$ref": "#/definitions/data-type-array"
                    },
                    {
                      "$ref": "#/definitions/data-type-object"
                    },
                    {
                      "$ref": "#/definitions/data-type-boolean"
                    }
                  ]
                }
              }
            }
          },
          "indexes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "data-type-string": {
      "type": "string"
    },
    "data-type-array": {
      "type": "array"
    },
    "data-type-object": {
      "type": "object"
    },
    "data-type-number": {
      "type": "number"
    },
    "data-type-boolean": {
      "type": "boolean"
    }
  }
}

I tried removing $schema and parse but it still takes 100ms
Please advice. Thank you

I am going to close this issue on the assumption that the above advice has solved the problem, or has helped, at least.
Feel free to open another issue if you're still having problems.


Fix: Add method annotation for ValidGenerator

This PR

[x] adds a class-level @method annotation to Faker\Generator for the previously introduced ValidGenerator

Follows #836.

Build failure in Job #2620.2 seems unrelated.

Thanks!

Thank you, @fzaninotto!


feat(compilers): add mainProgram attribute to lisp compilers

Added mainProgram attribute to the meta section of the following compilers:

Clozure Common Lisp (ccl)
CMU Common Lisp (cmucl)
MKCL (mkcl)

This change helps in identifying the main executable for each compiler.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] Fits CONTRIBUTING.md.

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

changes look good. commit message should be changed before merging. our conventions are here, though the edge case here of changes small enough to not warrant distinct commits but which affect multiple packages is under-documented. in this case, we write it "treewide: ", like "treewide: add meta.mainProgram to lisp compilers". here's a recent example of a similar commit.

Thank you, @uninsane!
I've updated the commit message as suggested and sorted the attributes alphabetically for better readability and consistency. Please have a look and let me know if there’s anything else to address!


fix: escape ics multiline descriptions

Simple proposed fix for https://github.com/jasonleibowitz/react-add-to-calendar-hoc/issues/33 - with a little bit of regexing, we can take newlines (optionally windows style with CRLF) and html <br> tags (optionally with a closing /) and replace them with literal \n characters that the calendar apps expect for newlines.
Tested an example ics file in both Windows Outlook and macOS Calendar

One more poke here - should I just start using my fork of this project if I need to get the fix in?

It seems he is not active right now, maybe the fork.

Hey, sorry for the delay on this. I wanted to get this done for you ASAP so I created a new PR. You edited the compiled lib file rather than the src file. I'm going to close this PR in favor of the other one that solves #33. I also included an example in the docs for this.
Thanks for your work on this though.

...I don't know how I didn't notice I was editing the generated lib stuff, it was pretty ugly haha. So it goes. Thanks @jasonleibowitz !


Regarding relevant data to benchmark the performance of the retriever

The paper claims that: CROSSCODEEVAL can also be used to measure the capability of code retrievers. T
None of the files in cross_coder_eval_repo/data/crosscodeeval_data/python/ ie line_completion.jsonl,
line_completion_oracle_bm25.jsonl,  line_completion_rg1_bm25.jsonl seem to have information about the repository and commit ID from which they were taken. I want to benchmark a retrieval algorithm R where I want to test the performance of the retriever over the entire repository. There does not seem to be data for this.
Also, Section 2.2 of the paper mentions: "First, we find all intra-project imports in the original file. Next, an empty class is created for each imported name to replace the import statement. Since the imported name now refers to an empty class, any subsequent call to its member function or attribute will raise an undefined name error. We leverage static analysis to catch such errors in the modified file, which precisely correspond to the names in the original file that can only be resolved by cross-file context". Will it be correct to say that the file which has the empty class is the one which contains the ground truth context relevant for the generation task ? Is the data regarding this (ie which file imports were removed) has been provided somewhere ?
\c @wasiahmad @zijwang

Please email us for the raw data.


[ep-matrix] Show custom roles in element

Some related notes: https://gist.github.com/Woile/129006fb37b73d3dfdaeb271fe03d94f
Power levels match to custom roles:
``
{
"3": "Attendee",
"6": "Sponsor",
"9": "Sprinter",
"12": "Speaker",
"15": "Staff"
}

@Woile is working on a change in Element to support it.

some important ⚠  is that it will be working only in our Element client. Other clients are not going to see it.

Closed by https://github.com/EuroPython/matrix-react-sdk/commit/a950f490852c3c17aebd5edd05b7305e37269c18


Feature request

We can add Subway Surf Game . Using openCV and other libraries we can create face movement and on that basis we can play subway Surf Game

Assign this to me

@akshitagupta15june Assign


Merged columns when extracting tables

Hi @BobLd ,
Thanks for such an awesome library. In my pdf file, for some reason, two columns are merged (I attached a couple of images) when I'm trying to extract the table. I was wondering maybe you can help me to determine what might cause that issue. I can also send the pdf file via email since it has sensitive information. Thanks in advance.

Originally posted by @emrebiber in https://github.com/BobLd/tabula-sharp/issues/13#issuecomment-768074036

Hi @emrebiber, thanks for raising an issue.
I think the issue could come from two sources:

PdfPig

Could you check that the letters/words bounding boxes are correctly computed by running DLAViewer with your document? If they are not correctly displayed (for example the bounding boxes don't have height), this might create issues.

tabula-sharp

Could you put the code you've used to extract the table (which algo did you used)?
If your document contains non-public information, keep if for yourself. But you could try to recreate the issue with another docment and put it here.

Possible quick win: Can you try using camelot-sharp instead of tabula-sharp? This library's goal is the same but works differently. The nuget package is available, but only as a pre-release.

Hi @emrebiber, thanks for raising an issue.
I think the issue could come from two sources:

PdfPig

Could you check that the letters/words bounding boxes are correctly computed by running DLAViewer with your document? If they are not correctly displayed (for example the bounding boxes don't have height), this might create issues.

tabula-sharp

Could you put the code you've used to extract the table (which algo did you used)?
If your document contains non-public information, keep if for yourself. But you could try to recreate the issue with another docment and put it here.

Possible quick win: Can you try using camelot-sharp instead of tabula-sharp? This library's goal is the same but works differently. The nuget package is available, but only as a pre-release.

Hi again,

DLAViewer
I did run it and attached xml also here I hope this will help.
Test.txt

tabula-sharp

I did use SimpleNurminenDetectionAlgorithm and BasicExtractionAlgorithm.
Here is the code snippet:
using (var document = PdfDocument.Open(model.File.InputStream, new ParsingOptions() { ClipPaths = true }))
{
      ObjectExtractor oe = new ObjectExtractor(document);
      PageArea pageArea = oe.Extract(i);
      var detector = new SimpleNurminenDetectionAlgorithm();
      var regions = detector.Detect(pageArea);
      IExtractionAlgorithm ea = new BasicExtractionAlgorithm();
      var tables = ea.Extract(pageArea.GetArea(regions[0].BoundingBox));
      var table = tables[0];
      var rows = table.Rows;
}

I also attached the pdf file that I'm trying.
Test.pdf
I can for sure try camelot-sharp but do you have some kind of instructions on how can I try it?

Hi again,

DLAViewer
I did run it and attached xml also here I hope this will help.
Test.txt

tabula-sharp

I did use SimpleNurminenDetectionAlgorithm and BasicExtractionAlgorithm.
Here is the code snippet:
using (var document = PdfDocument.Open(model.File.InputStream, new ParsingOptions() { ClipPaths = true }))
{
      ObjectExtractor oe = new ObjectExtractor(document);
      PageArea pageArea = oe.Extract(i);
      var detector = new SimpleNurminenDetectionAlgorithm();
      var regions = detector.Detect(pageArea);
      IExtractionAlgorithm ea = new BasicExtractionAlgorithm();
      var tables = ea.Extract(pageArea.GetArea(regions[0].BoundingBox));
      var table = tables[0];
      var rows = table.Rows;
}

I also attached the pdf file that I'm trying.
Test.pdf
I can for sure try camelot-sharp but do you have some kind of instructions on how can I try it?

Looking at the pdf, my first guess would be that the 2 columns are merged together because of this word spanning 2 columns:

It is going to be difficult for the algo to know how to split that. In which column would you put this word?
Concerning Camelot, I took that from my tests:
Lattice lattice = new Lattice(new OpenCvImageProcesser(), new BasicSystemDrawingProcessor());
// In your case, it is better to use the Stream BaseParser (rather than the Lattice parser)
var tables = lattice.ExtractTables(doc.GetPage(1), layout_kwargs: null);

You are right that's the word merging those columns together. Thanks for your help. This library is so useful.


shaked not working on ios when app in background

I tested react-native-sensors in background and it works, event on screen off!.
But somehow the shake is not detected when the app is in background.
Is there any fix or some hack to suggest?

?

I dont think shake detection works in the background in general.

shake detection works with accelorators sensors like react-native-sensor, if yes the it should work in background

Found this after a quick googling:
https://stackoverflow.com/questions/39342611/listening-to-device-shake-event-on-background-mode

I allow the background mode in my app, the sensors are working in background mode, execpet this library.
What sensors this package is using?

Ok i check and you can do it with motion detection with acceleration


Invalid date

Hello

I tried  to reproduce :

This should now be fixed I believe, please let me know if you see it again.


Quotation marks in launch.json

Context
With the original contrib/ide/vscode/launch.json, I get the following error when trying to "Launch (with SQLite3)":
named files must be .go files: sqlite_unlock_notify"
exit status 1
Process exiting with code: 1

This is on Ubuntu Linux.
Fix
Using single quotation marks instead of escaped double quotes fixes the problem.

Additionally, the added settings.json allows running single unit tests through the Go extension.
I figured both changes are small enough to fit into one PR. ;)

Codecov Report

Merging #13325 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #13325      +/-   ##
==========================================
- Coverage   42.13%   42.12%   -0.01%
==========================================
  Files         689      689
  Lines       75845    75845
==========================================
- Hits        31956    31952       -4
- Misses      38658    38661       +3
- Partials     5231     5232       +1

Impacted Files
Coverage Δ

modules/charset/charset.go
68.53% <0.00%> (-4.50%)
:arrow_down:

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 8e368e7...1bf5f38. Read the comment docs.


Incorrect number of Pokemon post use

After using the bot and stopping the program using SIGINT and logging in the pokemon displayed vs. the number of pokemon I supposedly have are different.

Complete the setup tutorial - pick your starter
Log out and back in afterward

Just to clarify: eggs use a pokemon inventory slot
So 1 Paras + 3 eggs = 4 / 250
Nothing to do with the bot

Ah, didn't realize the eggs took spots. Thanks.


Globalnet fix for issues with multiple headless svs

The reconciler method used in startIngressPodController was listing all the
globalIngressIP objects in the cluster and was deleting the previous ones.
Because of this, at any point of time, only one globalIngressIP object was
existing for an Headless Service that is exported. This PR updates the
reconciler to use labelSelector such that it only tries to list the pods
that match the associated label of the headless svc.
Fixes issue: https://github.com/submariner-io/submariner/issues/1634
Signed-off-by: Sridhar Gaddam<EMAIL_ADDRESS>

@tpantelis @nyechiel thanks for reviewing the PR. Did some more testing and fixed one corner case, in-case you want to take a relook.

Thank you @skitt. I'll handle the backport and will push a PR shortly.

Link to the backport: https://github.com/submariner-io/submariner/pull/1640


Bytt til "nais/docker-build-push"-action

Bytter fra docker/build-push-action GitHub action til å bruke NAIS sin nais/docker-build-push GitHub action. Dette gir oss en del fordeler blant annet mtp. stabilitet ved image-pulls da nais/docker-build-push går mot Google Artifact Registry (GAR) i stedet for GitHub Container Registry (GHCR), samt automatisk signering/scanning av Docker images via SALSA.
Det står en god del om dette i NAIS-docen, bla.a. Salsa - NAIS og OCI registry migration - NAIS. Noen relevante utdrag:

SLSA is short for Supply chain Levels for Software Artifacts pronounced salsa.
It is a security framework, essentially a checklist comprising standards and controls aimed at preventing tampering, enhancing integrity, and securing both packages and infrastructure within our projects.

If you utilize the nais/docker-build-push action for building and pushing your container image, you will automatically receive a signed attestation/SBOM (Software Bill of Materials) for your container image and its dependencies.
This SBOM will be uploaded to your container registry along with your image. The attestation is generated by the Trivy GitHub action and signed using cosign.

Upon deploying your image to NAIS, the attestation will undergo verification by the NAIS platform (picante) and will be uploaded to an SBOM analysis platform known as Dependency-Track. In Dependency-Track, you can examine the attestation as well as the vulnerabilities present in your image and its dependencies.

GHCR serves as a OCI registry hosted by GitHub, but it has certain limitations, such as imposing strict rate limits on the number of requests. We've encountered challenges with these rate limits, particularly when upgrading a cluster or restoring from a backup. In such instances, we've had to patiently wait for the rate limits to reset before deploying / restoring our applications.
On the other hand, GAR is a OCI registry hosted by Google, and we find it to be a more favorable solution for our needs. Additionally, as we transition to the cloud, the seamless integration with the Google Cloud Platform further enhances its appeal as a beneficial option for our operations.

Trello ticket number and link

TC-380

 Bytte fra Snyk til GitHub Advanced Security


Decide if "rules" channel should have an oracle that defines the rules

As all messages in discord are editable, should we also have an external oracle here on GitHub that defines the overall rules or terms to use the Space Lab and its associated discord server. In case something gets deleted.

Here are some rules based on what Anna once said. I added food and drinks as well as cables.

Chairs: Return all chairs to their desks after use. Keep walkways and workspaces clear.
Consoles: Handle all gaming controls for PS4 and PS5 with care. Return them to the charging stations after use.
Closing Hours: Ericsson Space closes at 23:00. Do not stay in the lab after closing time.
Trash: Dispose of any trash in the bins provided.
Lab Cleanliness: If Ericsson Space is messy, equipment is damaged, or anything is missing, notify the labrats on Discord to address the issue quickly.
Noise Level: Respect each other by keeping noise levels down.
Food and Drinks: Food and drinks are not allowed in the lab, except for water and wrapped candy/bars.
Cables: Do not unplug or move cables. If any cables are missing, contact the labrats.

Using a bit of GPT magic, I think this is a pretty good header for all the rules. It does limit the amount of rules we can have as it states consequences for breaking the rules. Maybe only 3 or 4 rules are good.

This is a place for students to hang out, study, chill, and engage in activities. Everyone is welcome, but please follow our guidelines to ensure a positive experience for all. Violating the rules may result in revoked access to the lab.

Closing Hours: Ericsson Space closes at 23:00. Do not stay in the lab after closing time.
Food: Only wrapped candy or bars are allowed in the lab; other food is prohibited.
Lab Cleanliness: If Ericsson Space is messy, equipment is damaged, or anything is missing, notify the labrats to address the issue quickly.
Respect others by keeping noise levels down, returning chairs to their places, and handling equipment with care so it's ready for the next person.

I made some progress to the Onboarding configuration. For it to be fully finished we need to define roles of the server and make sure their permissions are what is intended. The onboarding includes rules that the user has to accept, but it doesn't display consequences as I imagined it to do, so the #rules channel is still important to communicate that. The onboarding rules are more like guidelines for behaviour on the discord server and not in physical space.
The remaining part of the onboarding process is to define a welcome sign, where rat king welcomes the user. A todo for a new user to follow, this will mainly be reading the #rules channel and maybe announcements to get a feel. Lastly it supports "resource pages", which is a discord feature to convert a chat into a readable document format. It starts from the top and goes down essentially. This can be useful for displaying the inventory we're able to lend out or the program overview.


cant see and there isnt anything coming up on preview on anything I prompt. Have i just wasted my tokens???

Describe the bug
cant see and there isnt anything coming up on preview on anything I prompt. Have i just wasted my tokens???
And theres warning coming up.
~/project
❯ npm install
npm WARN deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
npm WARN deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
npm WARN deprecated<EMAIL_ADDRESS>This version is no longer supported. Please see https://eslint.org/version-support for other options.
npm WARN deprecated<EMAIL_ADDRESS>Use @eslint/object-schema instead
npm WARN deprecated<EMAIL_ADDRESS>Use @eslint/config-array instead
added 353 packages in 5s
76 packages are looking for funding
run npm fund for details
~/project 5s
❯ npm run dev

<EMAIL_ADDRESS>dev
vite

VITE v5.4.11  ready in 764 ms
➜  Local:   http://localhost:5173/
➜  Network: use --host to expose
➜  press h + enter to show help
(!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-d9ddxj
Steps to reproduce
dont know you tell me.cant see and there isnt anything coming up on preview on anything I prompt. Have i just wasted my tokens???
Expected behavior

Screen Recording / Screenshot

Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 65865046,
  "usedJSHeapSize": 59940434,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = rama@
Chat ID = defb53b6a4bf

Additional context
~/project
❯ npm install
npm WARN deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
npm WARN deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
npm WARN deprecated<EMAIL_ADDRESS>This version is no longer supported. Please see https://eslint.org/version-support for other options.
npm WARN deprecated<EMAIL_ADDRESS>Use @eslint/object-schema instead
npm WARN deprecated<EMAIL_ADDRESS>Use @eslint/config-array instead
added 353 packages in 5s
76 packages are looking for funding
run npm fund for details
~/project 5s
❯ npm run dev

<EMAIL_ADDRESS>dev
vite

VITE v5.4.11  ready in 764 ms
➜  Local:   http://localhost:5173/
➜  Network: use --host to expose
➜  press h + enter to show help
(!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling.

Appreciate the feedback! We are aware of this issue and are tracking it here: #1791. You can also try typing “npm run dev” in the Bolt console to see if that resolves the issue. We appreciate your patience as improvements continue to be made!

Hi Brain,
Does that mean I wasted my tokens??
And do I get this back if it has wasted?
On 13 Nov 2024, at 2:04 pm, Brian @.***> wrote:

Closed #2138https://github.com/stackblitz/bolt.new/issues/2138 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/stackblitz/bolt.new/issues/2138#event-15283694734, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BM4L4AQWK3SZBV6FRSMBRU32ANL5LAVCNFSM6AAAAABRVDOVDCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGI4DGNRZGQ3TGNA.
You are receiving this because you authored the thread.Message ID: @.***>

Nothing is working and have tried what you said. [image0.jpeg]
Sent from my iPhone
On 13 Nov 2024, at 2:04 pm, Brian @.***> wrote:

Appreciate the feedback! We are aware of this issue and are tracking it here: #1791https://github.com/stackblitz/bolt.new/issues/1791. You can also try typing “npm run dev” in the Bolt console to see if that resolves the issue. We appreciate your patience as improvements continue to be made!
—
Reply to this email directly, view it on GitHubhttps://github.com/stackblitz/bolt.new/issues/2138#issuecomment-2473710516, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BM4L4AWG5OPTEE33FHASDID2ANL5RAVCNFSM6AAAAABRVDOVDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZTG4YTANJRGY.
You are receiving this because you authored the thread.Message ID: @.***>

Hi,
While manually running "npm run dev" works in some cases, it unfortunately does not resolve all cases. The team is hard at work continuing to improve performance. Refund requests are handled through<EMAIL_ADDRESS>We appreciate your patience as improvements continue to be made!


obsolete single steps under "inositol phosphate metabolic process"

Please provide as much information as you can:
similar to
https://github.com/geneontology/go-ontology/issues/24267

GO term ID and Label
but we don't have so many of the intermediate steps instantiated

GO:0071543    diphosphoinositol polyphosphate metabolic process
(2 annotations)
1 PomBase (removed)
1 human UniProt
GO:0032957    inositol trisphosphate metabolic process
22 EXP annotations

Reason for deprecation

single steps

"Replace by" term (ID and label)
If all annotations can safely be moved to that term

parent
inositol phosphate metabolic process

Are there annotations to this term?

How many EXP:

Are there mappings and cross references to this term? (InterPro, Keywords; check QuickGO cross-references section)

Is this term in a subset? (check the AmiGO page for that term)

Any other information

This is basically the pathway


Isolate CNM specific fields in the API to allow for future coexistence with CNI

As part of https://github.com/docker/swarmkit/pull/1965 (adding a direct containerd executor to swarmd) I would like to support networking via CNI plugins. Currently swarmkit is using CNM via libnetwork so this means some refactoring is needed.
This PR begins that work by moving CNM related parts of the Network and NetworkSpec objects into CNMState and CNMSpec objects and encapsulating those within a protobuf oneof, opening the door to adding CNI alongside in the future. It's possible that I have actually moved too much and that some stuff is more generic than I decided it was.
I have tested that a revendoring into https://github.com/docker/docker is still working using
https://github.com/docker/docker/compare/8d96619e5a367798cffcb740cfc41e0a505a5232...ijc25:swarmkit-cnm-spec-refactor and running the integration tests locally (disclaimer: I'm not sure to what extent this actually exercises swarmkit). I also did some manual testing enabling swarm mode, creating a service on the default network, creating an overlay network and creating a service on that:
$ docker service create --restart-condition=none --name nginx docker.io/library/nginx:latest
$ docker network create --attachable -d overlay ole
$ docker service create  --restart-condition=none --network ole --name nginx2 library/nginx:latest

I also have a local PoC which adds CNI alongside although that is not included here.
I have two major concerns:

Network.State and Network.Spec.Spec must be in sync

If Network.Spec.Spec is a CNMSpec then Network.State must be a CNMState, else there is a very confusing mismatch. I don't think this can be enforced through types and the swarmkit data model does not allow these to be combined into a single type.
To try and help here I added code to the swarmkit store which tries to populate an empty Network.State with a CNMState if the NetworkSpec has a CNMSpec whenever one passes through its hands (so at both store and retrieve time).

How to properly handle the changes to the protobuf, in particular over upgrade.

(I'm assuming that this is something which needs to be supported)
I couldn't find much guidance beyond the Backwards-compatibility issues bit of https://developers.google.com/protocol-buffers/docs/proto3#oneof which isn't quite relevant.
One approach (which I haven't yet tried, but which seems plausible) would be to retain the old fields (with the same tag numbers, but perhaps renamed to CompatCNMFoo to avoid accidental reliance on the old fields) and to upgrade in the store API.

CI problems are fixed in master but I chose this baseline for compatibility with the docker/docker#master I was revendoring into for testing.

One approach (which I haven't yet tried, but which seems plausible) would be to retain the old fields (with the same tag numbers, but perhaps renamed to CompatCNMFoo to avoid accidental reliance on the old fields) and to upgrade in the store API.

Yes, keeping the old fields with the same tag numbers will be necessary.

If Network.Spec.Spec is a CNMSpec then Network.State must be a CNMState, else there is a very confusing mismatch. I don't think this can be enforced through types and the swarmkit data model does not allow these to be combined into a single type.
To try and help here I added code to the swarmkit store which tries to populate an empty Network.State with a CNMState if the NetworkSpec has a CNMSpec whenever one passes through its hands (so at both store and retrieve time).

I'm not sure I like the idea of enforcing this at the store level. We are trying to keep business logic out of the store. If an inconsistency somehow arises, I think it's better to return an explicit error than inserting an empty CNMState. But this shouldn't be an issue in practice if controlapi creates the appropriate type of state when the network is created or modified.
There is also a backward compat issue here, and it's potentially more serious than the Spec compat issue. There will be existing networks in the system that have state stored in the existing fields. Even if we migrate this state to the new fields, nodes in the cluster running an old version wouldn't be able to access the state. We make it a goal to support incremantal upgrades of a cluster (so downtime can be avoided), so it's important to support setups where some nodes aren't running the latest version.
In similar situations in the past, we've continued to support the old field, while preferring the newer one when it's available. The best example I can think of is that a service's network attachments moved from Spec.Networks to Spec.Tasks.Networks during the 1.12 release candidate period. To this day, we check Spec.Tasks.Networks first, and if it's set, we honor that field. Otherwise, we honor Spec.Networks instead.
Something like this could work for the specs and state. An existing network would continue to use the old fields, both in Spec and State. But once a new one is created that uses CNMSpec, it would end up using CNMState instead of the old state fields. New networks created in this way would be incompatible with older swarmkit versions, but that seems like a reasonable tradeoff.
I expect this would be pretty ugly, but I'm not sure there's a better way. Do you have a sense of how much complexity it would take to support both the old and new variants simultaneously?

Something like this could work for the specs and state. An existing network would continue to use the old fields, both in Spec and State. But once a new one is created that uses CNMSpec, it would end up using CNMState instead of the old state fields. New networks created in this way would be incompatible with older swarmkit versions, but that seems like a reasonable tradeoff.

So AIUI the assumptions/requirements here are:

Rolling upgrade is time bounded, i.e. all the hosts will be upgraded in some reasonable time period, rather than running a hybrid cluster for months.
During the upgrade some functional restrictions such as "newly created objects cannot be scheduled on non-upgraded hosts" are acceptable.

which seems reasonable to me. Given that I think what you propose is workable.

Do you have a sense of how much complexity it would take to support both the old and new variants simultaneously?

If you mean the "use legacy if new doesn't exist" approach I don't think it would be too bad. Might require some helpers.
On the plus side the special handling would only apply to the CNM stuff, the CNI stuff would be new way only, which should mean the need for compat code is more constrained than it might otherwise be.

Rebased to a newer master. PoC integration into docker/docker is now https://github.com/docker/docker/compare/a258ef58d8a100467d5d948b026a884ebe58eaf4...ijc25:swarmkit-cnm-spec-refactor

I added a commit which updates the tests to compile and (hopefully!) pass. It's interesting to see all the places where we were previous able to rely on the nil values of fields being something useful and now need to write Spec: &api.NetworkSpec_CNM{CNM: &api.CNMNetworkSpec{}} and/or State: &api.Network_CNM{CNM: &api.CNMState{}} to cause it to be the right kind of object.

So AIUI the assumptions/requirements here are:

Rolling upgrade is time bounded, i.e. all the hosts will be upgraded in some reasonable time period, rather than running a hybrid cluster for months.
During the upgrade some functional restrictions such as "newly created objects cannot be scheduled on non-upgraded hosts" are acceptable.

which seems reasonable to me. Given that I think what you propose is workable.

Yes, I think that's exactly the right model. We're looking to formalize this soon and provide a mechanism where nodes can publish their capabilities, and the managers can block new features until the whole cluster supports them. Until then, this is basically the right heuristic to follow.

Forced push:

Rebased onto latest master (actually onto #2150)
NetworkSpec.Spec oneof is now called NetworkSpec.Backend   to avoid stuttering. Not 100% happy with this name.
Readded the old fields with new (compat) names but the same protobuf  tags and arranged to use them if the oneof is nil so that upgrades and hybrid clusters should still work under the constraints discussed in the comments.
Added some helpers to aid with the compat, IMHO the code looks much better than the first cut and in particular the need to arrange for Network.State to always exist and correspond to Network.Spec.Backend is now gone from the store code and client code.
The Network.State helpers are a matched pair of Get and Set which must be used, the Get helper goes out of its way to ensure that writing to its result wont actually persist unless Set is called by returning a copy.
The NetworkSpec.Backend helper is only Get since the core should never be setting the Spec. It also goes out of its way to ensure that writing to the result will not persist.
Many tests are now run twice once with the compat fields and again with the new fields.

The corresponding moby/moby changes can be found at:
https://github.com/moby/moby/compare/9752e41fd06a46a7d3f3e1c42168dc02df53b81c...ijc25:0aa7c4671e3c63446e57dbd4b7236773e420873d

One thing I'm not sure of is whether the fields I have moved in NetworkSpec are all CNM specific. I think DriverConfig and IPAM pretty clearly are but I am less sure about Ipv6Enabled, Internal, Attachable and Ingress.

Rebased to resolve conflict and pickup merge of #2150 and force pushed. Couple of minor updates to tests (fixup a new case & check that n.State matches n.Spec.Backend in some tests).
Corresponding moby/moby changes: https://github.com/moby/moby/compare/d35fc14099b7474ea988fc51b7dee7cbe1659390...ijc25:4f8b53ce5fb3618fb7eb8e9af3e0c12a2b9701bb

I think the protos are handled correctly here, and overall this looks about as clean as we can hope for with a change of this magnitude.
I wish I could provide more insight into the networking details, for example which fields are actually CNM-specific. @aboch I'd be curious to get your thoughts here.

@aaronlehmann thanks for the review! I think I've addressed everything. I'm putting off rebasing and folding them in for now, but will do so at some point before this is ready to merge.


Add documentation about itc_provider option for deliver and pilot

Related to https://github.com/fastlane/fastlane/issues/4921

👍


straight-bug-report: programmaticly set executable default

Rather than assume a default of "emacs", we can use the path of the
currently running Emacs session. This should prevent the user from
having to manually specify an :executable in most cases.

See: #599 user is on MacOS and "emacs" is was not the appropriate executable.

Blocked by #601


can not rebinding GPU device to vfio because device with non-zero usage count

What happened:
I want to use the NVIDIA GPU device pass through mode with Kata Containers. but when I followed the doc attempting to rebind the GPU to the VFIO-PCI driver, But it hangs on command
echo -n "0000:8a:00.0" > /sys/bus/pci/devices/0000:8a:00.0/driver/unbind

run dmesg -T -w I get the log:
[Fri Sep 30 10:38:28 2022] NVRM: Attempting to remove device 0000:8a:00.0 with non-zero usage count!

so I think there is a process handle the device. run ps -ef | grep nvidia:
# ps -ef | grep nvidia
root      1123     2  0 10:05 ?        00:00:00 [nvidia-modeset/]
root      1124     2  0 10:05 ?        00:00:00 [nvidia-modeset/]
root     40008     2  0 10:52 ?        00:00:00 [irq/218-nvidia]
root     40009     2  0 10:52 ?        00:00:00 [nvidia]
root     40013     2  0 10:52 ?        00:00:00 [irq/219-nvidia]
root     40014     2  0 10:52 ?        00:00:00 [nvidia]
root     40016     2  0 10:52 ?        00:00:00 [irq/220-nvidia]
root     40017     2  0 10:52 ?        00:00:00 [nvidia]
root     40019     2  0 10:52 ?        00:00:00 [irq/221-nvidia]
root     40020     2  0 10:52 ?        00:00:00 [nvidia]
root     40022     2  0 10:52 ?        00:00:00 [irq/222-nvidia]
root     40023     2  0 10:52 ?        00:00:00 [nvidia]
root     40065     2  0 10:52 ?        00:00:00 [irq/223-nvidia]
root     40066     2  0 10:52 ?        00:00:00 [nvidia]
root     40118     2  0 10:52 ?        00:00:00 [irq/224-nvidia]
root     40119     2  0 10:52 ?        00:00:00 [nvidia]
root     40321 38145  0 10:52 pts/2    00:00:00 grep nvidia

then I stop the kubelet by command systemctl stop kubeket, above Nvidia processes are all closed, and unbind command execute success:
# dmesg -T
[Fri Sep 30 10:38:28 2022] NVRM: Attempting to remove device 0000:8a:00.0 with non-zero usage count!
[Fri Sep 30 10:50:52 2022] NVRM: Continuing with GPU removal for device 0000:8a:00.0
# ps -ef | grep nvidia
root      1123     2  0 10:05 ?        00:00:00 [nvidia-modeset/]
root      1124     2  0 10:05 ?        00:00:00 [nvidia-modeset/]
root     39579 38145  0 10:50 pts/2    00:00:00 grep nvidia

What you expected to happen:
unbinding the NVIDIA device success without stopping kubelet.
In addition, I have the following question:

what is the relationship between kubevirt and process [irq/224-nvidia],[nvidia],
What exactly does process [irq/224-nvidia] and [nvidia] do?

How to reproduce it (as minimally and precisely as possible):
Steps to reproduce the behavior.

run lspci -nnD get the Bus-Device-Function (BDF) for the GPU device on the host
unbinding the device from nvidia driver:

# echo $vendor_device > /sys/bus/pci/drivers/vfio-pci/new_id
# echo $NVIDIA_BDF > /sys/bus/pci/devices/$NVIDIA_BDF/driver/unbind          // hangs on unbinding

run dmesg -T get log:

[Fri Sep 30 10:38:28 2022] NVRM: Attempting to remove device 0000:8a:00.0 with non-zero usage count!

stop the kubelet by command systemctl stop kubelet, unbind action start work,

# systemctl stop kubelet
# dmesg -T
[Fri Sep 30 10:50:52 2022] NVRM: Continuing with GPU removal for device 0000:8a:00.0
# ps -ef | grep nvidia
root      1123     2  0 10:05 ?        00:00:00 [nvidia-modeset/]
root      1124     2  0 10:05 ?        00:00:00 [nvidia-modeset/]
root     39579 38145  0 10:50 pts/2    00:00:00 grep nvidia

Additional context:
Add any other context about the problem here.
Environment:

KubeVirt version (use virtctl version): N/A
Kubernetes version (use kubectl version): N/A
VM or VMI specifications: N/A
Cloud provider or hardware configuration: N/A
OS (e.g. from /etc/os-release): N/A
Kernel (e.g. uname -a): N/A
Install tools: N/A
Others: N/A

related issue: https://github.com/kubernetes/kubernetes/issues/112795

@soulseen from what I see you are asking about Kata Containers, but this is KubeVirt.
So I am not sure whether your document is even applicable here? Or are you saying that you are running Kata Containers inside a VM in KubeVirt?
I the latter case, we would need more information about the exact KubeVirt setup that you are using and also the vm.yaml to see how your VM is actually configured.


sagetex: init at 3.6

Motivation for this change
I want to add the sagetex latex package to nixpkgs. This package works and makes sagetx.sty know to latex, however since sage is not packaged as a python module, it is not possible to build the outputs of the .sagetex.sage file.
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.05 Release Notes (or backporting 21.11 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.

I didn't try installing this package, but with Sage installed and st_example.tex from https://doc.sagemath.org/html/en/tutorial/sagetex.html, the following works if I have upstream's sagetex.py and sagetex.sty in the same directory as st_example.tex:
$ pdflatex st_example.tex
$ sage st_example.sagetex.sage
$ pdflatex st_example.tex

Judging by the "it is not possible to build the outputs of the .sagetex.sage file", I think we are using different workflows. What breaks in your case? I understand why importing sage from Python would be a good thing to support in general, though, and hopefully we'll be able to do that next year.

@collares Yes I guess we have different workflows, I was getting an error that sage could not be imported. But that is another issue, and as you have tried it works as expected :smiley:
So I am looking forward for this to get merged.
However I am not sure if the package files are in the correct directory, but I hope it is fine.

I have been using this for the past few days and works fine, so I think it is ready.

The commits have now been squashed @legendofmiracles

Result of nixpkgs-review pr 151876 run on x86_64-linux 1

1 package built:

sagetex

Can you please fix the failing editorconfig check?
After that LGTM, although I don't know how to test this

Result of nixpkgs-review pr 151876 run on x86_64-linux 1

1 package built:

sagetex


SDK should have a clear error when its loooking for a serial # and cannot find it.

Describe the bug
On Linux if the device reports different serial numbers for depth and color camera's then libuvc cannot locate the correct device. We should make the error message clear that serial number XXX is being searched for and eventually not found.
To Reproduce
Any test with a device that has different serial numbers programmed on the Depth and Color cameras.
Logs
Found 1 connected devices:
[2019-05-13 13:32:47.162] [error] [t=11166] ../src/color/uvc_camerareader.cpp (53): Init(). Can't find UVC device: No such device
[2019-05-13 13:32:47.162] [error] [t=11166] ../src/color/color.cpp (83): color->m_spCameraReader->Init(serial_number) returned failure in color_create()
[2019-05-13 13:32:47.162] [error] [t=11166] ../src/sdk/k4a.c (173): color_create( device->tick_handle, container_id, serial_number, color_capture_ready, handle, &device->color) returned failure in k4a_device_open()
0: Failed to open device
0: Failed to get serial number length

This issue should only happen when the depth camera and color cameras have different serial numbers. It should not happen on production hardware.


Embedded "comment" shortcode

Although I dislike embedding opinionated shortcodes, given the changes in v0.137.0 (raw HTML warnings) a comment shortcode might make sense:
{{- $noop := .Inner -}}

Obviously this is not opinionated.
I'm in the process of writing a tips and trick article for the forum, and part of that document explains what to do instead of using HTML comments in Markdown. So instead of each site and theme author having to reinvent the wheel, perhaps we should embed one.

we should embed one.

We should.

@jmooring @bep
Hey guys, I would like to know if it is possible to support an extended markdown format like obsidian comments.
This is an %%inline%% comment.

%%
This is a block comment.

Block comments can span multiple lines.
%%


Expose cleanup_metadata or create_checkpoint_from_table_uri_and_cleanup to the Python API

Description
When utilizing the table.create_checkpoint() method in Python, direct access to the cleanup_metadata() function is currently unavailable. This limitation results in an increased number of log entries. In Spark, this feature is integrated as a step at the end of the method (as evident in the Spark implementation). However, it's conspicuously absent from the Python API.
In the Rust implementation (as seen in the Rust implementation), there's a cleanup_metadata and also create_checkpoint_from_table_uri_and_cleanup method, but it's not called at the end of the create_checkpoint process.
There is another Pull Request (PR) that addresses the creation of a checkpoint both before and after the vacuum operation. However, the absence of the cleanup_metadata method during the checkpoint creation process results in the metadata directory remaining uncleared.
Use Case
Cleaning up the Metadata Directory After Checkpoint Creation or Optimization
Related Issue(s)
#1728

I agree that the cleanup_metadata method should be made available in Python, as it can be useful to reduce the file listing time as the number of files in _delta_log grows. However I would definitely not add it to the create_checkpoint function. You generally want to keep the metadata, so you have the ability to roll back to a previous version.

take

thanks @r3stl355 , for more details and discussion on the root cause of the issue, please refer to this discussion thread.


Typo on the home page - "OSX"

On https://httpie.org/ "OSX" should be either "OS X" or alternatively the new name is "macOS".
Thanks for httpie!

Fixed, thanks!

On Sun, 17 Dec 2017 10:46:57 -0800
Jakub Roztocil<EMAIL_ADDRESS>wrote:

Fixed, thanks!

you are welcome.
--
Shlomi Fish       http://www.shlomifish.org/
My Photos - http://www.flickr.com/photos/shlomif/
He who has more is not happier than he who wants less.
— Source unknown, via Nadav Har’El.
Please reply to list if it's a mailing list post - http://shlom.in/reply .


Chembl: transfer similarity search and Substructure Search from ChemblAPI for the local database

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14821

Consider to close

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16079


SQL commands are not colorized

SQL Commands are not colorized on the web but in my local computer I can see the commands colorized correctly with sphinx. It would be nice to see the colorized SQL snippets on the web as well.

The majority of code is now colorized by the introduction of the new sphinx theme. Any code that lacks highlighting does so because its language is not specified in a handful of places. Checking syntax highlighting is a checklist item in the open PR for restructuring the main menu, so I'm closing this issue.


Add custom attribute option for skills

Hello! I have a player who is playing a biohacker, but not in system as of yet which is fine, so I added it and went thru all the steps. Something unique to a Biohacker tho is they get to choose studious which allows them to make Perception checks with Int or they can take instinctive which allows them to make Life Science and Physical Science I believe with Wis. I dont see a way to change that at all on the sheet though.

Right click on the skill. This will be bring up a dialog. You should be able to change the linked ability there.

Thanks for the reply yea I happened to notice it last night. I completely
looked over it! Thank u again!
On Tue, Sep 29, 2020, 8:46 PM James Allred<EMAIL_ADDRESS>wrote:

Right click on the skill. This will be bring up a dialog. You should be
able to change the linked ability there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wildj79/foundryvtt-starfinder/issues/190#issuecomment-701109921,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG3XAB2365IN54EAPHBRAS3SIKEXHANCNFSM4R5S7IXQ
.

No problem, glad you were able to figure it out 😉


Add Transport + Retry Layers between client and sending requests

New Changes:
Moves a bunch of logic into retryHandler that used to live in nodeClient and has the client call retryHandler for logging events, which retries on failed requests and sorts user ids into queues

@ManThursday were there other things we discussed that should be addressed before I close this? I updated the server timeout to what I thought might a reasonable time to wait. From our discussions, I have a bunch of fast-follows I plan on putting in to JIRA to work on:

Increased testing coverage

testing to make sure transport sends payloads in the right order
increased testing of retry edge cases

refactor of the mock transport to take in a array of responses to make it more configurable

testing of the client itself and the log/flush functions

changing the sleep from a bit hack to an array of sleeping times for better control
making sure the jest tests can be run from the main directory (and can be run on github actions + precommit hook)
(low pri) resolve the dependency issues with lerna


Update Specifics

Let me add all specifics lesson if I find an error, so just wait till I'm done to merge this!

@Kosmas could you evaluate the changes? thanks!

@gemantzu looks good.
:+1:

Thank you @gemantzu and @Kosmas ❤


Normal Service takes priority over Externalname service

Fixed, just realize i forgot to push.

/cherrypick release-1.6

@rshriram: once the present PR merges, I will cherry-pick it on top of release-1.6 in a new PR and assign it to you.

In response to this:

/cherrypick release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

ping @howardjohn

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
aabc970e9bdf4661b1e93e9bcb760af40f11d924
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-pilot-k8s-tests_istio

@rshriram: new pull request created: #23796

In response to this:

/cherrypick release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


docs: Update changelog for 3.1 release

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

Codecov Report

Merging #4723 (bb8ea23) into main (854655c) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main    #4723   +/-   ##
=======================================
  Coverage   41.55%   41.55%
=======================================
  Files         105      105
  Lines        9834     9834
=======================================
  Hits         4087     4087
  Misses       5395     5395
  Partials      352      352


'CandidateBlockingResult' object has no attribute 'print_summary_statistics'

In the following code:
from blocklib import generate_candidate_blocks
block_obj_alice = generate_candidate_blocks(alice['data'], blocking_config, header=alice['columns'])
block_obj_alice.print_summary_statistics()

By executing the following line:
block_obj_alice.print_summary_statistics()
I got the error
AttributeError: 'CandidateBlockingResult' object has no attribute 'print_summary_statistics'

which version of blocklib are you using?
print_summary_statistics() is a new feature that has not been part of an official release, yet. If you want to use this, you can either

try to build blocklib from the current source files, or
grab a recent wheel from the CI system and install that with pip install blocklib-0.1.8.dev0-py3-none-any.whl.


[Desktop] User cannot post comments on the posts in the Feed Section as there is no post button available. Also user cannot access comment button directly from the post list.

Steps to Reproduce:
Open "https://staging.fightpandemics.work/"
Login using valid email/password
Click on 'Feed' -> Comment on any Post
The comment would not get posted as there is no post button available.
Expected Result:
Users should be able to post comments on any post.
Actual Result:
The user is not able to post comments on any post.

Hi @gkjain82 this should be resolved with #769


Ikea bulbs connected to Philips Hue bridge are not responding after connecting to Ikea remote

I was using this plugin without any problem until today when I connected Ikea Tradfri remote following this tutorial: https://redsilico.com/blog/ikea-tradri-remote-with-hue-hub
After that, Ikea bulb has stopped responding to Homekit commands.
Is this known (and correct) behavior?
Thanks

Are the IKEA bulbs still responding in the Hue app?
The Trådfri remote sends commands directly to the lights.  The Hue bridge is unaware of this, until it next polls the lights.  Depending on the number of lights connected to your bridge, it might take up to a minute before the Hue bridge and homebridge-hue the the changed light states.  Unlike the Trådfri hub, which configures attribute reporting so the lights immediately report their new state to the hub.

No, they are not... They are responding only to the newly added Tradfri remote control. But before I added the remote control, everything works correctly.

Sounds like the remote didn't join the Hue network, but instead stole the light, and created an ad-hoc network with it.

And is it possible to connect remote to Hue network instead of this? Maybe the tutorial is creating this ad-hoc network? But theoretically is it possible to connect the Ikea remote to the Hue network?

In theory (haven't tried this myself) you should be able to join the remote to the Hue network, by touchlinking it to the Hue bridge, as described in step 1.  Apart from the methods described to enable touchlink on the bridge, I think holding the link button also still works.
In step 2, make sure not to reset the remote (causing it again to form a network on its own).  Also make sure the light has already been paired to the Hue network.  Best check that step 1 has succeeded on the first light (reacts to the remote and is still controllable from the Hue bridge), before proceeding with other lights.

Ok, thank you very much for your help! I'll let you know if this works :)


Chats not showing on another device while logged in on the same account

Describe the bug
When trying to view my previous chat on another device, they are not loading
MacBook

Windows

Link to the Bolt URL that caused the error
https://bolt.new/
Steps to reproduce

Go to https://bolt.new/ on 2 different devices
Hover on the left to see your past chats

Expected behavior
Past chats should sync across devices
Screen Recording / Screenshot

Platform

OS: macOS and Windows
Browser: Chrome on both
Version: 129.0.6668.90 (Official Build) (arm64)

Additional context
No response

Take screenshots of all the issues and paste them on x, and let the public know they are not taking care of their customers and fixing the issues needed to be fixed. If they fix the issues, I will stop. But I will not let down and will post this comment on every github issue to make sure everyone is on board. Don't just let this go out the window, its your work. Its your data. Spread the word and save other developers.

@gvasilakiss thanks for the detailed feedback! We are aware of this issue now, and are tracking the resolution in #17


Curriculum update needed on fundamentals-1.md

The Odin's file, fundamentals-1.md is updated. Please update the Kampus' file, checkout file here fundamentals-1.md
Latest commits:

Merge pull request #26989 from Mclilzee/remove-words-foundations (additions: 2, deletions: 2) on Jan 12 2024, 13:18 UTC

New commits have been made to the Odin's file. Please update the Kampus' file.
Latest commits:

changed all underscores to asterisks for markdown lint (additions: 5, deletions: 5) on Jan 18 2024, 08:46 UTC
added blank line after H3 for markdown lint (additions: 1, deletions: 0) on Jan 18 2024, 08:42 UTC
correct Javascript to JavaScript for markdown linting (additions: 1, deletions: 1) on Jan 17 2024, 09:17 UTC
change html to HTML for markdown linting (additions: 1, deletions: 1) on Jan 17 2024, 09:15 UTC
correct spelling of JavaScript (additions: 1, deletions: 1) on Jan 17 2024, 09:13 UTC
remove trailing space (additions: 1, deletions: 1) on Jan 17 2024, 09:12 UTC
update ordered list items to lazy numbering (additions: 7, deletions: 7) on Jan 16 2024, 08:34 UTC
update asterisks to hyphens (additions: 22, deletions: 22) on Jan 16 2024, 08:27 UTC


when i add new word in .arb it dosen't work

Describe the bug
whene i add new word to .arb file and try to use it in ui it not apper in suggestion and i if i typed manually it still give me error
The getter 'newLocale' isn't defined for the type 'S'.
i use the packge flutter intl from vscode to set up my localization in my apps when i run project on flutter version like 3.22.1 it work fine but when i updated to flutter 3.24.2 it won't work any more when i try to run the command in terminal
flutter pub global run intl_utils:generate
it give me error:

To Reproduce
usage in UI
void main(List<String> arguments) { print(S.of(context).newLocale) }
System info
flutter doctor -v

Hi @AliSabbar,
Could you check if reactivating the intl_utils package helps?
There is some issue with the Flutter cache after a Flutter upgrade.
Steps:

Deactivate intl_utils package:
flutter pub global deactivate intl_utils

Edit one of your ARB files and save to trigger intl_utils activation and generation of localization code.

Hi @AliSabbar,
Could you check if reactivating the intl_utils package helps? There is some issue with the Flutter cache after a Flutter upgrade.
Steps:

Deactivate intl_utils package:
flutter pub global deactivate intl_utils
Edit one of your ARB files and save to trigger intl_utils activation and generation of localization code.

Thank You it work again


add tldr entry

❯ tldr wami
Warning: The cache hasn't been updated for 42 days.
You should probably run tldr --update soon.
Warning: Page wami not found in cache.
Try updating with tldr --update, or submit a pull request to:
https://github.com/tldr-pages/tldr

https://github.com/NxtTAB/tldr-wami
Whating on PR of tldr-pages


RFC: Test: Compiling using docker-compose

At the moment in 1.0 branch if we update the base box the envoy
dependencies will complain. With this change runtime box will use
docker-compose to compile, so it'll be use the correct cilium-builder
image and it'll be easy to mantain over time.
Related to #4789
@aanm @ianvernon this what I mentioned in the issue, with this change does not matter what is the base box.
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

This change is

test-me-please

test-me-please

test-me-please

test-me-please

Close due failed approach.


TODO: harmonic interval / timeout

Base it on AudioContext currentTime (link) to prevent timer drift
Base it on requestAnimationFrame to prevent timer drift
Potentially leverage chained setTimeout vs. setInterval
Support worker as well?

API should be "native" effectively e.g.
setTimeout(fn, ms) and setInterval(fn, ms)

https://github.com/gohypergiant/standard-toolkit/pull/56


Flutter project is not running on Chrome without internet connection

Flutter project is not running on Chrome without internet connection:
$ flutter run
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...             40.8s
This app is linked to the debug service:
ws://<IP_ADDRESS>:39961/TfbzDLP3R7k=/ws
Debug service listening on ws://<IP_ADDRESS>:39961/TfbzDLP3R7k=/ws
💪 Running with sound null safety 💪
🔥  To hot restart changes while running, press "r" or "R".
For a more detailed help message, press "h". To quit, press "q".
An Observatory debugger and profiler on Chrome is available at:
http://<IP_ADDRESS>:39961/TfbzDLP3R7k=
Performing hot restart...                                          298ms
Restarted application in 300ms.

Hi @ombudev, Thanks for filing the issue. Offline support for web is currently not supported, There is a open feature request being tracked here #60069 Please follow up on the linked issue for further updates. Closing this issue as a duplicate.
Same as https://github.com/flutter/flutter/issues/94264 (closed).


cuninst shortcut comment correction

Description Of Changes
Change a small typo that was noticed on one of the pages in the docs.
Motivation and Context
We don't like typos :smile:
Testing

[x] I have previewed these changes using the Docker Container or another method before submitting this pull request.

Change Types Made

[x] Minor documentation fix (typos etc.).
[ ] Major documentation change (refactoring, reformatting or adding documentation to existing page).
[ ] New documentation page added.

Change Checklist

[ ] Requires a change to menu structure (top or left hand side)/
[ ] Menu structure has been updated

Related Issue
N/A

@HTDemony thank you for noticing this, and for taking the time to fix the problem!