Update sites.yml

This PR is:

[✔] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[✔] I used the uncompressed size of the site
[✔] I have included a link to the GTMetrix report
[✔] The domain is in the correct alphabetical order
[✔] This site is not a ultra lightweight site
[✔] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[✔] Check to confirm

- domain: neutral.translate.lol
  url: https://neutral.translate.lol/
  size: 355
  last_checked: 2023/07/09

GTMetrix Report: https://gtmetrix.com/reports/neutral.translate.lol/VfghpfQ4/

Thanks!


Adjust parameters in the spatial filter for best trade-off depth

Required Info

Camera Model
{ D435 }

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10 64bits

Kernel Version (Linux Only)

Platform
PC

SDK Version
{legacy / 2.11.0}

Language
{labview }

Segment
VR

Issue Description
Hi I read the post-processing white paper about spatial filters. I made an experiment in Labview wrapper to find best filter's parameters. I put a squared box 2m in front of the camera firstly:

Then, I ran point cloud example in Labview and view the box in the following direction. I did so since I want to find whether the squared edges can be preserved:

Then, I modified alpha parameters to 0.3, 0.5 and 0.7 in sequence. I got these results:
When Alpha = 0.3, Delta = 8:

When Alpha = 0.5, Delta = 8:

When Alpha = 0.7, Delta = 8:

I then increased the Delta value without seeing obvious difference. But when the Delta drops below 6, the filter is kinda closed. So I sticked with 8.
Based on my observation, the alpha parameter should be 0.6 or 0.7 since I get the RMS error reduced while preserving the squared edges. When I turn it up to 0.8, the noise is way bigger. When I turned it down like 0.5, the squared edges are smoothed out.
Do you guys think this test works for finding proper filter parameters at this distance?
Best,
Jake

Yes that sounds like a very good approach.

Thanks for your prompt reply!


FixedAlgCount in the Field AlgCount of Algorithm request structure does not have to be 2

In clause '10.4 NEGOTIATE_ALGORITHMS request and ALGORITHMS response messages', paragraph 189 'Algorithm request structure', the Offset 1 Field AlgCount .
Bit [7:4]. Number of Bytes required to describe Requester supported SPDM-enumerated
fixed algorithms (= FixedAlgCount). FixedAlgCount + 2 shall be a multiple of 4.
It means FixedAlgCount could be 2, 6, 10, ...
But the following line 242 'if (fixed_alg_size != 2) { ', it means fixed_alg_size(ie. FixedAlgCount) must be 2, otherwise it will generate_error_response.
https://github.com/DMTF/libspdm/blob/f92be5023c1a3ff036b9e43cd8de0cd06b5eb711/library/spdm_responder_lib/algorithms.c#L239-L248

Seem no issue in 1.1. Suggest to close it.

If no issue in spdm1.1, agree to close it.


Filter and focusOnSelect dont work (recalculate, reinit?)

synced carousels with 3 filters - filter isnt working right away, but its working after manual browser resize.

