fatal  error C1083: Cannot open include file: 'include/flutter_secure_storage_windows/flutter_secure_storage_windows_plugin.h': No such file or directory error on Windows

My app works on Mac and I want to extend to support for Windows. flutter_secure_storage is preventing my whole app from building.
I have both tried Visual Studio 2019 and 2022 and installed respective C++ ATL libraries.
VS 2019:

VS 2022:

I am aware of these issues as well:
https://github.com/mogol/flutter_secure_storage/issues/356
https://github.com/mogol/flutter_secure_storage/issues/379
Verbose log where error started:
[ +463 ms] Link:
[        ]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\<user>\test_app\build\windows\x64\plugins\window_manager\Debug\window_manager_plugin.dll" /INCREMENTAL /ILK:"window_manager_plugin.dir\Debug\window_manager_plugin.ilk" /NOLOGO ..\..\flutter\Debug\flutter_wrapper_plugin.lib "C:\Users\<user>\test_app\windows\flutter\ephemeral\flutter_windows.dll.lib" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/<user>/test_app/build/windows/x64/plugins/window_manager/Debug/window_manager_plugin.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/<user>/test_app/build/windows/x64/plugins/window_manager/Debug/window_manager_plugin.lib" /MACHINE:X64  /machine:x64 /DLL window_manager_plugin.dir\Debug\window_manager.obj
[        ]   window_manager_plugin.dir\Debug\window_manager_plugin.obj
[ +177 ms]      Creating library C:/Users/<user>/test_app/build/windows/x64/plugins/window_manager/Debug/window_manager_plugin.lib and object C:/Users/<user>/test_app/build/windows/x64/plugins/window_manager/Debug/window_manager_plugin.exp
[ +221 ms]   window_manager_plugin.vcxproj -> C:\Users\<user>\test_app\build\windows\x64\plugins\window_manager\Debug\window_manager_plugin.dll
[  +18 ms] FinalizeBuildStatus:
[        ]   Deleting file "window_manager_plugin.dir\Debug\window_m.0D08092A.tlog\unsuccessfulbuild".
[   +1 ms]   Touching "window_manager_plugin.dir\Debug\window_m.0D08092A.tlog\window_manager_plugin.lastbuildstate".
[   +1 ms] Done Building Project "C:\Users\<user>\test_app\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj" (default targets).
[   +1 ms] Done Building Project "C:\Users\<user>\test_app\build\windows\x64\runner\test_app.vcxproj" (default targets) -- FAILED.
[        ] Done Building Project "C:\Users\<user>\test_app\build\windows\x64\ALL_BUILD.vcxproj" (default targets) -- FAILED.
[        ] Done Building Project "C:\Users\<user>\test_app\build\windows\x64\INSTALL.vcxproj" (default targets) -- FAILED.
[  +42 ms] Build FAILED.
[   +7 ms] "C:\Users\<user>\test_app\build\windows\x64\INSTALL.vcxproj" (default target) (1) ->
[        ] "C:\Users\<user>\test_app\build\windows\x64\ALL_BUILD.vcxproj" (default target) (3) ->
[        ] "C:\Users\<user>\test_app\build\windows\x64\runner\test_app.vcxproj" (default target) (4) ->
[        ] "C:\Users\<user>\test_app\build\windows\x64\plugins\flutter_secure_storage_windows\flutter_secure_storage_windows_plugin.vcxproj" (default target) (8) ->
[        ] (ClCompile target) ->
[        ]   C:\Users\<user>\test_app\windows\flutter\ephemeral\.plugin_symlinks\flutter_secure_storage_windows\windows\flutter_secure_storage_windows_plugin.cpp(1,10): fatal  error C1083: Cannot open include file: 'include/flutter_secure_storage_windows/flutter_secure_storage_windows_plugin.h': No such file or directory [C:\Users\<user>\test_app\build\windows\x64\plugins\flutter_secure_storage_windows\flutter_secure_storage_windows_plugin.vcxproj]
[        ]     0 Warning(s)
[        ]     1 Error(s)
[        ] Time Elapsed 00:01:39.81
[  +54 ms] Exception: Build process failed.
[   +6 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:667:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1350:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:348:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:294:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:112:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:90:3)
           <asynchronous suspension>
2

[  +35 ms] "flutter run" took 133,843ms.
[  +58 ms] ensureAnalyticsSent: 51ms
[        ] Running 1 shutdown hook
[  +13 ms] Shutdown hooks complete
[        ] exiting with code 1

Exited (1).

My dependencies:
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  ...
  <my-custom-packages-here>
  ...
  flutter_secure_storage: ^9.0.0
  biometric_storage: ^5.0.0
  local_auth: ^2.1.6
  flutter_local_authentication: ^0.0.3
  system_tray: ^2.0.3
  provider: ^6.0.5
  window_manager: ^0.3.5
  get_it: ^7.6.4
  flutter_local_notifications: ^15.1.1
  flutter_platform_alert: ^0.4.0

flutter doctor -v:
[√] Flutter (Channel master, 3.16.0-6.0.pre.29, on Microsoft Windows [Version 10.0.22000.2295], locale en-US)
    • Flutter version 3.16.0-6.0.pre.29 on channel master at C:\tools\flutter_windows_3.10.6-stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5207a309e8 (34 hours ago), 2023-10-07 02:51:32 -0400
    • Engine revision 8711c1fd21
    • Dart version 3.3.0 (build 3.3.0-0.0.dev)
    • DevTools version 2.28.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\<user>\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Users\<user>\AppData\Local\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34031.279
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[√] VS Code (version 1.83.0)
    • VS Code at C:\Users\<user>\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.74.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.2295]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 117.0.5938.134
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 117.0.2045.60

[√] Network resources
    • All expected network resources are available.

• No issues found!

okay, the issue was because my project is in this folder path:
C:\Users\<user>\OneDrive - <company_name>\Desktop\<project_name>
so it's either because of the spaces in my folder name or the fact that it is in a OneDrive folder. Either way I moved it directly under C:\ without spaces nor OneDrive path.
Now it works!

I believe the issue here is that if you use dev drives on windows 11 the symlinks won't work because reFS doesn't support symlinks like that yet. Not sure that there is a fix.


Add alphabetical order test

This is related with issue #34 . We are receiving PRs frequently so I'm merging this since I fixed the README order 😇 .
Anyway I would like to someone's help here.
It might be a code review or even creating pull requests that will break the tests in term of sorting.
/cc @jeanpimentel @raphaeldealmeida

You got to the point, very good. Maybe another supporter can extract initialization for a setup method


Resource-constrained hardware compatibility list

Hi there,
Currently we are working on microcontrollers (the nRF51822) with 256k FLASH and 32k RAM. You are slowly reaching this market segment with your engine with your requirements of 256k FLASH and 96k RAM.
Have you thought about make a list of compatible resource-constrained hardware? I think a list of microcontrollers that can run your code would give a powerful message.
Thanks!

I'll be happy to list "known to work" hardware on duktape.org, so please drop a line if you're working with low memory targets :)

I am. But not yet with duktape. :-)
There is an Arduino board that meets your specs, the http://arduino.cc/en/Main/arduinoBoardDue. It has two banks adding up to 96kB. But I don't know of course if hardware has been one of the driving factors for duktape.

Portability and support for relatively low memory targets are an important goal, but it's not targeted at specific hardware.

The best place for this kind of information would now be https://github.com/svaarala/duktape-wiki, and since there's no concrete change for this repo, closing.


⚠ SceneTime has degraded performance

In 633eda4, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1486 ms

Resolved: SceneTime performance has improved in 0cf6ea3 after 6 minutes.


sql  exception

insert into tb_user (id, name,c_key)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},#{cKey,jdbcType=VARCHAR})
the above sqlMapper throw NullPointerException  at runTime, but  , it will be ok when takeout 'name' like this:
insert into tb_user (id, c_key)
values (#{id,jdbcType=VARCHAR}, #{cKey,jdbcType=VARCHAR})
Which version of Sharding-Sphere do you using?
3.0.0.M1
Expected behavior
work OK
Actual behavior
throw Exception
Reason analyze
column can't use 'name' ?
Steps to reproduce the behavior
insert into anyTable (id, name, description)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},#{description,jdbcType=VARCHAR})

Could you explain why create an issue, and close it by yourself without any reason?


fix: UUID SqlType error

Resolves #418

Thank you for your PR, but we don't need this workaround anymore, because MariaDB Connector/J 3.1.0 already supports UUID, see https://mariadb.com/kb/en/mariadb-connector-j-3-1-0-release-notes/#uuid-object-support


Fix: #1074 Updated image url

Closes #1074
📝 Description

Image not rendering after delay.

⛳ Current behavior (updates)

Image not rendering after delay.

🚀 New behavior

Image renders after delay.

💣 Is this a breaking change (Yes/No):
No
📝 Additional Information

@jrgarciadev Please check.


SPARQL: replace current implementation with a custom Comunica engine + the upcoming RDF/JS spec

Things have changed over the course of the last few months:

comunica has added support for SPARQL UPDATE queries;
work on adding a new interface to RDF/JS that would allow comunica to push filters down to quadstore is ongoing;
@rubensworks is doing a wonderful job in documenting how to create custom comunica engines, making it easier and easier to produce bundles of reasonable size.

Whereas there's still something to be said for a completely custom SPARQL engine, we could easily adapt what we have so far to support the new RDF/JS interface and move forward with a comunica-based SPARQL engine. That would give us something incredibly more powerful than what we could accomplish ourselves. Also, given the team who's working on comunica, I don't think we would incur in any performance issues.

comunica has added support for SPARQL UPDATE queries;

We actually don't have update support yet but it's a WIP though!
So this will probably a blocker for you until we get that done.
Happy to help with creating custom configs if needed.

