Arborx update

This is in a pretty rough shape, but looking for a feedback.
Main issues:

I have only tested it with Trilinos Serial so far
I tested it with CUDA back in Jan, but not recently
Depending on ArborX means we need to load Trilinos too
This is mainly because enabling CUDA means we need to fetch nvcc_wrapper
I hope to have updated arborx in spack soon
However, spack's trilinos does not support cuda right now, and unclear when it will, so this may not be helpful
This is untested with nalu-wind

Overall, I'm only about 50% sure what works and what does not, and need help figuring it out.

@aprokop Regarding nvcc_wrapper, exawind-builder maintains a local copy of nvcc_wrapper (https://github.com/sayerhs/exawind-builder/blob/master/utils/nvcc_wrapper) so as not to have to pull trilinos for CUDA builds. The machine environment logic automatically sets up compilation through nvcc_wrapper when ENABLE_CUDA is on for codes that depend on  Kokkos. Individual codes (e.g., hypre) can turn this wrapper logic off using EXAWIND_GPU_KOKKOS_ENV=OFF.

The machine environment logic automatically sets up compilation through nvcc_wrapper when ENABLE_CUDA is on for codes that depend on Kokkos.

Depend on Trilinos, you mean? I don't think you use Kokkos by itself. I guess we could try the same thing for codes that depend on ArborX. We added a functionality in it to store the path to Trilinos or Kokkos that was used during its configuration, so likely won't need to load trilinos too.

Sorry I meant depend on Trilinos just for nvcc_wrapper... it is always included in exawind-builder if ENABLE_CUDA is on.

Can you please point me to the place where the magic happens? I'll add ArborX there, and update this PR after testing.

Machine environments call exawind_kokkos_cuda_env
https://github.com/sayerhs/exawind-builder/blob/885686172744cccf77b3a10e0994d6a0618fed9e/envs/ornl-summit.bash#L26-L30
and that is implemented here
https://github.com/sayerhs/exawind-builder/blob/885686172744cccf77b3a10e0994d6a0618fed9e/src/environment.bash#L166-L175

Current status (disregarding nalu-wind): when building Trilinos without CUDA, I am able to build everything, including TIOGA's ArborXInterface branch with ArborX enabled and disabled. When building Trilinos with CUDA, I am able to build Tioga's ArborXInterface branch with ArborX disabled, but fail to build with ArborX enabled due to:
[ 85%] Linking Fortran executable buildGrid
gfortran: error: unrecognized command line option '--relocatable-device-code=true'
gfortran: error: unrecognized command line option '-arch=sm_70

I need to see what I did in that branch as I remember messing with Fortran things, they are messy and not at all robust.

I'm able to build if I remove linker language from all targets in gridGen and driver:
--- a/driver/CMakeLists.txt
+++ b/driver/CMakeLists.txt
@@ -3,25 +3,32 @@ set(TIOGA_EXE_SOURCES
   modules.f90
   gridutils.f90
   poisson_utils.f90
+)
+if (TIOGA_ENABLE_ARBORX)
+  list(APPEND TIOGA_EXE_SOURCES
+      kokkos.f90
+      kokkos.C
   )
+endif()

 add_library(tiogadriver ${TIOGA_EXE_SOURCES})
-target_compile_definitions(tiogadriver PUBLIC ${MPI_Fortran_COMPILE_FLAGS})
+if (TIOGA_ENABLE_ARBORX)
+  target_link_libraries(tiogadriver PRIVATE ArborX::ArborX)
+endif()
+# target_compile_definitions(tiogadriver PUBLIC ${MPI_Fortran_COMPILE_FLAGS})
 target_include_directories(tiogadriver PUBLIC ${MPI_Fortran_INCLUDE_PATH})
-target_link_libraries(tiogadriver
+target_compile_options(tiogadriver PUBLIC "-cpp")
+target_link_libraries(tiogadriver PUBLIC
   tioga ${MPI_Fortran_LIBRARIES} ${CMAKE_DL_LIBS})

 add_executable(tioga.exe testTioga.f90)
 target_link_libraries(tioga.exe tiogadriver)
-set_target_properties(tioga.exe PROPERTIES LINKER_LANGUAGE Fortran)

 add_executable(tioga_read.exe testTioga_dataRead.f90)
 target_link_libraries(tioga_read.exe tiogadriver)
-set_target_properties(tioga_read.exe PROPERTIES LINKER_LANGUAGE Fortran)

 add_executable(poisson_mms.exe poisson_mms.f90)
 target_link_libraries(poisson_mms.exe tiogadriver)
-set_target_properties(poisson_mms.exe PROPERTIES LINKER_LANGUAGE Fortran)

 install(TARGETS tiogadriver
   RUNTIME DESTINATION bin
--- a/gridGen/CMakeLists.txt
+++ b/gridGen/CMakeLists.txt
@@ -12,7 +12,7 @@ add_executable(buildGrid ${GRIDGEN_SOURCES})
 target_include_directories(buildGrid PUBLIC ${MPI_Fortran_INCLUDE_PATH})
 target_link_libraries(buildGrid
   tioga ${MPI_Fortran_LIBRARIES} ${CMAKE_DL_LIBS})
-set_target_properties(buildGrid PROPERTIES LINKER_LANGUAGE Fortran)
+# set_target_properties(buildGrid PROPERTIES LINKER_LANGUAGE Fortran)

 install(TARGETS buildGrid
   RUNTIME DESTINATION bin

I'm now running into the following issue:
[100%] Linking CXX executable stk2tioga
/ccs/home/aprokop/code/exawind/install/gcc/trilinos/lib/libstk_unit_main.a(UnitTestMain.cpp.o): In function `main':
tmpxft_0001822c_00000000-5_UnitTestMain.cudafe1.cpp:(.text.startup+0x60): multiple definition of `main'
CMakeFiles/stk2tioga.dir/stk2tioga.cpp.o:tmpxft_00002c4b_00000000-5_stk2tioga.cudafe1.cpp:(.text.startup+0x240): first defined here
/usr/bin/ld: link errors found, deleting executable `stk2tioga'
collect2: error: ld returned 1 exit status
gmake[2]: *** [stk2tioga] Error 1
gmake[1]: *** [CMakeFiles/stk2tioga.dir/all] Error 2
gmake: *** [all] Error 2

So, there is main function present in libstk_unit_main.a. The interesting factor is that this is also the case when compiling Trilinos without Cuda, but it did not cause an issue there.
I'm not even why that library is even present.

With disabled STK tests things finally compile using CUDA and ArborX.

@sayerhs Please review.

As a side note, when I was building cuda and non-cuda builds at about the same time, I struggled to remember when I had to do ENABLE_CUDA for the packages. It seems to run parallel to CMake build system, and is another thing to remember.

@aprokop We have an  exawind branch for TIOGA and tioga_utils that has GPU support. Can you please test your builds against that, this branch doesn't have the linker issues you mention.
Also disabling STK unit tests in Trilinos will break Nalu-Wind, can you drop the commit? The latest exawind-builder commit has a fix to workaround the trilinos issue.
Also I noticed that spack/spack#19119 got merged, does that help ArborX in some way?

@aprokop We have an exawind branch for TIOGA and tioga_utils that has GPU support. Can you please test your builds against that, this branch doesn't have the linker issues you mention.

OK, I'll try those. I assume that I'll need to rebase ArborXInterface branch in TIOGA against that exawind branch.

Also disabling STK unit tests in Trilinos will break Nalu-Wind, can you drop the commit? The latest exawind-builder commit has a fix to workaround the trilinos issue.

I see what you did there. I'll try without that. Can you confirm that with that latest commit libstk_unit_main.a is absent from trilinos_install/lib?

Also I noticed that spack/spack#19119 got merged, does that help ArborX in some way?

It helps if you want to install both trilinos and arborx using Spack. I haven't tried using it yet, though. I would also need to update ArborX package in spack first to be able to use it. In any case, it does not matter for development work right now, as I'll do constant updates to ArborX source code to test with tioga-utils, so can't use spack.

I rebased, and it almost works with the arborx branch in my TIOGA fork. Right now, the final linking of stk2tioga fails with
with redefinition of argument 'relocatable-device-code'. Specifically, here's the final linking line:
mpic++ --remove-duplicate-link-files  --remove-duplicate-link-files
--relocatable-device-code=true  -Xcompiler -fopenmp
-expt-extended-lambda -arch=sm_70  -Xcudafe
--diag_suppress=esa_on_defaulted_function_ignored -O3 -DNDEBUG -O3
-DNDEBUG -rdynamic <bunch of libraries> -fopenmp
--relocatable-device-code=true -arch=sm_70 -lmpi_ibm_usempi
-lmpi_ibm_mpifh -lgfortran

So the first set of flags is clearly coming from Trilinos.
It seems that the second list is coming from the Kokkos::kokkos
target, i.e.
set_target_properties(Kokkos::kokkos PROPERTIES
  INTERFACE_LINK_LIBRARIES "kokkosalgorithms;kokkoscontainers;kokkoscore;-fopenmp;--relocatable-device-code=true;-arch=sm_70"
  INTERFACE_COMPILE_FEATURES "cxx_std_11"
  INTERFACE_COMPILE_OPTIONS "$<$<COMPILE_LANGUAGE:CXX>:--relocatable-device-code=true;-expt-extended-lambda;-arch=sm_70;-Xcompiler;-fopenmp;-Xcudafe;--diag_suppress=esa_on_defaulted_function_ignored>"
  INTERFACE_INCLUDE_DIRECTORIES "${KOKKOS_IMPORT_PREFIX}/include"

So it's coming from INTERFACE_LINK_LIBRARIES.
If I comment out INTERFACE_LINK_LIBRARIES, the -fopenmp
--relocatable-device-code=true -arch=sm_70` disappears.
I'm not sure why it worked before. Something must have changed in CMake of Trilinos/TIOGA/tioga-utils somewhere. I'm still not sure about the right way to address it.

Everything builds fine right now, tested with
| code            | hash    | branch  |
|-----------------+---------+---------|
| exawind-builder | 6e8e6fc | master  |
| trilinos        | 9b6bad1 | master  |
| arborx          | bc6ac79 | master  |
| tioga           | 806a11b | exawind |
| tioga-utils     | 18c5800 | exawind |

Everything builds fine right now, tested with
| code            | hash    | branch  |
|-----------------+---------+---------|
| exawind-builder | 6e8e6fc | master  |
| trilinos        | 9b6bad1 | master  |
| arborx          | bc6ac79 | master  |
| tioga           | 806a11b | exawind |
| tioga-utils     | 18c5800 | exawind |


Web app build / dev tooling - Vite, prettier, eslint?

:bulb: Idea
I'd like to try tackling #199 / #346, but would like to make some development / build improvements first if they sound good to you.
I would switch to Vite to make https testing easier for notifications (and though not deprecated, CRA isn't recommended anymore anyway), plus would add eslint and prettier for static analysis and formatting.

:computer: Target components
web app

Sounds great! I will comment on the web push issue once I get to it.
r.e. Discord/Matrix yes - will take a look later.

Sounds great! I will comment on the web push issue once I get to it.

It is worth noting that the PWA has been attempted before, so maybe check that code too when you get there.

Resolved by #747, #748, #749


Recognition from Threads not sending DM to receiver

A fistbump that is given in a channel will cause Gratibot to send a DM to the receiver informing them of their new gained gratitude. The same thing is supposed to happen when a fistbump is given in a thread but that isn't happening right now.

The recognition is still sent and tallied in the total, but the message of receipt never gets there.


Vast.ai notebook

Add a vast.ai notebook, it's almost the same as the google, I just removed google specific stuff.

The runpod notebook works on both runpod and vast.ai, I'd rather not maintain 3 notebooks

No problem


initial grok

Very rough, putting this up for visibility

I have more fixes on my branch that I am testing on Grok/llama to push.

I think the failing test is flaky, I'll TAL

Posted a comment here, doesn't show up on the main page.

Posted a comment here, doesn't show up on the main page.

lets chat at meeting

looks good to me, @KyleHerndon @archana-ramalingam any final changes you think are needed?

@dan-garvey, the error.
Seems to be related to calling __mul__ on the DefaultPrimitiveTensor.
This fails:
output = weight * to(output, weight.dtype)

but this is fine
output = elementwise(torch.mul, weight, to(output, weight.dtype))

__mul__'s implementation is just
    def __mul__(self, rhs):
        from ..ops import elementwise

        return elementwise(torch.mul, self, rhs)

When calling torch.export.export with strict=False, the error is not present, so it is about the export checks.

Instead of calling the * operator I changed the code to call a custom member function in weight
output = weight.my_mul(to(output, weight.dtype))

class InferenceTensor(ABC):

....

    def my_mul(self, rhs):
        from ..ops import elementwise

        return elementwise(torch.mul, self, rhs)

This is essentially the same code, but PyTorch does something special about binary operators because '+' also suffers from the same problem.
Also when running with env vars
TORCH_LOGS="+dynamo"
TORCHDYNAMO_VERBOSE=1

The tracer reports
V0926 06:19:31.456000<PHONE_NUMBER>24864 torch/_dynamo/symbolic_convert.py:798] [0/0] [__trace_bytecode] TRACE LOAD_FAST results []
V0926 06:19:31.456000<PHONE_NUMBER>24864 torch/_dynamo/symbolic_convert.py:798] [0/0] [__trace_bytecode] TRACE LOAD_CONST 0 [TupleVariable()]
V0926 06:19:31.456000<PHONE_NUMBER>24864 torch/_dynamo/symbolic_convert.py:798] [0/0] [__trace_bytecode] TRACE BINARY_SUBSCR None [TupleVariable(), ConstantVariable()]
V0926 06:19:31.456000<PHONE_NUMBER>24864 torch/_dynamo/symbolic_convert.py:798] [0/0] [__trace_bytecode] TRACE RETURN_VALUE None [TensorVariable()]
V0926 06:19:31.456000<PHONE_NUMBER>24864 torch/_dynamo/symbolic_convert.py:2807] [0/0] DONE INLINING <code object __call__ at 0x7f618b39f470, file "/home/bpetkant/ws/sharktank/repo/sharktank/sharktank/ops/_registry.py", line 196>
V0926 06:19:31.456000<PHONE_NUMBER>24864 torch/_dynamo/symbolic_convert.py:798] [0/0] [__trace_bytecode] TRACE BINARY_MULTIPLY None [UserDefinedObjectVariable(), TensorVariable()]
V0926 06:19:31.456000<PHONE_NUMBER>24864 torch/_dynamo/symbolic_convert.py:814] [0/0] empty checkpoint
V0926 06:19:31.456000<PHONE_NUMBER>24864 torch/_dynamo/symbolic_convert.py:2796] [0/0] FAILED INLINING <code object rms_norm_default at 0x7f618b2126b0, file "/home/bpetkant/ws/sharktank/repo/sharktank/sharktank/ops/default_impls.py", line 308>