====================================================================
[  http://codepen.io/apsolut/pen/NjKXbV  ]
Steps to reproduce the problem
after click on filter [movie, sport] - focusOnSelect doesnt work anymore,
its working onLoad and for first filter (strange), to make it work we only need to resize Browser = when on  2nd and 3rd filter [movie, sport].
====================================================================
IF we resize browser - its working like it should, also I cant use slick(destroy) as its creating empty slick...

onSwipe its synced and working good (at least it look like its working)..
onResize (browser resize) its working, but need to do that manual when on 2nd and 3rd filter [movie, sport]...
...

Its late here, but It looks like if I add slick('refresh') to slickFilter, like this $('#slick, #slick-thumbs').slick('slickFilter',key);  then its working... Kill me, but shouldnt it work without it..

There's a known issue with slick index that I think is causing what you're seeing. Pretty sure there's even a PR for it. Might try to take a look and do some testing later. Good job on the work around.


"Incorrect string value" when adding a row, but can easily add the same row manually

Environment
Knex version: 0.16.3
Database + version: MySQL 5.7.18
OS: macOS Mojave 10.14.2
@smorey2
Bug
I'm trying to insert a row with the string "kické-accent.wav".
My table uses the "latin1_swedish_ci" collation and that seems juste fine, as I am able to insert the row without a problem using the MySQL Workbench.
However, when attempting to create the row with knex, I get the following error:
Error: Incorrect string value: '\xCC\x81-acc...' for column 'name' at row 1
      at Function.raw (.../node_modules/knex/lib/util/make-knex.js:46:30

The code that inserts the row looks like this:
await trx.raw('INSERT INTO files SET ?', [{ extension: 'wav', name: 'kické-accent.wav', user_id: 3706 }]);

What is going on under the hood that prevents me from inserting a row just like I would do manually using the MySQL Workbench?
Cheers!

@maximedupre Could you try doing same insert by using Node.js MySQL driver directly without knex? I suspect that driver is converting UTF to ASCII behind the scenes and that generates incorrect values, but would be nice to exclude knex as a suspect.

You cannot pass row like that to RAW. Knex cannot know what to do to that javascript object.
I suppose you are trying to do
await trx('files').insert({ extension: 'wav', name: 'kické-accent.wav', user_id: 3706 });

@kibertoad You are right, the problem occurs directly with the MySQL driver. I'll file an issue over there.
@elhigu Well it might be a coincidence that it's working, but I have this code at many places in my app and have no problems. I think that Knex does not know what to do to that js object, but the mysql driver does.
Thanks for both of your answers.

@maximedupre yep, ypu are right looks like it happens because mysql escaping actually escapes object to key1 = value1, key2 = value2 type of string. https://runkit.com/embed/2r5t4a4pu6i0
If we change mysql2 driver to use prepared statements instead of escaped strings, that code might break though (it has been requested while ago and should be more efficient and secure).

@elhigu Considering that Node 6 deprecation is right near the corner and we should start thinking about 0.17 already, I would suggest going for it.

Are we in hurry with that? Is there some breaking changes in queue that we would really like to get out? We can just naturally drop node 6 support when we release first breaking changes after 6 reached end of line. I don't think we need to create 0.17 just for dropping node 6.

@elhigu Main reason why I'm eager to drop Node 6 ASAP is because it would allow us to start usiong async/await in tests :D


is About

The ontology has is About as an annotation property. But, in IAO, is about is an object property.

I know. Thought this might cause problems. In earlier implementations I
used puns (because a document can often be about a class as well as an
instance) but especially with the larger corpus we would have had to pun
the vast majority of classes so I thought making it an annotation property
would be better. I should probably just change the name and not use the IAO
IRI in this case right?
On Thu, May 30, 2024 at 10:03 AM Bill Duncan @.***>
wrote:

The ontology has is About as an annotation property. But, in IAO, is about
http://purl.obolibrary.org/obo/IAO_0000136 is an object property.
—
Reply to this email directly, view it on GitHub
https://github.com/mdebellis/DrMO_Docs/issues/6, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7TPBHAGQS3INI7XPYBRWLZE5LWLAVCNFSM6AAAAABIRJU35SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDMMJUGQ3DEMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I think it depends on whether you want to do any reasoning. If so, then you need to pun ...
I don't think punning classes as individuals would be too much of a problem. Computers can handle a lot of data now.
I think if you decide to use an annotation property, it would be good to create a different IRI. However, DrMo isn't an OBO Foundry ontology. So, it might be that important.

It isn't space I've noticed that both Protégé and AllegroGraph don't handle
lots of puns well There's no specific bug, just random weird things that
seem to happen with lots of puns Since I create those values in code anyway
I can do the reasoning like inverses in code
On Thu, May 30, 2024, 11:04 AM Bill Duncan @.***> wrote:

I think it depends on whether you want to do any reasoning. If so, then
you need to pun ...
I don't think punning classes as individuals would be too much of a
problem. Computers can handle a lot of data now.
I think if you decide to use an annotation property, it would be good to
create a different IRI. However, DrMo isn't an OBO Foundry ontology. So, it
might be that important.
—
Reply to this email directly, view it on GitHub
https://github.com/mdebellis/DrMO_Docs/issues/6#issuecomment-2140500538,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7TPBGZZP6QHWLGF47T5LDZE5SZXAVCNFSM6AAAAABIRJU35SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBQGUYDANJTHA
.
You are receiving this because you commented.Message ID:
@.***>

I know Protege doesn't represent punning well. I haven't tried on Allegrograph.
Perhaps you can use is about as an object property with axioms like is about some dental material product, and keep is about product as annotation property. You can is about product as some kind of shortcut relation.


Feature request: much easier module level searching when you need to search multiple columns

I've been really surprised how difficult it is to make module level searches work (ie using the search box when you are in a model index page).   The issue is that as soon as you need the search to run across multiple columns you hit a problem.
It seems simple according to the documentation, ie you setup $defaultFilters in your controller and you're away.  Only its not that simple at all because the resulting sql queries generated by defining multiple fields in $defaultFilters are all using the AND operator, which for me is a very odd choice as once you are using multiple fields, the probability that the search query is going to be across all of the columns is very low.
So all I'm really requesting is that some extra option be added to allow the ANDs to become ORs.    I now have a solution for doing this manually in code which works fine see here, but it seems like for something as fundamental as search that this shouldn't be required.
The global search in twill defined via the 'search_fields' attribute in the dashboard/modules part of the twill config file works with OR operators out of the box and so it seems inconsistent that it's so much more work to get this other search system functioning.

I'm not sure why you are not using the searchIn helper I linked an example to above. It does exactly what you need in a single line, and does indeed use a OR, not a AND.

Ah yes I had seen that a while back.  I'd still argue this is something that should be considered a feature request.
It's definitely a few less lines of code to do it that way agreed easier @ifox
Still, considering other things to do with basic search setup are possible via a setting in a variable it seems like this is somewhat of a peculiarity that the model level search works with AND as a default operator and that you need to code up something to change that.
I'd argue that nearly everyone would assume that OR would be used as an operator as standard.  Right now, looking int he documentation its decveptive that it appears simple to setup.
I.e. you define $defaultFilters and thats it.  However that isn't the case and it seems that there is no really clear documentation stating that it works with AND as default, this is how you change it etc etc.
I'm just arguing it as a feature request for the sake of consistency really.


Base layer scanning should scan num_confirmations blocks behind

This issue was addressed in #107, let's close it.


Repair setting the gradient end color on Windows

Red/blue swapped since 5b4b764f7d9a273ff51f2ce1d73cec2b95bd5069

:white_check_mark: Build sws 1141-master completed (commit https://github.com/reaper-oss/sws/commit/d1e9202e9d by @cfillion)

Windows 64-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x64.dll
build/reaper_sws-x64.pdb
build/sws-<IP_ADDRESS>-Windows-x64-fix-gradient-end-d1e9202e.exe
build/sws_python64.py

Windows 32-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x86.dll
build/reaper_sws-x86.pdb
build/sws-<IP_ADDRESS>-Windows-x86-fix-gradient-end-d1e9202e.exe
build/sws_python32.py

macOS x86 64-bit

build/reaper_sws-x86_64.dylib
build/sws-<IP_ADDRESS>-Darwin-x86_64-fix-gradient-end-d1e9202e.dmg

Linux x86 64-bit

build/reaper_sws-x86_64.so
build/sws-<IP_ADDRESS>-Linux-x86_64-fix-gradient-end-d1e9202e.tar.xz

Linux x86 32-bit

build/reaper_sws-i686.so
build/sws-<IP_ADDRESS>-Linux-i686-fix-gradient-end-d1e9202e.tar.xz

Linux ARM 64-bit

build/sws-<IP_ADDRESS>-Linux-aarch64-fix-gradient-end-d1e9202e.tar.xz
build/reaper_sws-aarch64.so

Linux ARM 32-bit

build/reaper_sws-armv7l.so
build/sws-<IP_ADDRESS>-Linux-armv7l-fix-gradient-end-d1e9202e.tar.xz

macOS x86 32-bit

build/sws-<IP_ADDRESS>-Darwin-i386-fix-gradient-end-d1e9202e.dmg
build/reaper_sws-i386.dylib

macOS ARM 64-bit

build/reaper_sws-arm64.dylib
build/sws-<IP_ADDRESS>-Darwin-arm64-fix-gradient-end-d1e9202e.dmg

Yeah, I noticed this too today.


Troubles compiling with Python

I tried to compile the rfid_test.py on linux while I connected the RFID reader with the antenna(The RFID reader detects well the tags on windows with the URA)
But when I compile the rfid_test.py It shows me:
Creating reader: Ok
Connecting to reader: Ok
Getting Saved Region: Ok
Initialising read plan: Ok
Setting Read Plan: Ok
Adding read listener: Ok
Adding Exception Listener: Ok
Error:No antenna or invalid antenna
Error:No antenna or invalid antenna
Error:No antenna or invalid antenna
Error:No antenna or invalid antenna
Error:No antenna or invalid antenna
Error:No antenna or invalid antenna
Error:No antenna or invalid antenna
Error:No antenna or invalid antenna
and this Error continues! Could anyone help me please? My antenna works well and I don't understand if there is any incompatibility with this code.
The problem is with  the function startReader    : "reader = rfid.startReader("tmr:///dev/rfid", myCallback)"
Thank you in advance

In fact, I checked the file "tmr:///dev/rfid" and found that is empty so the devic URI is empty and the function StartReader can't work, but have you any idea what must contain the file rfid in dev?

Hi,
A few considerations before. What you compile is a cpp library with python interfaces that is later loaded. If you just clone the code and launch test_rfid.py it won't work. Given that, did you launched install.sh as root?
If so, do you have the rule /etc/udev/rules.d/64-persistant-rfid.rules ?
The address "tmr:///dev/rfid" basically points to the virtual file at /dev/rfid created by the rules above. If that rule fails, you should be able to use a common ttyACM file (usually at /dev/ttyACM0 or /dev/ttyACM1)
Hope it helps,

Yes I launched the install.sh as root and I have the rule  /etc/udev/rules.d/64-persistant-rfid.rules. But I hae always the problem of antenna invalid


[lit/reactive-element] docs for queryAssignedNodes are wrong

Description
queryAssignedNodes is a "clever" wrapper around assignedNodes(), that always returns a Node[]; this is fundamentally different than a NodeListOf<HTMLElement> that is currently documented in the JSDocs:

it is a real™  Array, there is no need for Array.from(), because of the mis-leading documentation, we have a bunch of this conversions in the code
if the somewhat undocumented feature of querying for the default slot by passing a falsy value as slotName, you can get TextNodes. They are also fundamentally different than HTMLElement and will easily break your code:

// ...

@queryAssignedNodes(undefined)
private _defaultSlotNodes: NodeListOf<HTMLElement>;

private _handleSlotChange() {
  this._defaultSlotNodes.forEach(elm => elm.innerHTML = 'Oops');
}

Thanks for the issue! I agree that the documentation is misleading as there are two behaviors, however I don't think the fix is to document based on the slotName passed in. Will expand on this statement to brainstorm a resolution.
slotName is used in the decorator logic to select the correct HTMLSlotElement. slotName will not impact the return type of this decorator.
We then call assignedNodes() on the slot which returns a real array (as you mentioned) of Nodes. In both named and unnamed slots at this point the return type is Node[].
The confusion that isn't explained in the docs is in the selector argument. The third arg. It causes this logic to run:
        if (selector) {
          nodes = nodes.filter(
            (node) =>
              node.nodeType === Node.ELEMENT_NODE &&
              (node as Element).matches(selector)
          );
        }

Thus if the third selector argument is included. Even a CSS selector filter which selects for everything, i.e. "*", will narrow the return type to Element[] instead of Node[].
I believe the cases are:

@queryAssignedNodes(undefined): Node[]
@queryAssignedNodes(undefined, false, '*'): Element[]

With @queryAssignedElements being introduced which more naturally selects for Element[] in all cases, it may be worth considering deprecating this third argument. In the meantime a solution may be to call out that in all cases a real array is returned, and if a selector is included then the return type is automatically narrowed to only include Elements.
cc/ @justinfagnani

I think the idea of the documentation was, that whenever you are using non-default slots you will get HTMLElement[], because you cannot slot TextNodes or any Non-ElementNode in non-default slots. Crazily enough you can get TextNodes, but only if it is fallback content and if you pass {flatten: true} to assignedNodes() (WTF?)
It has to be decided, whether the suggested type signature is one, that is always correct™ or if the suggestion should revolve around  a more specific type signature, that is more practical™. The current docs, tried the later but failed.
After having given this some more thought I basically agree with you observation and thus the documentation should be something like:
Note, the type of this property should be annotated as `Node[]` if you do not pass a _selector_ and `HTMLElement[]` if you pass one.

As I've stated above my main concern is the usage of NodeListOf<T>, our junior devs sprinkled the code with an abundance of Array.from() calls (which of course happily works with an array too).
Would this be a better idea @justinfagnani  ?
On a side note, I found the documentation on assignedNodes() mis-leading as well; to me it was not clear that you have to pass {flatten: true} to actually get fallback content. Seems like I need to improve the docs on MDN also. :)

NodeListOf<HTMLElement> is clearly wrong and should be changed to Array<Node> (or possibly Array<ChildNode>). And as in @AndrewJakubowicz's second case, it should be Array<HTMLElement> if there's any selector.
Regarding Text nodes: I believe you can also get text nodes into named slots if flatten is true and an unnamed slot is forwarded to that named slot.

This should be resolved in Lit 2.1. We've introduced a new decorator queryAssignedElements which has a consistent return type of HTMLElement[] when used with a selector. The new queryAssignedNodes API is scoped to only returning Node[].


[proj4] Export target both proj and proj4

Export the target proj and proj4 at the same time to respect the upstream naming rules.
Fixes #16906.

Which upstream changes does this need?
We need an update to port vtk in order to allow an update to port proj in order to follow upstream.

The PROJ project exports valid file names. Which problem is actually fixed by changing them?
If there is no good reason, it seems quite intrusive to ask upstream for changes. I would reject the change.

@dg0yt According to cmake docs:
Store the current build directory in the CMake user package registry for package <PackageName>.
The find_package() command may consider the directory while searching for package <PackageName>.
This helps dependent projects find and use a package from the current project's build tree without help from the user.
Note that the entry in the package registry that this command creates works only in conjunction with a package configuration file (<PackageName>Config.cmake) that works with the build tree.
In some cases, for example for packaging and for system wide installations, it is not desirable to write the user package registry.

@dg0yt According to cmake docs:
Store the current build directory in the CMake user package registry for package <PackageName>.
...

@JackBoosY Now how do we get to discussing package registries?
Vcpkg builds cmake projects with package registry export and usage disabled:
$ git grep PACKAGE_REGISTRY scripts/
scripts/buildsystems/vcpkg.cmake:set(Z_VCPKG_UNUSED "${CMAKE_EXPORT_NO_PACKAGE_REGISTRY}")
scripts/buildsystems/vcpkg.cmake:set(Z_VCPKG_UNUSED "${CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY}")
scripts/buildsystems/vcpkg.cmake:set(Z_VCPKG_UNUSED "${CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY}")
scripts/cmake/vcpkg_configure_cmake.cmake:        "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON"
scripts/cmake/vcpkg_configure_cmake.cmake:        "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON"
scripts/cmake/vcpkg_configure_cmake.cmake:        "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON"

For completeness, as posted before in PROJ, cmake's find_package explicitly looks also for <lower-case-package-name>-config.cmake. References:
https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#package-configuration-file
https://cmake.org/cmake/help/latest/command/find_package.html#full-signature-and-config-mode

为了完整起见，正如之前在 PROJ 中发布的那样，cmakefind_package还明确查找<lower-case-package-name>-config.cmake. 参考资料：
https : //cmake.org/cmake/help/latest/manual/cmake-packages.7.html#package-configuration-file
https://cmake.org/cmake/help/latest/command/find_package.html #full-signature-and-config-mode

Reasonable.


Switches adngel

This branch includes.

Fixes for switches
Added of the Lock_Switch (for valves attached to doors)
Added flipeffect 47 to activate ID_LARA animations from ID_LARA_EXTRA_ANIM

It still required asset fixes for it to work.
ID OFF is 1
ID ON is 0
So Big Buttons, Valve wheels and Wall Holes, animation states must be edited to follow these rules (that follows most of the switches in the TR games).

I'm afraid the switches branch may got broken with the new update.
I'll remove the PR and remake the branch tomorrow


the voice (and video) cuts out early and doesn't complete the response- would love the SillyTavern instructions.

XTTS seems to cut out early before response is finished.
set chunks to --wav-chunk-sizes=100,200,300,400,9999
no go.
Sillytavern proper with Koboldcpp.exe and another model with extras enabled without the video encoder  (talk-llama-wave2lip.bat) -- no problems with the xtts.
would love full SillyTavern instructions to get this video to work --  don't care much for fast-llama .

You need to run both xtts_wav2lip.bat and my modified silly_extras to make it work with Silly tavern. I will check --wav-chunk-sizes=100,200,300,400,9999 a bit later.
Also, don't forget the second param (for wav streaming, I forgot it's full name) in xtts_wavlip.bat, it is also needed.

Weird. Any errors?


redux-persist v5 compatibility

Thanks for the PR. This is definitely something we will want to include in the next release. It has been brought up in PR #135, but this is a bit cleaner.


Misc improvements

This pull request changes the target reset command to default to a software reset instead of a hardware reset.  It also modifies the GDB server to exit when the client detaches, unless the --presist option is specified.

Verified basic_test.py works with a KL25, KL46 and K22F.

I ran basic_test.py on KL25Z, NRF51822, LPC4330, LPC11U24, and LPC1768.  It ran successfully on all of them except for the LPC1768.  It doesn't appear to like the software reset.  Here is the output from the test when it fails on the LPC1768:
------ TEST RESET ------
ERROR:root:exception during uninit
Traceback (most recent call last):
  File "test/basic_test.py", line 209, in <module>
    target.reset()
  File "/media/psf/depots/pyOCD/pyOCD/target/target_lpc1768.py", line 40, in reset
    CortexM.reset(self, software_reset)
  File "/media/psf/depots/pyOCD/pyOCD/target/cortex_m.py", line 725, in reset
    self.writeMemory(NVIC_AIRCR, NVIC_AIRCR_VECTKEY | NVIC_AIRCR_SYSRESETREQ)
  File "/media/psf/depots/pyOCD/pyOCD/target/cortex_m.py", line 491, in writeMemory
    self.transport.writeMem(addr, value, transfer_size)
  File "/media/psf/depots/pyOCD/pyOCD/transport/cmsis_dap.py", line 133, in writeMem
    [addr, data])
  File "/media/psf/depots/pyOCD/pyOCD/transport/cmsis_dap_core.py", line 215, in dapTransfer
    raise ValueError('SWD Fault')