That's not a big issue - we could handle UPDATE queries internally while delegating SELECT and others to Comunica. It seems like the query() method can accept both SPARQL queries in string form and instances of sparqlalgebrajs' Operation (https://github.com/comunica/comunica/blob/master/packages/actor-init-sparql/lib/ActorInitSparql-browser.ts#L133), so it should be relatively easy to start by using our own internal handling of SPARQL queries for UPDATE queries and move to Comunica's when ready (and contribute to Comunica in the meantime!)

we could handle UPDATE queries internally while delegating SELECT and others to Comunica.

That's sounds like a good option for now indeed.

It seems like the query() method can accept both SPARQL queries in string form and instances of sparqlalgebrajs' Operation

Indeed!

This is coming along nicely in #107 through https://github.com/beautifulinteractions/node-quadstore-comunica

Release on NPM -<EMAIL_ADDRESS>


When will other people be able to embed Github Issues into their own documentation solutions?

I'd love to be able to leverage this capability on my own projects.  Are there plans to share this functionality?  If so, what does the timeline look like?  We need to decide whether or not to roll our own.  Thanks and great work, Rob and co!

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

ID: 0193ed76-3eec-18ac-512f-45f8118dde34
Version Independent ID: 8e693833-3e45-2bb8-ddc2-d0c54936c3c1
Content: A New Feedback System Is Coming to docs.microsoft.com
Content Source: teamblog/a-new-feedback-system-is-coming-to-docs.md
Product: team-blog
GitHub Login: @dend
Microsoft Alias: dendeli

One of our excellent engineers, @jdanyow, has made an open-source version of the commenting system. You can find it here.
Glad you like it!


Cosmetics before release

[ ] The SUB_EUKULELE:EUKULELE_DB module outputs ($meta.id) (single quotes?)
[ ] Prokka output files end with an extra .gz.faa, .gz.gff etc.
[ ] When unzipping protein files the process name is UNPIGZ_CONTIGS
[ ] Process name for eukulele download, change to EUKULELE_DOWNLOAD_DB

Closing the issue since we are close to the release


Feature Request: Sensor for the current Algo

Title says it all... a Sensor for the currently running Algo would be very nice

Here you are :)

Thank you :)


freebsd proposal to move sockcred2 usage in the root mod while ignori…

…ng it for FreeBSD 12.

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

cc @asomers @GuillaumeGomez

Looks good to me since the struct has the same layout between 13 and 14 and the function is implemented, not linked.

@bors r+

:pushpin: Commit da089ce64faa83ac58f29795dd2db0bc3c0c14ba has been approved by Amanieu

:hourglass: Testing commit da089ce64faa83ac58f29795dd2db0bc3c0c14ba with merge 18bfd17b15f0fc05728c711c1a9a4a862810a76d...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 18bfd17b15f0fc05728c711c1a9a4a862810a76d to master...


Empty Map with nested Map Types raises an IndexError.

Describe the bug
If your query returns an empty map, but the map is of a next Map type, an IndexError is raised.
The query works fine on the server.
Steps to reproduce

client.query("select Cast(([],[]), 'Map(String, Map(String, String))')")

Expected behaviour
It should not raise an error, and return an empty dictionary.
Code example
import clickhouse_connect
dsn='http://admin:dev@localhost:8123/default'
client = clickhouse_connect.get_client(dsn=dsn)
client.query("select Cast(([],[]), 'Map(String, Map(String, String))')")
# IndexError: array index out of range

clickhouse-connect and/or ClickHouse server logs
Configuration
Environment

clickhouse-connect version: 0.6.11
Python version: 3.11.5
Operating system: Linux/MacOS

ClickHouse server

ClickHouse Server version: <IP_ADDRESS>
ClickHouse Server non-default settings, if any: N/A
CREATE TABLE statements for tables involved: N/A

It's a one line fix in the source code, just update to the following line of code:
in file clickhouse_connect/datatypes/containt.py:183
        total_rows = 0 if len(offset) == 0 else offsets[-1]

Fixed in 0.6.12


force plot to show even if show() is not called at the end of a cell

see:
https://github.com/pygfx/pygfx/blob/5a5bafd20b11a4f2fe8a31e4ed3c30e5b81f80b4/pygfx/utils/show.py#L207

I think we want to always have explicit show because of how we do output contexts now.


Failed with error code 1 in /tmp/venv/build/Pillow

Hi, I cannot install it:
Command /tmp/venv/bin/python -c "import setuptools, tokenize;__file__='/tmp/venv/build/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-IxlCi8-record/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/venv/include/site/python2.7 failed with error code 1 in /tmp/venv/build/Pillow
Storing debug log for failure in /root/.pip/pip.log

OS: Ubuntu 14.04 LTS
Python version: Python 2.7.6
Thanks in advance

Nevermind
I used the quick way.... and it worked!

:)


$ pip2 install iTunesLibrary does not work

Hello,
it looks like source have not been installed...
Something I missed ?
Thanks
mac-pro-de-pierre:bin puiseux$ pip2 uninstall iTunesLibrary
Uninstalling iTunesLibrary-1.1.0:
  /usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/DESCRIPTION.rst
  /usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/INSTALLER
  /usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/METADATA
  /usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/RECORD
  /usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/WHEEL
  /usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/metadata.json
  /usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/top_level.txt
Proceed (y/n)? y
  Successfully uninstalled iTunesLibrary-1.1.0
mac-pro-de-pierre:bin puiseux$ pip2 install iTunesLibrary
Collecting iTunesLibrary
Installing collected packages: iTunesLibrary
Successfully installed iTunesLibrary-1.1.0
mac-pro-de-pierre:bin puiseux$ python2
Python 2.7.14 (default, Mar 14 2018, 02:35:23)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import itunesLibrary
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named itunesLibrary
>>>

Sorry for not responding earlier...
Try the example code on https://github.com/scholnicks/itunes-library
On Tue, Mar 27, 2018 at 2:18 PM, puiseux<EMAIL_ADDRESS>wrote:

Hello,
it looks like source have not been installed...
Something I missed ?
Thanks
mac-pro-de-pierre:bin puiseux$ pip2 uninstall iTunesLibrary
Uninstalling iTunesLibrary-1.1.0:
/usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/DESCRIPTION.rst
/usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/INSTALLER
/usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/METADATA
/usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/RECORD
/usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/WHEEL
/usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/metadata.json
/usr/local/lib/python2.7/site-packages/iTunesLibrary-1.1.0.dist-info/top_level.txt
Proceed (y/n)? y
Successfully uninstalled iTunesLibrary-1.1.0
mac-pro-de-pierre:bin puiseux$ pip2 install iTunesLibrary
Collecting iTunesLibrary
Installing collected packages: iTunesLibrary
Successfully installed iTunesLibrary-1.1.0
mac-pro-de-pierre:bin puiseux$ python2
Python 2.7.14 (default, Mar 14 2018, 02:35:23)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import itunesLibrary
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named itunesLibrary

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scholnicks/itunes-library/issues/1, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAM1ElHEPnCwcHk-YkBXn0DdRqYgWbPsks5tioJmgaJpZM4S9ZpQ
.

Unfortunately, installing from a git checkout does not work either. Using pip install -v . reveals the problem to be a badly specified module (instead of a package):
$ git clone https://github.com/scholnicks/itunes-library
$ cd itunes-library
$ pip install -v .
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/iTunesLibrary.egg-info
    writing pip-egg-info/iTunesLibrary.egg-info/PKG-INFO
...
  running bdist_wheel
  running build
  running build_py
  file iTunesLibrary.py (for module iTunesLibrary) not found # <----
  file iTunesLibrary.py (for module iTunesLibrary) not found # <----
  installing to build/bdist.macosx-10.13-x86_64/wheel
  running install
  running install_lib
  warning: install_lib: 'build/lib' does not exist -- no Python modules to install