It is doing something special about BINARY_MULTIPLY.

I opened an issue with PyTorch. I think that may be a bug there.


[BUG] Manga-Tagger leaves empty folders after import & tag

Manga Tagger Version: 1.2.0-alpha
Description of the issue: Manga-Tagger leaves empty folders after import and tagging all recently added chapters.

ok i tried specifically only downloading the above list in a session, this only created 4 empty folders

and heres the log
MangaTagger.log
hopefully something can me observed from this


Implement get wrapper object for element with focus

This PR allows to connect from a focused active element in an application. Similar to from_point however it's more reliable to return the desired element.
Desktop(backend="uia").get_active()

BTW, it was implemented in #1047 among other things. Sorry, I've figured it out only now. This is my student who should finish this PR in nearest week or two. Technically he was first, but his PR is not ready for merge yet. If you want, I can merge your PR. Or we can wait for #1047 to avoid rebase conflicts. What do you prefer?

BTW, it was implemented in #1047 among other things. Sorry, I've figured it out only now. This is my student who should finish this PR in nearest week or two. Technically he was first, but his PR is not ready for merge yet. If you want, I can merge your PR. Or we can wait for #1047 to avoid rebase conflicts. What do you prefer?

I don't mind closing this as long as your student PR makes it into a release relatively soon.

Thanks! But unfortunately there is no exact release date for 0.7.0 as we have pretty many issues open for this milestone: https://github.com/pywinauto/pywinauto/milestone/10
Also I don't plan to release 0.6.x updates any more because many stability issues are gone, and new features are all in atspi branch. Pushing minor features to both branches increases maintenance cost.
I'm thinking to postpone some issues to later releases as this story becomes too long...


Disable OpenAPI endpoints

We're not providing a public API, so there's no need to mount /docs.
See: https://fastapi.tiangolo.com/tutorial/metadata/#openapi-url

Maybe we should consider a "debug" mode and only mount this when that's enabled.


CRD versioning Public Documentation

Documentation for CRD Versioning feature https://github.com/kubernetes/features/issues/544
Note: The PR is not ready for review. Just created as a placeholder.

I rebased to resolve conflicts.

/cc @liggitt please take a look

When this is ready for docs review, please edit the title to remove the Placeholder text, and remove the hold.

@sttts Addressed you comment. Please take another look.

@mistyhacks this is ready for review.

Thanks @sttts for the detailed feedback! I think I got it all. PTAL. 🙏

@mbohlool I worked with @liggitt and @lavalamp to rework this content for clarity and pushed that commit just now PTAL. But I think this whole topic should be demoted to a sub-topic of https://kubernetes.io/docs/tasks/access-kubernetes-api/extend-api-custom-resource-definitions/. To that end, that topic needs to have its examples reworked. Probably some of the old topic can have some of the contents of the new topic. Please make an attempt and let me know when it is ready for review. Thanks!

/hold
Just to be sure this doesn't get merged by accident before the rework is finished.

@mbohlool Were you able to take a look? I really think this would benefit from being folded into the other CRD topic.

I will take another look tomorrow. Not sure about merging this in the other page. What are @lavalamp and @liggitt opinion on this?

that one page will get very long. versioning seems roughly equivalent in complexity to validation. looking at how the "advanced topics" section renders on https://kubernetes.io/docs/tasks/access-kubernetes-api/extend-api-custom-resource-definitions/#advanced-topics, it's pretty squeezed and very tall. my inclination would be to start breaking the long advanced topics out into pages, and keep this as a subtopic under custom resource definitions

I just rebased and pushed 3 new commits:

Applying pending feedback
Updating the main CRD page
Moving the two CRD topics under a new directory and adding a redirect for the old location of the previously-existing page

PTAL

I think this is in good shape. Removing the hold and approving. PTAL and lgtm or provide more feedback. Preview at https://deploy-preview-8834--kubernetes-io-vnext-staging.netlify.com/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definition-versioning/ and sibling topics. Note the reorganization of the TOC.
/hold cancel
/approve

Lgtm after the typos and nits are fixed. Well done!

/lgtm

@zparnold lgtm is counter-productive if there a number of typos. Will you create a follow-up PR to fix them?

Thanks @nikhita.


View Active Loans

Is it possible for the webpage to show the list of active loans table in Poloniex?

Right now not, could be developed as a plug-in.

@limerick11 I have a hack of this working but not as a plugin.
https://github.com/emilam/poloniexlendingbot/commit/8ac76573651855b43ab193dcf46e1e16144ac704
I'll try to write a plugin version and submit it as a pull request but you can use that commit if you want.


Implement index/iterating NoteAttachments with Note

Will need to list the file names and link to the download:
NoteAttachment::$name is the original file name (a readable usable name, e.g. 7yr-old-femur-fracture-v0-f6ioix8dhprc1.webp)
NoteController->get_attachment($req) uses the filepath from NoteAttachment::$filepath (e.g. note_attachments/AIppy3bLYFsksJT0WHZRmM4LkjEvIQINTAuloWkk.webp) to redirect to a file download

Implemented in next commit


some memote workflows are failing

Description of the issue:

Some GH workflows that run memote-related tasks are failing:

https://github.com/SysBioChalmers/yeast-GEM/actions/workflows/memote-history.yml
https://github.com/SysBioChalmers/yeast-GEM/actions/workflows/memote_release.yml

Also, the memote history report seems to have been showing 0 scores for a while:

Workflows that end with committing a file (memote_release and memote-history) occassionally fail at that last step. This seems to be related to multiple workflows running simultaneously. Rerunning a failed workflow (one at a time) results in a complete run.
In comparison, yaml-validation and memote-run do not commit any files and "never" fails (only if the yaml is not validated or memote errors).
I do not know how to fix this, perhaps we should not run multiple workflows at the same time?
Regarding the history report, I do not understand why this is. I also don't understand exactly how this function works (should it not construct a database with previous test results?).

The history report is the same locally for me (0%) for the same memote 0.13.0, so I guess the bug is upstream. For reference, I am encountering the following bug:
Loading result from '454f3bfe9382f092e863530f69dd4e04423e2f6d'.
/usr/local/lib/python3.9/site-packages/memote/suite/results/sql_result_manager.py:93: SAWarning: TypeDecorator BJSON() will not produce a cache key because the ``cache_ok`` attribute is not set to True.  This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions.  Set this attribute to True if this type object's state is safe to use in a cache key, or False to disable this warning. (Background on this error at: https://sqlalche.me/e/14/cprf)
  self.session.query(Result.memote_result)
error: Could not load result '454f3bfe9382f092e863530f69dd4e04423e2f6d'.
Loading result from 'e5f02acdced50cde19c7282b232aae73838e31a0'.

This is followed by a large number of commits for which results cannot be loaded. That being said, these commits are very old (newest are at the top), so I would expect that these failures don't matter.

Rerunning a failed workflow (one at a time) results in a complete run.

It looks indeed like this is the case. Perhaps then the workflows should be merged and an if condition added to run the release report only if the target branch of the PR is main.


[0010] Allow casting to uint64_t

We have decided to allow casting to uint64_t. It will make create
more opportunities for developers to make mistakes, but they do not
have to use it. The implementation cost does not seem too high.
Fixes https://github.com/microsoft/hlsl-specs/issues/93

@greg-lunarg FYI