ValueError: SWD Fault

I switched that test's call to target.reset() to target.reset(False) and it got past this failure point (it then fails later during the reset in the subsequent programming test.)

Do you have any thoughts on why this is crashing, especially when the other LPC targets are working with software reset?  Could it be related to the remapping of the flash - self.writeMemory(0x400FC040, 1)?  I think it is the only target that does this in the reset call.  Or maybe the LPC1768 needs a hardware reset to function properly, in which case I need to revert my changes in this file.

I can confirm it fails for LPC1768. It returns value 7 as resp[2], the response 0 and 1 are correct. I  can't locate any issue why SYSRESETREQ  would fail for LPC1768

I updated my patch to revert the changes to the LPC1768 and configure it to always use a hardware reset.  It seems like it might not support software resets.  I believe the LPC1768 is a cortex-m3, which implements the ARMv7m architecture, but digging through the ARM reference manual, I was unable to determine if the AIRCR used for software resets is present on all cortex-m3 devices.  Do you know if this is a guaranteed feature, or if it is implementation defined?
I also checked the LPC's datasheet, and it sounds like software resets are not supported.  In the document UM10360 (LPC176x/5x User manual) in sections 3.4 Reset, it says:
"Reset has 4 sources on the LPC176x/5x: the RESET pin, Watchdog Reset, Power On
Reset (POR), and Brown Out Detect (BOD)."

@c1728p9 http://sourceforge.net/p/openocd/mailman/message/31873092/, a patched which switched to sw reset for lpc1768, tested on mbed platform.
The rev3 says that SYSRESETREQ is supported.

@0xc0170 If you get a chance, could you try my patch with self.writeMemory(0x400FC040, 1) removed from the lpc1768 and see if reset works as expected?  I'm wondering if this will fix the problem, since the lpc800 and lpc11u24 work without this.

I did previously, while debugging it. Did not have any impact.

I have just tested the uvision mbed project with LPC1768, the flashing fails with SYSRESET, but fine with VECTRESET or HWRESET. This indicates something. So fine for now that target set to not use sys reset.

I updated this pull request to include a fix for the OpenOCD eclipse plugin.  I re-ran basic_test.py on a K22F an there were no problems.  I think this patch is ready to be merged unless there is additional feedback anyone has.  Thanks for help with this PR with all the research and testing.

Found a bug with dapTransferBlock so I updated the pull request to include and additional commit.

Updated to include LPC sector programming fixes.  Verified basic_test.py works on a LPC800 and a LPC11U24.

Thanks for this patches. How did you find out about the page size difference?
I tested on lpc1768, it does not crash but erase sector fails, which we can fix later. I'll merge this and release new version of pyOCD 0.3.1.

:thumbsup: for this work

What kind of failure are you seeing on sector erase?  Is the return value non-zero?

data != expected. Seeing data as a list of 0xFF values. I recall (not 100 percent certain) I was seeing the same when I regenerated the flash algo for lpc1768.

I have reproduced the problem on the LPC1768 and I am working on a fix.  I hope to have something by tomorrow.

I have the start of a fix for the LPC1768 issue over here.  I will test more on Tuesday evening and then issue a PR.

@adamgreen great, keep us reported

@adamgreen Thanks for looking at this!  I was wondering, instead of removing page_size from all targets, would it be easier to override programPage and erasePage for the lpc1768 and make it look like the sector size is 32KB?  That would allow #104 to still work since it relies on all sectors being the same size.

@c1728p9 how would 104 break from that change , adding a new method getPageSize(addr)  I don't fully understand "it relies on all sectors being the same size." from the above comment

The pull request #104 uses a fixed page size when it reads out sector data to determine which ones need to be re-programmed.  It also only supports time estimates based on a fixed size sector erase and sector program.

@c1728p9 I have made the requested changes.  I will finish testing later today and issue PR.

I have issued PR #109 with the latest fixes for the LPC1768.


TNB Donation

Project Details
How would you describe your project?

Came across an idea-only submission that is fairly similar to our project. Therefore this issue Closes #4

A networking solution that used to help your favorite creator and support open-source projects by donating TNB coins directly to them from a browser extension.
What problem does this project solve?
TNB Donation enables the community to support each other on the blockchain.
The project also helps in distributing TNB coins to the people at large.
Who is the target market?
All coin holders who are on social media or software development platforms like GitHub and Npm.
How will this project benefit the network and/or the community?
By using thenewboston currency to support your favorite projects (on Github) and content creators (on Youtube) which keeps the community stays motivated, It also helps distribute the coins further and increase adaptability which helps the network in a major way while empowering the projects supported.
How is this project centered around thenewboston?
As we know thenewboston is a community that started its journey on youtube with the goal of giving free access to all sorts of skills to the community as also is at this moment. And supporting these creators is undeniably essential to improve the content's overall quality.
What is the estimated completion date for this project? (rough estimates are acceptable)
End June of 2021 if approved early.
Please include a detailed roadmap for your project below. This must include a list of all milestones where payments will be awarded upon completion of each.
Roadmap

#
Milestones
Estimated Value (coins)

1
Project initialization
-

2
Create all prototypes
-

3
Frontend UI/UX Implementation
-

4
Backend Implementation
-

5
Deploying
-

6
QA & overall testing
-

7
Marketing & promotion
-

What is your Discord username?
7oledit#8388
Additional files and documentation including architectural diagrams, wireframes, research documents, visuals, etc…
Milestone Details
Please include a detailed breakdown of the first milestone including a list of all quantifiable objectives and
estimated coin value of each. Upon completion of the milestone, each objective will be reviewed by thenewboston team
and once all objectives have been verified as completed, coins will then be rewarded.
Note that all future detailed milestone breakdowns will be written as a separate GitHub issue. Only the first one is
included in the project proposal.

Milestone Description
The first milestone is Project initialization.
In this project development stage, we finalize everything needed for getting started.
Requested Payment Upon Completion
--

#
Objective
Estimated Value (coins)

1
Create GitHub repo, Socials & Branding
-

2
Define project scope & architecture
-

3
Generate project roadmap
-

4
Recruit needed personnel
-

Project Reviewer
YOU CAN EITHER WRITE YOUR PREFERRED PROJECT REVIEWER HERE, OR LEAVE IT EMPTY FOR ANY PROJECT REVIEWER TO PICK THIS PROJECT UP.
EX - Preferred: John Doe
Project Wallet
449baf4c0b43f44e9b091947bf36880bf237a91e413adb85ca2ae1f33e239440

Keysign already does this and it's actively already in browsers.
https://github.com/Keysign-Wallet/keysign/blob/master/DOCS.md#requesttransfer