This diff fixes it:
@@ -1,4 +1,4 @@
-from distutils.core import setup
+from setuptools import setup

 setup(
@@ -12,7 +12,7 @@ setup(
     keywords=['iTunesLibrary','iTunes'],
     url='https://github.com/scholnicks/itunes-library',
     download_url='https://github.com/scholnicks/itunes-library',
-    py_modules=['iTunesLibrary'],
+    packages=['itunesLibrary'],
     classifiers=[
         'Development Status :: 5 - Production/Stable',
         'Topic :: Utilities',

(Tested with python 2.7 on macOS 10.13.)

Updated setup. The module now installs for both Python 2.7 and 3.5 from PyPi via pip.


Formatting issue for the JBOD example.

The formatting for the jbod enclosure "To determine whether the JBOD enclosure supports enclosure and slot identification, run the following Windows PowerShell cmdlet:" shows the backslash that is being used to escape the pipe symbol which is required for the markdown page however also gets rendered on the docs.microsoft.com site. However attempting to edit the document in Github, removing the backslashes  and viewing the example preview shows the text showing in the next table field.
I'm not familiar enough with markdown to edit the document correctly so the powershell code shows up properly. Using the powershell code from the other examples makes it show up on a new line breaking the table as in the screenshot below.

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

ID: b5eff1fc-f935-23b3-6165-914061f81334
Version Independent ID: 6689ae37-f31e-ec5d-f964-5695a5a6dc14
Content: Deploy Storage Spaces on a stand-alone server
Content Source: WindowsServerDocs/storage/storage-spaces/deploy-standalone-storage-spaces.md
Product: windows-server
Technology: storage-spaces
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Fair question. I usually encapsulate commands using MarkDown backticks `` (1 before and 1 after the code in question) to avoid the issue of having to use any escape characters for special characters like vertical pipe, Greater Than, and Less Than characters, as well as asterisks (wildcards).
Looking at the page in question, I notice that the cmdlet seems to be encapsulated in backticks already, so I will have a look at the GitHub version of the page and see if it is only a question of removing the unneeded escape characters.

By the way: I am not very familiar with the topic, at least not using this information on a daily basis, so I would think that the last sentence in that cell could fit better in the directly following Notes cell instead:
"If the EnclosureNumber and SlotNumber fields contain values, then the enclosure supports these features."
Do you agree, or do you find that it belongs where it currently is placed?

Funny thing is, the rich diff view here on GitHub seems to hide the escape character, but fortunately not in the raw view:

https://raw.githubusercontent.com/MicrosoftDocs/windowsserverdocs/master/WindowsServerDocs/storage/storage-spaces/deploy-standalone-storage-spaces.md


New constraint

Is is possible to create a new constraint, for running jobs only in background?

Yes, this could be implemented quite trivially, and also seems like a
useful addition. I'll add it sometime later this week if I get to it
On 9 Jul 2018 11:12, "Erik Seifert"<EMAIL_ADDRESS>wrote:

Is is possible to create a new constraint, for running jobs only in
background?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/talkdirty/android_job_scheduler/issues/7, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARqswIFsz1b9QqoOMTq5TqlnEaG0NZ4Jks5uEx5qgaJpZM4VHWRJ
.


Enhancing Compatibility: Upgrading langchain to the latest version to allow support for newer libraries

Discussed in https://github.com/danny-avila/LibreChat/discussions/2187

Originally posted by arishwin March 24, 2024
Hello everyone,
I've been working with LibreChat in conjunction with @pinecone-database/pinecone, and I've encountered a version compatibility issue that I believe could benefit from community input and possibly lead to an enhancement of langchain versions.
Current Situation:
The langchain versions in this project currently supports up to version 1.x of @pinecone-database/pinecone. However, @pinecone-database/pinecone has released version 2.x, which introduces serverless support. These enhancements are critical for the development of plugins that rely on the latest database functionalities and performance improvements. Adding version 2.x into the project introduces some dependency conflict with the current versions of langchain
Suggestion:
I propose that we consider upgrading langchain to the latest version so that it can support @pinecone-database/pinecone 2.x. This upgrade could provide developers the option to use plugins that support the latest serverless functionalities of Pinecone.
I believe this discussion could pave the way for an enhancement that benefits not only current users but also makes LibreChat more appealing to new adopters by ensuring it supports the latest technologies and standards.
Looking forward to your thoughts and feedback!
Best regards,
Arishwin

I will eventually bump the package as I have something in mind but you don't need to wait for this. Since you likely already work off a fork, you can maintain the package upgrade as needed:
# from project root
cd api
npm i langchain@latest # or whichever package needed


Polish translation

Thanks. Duplicate of earlier #12 though. Your guys' strings differ quite a bit, guess we could use a third source.


Verify service restart feature

It seems as if the service restart feature is broken or at least not working consistently.
Need to investigate.
Input is welcome!

Fixed in 3c253d21b2b5abf603732e01d959a4a53435bc05.


meta data

needs meta data
https://trello.com/c/CYrfsGSz

this was a test of sorts – ocean adapt with trello


docs: improve readme

Description
Improved readme file with the following information :point_down:

Moved the website link to top
Added prerequisites section
Added installation step with extra info.
Added support and license section.
Updated the How to contribute section.

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] Any dependent changes have been merged and published in downstream modules

Screenshot

looks amazing :)

Didn't see this for some reason. Thanks @vikasganiga05

You're welcome guys :slightly_smiling_face:


How to change format of reset password link which users gets in their email ?

I am using parse server in digital ocean droplet.While i implement reset password.The user gets a link with my ip address of droplet ie 37.x.x.154  ,app key session token and gmail.Is there a way i could hide these .or atleast give a domain name instead of ip for eg link is like this
http://37.x.x.154:1337/parse/apps/appkey/request_password_reset?token=TntZjXMlIvfviWpw0re8y5Jmi&username=my%40gmail.com
could i change it atleast
http://myDomainName.com/parse/apps/appkey/request_password_reset?token=TntZjXMlIvfviWpw0re8y5Jmi&username=my%40gmail.com
I bought domain name,but how can i give port . It feels insecure and feels like vulnerable for attack on my server.

You should simply set the severUrl to use your domain name and not the IP-address. You should also consider having your Parse-server terminated by nginx or something like it (and do use https for your nginx)

i have done it and works,but now in the email it gives me
http://domainname :portnumber/parse/app/appkey/sessiontoken/email
is there any way to hide
port number,
app key
path : parse/app
in simple way . .

Parse Server only accepts links to the /mount/app/key/... endpoint. It's possible to get rid of it, but not easy. You would need to write a custom verification email generator, that uses the desired link, and then use a redirection somewhere (maybe nginx, or if you are mounting Parse Server on your own express app you can do the redirection there)
This isn't a common use case, so it's not very well documented. If you get this working successfully, please submit a documentation improvement so others can learn from what you've discovered!
Also, if you only need to hide the port number (this is what I would recommend), you can do that by using running your Parse Server on port 80, or redirecting in from port 80 to the port you are running on, and using publicServerURL setting in Parse Server, set to `https://YOUR_DOMAIN.com/YOUR_MOUNT``.


Terminal: Run Selected Text In Active Terminal runs only first line in IPython

Issue Type: Bug
Steps to reproduce:

run ipython in integrated terminal
select more than one line of python code in editor
run action Terminal: Run Selected Text In Active Terminal

Expected result: all lines executed.
Current result: executes only first line of selection.
Note: it works as expected with bare python.
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:31:26.156Z)
OS version: Darwin x64 15.6.0

Can you post a screenshot or the text selected and what happens in the terminal?

Sure :)

I suspect this is a bug with ipython eating the keypresses while print(1) is running. It could also be related to how the terminal emulation works on Windows and in that case this can be closed as a duplicate of https://github.com/Microsoft/vscode/issues/45693


Add Command accepts invalid phone numbers

New person added: John Doe2; Phone: 1123; Email<EMAIL_ADDRESS>Address: john street, block 123, #010-11; Tags:
If the target group is assumed to be NGOs in Singapore, then phone numbers could be checked, to help the user ensure they do not accidentally enter an invalid phone number (which they then forget about in future). For SG phone numbers, they should fulfill the criteria based in: Telephone numbers in Singapore

I think assuming that NGOs might at some point work with international partners is fair enough.
With a quick search, seems like the minimum phone number length worldwide is 4. Currently the code checks that phone numbers are at least 3 digits long. Should we just change that to 4 digits then?

3 digits for 999 etc. Think if international partners are ok then this should be fine. I'll just change this to an enhancement.


CAMEL-12295: Added an option to Jms Endpoints so that they format JMS…

… date properties according to the ISO 8601 standard.

Well, at least we need one higher level test to check that the option is well parsed.

Ok, so I've added the option at component level also, changed the name and completed with a route level test. Should I merge it in 2.21 ?

Yeah but you should also add the @ManagedAttrbiute to the JmsEndpoint class like the other options have.

PS: You may also want to rebuild camel-amqp as it extends camel-jms and its docs/spring-boot-starter needs to be updated as well, but this happens anyway on new rebuild of all the code - but just wanted to let you know

The new option is now exposed via JMX and camel-ampq is building as well. Let's take time to review this a bit.

Looks good to me, but lets wait for the final ok from @davsclaus

Ok. Thanks for the review guys.


Remove usage of jQuery

HI there! Thanks for this project. It is awesome.
I would like to use this in one app that we don't want to ship jQuery and with the movement in the Ember itself to allow jQuery to be optional, it seems to be a great moment to think about that.
I would like to understand that ware the required changes needed to allow us to not use jQuery within this project.
I would be interesting to layout the required changes so someone could pick this up and do the work.
Thanks again for your work in this amazing project.

I'd be interested in seeing this happen as well. Can probably pitch in to help if we can come up with a quest issue to knock everything out ...

Just got a PR for removing the jquery usage in the components.
There are other instances of jquery, but they are only in test env. It would be awesome if someone else took the other items.

@offirgolan If you do find time, I would love if you took a look at migrating triggerSwipeEvent out of jQuery.
I can take a look myself on removing the remaining jQuery usage in the tests.


Implement "Go Last"

This implements a "Go Last" command. This command will navigate either forward or backwards in history to the last entry in the history stack you were looking at. I've implemented this in service of implementing '' and `` for vim mode: https://github.com/VSCodeVim/Vim/issues/1089

@brandonbloom,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@brandonbloom, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot

@brandonbloom trying to understand the purpose of the command:

This command will navigate either forward or backwards in history to the last entry in the history stack you were looking at.

Is the idea that you just always remember the index of the last history operation by the user (either going forward or backward) so that you can jump back to that index? It is not clear to me how it would ever jump forward because once you go back and then navigate to another editor, the future history is lost.

You jump somewhere, and then tap '' as many times as you like to flip back and forth between the place you came from and the place you went to.

Isn't the same possible by using the Ctrl+Tab keys and releasing to jump between MRU editors?

No. That's not the same thing for a few reasons. Most importantly, that won't work on one file in one editor. This is common when fiddling with imports while working, or when referring to some types at the top of a file, for example.

The goal is to provide even a crude approximation of a pair of very commonly used vim bindings.

@brandonbloom can you also create an issue in VSCode repo so that we can resolve it with this PR. The issue best explains this feature so that it can be tested during end game (e.g. what is the expected behaviour).

Done. See https://github.com/Microsoft/vscode/issues/33902

Thanks 👍


NGram translates to Ngram which will cause an error

I have the following:
CreateIndex({
  name: 'searchUsersByName',
  terms: [
    { binding: 'search' }
  ],
  source: {
    collection: Collection('users'),
    fields: {
      search: Query(
        Lambda(
          ['row'],
          Union(
            NGram(
              LowerCase(
                Select(['data', 'firstName'], Var('row'))
              ),
              2,
              3
            ),
            NGram(
              LowerCase(
                Select(['data', 'middleName'], Var('row'))
              ),
              2,
              3
            ),
            NGram(
              LowerCase(
                Select(['data', 'surname'], Var('row'))
              ),
              2,
              3
            )
          )
        )
      )
    }
  }
});

And when I run fauna-schema-migrate generate, it generates the following:
CreateIndex({
  name: "searchUsersByName",
  terms: [{
    binding: "search"
  }],
  source: {
    collection: Collection("users"),
    fields: {
      search: Query(Lambda(["row"], Union(Ngram(LowerCase(Select(["data", "firstName"], Var("row"))), 2, 3), Ngram(LowerCase(Select(["data", "middleName"], Var("row"))), 2, 3), Ngram(LowerCase(Select(["data", "surname"], Var("row"))), 2, 3))))
    }
  }
})

Notice that NGram has been transformed into Ngram which is now incorrect. when I ran the migration, I got the following error:
Fauna Schema Migrate - 2.1.0
---------------------------------------
--- Starting subtask Retrieving current cloud migration state
--- Finished subtask Retrieved current migration state

Error in file: fauna/migrations/2021-05-02T03_43_07.746Z/create-index-searchUsersByName.fql
  Ngram is not defined

EDIT 1:
I tried manualy editing the generated migration to:
CreateIndex({
  name: "searchUsersByName",
  terms: [{
    binding: "search"
  }],
  source: {
    collection: Collection("users"),
    fields: {
      search: Query(Lambda(["row"], Union(NGram(LowerCase(Select(["data", "firstName"], Var("row"))), 2, 3), NGram(LowerCase(Select(["data", "middleName"], Var("row"))), 2, 3), NGram(LowerCase(Select(["data", "surname"], Var("row"))), 2, 3))))
    }
  }
})

I simply updated Ngram to NGram but somehow I still got the same error.
EDIT 2:
Okay, it's the same error but somehow different trails:
Fauna Schema Migrate - 2.1.0
---------------------------------------
--- Starting subtask Retrieving current cloud migration state
--- Finished subtask Retrieved current migration state
--------- Current cloud migrations----------
    2021-03-28T10:48:52.250Z
    2021-04-17T02:03:19.186Z
    2021-04-17T09:15:39.642Z
--------- Current local migrations ----------
    2021-03-28T10:48:52.250Z
    2021-04-17T02:03:19.186Z
    2021-04-17T09:15:39.642Z
    2021-05-02T03:43:07.746Z
--------- Task ----------
    apply 1 migrations

--- Starting subtask [ DB: ROOT ] Generate migration code
  Ngram is not defined
Stacktrace ReferenceError: Ngram is not defined

EDIT 3:
I have updated to version 2.1.2 but still the same error as above.

Thanks for submitting this, @aprilmintacpineda !
This appears to be coming from the JavaScript driver. Since NGram is not listed as one of the special cases, it is not converted to CamelCase correctly. We've created this issue in the JavaScript driver repo.
We'll update this issue once the JavaScript driver is updated.


L515 Python Enable Stream Configs

Required Info

Camera Model
D435/L515

Firmware Version
(1.04)

Operating System & Version
Jetson Nano Ubuntu 18.04

SDK Version
2.36

Language
Python/PyRealSense2

Issue Description
I'm attempting to connect my L515 using similar code to what I used for the D435.
pipeline = rs.pipeline()
config = rs.config()
config.enable_stream(rs.stream.depth, 640, 480, rs.format.z16, 30)
config.enable_stream(rs.stream.color, 1280, 720, rs.format.bgr8, 30)
config.enable_stream(rs.stream.infrared, 1, 640, 480, rs.format.y8, 30)

# Start streaming
profile = pipeline.start(config)

Getting a RuntimeError: Couldn't resolve requests, which I'm sure means my configs aren't correct. I adjusted the framerates, but everything else seems to match from the realsense-viewer settings (which runs perfectly).
What am I missing here?

Try removing the "1"  in your line "config.enable_stream(rs.stream.infrared, 1, 640, 480, rs.format.y8, 30)"

Brand new L515.
None of the python examples with "profile = pipeline.start(config)" work.
Traceback (most recent call last):
  File "align-depth2color.py", line 25, in <module>
    profile = pipeline.start(config)
RuntimeError: Couldn't resolve requests

Similar compiled functionality work fine.

The below worked for the LiDAR cam L5151
So it appears that the examples have not been updated for the higher resolutions?
pipeline = rs.pipeline()
config = rs.config()
config.enable_stream(rs.stream.depth, 1024, 768, rs.format.z16, 30)
config.enable_stream(rs.stream.color, 1280, 720, rs.format.bgr8, 30)

# Align objects
align_to = rs.stream.color
align = rs.align(align_to)

# Start streaming
profile = pipeline.start(config)

Hi,
We are able to run the align python example below (with the higher resolution modification) successfully. Are you still unable to on latest?
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/align-depth2color.py

it' seems like 640, 480 size for rs.stream.color is not supported with.
what size do supported for the L515?

Hi,
Will you be needing further help with this? You can run rs-enumerate-devices to get a full listing of supported resolutions.
If we don’t hear from you in 7 days, this issue will be closed.
Thanks

Hi,
Will you be needing further help with this? You can run rs-enumerate-devices to get a full listing of supported resolutions.
If we don’t hear from you in 7 days, this issue will be closed.
Thanks

I have the same issue and still not able to solve it can any one help with it.

I have the same issue and still not able to solve it can any one help with it.


Bug report - AeroDyn UA fields not being updated?

Possible bug with AeroDyn UA
There are a couple of fields of UA_DiscreteStateType that, to my nonexpert eye, looked like they might not be getting updated correctly. The ones I am wondering about are: K3prime_q_minus1 and Kprimeprime_q_minus1
I expected that they might be updated in UA_UpdateDiscOtherState, i.e. something like is done for what looks like a very similar field:
xd%Kprime_q_minus1(i,j)  = KC%Kprime_q
But I really don't have a good handle on this stuff, so there is a very good chance I've got this wrong and so apologies if I've wasted your time here!

Hi @pelljam,
I had a quick look at the code, and I agree with you, the two variables you mentioned K3prime_q_minus1 and Kprimeprime_q_minus1 don't seem to be  updated, and I suspect they might remain zero.
If they do represent a quantity at the previous time step, they should be updated as you mentioned, as:
xd%K3prime_q_minus1(i,j) = KC%K3prime_q
xd%Kprimeprime_q_minus1(i,j) = KC%Kprimeprime_q

It seems though that K3prime_q and Kprimeprime_q are not stored in KC and might need to be added there.
I'll have to look at the unsteady aero manual to see if these variables indeed need updating or if they are simply also based on a "zero" previous value. Have you looked into it?

Hi @ebranlard
No I have not looked at the theory in detail. I'm just going off how these fields are used in the ComputeKelvinChain subroutine, i.e. in a way that looks like they require the state to be tracked, for example:
K3prime_q       = Get_ExpEqn( BL_p%b5*beta_M_Sqrd*KC%ds, 1.0_ReKi, xd%K3prime_q_minus1(i,j),  BL_p%A5*(KC%q_f_cur - q_f_minus1), 0.0_ReKi )
But then as you say, the current value is assigned to a local var and not a field of KC. If the intent is for K3prime_q_minus1 to always be zero, this would be a strange choice for the variable name (however there could be some legacy reason for that).
However, I'm far from an expert so all I can really point out is that it looked a little strange to me and it might need some further consideration.
Sorry I can't be more helpful.
James

Hi again @ebranlard,
I wondered if there had been any progress with resolving this issue?
Thanks, James

I believe the two variables indeed need updating.
The code is as follows:
K3prime_q       = Get_ExpEqn( BL_p%b5*beta_M_Sqrd*KC%ds, 1.0_ReKi, xd%K3prime_q_minus1(i,j),  BL_p%A5*(KC%q_f_cur - q_f_minus1), 0.0_ReKi )
Kprimeprime_q   = Get_ExpEqn( real(p%dt,ReKi), k_mq**2*T_I       , xd%Kprimeprime_q_minus1(i,j) ,  KC%Kq_f , Kq_f_minus1  )

Which corresponds exactly to the theory stated in the report "The Unsteady Aerodynamics Module for FAST 8" from R. Daminai and G. Hayman:

The problem is that in the code, xd%K3prime_q_minus1(i,j) and xd%Kprimeprime_q_minus1(i,j) are never updated to the "minus 1" values, and remain zero throughout.
I'll create a pull request for that.
Thank you for spotting this.


Block Device stuck in Inactive.

Hello guys,
I have a couple of block devices in my cluster that worked perfectly. After a few days, I checked the bd in my cluster, and one of them is Inactive, and another block device has been added automatically without attaching a block device to the node!!
$ k -n openebs get bd -o wide
NAME                                           NODENAME   PATH        FSTYPE       SIZE          CLAIMSTATE   STATUS     AGE
blockdevice-0487f0c6fa305ed08b69136b3201deba   worker1    /dev/vdc1<PHONE_NUMBER>8   Claimed      Active     17d
blockdevice-079f24faba0d9f46e24c21f2b21bd335   worker2    /dev/vdb1   zfs_member<PHONE_NUMBER>8   Unclaimed    Active     93m ## The newly added block device!!
blockdevice-141ad763fecfd113f6b2e842cb6991c1   worker3    /dev/vdb1<PHONE_NUMBER>8   Claimed      Active     46d
blockdevice-1d0134218cf292a9fbe56964dab9f908   worker2    /dev/vdb1<PHONE_NUMBER>8   Claimed      Inactive   46d ## My previous block device
blockdevice-50c83768f58753e03f6af761582c37d0   worker4    /dev/vdb1<PHONE_NUMBER>8   Claimed      Active     46d
blockdevice-905336dd2f5e26c2cb84c98e02e0774b   worker2    /dev/vdc1<PHONE_NUMBER>8   Claimed      Active     17d
blockdevice-b37d4d29a87c23f85dd6780c35f829b5   worker4    /dev/vdc1<PHONE_NUMBER>8   Claimed      Active     7d23h
blockdevice-d49779f8727ac924464822e71042ac8e   worker3    /dev/vdc1<PHONE_NUMBER>8   Claimed      Active     7d23h
blockdevice-fcc0b069214fb88e73b4c744a586b21e   worker1    /dev/vdb1<PHONE_NUMBER>8   Claimed      Active     46d

Here is the result of the deescribe command on them both:
The Privous one (blockdevice-1d0134218cf292a9fbe56964dab9f908):
$ k -n openebs describe bd/blockdevice-1d0134218cf292a9fbe56964dab9f908
Name:         blockdevice-1d0134218cf292a9fbe56964dab9f908
Namespace:    openebs
Labels:       kubernetes.io/hostname=worker2
              ndm.io/blockdevice-type=blockdevice
              ndm.io/managed=true
              nodename=worker2
Annotations:  internal.openebs.io/uuid-scheme: gpt
API Version:  openebs.io/v1alpha1
Kind:         BlockDevice
Metadata:
  Creation Timestamp:  2022-12-17T04:52:20Z
  Finalizers:
    openebs.io/bd-protection
  Generation:  26
  Managed Fields:
    API Version:  openebs.io/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:finalizers:
          .:
          v:"openebs.io/bd-protection":
      f:spec:
        f:claimRef:
          .:
          f:apiVersion:
          f:kind:
          f:name:
          f:namespace:
          f:resourceVersion:
          f:uid:
      f:status:
        f:claimState:
    Manager:      ndo
    Operation:    Update
    Time:         2023-02-01T11:11:53Z
    API Version:  openebs.io/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .:
          f:internal.openebs.io/uuid-scheme:
        f:labels:
          .:
          f:kubernetes.io/hostname:
          f:ndm.io/blockdevice-type:
          f:ndm.io/managed:
          f:nodename:
      f:spec:
        .:
        f:capacity:
          .:
          f:logicalSectorSize:
          f:physicalSectorSize:
          f:storage:
        f:details:
          .:
          f:compliance:
          f:deviceType:
          f:driveType:
          f:firmwareRevision:
          f:hardwareSectorSize:
          f:logicalBlockSize:
          f:model:
          f:physicalBlockSize:
          f:serial:
          f:vendor:
        f:devlinks:
        f:filesystem:
        f:nodeAttributes:
          .:
          f:nodeName:
        f:partitioned:
        f:path:
      f:status:
        .:
        f:state:
    Manager:         ndm
    Operation:       Update
    Time:            2023-02-01T12:33:13Z
  Resource Version:  23165400
  UID:               a89c381e-2367-47a8-b74b-9f3231161cc3
Spec:
  Capacity:
    Logical Sector Size:   512
    Physical Sector Size:  512
    Storage:<PHONE_NUMBER>8
  Claim Ref:
    API Version:       openebs.io/v1alpha1
    Kind:              BlockDeviceClaim
    Name:              bdc-cstor-a89c381e-2367-47a8-b74b-9f3231161cc3
    Namespace:         openebs
    Resource Version:  7118818
    UID:               ef7f0f59-9cd5-4c69-89c2-28e021cea010
  Details:
    Compliance:
    Device Type:           partition
    Drive Type:            HDD
    Firmware Revision:
    Hardware Sector Size:  512
    Logical Block Size:    512
    Model:
    Physical Block Size:   512
    Serial:
    Vendor:
  Devlinks:
    Kind:  by-id
    Links:
      /dev/disk/by-id/virtio-d9226a4c-13ab-4ab2-9-part1
    Kind:  by-path
    Links:
      /dev/disk/by-path/virtio-pci-0000:00:07.0-part1
      /dev/disk/by-path/pci-0000:00:07.0-part1
  Filesystem:
  Node Attributes:
    Node Name:  worker2
  Partitioned:  No
  Path:         /dev/vdb1
Status:
  Claim State:  Claimed
  State:        Inactive
Events:         <none>

The Newly added (blockdevice-079f24faba0d9f46e24c21f2b21bd335):
$ k -n openebs describe bd/blockdevice-079f24faba0d9f46e24c21f2b21bd335
Name:         blockdevice-079f24faba0d9f46e24c21f2b21bd335
Namespace:    openebs
Labels:       kubernetes.io/hostname=worker2
              ndm.io/blockdevice-type=blockdevice
              ndm.io/managed=true
              ndm.io/zpool-name=cstor-14a65c1b-aa67-42b8-b688-1a684d5e24bd
              nodename=worker2
              openebs.io/block-device-tag=zfs-localpv
Annotations:  <none>
API Version:  openebs.io/v1alpha1
Kind:         BlockDevice
Metadata:
  Creation Timestamp:  2023-02-01T11:10:55Z
  Generation:          4
  Managed Fields:
    API Version:  openebs.io/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          .:
          f:kubernetes.io/hostname:
          f:ndm.io/blockdevice-type:
          f:ndm.io/managed:
          f:ndm.io/zpool-name:
          f:nodename:
          f:openebs.io/block-device-tag:
      f:spec:
        .:
        f:capacity:
          .:
          f:logicalSectorSize:
          f:physicalSectorSize:
          f:storage:
        f:details:
          .:
          f:compliance:
          f:deviceType:
          f:driveType:
          f:firmwareRevision:
          f:hardwareSectorSize:
          f:logicalBlockSize:
          f:model:
          f:physicalBlockSize:
          f:serial:
          f:vendor:
        f:devlinks:
        f:filesystem:
          .:
          f:fsType:
        f:nodeAttributes:
          .:
          f:nodeName:
        f:partitioned:
        f:path:
      f:status:
        .:
        f:claimState:
        f:state:
    Manager:         ndm
    Operation:       Update
    Time:            2023-02-01T12:33:13Z
  Resource Version:  23165403
  UID:               78ca0171-6569-4d00-927d-861e99f36337
Spec:
  Capacity:
    Logical Sector Size:   512
    Physical Sector Size:  512
    Storage:<PHONE_NUMBER>8
  Details:
    Compliance:
    Device Type:           partition
    Drive Type:            HDD
    Firmware Revision:
    Hardware Sector Size:  512
    Logical Block Size:    512
    Model:
    Physical Block Size:   512
    Serial:
    Vendor:
  Devlinks:
    Kind:  by-id
    Links:
      /dev/disk/by-id/virtio-d9226a4c-13ab-4ab2-9-part1
    Kind:  by-path
    Links:
      /dev/disk/by-path/virtio-pci-0000:00:07.0-part1
      /dev/disk/by-path/pci-0000:00:07.0-part1
  Filesystem:
    Fs Type:  zfs_member
  Node Attributes:
    Node Name:  worker2
  Partitioned:  No
  Path:         /dev/vdb1
Status:
  Claim State:  Unclaimed
  State:        Active
Events:         <none>

Also, I don't know if this is relevant or not, but I'm gonna provide them anyway:

I'm using the cStor Engine, and I attach all of these block devices for it.

apiVersion: cstor.openebs.io/v1
kind: CStorPoolCluster
metadata:
 name: cstor-pool-disk
 namespace: openebs
spec:
 pools:
   - nodeSelector:
       kubernetes.io/hostname: "worker1"
     dataRaidGroups:
       - blockDevices:
           - blockDeviceName: "blockdevice-fcc0b069214fb88e73b4c744a586b21e"
           - blockDeviceName: "blockdevice-0487f0c6fa305ed08b69136b3201deba"
     poolConfig:
       dataRaidGroupType: "stripe"

   - nodeSelector:
       kubernetes.io/hostname: "worker2"
     dataRaidGroups:
       - blockDevices:
           - blockDeviceName: "blockdevice-1d0134218cf292a9fbe56964dab9f908"
           - blockDeviceName: "blockdevice-905336dd2f5e26c2cb84c98e02e0774b"
     poolConfig:
       dataRaidGroupType: "stripe"

   - nodeSelector:
       kubernetes.io/hostname: "worker3"
     dataRaidGroups:
       - blockDevices:
           - blockDeviceName: "blockdevice-141ad763fecfd113f6b2e842cb6991c1"
           - blockDeviceName: "blockdevice-d49779f8727ac924464822e71042ac8e"
     poolConfig:
       dataRaidGroupType: "stripe"

   - nodeSelector:
       kubernetes.io/hostname: "worker4"
     dataRaidGroups:
       - blockDevices:
           - blockDeviceName: "blockdevice-50c83768f58753e03f6af761582c37d0"
           - blockDeviceName: "blockdevice-b37d4d29a87c23f85dd6780c35f829b5"
     poolConfig:
       dataRaidGroupType: "stripe"

$ k -n openebs get cspc
NAME              HEALTHYINSTANCES   PROVISIONEDINSTANCES   DESIREDINSTANCES   AGE
cstor-pool-disk   4                  4                      4                  46d

What should I do to fix this?
Should we replace this newly added device with the previous Inactive One?

K8s version: 1.25.3

Never Mind!
We just use Portworx.
It is awesome and it is production ready!

@alifiroozi80 Sorry to see that you didn't have a good experience.
I'd like you to try "Mayastor", the latest replicated engine from OpenEBS portfolio, which is under active development and well supported. We just recently launched the 2.0 stable version. It's completely K8s-native and extremely fast.
Documentation: https://mayastor.gitbook.io/introduction/
Code repositories: https://github.com/openebs/mayastor and https://github.com/openebs/mayastor-*


GHC version support

I am experimenting with the new cabal-helper / ghc-mod in https://github.com/alanz/haskell-ide-engine/tree/bleeding-edge-c-h
It uses cabal-plan-<IP_ADDRESS>.  Stack is unable to build this for GHC 8.2.1/8.2.2 because the Cabal bundled with the snapshot is <IP_ADDRESS> or something, and it does not understand the license field used in cabal-plan-<IP_ADDRESS>.
Not, it builds fine with cabal new-build, so long as it is version <IP_ADDRESS>.
So, there are two options

When (eventually) this patch lands, drop support for GHC 8.2.x
Run a submodule of cabal-plan with the license changed.

I guess there is also

Request @hvr to move back to an older license format for cabal-plan-<IP_ADDRESS>.

Given the (not-so) imminent landing of GHC 8.8, I am leaning toward dropping support for GHC 8.2
Any opinions?

it builds fine with cabal new-build, so long as it is version <IP_ADDRESS>.

I don't think that's accurate. It's supposed to build as long as you have cabal-2.2.x or newer, which is far from being bleeding edge.

Request @hvr to move back to an older license format for cabal-plan-<IP_ADDRESS>.

While I understand that you're trying to workaround design flaws of Stack & Stackage with respect to its handling of the cabal spec, I don't think we should hold back everyone just to workaround limitations in Stack. This would set a very bad precedent.

Closed by #1430


Possible typo in a cis_reports.py key name: cloud_guard_endable

Minor point. This looks like a typo in the key name on this line:
https://github.com/oracle-quickstart/oci-cis-landingzone-quickstart/blob/main/scripts/cis_reports.py#L3884
Namely:
"cloud_guard_endable" :  True  if self.__cloud_guard_config_status == 'ENABLED' else False,

Should be cloud_guard_enable or somesuch?
Does not appear to affect the logic in the script as it is only checking the truthiness of all the key values, not specific key names.

@MigRam @LanceBraswell it is not a typo. Here in the code we call get_configuration using the Cloud Guard client.  From that, we get an oci.cloud_guard.models.Configuration object which looks the following:
{
  "reporting_region": "us-ashburn-1",
  "self_manage_resources": false,
  "status": "ENABLED"
}

The attributes STATUS_DISABLED and STATUS_ENABLED are constants and not part of the get_configuration response.  Using the response from get_configuration, we assign the internal variable self.__cloud_guard_config_status to the status returned in the above object.
Below is some sample code test:
config =oci.config.from_file()
cloud_guard_client = oci.cloud_guard.CloudGuardClient(config)
resp = cloud_guard_client.get_configuration(config['tenancy'])
print(resp.data)


Consider adding ConnectionStrings in the fallback path when loading default connection string from environment

Azure Web App has a "Connection Strings" section specifically for secret connection strings. We should consider adding it into the fallback path when loading default connection string from environment, to optimize the experiences in Azure Web App.

There’s a pattern we infer for this, take a look at the environment variable configuration provider

@davidfowl are you talking about AddEnvironmentVariables() API?
What I mean is we may search for ConnectionStrings:Azure:SignalR:ConnectionString from environment since Azure Web App supports it. Of course the naming should be further discussed. What do you think?

Yes https://github.com/aspnet/Configuration/blob/2177cdf37ab22b766f70e6f0dbf3a486a0955fb4/src/Config.EnvironmentVariables/EnvironmentVariablesConfigurationProvider.cs#L21
I believe we read the environment variables from app service and we project them as a ke.


Correct issue with double inputs on checkbox and radio

Checkbox and radio inputs are included into the {{label}} element, so having a {{input}} causes double rendering of the checkbox/radio.

Issue is deeper than I thought, and relates to multicheckboxes. Will open another PR.


Fixed rendering problems for 2019

XRTK - Mixed Reality Toolkit Change Request
Overview
Fixed the header rendering problems in 2019, back ported to dev

/azp run

/azp run


Apple Pay on paymentsheet does not complete on iOS12

Describe the bug
Some of our users of the FlutterStripe lib mentioned that the paymentsheet Apple Pay is hanging on iOS12. I was able to reproduce this issue.
To Reproduce
Steps to reproduce the behavior:

Create payment intent
Open the paymentsheet on a iOS12 device
Tap apple pay
Notice the Apple Pay sheet is displayed
Confirm the form and press pay
Notice the sheet is hanging

I expect the payment to go through like on iOS13/14/15.
Screenshots
See movie
https://user-images.githubusercontent.com/20230599/148358818-b176d7c1-c3c9-400c-b7df-efb5e26871e0.mp4

@remonh87 unfortunately your video skips right from the 2nd second all the way to the end for me 🙁 I tested this on an iOS 12 simulator and did not notice any hang (using the code from the example/ app). Could you try that? Or you may also be able to debug this further by looking through the Xcode logs at the point when the app hangs


*: Fix missing workspace members

What is changed and how it works?

Issue Number: Ref #15990

What's Changed:
Some components are missing in workspace members, so `cargo-sort` won't cover them. Using wildcard for workspace members so that none can't be easily forgot anymore.

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[x] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

None

@Connor1996 need run make format

/approve


Manual pages: Please improve formatting

It would be really nice if restic's manual pages were formatted in such a way that the reader can tell literal command input, replaceable arguments, and regular text apart.
This is especially important for the SYNOPSIS section. Currently, the SYNOPSIS sections in restic's manual pages are just all bold.
However, only literal command input (including command names in general) should be set in bold font. For replaceable arguments, the macro for italic text should be used.
So, e.g., the SYNOPSIS section for the restic mount command could be written as follows:
.SH SYNOPSIS
.PP
.B restic mount
[\fIoptions\fR] \fImountpoint

Which restic version are you referring to? We use https://github.com/spf13/cobra to implement the CLI and also to automatically create the man pages. So there's probably not too much we can do about the formatting.

I use version 0.11.0. But, concerning this problem, there seems to be no difference between that and the current state of affairs in this repository.

We use https://github.com/spf13/cobra to implement the CLI and also to automatically create the man pages. So there's probably not too much we can do about the formatting.

Well, the problem is that this library is apparently not doing a good job, unfortunately.
(I was asked on IRC to report this on the restic issue tracker nonetheless because it's an issue with restic's manual pages, in this case.)

Please note that you do not need to emphasize further that you were asked to report this on restic's issue tracker. You have done so, thank you. We'll see what we do about it and the state of affairs in this repository.


"Code after RETURN statement cannot be executed" false positive when used with Switch

When a return exists in a switch statement the error: 'Code after RETURN statement cannot be executed' is thrown, despite there being multiple pathways for the script to take.

That error comes from the sniff Squiz.PHP.NonExecutableCode.Unreachable, which is part of PHPCS itself and not a part of WPCS. So it may actually be an upstream issue. Can you post a minimal example demonstrating the problem? Do you still get the error when running just that sniff over the file? (phpcs --standard=Squiz --sniffs=Squiz.PHP.NonExecutableCode) If so, that's an indicator that it isn't related to WPCS specifically.

What @JDGrimes said.
I've most often come across this issue with code along the lines of the below:
switch( $something ) {
	case 'A':
		return 'A';
		break; // <- This is the nonExecutable & unreachable code the sniff refers to.
	case 'B':
		// ... etc
}

@jrfnl that is exactly what i am seeing as well. Thanks for the example. It seems like it's an upstream issue @JDGrimes I will open an issue there.

@dpegasusm In that case, it's actually not an issue or a false positive. The break is unreachable and therefore correctly being reported.
You can safely remove the break as the return breaks out of the switch already.


Way to track API requests

I've been trying to track events for API requests e.g., Analytics::trackEvent('Search', 'Filter', 'city') but  not able to send it to GA since the method isn't rendering the page, just JSON response.
Is there any way to do that? Any suggestions would help.

I had this exact same issue and my solution was to use this Laravel library for Google Analytics' Measurement Protocol which is designed for situations like this.
Because I was using a trait to abstract out all my analytics, replacing this library with the new one was easy.

@Grayda Thank you for your advice. Maybe @imrealashu can use this too. We had no problems yet with our library - but we also built it. :)

Thanks for the advice @Grayda
I used Vue Analytics for the time being to track events on the Vue Components. But Laravel Gamp looks cool I'll definitely try this out and try to go with your suggestion. Thanks for the suggestion.


Fix for issue #10963

Added scalar method pg_catalog.pg_encoding_to_char
Added scalar method pg_catalog.array_to_string (subclass of ArrayToStringFunction)
Test: pg_encoding_to_char should always return UTF8, pg_catalog.array_to_string should not override anything from ArrayToStringFunction
Doc: Description of pg_encoding_to_char added to scalar-functions.rst

Summary of the changes / Why this improves CrateDB
This is a fix for issue #10963
Questions:

Is UTF8 correct as a return value for pg_encoding_to_char or should it be UTF-8 or something else?
Do we have to check the input parameter in pg_encoding_to_char since it will not care about that.
Is there any better way to register the already existing array_to_string under pg_catalog. or is it fine like it is implemented in PgArrayToString.java (subclassed from ArrayToStringFunction)?

Checklist

[ ] Added an entry in CHANGES.txt for user facing changes
[ ] Updated documentation & sql_features table for user facing changes
[ ] Touched code is covered by tests
[ ] CLA is signed
[ ] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Can one of the admins verify this patch?


Change live variable getter methods' signatures regarding activateExperiments

This change:

moves activateExperiments to be the last parameter (second to last in the case where an optional error parameter can be passed in, so that the ordering can match the Android SDK)
adds getter signatures where activateExperiments is not included (eg, only need to pass in variableKey and userId)
change getVariableBool to getVariableBoolean

don't land yet!i made some change requests.


Random client transport fail

I have the following code in my program:
req := client.NewRequest("xmc.srv.account", "SessionsService.Login", &session.LoginRequest{
	ClientId:     username,
	ClientSecret: password,
})
rsp := session.LoginResponse{}
err := client.Call(context.Background(), req, &rsp)

Consul agent is started in dev mode, the service is up and running, no problems with that.
The problem is that the client request often fails.
Sometimes it gives the expected result:
{"id":"xmc.srv.account.SessionsService.Login","code":401,"detail":"client_secret incorrect","status":"Unauthorized"}

And sometimes the request fails:
{"id":"go.micro.client.transport","code":500,"detail":"404 Not Found: 404 page not found\n","status":"Internal Server Error"}

I noticed that I get the same result with micro query.
I tried restarting the server and consul (I stopped the server, then I stopped consul. Then I started consul and then the server). Same thing happens.

This is very difficult from the information you've given. It feels less like a go-micro issue and more of a deployment or transient problem.
Looking at the request failure. The id go.micro.client.transport implies a problem either when writing the request https://github.com/micro/go-micro/blob/master/client/rpc_codec.go#L123 or reading the response https://github.com/micro/go-micro/blob/master/client/rpc_codec.go#L131. I'm going to say it's likely when getting a response since the error code of 500 which we set does not match the detail provided of "404 Not Found: 404 page not found\n".
The error "404 Not Found: 404 page not found\n" is not set anywhere within go-micro. It implies that whatever you are talking to is not a go-micro service. How are you running your account service? Is it an rpc service created and run in the default manner? Is there any intermediary proxy? Are you doing something unique?
For further debug assistance you'll need to include more information but I would prefer you do this in the Slack rather than here as this is not a bug in go-micro itself but a usage issue.

I found your code. Your exact problem is this https://github.com/xmc-dev/auth-srv/blob/master/main.go#L32. You are registering your service with the same name as the account service. So you end up calling your web service with an rpc request rather than the account service.

that's a massive derp achieved by using goimports and not looking at the output. Thank you for your help!


Removing contribute_to_class and calling parent classes with super

Removing contribute_to_class and calling to IntrospectiveFieldMixin init method using super

Coverage increased (+1.5%) to 87.215% when pulling 618e3ad20bd42bfa66eff97f5262945039c48e34 on 000paradox000:master into 46f651bc63e8c1993400cd92e0b37ad87e9c2e26 on digi604:master.

Coverage increased (+1.5%) to 87.215% when pulling d82d910f4276c3797be8426e6b290050a5c23179 on 000paradox000:master into 46f651bc63e8c1993400cd92e0b37ad87e9c2e26 on digi604:master.

Coverage increased (+1.5%) to 87.215% when pulling c2b97f08ebaca01153c23f8c3d52c88c0b5775c3 on 000paradox000:master into 46f651bc63e8c1993400cd92e0b37ad87e9c2e26 on digi604:master.

NAK. Simply removing contribute_to_class doesn't fix anything. The intent of having that in the first place was to allow users to use 'self' or <app>.<Model> strings, and we can't resolve that into the actual Model object in __init__().
I like the super() stuff though.
Please split out the manifest changes into another PR.

maybe the problem is in contributd_to_class because the  variables for model name and app name are overwritten

i will try to send a pr tonight giving s better idea of rhe problem thanks a lot for your answer

I think that's the issue; I'm working on a fix for this now.

Fixed released on master; needs testing.
And I have confirmed that the static files are included when distributed, so I'm closing this PR and keeping #153 open until it's fixed.
Thank you for your help! 😄

Thanks a lot for paying attention. Just one suggestion including static files in the manifest files allows people who wants to install a custom fork of this package (python setup.py build).
Thanks again @blag

It still not working for me. I don't have recursive models

Post your models.py please.

class Especie(BaseModel):
name = models.CharField(verbose_name=u"Nombre", max_length=200)
def __unicode__(self):
    return self.name

class Meta:
    verbose_name_plural = u"especies"
    verbose_name = u"especie"
    ordering = ['name',]

class Raza(BaseModel):
name = models.CharField(verbose_name=u"Nombre", max_length=200)
especie = models.ForeignKey(Especie, verbose_name=u"Especie")
def __unicode__(self):
    return self.name

class Meta:
    verbose_name_plural = u"razas"
    verbose_name = u"raza"
    ordering = ['name', ]

class Mascota(BaseModel):
especie = models.ForeignKey(Especie)
raza = ChainedForeignKey(
    Raza,
    chained_field="especie",
    chained_model_field="especie"
)

name = models.CharField(verbose_name=u"Nombre", max_length=200)

def __unicode__(self):
    return self.name

class Meta:
    verbose_name_plural = u"mascotas"
    verbose_name = u"mascota"
    ordering = ['name', ]

`class Especie(BaseModel):
name = models.CharField(verbose_name=u"Nombre", max_length=200)
def __unicode__(self):
    return self.name

class Meta:
    verbose_name_plural = u"especies"
    verbose_name = u"especie"
    ordering = ['name',]

class Raza(BaseModel):
name = models.CharField(verbose_name=u"Nombre", max_length=200)
especie = models.ForeignKey(Especie, verbose_name=u"Especie")
def __unicode__(self):
    return self.name

class Meta:
    verbose_name_plural = u"razas"
    verbose_name = u"raza"
    ordering = ['name', ]

class Mascota(BaseModel):
especie = models.ForeignKey(Especie)
raza = ChainedForeignKey(
    Raza,
    chained_field="especie",
    chained_model_field="especie"
)

name = models.CharField(verbose_name=u"Nombre", max_length=200)

def __unicode__(self):
    return self.name

class Meta:
    verbose_name_plural = u"mascotas"
    verbose_name = u"mascota"
    ordering = ['name', ]

`

    name = models.CharField(verbose_name=u"Nombre", max_length=200)

    def __unicode__(self):
        return self.name

    class Meta:
        verbose_name_plural = u"especies"
        verbose_name = u"especie"
        ordering = ['name',]

class Raza(BaseModel):
    name = models.CharField(verbose_name=u"Nombre", max_length=200)
    especie = models.ForeignKey(Especie, verbose_name=u"Especie")

    def __unicode__(self):
        return self.name

    class Meta:
        verbose_name_plural = u"razas"
        verbose_name = u"raza"
        ordering = ['name', ]

class Mascota(BaseModel):
    especie = models.ForeignKey(Especie)

    raza = ChainedForeignKey(
        Raza,
        chained_field="especie",
        chained_model_field="especie"
    )

    name = models.CharField(verbose_name=u"Nombre", max_length=200)

    def __unicode__(self):
        return self.name

    class Meta:
        verbose_name_plural = u"mascotas"
        verbose_name = u"mascota"
        ordering = ['name', ]

Please include a recursive example in the readme for giving a better idea of the improvements

The improvement done in this PR was to allow users to specify related models as strings, just like normal vanilla Django ForeignKey objects:
class TreeNode(models.Model):
    parent = ChainedForeignKey('self', ...)

Since this PR simply helps D-S-S more closely mirror the behavior of vanilla Django ForeignKey usage, I figured I didn't really need to document it very much.
Also, I'm not a Python packaging wizard - I installed D-S-S with pip install django-smart-selects, and when I dig through the installed packages in my virtualenv, I find the static files right where I expect them: in the <virtualenvdir>/smart_selects/static/smart-selects/admin/js directory. If you build the package with python setup.py build, do those static files not get included?

Yes they're not included

Also if you make pip install git+https://FORK-URL it does not include static files

Ah, gotcha, I'll incorporate the changes to the manifest then. Would the changes you proposed fix the pip install git+https://... not including static files as well?

Can you post the network traces from your browser's developer tools, including the payloads of any AJAX requests and responses? Does the admin page properly create the AJAX request? Does the server run into any issues constructing the AJAX response? What's the HTTP status code on the AJAX response? And the AJAX response payload?

With 1.2.6 now all is working perfect thanks @blag


Phishing in a local home network

Hello, to understand my problem i expose you my operating mode on Raspberry Pi.
I) Configuration
nano /etc/hosts
#------------------------------------------------
#    (replace "<IP_ADDRESS>		raspberrypi" by "<IP_ADDRESS>		www.reddit.raspberrypi.home")
#------------------------------------------------

nano /etc/hostname
#------------------------------------------------
#   (replace raspberrypi by www.reddit.raspberrypi.home)
#------------------------------------------------

reboot

("hacker" computer)
nmap -Pn -sn www.reddit.raspberrypi.home
#------------------------------------------------
#    Nmap scan report for www.reddit.raspberrypi.home (192.168.1.X)
#    rDNS record for 192.168.1.X: <NAME>.home
#------------------------------------------------

II) Usage
cd /opt/evilginx2/
./bin/evilginx -developer -p ./phishlets/ -t ./templates/
: config domain raspberrypi.home
: config ip <IP_ADDRESS>
: phishlets hostname reddit reddit.raspberrypi.home
: phishlets enable reddit
: lures create reddit
: lures get-url 0

(Internet browser of the "victim" on the lure page)
lure-page
lure-network-media
evilginx2-tls
The problem is here because the host "win.reddit.raspberrypi.home" or "events.reddit.raspberrypi.home" does not exist on the local home network
and "/etc/hostname" can have only one entry.
Do you think there is a solution without editing the modem/router configuration ?
Thank you for your help, cordially.

have you tried appending output of phishlets get-hosts reddit into /etc/hosts?

@TomAbel, of course but the modem/router uses the hostname of the device for rDNS and a device can only have one hostname.
I have tried
cat /etc/hosts
<IP_ADDRESS>		www.reddit.raspberrypi.home
<IP_ADDRESS>		win.reddit.raspberrypi.home
<IP_ADDRESS>		events.reddit.raspberrypi.home

Make the modem/router think the device has three different names (DHCP attack) ?

Solved with multiple interfaces and dhclient. Thanks.


About the time_embedding in Resblock.

The para 'time_emb_dim' in Resblock  is False. The time_embedding doesn't need ?

it was passed in https://github.com/lucidrains/denoising-diffusion-pytorch/blob/main/denoising_diffusion_pytorch/denoising_diffusion_pytorch.py#L328


fix: dynamicSizeRatio in "Memory available for map entries" log message

It's displayed as a percentage so the value should be multiplied by 100.
Tested:
{"level":"info", "msg":"Memory available for map entries (0.250% of<PHONE_NUMBER>2B): 41940244B", "subsys":"config"}

/test


Fix locally failing LinterGem spec

This spec was failing locally for me because File.exist? was being
called with unexpected arguments, and we had stubbed it but not allowed
these unexpected arguments. I fixed this by just having it call through
to the original in this case.

Interesting. What version of Ruby are you running locally? I can't reproduce the failure myself (and Travis isn't complaining), so I'm really curious why this is necessary for you locally.
I'm not strongly against merging this, but non-reproducible failures are usually indicative of some other problem.

Yeah, I thought it was weird.
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin14]

Here's the failure:
1) SCSSLint::Plugins::LinterGem#load when the gem does not exist raises an exception
   Failure/Error: expect { subject.load }.to raise_error Exceptions::PluginGemLoadError

     expected SCSSLint::Exceptions::PluginGemLoadError, got #<RSpec::Mocks::MockExpectationError: #<File (class)> received :exist? with unexpected arguments
       expected: ("/gem_dir/.scss-lint.yml")
            got: ("/Users/joe/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-14/2.3.0-static/ffi-1.9.10/gem.build_complete")
      Please stub a default value first if message might be received with other args as well.
     > with backtrace:
       # ./lib/scss_lint/plugins/linter_gem.rb:12:in `load'
       # ./spec/scss_lint/plugins/linter_gem_spec.rb:18:in `block (5 levels) in <module:SCSSLint>'
       # ./spec/scss_lint/plugins/linter_gem_spec.rb:18:in `block (4 levels) in <module:SCSSLint>'
   # ./spec/scss_lint/plugins/linter_gem_spec.rb:18:in `block (4 levels) in <module:SCSSLint>'

So it looks like the ffi gem is doing something here.

Which looks like it might be a dependency of a dependency of a dependency of the travis gem. Do you get this if you install the travis gem?

I'm still not able to reproduce using Ruby 2.3.0 on a Mac, even after installing travis (which is already installed from the Gemfile, but I tried installing the latest version anyway):
⨠ ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin14]
⨠ gem install travis
Fetching: travis-1.8.2.gem (100%)
Successfully installed travis-1.8.2
1 gem installed
⨠ bundle exec rspec
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Finished in 4.65 seconds (files took 0.77626 seconds to load)
1566 examples, 0 failures

