Intermittently fails to boot despite 3.3V and GND pins set correctly (IDFGH-3550)

Environment

Development Kit:      [ESP32-DevKitC|none own board now]
Kit version (for WroverKit/PicoKit/DevKitC): [|v4]
Module or chip used:  ESP32-WROOM-32D
IDF version  framework-espidf 3.30300.190916 (3.3.0)
Build System:         platformIO
Compiler version toolchain-xtensa32 2.50200.80 (5.2.0)
Operating System:     [indows
(Windows only) environment type: platformIO
Using an IDE?: [No|Yes (please give details)] VSC with platformIO
Power Supply:         external 3.3V (stepped down from 9V battery using regulator)

Problem Description
The above board is being used on a custom PCB. One of the primary roles of the PCB is a power latching circuit to ensure no power is pulled from the battery when the device is off.
When the ESP is turned off, esp_restart() is called and we drive a GPIO pin high which unlatches the power supply. This means as the board shuts down the power is physically disconnected.
When we turn the device on, the power is supplied to the ESP once again and it turns on. However one time in approximately 250 on/off cycles, it fails to boot. When this happens, I've checked with the multimeted and there's 3.3V being supplied to the 3.3V pin, ground is grounded. The serial connection shows no attempt at boot at all- no startup code, no errors, nothing.
When in this state of not booting but with connected power, a successful boot can be trigger by simply grounding the EN pin. It then starts up correctly.
A theory was that the EN pin may not be high/low at the correct time during boot, however we are using the recommended RC circuit to connect the EN pin to 3.3V. I have also tried holding the EN pin at 3.3V and grounded and repeating the on/off cycle tests and still seen the same problem.
The ESP is not getting excessively hot, and the occasions it fails to boot appear to be completely random. I also removed the esp_restart() call from the shutdown code so it was shutdown solely by physical disconnect of the power, same problem.
sdkconfig.txt

firmware_elf.txt
My colleagues and I are out of ideas. Thanks!
Expected Behavior
Should boot up every time.
Actual Behavior
Fails to boot approximately one every 250 on/off cycles despite correctly set 3.3V and ground pins.
Steps to reproduce
N/A

Thanks for reporting, we will look into.

Hi @lr399,
Thanks for the detailed report. This looks like a hardware issue rather than anything with ESP-IDF, but we can try to help you here:
The circuit connected to EN looks is a little different to the peripheral schematic shown in the WROOM module datasheet (section 7), or the circuit used on Espressif dev boards. What is J7 pin 6 connected to when the ESP32 fails to start up?
Angus

Hi @projectgus, thanks for your help. J7 is either connected to a usb serial cable or left unconnected. Either way, the same problem occurs with the same regularity. J7 pin 6 is always at 0.0V when the power is disconnected and rises to 3.3V when the power is connected. I've also tried using a voltage supply to hold J7 pin 6 at 0.0V and 3.3V continuously without any affect.
I saw online about 'The discharge circuit can be applied in scenarios where ESP32 is powered on and off repeatedly by switching thepower rails, and there is a large capacitor on the VDD33 rail' and wondered if this had any relevance to this issue?

Hi @lr399,
The net at J7 pin 6 needs to be connected to ground for the RC delay circuit on the EN pin to function as intended. If it's floating (either because nothing is connected here, or because whatever is at the other end of the "USB serial cable link" isn't driving it to ground) then the capacitor at C6 is effectively removed from the circuit.
You can quickly test if this is the problem by jumpering J7 Pin 6 directly to ground on the board (J7 pin 1, I think?).
Please check  the example circuits for an Espressif development board like the DevKitC closely, and also the peripheral schematics section from the WROOM datasheet. All of these documents are available on the Espressif website.

I saw online about 'The discharge circuit can be applied in scenarios where ESP32 is powered on and off repeatedly by switching thepower rails, and there is a large capacitor on the VDD33 rail' and wondered if this had any relevance to this issue?