Hey @Toledit , while copies of another project are not allowed, competition is. Can you let me know how this differs from Keysign-Wallet?

Hello Chuy, so I had some time to look at keysign. I don't even think our project is competitive let alone being a copy of keysign since it's trying to solve entirely different issue.
Our vision is create a platform that enables the comunity donate TNB coins to content creators and opensource contributors and projects.
Unlike keysign, Our sole purpose is not to create an extension wallet to TNB coin platform, but to create a donation platform where creators and open-source projects get support and track their donation status on PWA. As shown on our architecture picture in the proposal above, Our main platform is going to be a PWA. The extention's only purpose is to ease the use of our main PWA and communicate with it.
The only similarity i see we have with keysign is that we also utilize a browser extension for convenience as hundreds of thousands distinct applications do.

I hope kevinnim1990 understands the difference between wallets and donations. Let me give you an insight. We are building a donation platform (not an EXTENTION) on top of the TNB coin. The donation is performed with our PWA platform. The extension is not of TNBs but our donation web app.
Let's see some real-world scenario: A person can donate on goFundMe with PayPal. A person can also send the money to the campaign creator directly with Paypal. GoFundMe made the donation process easier. This doesn't mean GoFundMe is a clone of PayPal's. Is it? GoFundMe can have an extension, so does PayPal.
to clarify in detail. I've used the following reference :
GoFundMe --------> our TNB donation platform
PayPal         --------->   TNB
PayPal's extension ----> keysign

Hey Chuy, Our main vision is to encourage content creators and open-source projects. We have seen and admired a lot of open-source projects, videos, and answers to our challenging questions. We are creating a platform for the community to contribute to free content that they found useful; providing an additional and powerful option other than a like button, a star, or an up-vote. Our purpose is to encourage open-source contributors and content creators. Which I believe is also a value that TNB shares.

Hey @Toledit, a few questions about the proposal:

Are you planning to make a website as well?
If so, would you mind providing some sample wireframes and a basic sitemap?
Lastly, regarding the project milestones, these will need to be quantifiable proof of work which auditors will be able to verify. Objectives such as recruitment are not considered "quantifiable proof of work".

Thanks for getting back to us!

Yes, we'll have a progressive web app.
Sitemap: *apologies for low quality there https://drive.google.com/file/d/1DU74KA0jzeaQTg0CFfyXtIfaMVei7p_l/view?usp=sharing
some prototypes of the pwa:
User profile

Browse users:

Admin dashboard:

*Tentative! features might be modified slightly in the future.
Edited the proposal document above as suggested.
Thanks.

Hello @Toledit , we approve of this project and your first milestone!
Based upon your limited information of your milestone objectives, we decided to skip objective 3, as we see that you have already created your roadmap (the first table on your project proposal).
Therefore, from what we can deduce from objective 1 and 2, we felt that the amount of 5000 coins is appropriate for milestone 1

Hello @Toledit , we approve of this project and your first milestone!
Based upon your limited information of your milestone objectives, we decided to skip objective 3, as we see that you have already created your roadmap (the first table on your project proposal).
Therefore, from what we can deduce from objective 1 and 2, we felt that the amount of 5000 coins is appropriate for milestone 1

Thanks for the Approval, we waited for a while but it's finally here.
I am not sure if skipping objective is a good idea. As there's a lot of work put on to it by my team and I now have to tell them it was for free? Let me know your thoughts.
Thanks again!!

Hi @Toledit , roadmaps are typically part of the project proposal, and are not accounted for in the project evaluation itself.
Roadmaps are part of the project proposal such that the auditors can accurately assess the value. We do not pay for management, meetings, planning, but rather for quantifiable value that you can provide to us and the community.


Improve access to tutorial files

Goal
In an ideal world, we can configure the Sphinx website's "edit this page on github" button to point to the files under model/docs/*qmd rather than to docs/source/tutorials.
Context

The tutorials section of the Sphinx website is built automatically during the website.yaml workflow.
To avoid having multiple versions of the same file, we only have one copy of the cmd documents under model/docs.
The website workflow generates the corresponding rst files and publishes the website with them.
But the edit button points on the tutorials point to a non-existing location (b/c the files are created during the action and not available on the repo).
The current package's version has a pre-commit hook that creates a placeholder for the rst files, indicating that the source code is located in model/docs.
But this implementation is awkward.

See also https://github.com/CDCgov/multisignal-epi-inference/pull/118#discussion_r1602032476
Required features
TBD
Specifications
TBD

Closing as we've decided to go with #459 as the solution here


API.ai integration does not seem to be working

I've set up my account at API.ai and configured everything properly. In my botman routes, I have this:
$botman->hears('users.count', 'App\BotCommands\UserCount@handle')->middleware(ApiAi::create(env('APIAI_KEY'))->listenForAction());
This never gets called.
I know that API.ai is set up correctly. I went into the ApiAi@handle method and logged the $response. The action being returned is users.count which is correct. That action just never calls the UserCount controller.
I've also tried without the controller and just doing a function. That doesn't work either.
I should mention I'm using Laravel and Slack RTM.

Hello,
this issue was already fixed a while ago. I just tagged a new release ( 1.4.1 ).
Should work after a composer update 👍

Thanks! Works great now!

On Feb 26, 2017, at 1:53 PM, Marcel Pociot<EMAIL_ADDRESS>wrote:
Closed #245 https://github.com/mpociot/botman/issues/245.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mpociot/botman/issues/245#event-977578014, or mute the thread https://github.com/notifications/unsubscribe-auth/AAASpIYp_mZayLOwBamAcUNQhdWOSIEsks5rgfRKgaJpZM4MMK_M.


When sending a request, how can I not include the 'max_tokens' parameter by default?

Describe the feature
When sending a request, how can I not include the 'max_tokens' parameter by default?

This project is undergoing a major revamp; closing out old issues as part of the prep process.
The chatgpt package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package instead.


Compute length of dataframe as length of first column

This should reduce work when we're able to pass down column access,
such as is the case with parquet.

[ ] Tests added / passed
[ ] Passes black dask / flake8 dask

Thanks!


Syntax highlighting (#4)

This is my current state of the implementation of #4. The tokenization is done in Enselic/public_items#53. Because of this the colouring is done in 11 lines.

Sneek peak:

I am quite happy with this. I need to test how it handles other inputs so that needs some time. After that I will go and clean up the stuff that is not needed. I envision to remove the prefix/path/suffix from the PublicItem if possible en replace it with the fully tokenized output, let me know what you think about that.

Nice! Colors makes such a big difference. Looking forward to the next update.

I envision to remove the prefix/path/suffix from the PublicItem if possible en replace it with the fully tokenized output, let me know what you think about that.

That sounds perfectly reasonable on a conceptual level, so please go ahead with that 👍 I'm happy to answer any questions you might have when you start getting into the details of such an operation.

I made a start on #11 see above. The code is not really clean yet. I am not really sure how to style it in a way that works best for other people, so if you have ideas that would be welcome.

Yeah it's not obvious how to present diffs in a good way. Maybe it would make sense to get regular coloring in place first, and then after that we can iterate on how to show diffs?
In your example above, I think one improvement would be to have the green color on the + line, and red color on the - line. So the added impl should have green background, and the removed String, should have red background, rather than having the color on the "opposite" side.
Another source to draw inspiration from could be git show/diff --color-words, but I'm not sure I like that style:

Okay this looks way better, the background colour does not work that well because it is way to bright and I do not see a way to get dimmed background colours. So I am thinking about doing other style things, like strikethrough or italic. But this means that the tokens::ChangedTokenStream is pretty much where I want it.

Hi again! Just an update. I have now

Renamed public_items to public-api
Released public-api v0.9.0 that contains your new tokens API
Released cargo-public-api v0.9.0 that depends on the new public-api lib, but does not make use of tokens yet.

It would be fantastic if you could create a new PR (I think that will be more clean than updating this one) that gets syntax highlighting in place. I would really like us to do that separately from the intra-item diffing, so keep things focused and incremental. Again, no rush, feel free to take your time with that :)

Okay sounds like a plan. I will get on it when I have time.


ocaml-tyxml: update to 4.6.0

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

ocaml-tyxml: update to 4.6.0
Change Log

../SPECS-EXTENDED/ocaml-tyxml/ocaml-tyxml.signatures.json
../SPECS-EXTENDED/ocaml-tyxml/ocaml-tyxml.spec
../cgmanifest.json
ocaml-tyxml-4.6.0-12.azl3.src.rpm.log
Does this affect the toolchain?

YES/NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXX

Test Methodology

Pipeline build id: xxxx

The ocaml-tyxml package has been built successfully after adding runtime dependent package ocaml-markup.


Installation fails at Update dependencies with "cannot coerce null to a string"