I think it might be because I was running rspec without bundle exec. Are you able to reproduce that way?
FWIW, here's what I get on a different machine:
1) SCSSLint::Plugins::LinterGem#load when the gem does not exist raises an exception
   Failure/Error: expect { subject.load }.to raise_error Exceptions::PluginGemLoadError

     expected SCSSLint::Exceptions::PluginGemLoadError, got #<RSpec::Mocks::MockExpectationError: #<File (class)> received :exist? with unexpected arguments
       expected: ("/gem_dir/.scss-lint.yml")
            got: ("/Users/joe_lencioni/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-14/2.3.0-static/bcrypt-3.1.9/gem.build_complete")
      Please stub a default value first if message might be received with other args as well.
     > with backtrace:
       # ./lib/scss_lint/plugins/linter_gem.rb:12:in `load'
       # ./spec/scss_lint/plugins/linter_gem_spec.rb:18:in `block (5 levels) in <module:SCSSLint>'
       # ./spec/scss_lint/plugins/linter_gem_spec.rb:18:in `block (4 levels) in <module:SCSSLint>'
   # ./spec/scss_lint/plugins/linter_gem_spec.rb:18:in `block (4 levels) in <module:SCSSLint>'

ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin14]

I can indeed reproduce once I run without bundle exec.
I'm not sure we want to support running the tests outside a Bundler context. When you do that you throw away any guarantee of which dependencies you load, so you might get spurious failures which you spend way too much time debugging that would not actually affect anyone.
If you'd like to support running rspec without bundle exec, you can instantiate the Bundler context manually at the top of the spec/spec_helper.rb file:
# spec/spec_helper.rb
require 'bundler/setup'