This sentence is from the ESP32-WROOM datasheet section 7. It refers to the problem that if the VDD power rail has a lot of capacitance, and external power is removed, then the capacitor may take a long time to discharge back to 0V. For the period of time that the VDD voltage is outside the specified voltage range for ESP32, the chip may not behave correctly.
It's possible this is the root cause of the problem you're seeing. You can verify if you need the discharge circuit by measuring the VDD voltage at the WROOM module immediately after disconnecting power. If it drops immediately to 0V, you probably don't need the discharge circuit.
Suggest also checking that the other aspects of the design match the WROOM datasheet (such as ensuring sufficient capacitance for the VDD power rail).

Hopefully you've made some progress with troubleshooting this issue.
As it's a hardware issue rather than something related to ESP-IDF then there is a limit to how much help we can give via this channel.
Espressif does offer a paid hardware design review service, you can contact via the website. Or the esp32.com forum is a good place to ask technical questions or get input on a design.
One thing I didn't notice in the original post is that the design is powered from a 9V battery. If this is a consumer 9V battery then these have high internal resistance, the ESP32 draws a low of current briefly during initial power up and this may be browning out the battery voltage and causing intermittent glitches. To confirm, use an oscilloscope to watch the various power traces during power-on. You may be able to work around this by increasing capacitance on the 3.3V rail.
Best of luck resolving the issue with the design.


Run E2E test on master branch

Minor fix for #1007

Codecov Report

Merging #1008 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1008      +/-   ##
==========================================
+ Coverage   75.09%   75.13%   +0.03%
==========================================
  Files          66       66
  Lines        5016     5016
==========================================
+ Hits         3767     3769       +2
+ Misses        929      926       -3
- Partials      320      321       +1

Flag
Coverage Δ

#go
77.51% <ø> (+0.04%)
:arrow_up:

#wasm
68.63% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

dtlstransport.go
73.82% <0%> (+1.04%)
:arrow_up:

Continue to review full report at Codecov.

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


Support for Yarn PnP

Describe the bug
When using Yarn PnP (and possibly with pnpm without some forms of hoisting?), there's no node_modules directory. In this case, the icons from an iconify pack aren't imported. With the vite example from the examples dir, with default yarn settings, I get "Internal server error: Icon mdi/alarm-off not found"
This may be an issue with a dependency (iconify?). It may also be expected behaviour -- in which case, maybe there's a less "magic" way to configure the imported icons. If so, could just document that.
I'm happy to dig into this myself, if I can get some pointers of where to look. Right now I'm not even sure if this is the right project to report this too -- a lot of magic is going on!
Reproduction
Repro'd with example from examples dir. Just take files, add yarn berry with default settings, and try yarn dev
System Info
yarn 4.1.1, latest macOS

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Yeah I was thinking of something like that. It feels like there's likely just a bit of explicit configuration that could side-step the whole problem. That would be both acceptable and way easier to maintain. I'd be happy to poke at doing something like this -- sounds like you already have an idea of what/where? Could you point me in the right direction?

Just to drop in my initial thought: use the customCollections code to provide an explicit mapping. I don't know if that could work?

I guess I buried my question. I don't know where to start with the PR :). Could you kindly point me to where the magic resolution of collections happens? Any place I could start? Context that could help me? Even a file name or a sentence or two of context?
Like I say, I don't even know if the right code is in this repository. I don't have time to wrap my head around the multiple repos involved, but can certainly start something if I know the right place to look...

I was right to be suspicious of whether the fix was in this repo: turns out this is the root cause.
Nothing for this package, so closing out.


Use metadata apis for completion

Signed-off-by: Drumil Patel<EMAIL_ADDRESS>Fixes #76
Add completion after #122

@slrtbtfs Please have a look

Thanks!


Fixed API name changes

Coverage decreased (-4.4%) to 84.599% when pulling 9b889cec1b5577fbe8d0edc54437768da051b04e on eatonphil:fix-api-stuff into 72add4df5aaf9615830390126db3a027c5071273 on linode:master.

Coverage decreased (-4.3%) to 84.742% when pulling 194e39096a6d2cd04bf1b962f4569097094926b5 on eatonphil:fix-api-stuff into 72add4df5aaf9615830390126db3a027c5071273 on linode:master.

Coverage remained the same at 89.04% when pulling da915c3cfc583546e0c48f749048a39920b15c4b on eatonphil:fix-api-stuff into 72add4df5aaf9615830390126db3a027c5071273 on linode:master.