First thanks for the template,
I tried to follow the installation instructions, but it fails already in the first step.
error: cannot coerce null to a string

       at /nix/store/cl859pbyw47jzn4jn6ybiwayl0zby8ns-nixpkgs-unstable-src/pkgs/stdenv/generic/make-derivation.nix:192:19:

          191|         // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) {
          192|           name = "${attrs.pname}-${attrs.version}";
             |                   ^
          193|         } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) {
(use '--show-trace' to show detailed location information)

Full Trace:
error: cannot coerce null to a string

       at /nix/store/cl859pbyw47jzn4jn6ybiwayl0zby8ns-nixpkgs-unstable-src/pkgs/stdenv/generic/make-derivation.nix:192:19:

          191|         // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) {
          192|           name = "${attrs.pname}-${attrs.version}";
             |                   ^
          193|         } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) {

       … while evaluating the derivation attribute 'name'

       at /nix/store/cl859pbyw47jzn4jn6ybiwayl0zby8ns-nixpkgs-unstable-src/pkgs/stdenv/generic/make-derivation.nix:192:11:

          191|         // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) {
          192|           name = "${attrs.pname}-${attrs.version}";
             |           ^
          193|         } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) {

       … while evaluating the attribute 'depsBuildBuild' of the derivation 'gmp-6.2.0'

       at /nix/store/cl859pbyw47jzn4jn6ybiwayl0zby8ns-nixpkgs-unstable-src/pkgs/development/libraries/gmp/6.x.nix:14:3:

           13| let self = stdenv.mkDerivation rec {
           14|   name = "gmp-6.2.0";
             |   ^
           15|

       … while evaluating the attribute 'buildInputs' of the derivation 'coreutils-8.31'

       at /nix/store/cl859pbyw47jzn4jn6ybiwayl0zby8ns-nixpkgs-unstable-src/pkgs/stdenv/generic/make-derivation.nix:192:11:

          191|         // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) {
          192|           name = "${attrs.pname}-${attrs.version}";
             |           ^
          193|         } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) {

       … while evaluating the attribute 'configurePhase' of the derivation 'QuickCheck-2.13.2'

       at /nix/store/cl859pbyw47jzn4jn6ybiwayl0zby8ns-nixpkgs-unstable-src/pkgs/development/haskell-modules/generic-builder.nix:291:3:

          290| stdenv.mkDerivation ({
          291|   name = "${pname}-${version}";
             |   ^
          292|

       … while evaluating the attribute 'buildInputs' of the derivation 'attoparsec-<IP_ADDRESS>'

       at /nix/store/cl859pbyw47jzn4jn6ybiwayl0zby8ns-nixpkgs-unstable-src/pkgs/development/haskell-modules/generic-builder.nix:291:3:

          290| stdenv.mkDerivation ({
          291|   name = "${pname}-${version}";
             |   ^
          292|

       … while evaluating the attribute 'buildInputs' of the derivation 'aeson-<IP_ADDRESS>'

       at /nix/store/cl859pbyw47jzn4jn6ybiwayl0zby8ns-nixpkgs-unstable-src/pkgs/development/haskell-modules/generic-builder.nix:291:3:

          290| stdenv.mkDerivation ({
          291|   name = "${pname}-${version}";
             |   ^
          292|

       … while evaluating the attribute 'buildInputs' of the derivation 'niv-0.2.18'

       at /nix/store/cl859pbyw47jzn4jn6ybiwayl0zby8ns-nixpkgs-unstable-src/pkgs/development/haskell-modules/generic-builder.nix:291:3:

          290| stdenv.mkDerivation ({
          291|   name = "${pname}-${version}";
             |   ^
          292|

       … while evaluating the attribute 'buildInputs' of the derivation 'home-manager-shell'

       at /Users/yk/nixfiles/shell.nix:11:3:

           10|
           11|   name = "home-manager-shell";
             |   ^
           12|

Is this error maybe related to not being able to determine the platform (=darwin)?
I have Nix 2.4 installed on macOS Big Sur, so I should be good to go.

Can you share your home.nix file? I wasn't aware some default minimal configuration depends on Haskell packages like QuickCheck.

It looks like it is having trouble building Niv. What architecture of darwin are you using? x86 or Arm? Looks like this could be related https://github.com/NixOS/nixpkgs/issues/140774

Yes it's ARM. Seems I have to try the workarounds there or just wait for a fix.

My home.nix is not minimal, it's the version I used previously with manual installation of home-manager. See here.
Only Haskell package I have in there is pandoc which worked just fine at previous times.

It looks like it is having trouble building Niv. What architecture of darwin are you using? x86 or Arm? Looks like this could be related NixOS/nixpkgs#140774

niv fails at build time, this is clearly some sort of eval issue…


[Feature Request] Stacks Quiz-Questions and marks to  be added

🚀 Feature Request
Is your feature request related to a problem?
Please describe. Stacks Quiz-Questions and marks to  be added
Describe the solution you'd like Stacks Quiz-Questions and marks to  be added
Describe alternatives you've considered
Stacks Quiz-Questions and marks to  be added
Additional context
Add any other context or screenshots about the feature request here.

Would you like to work on this feature?

[x] Yes
[ ] No

please update to level2


Adding in link to PingMesh exporter to docs

Signed-off-by: dongjiang<EMAIL_ADDRESS>
We've been using this for a number of months now, it was suggested we submit a pull request to enable others to find it more easily.
PingMesh artifacthub https://artifacthub.io/packages/helm/kubservice-charts/prometheus-pingmesh-exporter

@bleything @mpalmer @alex @svenstaro  PTAL when you have time

Why highlight me? I have nothing to do with this.

Tagging random people into your PR is abusive behaviour.  Please stop it.

This looks like a strange copy of some of the blackbox_exporter code mixed with a config file. It also does a not so great job of duplicating the smokeping_prober's functionality. I don't see a good reason to list this tool.

This disguised recidivist has issues with the IP Manner, as detailed in https://github.com/cncf/sandbox/issues/15


Add tesseract/ to API header file invocation

Also added additional tests for tessdata_best and tessdata in apiexample.
Split testcase in apiexample for better readability of code and results log.

#include "tesseract/baseapi.h" requires that the header files were installed.

@stweil is tesseract/ not needed here?

It is only needed for external code which uses the Tesseract library and the Tesseract API header files, and only if that code uses the compiler flags which are suggested by pkg-config.

@stweil Thanks. Have removed them now.


added mainline

I occasionally use this app... https://github.com/bkw777/mainline

Sorry, I am not accepting any projects into deb-get that change the kernel.


ImageIcon

Initial commit for the ImageIcon control.

Merging this as-is to clean up old PRs (the API has shipped)


New Oscar architecture proposal

A while ago we discussed this with the @django-oscar/core team and finally I got to write it down as a proposal.
Since more and more projects implement only API and do not require frontend and/or dashboard, I came up with the raw idea of splitting Oscar into the parts, which would ease it customization:

oscar-core - the main core functionality;
oscar-storefront - basically all storefront views and templates;
oscar-dashboard - all dashboard functionality.

On my latest projects we don't use storefront or dashboard at all (basically only core functionality and API), so in this case it won't need to disable almost all views.
Any feedback appreciated.

David and I always envisioned a split like that. Have a core with a API, and ship the dashboard and front end talking to that API. It would also make sure no business logic lands in the views, which is desirable.
The front end and dashboard should be forbidden from making database calls and should only communicate via the API. But one could skip serialization - I don’t there’s a need to call the API over REST, I’d be fine with the API returning regular Django model instances.

I would be a proponent to split-up Oscar in different packages as @sasha0 suggested. From there you can go ahead and build a programmers API when there is a need for it.
Starting with separate packages / modules so it's easy to disable the store front end or dashboard (or not to install them at all) would really make sense, next to the fact that the maintenance and development of the codebase of the different components would be much easier.

What do you see as benefit of having seperate packages, @maerteijn https://github.com/maerteijn? I absolutely understand your point of wanting to disable them, but I think there's a hidden cost to splitting it up into packages - if you're referring to PyPi packages and seperate GitHub repos, not just Python packages.
If they were to ship as dedicated apps (the dashboard already is), one could easily disable it by not including it in INSTALLED_APPS. The frontend would require splitting up the current apps (this needs to be done either way), but I'm not sure there's a benefit to going for seperate packages. I'd be afraid that it makes maintenance and develeopment trickier, and it would also make releases trickier (because you need to make sure people install the correct versions of frontend - dashboard - core).

The frontend would require splitting up the current apps (this needs to be done either way), but I'm not sure there's a benefit to going for seperate packages.

@mvantellingen implemented POC of frontend disabling last year - https://github.com/django-oscar/django-oscar/commit/b4b7f6bbe8a9dac7784a2e8b526e040f0d6f8ec5, which demonstrates that it's not only to do with apps splitting in order to disable storefront.

I'd be afraid that it makes maintenance and develeopment trickier, and it would also make releases trickier (because you need to make sure people install the correct versions of frontend - dashboard - core).

In fact oscar-storefront and oscar-dashboard would be dependent on oscar-core and not interdependent, so there's not much complexity added.

I agree with the premise of separating the frontend, backend and core, but I also share @maikhoepfel's maintenance concerns with moving to separate packages.
It seems to me that it would only exacerbate the issues we already have maintaining feature 'parity' between the frontend, backend, core and rest api.
@sasha0 What are the advantages of using separate packages?

I agree on the part that maintenance would be more complex if you would split it up in multiple packages. You will need a version scheme guideline for the different packages (all 2.1.x versions are compatible with each other as a simple example) to manage this properly.
On the other hand it makes maintenance easier to split the code into several packages as you would follow a real separation of concerns approach: Code for the storefront is in the storefront package, has it's own issue-tracker, it's own roadmap and feature wish list and (hopefully) a dedicated maintainer or maintenance team.
The technical advantages of splitting it up inn multiple packages are the dependencies and deployment improvements. If we would have the following structure:
                          +------------------+
                 +------->| oscar-storefront |
                 |        +------------------+
                 |
+------------+   |        +------------------+
| oscar-core |---+------->| oscar-dashboard  |
+------------+   |        +------------------+
                 |
                 |        +------------------+
                 +------->| oscar-api        |
                          +------------------+

And the dependencies per package (simplified example) are defined as:
oscar-core:
- django

oscar-storefront:
- oscar-core
- django-extra-views
- Pillow
- django-widget-tweaks

oscar-api:
- oscar-core
- restframework

And my webshop does not need the storefront I also don't have to deploy django-extra-views, Pillow, django-widget-tweaks and other dependencies I don't use, including the storefront code itself.
Or another example: I could have 10 django instances with only oscar-core and the store-front, and just 1 instance with  oscar-core  and  oscar-dashboard installed.
I understand that all of this is a lot of work, so you could start with  several  (python) modules in the same repository before having own repositories.

@maerteijn can't agree more - thanks for the thorough write up.

Or another example: I could have 10 django instances with only oscar-core and the store-front, and just 1 instance with oscar-core and oscar-dashboard installed.

Same for us. In fact, the dashboard also get less relevant these days compared to SPA.
Also split up would potentially allow to have multiple storefronts - there are ready made ones https://github.com/moovweb/react-storefront, https://github.com/DivanteLtd/vue-storefront or etc that could be adopted.

Also, looking at the history of changes of the previous major Oscar releases new changes affects mostly core functionality.
Overall, we can firstly work on the further milestones with @django-oscar/core and afterwards it would be more visible about the plans regarding storefront and dashboard.
At the meantime, any input regarding architecture proposal appreciated.

I think @maerteijn's proposed outline makes sense. What I don't know is what the best way is for these different components to communicate with each other. I feel that using a REST API is going to become unwieldy very quickly. I think it is worth exploring how other similar systems communicate, and what other mechanisms are available (RPC, perhaps?) before making what will be a significant change.
In the mean time I think the simpler step of just separating modules with the existing repo is a good place to start, and will help to identify issues that need to be addressed before a bigger split happens.

What's about GraphQL?

I'm all for @maerteijn's proposal.
As for GraphQL: sounds like something that might go into oscar-api

As for GraphQL: sounds like something that might go into oscar-api

Or perhaps, oscar-graphql.

Exactly. REST / GraphGL / RPC are suitable for external applications or front-ends so they can use the "Oscar E-Commerce engine".
If we have a storefront and/or dashboard written in Django it would not really make sense to "APIfy" this communication in such a level. Using a well thought Python API in the oscar-core package would be however very useful.

This would also be an interesting structure
                                            +------------------+
                                   +------->| oscar-storefront |
                                   |        +------------------+
                                   |
+------------+    +------------+   |        +------------------+
| oscar-core |--->| oscar-api  |---+------->| oscar-dashboard  |
+------------+    +------------+   |        +------------------+
                                   |
                                   |        +------------------+
                                   +------->| api-endpoints    |
                                            +------------------+

@saitam1 could you please elaborate more on this?

I think this would be a more modern and modular approach. For the storefront, it would open up doors to connect frameworks like vue or react in a more easy way.
Actually the dashboard could still be used without the api, because in most cases the dashboard probably does not need such a strong front-end customization.

Within the @django-oscar/core team we agreed to start from decoupling interrelated components in the Oscar and @solarissmoke already has ideas on how to proceed.

Modular approach would be great feature. As you wrote above it would be the point that allows people to connect Oscar with modern UI technologies. Graphql is an interesting point, but in my opinion classic rest API (DRF) should be still available.

As far as decoupling components goes, the two things I would like to start with are CheckoutSessionMixin and OrderPlacementMixin.
Both of these implement a huge amount of business logic in the views, which is extremely problematic for anyone that wants to use that logic outside of a view context. I think most projects end up basically reimplementing this logic.
I'd like to move the business logic currently living in those views into separate code that doesn't rely on a request/view context. This will also mean that things like sending order confirmation emails are not tied to views.
More generally I think we need to go through all the views and identify where there is business logic taking place that should be separated out.

I always use the oscarapi serializer for checkout/orderplacement. That ensures the code I’m using is maintained and serializers are great general purpose object creation devices. If I need to separate checkout into steps, I just use a formwizzard to collect the data I need for the serializers in steps.

I am currently rewriting the oscarapi serializers so they can be used for object creation/updating. I’m going to design it so they are the main interface for creating oscar entities in importers and such. So restapi is for http layer integration and serializers are for python level integration. Which amounts to the same.
I am mentioning this just as an update, I don’t really think this is an appropriate interface for first class (dashboard and storefront) clients. Just for third party integration.

Is there any work started on the ideas highlighted in this thread i.e. any branches / forks that I can look at? I'm particularly interested in using Django Oscar with Django CMS, I've been put off in the past due to the need to potentially rewrite the logic in the views and url mapping to closely couple the two without using the cms apphook feature i.e. one set of CMS templates with plugins to add Oscars e-commerce logic.
Separated apps as highlighted here open up the possibility of creating custom plugins in the cms for a "custom storefront" reusing the core of Oscar and potentially using the "Oscar dashboard" via a cms apphook.
I don't see many issues with the separated package communication, new Django CMS packages have dependencies from the core (pre release V4) and they just import the code / models as you would with any other Python library, they are in the end dependant on the core! As others have mentioned above the dashboard won't depend on the storefront and vice versa if designed properly. The key is getting the right code and business logic in the core.

I'd love to know this as well (If work has started on this or branches available for viewing). Currently facing the decision to move forward with an e-commerce platform and the idea of this split would make Oscar a strong candidate, as that is our direction with all of our options.

We've been making progress towards this, but there's still some way to go. Recent changes include refactoring Oscar's communications into a separate app. However we still have quite a bit more to do to decouple views from functional logic - no branches available yet for that I'm afraid.


Support Spec Generation

Spec generation for both OpenAPI and JSON Schema would be great. This might also open the door for generating code from those specs.

This is a very interesting idea. Although I will say that its something that would have to come after v1 as a helper package and not part of Zog Core.
Have you given some thought as to how this could be implemented? Zog is http framework agnostic. Generally OpenAPI schema generation wraps around a HTTP framework or uses something like code annotations. There doesn't seem to be many good solutions in GO though, this is what I could find:

https://github.com/a-h/rest
https://github.com/go-fuego/fuego
https://huma.rocks/

Huma is really good. It think it should be possible to do json schema gen or openapi just based on the validation schemas, but yeah maybe as a plugin.

Yes it should be possible to create Json schemas based on Zog schemas but only for the API request data. But openapi is so much more than just request data, it displays:

Endpoints
The expected request data for those endpoints
The response data for those endpoints and status codes
and more

The only approach I can think of that might make sense for Zog is to create a plugin for one of the frameworks/libs mentioned above that will fill in the schema for the request data and let the framework handle everything else.

@Oudwins

Yes it should be possible to create Json schemas based on Zog schemas but only for the API request data.

You are right, and if you would think about using zog schemas for json serialization ( probably due to performance reasons, instead of validation ), you could have access to response schemas, too.

@Oudwins

Yes it should be possible to create Json schemas based on Zog schemas but only for the API request data.

You are right, and if you would think about using zog schemas for json serialization ( probably due to performance reasons, instead of validation ), you could have access to response schemas, too.

On second thought, this would not be a good idea. I come from a Node.js background, and I realized my thought process follows the ideas from the Node.js ecosystem, which doesn't make sense here.

@mkadirtan no worries. Mind sharing how you came to that conclusion?
Mostly my thoughts were "sure, but generally you need to validate data coming in, not going out. That would be quite a bit of additional overhead for little gain specially since go is already statically typed. But if you really wanted to enforce a specific contract I guess you could do it".
Not sure if I am missing something

@mkadirtan no worries. Mind sharing how you came to that conclusion?
Mostly my thoughts were "sure, but generally you need to validate data coming in, not going out. That would be quite a bit of additional overhead for little gain specially since go is already statically typed. But if you really wanted to enforce a specific contract I guess you could do it".
Not sure if I am missing something

Haha, exactly these thoughts! In addition, that could also be useful in terms of performance. However, the gain is much bigger on Node.js projects, I don't know if it makes any significant difference in Go.

Another nice idea that came up is that this would open the door to importing schemas from Zod which I think is very nice. Just dropping it here so I don't forget when I decide to work on this

I may be able to work on this if you want to. No promises but we might use this for a project at work, and I can convince my manager 🤞

That would be awesome. If there is anything I can do to help please let me know!

Another very nice possibility this would open up is to generate the structs based on the zog schemas through some kind of CLI

@Oudwins not at the moment, I took a quick look into the codebase and it seems like schema generation would be pretty straightforward, but this is software development so nothing is certain upfront 😅 And CLI features are always awesome, too. I am glad you consider this feature request valuable 🙌🏻

Brilliant. I do think Zog is made in such a way as to be quite simple to extend and understand the code!
I'm looking forward to seeing this develop then!
The main things I would want from this are:

To have the code for this be as separated as possible from Zog core so we included as little code as possible in end user binaries (specially for people not using this feature)
From what I have seen openapi & JSON schema won't support every feature Zog has so ideally we can have a json representation of a zog schema which can then be easily converted to both openapi, JSON schema and anything else we might want


How to use kotlin value classes with typed queries

Hey!
I'm looking for an easy way to use typed queries with kotlin value classes. E.g.
data class Account(@BsonId val id: Id<Account>, val email: EmailAddress)
@JvmInline
value class EmailAddress(val value: String)

and then it will be awesome to search by email like that:
collection.findOne(Account::email eq email)

Is it somehow possible now or maybe there are plans to support it?
Thanks!

jackson kotlin module as an issue about this https://github.com/FasterXML/jackson-module-kotlin/issues/199


Fix Algebraic Data Types dead link in learning

The old link was dead, the link I found seems to be the right one :)
This is closely linked to #33
(My commit name is wrong)

Merged!


Theme Documentation

Hello,
I was wondering if there was any documentation available for those looking to create their own theme. From looking at some tutorials online, I see that there are a number of different variables that can be set which allow for all sorts of customization.
Are the variables/options enumerated anywhere with a description of what they do?

You probably want this: http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html
That's a good place to start with some form of basic prompt. I'd honestly just recommend looking at the other themes as the next point for what you want to do.

Great, Thanks!


fixed jhmdb weight load issue

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@coocoo90 Is this PR ready to be merged?


Can't connect Paypal transactions with Open Collective expenses

Recently we had an issue with a Paypal transaction. It was reversed and Paypal sent through a notification. But there seems to be no way to find the associated Open Collective expense.
When I do manual Paypal payments, I always paste in the expense URL into the notes, but these notes are not displayed anywhere in the Paypal history. And for payments through the API there is no opportunity to include notes. This makes it very hard to follow up the issue and check details when there's an issue with the transaction.
Is there any way to search Open Collective with a Paypal transaction ID, or user email address? Or, if we had the ability to search Open Collective by expense amount and date range, it would be possible to narrow it down and find it manually.

Yes we totally need a way to search / filter expenses (but also transactions).
Adding tags to them would also be helpful.

We still need this

Why was this closed? I thought if stalebot comments and you comment back it will stay open?

We absolutely need this in the new expense design.

Just bumping this again because I ran into it again today. When someone refers to an expense and there has been a problem with Paypal, it's very very hard to connect the transactions on our platform to the paypal data to verify if a certain payment has failed or needs to be changed, etc.


[CCI] MetadataETL task to replace/insert help text for a custom field

Critical Changes
Changes

The Metadata ETL task set_field_help_text allows setting Help Text values on existing fields.

Issues Closed

Pushed a commit that I believe resolves outstanding issues with this PR.


Allow users to pass a float for constant learning rate

The current API requires user to pass a function of the index of the current iteration, even when the learning rate is constant. However, in practice most people use a constant learning rate (even if they shouldn't, but who are we to judge?)  and we should simplify that pattern of use.
This commit thus allows users to pass either a function, either a float as learning rate to the kernel builder. It will raise an exception for any other type.

codevoc is not catching the test cases that check that a TypeError is effectively being raised for some reason.


fnctl: should we add a "vendor" or "deps" command to ensure the dependencies are built on alpine

For instance, see the ruby vendoring: https://github.com/iron-io/dockerworker/tree/master/ruby
Or the node vendoring: https://github.com/iron-io/dockerworker/tree/master/node
If the dependencies have any native extensions, it won't work if built on the user's host system (unless they're running a system with musl).

My take on this is that when the application gets complex enough, that's when our bootstrap tools go away from the scene and the advanced documentation kicks in. If you have a sufficiently complex application, you should be probably be using custom func.yaml and Dockerfile.

With the advent of package lang and PreBuild() call, this is rather trivial now.


[Feature] ImageController

I recently needed to hack the lib to add a feature to test different images quickly.
I thought about something like that:
var images = { path1: 'myImage.png'};
gui.addImage(images, 'path1').onChange((image) => {
  console.log('do something with the image loaded');
});

Because I'll need it multiple time (and some people were interested too) I did a short library where you can see the usage: dat.gui.image.
I tested the code and the augmented functions (.name(), .listen(), .remove()).
Feel free to recommend me some updates in term of code or UX!

@googlebot I signed it!

When can we expect this to be merged?

When can we expect this to be merged?


Route 53 - unable to retrieve multi IP A records

Per comments on #358 opening this bug for retrieval of a newly created A record with multiple IP addresses.
The code below reproduces the issue with inline comments as to where the issue occurs.
    @mock_route53
    def test_mock_bug(self):
        zone = "motogetabug.com"
        zone_dot = Route53TestCase._get_zone_dot(zone)
        host = "monster"
        host2 = "cookie"

        ip = "<IP_ADDRESS>"
        ip_list = ['<IP_ADDRESS>', '<IP_ADDRESS>']

        conn = boto.connect_route53("secret", "supersecret")
        conn.create_hosted_zone(zone_dot)
        azone = conn.get_zone(zone)
        self.assertIsNotNone(azone)

        # This works:
        # Register an A record and retrieve it
        azone.add_a("{}.{}".format(host2, zone), ip)
        azone = conn.get_zone(zone)
        self.assertIsNotNone(azone)
        print azone
        arec = azone.get_a("{}.{}".format(host2, zone))
        print arec
        self.assertIsNotNone(arec)

        # This does not work:
        # Register an A record with multiple IPs - works
        # then retrieve it - does not work
        rr_changes = ResourceRecordSets(Provider._conn, azone.id)
        action = 'CREATE'
        change = rr_changes.add_change(action, "{}.{}".format(host, zone), 'A', weight=100)
        for val in ip_list:
            change.add_value(val)

        # The foll line does not fail - the fix for #358 took care of it
        status = rr_changes.commit()
        print status
        # The foll line in debugger shows that it has two RRs
        azone = conn.get_zone(zone)
        self.assertIsNotNone(azone)
        print azone
        # BUG - unable to retrieve the just added A record
        # arec is None when the foll line executes
        # Note that boto (non-mock) itself works fine - we get the A record back when talking to AWS instead of mock
        arec = azone.get_a("{}.{}".format(host, zone))
        print arec
        self.assertIsNotNone(arec)

I was able to get the following code to work:

@mock_route53
def test_mock_bug():
    zone_domain = "motogetabug.com."
    host = "monster"
    host2 = "cookie"

    ip = "<IP_ADDRESS>"
    ip_list = ['<IP_ADDRESS>', '<IP_ADDRESS>']

    conn = boto.connect_route53("secret", "supersecret")
    zone = conn.create_hosted_zone(zone_domain)
    zone_id = zone["CreateHostedZoneResponse"]["HostedZone"]["Id"].split("/")[-1]

    rr_changes = ResourceRecordSets(conn, zone_id)
    action = 'CREATE'
    change = rr_changes.add_change(action, "{}.{}".format(host, zone_domain), 'A', weight=100)
    for val in ip_list:
        change.add_value(val)

    status = rr_changes.commit()
    azone = conn.get_zone(zone_domain)

    arec = azone.get_a("{}.{}".format(host, zone_domain))
    arec.resource_records.should.have.length_of(2)

Note that I am adding a period to the end of the domain. It seems that Amazon will sometimes allow either? We will have to do something similar in Moto.

Yes. I agree. Thanks for the tips. I have worked around the issue of the "." at the end by consistently ensuring that there always exists "." at the end of zone/domain.
May be you can do the same on moto?
This issue can be closed though.
Thanks again for your quick responses and all the hard work to build up this library!


Fix count with eager_load

This is a workaround for https://github.com/rails/rails/issues/24193.
Fixes #8.

Fantastic. Much better than my idea!
Thanks!

@kamipo Thank you so much! I'm fixing failures in CI which are not caused by this PR, so I'll merge this soon.

I fixed spec and mysql2 version dependency.
In AR 4.2.4 and before, doesn't work on mysql2 0.4.x because it depends on 'mysql2', '~> 0.3.13'.
https://github.com/rails/rails/blob/v4.2.4/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L3
This PR still failure specs. It looks like remains previous Gemfile.lock on CI.

@kamipo Thank you! It passed when I specified mysql2 version in Appraisals: https://github.com/mirakui/activerecord-mysql-index-hint/commit/0afcb83b6f1bbabb28ec6364551ea8ce4f138687

Released as v0.0.3


Firebase phone auth

I get error - [firebase_auth/missing-client-identifier] This request is missing a valid app identifier, meaning that neither SafetyNet checks nor reCAPTCHA checks succeeded. Please try again, or check the logcat for more details.
I enabling Device Check API.
then i get release sha1 sha256 by ./gradlew signingReport and add it to firebase console
then add new google-service.json to project
also i add another fingerprint from google Play App Signing
still do not working. Somebody help.
Everything working in debug mode!

Hi @Hopheylalal
When opening an issue, please try to provide all of the information indicated in the template.
Closing this issue, since no information has been provided.
Thank you.


Highlighting region of image

We'd like words (or lines, at least) to correspond to regions of the image.

For now, this will help with debugging OCR response: #35
Even eventually, i.e. even after a page is proofread, it would be nice to retain this association so that anyone reading the text can check suspected typos by seeing the word in its context on the page.

I think I have some working code for highlighting a region of the OpenSeadragon image. (Had to be careful about image coordinates, which are pixels, and viewport coordinates, which go from 0.0 to 1.0.)
Here's a documentation page I just found (not helpful so far) about overlays: https://openseadragon.github.io/examples/ui-overlays/

I think I have something in efc612e055035cfbe5d1bd49b4dde81017dee908.

This is reasonably working, will close this!


bug(MatFormFieldModule): Label is outside the bounds of the form field

The label associated with a MatFormField is not positioned correctly.
Case 1 - matPrefix
As visible in the following image, the label is outside the bounds of the form field.

Inside form-field.ts - _updateOutlineLabelOffset() the HTML element is moved on the x-axis:
floatingLabel.style.transform = `var( --mat-mdc-form-field-label-transform, {FLOATING_LABEL_DEFAULT_DOCKED_TRANSFORM} translateX(${labelHorizontalOffset}))`;

This is also visible in DevTools.
This transformation rule looks valid because it has a prefix icon.
But in addition, if the element is moved on the x-axis, its width should be reduced by a value equal to the offset to fit the form field bounds.

width: calc(100% - calc(1 * (51.97072219848633px + var(--mat-mdc-form-field-label-offset-x, 0px))));

Case 2 - matSuffix
For matSuffix the fix would be easier, it should only update its width with the offset value.

However here it seems that the offset variable is missing from the scss file.

Adding the CSS variable to the above file and updating the width should help with this issue.
Reproduction
StackBlitz link: https://stackblitz.com/edit/rudguk-yo1ggv?file=src%2Fexample%2Fform-field-appearance-example.html
Expected Behavior
I expect the label to fit into the borders of the wrapping element.
Actual Behavior
The label goes outside the borders of the wrapping element.
Environment

Angular: latest
CDK/Material: latest
Browser(s): Any
Operating System (e.g. Windows, macOS, Ubuntu): Any

Hello,
Thank you for reporting this and proving stackblitz example. Assigning to @mmalerba , who is owner of form-field.
IF you're looking to contribute, feel free to send us a PR that fixes this.
-Zach


How to change keyboard mapping?

I am using Webapp to use the PC keyboard to control my NS but I am not used to the default key mapping.
Is there a way to customize the key map?

I have solved problem by editing main.js.

Hello, I tried to change the keyboard keys in the 2 main.js files
nxbt/nxbt/web/static/js/main.js
And
nxbt/build/lib/nxbt/web/static/js/main.js
however when I restart the Webapp, this was not taken into account (Like the Change in nxbt/nxbt/web/templates/index.html)
How can I do ?


Please update the pyramidflow codebase to the latest

I noticed that this version doesn't included many of the memory saving updates

I had already done those, but it's moot point now with the miniflux out, so I'm closing this.


AT+BLEGATTSSRV? does not show any UUID

Hi,
I am trying to establish an SPP connection using the esp-at firmware according to this example:
SPP con example
Please note that I had to manually compile the firmware as my UART is connected to UART0. This works fine. However, step 6 of the example shows:
AT+BLEGATTSSRV?

+BLEGATTSSRV:1,1,0x,1
+BLEGATTSSRV:2,1,0x,1
OK

Note: 0xA002 and 0xA003 is missing. Only '0x' is displayed.
Subsequently the following fails as well:
AT+BLEGATTSCHAR?

ERROR

Can I continue anyways? Or what am I missing?
For the next command: AT+BLESPPCFG=1,1,7,1,5 I thought 1,7 and 1,5 has to be read out from the previous command, or it always those numbers?
Thanks,
Juergen

This issue is similar to #725, so I'll close that one. Please fix it asasp :) Thanks.


fixing links to CLI examples in the template docs

Description
fixes relative links so that they work
Why is this needed
https://github.com/tinkerbell/tinkerbell-docs/issues/57

Thanks @DailyAlice !

Thanks @DailyAlice !


feat: add email processor for notifications

this is required for our project. could be useful for others. the idea is to send an email for notifications that pass a severity threshold. we use simple config.

@drodil @mareklibra @awanlin I made all the necessary changes. please review

I made a somewhat improved version in #24322 for this. Just to follow the config conventions and to support also other transports + broadcast support + caching of the emails.

@drodil @mareklibra @awanlin
@awanlin @mareklibra @drodil I made all the necessary changes. please review. if all green would appreciate approval and merge

#24322 is merged - @drodil @ydayagi does that mean that this one should be closed?

@freben works for me


IPTC support?

Hi.
Will LibrePhotos get IPTC support?
I use Lightroom to apply information (names, places, happenings, etc) to my pictures, and that information seems to be stored in IPTC: Keywords according to Exiftool.
But when uploading pictures to LibrePhotos, I cannot find that information anywhere. Nor can I search for that information either.
Thanks

Hello,
I'm using Shotwell, and as you it store tags information inside IPTC:Keywords. I would like too, to have this enhancement.
Thanks,


Difference in Runtimes behavior

I am having the code, that works with JS context.
In RubyRacer runtime:
ENV['EXECJS_RUNTIME']="RubyRacer"
require 'execjs'
c = ExecJS.compile("var window = {}; window.a = 5; window.b = 2;")
c.eval("window.b = 3")
c.eval("window") #=> {"a"=>5, "b"=>3}

And it looks right.
In case of Node runtime:
ENV['EXECJS_RUNTIME']="Node"
require 'execjs'
c = ExecJS.compile("var window = {}; window.a = 5; window.b = 2;")
c.eval("window.b = 3")
c.eval("window") #=> {"a"=>5, "b"=>2}

The context doesn't change after eval.
Feel like this difference in behavior breaks the idea of ExecJS.
How can I operate on the same JS context eval there multiple times in Node runtime?

This behavior is intentional.
See #28


[REP] Ray Export API.

I have two questions:

It looks like that users can not get a completed history server after the implementation of this REP. Do you have any plans to support a default history server including UI?

Yeah, we wanted to open source the export API as the first step for various dashboard persistence and scalability features. We are looking into prototyping a history server to better understand the design options.
One open question for a full history server is choosing the right backend and how to interface with it. We need to choose a light weight backend, or we should probably support plugging into multiple backends.

What's the status of this REP? Do you have any plans for the implementation of this REP?

Yes, I have an initial working version of this in review, but we need to still verify if there are any performance regressions


[FeatureRequest] Auto Update Script

Hello
can you provide an update script that automatic check for new updates and install the new updates?
Maybe with configuration backup?
It would be nice, if you get a Notification "There is a new Version" and you can simple click on update.
Best Regards
ModdyLP

Notification "There is a new Version"

This sounds good.

you can simple click on update.

This no. You should use Docker.

Why not? For Linux it would be a simple shell script which removes any old backups and create a backup of confoguration and then download the latest Version and copy the Konfiguration Form the backup to the New Installation folder.
And the script can be triggered by a click in the website

I don't like the auto-upgrade for Gogs other than pop a notification for admin there is a new version available.


Scroll function is lost

Hi @rgaiacs
Thanks so much for this! I saw it in action in one of our demo sessions and loved it.
I noticed however that the scroll function is lost - I can't use the mouse to scroll back up to previous commands and outputs.
Is this fixable?
I run Ubuntu. Let me know if you need more information?

Edit the file ~/.tmux.conf to contain the line:
setw -g mouse on

Now the mouse will scroll as expected.

This is great! Thanks!
On Wed, Apr 25, 2018 at 9:39 PM, Richard Barnes<EMAIL_ADDRESS>wrote:

Edit the file ~/.tmux.conf to contain the line:
setw -g mouse on
Now the mouse will scroll as expected.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rgaiacs/swc-shell-split-window/issues/5#issuecomment-384409399,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG4XpoI00jj9tW7Sps7WGgt7cZbHUkWBks5tsND-gaJpZM4QpjHO
.

Since a note has been added about this to README.md, I believe this issue can be closed.


Add CHANGELOG and related functionality

This PR adds a changelog to the starter project and includes it within the generated release .zip file. The version-specific change list is also parsed out of the CHANGELOG.md file and set as the body of the GitHub release generated in the release action.
In addition, I removed unnecessary Git text within the name of files uploaded to the generated GitHub release. (The 'refs.tags' text which was appended before the tag name resulted in names similar to 'release-refs.tags.v.1.0.0.zip' instead of the expected 'release-v1.0.0.zip' format)

per @oliver-walker-hms suggestion, going to add better comments to regex now.


Make example scripts more compliant with the AMUSE code style guide

Initial changes done with autopep8, with some manual fixes where autopep8 made strange choices.
Additional changes to remove "import *" occurrences and unused imports
This makes the "simple" examples (mostly) complient with the Amuse style guide

Work in progress (working on more of the examples)


Research application: Civic Technology - Wifi Hacking

Hello! My name is Jack Sui and I'm a senior in Informatics at the UW. I'm a software developer with a strong interest in cybersecurity, digital privacy, and education. I would love to work with the Clinic on several of its research topics as they align perfectly with my skills and my passions of advancing public education on digital security and technology in general.
The one research project that I am extremely interested in is Wifi Hacking as Cybersecurity Education. I stumbled upon the world of microcontrollers five years ago and I was blown away by how much computing and communication those tiny computers could do. I also loved how they are an extremely tangible form of computing, unlike web or desktop programs buried deep in a laptop. In fact, I began my microcontroller adventures on the predecessor version of the chip mentioned by that post on The Verge - the ESP8266. During my senior year at high school, I used this Wi-Fi microcontroller to help my friend in an art class create his final project: a lamp in a hallway that everyone passing by could connect to and control through their smartphone. I have worked on numerous personal projects involving microcontrollers in the past years. Today I am part of the UW's Formula SAE racing team, UW Formula Motorsports, and I develop on microcontrollers (ESP8266 included!) on a near-daily basis as the Firmware Team Lead.
Besides my experience with embedded development, I'm also an avid advocate of raising public awareness of online safety. Several of my family members and friends have had experiences with phishing and data leaks. Helping them out made me realize how important it is for me to help my communities understand the importance of cybersecurity and how it relates to their lives. When I design and build web apps, I have made a habit of always treating security as the number one goal and continuously thinking of ways to give my attackers a really bad day. This research project seems like a perfect opportunity for me to combine my knowledge of embedded programming, my passion for raising cybersecurity awareness, and my interest in ethical hacking into a fun way to expose folks to privacy and security concepts and increasing cybersecurity outreach.
With that being said, I have a couple questions regarding this project:

What population does this research project target? There is an emphasis on instruction through hardware, but hardware building isn't for everyone. Some people aren't keen to assembling electronics by hand, while others who might otherwise be interested in this topic tend to steer away from having to buy parts, in contrast to free/open-source software. How does this project define its target audience to strike the balance between the novelty and interactivity of hands-on education versus its complexity and required efforts?
Although Wi-Fi hacking is ethical under the scope of this project, it is still, well, hacking. Modern Wi-Fi hotspots tend to default to strong encryption so that unauthorized password retrieval is less likely, but deauth attacks can still seriously disrupt Wi-Fi networks. How does this project address the fact that the Wi-Fi attack techniques taught for educational purposes can be abused for actual hacking or pranking?
There are already many ESP8266/ESP32-based platforms for interacting with Wi-Fi networks, such as the HakCat mentioned by The Verge, the famous esp8266_deauther, and an array of similar hardware from USB keys all the way to watches on Amazon. Does this project aim to build on an existing hardware solution or make one from scratch?

I can devote ~5 hours per week for the rest of Fall 2022 (in person) through Winter 2023 (remote), then 10~20 hours per week for Spring 2023 (in person). My email is jacksui [at] [uw], and my availability is as follows:

Fri, Nov 11: all day
Sat, Nov 12: before noon
Sun, Nov 13: all day
Mon, Nov 14: before noon, and 5:30pm onwards
Tue, Nov 15: before 9am, and 5pm onwards
Wed, Nov 16: before 9am
Thu, Nov 17: 5pm onwards

Please let me know if any or none of these works. Thanks for considering my application and question. I'm very excited to learn more about this project and am looking forward to working with the Puget Sound Clinic! -Jack

Hi Jack - sounds like a great fit. Let me take a look at my schedule next week and propose a time with you.
Thanks!

Nudging this again. :smile: I hope you've had an awesome Thanksgiving break. I know how easily things can get lost in the mix!