This should ensure appropriate gem versions are in your $LOAD_PATH. I tend to avoid this because it is "magic", but I'm open to it here since it's harmless if you still use bundle exec ... to run it.

Yeah, I think it is fine to not support running without bundle exec. Closing this out.


Feature: Add babel compilation on prepublish

This revisits the compiling Radium with babel thing. Includes a set up to compile our modules to a .gitignore'd lib directory.
We can either do this on prepublish or in a publish.sh. I wasn't really sure what the best option was. The weird thing about prepublish is that it runs on npm install, not just before the package is published. See https://github.com/npm/npm/issues/3059 for a very long discussion about that.
If we do something like a publish.sh script that includes npm run lib and npm publish, we wouldn't slow down npm install for everyone.
If anyone has opinions on that...
/cc @ianobermiller @kenwheeler

Coverage remained the same at 43.57% when pulling 3905e8a697458b5929c28393f8e5c9a1df152622 on feature-babel into a8a0d239f22f2de3ee6e01adc1b17677765c78fe on master.

I strongly prefer npm run dist or npm run lib over prepublish. The onus should never be on installers to compile.

I put it in as a safeguard to make sure the most recent build has taken place prior to a publish, but I'm not so hot on it running on install like that

Cool, I was leaning away from prepublish. Going to merge this in as is for now, then we can revisit whether we need a script to do lib + publish (+ anything else?) a bit later.