Coverage remained the same at 89.04% when pulling 367270d42129fe8998850d71702513fc3cbb9d15 on eatonphil:fix-api-stuff into 72add4df5aaf9615830390126db3a027c5071273 on linode:master.

danke.


Local cache of schema state means horizontal replicas are out of sync after a schema change

The schema state is no longer managed in weaviate itself, but in etcd. However, there seems to be a local cache of the schema state as well, because changes aren't immediately propagated to other instances.
Solution
fix this
Workaround Alternative 1:

Scale weaviate to 1 replica
Make schema changes
Scale weaviate up to desired no. of replicas

Workaround Alternative 2:

Scale weaviate to desired no of replicas immediately
Make schema changes
Delete all pods and wait for them to come up again

An easy fix could be to just watch the key and invalidate the cache if it changes, as described in here: https://godoc.org/github.com/coreos/etcd/clientv3#example-Watcher--Watch

Still relevant. @fefi42 did you ever run into this issue in the wild? Or did we not have the need to horizontally scale the weaviate pods yet?

I did not scale weaviate pods yet.

Still relevant for as long as we have etcd, i.e. probably 1.0.0


make_hints returns default write_disposition if no disposition is provided as input

dlt version
0.4.4
Describe the problem
The make_hints function returns a TResourceHints object containing a value for write_disposition when make_hints was called without the write_disposition argument.
This is for example problematic when yielding hints in a resource:

Expected behavior
make_hints only returns hints that were explicitly provided as input in the function's arguments, not using any default values.
Steps to reproduce
from dlt.extract.hints import make_hints

print(make_hints())

output:
{'columns': {}, 'write_disposition': 'append'}
Operating system
Windows
Runtime environment
Local
Python version
3.8
dlt data source
No response
dlt destination
No response
Other deployment details
No response
Additional information
No response

new_table() adds default write disposition. we should get rid of it like we do with table_format. this will cause problem in apply_hints of resource.py and in decorator.py - they expect default write disposition to be created. so there we should pass it explicitly. some make_hints test would be cool


FIX: Workflow

https://github.com/yskszk63/stream-wasm-parser/actions/runs/3602531583/workflow

Codecov Report

Merging #5 (3ae4544) into main (2fba242) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   89.06%   89.06%
=======================================
  Files           8        8
  Lines         439      439
  Branches       54       54
=======================================
  Hits          391      391
  Misses         45       45
  Partials        3        3

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


numpy 2 compatible release

Hi,
In August numpy 2 support was added in #1599, but this hasn't been released to pypi yet - 1.1.1 came out in September.
Please could a version of pytorch-forecasting be released with that change in?
Thanks,
Tom

@fkiraly,  should we make a Pypi release for numpy 2 support?

yes, we probably should. I repeatedly got stuck with trying to fix the conda release, but we can separate that.
@fnhirwa, do you want to prepare the release or should I? I will also ping on discord to check.

yes, we probably should. I repeatedly got stuck with trying to fix the conda release, but we can separate that.
@fnhirwa, do you want to prepare the release or should I? I will also ping on discord to check.

Sure, I can prepare the release with no problem.

Pinged you on discord to suggest time slots for releasing together with screenshare, to ensure robuts handover of practical knowledge around rhe release.


Enable Live-reload on Docker

Environment
Browsers: Chrome
OS: Mac OS
Steps to reproduce

Build the app using docker-compose up --build
Change some code to see it on the screen
Reload the page
Close your docker process and restart it with docker-compose up

Expected Behavior
Page is live-reloaded
Actual Behavior
Changes aren't there even after restarting the process with docker-compose up

@Rayleigh3105 maybe you could give some advice on that?

Sure, didnt know that should also work. This should be not a bug more a feature 😀

agreed:)

I can work on this one :)

Please review the PR and let me know if I have to commit any changes :)

Thank you, @redpfire

Works great! Can it be done for backend as well? I can create a separate issue if needed

I didn't really look into your backend but i'll take a look

You actually have it set up it seems.


CCDB GE/009 - Section <IP_ADDRESS>.3