I am ok with adding this to the current design.
Do we want to eliminate the cast to bool to test for null pointer as this new capability lets us do this with a comparison to zero? This feels a little cleaner to me and removes the ambiguity around what might constitute a null pointer.

I was considering removing the cast to bool too. I can do that.

I rebased, and updated the linked list example now that https://github.com/microsoft/hlsl-specs/pull/108 has been merged.


Documentation: Review and refresh What is AWS CDK section

This is the first thing that many customers read about the CDK, so it's important that it is concise and gives readers a clear overview of CDK and where to learn more.

We're talking about this section: https://docs.aws.amazon.com/cdk/latest/guide/what-is.html

Moving all guide issues to doc repo.


Cannot read properties of undefined (reading 'widthOfTextAtSize')

Describe the bug
I had used the PDF template designer hosted on your website. I loaded my existing template of few days old and added a couple of fields by copy paste. Now I downloaded template and tried to generate the PDF with this new file and getting below error:
TypeError: Cannot read properties of undefined (reading 'widthOfTextAtSize')\n    at isOverEval (/Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:205:47)\n    at getOverPosition (/Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:151:13)\n    at getSplitPosition (/Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:162:21)\n   …nerator/dist/cjs/src/helper.js:212:30\n    at Array.forEach (<anonymous>)\n    at drawInputByTextSchema (/Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:203:32)\n    at /Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:281:9\n    at Generator.next (<anonymous>)\n    at /Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:8:71

Since I hadn't done anything special, I tried to debug the file @pdfme/generator/dist/cjs/src/helper.js:205:47 and found that fontValue is coming as empty/undefined for these new copy paste fields while it is perfectly populated for my old fields.
Then I formatted the downloaded template.json file and found that there is new line of "fontName": "Roboto" is added for these fields which is not the case for existing ones. So I just removed this line and the PDF was generated perfectly.
To Reproduce

Use any old template
Add a couple of fields by copy pasting existing fields
Download the new template.json file
Use this to generate the PDF file with this new template.json file

Expected behavior
PDF should have been generated without error as I am not using any custom font. I guess, earlier the default font was Helvatica and now it is Roboto which is causing error.
Your Environment
- pdfme package(@pdfme/generator or @pdfme/ui): @pdfme/generator
- pdfme version: "^1.1.9"
- Operating system: MacOS
- Node.js version or Browser name & version: 19.6.0

Your Error Log
TypeError: Cannot read properties of undefined (reading 'widthOfTextAtSize')\n    at isOverEval (/Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:205:47)\n    at getOverPosition (/Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:151:13)\n    at getSplitPosition (/Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:162:21)\n   …nerator/dist/cjs/src/helper.js:212:30\n    at Array.forEach (<anonymous>)\n    at drawInputByTextSchema (/Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:203:32)\n    at /Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:281:9\n    at Generator.next (<anonymous>)\n    at /Users/ekanshsaxena/Documents/Dev/KaiRingiPortal/server/node_modules/@pdfme/generator/dist/cjs/src/helper.js:8:71

Additional context
No response

Hi @ekansh005
The default font has been changed from Helvetica to Roboto, so please replace Helvetica with Roboto in the template and load it.

@hand-dot hi, I'm trying to use this library in the NativeScript enviroment. Everything seems to be fine except the font embedding seems to not work, and the generated PDF is corrupted. When I'm inspecting embedded fonts using i.e. pdffont it does not have the default font embedded in it. If I take the corrupted PDF to the service like Repair-pdf it successfully repairs it.
Do you have any clue what could be a problem? I know that the native mobile environment is not the primary environment of this library, but it should be working regardless, I think.
I have literally tried to copy drawInputByTextSchema within my source, and it worked just fine, but when I use generate method of pdfme it's not working.

@hand-dot Hi, I got the same issue, can you tell me the reason why this issue occur? I try to log the font value from your playground code and my code to compare and seems like it doesn't different much
here is my log
{
    "Roboto-Regular": {
        "fallback": true,
        "label": "Roboto-Regular",
        "url": "https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Me5Q.ttf",
        "data": {}
    }
}

and here is the log from playground
{
    "NotoSerifJP-Regular": {
        "fallback": true,
        "label": "NotoSerifJP-Regular",
        "url": "/fonts/NotoSerifJP-Regular.otf",
        "data": {}
    },
    "NotoSansJP-Regular": {
        "fallback": false,
        "label": "NotoSansJP-Regular",
        "url": "/fonts/NotoSansJP-Regular.otf",
        "data": {}
    },
    "NotoSansSC-Regular": {
        "fallback": false,
        "label": "NotoSansSC-Regular",
        "url": "/fonts/NotoSansSC-Regular.otf",
        "data": {}
    },
    "ZenKurenaido-Regular": {
        "fallback": false,
        "label": "ZenKurenaido-Regular",
        "url": "/fonts/ZenKurenaido-Regular.ttf",
        "data": {}
    }
}

hope you can help, appreciate

HI @huypham1411,
Can you confirm your exact problem please?
There appear to be 2 different issues reported here on one closed issue.
If it's different from the original post it would be helpful to open a new issue.
Thanks!


New content type: Conservation Tools

Rather than re-creating information on conservation tools we should create them once as a new section and re-use them.

[x] Primr
[ ] NWRSpecies
[x] IPaC
[x] Service Catalog
[x] ScienceBase
[x] ECOS
[x] Data.gov
[x] Tracking and Reporting on Actions for Conservation of Species (TRACS)
[x] Geospatial Fisheries Information Network (GeoFIN)
[x] Conservation Planning Atlases

Closed via dfcb84a041628e0120d9c604b39f0c16a4266a97


Update changelog.md

We've been making changes without updating the changelog. This summarizes the changes since v7.14 was released.

Approved during GEDCOM Steering Committee meeting


Feature Request: Move all service management out of MixedRealityToolkit and into MixedRealityServiceRegistry