Will do re: rimraf + ./

I don't know how important that use case is, but it's something I do semi-regularly to test/use Radium updates before we release them.

@alexlande +1. I haven't seen anything that discourages precompile scripts. I think it's the recommended approach when using Babel: http://mammal.io/articles/using-es6-today/

Sounds fine to me, the hash checkout is compelling.
On Thu, May 14, 2015, 3:45 PM Richard Herrera<EMAIL_ADDRESS>wrote:

@alexlande https://github.com/alexlande +1. I haven't seen anything
that discourages precompile scripts. I think it's the recommended
approach when using Babel: http://mammal.io/articles/using-es6-today/
—
Reply to this email directly or view it on GitHub
https://github.com/FormidableLabs/radium/pull/144#issuecomment-102191039
.


Release updated type declarations

The type declarations were updated in #670. However, this update is not included in the latest release (6.2.0) leading to errors during compilation. The "fix" currently is to either cast it to any or ignore type definitions during compilation.
Is there a release planned for the near future including this update?
Thanks :-)

Published a new release to NPM!


Add a build result type for removed.

Resolves https://github.com/microsoft/vcpkg/issues/24029
Before (2022-03-30):

Currently: (vcpkg crashes, regression in 8e8fb17dde45aa1f5c05257377b959b8d583dcd5 )
After:

As an aside, while we are here should we strip 0 line items from the summary?

LGTM, and removing 0 entries seems reasonable as well.

Done, now looks like:


SpriMons

Your checklist for this pull request
Author name
Bartosz Budnik
About your game
Get into the role of the ultimate Hack Club's member, that's gotta save the Arcade event!
Save the event by collecting enough tickets and giving them to Hakkuun, who's fast asleep!

Train your SpriMon, defeat the wild ones, be the best trainer in the entire Hack Club!
**Go to the next Dialog Line, Interact using K, L. Choose an option with A, D. Accept it using K or L. Move with WASD. Choose an attack with A and D for Attack1 and Attack2
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Thanks for your PR!

Hey! This looks like a interesting game. I would like to know more about how to play. I am a bit lost in the game.

Congratz, good game.  If you're a teenager, and haven't already received a Sprig, please fill out this form to receive a brand new, shiny one!


[[ contacts ]] better contact rendering

Display contact avatars in a more ordered way providing the necessary space to make them more readable.

Create the AvatarContainer component to wrap the avatars inside and display them as columns of minimum 200px wide.
Fix the AvatarChip component to display the avatar names and pictures correctly (max-width, and display).
Use text ellipsis to truncate the avatar names when they are too long to fit correctly in the columns.
Add title and aria-label attributes to links to provide a tooltip with the full contact name when this is truncated and provide better context for accessibility tools.