Para 62
Comment:
In SHAVS a set of 100.000 hashes is generated and every 1000 hashes are taken for tests. Why is a generation of 100 hashes enough here? Could this be less secure? Is this conform to the standard? In case of SHA-3 100.000 hashes are generated (Abstract 71).
Proposal:
Update the SD accordingly as specified in the standard or explain why a deviation from the standard is acceptable here.
Priority: 1

This would seem to be something for v1.1, but I am not certain. Does this all come from the SHA test spec?

It is a valid comment. Paragraph 62 should be updated as the following:
"The evaluators randomly generate a seed that is n bits long, where n is the length of the message digest produced by the hash function to be tested. This seed is used by a pseudorandom function to generate 100,000 message digests. One hundred of the digests (every 1000th digest) are recorded as checkpoints by following the algorithm provided in Figure 1 of SHAVS, section 6.4. The TOE then uses the same procedure to generate the same 100,000 message digests and 100 checkpoint values. The evaluators then compare the results generated ensure that the correct result is produced when the messages are generated by the TSF."

@woodbe will generate a TD for this issue and send it out for review.

https://github.com/DSC-iTC/DSC-iTC.github.io/pull/6


Ability to scroll to a specific time, fix events starting or ending on a different date

Ability to scroll to a specific time.

E.g. Loading the calendar from 8am

Fix events starting or ending on a different date

Previously only the hour and minute of a date are used for calculation.

@richardtop Thanks for the quick merge!

@v-ken thanks for this pull request and your support! 👍


Growing creatures

I don't know exactly what caused it but I'll try and explain what happened. I had a lan server and was playing with a friend, My friend left and I used the command /kill on myself which caused all mobs to instantly turn to there normal size. I tried to change there size back but I couldn't change there size at all. The next day when I did the world again there size was back to the small size.

De-sync of some sort(entity sizes were reset only on client, relogging would have fixed it), possibly already fixed because I did some rework on that stuff already

they're*

srsly?
But also a little update - I redid/fixed some of the networking so this really might be fixed


how to change request operation getList to POST

how i could change type of operation getList to POST, from listView()
E.g:

var user = nga.entity('users');
// set the fields of the user entity list view
user.listView().fields([
nga.field('name'),
nga.field('username'),
nga.field('email')
]);
admin.addEntity(user)<

i would like change this request to POST and passing some params,
someone could help me please?

As you can see here:
https://github.com/marmelab/ng-admin/blob/8c6d74bde7ca0281739f171f1353e8d40bfc59e6/src/javascripts/ng-admin/Crud/misc/RestWrapper.js#L34
ng-admin use Restangular getList method, so you must search in the Restangular doc ...
Perhaps with:
https://github.com/mgonto/restangular#addfullrequestinterceptor

See https://github.com/marmelab/ng-admin/pull/555 for a work in progress solution for this.


"DEJ" is listed in the drop-down menu

Description:
"DEJ" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Dej" in the search bar.
Expected results
The location is listed in the drop-down menu as "Municipiu DEJ, CLUJ".


[Editor] Tweak the save flow in the alt-text dialog

When the user edit an existing alt-text and remove it, we want to be able to save this state and consequently remove the done state from the alt-text button.
Remove the button from its parent when the editor is removed: it should help to save few Kb of memory.

/botio-linux preview

It doesn't seem that the tooltip is being restored correctly now:

Open the preview.
Add a Stamp-editor.
Add an altText, e.g. "hello world".
Mouse-over the altText-button to check that the tooltip is shown.
Press the Delete key to remove the editor.
Press Ctrl+Z to restore the editor.
Mouse of the altText-button, and find that the tooltop is now "gone".

/botio-linux preview


[CI] Broken Cricle CI

Since the merge of #5713 Circle is broken. I'm not sure if the problem is in plot_point_spread or just a random loky error.
see: https://circleci.com/gh/mne-tools/mne-python/10301?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
I've retriggered the builds, let's see what happens.

we have all this vtk business. Does anyone know how can we fix it?

CircleCI still (again?) fails on master with this message:
Username for 'https://github.com': fatal: could not read Username for 'https://github.com': No such file or directory

Should be fixed by 2926807dd65d89205b91677362bf19c8d7c6de5b but if not I'll keep pushing until it does :)


TypeError [ERR_INVALID_ARG_TYPE] when accessing function locally