Describe the problem
With the introduction of the MixedRealityServiceRegistry (#4099) our registration story has become a bit muddled.
Describe the solution you'd like
Turn the MixedRealityToolkit instance into a front-end for the service registry so we clean up our story without breaking existing services.
The ONLY place services are actually registered / stored is in the MixedRealityServiceRegistry class.
And the ONLY thing the MixedRealityToolkit instance would be responsible for is relaying MonoBehaviour events to the registered services (which is the one thing a static class can't do).
public class MixedRealityToolkit : MonoBehaviour, IMixedRealityServiceRegistrar
{
     [Obsolete("Use MixedRealityServiceRegistery.ActiveSystems.")]
     public IReadOnlyDictionary<Type, IMixedRealityService> ActiveSystems => MixedRealityServiceRegistry.ActiveSystems;

     [Obsolete("Use MixedRealityServiceRegistery.RegisteredMixedRealityServices.")]
     public IReadOnlyList<Tuple<Type, IMixedRealityService>> RegisteredMixedRealityServices => MixedRealityServiceRegistry.RegisteredMixedRealityServices;

     ...

    [Obsolete("Use MixedRealityServiceRegistery.RegisterService directly.")]
    public bool RegisterService<T>(
        Type concreteType,
        SupportedPlatforms supportedPlatforms = (SupportedPlatforms)(-1),
        params object[] args) where T : IMixedRealityService
    {
        MixedRealityServiceRegistery.RegisterService(concreteType, supportedPlatforms, args);
    }

    ...
}

@davidkline-ms can you comment a bit on this? It seems like it would be valuable to have your take on the next steps associated with this change.


No license?

This is a very interesting project! Would you mind adding a license, preferably a permissive license, to it so there is no legal ambiguity to its use?

I added the Apache license. Have fun!


getCurrentTime() does not return accurate time

Current Behavior
getCurrentTime() return number of seconds that have been played, but the current time has jump in some seconds. for example it jump from '47.924596' to '49.014804' that is totally missing 48th second
Expected Behavior
return the rounded second or accurate time

I fixed it by tuning progressInterval option to 830
now it jumps only in at most 2 or 3 seconds in between


Cannot run version 3

I tried running version 2, but the composer install doesn't work. So I switched to 3.0.0-beta.
I have the following issue when trying to run vendor/bin/dep:
RuntimeException: Object `deploy:start` does not exist in ScenarioCollection.
Happens on v3.0.0-beta.4 and v3.0.0-beta.5.
I tried using all 3 scenarios (common, composer and symfony) and each of them gives this kind of issue.
This basically means that there's no version of deployer that can be install with composer and used successfully :(

Dear @pbudzon
Version v3.0.0-beta.5 is out of date, please try dev-master

I get the following error when running with  dev-master:
PHP Fatal error:  Call to undefined method Deployer\Server\Builder::path()

Stack trace:
PHP Stack trace:
PHP   1. {main}() /Users/paulina/Sites/pgsql/vendor/deployer/deployer/bin/dep:0
PHP   2. require() /Users/paulina/Sites/pgsql/vendor/deployer/deployer/bin/dep:59

Triggered by calling server()->path() in deploy.php.

@pbudzon Deployer now have another API. (Docs will be ready soon.)
Try use in:
server(...)->env('deploy_path', ...);


I am looking for a means to change the folders at run time

I want to be able to change the folder where files are downloaded, screen shots are saved at runtime

Is there any way to do this without editing the app settings file?

Hi Mike,
Unfortunately there is not possible in my opinion, no due to Ocaramba limitation but selenium. As far as I know we can change download folder using options before webdriver is started.
As workaround you can use similar solution like in link below:
https://stackoverflow.com/questions/45486121/change-download-location-and-name-for-each-file


Show battery info

The function checks if there is a battery and shows the info if the variable BULLETTRAIN_BATTERY_SHOW is true

@gilmrjc can you update your PR to changes introduced in #188?


OpenTofu Support

Hi :)
I have a little question. Are there plans to support both Terraform and OpenTofu in the future? Currently OpenTofu is a drop in replacement but this may change in the future.

Hey @Kruemelmann sorry for the late response. There are no concrete plans yet, because there is no difference and in terms of registry compatibility I do not expect any as of now. However, this is something to keep in mind and reevaluate for a solution once there is a difference 😊


[WIP]topic_settings: Add a lock/Unlock topic settings.

This pull request introduces a complete solution for the topic lock and unlock feature in Zulip, covering both backend and frontend implementations. The feature allows moderators and authorized users to lock a topic, preventing unauthorized users from posting messages. The PR also includes necessary updates to the documentation.
UI Images

Warning Banner
Error Banner (Topic Locked)
Tooltip

Unlock Topic Menu
Lock Topic Menu
User Documentation

CZO (design discussion)
fixes #26944.

Self-review checklist

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

Communicate decisions, questions, and potential concerns.

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

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

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

Completed manual review and testing of the following:

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

@zulipbot remove "has conflicts"

@alya this PR is ready for review.

Nice! For the banner when sending to a locked topic, I think this one will be a better parallel:

So this one can say:

You are sending a message to a locked topic. You can send as-is or unlock the topic first. [Unlock topic]

The other one makes more sense once you've pressed "Send", but I think it's good to warn while you're composing a message here.

I'm not sure what we should do for a locked & resolved topic. I'd be inclined to just show the locked banner if both banners are applicable.

Looks good to me in manual testing otherwise!

@alya made the change and update PR description with new changes.


[feat]: LND backup options

Prerequisites

[X] I have searched for existing issues that already suggest this feature.

Describe the Feature Request
-allow users to use RTL or Thunderhub made channel backups to work with LND service on eOS
-allow users to write down 24 word seed of the LND service when started the first time (first setup)
-allow users to enter a 24 word seed into LND service when started first (recovery)
-allow users to choose between LND backup options: -1 legacy (24 words + channel backup file)
-2 eOS backup system
Describe the Use Case
more abilities for users
Describe Preferred Solution
let the user decide how he wants to backup the lnd service
Describe Alternatives

Anything else?

RTL and Thunderhub both leverage the same APIs for the SCB that is already backed up by LND. LND will automatically update the channel.backup file any time a channel is opened or closed. This file is then backed up to the specified target (i.e. LAN shared folder or attached drive) any time the user initiates a backup of the LND service.
The recommended flow is to backup LND any time a channel open or close occurs, which will ensure the backup has a complete SCB as well as the wallet.db to allow recovery of both off chain and on chain funds. While the Aezeed Cipherseed has been exposed for fresh installations >= 0.16.4, the recommended backup procedure remains to be the supported backup flow outlined above as this will restore both the on-chain and off chain funds.


Easy example / tutorial to change the Status Bar color in Nativescript-Angular

Does anyone have an article or link for easily changing and manipulating the Status Bar color in Nativescript Angular for IOS & Android?
Use case:
I have an app that has a dark mode, and a light mode.

in dark mode, the background is black, I need the statusbar color to be white.
in light mode, the background is white, i need to change the statusbar color to black

I'm finding 3 year old threads and plugins without Angular examples etc, does anyone have a straightforward easy way to do this, preferably not in the info.plist file but programatically?

@NathanaelA Changing the color of the action bar is easy, I mean the status bar, there could be many pages where the ActionBar is hidden.
I'm mostly interested in a transparent status bar, with the battery and time info either in white or in black, screenshot attached:


Fine black lines visible in multi-line selection

VSCode Version: Code - Insiders 1.7.0-insider (889c720db5e83f4649ba1317fc8fdd3387cbf975, 2016-10-26T06:50:42.691Z)
OS Version: Windows_NT ia32 10.0.10586

Open larger file, select all.
I see fine black lines in the selection, but now for all lines.

It's also visible when zooming in.

@aeschli are you running Windows in Parallels on macOS and on a retina display?
IIRC It could be related to that...

@aeschli Are you running with any sort of zoomLevel set? What happens when you go to https://microsoft.github.io/monaco-editor/
If you inspect the dom nodes, are they positioned at integer coordinates (top) of the dom node?

@alexandrudima No it's on my Lenovo X1. It also has 'kind of retina' resolution. I'll check when in the office...

Closing after a number of days without a response


Add coffeescript example

https://github.com/berviantoleo/hello-world/issues/1

This code or example is same with #10. I need review for the #10. If no respond for long time, I think I will accept this than #10.

Ah I see, didn't notice from the PR title. I should note that the other pull request uses different file and string format conventions from all of the other files.


Translated comments for 'and' and 'or' examples

[x ] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Congrats @lindsaysofia on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Update Reason
The model fleet.claim_data:1.0.0 is an old version. The decision of Catena-X use-case quality team is to make this model deprecated.
MS1 Criteria

[ ] The model that should be deprecated exists and is not deprecated already
[ ] The respective model does not affect existing use cases (aspect is either used in higher versions or replaced by a different aspect)
[ ] A shared aspect, which will be deprecated, is not used by any released aspect model

I will present this topic in the meeting June 17th


Rename conda_name param to conda_env_name.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1342
#1341  👈
#1340
#1339
#1335
#1334
#1329
#1332
#1328 : 1 other dependent PR (#1314 )
#1327
#1308
#1322
#1321
#1323
#1307
#1297
#1296
#1333
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rohinb2 and the rest of your teammates on  Graphite

Merge activity

Oct 29, 12:52 PM EDT: A user started a stack merge that includes this pull request via Graphite.


Version fallbacks to latest ue4 version

The readme says that if you pass null as version it uses the latest version. But it just uses the latest ue4 version instead of the latest ue5 version. It should be mentioned in the readme if its intentional as it took me way too long to figure that out

UE5 isn't „fully“ released yet so we are sticking with UE4 as default (for now).


Feature/add zip

This change provides a zip function to Iterables and Arrays in Gosu as is available in other functional programming languages such as Scala and Kotlin.

Nice job on the tests, Michael. You've clearly used Spock before :smile:

Thanks Kyle! No Spock, I read all my literature in camelCase these day!


Release 1.12

Fix the interval join java case in the official document case
Document link：
https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/stream/operators/joining.html#interval-join
1、Your case is：
import org.apache.flink.api.java.functions.KeySelector;
import org.apache.flink.streaming.api.functions.co.ProcessJoinFunction;
import org.apache.flink.streaming.api.windowing.time.Time;
...
DataStream orangeStream = ...
DataStream greenStream = ...
orangeStream
.keyBy()
.intervalJoin(greenStream.keyBy())
.between(Time.milliseconds(-2), Time.milliseconds(1))
.process (new ProcessJoinFunction<Integer, Integer, String(){
    @Override
    public void processElement(Integer left, Integer right, Context ctx, Collector<String> out) {
        out.collect(first + "," + second);
    }
});

2、After repair：
import org.apache.flink.api.java.functions.KeySelector;
import org.apache.flink.streaming.api.functions.co.ProcessJoinFunction;
import org.apache.flink.streaming.api.windowing.time.Time;
...
DataStream orangeStream = ...
DataStream greenStream = ...
orangeStream
.keyBy()
.intervalJoin(greenStream.keyBy())
.between(Time.milliseconds(-2), Time.milliseconds(1))
.process (new ProcessJoinFunction<Integer, Integer, String(){
    @Override
    public void processElement(Integer left, Integer right, Context ctx, Collector<String> out) {
        out.collect(left + "," + right);
    }
});

Please re-open the PR from the correct branch. As is you're attempting to merge 700+ commits from the release-1.12 branch into master.


Feature/use redux

In this PR I implemented the following:

Wrapped App with Provider to allow access to Redux store
Added initial state array to bookSlice
Dispatch add and delete actions using useDispatch

Thank you for the review! @wayungi :smile:


Feature Request: Universal Search of Artist, Album, and Song Title.

I used to love an app called Coversutra and your script is by far to closest to how it used to work.
One thing that I loved was the simplicity of invoking a hotkey and having my search text return all matches for artists, albums, and song titles, all co-mingled in one giant result. It would show the artist, album (with cover art), and song title in the results. And furthermore, the results would be "bundled" in a pretty logical way. Any albums under the same artist would appear successively in the results. Any songs under the same album would appear successively in the results.
Currently with your script, I've mapped 3 different hotkey combinations to launch "playsongby, "playsongin", and "playsong", but I would like one single hotkey to launch a search in all 3.
Do you think this would be possible? Thanks!

@jetblackrx89 That's a neat idea. However, it would be challenging to implement because the AppleScript API for querying the Music app only returns results as individual songs, not albums/artists as singular units. This creates a few problems:

If only individual songs are returned in the results, how do I know whether to display a result as a song, artist, or album?
I could run the three searches (for songs, artists, and albums) individually, then combine the result sets. But how should I combine them? And there would be a performance penalty which is the sum of time it takes to perform each search separately
Alfred can only show a maximum of 9 results on-screen at the same time, so if there's all this hierarchy going on of songs-grouped-under-albums-grouped-under-artists, then it would be a pretty long list of results, I would think.

@jetblackrx89 That's a neat idea. However, it would be challenging to implement because the AppleScript API for querying the Music app only returns results as individual songs, not albums/artists as singular units. This creates a few problems:

If only individual songs are returned in the results, how do I know whether to display a result as a song, artist, or album?
I could run the three searches (for songs, artists, and albums) individually, then combine the result sets. But how should I combine them? And there would be a performance penalty which is the sum of time it takes to perform each search separately
Alfred can only show a maximum of 9 results on-screen at the same time, so if there's all this hierarchy going on of songs-grouped-under-albums-grouped-under-artists, then it would be a pretty long list of results, I would think.

First, thanks a lot for considering this.
Here's what I was thinking. I have no idea about the computational cost to do this:

First, thanks a lot for considering this.
Here's what I was thinking. I have no idea about the computational cost to do this:

Also in terms of how to avoid a performance / feasibility from a scripting perspective:
I notice in your script it already has some hard cutoffs. For example, if I search by song and just type "a", I get only the first 15 results in my library even though there's probably hundreds of matching songs. I don't know if that's a limitation of Afred, the API calls to/from Apple Music, or the handler scripts you wrote. Depending on where the limitation lies, then yeah, it could be hard to implement a "universal" search where the results list will only be larger. You can't exactly sort through a data set if the data set that's being returned is incomplete in the first place.
So my idea might only work if Apple Music itself had an API call to return a pre-sorted list in the manner I was describing. and then you could impost the 15 result limit like you're currently doing to truncate that result.¯_(ツ)_/¯

Also in terms of how to avoid a performance / feasibility from a scripting perspective:
I notice in your script it already has some hard cutoffs. For example, if I search by song and just type "a", I get only the first 15 results in my library even though there's probably hundreds of matching songs. I don't know if that's a limitation of Afred, the API calls to/from Apple Music, or the handler scripts you wrote. Depending on where the limitation lies, then yeah, it could be hard to implement a "universal" search where the results list will only be larger. You can't exactly sort through a data set if the data set that's being returned is incomplete in the first place.
So my idea might only work if Apple Music itself had an API call to return a pre-sorted list in the manner I was describing. and then you could impost the 15 result limit like you're currently doing to truncate that result.¯_(ツ)_/¯

@jetblackrx89 The 15-result cutoff was added as a performance optimization, actually. If you try increasing that number yourself (to something like 30 or 50), you'll notice that my workflow takes more time from the point you finish typing your query to the point Alfred starts displaying results.
From my past testing, I believe the bottleneck here isn't the Music library call itself, but rather the number of results AppleScript must subsequently process in returning the result set to you. I am unsure whether the precise inefficiency lies in the pure AppleScript-native iteration, or in my need to convert each result to a JSON string.
I don't know how much AppleScript experience you have, but if you want to hack away at the code to explore possible optimizations, you are certainly welcome to!

@jetblackrx89 The 15-result cutoff was added as a performance optimization, actually. If you try increasing that number yourself (to something like 30 or 50), you'll notice that my workflow takes more time from the point you finish typing your query to the point Alfred starts displaying results.
From my past testing, I believe the bottleneck here isn't the Music library call itself, but rather the number of results AppleScript must subsequently process in returning the result set to you. I am unsure whether the precise inefficiency lies in the pure AppleScript-native iteration, or in my need to convert each result to a JSON string.
I don't know how much AppleScript experience you have, but if you want to hack away at the code to explore possible optimizations, you are certainly welcome to!

@jetblackrx89 Any other thoughts of my latest feedback?

I think you can close this out as I can't think of an implementation. Thanks again for even just considering this feedback.

@jetblackrx89 Sounds good, and thank you for providing your feedback!


Parametrs

Hello,
How to set maximum parameters for my GTX 1080 ti ?
So it has 3584 cuda blocks so i need to set -b 3584 ?
Maximum number of threads per block:           1024
so -t 1024?
And what is -p value?
If i set this it generate 35000mb file and stopped
Please help to set maximum number value
Thank you

-p 256

Why do you need this if you can not even configure

Why do you need this if you can not even configure

Hi,
I've been meaning to make a tool that finds optimal parameters. I only have a GeForce GT 640 DDR3, so I can only find optimal parameters for that card.
The two important parameters are blocks (-b) and threads per block (-t).
If you run cudaInfo.exe (included in release), it will tell you how many MP's your card has.
The number of blocks  should be a multiple of the number of MP's, since blocks do not move between MP's. You will want the total number of threads (blocks x threads per block) to be at least the number of CUDA cores on your card.
The -p parameter is for points per thread: How many points each thread processes simultaneously. This is basically the intensity factor. A high value for -p will increase the speed, but it will also increase the running time of the kernel, which could cause crashes if the card is running a display.
Example:
C:\BitCrack\cudaInfo.exe
Found 1 devices

ID:          0
Name:        GeForce GT 640
Capability:  3.0
MP:          2
Cores:       384 (192 per MP)
Memory:      1024MB

My card has 2 MP's, each with 192 cores. I've found the best performance when I use 32 blocks (-b 32), and 256 threads per block (-t 256) for 8192 total threads. And I usually use -p 384.
I hope this helps.
Thanks

Thank you for answering.
Found 1 devices
ID:          0
Name:        GeForce GTX 1080 Ti
Capability:  6.1
MP:          28
Cores:       1792 (64 per MP)
Memory:      11264MB
So, what parameters are best for me?

Hi,
I don't have a 1080 Ti, so I can't say what the best parameters are. But it will be at least 28 blocks 64 threads per block.
So try combinations of 28, 56, 84, 112 for -b and 64, 128, 192, 256, 320... for -t and see if you can find which gives you the most speed e.g. maybe 112 blocks and 256 threads per block.
Once you find that, increase the -p value.
Hope that helps.
Thanks

C:\Users\copo\Desktop\BitCrack-master>bitcrack64
[OPTIONS] [TARGETS]
Where TARGETS is one or more addresses
Integer arguments can be in decimal (e.g. 123) or hex (e.g. 0x7B or 7Bh)
-c, --compressed        Compressed points
-u, --uncompressed      Uncompressed points
-d, --device            The device to use
-b, --blocks            Number of blocks
-t, --threads           Threads per block
-p, --per-thread        Keys per thread
-s, --start             Staring key, in hex
-r, --range             Number of keys to search
-i, --in                Specify file containing addresses, one per line
-o, --out               Specify file where results are written
C:\Users\copo\Desktop\BitCrack-master>
PLEASE EXPLAIN THIS: Integer arguments can be in decimal (e.g. 123) or hex
(e.g. 0x7B or 7Bh)
AND WHY THE PK THE TOOL SEARCHES IS NUMERICAL e.g:
(1LbGyuYV6BgBv6LLf7jdHUfu98YmTZ4LqE
0000000000000000000000000000000000000000000000000000000000005000) AND NOT
ALPHA-NUMERICAL LIKE THE EXAMPLE YOU ABOVE IN bitcrack64 (e.g. 0x7B.....
or 7Bh.......)
Thanks.
On Mon, Sep 3, 2018 at 1:15 PM brichard19<EMAIL_ADDRESS>wrote:

Hi,
I don't have a 1080 Ti, so I can't say what the best parameters are. But
it will be at least 28 blocks 64 threads per block.
So try combinations of 28, 56, 84, 112 for -b and 64, 128, 192, 256,
320... for -t and see if you can find which gives you the most speed e.g.
maybe 112 blocks and 256 threads per block.
Once you find that, increase the -p value.
Hope that helps.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brichard19/BitCrack/issues/29#issuecomment-418187167,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae0S2YSrgY86Emr0GvOZRxr4Q2-P1QuXks5uXY3YgaJpZM4WWv2r
.

@brichard19 How long does it take for your bitcrack program to actually start working? Mine was stuck for over 24 hours

Also what would happen if I overclock GPU in EVGA Precision XOC?

Also what does it actually software wise and internally to the GPU when it is "verifying points on device"?

@natedawg469 You built in Debug mode. Build in Release mode to avoid this. In Debug mode it performs a check to make sure the GPU initialized correctly.

I'm using -p 376 but it's 256 and it shows the same result, just keeps the speed a little more stable. The result is at 1080 ti ~ 440 mk / s (+ - 20 mk / s)

@adminnu -p increases performance asymptotically: it approaches a maximum.
440 mkeys/sec sounds impressive though. It's much more than what my GPU can do.

  I onow 3584 cores is crazy. Im also running 32gb GDDRX5 ram on the system.

so, what are the best settings for 1080 ti? my maximum that i get is 220mk/s.
How you get 440?

@adminnu what is your -b figure you are running?

Thanks @brichard19

for your help! Got in working and it started in less than 20 seconds

Interesting with messing with the parameters. I increased the threads and it lowered the keys/s

Guys, who ever uses gtx 950? Or just 9 generations? What parameters do you use?

Why when I increase threads and -p it makes like for example 8,800,461 mkeys/s and so I run that from hex of address 55 (which 30 quadrillion something) all the way to 2^56 and it doesn't find 17aPYR... (address 56). It literally does not find the private key to the address. Does not make sense to me.

I assume that your gpu can not calculate more by the given parameters, hence BitCrack gives you false values of mk / s

@Relok1995 Here is what I got:

@adminnu, какова ваша цифра -b, которую вы используете?

-b I do not use, since-b and -t are the same as -p. That is, -p is constructed from -b and -t, if you specify the last -p, it is ignored.
I do not know, but I have five msi 1080 ti gaming x, the same value in the 440 area, it's a little less, it's a bit more. And this value is from -p 256, I just noticed that at 376 and 312 slightly more securely keeps the speed level. I also did not test whether it finds the address at 376, tested it at 256, it's bad if yesterday, changing this value, it already does not find it, read the comment above.
What can I say, why so much, maybe you have 1080 ti of another manufacturer, for example I have one msi 1080 ti just gaming without x, it gives slightly lower values, although I did not check it, because now the second power supply is burned out, I'll go today it is repaired. Still maybe you do not have overclocking cards, I used an underworld, that is, I have all the cards held at 975 mv with a frequency of about 1960 - 2100 mhz and I have a lot of memory for each card.

@adminnu  Quote: "Not, on 376, too, he found, added to the starting number a trillion in the decimal sister, put this address to search and he found, as expected, in 2-3 seconds."
Who are you talking to and what are you talking about?

@natedawg469 you yourself asked what parameter I used?

@natedawg469 that 8 million mkeys/s is  definitely a bug.

I thought as much. Can it be fixed? At least CudaInfo should say the best
least/most working parameters based on the GPU properties. Example: GPU's
with more than one -d will work faster and process more keys at a maximum
number of -b -t -p based on there respective mathematical calculations.
On Sat, Sep 8, 2018, 4:52 PM brichard19<EMAIL_ADDRESS>wrote:

@natedawg469 https://github.com/natedawg469 that 8 million mkeys/s is
definitely a bug.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brichard19/BitCrack/issues/29#issuecomment-419653018,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae0S2avZKTApm99Np6qk6fzzZSwPBu-Qks5uY-fUgaJpZM4WWv2r
.

@bill32767 I'll upset you, bitcoin crackers. If you pay attention to the map at the time of this hyper speed, you will see that its load is 0%. This happens when the -t parameter increases, more than 512.

Okay. Noted.
On Sun, Sep 9, 2018, 6:05 PM Alexander Lyzhenkov<EMAIL_ADDRESS>wrote:

@bill32767 https://github.com/bill32767 I'll upset you, bitcoin
crackers. If you pay attention to the map at the time of this hyper speed,
you will see that its load is 0%. This happens when the -t parameter
increases, more than 512.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brichard19/BitCrack/issues/29#issuecomment-419729891,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae0S2e3Ms2hhogJdQycCsoB17K-rWlGiks5uZUpzgaJpZM4WWv2r
.

Who found puzzle key 56?

I thought you did based on your previous comment "Holy fuck! I broke
bitcoins".....
On Mon, Sep 10, 2018, 2:13 AM natedawg469<EMAIL_ADDRESS>wrote:

Who found puzzle key 56?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brichard19/BitCrack/issues/29#issuecomment-419760511,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae0S2W3zqNuwE8-TuBFy3AnkGijDGb0bks5uZbzOgaJpZM4WWv2r
.

No um some guy named arulbero in the bitcoin talk page is using some sort decimal/binary programming program he built and so far I believe he is the one who emptied 55 and 56.

How did you know about this???
On Mon, Sep 10, 2018 at 9:04 AM natedawg469<EMAIL_ADDRESS>wrote:

No um some guy named arulbero in the bitcoin talk page is using some sort
decimal/binary programming program he built and so far I believe he is the
one who emptied 55 and 56.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brichard19/BitCrack/issues/29#issuecomment-419966932,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae0S2ZKG0mfejIlqsbJPWfXgNKk4e9Gjks5uZo2RgaJpZM4WWv2r
.

I'm seeing this for the first time. I have no idea.....
On Mon, Sep 10, 2018 at 4:21 PM natedawg469<EMAIL_ADDRESS>wrote:

@bill32767 https://github.com/bill32767 How did you come to Bitcrack64
without first reading about it here:
https://bitcointalk.org/index.php?topic=1306983.0
everything about this 32btc puzzle is here:
https://bitcointalk.org/index.php?topic=1306983.0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brichard19/BitCrack/issues/29#issuecomment-420092933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae0S2dwgPnKmjIk1e4ezkAa2Xa_xkxgCks5uZvPdgaJpZM4WWv2r
.

Im trying to beat time. I realize what I may be trying to do is impossible, but waiting 30 days to scan 1/4 of the of quadrillions range of keys were in takes forever.

What happens when t >= 512?
I wonder if we are running into limits on the number of threads.

Hey thanks @brichard19 for turning this into a Parameters discussion. Like I said before in recent posts I do not know how to code but I can tell one thing is that 6 state of the art GTX 1080 ftw graphics with tremendous computing capabilities and so I believe too that there is something limiting the threads, Also I am thinking that maybe the GPUs are running through false points too when you raise the threads -t and -p higher.

@natedawg469 Can you provide an example input that shows the bug (with target address, starting key, parameters etc)? I am not seeing any problem running with -t 512. But I only have a GT 640 to test on.

@brichard19  here is this photo I set the target address as 1KoNcTGrYsEhpMEsLJgTTCQwnXiSRLx5BH which I think is only about 2 trillion keys away from the starting point. So with these parameters in place, bitcrack does not find the key. It goes past it.

That's very odd. I find it almost instantly on my system:
I am unable to test with -b 320 because I only have 1GB memory. Can someone else verify this issue?
'''
D:\BitCrack>BitCrack64.exe 1KoNcTGrYsEhpMEsLJgTTCQwnXiSRLx5BH -b 32 -t 640  -p 200 -s 10009184e72a000 -r<PHONE_NUMBER>7927927936
[2018-09-14.18:51:06] [Info] Compression: compressed
[2018-09-14.18:51:06] [Info] Starting at:<PHONE_NUMBER>00000000000000000000000000000000000000010009184E72A000
[2018-09-14.18:51:06] [Info] Initializing GeForce GT 640
[2018-09-14.18:51:07] [Info] Generating 4,096,000 starting points (156.3MB)
[2018-09-14.18:51:13] [Info] 10.0%
[2018-09-14.18:51:14] [Info] 20.0%
[2018-09-14.18:51:16] [Info] 30.0%
[2018-09-14.18:51:17] [Info] 40.0%
[2018-09-14.18:51:18] [Info] 50.0%
[2018-09-14.18:51:19] [Info] 60.0%
[2018-09-14.18:51:20] [Info] 70.0%
[2018-09-14.18:51:21] [Info] 80.0%
[2018-09-14.18:51:23] [Info] 90.0%
[2018-09-14.18:51:24] [Info] 100.0%
[2018-09-14.18:51:24] [Info] Done
[2018-09-14.18:51:24] [Info] Address:     1KoNcTGrYsEhpMEsLJgTTCQwnXiSRLx5BH
Private key:<PHONE_NUMBER>00000000000000000000000000000000000000010009184E81E460
Compressed:  yes
Public key:
03C68FF88E22D4E33AC603F6E9982D7325A03913F75896F253562D73C6111A29E1
D:\Users\BEN\Documents\GitHub\BitCrack\x64\Release>
'''
Does it work properly if you use smaller parameters?

@brichard19 yes it works with smaller parameters for -t threads and -p points but it will take very long to find the key. One thing  I have not tried though is lowering -b blocks.

yeah thats extremely odd, I just did exactly what you did and it still does not find it.

You have six -d and you are running on all, use some -d (like: -d 0 -d 2 -d
3 -d 5) only then you'll see the key.
On Fri, Sep 14, 2018 at 10:33 AM natedawg469<EMAIL_ADDRESS>wrote:

[image: not finding address]
https://user-images.githubusercontent.com/32862997/45565755-956abf80-b822-11e8-9408-023c1f2f0a08.png
@brichard19 https://github.com/brichard19 here is this photo I set the
target address as 1KoNcTGrYsEhpMEsLJgTTCQwnXiSRLx5BH which I think is only
about 2 trillion keys away from the starting point. So with these
parameters in place, bitcrack does not find the key. It goes past it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brichard19/BitCrack/issues/29#issuecomment-421430512,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae0S2YMhZCtXoCFbSh8TP8HY5WPTWNUDks5ua-h0gaJpZM4WWv2r
.

Also decrease -b -t and increase -p
On Fri, Sep 14, 2018 at 10:33 AM natedawg469<EMAIL_ADDRESS>wrote:

[image: not finding address]
https://user-images.githubusercontent.com/32862997/45565755-956abf80-b822-11e8-9408-023c1f2f0a08.png
@brichard19 https://github.com/brichard19 here is this photo I set the
target address as 1KoNcTGrYsEhpMEsLJgTTCQwnXiSRLx5BH which I think is only
about 2 trillion keys away from the starting point. So with these
parameters in place, bitcrack does not find the key. It goes past it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brichard19/BitCrack/issues/29#issuecomment-421430512,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae0S2YMhZCtXoCFbSh8TP8HY5WPTWNUDks5ua-h0gaJpZM4WWv2r
.

yeah you are right @bill32767  it found it instantly

Hi,
I looked through the code and found some places where we were not checking for errors.
Try running the latest release. I wouldn't be surprised if -b 320 -t 640 gives a runtime error.

@brichard19 Oh yeah it does no doubt. if i set -b 320 -t 640 -p 250 + , it say not enough memory and exit program. Which I guess makes sense but I am not sure.

@brichard19 illegal memory access

@brichard19 now he gives up with -t 512 error:

Error: out of memory Exiting.
What kind of memory is missing, I have 4GB of RAM and a very large swap or is it a memory card?

@nightwalker89
At 57 range, the speed became lower, somewhere around 370-400 mk/s.
@brichard19
What is very strange, is there a dependence of the speed and width of the keys?

above pic, tesla p-100
without parameters -b -t -p loaded 20m addresses, 142mkey/s
with parameters aprox 200mkey/s
singal address with parameters 414 mkey/s

@adminu No, the length of the key should not affect performance.

new parameters tested

i want test random keys, if you build with random key option too,
and option brainwallet file input , key ( wordlist(sha256) )
above parameters 225 mkeys/s on both compression
let see what happen on random key generation and/or load wordlist file as brainwallet

I change the parameters -b -t -p, I can not get values greater than 350Mkey/s.
What could be the reason? Or is this normal?
-b 280 -t 256 -p 1024
GeForce GTX 1080ti 8671/11264MB | 1 target 352.32 MKey/s


fix(deps): update terraform terraform-ibm-modules/cos/ibm to v8.14.4

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cos/ibm (source)
module
patch
8.14.3 -> 8.14.4

Release Notes

terraform-ibm-modules/terraform-ibm-cos (terraform-ibm-modules/cos/ibm)
v8.14.4
Compare Source
Bug Fixes

deps: update terraform ibm to latest for the deployable architecture solution (#778) (19ca0d7)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

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

GitHub release
v1.7.10

Your semantic-release bot :package::rocket:


ViewData attribute Error

An unhandled exception occurred while using @Model.Title in about view:
RuntimeBinderException: Cannot perform runtime binding on a null reference
CallSite.Target(Closure , CallSite , object )

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

ID: d2e47828-6da8-2323-053f-dcbf7475b1b6
Version Independent ID: 62d4c2be-4233-64e1-2a3d-8a5e98d9d941
Content: Views in ASP.NET Core MVC
Content Source: aspnetcore/mvc/views/overview.md
Product: aspnet-core
GitHub Login: @ardalis
Microsoft Alias: riande

@xiemosi That's a pretty good error message. Can you figure out why the title is null?

I don't know why the title is null.
I just can leave some error information.

Where is it set?
    ViewData["Title"] = "About";
}
<EMAIL_ADDRESS>
@ViewData["Message"]

Use this area to provide additional information.

I set it in HomeCotroller.cs
        [ViewData]
        public string Title { get; set; }
        public IActionResult About()
        {
            Title = "About Us";
            ViewData["Message"] = "Your application description page.";

            return View();
        }

Run dotnet new mvc and test it out. Compare to the code you're having a problem with.


Info: How does Magic Areas map HA devices classes?

There appear to be more HA device classes than what I see in Magic Areas.  How is the mapping done?
https://www.home-assistant.io/integrations/sensor/
battery: Percentage of battery that is left.
current: Current in A.
energy: Energy in Wh or kWh.
humidity: Percentage of humidity in the air.
illuminance: The current light level in lx or lm.
signal_strength: Signal strength in dB or dBm.
temperature: Temperature in °C or °F.
power: Power in W or kW.
power_factor: Power factor in %.
pressure: Pressure in hPa or mbar.
timestamp: Datetime object or timestamp string (ISO 8601).
voltage: Voltage in V.

https://www.home-assistant.io/integrations/binary_sensor/

    None: Generic on/off.

There are several device classes but not all of them are suitable for presence detection. Do you have one in particular that you're looking into using?

There are several device classes but not all of them are suitable for presence detection

I believe Magic Areas does more than just presence.

So it's a 1:1 mapping of just selected classes then?
door
gas
light
moisture
motion
occupancy
power
presence
problem
safety
smoke
window

I think I was looking for garage_door when I posted this...

Garage doors are cover entities. You can use a template binary sensor to make it a door binary sensor.

Thanks.

HA | Magic Areas
-- | --
battery |
battery_charging |
cold |
connectivity |
door | ✓
garage_door |
gas | ✓
heat |
light | ✓
lock |
moisture | ✓
motion | ✓
moving |
occupancy | ✓
opening |
plug |
power | ✓
presence | ✓
problem | ✓
safety | ✓
smoke | ✓
sound |
vibration |
window | ✓

Thanks.
In summary...

That's a nice table to have, will add on the documentation/wiki once I finish it.. thanks!


Theme Consistency Updates

Just post small annoying inconsistencies.

Rias crimson disabled and comment color

Error notifications not transparent...

.ignore plugin integration

VCS tool window empty loading screen

Natsuki dark text on the right of the selected row hard to read

Debug borders, Y U NO THEMED?!

Integrated terminal suggestion color is icky


The user cannot hear the voices of other participants while recording locally.

initially it wasnt recording voices now user cannot hear the voices of other participants while recording locally.

Thank you


Build on linux fails

When I build & run a project on macOS it works fine, but on Linux it doesn't compile and shows lots of errors like this:
<...>/AEXML-4.0.2/Sources/Parser.swift:71:16: error: method cannot be marked @objc because the type of the parameter 1 cannot be represented in Objective-C
    @objc func parser(_ parser: XMLParser,

<...>/AEXML-4.0.2/Sources/Parser.swift:82:16: error: method cannot be marked @objc because the type of the parameter 2 cannot be represented in Objective-C
    @objc func parser(_ parser: XMLParser, foundCharacters string: String) {

Swift version is 3.0.1 and OS is ubuntu14.04 on Travis-CI. The package is added via Swift PM.

I'm getting the same errors.

Hi @egorzhdan and @wallstead, thanks for reporting.
In the latest version (4.1.0) I removed all @objc flags (those were required earlier, but not anymore) so that might be a fix for this.
I'll close this issue now, but If you find time please confirm if it's fixed or reopen issue if not.
Cheers


<EMAIL_ADDRESS>- java-file-class shortening method names

Not sure what this one is about. Closing.


The return value of this function cv::imdecode() is different, when use opencv-Debug and opencv-Release

System Information

OpenCV version: 2.4.13
OS: CentOS Linux release 7.0.1406
CMake version: 2.8.11

In which part of the OpenCV library you got the issue?

highgui

Used image ("./test.jpg")

Expected behaviour
Results obtained using the opencv-release and opencv-debug should be the same.
Actual behaviour
opencv-release: the result is "data invalid"
opencv-debug: the result is "data valid"
Additional description

If read the image by cv::imread() will show "Premature end of JPEG file".
After debugging, I found that the problem occurs in opencv-2.4.13/modules/highgui/src/grfmt_jpeg.cpp[JpegDecoder::readData(Mat& img)]，The return value of this function is different.

Code
#include <iostream>
#include <vector>
#include <fstream>
#include <opencv2/core/core.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>

using namespace cv;
using namespace std;

int main() {
    char image_name[] = "./test.jpg";
    ifstream fin(image_name, ios::binary);
    fin.seekg(0, std::ios::end);
    int length = fin.tellg();
    fin.seekg(0, std::ios::beg);
    char *buffer = new char[length];
    fin.read(buffer, length);
    vector<uchar> src_vec(buffer, buffer + length);

    cout << "read image finish! len = " << length << endl;

    Mat img = Mat(src_vec);
    Mat d_img = imdecode(img, CV_LOAD_IMAGE_COLOR);

    if( !d_img.data ) {
        cout << "data invalid" << endl;
    } else {
        cout << "data valid" << endl;
    }

    return 0;
}

Original JPEG image is missing (GitHub provides PNG image only).
Please add build information from this call: cv::getBuildInformation()


Default output for range sliders in the active refinements list needs some love

https://www.dropbox.com/s/jwqymgx290qxay0/Screenshot 2016-06-12 11.34.36.png?dl=0
^ This is the current output.
Could be something like "1 < attribute < 3" or "attribute: 1 to 3"

This is a general issue about numeric filters on an attribute don't you think? Yet linked to the rangeSlider in your example.

The new connector API will let the users completly customize the output of the currentRefinement widget. This is not out-of-the-box but it will be possible to reformat / aggregate the values.


Make TodoMVC a self contained example

I am just starting to learn this great framework, and I came across the standard TODO example. It is quite simple to put it to work, but I feel it should be a self-contained project.
This also allows the removal of code from dependencies that were added to vue repo, which I don't agree that should be there.
Keep up your great work.

Thanks for the PR, but this example uses the local build for e2e testing purposes. You can, however, find a self-contained version in the official TodoMVC repo: https://github.com/tastejs/todomvc/tree/gh-pages/examples/vue


[UBS Orders] Cannot close the pop-up to continue editing

Preconditions

The registered user is logged in (https://ita-social-projects.github.io/GreenCityClient/#/)
User has filled the “Деталі замовлення” and “Особисті дані” tabs

Steps to reproduce

Click on the "Далі" button, so the user is navigated to the "Підтвердження" tab
Click on the "Відмінити" button at the bottom of the page

Actual result

the user cannot close the popup without saving or deleting the order

Expected result

to add ability in 3rd step to close the popup to continue editing the order

Actual result:


In ben/storage-target I pushed new API from IStorageService to tackle this:

new store2 method with new StorageTarget
new keys method to get all keys for scope and target
new onDidChangeTarget event whenever targets change for a scope

Happened 👍

@sandy081 I still noticed IStorageKeysSyncRegistryService exists, maybe it can be removed?

It was used for syncing extensions state - removed it and introduced new service for syncing extensions state.


don't remove status if locked

if there was a lock file, supervise correctly didn't start, but removed
the status file of the other supervise that was most likely running at
the same time, why else would there be a lock?
This fixes that. Now the file is truncated just before the first
announce. Technically one wouldn't want to truncate at all, but that's
not so easy.

Obviously correct, but I took the fix in pull #41 which seemed a better fix.


Fix tracepoint test on ruby master

As mentioned in https://github.com/Shopify/liquid-c/pull/52#issuecomment-567293796, CI started failing on ruby master.
The failing test is counting ruby calls using a tracepoint and started picking up a couple of calls to TracePoint.trace and TracePoint#disable.  We were already ignoring disable C calls, so I changed the code to ignore both ruby and C tracepoint calls, since they aren't relevant to the code under test.

So I'm going to just ignore ruby-head failures on CI for this repo.

Tests are fixed in the liquid repo, so I've removed the allowing of test failures on ruby-head.  I've also made CI test against ruby 2.7 now that it has been released


Using code-cracker outside Visual Studio

Is there a way to use code-cracker without Visual Studio?
I work on linux, coding on VSCode and It would be great do something like "codecracker run" at my terminal and get this:
/***** output *****/
MyWebApp/FooController.cs at line 79
CC0043: ChangeAnyToAllAnalyzer - Changes Any to All or All to Any.
MyWebApp/BarController.cs at line 66
CC0011: RemoveWhereWhenItIsPossibleAnalyzer - When a linq operator support a predicate parameter it should be used instead of using ‘Where’ followed by the operator.
/******************/

@elvisdelima You can use in command line.

@carloscds thanks.


Proposal: Cache "bosh ssh" gateway settings for each target bosh

Once "bosh ssh --gateway-host/port/idenity-file" has been used, cache these settings in ~/.bosh_config for that target bosh/microbosh. Assumes that each bosh would have a different gateway; but use the same gateway for all its deployments.
Related to https://github.com/cloudfoundry/bosh/pull/302

Also it could be nice to keep default value for long settings like --strict_host_key_checking <yes/no> somewhere in the .bosh_config
It's very uncomfortable to type that option every time.

With newer stemcells (3093+) strict_host_key_checking is not necessary
because CLI knows which host key is expected and trust it. You have to
update your CLI, Director and stemcells for this to take the effect.
bosh-lite stemcells are not available yet for that version, but we are
working on it.
Regarding gateway: We decided to make default gateway settings a director
configuration. CLI will see them and use the gateway without having user
specify any of the gateway options. Story for this:
https://www.pivotaltracker.com/story/show/104125746
On Mon, Oct 5, 2015 at 8:09 AM, Alexey Zakharov<EMAIL_ADDRESS>wrote:

Also it could be nice to keep default value for long settings like --strict_host_key_checking
<yes/no> somewhere in the .bosh_config
It's very uncomfortable to type that option every time.
—
Reply to this email directly or view it on GitHub
https://github.com/cloudfoundry/bosh/issues/305#issuecomment-145563534.

Cool re default gateway settings.
On Mon, Oct 5, 2015 at 1:26 PM, bosh-ci-push-pull
<EMAIL_ADDRESS>wrote:

With newer stemcells (3093+) strict_host_key_checking is not necessary
because CLI knows which host key is expected and trust it. You have to
update your CLI, Director and stemcells for this to take the effect.
bosh-lite stemcells are not available yet for that version, but we are
working on it.
Regarding gateway: We decided to make default gateway settings a director
configuration. CLI will see them and use the gateway without having user
specify any of the gateway options. Story for this:
https://www.pivotaltracker.com/story/show/104125746
On Mon, Oct 5, 2015 at 8:09 AM, Alexey Zakharov<EMAIL_ADDRESS>wrote:

Also it could be nice to keep default value for long settings like --strict_host_key_checking
<yes/no> somewhere in the .bosh_config
It's very uncomfortable to type that option every time.
—
Reply to this email directly or view it on GitHub
https://github.com/cloudfoundry/bosh/issues/305#issuecomment-145563534.

Reply to this email directly or view it on GitHub:
https://github.com/cloudfoundry/bosh/issues/305#issuecomment-145605183

As of bosh v217, the Director can be configured with default ssh settings: https://bosh.io/jobs/director?source=github.com/cloudfoundry/bosh&version=217#p=director.default_ssh_options


driver: gpio: Add checking whether pad's configuration is valid first

In npcx series, not all GPIO pads support Multi-Input Wake-Up Unit
(MIWU) functionality. Hence, this CL adds checking whether GPIO's pad
configuration is valid first before using it.
Signed-of-by Mulin Chao<EMAIL_ADDRESS>

You probably want to use npcx somewhere in the commit first line, driver: gpio: npcx: is the one used so far.

You probably want to use npcx somewhere in the commit first line, driver: gpio: npcx: is the one used so far.

Thanks for reminding this. The new PR with the new title has been submitted. Please give your comment freely.


CUBLAS_STATUS_INTERNAL_ERROR

Traceback (most recent call last):
File "train_embeddings.py", line 229, in
valid_loader_kwargs=hparams["dataloader_options"],
File "/home//Software/speechbrain/lib/python3.7/site-packages/speechbrain/core.py", line 1009, in fit
loss = self.fit_batch(batch)
File "/home//Software/speechbrain/lib/python3.7/site-packages/speechbrain/core.py", line 835, in fit_batch
outputs = self.compute_forward(batch, Stage.TRAIN)
File "train_embeddings.py", line 65, in compute_forward
feats = self.modules.compute_features(wavs)
File "/home//Software/speechbrain/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(input, **kwargs)
File "/home//Software/speechbrain/lib/python3.7/site-packages/speechbrain/lobes/features.py", line 119, in forward
fbanks = self.compute_fbanks(mag)
File "/home//Software/speechbrain/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(input, **kwargs)
File "/home//Software/speechbrain/lib/python3.7/site-packages/speechbrain/processing/features.py", line 545, in forward
fbanks = torch.matmul(spectrogram, fbank_matrix)
RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling cublasCreate(handle)
I have print out shape of spectrogram and fbank_matrix:
torch.Size([2, 301, 201]) torch.Size([201, 80])
GPU：GeForce RTX 2080 Ti ，Memory：11019MiB

Hi,
It is most likely a CUDA OOM issue. Please monitor your GPU VRAM usage with nvidia-smi while this happens.

Is it solved ?

I was able to fix this by reverting back to torch 1.7.1
https://pytorch.org/get-started/previous-versions/


Proposal to extend boundary-sensitive refinement to positive types

Right now the boundary sensitive refinement via extension types only works for negative types. In particular we can reduce (M,N) : A * B [phi -> U] to M : A [phi -> U.1] and N : B [phi -> U.2]. But there is no corresponding principle for positive types like A+B.
I am proposing a new class of predicates with which to define extension types that will allow an appropriate refinement rule for inl/inr.
Here is the grammar:
L ::= [] | P L
P ::= inl | inr | ...
\Phi ::= \phi -> L = M

P is a positive "frame" for a pattern; L is some kind of positive stack, i.e. semantically some kind of linear function.
We then define a new kind of extension type {A | Phi}. This type is actually pretty hard to implement, because we must update the nbe to support the more complex partial boundaries given by Phi; we would have things like "I am a neutral that becomes M when you apply inl to me". All this is possible, but it should be accompanied by a bit of thought into how this should be most cleanly arranged. Ordinary extension types are recovered as the special case {A | phi -> [] = M}.
Refinement rule for positive constructors
We will need to have some judgment for positive frames / constructors P : A ~> B. We now have a refinement rule for the application of a constructor:
|- Q : B ~> A  | phi -> P
|- M : B | L = M
--------------------------
Q(M) : A | \phi -> P L = M

It is important to note that the above is compatible with HITs --- it will work equally well with path constructors.
Potential extension to support function signatures
We have discussed function signatures. In the non-recursive case this basically involves adding a new kind of stack ap([], L). Something tricky happens in the binding structure. The recursive case is just as hard as it was before, and I'm personally still not sure what to do about it.

Yes, let's do it! When I was working on the recursive case some months ago, my thought was to immediately left-invert these new equations, i.e. to have an operation in the domain that computes an equalizing substitution for each. This relies on the constrained variables being local (i.e., it implements only "extension types for coproducts" and not "cubical subtypes for coproducts") but that seemed desirable anyway because the patterns ought to be linear in these variables.

positive constructors

I'll just mention that the story for inl,inr doesn't work for HITs because the boundary of a linear pattern may not be linear. For example, inl is definitionally injective but merid i is not.

The recursive case

This is hard. :( The main obstacle I found is that we need some kind of "termination checking" for the patterns.

let’s talk more about the hit case. i think there may be a way to make it work, but it may be subtle.


Permanent Ironman Removal

Give those the option to remove their permanent ironman status if they have deleted their alternate "main" account.
Just like how OSRS has it, you can have your permanent ironman status removed if requested & you have a 7 day grace period to change your mind.
It gives those who started as an ironman and don't want to continue using 2 accounts an opportunity to become a "normal" account again with only 1 discord.
THAT IS, if they don't have an alternate account already or have already deleted it.

This can never be a thing on bso due to how the discontinued pets are given and I assume it would be alot of work for osb, when they shouldn't have confirmed the permanent ironman if they wasn't sure of it.

Would you like to change your ironman to a permanent iron? The only thing in your account that will change, is that you will no longer be able to de-iron. This is permanent and cannot be reversed, its permanent ironman mode.
Please say `permanent` to confirm.

If someone really really wants to deiron a perm iron, they will have to request it done manually.


Continuous refresh/replace cycle with ec2.Instance+ebs volume

Hi,
After a refresh to a stack with an ec2 instance, and an ebs volume (without ebsBlockDevices on the instance), pulumi wants to replace the instance, then again after the next refresh, basically stuck in a cycle.
Versions:
➜  dliver-sandbox (volume) pulumi version
v0.17.16
➜  dliver-sandbox (volume) pulumi plugin ls
NAME        KIND      VERSION  SIZE    INSTALLED  LAST USED
aws         resource  0.18.10  204 MB  n/a        2 hours ago
aws         resource  0.17.1   157 MB  n/a        2 months ago
cloudflare  resource  0.17.3   40 MB   n/a        4 days ago
cloudflare  resource  0.17.1   40 MB   n/a        1 month ago
kubernetes  resource  0.24.0   53 MB   n/a        2 hours ago
kubernetes  resource  0.21.1   45 MB   n/a        2 months ago
random      resource  0.5.3    36 MB   n/a        1 day ago
random      resource  0.5.2    36 MB   n/a        1 month ago
random      resource  0.5.1    28 MB   n/a        2 months ago

Steps to reproduce:

Download the sample repo: https://gitlab.com/proemergotech-public/pulumi-sandbox/tree/volume
yarn install from the root
cd dliver-sandbox, then pulumi up
pulumi refresh, sample details:

➜  dliver-sandbox (volume) ✗ pulumi refresh
Previewing refresh (pul-sbx):

     Type                                 Name                                  Plan
     pulumi:pulumi:Stack                  dliver-sandbox-pul-sbx
     ├─ network:Vpc                       pul-sbx
     │  ├─ aws:ec2:Vpc                    pul-sbx-vpc
     │  ├─ aws:efs:FileSystem             pul-sbx-efs
     │  ├─ aws:ec2:Eip                    pul-sbx-eip-1
     │  ├─ aws:ec2:InternetGateway        pul-sbx-igw
     │  ├─ aws:ec2:Eip                    pul-sbx-eip-0
     │  ├─ aws:ec2:Subnet                 pul-sbx-subnet-public-1
     │  ├─ aws:ec2:Subnet                 pul-sbx-subnet-public-0
     │  ├─ aws:ec2:Subnet                 pul-sbx-subnet-private-0
     │  ├─ aws:ec2:Subnet                 pul-sbx-subnet-fixedIp-1
     │  ├─ aws:ec2:Subnet                 pul-sbx-subnet-private-1
     │  ├─ aws:ec2:Subnet                 pul-sbx-subnet-fixedIp-0
     │  ├─ aws:ec2:NatGateway             pul-sbx-nat-1
     │  ├─ aws:ec2:SecurityGroup          pul-sbx-securityGroup-efs
     │  ├─ aws:ec2:RouteTable             pul-sbx-routeTable-public
     │  ├─ aws:ec2:RouteTable             pul-sbx-routeTable-nat-1
     │  ├─ aws:ec2:NatGateway             pul-sbx-nat-0
     │  ├─ aws:ec2:RouteTableAssociation  pul-sbx-rta-public-1
     │  ├─ aws:ec2:RouteTableAssociation  pul-sbx-rta-nat-fixedIp-1
     │  ├─ aws:ec2:RouteTableAssociation  pul-sbx-rta-public-0
     │  ├─ aws:ec2:RouteTable             pul-sbx-routeTable-nat-0
     │  ├─ aws:ec2:RouteTableAssociation  pul-sbx-rta-nat-private-0
     │  ├─ aws:ec2:RouteTableAssociation  pul-sbx-rta-nat-private-1
     │  ├─ aws:ec2:VpcEndpoint            pul-sbx-s3-vpcEndpoint
     │  ├─ aws:ec2:RouteTableAssociation  pul-sbx-rta-nat-fixedIp-0
     │  ├─ aws:efs:MountTarget            pul-sbx-mountTarget-efs-0
     │  └─ aws:efs:MountTarget            pul-sbx-mountTarget-efs-1
     ├─ aws:iam:Role                      pul-sbx-role
     ├─ aws:iam:InstanceProfile           pul-sbx-instanceProfile
     ├─ aws:ebs:Volume                    pul-sbx-content
     ├─ aws:ec2:VolumeAttachment          pul-sbx-content-attachment
 ~   └─ aws:ec2:Instance                  pul-sbx-node                          update     [diff: ~ebsBlockDevices,volumeTags]

Resources:
    ~ 1 to update
    32 unchanged

Do you want to perform this refresh?
No resources will be modified as part of this refresh; just your stack's state will be. details
  pulumi:pulumi:Stack: (same)
    [urn=urn:pulumi:pul-sbx::dliver-sandbox::pulumi:pulumi:Stack::dliver-sandbox-pul-sbx]
    ~ aws:ec2/instance:Instance: (update)
        [id=i-004e7c58f303932a4]
        [urn=urn:pulumi:pul-sbx::dliver-sandbox::aws:ec2/instance:Instance::pul-sbx-node]
        --outputs:--
        ami                      : "ami-0e82e73403dd69fa3"
        arn                      : "arn:aws:ec2:eu-west-1:615622277724:instance/i-004e7c58f303932a4"
        associatePublicIpAddress : false
        availabilityZone         : "eu-west-1a"
        cpuCoreCount             : 1
        cpuThreadsPerCore        : 2
        creditSpecification      : {
            cpuCredits: "unlimited"
        }
        disableApiTermination    : false
      ~ ebsBlockDevices          : [
          + [0]: {
                  + deleteOnTermination: false
                  + deviceName         : "/dev/xvdb"
                  + encrypted          : false
                  + iops               : 100
                  + volumeId           : "vol-0002cb05612713785"
                  + volumeSize         : 10
                  + volumeType         : "gp2"
                }
        ]
        ebsOptimized             : false
        getPasswordData          : false
        iamInstanceProfile       : "pul-sbx-instanceProfile-49d0768"
        id                       : "i-004e7c58f303932a4"
        instanceState            : "running"
        instanceType             : "t3.small"
        ipv6AddressCount         : 0
        monitoring               : false
        primaryNetworkInterfaceId: "eni-0595a28269dbfbedf"
        privateDns               : "ip-10-151-0-171.eu-west-1.compute.internal"
        privateIp                : "<IP_ADDRESS>"
        rootBlockDevice          : {
            deleteOnTermination: true
            iops               : 100
            volumeId           : "vol-0c53253420f6f2076"
            volumeSize         : 10
            volumeType         : "gp2"
        }
        sourceDestCheck          : true
        subnetId                 : "subnet-0b016a7a0b7a09d84"
        tags                     : {
            Name: "test-node"
        }
        tenancy                  : "default"
      ~ volumeTags               : {
          + Name: "content"
        }
        vpcSecurityGroupIds      : [
            [0]: "sg-0702e41bae7fff84b"
        ]

pulumi up again:

➜  dliver-sandbox (volume) pulumi up
Previewing update (pul-sbx):

     Type                         Name                        Plan        Info
     pulumi:pulumi:Stack          dliver-sandbox-pul-sbx
 +-  ├─ aws:ec2:Instance          pul-sbx-node                replace     [diff: -associatePublicIpAddress,availabilityZone,cpuCoreCount,cpuThreadsPerCore,ebsBlockDevices,ephemeralBlockDevices,ipv6AddressCou
 +-  ├─ aws:ebs:Volume            pul-sbx-content             replace     [diff: -iops,kmsKeyId,snapshotId~availabilityZone]
 +-  └─ aws:ec2:VolumeAttachment  pul-sbx-content-attachment  replace     [diff: ~instanceId,volumeId]

Resources:
    +-3 to replace
    30 unchanged

Restart the refresh/update cycle, same thing will happen

Plus in the preview shows the Volume as a replace too, but it does not replace it during the update.

If you are able to provide the output of pulumi up —logtostderr -v=9 2> out.txt, or at least the lines containing replaces= from that output - that would be helpful to diagnose further.

Sure, here's the logs.
refresh_update.tar.gz

Hi @ncsibra
My apologies for this issue. I have been able to replicate it perfectly and remember it well. The issue is that you are using an EBS volume (via rootBlockDevice which is a BlockDevice under the hood according to AWS) as part of the Instance AND an additional EBS Volume. This is something that cannot be supported:
NOTE on EBS block devices: If you use ebs_block_device on an aws_instance, Terraform will assume management over the full set of non-root EBS block devices for the instance, and treats additional block devices as drift. For this reason, ebs_block_device cannot be mixed with external aws_ebs_volume + aws_ebs_volume_attachment resources for a given instance.

Unfortunately, there is no way to counter the continual drift here... I'd love to hear your thoughts on this. The only way to allow this to continue would be to to remove the root_block_device from the AWS Instance and then things will be normal
Paul

I saw this comment, but it says ebs_block_device, not root_block_device and Terraform will assume management over the full set of non-root EBS block devices for the instance suggest that it only a problem with ebs_block_device, are you sure that's the case here too?

mmmhhhhh so it should be the case - but I can dig in further! Thanks for bearing with me on this one!

Now we updated one of our stacks, removed both rootBlockDevices and ebsBlockDevices from the aws.ec2.Instance resource and only attaching 1 ebs volume separately and we still have the same issue with the current latest libraries and cli, after a refresh pulumi wants to recreate the ec2 instance.

Just revisiting this issue from the backlog. I've got the example repo up and running on the volume branch. Having updated aws to v5.30.0 the problem still exists. It's quite simply fixed by replacing the ec2.Instance property securityGroups for vpcSecurityGroup
-    securityGroups: [vpc.vpc.defaultSecurityGroupId],
+    vpcSecurityGroupIds: [vpc.vpc.defaultSecurityGroupId],

The next step is to establish why both properties exist. The original securityGroups only appears as an input, but there's no corresponding output by the same name which is likely why it sees it as a continuous addion - because it was not recorded in the state so it always appears to be an addition.

Reading through the docs, it appears that securityGroupIds is only for use with EC2-Classic and default VPC only and in this instance updating the code to use vpcSecurityGroupIds is the correct fix.
Therefore, I'm going to close this issue as resolved. Please do comment back it you think this needs re-opening, or file a new issue. Thanks!


remove invalid ":" from documentation

Thank you for the pull request but I think it is not invalid. That is a keyword argument, is not it working for you?

Yes - that snippet is from the Keywords arguments section, and it works as expected.
User.scope :foo, lambda { |bar:| puts "bar is #{bar}"; none }
User.foo(bar: 1) # => bar is 1