Before:

After:

Note: the full file changes in Followers.svelte, Following.svelte, and Friends.svelte are related to the line break differences between Windows and UNIX.

@davegomez this is fantastic work! Thanks a lot <3 <3 <3 it makes things so much better.


[11.x] Improve Schema::hasTable() performance

Fixes #53002
The Schema::hasTable() method is using the Schema::getTable() method internally, which could sometimes result in an expensive query. This PR improves the performance of Schema::hasTable() by using more lightweight queries.
PS: I previously added many integration tests for these methods and their edge cases.

Perfectly timed! I was working on a similar PR. Last week I upgraded a SaaS app and the migrations where taking around 3 minutes per tenant  😩
@hafezdivandari thanks for the PR, I really appreciate it!!! 👌


MPOS Compatibility

I believe we need to make a coin_equihash.class.php file for integrating with MPOS for things like calculating hashrate, difficulty adjustment etc.
https://github.com/MPOS/php-mpos/blob/master/include/classes/coins/coin_base.class.php#L54

I've been trying to compare some difference between z-nomp and nomp.
When mining Litecoin I have shares submitted at
Share accepted at diff 32/54.31050163
VS
Share accepted at diff 23716.080168692/0.03669559
I believe z-nomp is tracking the network difficulty and not the set difficulty by the pool?
Looking into the database it seems that shares are being inserted at the high value 20-30k vs litecoin shares being inserted at the set stratum diff of 32.
I'm wondering if this is causing some of the issues seen in MPOS with the calculations being off.

I have shows 1.48 TH

ive been seeing this too, I would put a difficulty of 1,000, but claymore only sees it as a difficulty of 272 and mines shares like crazy.

I believe I fixed the difficulty issue. The stratum pool was using suprnova's difficulty instead of the correct proof of work difficulty. I'm looking into the payment processor issues now.
npm update && npm install to get the new code.

GQM can you try running your MPOS tests again? I've fixed the difficulty reporting.

For documentation/awareness purposes. MPOS does not intake shares with difficulties less than 1. A work around is to set the "mposDiffMultiplier" so that each share equals one but the hashrate will be skewed by that number.

I'll look over the MPOS code and submit a PR for a fix over the next week or so.

@GQM  can you have coin_equihash.class.php？

Still working on a couple changes before I submit a PR to the MPOS repo.
Need an if statement that calls the config file to get the algorithm used to adjust the below line:
https://github.com/MPOS/php-mpos/blob/master/include/classes/statistics.class.php#L137
Heading to the rec center for a quick swim, will try and get it done tonight when I get back.
Any suggestions on how to call/create the variable I need?

@GQM can you get it?

I am interested too..

@ceozero @Aleix-Oto I have pushed the changes to my repo, still in development and needs to be reviewed but should be a good base. Would appreciate any feedback :)
https://github.com/GQM/php-mpos/tree/development

@GQM Did you get payments working with MPOS compatibility? I have the z-mpos installed and working. But I found 2 blocks and payments failed to send. It seems the coinbase > private > public coin tumbling isnt happening in any capacity. I attempted to enable the payouts in z-nomp to hopefully make the coins available for the mpos to send but get errors starting the pool after enabling payout. Any luck with payouts yet? Here is the error I am getting with MPOS mode enabled and payout enabled in z-NOMP
paymentProcessor.js:172
for (var i = 0, len = result[0].response.length; i < len; i++) {
^
TypeError: Cannot read property 'length' of null

you need a script to do it https://gist.github.com/sammy007/4739e07a0ee92bde99f8f1f40835c7f1

Excellent, thank you.

Thanks @aayanl
@EliteMobb79 that is the correct script which you need to run. Maybe when I find some time I can add the script into my MPOS repo for equihash. Currently driving across Canada and have little time to respond/work currently.

No problem at all. I really appreciate the information. Safe travels.

@GQM can you give more detailed information on how to run this script, please? I downloaded it, inserted addresses and put it in z-nomp directory. When I run node zdump.js i get this:

Balance 0 is below threshold

so autopayment for zcash is not working ?

@6otah its a script that runs on an interval depending on whats in the settings. If there is no balance then their is nothing for the script to do. I personally use forever to run the script.

Closing as z-nomp works as intended as a backend for mpos

i problem with z-nomp after update. workerName="username", last is workerName="username.worker" => error in mpos auth. where i can fix it

i problem with z-nomp after update. workerName="username", last is workerName="username.worker" => error in mpos auth. where i can fix it
The same problem, help to solve please