- Do you want to request a feature or report a bug?
Report a bug
- What is the current behavior?
Accessing a function (http://localhost:8888/.netlify/functions/hello) gives an error:
_TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received null
    at validateString (internal/validators.js:117:11)
    at Object.resolve (path.js:139:9)
    at C:\Users\groninge\AppData\Roaming\npm\node_modules\netlify-cli\src\utils\serve-functions.js:166:21
    at Layer.handle [as handle_request] (C:\Users\groninge\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\express\lib\router\layer.js:95:5)
    at next (C:\Users\groninge\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\express\lib\router\route.js:137:13)
    at next (C:\Users\groninge\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\express\lib\router\route.js:131:14)
    at next (C:\Users\groninge\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\express\lib\router\route.js:131:14)
    at next (C:\Users\groninge\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\express\lib\router\route.js:131:14)
    at next (C:\Users\groninge\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\express\lib\router\route.js:131:14)
    at next (C:\Users\groninge\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\express\lib\router\route.js:131:14)_

- If the current behavior is a bug, please provide the steps to reproduce.
In an empty folder create a folder named "functions". In the folder "functions" create a hello.js file with your function for example:
exports.handler = async () => ({
  statusCode: 200,
  body: 'hello world!'
});

Add a netlify.toml file to the parent folder of the "functions" folder with the following:
[build]
    functions = "functions"

Netlify-cli is installed globally so no need to install it in the project.
Run "netlify dev", access the function and the error appears.
I found the cause is a missing "package.json" file. The "findModuleDir" function in "finders.js" is looking for this file and if it is not found it returns "null". (Is my assumption correct?)
- What is the expected behavior?
Run "netlify dev", access the function and get the expected response.
- Local Environment Information
netlify-cli/2.37.0 win32-x64 node-v12.16.1

I faced the same issue - suggested solution with package.json solved it

Closing as stale. Please re-open if needed


Upgrade versions

[x] scalapb 0.7.0
[x] grpcakkastream 0.0.9
[x] grpcmonix 0.0.7
[x] grpcgateway 0.0.9

btw, I also tested with these upgraded versions and it seems to work fine for me.
not sure why we don't just merge it though.


Android: showNativeVolumeUI stops working after app goes in the background and comes back

I'm hiding the native UI on a section of my app but I found that if I lock the screen and then turn it on again, the native UI starts appearing. I tried hiding it when the app state is active but no luck. FYI, this is only happening on Android. Any ideas?
 useEffect(() => {
   // Hide it as soon as entering the section
    VolumeManager.showNativeVolumeUI({ enabled: false });
  }, []);

  useEffect(() => {
    const listener = AppState.addEventListener('change', (nextAppState) => {
      // Hide it as soon as entering the section
      VolumeManager.showNativeVolumeUI({ enabled: nextAppState !== 'active' });
    });

    return () => {
      listener.remove();
     // Show it when leaving the section
      VolumeManager.showNativeVolumeUI({ enabled: true });
    };
  }, []);

Another thing I noticed is that after setting showNativeVolumeUI to true, setting it to false doesn't work anymore.
E.g:
useEffect(() => {
  VolumeManager.showNativeVolumeUI({ enabled: true });

  setTimeout(() => {
    // doesn't work :(
    VolumeManager.showNativeVolumeUI({ enabled: false });
  }, 10000);
}, []);

but setting it to false and then true works fine.
Any ideas? Thanks!

I'm getting the same issue on iOS.
Once I call:
VolumeManager.showNativeVolumeUI({ enabled: true });
Calling this doesn't work as you would expect:
VolumeManager.showNativeVolumeUI({ enabled: false });

There might be a logic issue here
I have to check this once I have a bit more time.
if (!flag && [strongSelf->customVolumeView superview]) {
  [strongSelf->customVolumeView removeFromSuperview];
} else if (flag && ![strongSelf->customVolumeView superview]) {
  // Potentially adjust the frame as needed, not necessarily CGRectZero
  strongSelf->customVolumeView.frame = CGRectMake(0, 0, 0, 0);
  UIViewController *topViewController = [strongSelf topMostViewController];
  [topViewController.view addSubview:strongSelf->customVolumeView];
}

might do the trick but I am not 100% sure yet.

The below code change fixed the issue for me on iOS.
On reflection, this is likely a different issue to what matiastucci experienced.
    if (flag) {
      // To show the native volume UI, ensure our customVolumeView is removed from its superview
      if ([strongSelf->customVolumeView superview]) {
        [strongSelf->customVolumeView removeFromSuperview];
      }
    } else {
      // To hide the native volume UI, add our customVolumeView offscreen if it's not already added
      if (![strongSelf->customVolumeView superview]) {
        // Ensure the customVolumeView is offscreen and not interfering visually
        strongSelf->customVolumeView.frame = CGRectMake(0, 0, 0, 0); // Set the frame to CGRectZero

        // Find the topMostViewController to add the customVolumeView to its view hierarchy
        UIViewController *topViewController = [strongSelf topMostViewController];
        if (topViewController) {
          [topViewController.view addSubview:strongSelf->customVolumeView];
        }
      }
    }`

@Kieraano yes, @matiastucci issue is related to Android. I have some ideas. I will also verify your suggestion and create some more test cases and release a new version pretty soon

Related issue

showNativeVolumeUI is not working, when app is in background state

Step to produce

Add the volume manage in background service (React-Native-Ble-Manager)

Increase random volume, it is showing UI even it is set to false

I don't think its possible to hide the volume toast when the app is backgrounded.

I don't think its possible to hide the volume toast when the app is backgrounded.

Ok, Thanks for quick reply!

Please check if the problem still exists in v2 and re-open if so


max_epochs=null is not supported

Describe the bug
For instance in the PPO trainer, with max_epochs=null (and max_steps=<some_int>):
  File "/.../NeMo-Aligner/nemo_aligner/algorithms/ppo.py", line 354, in fit
    epoch_iter = range(self.epoch, self.cfg.max_epochs)
TypeError: 'NoneType' object cannot be interpreted as an integer

We need to make sure it works for all trainers.

See discussion in https://github.com/NVIDIA/NeMo-Aligner/pull/73#discussion_r1458187158


Lower The Amount of Cpu utilized to watch a video

Is your feature request related to a problem? Please describe.
Whenever i watch a video on my Linux laptop or Windows Desktop on Odysee using chrome (or even the app)  i suffer from high amount of cpu being used (60%-80%) compared to YouTube.
Describe the solution you'd like
debloat the front end to make it light enough to watch videos without too much cpu being consumed.
Describe alternatives you've considered
Release an official non-electron native supported app For Windows And Linux Platforms.
Additional context
I hope this get`s improved as i am trying to switch from YouTube and this is genuinely the issue that is stopping me from doing that.

Sorry to hear. Does this happen on all content, even ones that have alternate video resolutions available, or only content in the original format?

it happens to all the Video content regardless of the qualities available.

What are the specs of the machines? Do you have hardware acceleration enabled or disabled?

the Linux laptop is i5 with 6gb of ram and 1000Gb hard desk,hardware acceleration enabled.
the Windows desktop is i7 with 8gb of ram and 300GB Hard desk,hardware acceleration enabled.


What to use for RFM_pins? "RFM95 not detected" Arduino Uno + MakerFabs LoRa Radio Shield

I'm using the following setup:

Arduino Uno R3 https://docs.arduino.cc/resources/pinouts/A000066-full-pinout.pdf
MakerFabs LoRa Radio Shield https://www.makerfabs.com/lora-radio-shield-868mhz.html with pin layout https://www.makerfabs.com/desfile/files/LoRa Radio Shield v1.0.pdf
The Lora Shield has a RFM95W on it.

I don't quite understand which pins to use for the RFM_pins in the example code in file "class_a_otaa.ino":
const sRFM_pins RFM_pins = {
  .CS = ?,
  .RST = ?,
  .DIO0 = ?,
  .DIO1 = ?,
  .DIO2 = ?,
  .DIO5 = ?,
};

No matter what combination I try, I keep getting the error "RFM95 not detected". Looking at https://www.makerfabs.com/desfile/files/LoRa Radio Shield v1.0.pdf the following pin mapping seems to be correct, also found on https://www.tinytronics.nl/product_files/000760_RFM98W-V2.0.pdf page 11:
const sRFM_pins RFM_pins = {
  .CS = 5,
  .RST = 6,
  .DIO0 = 14,
  .DIO1 = 15,
  .DIO2 = 16,
  .DIO5 = 7,
};

Or do I need to use the arduino pins? What am I missing?
Thanks in advance for your help

Apparently the "default" Arduino Uno worked, not sure how I missed this.
For others having this issue, please use:
const sRFM_pins RFM_pins = {
  .CS = 10,
  .RST = 9,
  .DIO0 = 2,
  .DIO1 = 3,
  .DIO2 = 4,
  .DIO5 = -1,
};


System.TypeLoadException

Exception is thrown when trying to run ASP.NET Core 2.0 app with this library:

Thank you!. Going to fix it next weekend. I've been working in a better version of this library, so didn't test it with 2.0.


Node 20

Node.js 20 is a few months old and it's becoming the next LTS (Long-term support) release in a couple of weeks (2023-10-24).
https://nodejs.dev/en/about/releases/
We don't need to upgrade it now, but if the upgrade is uneventful it may be a good idea to upgrade to it sooner rather than later.
Tests run fine.

FYI: @ushkarev rebased and resolved conflicts in package.json have another look and we can try and deploy/check this today, and then probably do the same for Incentives UI.


ping

ping
Originally posted by @lijiarui in https://github.com/wechaty/bot5.ml/pull/227#discussion_r698622518
fix

fix


How to access Linux partitions in WSL2

This looks like a google search, I know. But I didn't find an answer.
Describe the solution you'd like
I have Windows and Arch installed via dualbooting. How do I access my ext4 partitions from WSL2.
I read some articles about this but they all talk about ext4 drives, not partitions. I thought this feature is not there so I made it a feature request.
Describe alternatives you've considered
Alternatives?? For now I'm using DiskInternals Linux reader. But this thing is cumbersome and inconvenient.

I believe this is for insiders builds only right now https://devblogs.microsoft.com/commandline/access-linux-filesystems-in-windows-and-wsl-2/

I believe this is for insiders builds only right now https://devblogs.microsoft.com/commandline/access-linux-filesystems-in-windows-and-wsl-2/

Well I should've read the documentation correctly. It's given right there in plain text: 😭😭😭
https://docs.microsoft.com/en-us/windows/wsl/wsl2-mount-disk#limitations

Well I should've read the documentation correctly. It's given right there in plain text: 😭😭😭
https://docs.microsoft.com/en-us/windows/wsl/wsl2-mount-disk#limitations

This looks like a google search, I know. But I didn't find an answer.
Describe the solution you'd like
I have Windows and Arch installed via dualbooting. How do I access my ext4 partitions from WSL2.
I read some articles about this but they all talk about ext4 drives, not partitions. I thought this feature is not there so I made it a feature request.
Describe alternatives you've considered
Alternatives?? For now I'm using DiskInternals Linux reader. But this thing is cumbersome and inconvenient.

You can use \wsl$ in the address bar of file explorer!
From this guide https://www.howtogeek.com/426749/how-to-access-your-linux-wsl-files-in-windows-10/

This looks like a google search, I know. But I didn't find an answer.
Describe the solution you'd like
I have Windows and Arch installed via dualbooting. How do I access my ext4 partitions from WSL2.
I read some articles about this but they all talk about ext4 drives, not partitions. I thought this feature is not there so I made it a feature request.
Describe alternatives you've considered
Alternatives?? For now I'm using DiskInternals Linux reader. But this thing is cumbersome and inconvenient.

You can use \wsl$ in the address bar of file explorer!
From this guide https://www.howtogeek.com/426749/how-to-access-your-linux-wsl-files-in-windows-10/

@ROBYER1 I think you didn't understand my question. I need to access linux partition in wsl. Not wsl files in windows. But anyways, thanks

@ROBYER1 I think you didn't understand my question. I need to access linux partition in wsl. Not wsl files in windows. But anyways, thanks


support for commonjs

I'd like to use amplify with browserify. Please add support for commonjs modules.
I did notice a commonjs package for amplify-store.
https://www.npmjs.com/package/amplify-store

Yeah, fails with webpack. I guess I'll use radio.