fix: emit a level 2 heading for sub commands in markdown

Currently, the markdown generated emits # Header, level one.
When the markdown is rendered to HTML, it creates <h1> tags, which are incorrect from the SEO point of view. Only one h1 should be present in a page.
PR emits a h1  only for the app name and h2 for the rest.

Sure. I'm no SEO expert, I was looking for a header looking thing :)

Will try to publish this next week after finishing currently ongoing cleanups.

0.9.4 is out

Heh, 1400 items in the build queue on docs.rs...


Adjusts some styles to make the website more responsive

Done

added institution logo
adjusted the /register page responsiveness
added a link to homepage ('/') in the institution logo

Preview
Gravação de tela de 22-10-2024 20:55:37.webm

Deployed on Vercel


Identity-based idempotency support for next/head

We can have a declarative way of ensuring an element appears at-most-once in the <head>. We de-dupe based on the id attribute of an element. It could also be key but not sure if that interferes with React internals.
<Head>
  <style id="woot">{`
    /* this element will be appended at-most-once */
    /* even if it appears in multiple components */
  `}</style>
</Head>

Closing this based on https://github.com/zeit/next.js/pull/668#issuecomment-290883019


M3-2353 Part III

Description
Refactoring LinodeDetail to source information from Redux.
The ebb and flow of this is using the LinodesDetail.container pipeline to build the data object, then in LinodesDetail combine that data object with Redux thunks, and "provide" it to the lower DOM via ContextAPI.
You should read this.
Todo
Currently Linode configs and disks are only retrieved when the component mounts or updates. As users add/update/delete configs, they are not added to that internal state and are not represented accurately in the application.

[x] Add LinodeDisks to Redux.

[x] dispatch getAllLinodeDisks when disk_create, disk_delete, or disk_resize events are received.

[x] Add LinodeConfigs to Redux.

[x] Need to remove all related configs and disks when a Linode is deleted.
[ ] Reset disk state (Remove all disks and getAll) when a rebuild finishes.

Other (Can be tech story tickets for later time)

[ ] LinodeConfigs.tsx can be updated to use Paginate and OrderBy components, rather than pagey, now.
[ ] Most/many references to getLinodeConfig(s) can be updated to use the Thunk library, which would help keeping the store up-to-date.
[ ] Most/many references to getLinodeDisks can be updated to use the Thunk library, which would help keeping the store up-to-date.
[ ] Selectors getVolumesForLinode, getNotificationsForLinode, getTypeById, eventsForLinode, getLinodeConfigsForLinode, and getLinodeDisksForLinode should be memoized with reselect.

Type of Change

Non-breaking change

Note to Reviewers
Godspeed.

Coverage decreased (-0.05%) to 34.768% when pulling 9e3436c5d8d1c47aac06699c12cec3752033a8b4 on rjstires:M3-2353-part-III into de5a3b0cf05720f4b2fa05053fc45fd7908244af on linode:feature/linode-detail-refactor.

Coverage decreased (-0.05%) to 34.768% when pulling 9e3436c5d8d1c47aac06699c12cec3752033a8b4 on rjstires:M3-2353-part-III into de5a3b0cf05720f4b2fa05053fc45fd7908244af on linode:feature/linode-detail-refactor.

if you block requests -> load a detail page (see an error) -> unblock requests -> navigate away and then back, the error is still there.

Fixed @Jskobos. I've also renamed the lifecycle HOCs to be (maybe) a little more obvious about what they do and moved documentation into the files themselves.

Just got through this. Overall, I think it looks good, but I'd like to come back later with a clearer mind.
Also I wouldn't be remiss if I didn't bring up the fact that clicking around the navigation feels noticeably slower than before. Looks like some onClick handlers are taking nearly 700ms to complete. This is definitely a tradeoff with preloaded data, but I feel like we should have some plan going forward to increase the perceived time.
Maybe we can look into ways to prevent the navigation lag even though the data is still loading.

Just got through this. Overall, I think it looks good, but I'd like to come back later with a clearer mind.
Also I wouldn't be remiss if I didn't bring up the fact that clicking around the navigation feels noticeably slower than before. Looks like some onClick handlers are taking nearly 700ms to complete. This is definitely a tradeoff with preloaded data, but I feel like we should have some plan going forward to increase the perceived time. In other words, make it look like it's loading faster even though it's not
One example would be to immediately highlight the newly selected route and THEN get the data from redux - I'm not sure if this is possible but just a suggestion. As it stands now, the navigation highlighting is very laggy

You would be remiss...
Which onClick handles are you referring to? There is a note (above) about using Reselect. It's likely that the context is being recreated unnecessarily.

Upgrade experience is broken in this branch. click here is not functional. + minor visual bug with unwanted (


TP-Link Omada 5.12.7 released

TP-Link released a new version 5.12.7 on 9/20/2023, currently only available as *.deb file.
Release Notes: https://static.tp-link.com/upload/software/2023/202309/20230920/Linux Release Note.pdf

resolved with #11


Add negation on bool options

Hi all!
This pull request intends to close issue #70. The implementation uses the recently added | operator.
Hope this is useful!

@landlockedsurfer Thank you!!


const generics

Hi, you should base it on the linked list branch, it's about to get merged :)

Hi, you should base it on the linked list branch, it's about to get merged :)

Done :)

Hi @burrbull, do you want to finish this?
Else I was planning to give this conversion a go today evening after a release of heapless.

Waiting for heapless to be published :)

Ah awesome, then I'll ping you add soon as I shove it out the door :D

Hello !
It looks like heapless 0.7 with const generics is out, so I guess this is a right time for that ping, isn't it ? :)

I forgot this is my PR. :smile:

I think this looks quite good, is there something more you want to add?

I think this looks quite good, is there something more you want to add?

It would be good if someone test this on HW, but I think it should work fine.

I tested this on hardware, works fine.

Ah sorry, I forgot this PR while pushing out the last release... Do you feel like updating it based on master?
Else I'll do it when I get a little time over.

Rebased except pool example.

@burrbull made a PR for the pool example

bors try

bors try

Think this needs to go in first before tests will pass:
https://github.com/burrbull/cortex-m-rtic/pull/1

it's still somewhat odd that it's failing because of the 0.7.3 depreciation of freeze() but 0.7.1 is listed as the dependency

Seems cargo fmt wasn't happy, could you format it. We're still waiting for testexamples CI


Maximal Rectangle

https://leetcode.com/problems/maximal-rectangle/

Related: https://github.com/daemon/ml-interview/issues/43


Headers supported for iOS

Feature Request
Hello, My team has been using your library for different features and it is very useful to us, thank you !
We've recently come across the necessity to fetch a video with Authorization headers containing an authentication token and realized this was once possible for both android and iOS using the headers props but is no longer supported now.
The reason, as I understood, is the used API is private and it could cause the app to be rejected upon submission to the store. (see this issue)
Why it is needed
My team and I would very much like this feature implemented or any hint on a workaround in the meantime as it delivers a lot of value for our product.
Possible implementation
We have, unfortunately no idea whatsoever on a possible implementation.
Thank you for your time !

I feel we should add back AVURLAssetHTTPHeaderFieldsKey as this is not a private function and thus shouldn't lead to rejection. Expo are using this in their code as well. We've been setting AVURLAssetHTTPHeaderFieldsKey in our app and not got rejected. I will raise a PR for it.
https://github.com/expo/expo/blob/ee5af9cb39695818cd0bd860e083c08ad5bd3532/packages/expo-av/ios/EXAV/EXAVPlayerData.m#L116


fix(custom): stop mixing manual and automatic arg indexing

The current documentation for the custom module suggests mixing manual ({icon}) and automatic ({}) indexing of format args. Newer versions of the fmt library seem to not support this anymore (see issue #3605).
This commit introduces a name for the text output of the script, so that {text} can now be used instead of {} in the configuration. The documentation in the wiki should be updated upon rolling out this change.
An alternative way would be to just replace {} with {0} in the documentation, then this pull request wouldn’t be required.

Please, update the man (FORMAT REPLACEMENTS in waybar-custom.5.scd) and the example config.

To help users, can you add a warning if the user's format contains "{}"?

Thanks!


[cglm] Allow building for arm platforms.

This works for arm (at least on macOS).

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

/azp run

@Cheney-W My apologies. I had to force push this with a change to the author as I realized that I'd used the wrong email address.


Relationships are not working

Hy @medz, I want to appreciate you for putting up a lot of effort to bring prisma to dart/flutter. i find it hard to make a relationship between models. I tried using FluentApi and it is not working. Is there another way to do it?

I released version 4.0.0-alpha.1, which supports full Prisma include and select features.
I don't have the energy to maintain version 3.x now.


Problems with saving data file using brainflow

Hello,
I am currently trying to record data with the Muse 2 using the SSAEP experiment and a MMN experiment. When I run them apart using brainflow everything goes fine. Now I tried running the two experiements shortly after each other which results in only one data file being saved. The other experiment runs but does not save a data file in the end and produces this error:
[2023-05-17 22:13:08.678] [board_logger] [error] failed to send command h to device
Traceback (most recent call last):
File "C:\Users\Asus\anaconda3\envs\eeg-notebooks\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\Asus\anaconda3\envs\eeg-notebooks\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\Asus\anaconda3\envs\eeg-notebooks\Scripts\eegnb.exe_main.py", line 7, in
File "C:\Users\Asus\anaconda3\envs\eeg-notebooks\lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
File "C:\Users\Asus\anaconda3\envs\eeg-notebooks\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\Asus\anaconda3\envs\eeg-notebooks\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\Asus\anaconda3\envs\eeg-notebooks\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\Asus\anaconda3\envs\eeg-notebooks\lib\site-packages\click\core.py", line 760, in invoke
return _callback(*args, **kwargs)
File "C:\Users\Asus\eeg-notebooks\eegnb\cli_main.py", line 90, in runexp
run_experiment(experiment, eeg, recdur, outfname)
File "C:\Users\Asus\eeg-notebooks\eegnb\cli\utils.py", line 56, in run_experiment
module.present(duration=record_duration, eeg=eeg_device, save_fn=save_fn)  # type: ignore
File "C:\Users\Asus\eeg-notebooks\eegnb\experiments\auditory_ssaep\ssaep_onefreq.py", line 117, in present
eeg.stop()
File "C:\Users\Asus\eeg-notebooks\eegnb\devices\eeg.py", line 429, in stop
self._stop_brainflow()
File "C:\Users\Asus\eeg-notebooks\eegnb\devices\eeg.py", line 317, in _stop_brainflow
self.board.stop_stream()
File "C:\Users\Asus\anaconda3\envs\eeg-notebooks\lib\site-packages\brainflow\board_shim.py", line 1211, in stop_stream
raise BrainFlowError('unable to stop streaming session', res)
brainflow.exit_codes.BrainFlowError: BOARD_WRITE_ERROR:4 unable to stop streaming session
If I use bluemuse everything works fine. I don´t think that it has anything to do with the order (sometimes the first experiment elicits an error and sometimes the second) or the experiment itself. Any advice how I can avoid this problem?

Hey, @larastellamarie , is this error still occurring for you?

Hey, @larastellamarie , is this error still occurring for you?

Hey,
I don´t know, I am sorry. I switched to using Bluemuse after brainflow didn´t work for me but I am encountering new problems for which I opened a new issue


Remove optional chat provider

Just creating this PR to confirm that it is okay to remove the chat integration from a skill that creates chat messages.

Just creating this PR to confirm that it is okay to remove the chat integration from a skill that creates chat messages.

Technically that is ok.
We could discuss if we want to drop the slack message as well.


vboxguestadditions_spec fails

This test in tests/spec/common/vboxguestadditions_spec fails, although scripts/common/cleanup.sh clearly removes this file:
describe file('/tmp/VBoxGuestAdditions.iso') do
  it { should_not be_file }
end

Disabling this test allows the build to succeed, but that doesn't seem an appropriate fix. :)

I submitted PR #25 which seems to resolve this.

How did #25 fix this issue?  I don't see a change which would have affected the file.

That's actually a fantastic question, I don't know why I didn't initially clarify.
#25 actually fixes what I believe to be an adjacent issue.  Once that issue is resolved, this problem goes away, consistently, on multiple machines.
I would love to better understand why, I'm getting to know the project better as I iterate myself.


Multiple params not working

The multiple parameters feature, explained here, is not working.

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

ID: bf48971f-3feb-b2ef-dad0-2e7e00e3e396
Version Independent ID: 50c702bc-1c80-e413-f4e0-5b91a0a5cc7f
Content: Runbook input parameters
Content Source: articles/automation/automation-runbook-input-parameters.md
Service: automation
GitHub Login: @georgewallace
Microsoft Alias: gwallace

@henriquebrisola The first parameter in your screenshot needs a comma after $hour.. The example in the article shows the comma. Is there something else that is missing.  Looking at the article I can't find anything missing.

Oh, that's true, thanks!

@henriquebrisola No problem, thanks for reaching out and don't hesitate to reach out with any other questions. @MicrosoftDocs/azure-cxp-triage Please assign this issue to me and mark it as a product-question.


After I completed the deployment and executed the demo:

(HPT) D:\HPT>python demo/demo.py --image_path demo/einstein.jpg  --text 'Question: What is unusual about this image?\nAnswer:'  --model hpt-air-demo
usage: demo.py [-h] --image_path IMAGE_PATH [IMAGE_PATH ...] --text TEXT --model MODEL [--nproc NPROC] [--verbose]
demo.py: error: unrecognized arguments: What is unusual about this image?\nAnswer:'

I changed the single quotes to double quotes and the above problem was solved.
But for some reason it always downloads the model from the Internet, even though I have set the path to the local model.

I know, I need to modify the model parameters: python demo/demo.py --image_path demo/einstein.jpg --text "Question: What is unusual about this image?\nAnswer:" --model hpt-air-demo- local

change the bert config from huggingface to local, it will not download anymore.

change the bert config in modeling_hformer.py

change the bert config in modeling_hformer.py

change the bert config in modeling_hformer.py
bert = 'xxx/bert-base-uncased'
print('local bert:', bert)
encoder_config = BertConfig.from_pretrained(bert)


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


build(deps): Use v0.2.0 of at_c

fixes #1309
- What I did
Changed at_c ref to point to v0.2.0 (which uses MbedTLS 3.6.1)
- How I did it
- How to verify it
- Description for the changelog
build(deps): Use v0.2.0 of at_c

@cpswan I'm going to automatically address this with the changes coming in #1328


DKIM Signature Body Hash Did Not Verify

Hello all,
I use Postal as my SMTP. I have all the DNS records installed correctly : SPF DKIM and DMARC and verified 10/10 on mail-tester.
When I test these records by sending a test directly from Postal to my gmail account and then test my email header with mxtoolbox or appmaildev  I get a DKIM pass reply.
However, When I send a test email from Mautic to my gmail account and test the header with mxtoolbox or appmaildev the DKIM authentication will fail!
The reason is: ".... Expected-Body-Hash: WIOFbA0nxr9LK59pSvSPyPaEz8meJEvP78rzNyVxlsA=
DKIM-Result: fail (wrong body hash: mILyW/egpTCSgQk90NKV5kWnYZOYwm92W2KqSz9SAP8=)"
At first I thought its mautic. but then I used SMTPER and the result was a failed DKIM authentication as well.
Any Idea on how to solve this ?
Thanks

Have you seen #1175 ?

Have you seen #1175 ?

I just did but I think it's irrelevant.
Here is where I got so far by adding a DKIM setector to mautic subdomain:
In my case DKIM is valid but in:
maildev : its Valid and Authenticated
Google tools app: its Valid and Authenticated
But in mxtoolsbox:
Its valid and the body hash doesnt match.

The mxtoolsbox email header fails reading the authentication, however the https://mxtoolsbox.com/validator shows DKIM authentication.
I hope its a bug in mxtools box!?

My mistake, I got confused with #1192
If its just one system reporting a problem and your recipients are able to receive then it must be a minor confusion but could be a wider issue.

I have turned off tracking on Mautic with no success. here is the result:
https://mxtoolbox.com/Public/Tools/EmailHeaders.aspx?huid=7c65fb70-1f86-4ef0-98a1-a849529567a0

This mxtool is buggy, do not trust it really


UI: Add options to reactivate or permanently delete a soft deleted user or team

Feature
Add options to reactivate or permanently delete a soft deleted user or team
Describe the task
https://user-images.githubusercontent.com/1051198/177607761-c5c9c628-5689-4761-8c21-4c2d51900da4.mov
There is no option to manage a soft-deleted user or team.

Need backend support, re-active teams, for user we already support reactivation via put api

We need to give try to PUT API for reactivating teams @Ashish8689


list_vmwaretools_status.py

python list_vmwaretools_status.py -s XXXX -u XXX -p XXX -S
Traceback (most recent call last):
File "list_vmwaretools_status.py", line 93, in
main()
File "list_vmwaretools_status.py", line 70, in main
port=args.port)
File "/home/spider/.local/lib/python2.7/site-packages/pyVim/connect.py", line 836, in SmartConnect
sslContext)
File "/home/spider/.local/lib/python2.7/site-packages/pyVim/connect.py", line 718, in __FindSupportedVersion
sslContext)
File "/home/spider/.local/lib/python2.7/site-packages/pyVim/connect.py", line 638, in __GetServiceVersionDescription
path + "/vimServiceVersions.xml", sslContext)
File "/home/spider/.local/lib/python2.7/site-packages/pyVim/connect.py", line 604, in __GetElementTree
conn.request("GET", path)
File "/usr/lib/python2.7/httplib.py", line 1042, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 844, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1263, in connect
server_hostname=server_hostname)
File "/usr/lib/python2.7/ssl.py", line 369, in wrap_socket
_context=self)
File "/usr/lib/python2.7/ssl.py", line 617, in init
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line 846, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)
i use -S option but still have SSLError

@spidero -S is not implemented in the Sample. its issue with the sample
You can try this change in your local repo
import ssl
context = ssl._create_unverified_context()
  # connect to vc
    si = SmartConnect(
        host=args.host,
        user=args.user,
        pwd=args.password,
        port=args.port,
        sslContext=context)


Fix running 'make': upgrade to infer-annotations-1.4

It seems that 'buck' tool got infer-annotations upgraded from 1.3 to 1.4, so typing 'make' in console gave a 404 error while trying to build a 'java' target.
Fixed that by updating version to 1.4, now tests run and pass.

@astreet, @kmagiera mind looking at this?


Issues with replacing robot models

Hi there,
I created a new quadruped model with the same contents of the .yaml file in config as the spirit robot, no changes were made, and I did not modify any parameters in all controller.
When I run quad_plan.launch, the robot moves around and it shows that the nmpc solving failed.
Can this possibly be caused by what? Has anyone encountered a similar problem?

Hey geargaun,
Not only do you have to change the robot model, but within the code itself you need to change the dynamics of the quadruped. A few of these would be in the:

local planner
the matlab files in the nmpc script files to generate the dynamics of your robot
Additionally enabling these options in the corresponding launch files
Issues #312 and issue #310 highlights some of the changes within the code that needs to be changed.

@AndrewZheng-1011
Thank you very much, your suggestion is very helpful and the simulation works fine now. 👍


Add instructions for Nuxt

Trying to get this working with Nuxt. So far I have:
plugins/vue-picture-swipe.js
import Vue from 'vue'
import VuePictureSwipe from 'vue-picture-swipe'

Vue.component('vue-picture-swipe', VuePictureSwipe)

Do I also need a Vue.use(VuePictureSwipe) in this file?
nuxt.config.js
plugins: [
  { src: '~/plugins/vue-picture-swipe', ssr: false }
]

components/gallery.vue
<template lang="pug">
  div
    no-ssr
      vue-picture-swipe(:items="items")
</template>

As it's registered as a Nuxt plugin I don't have to import VuePictureSwipe from 'vue-picture-swipe' in the component.
I had to use the no-ssr tag otherwise I was getting:

The client-side rendered virtual DOM tree is not matching server-rendered content.

I'm not 100% why I have to use this as well as setting ssr: false in the nuxt.config.js file?
Any help would be great and hopefully the instructions can then be updated to include Nuxt usage?

@danchristian did you have to do anything besides what's in your first comment to get it to work in Nuxt?

According to this tutorial, you don't need ssr: false.

@danchristian Could you share an example?

@retroriff I fixed this by adding:
 build: {     transpile: ["vue-picture-swipe"],   },
inside nuxt.config.js

@K-Cyganiak That worked, thank you!


Justin extensions

I'd like to know if any of these changes are helpful (or even incorrect). I'm using these changes in a production system.

Hi @justin808, thanks for the pull request! We're currently in the process of centralizing SciRuby's gems in the organization repositories. Can you reopen your PR on sciruby/statsample?
Thanks! I'll take a look at your PR as soon as I finish moving the other gems' issues there. :)

How do I re-open the PR? Maybe open a new PR?

Yes, I think that's the easiest way. I couldn't find anything in GitHub's documentation. :(

Here's the PR....

Maybe if you close this pull request first? Then, in the "create new PR" interface, you can select to which repository you want to send the PR -- just select SciRuby/statsample.
I'm sorry, I don't know a better way to do this. =(

https://github.com/SciRuby/statsample/pull/8


quartus-prime-lite: Add postInstall option

Motivation for this change
quartus-prime-lite has a pretty large closure size of about 15GB. This option allows cutting out unneeded parts before the package is stored permanently in the nix store.
For example, if you're only going to use the twentynm platform and you're not going to use the builtin C compiler, you can cut the closure size in half with:
quartus-prime-lite.override {
  postInstall = ''
    rm -r $out/nios2eds/bin/gnu
    find $out/modelsim_ase/altera/{verilog,vhdl}/* ! -name src ! -path '*twentynm*' -delete
  '';
}

Things done
I tested a postInstall similar to the above and was still able to produce fpga images.

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 123469 at 3c4c1b9b run on x86_64-linux 1

1 package failed to build:

quartus-prime-lite

1 package built successfully:

tests.trivial

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

The robot failed to build because the package is nonfree of course. With the default postInstall, the derivation will not significantly change so there is no risk of introducing new build failures.

Unfortunately I have no clue what parts can be safely removed, I've never
used this package other than for one fpga image derivation.

Hm, I don't think I know any other packages that expose a postInstall hook in this way. If there are let me know and I'll have a look at them, otherwise this approach seems a bit at odds with how things are done in the rest of nixpkgs.
If we don't have structured options, it might be better to expose the quartus package as quartus-unwrapped or something, so that it's easier to override in different ways. I'll have a look this weekend.

I've just opened #124906, which exposes the unrwapped version as a parameter. This means you change could be applied in an overlay, like:
self: super: {
  quartus-prime-lite = super.quartus-prime-lite.override {
    unwrapped = super.quartus-prime-lite.unwrapped.overrideAttrs (o: {
      buildCommand = o.buildCommand + ''
        rm -r $out/nios2eds/bin/gnu
        find $out/modelsim_ase/altera/{verilog,vhdl}/* ! -name src ! -path '*twentynm*' -delete
      '';
    });
  };
}

Would this be sufficient for your use-case? I think that other PR has the approach of being a bit more general, because it allows other attributes of the package to be overridden as well, at the expense of slightly more code.

Thanks, that sounds good.


fixes linter warnings on EditProfile.js component

Description
Super small PR to fix warnings when login page loads.  Not a huge deal but its been bugging me for like a week 😂
Video Link
https://www.loom.com/share/af9b35efaa314c3da2341c9da84312e1
Trello Link
https://trello.com/c/tqZjVMzK
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have removed unnecessary comments/console logs from my code
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings
[x] No duplicate code left within changed files
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

Thank you for taking care of these linter warnings. Do you also see the Github Lint on Line 21 for the component in src/components/pages/Notes/Note.js? I don't know what's causing it just from the snippet I can see in Github. Maybe you can take a look?

So I did some digging and the warnings are because a few divs needed unique keys.  I'll have to submit a different PR since it is in a file that is not associated with this PR. (At least as far as I can tell I'm not able to edit it.  But could be wrong)

Thank you for taking care of these linter warnings. Do you also see the Github Lint on Line 21 for the component in src/components/pages/Notes/Note.js? I don't know what's causing it just from the snippet I can see in Github. Maybe you can take a look?

So I did some digging and the warnings are because a few divs needed unique keys. I'll have to submit a different PR since it is in a file that is not associated with this PR. (At least as far as I can tell I'm not able to edit it. But could be wrong)

Thank you for checking this, awesome work 👍


Update CDN SDK based on Swagger bug fixes:

Adding long running operation tag to some update methods.
Fixing Endpoint Create/Update parameters.
Fixing endpoint tests.

Hi @injyzarif, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (inzarif). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


[BUG] Tenant dialog still shows when tenants are disabled

When tenants are disabled in the opensearch-dashboards.yml configuration file, a dialog appears at login telling the user to ask their admin to enable multi-tenancy since no tenants are available.  The dialog has two buttons, but only the 'cancel' button is active.
This dialog also shows when creating reports, overlaying the material and preventing reports from being usable.
To Reproduce
Steps to reproduce the behavior:

disable multitenancy in the config file:

opensearch_security.multitenancy.enabled: false
# comment out or delete any other settings related to multitenancy

Restart dashboards
Log in -- dialog apears, forcing user to press cancel
pull up any dashboard
Select 'Reporting' and then select either PDF or PNG report
view report as it is downloaded through the browser
see the dialog across the report

NOTE -- if multitenancy is enabled and only 'enable_global' is true ('enable_private' is false), the user is still required to choose a global at login, but the dialog does not appear across reports.
Expected behavior
My expectation is that if multitenancy is not enabled, it should not surface in the dashboards application at all:

selecting tenant at login
option in the user profile menu (top right corner) to switch tenants should not be present
dialogs related to tenants should not appear in reports

OpenSearch Version
OpenSearch 1.1.0 (tarball)
Dashboards Version
OpenSEarch-Dashboards 1.1.0 (tarball)
Plugins
(opensearch@pro1)~/opensearch-dashboards-1.1.0>bin/opensearch-dashboards-plugin list
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Host/Environment (please complete the following information):

OS: CentOS 7.9
Browser and version Google Chrome (latest)

Additional context
This issue was discussed (with no resolution) in [the forums #5833]
(https://discuss.opendistrocommunity.dev/t/totally-disable-tenancy/5833)

Closing in favor of #838

Why this issue has been closed? what is the workaround about it? Is it generally possible to disable it?

It was a duplicate of #838 ... that issue is still open.


Pagination + i18n (Part 2)

Well, I don't know if the issue #17 issue will be visible anymore... So I prefer to create a new one. So there is my new issue/question.
Actually, I'm using your plugin with the "Jekyll Multiple Languages Plugin"... And I'm having some troubles trying to follow what @sverrirs said on this comment...
I have the following structure for posts:

And I already created two index.html in the root (one for the "en" lang and another for "es")... And then I created another two layouts...
But when I debug the paginator (at myurl.com/en/, for example), the following appears:
{"per_page"=>5, "posts"=>[], "total_posts"=>0, "total_pages"=>1, "page"=>1, "page_path"=>"/index.html", "previous_page"=>nil, "previous_page_path"=>nil, "next_page"=>nil, "next_page_path"=>nil, "first_page"=>1, "first_page_path"=>"/index.html", "last_page"=>1, "last_page_path"=>"/en/1/index.html", "page_trail"=>nil}
Is like this plugin isn't compatible with the language one? Because, as you can see, there are some posts at my _i18n folder, but is like the locale isn't able to read them (because the posts property is empty)...
What could I do?

Solved in #159.


Update _variables_mixins.scss

Blue_eyes is a color that  makes the user to relax when them use this systems.
Fixes #[replace brackets with the issue number that your pull request addresses].
Changes proposed in this pull request:

[list out summary of changes here]
[list out summary of changes here]
[list out summary of changes here]
[etc]

Note: pull requests without proper descriptions may simply be closed without further discussion. We appreciate your contributions, but need to know what you are offering in clearly described format. Thanks! (you can delete this text)
cc @HospitalRun/core-maintainers

@fooksupachai can you explain this change?


Prefix all unconstrained oracle calls with unsafe_

Note: Might not make sense to tackle given that we might get a real language support soon (see issue).
It's currently basically impossible to figure out what function results need constraining and what not. This is big danger so make sense to just prefix every function which doesn't constrain oracle results with unsafe_
Look for "TODO(#6543)" in the codebase.

Closing in favor of unsafe blocks, as introduced in https://github.com/AztecProtocol/aztec-packages/pull/8232.


Common pitfall: formatting of bookdown.yml

Another common error that needs to be added to the guide: https://github.com/jhudsl/OTTR_Template/wiki/Most-common-errors-and-pitfalls Basically the formatting of bookdown.yml is a common pitfall

Here's another easy mistake to make - forgetting a comma when you add a chapter to _bookdown.yml:

Run Rscript -e "bookdown::render_book('index.Rmd', output_format = 'all')"
Error in yaml::yaml.load(..., eval.expr = TRUE) :
Parser error: while parsing a flow sequence at line 4, column 12 did not find expected ',' or ']' at line 11, column 13
Calls:  ...  -> resolve ->  -> yaml_load ->
Execution halted
Error: Process completed with exit code 1.

Link: https://github.com/jhudsl/AnVIL_Template/runs/5995673844?check_suite_focus=true

This is added!


Upgrade MathJax

Purpose
Upgrade MathJax and resolve https://openscience.atlassian.net/browse/OSF-5876
Changes
MathJax#2.5 -> MathJax2.6

@sloria @brianjgeiger
From the MathJax changelog:

Semi-slim MathJax repository for bower. You can now use bower install components/MathJax to install a fork of MathJax without PNG fonts. Many thanks to @minrk from the IPython/Jupyter team and to the team at components!
MathJax via npm. You can now use npm install mathjax to install a copy of MathJax without PNG fonts.

Do either of these seem like they're worth investigating?

In general, we prefer npm. Either would be awesome.

Sorry minrk for accidental spam.

I tried the npm installed version and it seems like it's not going to be webpack friendly. Perhaps for now, just stick with the bower version. Sounds like this is targeted for MathJax#3.0 https://groups.google.com/d/msg/mathjax-users/UT9qMPPwbzg/N5mnj3ORBQAJ

Awesome. Can you add two screen shots of without and with the fix (and maybe the text tag to put into the wiki) so QA will be able to easily test?

Once we have that, this is ready to merge.

@brianjgeiger ready


daemon: consider getting rid of channel in main.go

At the end of main() we keep the daemon running forever by having it wait for receiving an int via a channel. This is because the controllers reconcile() assumes the daemon is always running. If we want to get rid of this piece of code we have to change the reconcile function. Consider if this change is worth it or if we keep it as is.
See https://github.com/openshift/kata-operator/pull/27/files#r522928096 for reference

/remove-lifecycle stale

We will not change this behaviour as we are not using the daemon any more in currently supported releases.


add deploy app update flag

Add flag to deploy application that signifies a "hard update" of the deployment that results in the current deployment being wiped and replaced.
Any deploy application call on an existing deployment will result in an update.
This also means update deployment will be removed as a discrete command

update to reflect recent conversations:

Deploying an undeployed application - Deploy it
Deploying a deployed application without --force: Error
Deploying a deployed application with --force but unchanged: Kill pods
Deploying a deployed application with --force and changed: Update deployment


Verify translations

Check that the file of untranslated messages is empty.

aren't there some cases were we don't need translation? so the file is not always empty? or did we remove all those cases?

I'm not sure what you mean? Every string that is in the english arb file should also be in the german arb file (even if they are the same string, because they might not be the same string in other languages).


Is it possible to fix a max length for the quill editor input ?

I cannot find an easy way to limit max length of my quill editor input ?
Does anyone know how to do it ?
I tried to add a maxlength: 50 in the { input_html } but it is not working....
My quill editor input looks like this for now :
      f.input :description,
                  as: :quill_editor,
                  input_html: {
                    data: {
                      options: {
                        modules: {
                          toolbar: [
                            ['bold', 'underline'],
                            [{ 'list': 'bullet' }]
                          ]
                        }
                      }
                    }
                  }

thanks a lot

Hey @Emilie-thp,
it's tricky to limit the length of HTML content because it also includes tags.
If you limit the length in some way the string could break the HTML structure.
With a fixed length string I would avoid an HTML editor.

Hello @blocknotes,
I see, thanks for your reply !


net::ERR_INSECURE_RESPONSE upon calling geolocator.locateByIP

I have been getting the following error message upon calling geolocator.locateByIP starting today:

GET https://www.geoplugin.net/json.gp?jsoncallback=geolocator.__ipscb net::ERR_INSECURE_RESPONSE

Thanks for reporting.
It seems GeoPlugin no longer provide a free service if HTTPS is used.
They say you need an "inexpensive SSL key". And they've changed the base secure URL to https://ssl.geoplugin.net
See details here.
But it will still work from HTTP pages.
Please use other IP sources (wikimedia) for the time being. Next release will provide more options to configure the geo-source which should resolve issues like this.

Hi onury,
Thanks for looking into this. I've created a simple repo to overcome this issue for now: https://github.com/asoesilo/geolocator.

Geolocator v2 (released) now uses Wikimedia for Geo-IP, by default.
No longer supporting multiple Geo-IP sources.
If you want to use geoplugin or another provider, pls choose one from ready-to-use configurations and/or use geolocator.setGeoIPSource() method.
Thanks.


Create-react-app test debug not stopping at breakpoint

I am really not sure what I am doing wrong here. I am trying to write unit tests and am using Enzyme and Jest (obviously). Here is what my package.json looks like
{
  "name": "balena-io-test",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
....
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "test:debug": "react-scripts --inspect-brk test --runInBand",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ],
  "devDependencies": {
    "enzyme": "^3.7.0",
    "enzyme-adapter-react-16": "^1.7.0",
    "jest": "^23.6.0",
    "jest-mock": "^23.2.0",
    "react-scripts": "^2.1.1",
    "redux-mock-store": "^1.5.3"
  }
}

Now test are running just fine with npm test and I am trying to debug with npm run test:debug.
Initially the react-script breaks at the first line which is what I would be expect but after that jest just runs without stopping at any debugger break points. I also cannot see any of the .test files in chrome. I am not sure if it is my environment which is to blame or something to do with create-react-app.
Here is a test I am trying to debug
describe('<LightingDevices>', ()=> {
  let wrapper;
  beforeAll(()=>{
    debugger;  <------ should stop here
    const updateDevice = jest.fn();
    const setUpAllLights = jest.fn();
    wrapper = shallow(<LightingDevices updateDevice={updateDevice} setUpAllLights={setUpAllLights}/>);

  });
....

Npm runner "test:debug": "react-scripts --inspect-brk test --runInBand" does not work as you expected. As far as I know the CRA codebase, all flags/arguments before the actual command are ignored. Plus, --runInBand isn't actually passed to the jest runner.
I, personally, would like to have an option to debug tests, despite the fact that I need it in very rare cases.

Yeah, I was agreeing with the issue creator; it sounds like they're doing everything right. Also I can replicate this. With a stock cra install the breakpoint works about half of the time. Really strange.

Adding --no-cache parameter seems to help (at least for me).
    "test:debug": "react-scripts  --inspect-brk test --no-cache --verbose=false --runInBand",

This parameter is also used in Debugging Tests in Visual Studio Code config, so I guess that can have something with jest cache.

This is still an issue.

--no-cache helps although this fix makes no sense to me.


Version 2.0.0-2.0.10 end of life

For security reasons, Let's Encrypt is making changes to it's ACMEv2 endpoint, requiring clients to use something it calls POST-as-GET. Read the full announcement here, but in summary it means that clients that don't implement this feature will stop working with Let's Encrypt.

[x] December 2019 - disabled for the staging endpoint (--test)
[ ] November 2020 - disabled for the production endpoint

win-acme implemented the POST-as-GET feature in version 2.1.0, which was released in November 2019. The upcoming 2.0.11 release will also support it as a stop gap measure for Windows 2008 users.
Call to action
If you are running Windows Server 2012 or above, plan to upgrade to the latest version of the software this year. There are some breaking changes between versions 2.0.x and 2.1.x, but they are actually easily mitigated.
Due to a limitation of the underlying  .NET Core 3.1 framework, the latest version of win-acme does not support Windows Server 2008. The 2.0.x branch is not actively maintained or supported, except by special request for people with a gold sponsorship on Patreon. There will however be a 2.0.11 release which supports POST-as-GET but doesn't contain any other improvements.

The 2.0.11 release is here: https://github.com/PKISharp/win-acme/releases/tag/v2.0.11

The 2.0.11 release is here: https://github.com/PKISharp/win-acme/releases/tag/v2.0.11

Thank you so much for releasing that for those us unfortunate enough to still be stuck with some ancient legacy servers :)
Unfortunately when I tried to run 2.0.11 just now I get a notice that wacs.exe could not be started: "This application requires one of the following versions of the .NET Framework: .NETFramework,Version=v4.7.2".
4.6 is apparently the latest version that can be installed on Server 2008 (4.6.1 is what I have installed, though via googling it appears only 4.6.0 advertises 2008 support now), so I'm unable to run it.

Hmm, I'll have to investigate the impact of targeting .NET 4.6.0 instead of .NET 4.7.2. If I remember correctly 4.7.2 introduced some nice new API's to create certificate requests with SAN extensions. Nothing that couldn't be done with BouncyCastle I suppose, but I don't know how much time it would take.

I've just put out a <IP_ADDRESS> release that runs on .NET Framework 4.6.1, see: https://github.com/PKISharp/win-acme/releases/tag/v<IP_ADDRESS>5

I've tested on a Win2008 and got this error:
[EROR] This program requires .NET Framework 4.7.2 or higher
The PKISharp.WACS.Services.DotNetVersionService class Check method return false if the Framework 4.7.2 or higher not installed.

It is working for me. https://www.inist.org/
Kal

[EROR] This program requires .NET Framework 4.7.2 or higher

@rbalog, I've ninja-fixed that error, if you download the latest build it should work.

@WouterTinus Works great! You rock, thanks!

We are currently using version <IP_ADDRESS>4.
After upgrading to version 2.1.5.X, can we roll back to <IP_ADDRESS>4 in case we run into any issues?

Hi @zachol72, I'd recommend you make a backup of %programdata%\win-acme before upgrading, so that you can restore that should you want to go back to the previous release.

Hi @WouterTinus
Since this topic is related with my question, instead of creating a new issue, I decided to put my question here since it might be useful for someone else.
So, I'm trying to upgrade from 1.9.12 (Currently) > 2.0.10 > 2.1.X.
I've been following the instructions on https://www.win-acme.com/manual/upgrading/ but something is not working for me and after 2 days struggling I decided that is time to ask for help.
So, I just attempted to go from v1.9.12 to v2.0.10 as you can see below but the result was not what I would expect.
Here's what I did:

Step 1) Backup %programdata%/letsencrypt-win-simple
Step 2) wacs.exe --import --verbose

Microsoft Windows [version 6.3.9600]
(c) 2013 Microsoft Corporation. Tous droits réservés.

C:\dev\win-acme.v<IP_ADDRESS>4>wacs.exe --import --verbose

 [INFO] A simple Windows ACMEv2 client (WACS)
 [INFO] Software version <IP_ADDRESS>4 (RELEASE)
 [INFO] IIS not detected
 [WARN] Scheduled task exists but does not look healthy
 [INFO] Please report issues at https://github.com/PKISharp/win-acme
 [VERB] Verbose mode logging enabled
 [VERB] Arguments: --import --verbose
 [VERB] Sending e-mails False
 [DBUG] Renewal period: 55 days
 [DBUG] Legacy config folder: C:\ProgramData\letsencrypt-win-simple\httpsacme-v0
1.api.letsencrypt.org
 [INFO] Legacy renewals 1
 [INFO] Current renewals 0
 [INFO] Importing renewal for domain.com
 [WARN] Scheduled task exists but does not look healthy

 Do you want to replace the existing task? (y/n*)  - yes

 [INFO] Deleting existing task win-acme renew (acme-v02.api.letsencrypt.org) fro
m Windows Task Scheduler.
 [INFO] Adding Task Scheduler entry with the following settings
 [INFO] - Name win-acme renew (acme-v02.api.letsencrypt.org)
 [INFO] - Path C:\dev\win-acme.v<IP_ADDRESS>4
 [INFO] - Command wacs.exe --renew --baseuri "https://acme-v02.api.letsencrypt.o
rg/"
 [INFO] - Start at 09:00:00
 [INFO] - Time limit 02:00:00
 [DBUG] Creating task to run with previously chosen credentials
 [WARN] Disable existing task letsencrypt-win-simple httpsacme-v01.api.letsencry
pt.org in Windows Task Scheduler to prevent duplicate renewals

C:\dev\win-acme.v<IP_ADDRESS>4>

 1: domain.com - renewed 0 times, due after 1970/1/1 0:00:00, 1 error
(s) like 'Imported'
 <Enter>: Back

 Type the number of a renewal to show its details, or press enter to go back: 1

 Renewal       -----------------------------------------------------------------

 Id:                  tUUHkgk1oECuJSuM3G_1Vg
 File:                tUUHkgk1oECuJSuM3G_1Vg.renewal.json
 FriendlyName:        [Auto] domain.com
 .pfx password:       0txKfek/tpgLdS4byrG4yvyuSF4jm7NAEvGKhHzfwAU=
 Renewal due:         1970/1/1 0:00:00
 Renewed:             0 times
 Target        -----------------------------------------------------------------

  - Plugin:           Manual - (Manual input)
 Validation    -----------------------------------------------------------------

  - Plugin:           FileSystem - (Save verification files on (network) path)
 CSR           -----------------------------------------------------------------

  - Plugin:           RSA - (RSA key)
 Store         -----------------------------------------------------------------

  - Plugin:           CertificateStore - (Windows Certificate Store)
 Installation  -----------------------------------------------------------------

  - Plugin:           None - (Do not run any (extra) installation steps)
 History       -----------------------------------------------------------------

 1: 2020/6/1 9:35:00 - Error - Imported

Step 3) Verify domains available for renew by using the (L) shortcut.

 1: domain.com - renewed 0 times, due after 1970/1/1 0:00:00, 1 error
(s) like 'Imported'
 <Enter>: Back

 Type the number of a renewal to show its details, or press enter to go back: 1

 Renewal       -----------------------------------------------------------------

 Id:                  tUUHkgk1oECuJSuM3G_1Vg
 File:                tUUHkgk1oECuJSuM3G_1Vg.renewal.json
 FriendlyName:        [Auto] domain.com
 .pfx password:       0txKfek/tpgLdS4byrG4yvyuSF4jm7NAEvGKhHzfwAU=
 Renewal due:         1970/1/1 0:00:00
 Renewed:             0 times
 Target        -----------------------------------------------------------------

  - Plugin:           Manual - (Manual input)
 Validation    -----------------------------------------------------------------

  - Plugin:           FileSystem - (Save verification files on (network) path)
 CSR           -----------------------------------------------------------------

  - Plugin:           RSA - (RSA key)
 Store         -----------------------------------------------------------------

  - Plugin:           CertificateStore - (Windows Certificate Store)
 Installation  -----------------------------------------------------------------

  - Plugin:           None - (Do not run any (extra) installation steps)
 History       -----------------------------------------------------------------

 1: 2020/6/1 9:35:00 - Error - Imported

and here's the renewal:
Then this is the content of my -renewal.json
{
  "Id": "tUUHkgk1...M3G_1Vg",
  "LastFriendlyName": "domain.com",
  "PfxPasswordProtected": "enc-AQAAANCMnd8BFdERjH....zB2EdgVqi1LiCSphsyarWh3FmSJAAAAAl7q8BkkrXbkyIsanXDuRhlvUuGbGXq/28Y3Xqq1Z2ezO3uCujc6b+GEAi0HjfChH/5/bcKXgaDl5iPw4TPRdWw==",
  "TargetPluginOptions": {
    "CommonName": "domain.com",
    "AlternativeNames": [],
    "Plugin": "e239db3b-b42f-48aa-b64f-46d4f3e9941b"
  },
  "ValidationPluginOptions": {
    "Path": "",
    "CopyWebConfig": false,
    "Plugin": "1c77b3a4-5310-4c46-92c6-00d866e84d6b"
  },
  "CsrPluginOptions": {
    "Plugin": "b9060d4b-c2d3-49ac-b37f-962e7c3cbe9d"
  },
  "StorePluginOptions": [
    {
      "KeepExisting": false,
      "Plugin": "e30adc8e-d756-4e16-a6f2-450f784b1a97"
    }
  ],
  "InstallationPluginOptions": [
    {
      "Plugin": "aecc502c-5f75-43d2-b578-f95d50c79ea1"
    }
  ],
  "History": [
    {
      "Date": "2020-06-01T09:35:00.4330048Z",
      "Success": false,
      "ErrorMessage": "Imported"
    }
  ]
}

Am I doing something wrong?
In order to upgrade a renew process is required? Or running the --import flag is enough?

My certificate is due after 2020-03-16 which means I can't make any renewals until then.

In order to upgrade a renew process is required? Or running the --import flag is enough?

Renew is not required but recommended, you'll want to test if the new version is working according to your expectations right?

My certificate is due after 2020-03-16 which means I can't make any renewals until then.

No it doesn't, you can renew at any time (unless you spam the Let's Encrypt servers too much).

I was also having issues making this run on a server 2008 R1 SP2
Sure I wanna move the sites off, but until I get them rebuilt, (they are front page) so they must stay there.
I tried using the special release, v<IP_ADDRESS>2 and it says I must have .NET 4.6.1
In reality 4.6.1 is listed as requiring R2, but after installing 4.6.0 I was able to use the web installer for 4.6.1 so if anyone runs into that, give that a try

Looks like this is no longer going to happen: https://community.letsencrypt.org/t/acme-v2-scheduled-deprecation-of-unauthenticated-resource-gets/74380/5
So releases 2.0.0-2.0.10 will remain usable for the forseeable future.


Infer site broken over HTTPS

GitHub now support HTTPS for custom domains (see https://blog.github.com/2018-05-01-github-pages-custom-domains-https/).
Currently, the Infer site is broken over HTTPS, as all the URLs in the HTML appear to be hard-coded to use "http://": https://fbinfer.com
I'd suggest changing everything to use HTTPS, and then enable the "Enforce HTTPS" option in the GitHub settings.

Thanks @Daniel15 for reporting this.

Awesome! This looks fixed, however HTTPS is still not enforced. We're trying to enforce HTTPS across all Facebook sites. @jeremydubreil or @theopolis would you please be able to enable "Enforce HTTPS" in the repo settings?

I’ll create a task for the Open Source team oncall. We don’t have admin access to the repo to enable enforce.


Median DataSetProcessor

This is useful to remove zingers

I think this is available via Masker https://github.com/TomographicImaging/CIL/blob/81c8d16d915695718f5be725ec8eeafb5d5cb00d/Wrappers/Python/cil/processors/Masker.py#L57


fix: cross-origin isolation for preview

fixes #213
According to Vite's documentation, it seems that it is possible to add headers with the preview.headers option, but it doesn't seem to work. I fix it in this workaround (the issue is as of Vite 3, but it is still valid in the current Vite 4).

thank you!


fix broken link / consolidate fetch dataset

Link to "Replay Datasets" has a trailing dash which broke the link
I found it useful to pull one entire dataset directory, added howto as well as a warning 9Gb for entire set

@fryguy04 Thank you so much!


feat(react): add support for automated react wrapper #23

Changes to be committed:
new file:   custom-elements-manifest.config.mjs
new file:   custom-elements.json
modified:   package-lock.json
modified:   package.json
new file:   react/AuroAvatar.jsx
Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: #23
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
The scope of this PR is to support the concept of generating an automated element manifest supporting the automated generation of a React wrapper.
Type of change:
Please delete options that are not relevant.

[x] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

To test this, I used the React demo project created by @geoffrich and npm linked the project to the updated auro avatar project. When running the demo, I get the following error.
../avatar/react/AuroAvatar.jsx 56:9
Module parse failed: Unexpected token (56:9)
File was processed with these loaders:
 *<EMAIL_ADDRESS>You may need an additional loader to handle the result of these loaders.
|   }, [type]);
|
>   return <auro-avatar ref={ref}>{children}</auro-avatar>;
| }
|


Deposit API allows duplicate uuid for Deposit.

Should probably reject duplicates as part of the HTTP response.

what exactly do you mean by duplicate?

It is possible to make two deposits with the same uuid value. For starters, UUIDs should be unique so this should be enforced. Secondly, they are used to refer to deposits in the API so their uniqueness should be enforced.
This can happen if a mistake is made writing an agent.


Update Post “README”

Automatically generated by Netlify CMS

👷 Deploy Preview for hotplate-docs processing.

Name
Link

🔨 Latest commit
df4cf0712a090110c6d0c09db92ada72ffa9414c

🔍 Latest deploy log
https://app.netlify.com/sites/hotplate-docs/deploys/62bcf1de0c6c4f0009e52d00


How to enable CTransformers load model_file from Google Drive?

I'm using from langchain.llms import CTransformers
I found error
ValidationError: 1 validation error for CTransformers
not found in '/root/.cache/huggingface/hub/

You can directly pass the model file path using model parameter:
llm = CTransformers(model=mpath, model_type="falcon", ...)

No need to specify model_file here.


Update composer.json for 1.0 release

I wonder if the require section should be updated to just use the 1.0 stable release of Zend\Expressive now?
https://github.com/zendframework/zend-expressive-skeleton/blob/master/composer.json#L21
And are the other requirements up to date?

See PR #72.

Missed that. Sorry. Closing


Clarifying honor_labels documentation

Previously, the wording could be misunderstood as setting honor_labels
to "false" for federation.
This also adds scraping the Pushgateway as a typical use case for
honor_labels=true.
Signed-off-by: beorn7<EMAIL_ADDRESS>

:+1:


Any reason why session.vim isn't listed in .gitignore?

Just wonderin' :)

Hey looks like this never got fixed :)  I'm closing out some old open issues.  Happy 2021!

Hey looks like this never got fixed :)  I'm closing out some old open issues.  Happy 2021!


Bug with non image file upload

Laravel Version: 5.4.17
PHP Version: 7.1.3
Database Driver & Version: pdo_mysql, mysql 5.7.17

Description:
When uploaded files are of the type image, they get uploaded properly. Non-image (atleast PDF in my case) doesn't work.
Steps To Reproduce:

Make an upload form (with proper setup i.e. enctype and input component with multiple files)
Put validation in place ('field.*' => 'required|image')
Upload an image file, it should work
Change validation appropriately (required|mimesType:application/pdf)
With the same code upload a non-image file and you should get an error with the upload (validation.uploaded is triggered) in the session error

Some more details
Doing a dump on $request to investigate gave some more details, which may be helpful. When it errors, it has the following request dump:
0 => UploadedFile {#111
      -test: false
      -originalName: "filename.pdf"
      -mimeType: "application/octet-stream"
      -size: 0
      -error: 1
      #hashName: null
      path: ""
      filename: ""
      basename: ""
      pathname: ""
      extension: ""
      realPath: "CODEHOME/public"
      aTime: 1970-01-01 01:00:00
      mTime: 1970-01-01 01:00:00
      cTime: 1970-01-01 01:00:00
      inode: false
      size: false
      perms: 00
      owner: false
      group: false
      type: false
      writable: false
      readable: false
      executable: false
      file: false
      dir: false
      link: false
    }

but when it works, i.e. with the image file, the dump is more sensible
    0 => UploadedFile {#111
      -test: false
      -originalName: "12040002.jpg"
      -mimeType: "image/jpeg"
      -size: 807682
      -error: 0
      #hashName: null
      path: "/tmp"
      filename: "phpBTeakk"
      basename: "phpBTeakk"
      pathname: "/tmp/phpBTeakk"
      extension: ""
      realPath: "/tmp/phpBTeakk"
      aTime: 2017-04-04 22:56:50
      mTime: 2017-04-04 22:56:50
      cTime: 2017-04-04 22:56:50
      inode: 37365
      size: 807682
      perms: 0100600
      owner: 33
      group: 33
      type: "file"
      writable: true
      readable: true
      executable: false
      file: true
      dir: false
      link: false
    }

Note that while I have mentioned the validation details above, the dump is taken prior to the validator method in the controller, so it probably shouldn't have any impact on the issue.
As is visible, it's probably trying to upload the file to the project root, instead of '/tmp' when doing the non-image upload and that's why it's likely failing.
(I have just renamed the folder name in the dump to CODEHOME)

validation.uploaded means the file failed to upload, there are many reasons for that that you need to explore yourself.

You're correct, and that was my first thought as well.
As I have explained in the issue above, I have used the same upload form while changing only the type of file I uploaded. Also, the files being uploaded were from the same local folder.
The realPath changing makes me inclined to think that this could be a bug.
I will continue to check this further and report back if anything changes.

what is the size of the pdf you are uploading? Are you sure it is not greater than your file max size?

Okay, there is an update.
Good: Other files were uploading
Bad: One particular PDF is not uploading. Renaming it doesn't help either. It's not a secure file but of PDF-1.5 format. The ones I can upload are PDF-1.4

@laurencei wow, this is embarrassing. The one thing I should've checked, I never event thought to do. That's indeed the case.
Closing the bug

what is the size of the pdf you are uploading? Are you sure it is not greater than your file max size?

Thanks , it works for me .

same problem with me with any file what is the reason??


Provide a way to automatically install new requirements

We need more shiny Python modulesssss :snake:

👍

:+1:


Downgrade cargo package when latest version is yanked

In a Rust project, I merged a PR from dependabot to upgrade bitflags to 1.0.5. Later, the 1.0.5 release was yanked. I think in this case it'd be appropriate for dependabot to lower the version to 1.0.4, the otherwise latest version. I think this behavior makes sense because if I run cargo update locally, I get a downgrade. You can see this with the following repository: https://github.com/alex/csv-sql

Yes! Beyond Rust, this would be useful for all package ecosystems that support yanking. Eg I recently got bit by a hang bug in grpc's pip package, https://github.com/grpc/grpc/issues/31885. They eventually yanked the affected release version, 1.52.0, but dependabot had already upgraded my projects, so I had to debug myself and eventually figure out the affected dependency and what to do about it, https://github.com/grpc/grpc/issues/31885#issuecomment-1461244306. Would definitely have been nice if dependabot spared me that!


Updating to capacitor electron 5.0.1 breaks db connection

Updating to latest capacitor community electron (5.0.1) breaks db initialization.
When running in dev mode I just see the app dieing without any context. When creating an installer and running it from the terminal I get: [4172:0929/141145.426:ERROR:crashpad_client_win.cc(844)] not connected
Had the same issue with typeorm and without.

OS: Windows
Browser: Electron v26
Version: 5.2.3

Could you update the examples to use the latest capacitor electron?
I suspect they are doing something differently on version 26 of electron that might break the IPC between the renderer and the electron browser. I might be way off tho.

@CosminCraciun i was just testing it and discuter that it does not work so for the time being stay with<EMAIL_ADDRESS>

@CosminCraciun it works well with this in the electron package.json
  "dependencies": {
    "@capacitor-community/electron": "^5.0.1",
    "@capacitor-community/sqlite": "^5.2.5",
    "better-sqlite3-multiple-ciphers": "^8.4.0",
    "chokidar": "~3.5.3",
    "crypto": "^1.0.1",
    "crypto-js": "^4.1.1",
    "electron-is-dev": "~2.0.0",
    "electron-json-storage": "^4.6.0",
    "electron-serve": "~1.1.0",
    "electron-unhandled": "~4.0.1",
    "electron-updater": "~5.0.1",
    "electron-window-state": "~5.0.3",
    "jszip": "^3.10.1",
    "node-fetch": "2.6.7"
  },
  "devDependencies": {
    "@electron/rebuild": "^3.3.0",
    "@types/better-sqlite3": "^7.6.4",
    "@types/crypto-js": "^4.1.1",
    "@types/electron-json-storage": "^4.5.0",
    "electron": "^25.8.4",
    "electron-builder": "^24.6.4",
    "typescript": "^5.0.2"
  },

seems to indicate that it is not the upgrade of @capacitor-community/electron to 5.0.1 it seems to come from the upgrade to electron 26

@CosminCraciun As soon as i update to Electron 26.x.x i got called ipcMain.handle: CapacitorSQLite-open

@CosminCraciun as i mentioned it is coming from better_sqlite3 so we have to wait for a fix from them sorry for that

@CosminCraciun Can you try with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>and tell me if it works

Yeah, it works fine. Thanks

OK thanks so i will upgrade the documentation. So i close the issue


[$500] Android - Task - Background image in task report appears cropped after cancelling the task

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.21-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to 1:1 DM > + > Assign task
Create a task
Open the task report
Tap 3-dot menu > Cancel
Cancel the task

Expected Result:
The background image in task report will not appear cropped after cancelling the task
Actual Result:
The background image in task report appears cropped after cancelling the task
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/a11df018-ef32-4d1c-b467-7bee1493c7e3
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f32de82628d0256b
Upwork Job ID:<PHONE_NUMBER>820069888
Last Price Increase: 2024-01-25
Automatic offers:

aimane-chnaif | Contributor | 28124230
aswin-s | Contributor | 28143615

Proposal
Please re-state the problem that we are trying to solve in this issue.
The EmptyStateBackground image on deleted task page looks clipped
What is the root cause of that problem?
The AnimatedEmptyStateBackground component is wrapped inside a Fragment for TaskReport. This seems to cause the image to get clipped on small screen devices.
https://github.com/Expensify/App/blob/d4c3e63956e9c14838592172c7e0e8596b0814cf/src/pages/home/report/ReportActionItem.js#L586-L598
This causes edges of the image to get clipped when there is not enough height for the image container.
What changes do you think we should make in order to solve the problem?
Replace empty fragment with a view
<View >
  <AnimatedEmptyStateBackground />
  <View style={[StyleUtils.getReportWelcomeTopMarginStyle(props.isSmallScreenWidth)]}>
    <ReportActionItemSingle
      action={parentReportAction}
      showHeader={_.isUndefined(props.draftMessage)}
      report={props.report}
    >
        <RenderHTML html={`<comment>${props.translate('parentReportAction.deletedTask')}</comment>`} />
    </ReportActionItemSingle>
    <View style={styles.reportHorizontalRule} />
  </View>
</View

Result
Before

After

What alternative solutions did you explore? (Optional)
None (edited)

Withdrawing my first proposal as it seems to break on web.

Proposal
Please re-state the problem that we are trying to solve in this issue.
The EmptyStateBackground image on deleted task page looks clipped
What is the root cause of that problem?
Animated background image used to be an SVG image. Recently that was replaced with a PNG. Earlier we used to set the container width to 200% to make the SVG image appear covering the screen on small screens.
https://github.com/Expensify/App/blob/d4c3e63956e9c14838592172c7e0e8596b0814cf/src/styles/utils/index.ts#L704
Now this is not required as PNG images properly apply the resizeMode within the container.
What changes do you think we should make in order to solve the problem?
Set BackgroundImage container width to 100%
if (isSmallScreenWidth) {
        return {
            height: emptyStateBackground.SMALL_SCREEN.IMAGE_HEIGHT,
            width: '100%',
            position: 'absolute',
        };
}

Now the image translation logic needs to be adjusted as width is now set to 100%
https://github.com/Expensify/App/blob/d4c3e63956e9c14838592172c7e0e8596b0814cf/src/pages/home/report/AnimatedEmptyStateBackground.tsx#L16
to
const IMAGE_OFFSET_X = 0;

Result

Before
After

What alternative solutions did you explore? (Optional)
None (edited)

Proposal
Please re-state the problem that we are trying to solve in this issue.
The report background image is cut off on a canceled task report.
What is the root cause of that problem?
In short, the view container height is smaller than the background height.
The image height is defined by IMAGE_HEIGHT.
https://github.com/Expensify/App/blob/d800d60c967e40cd73184a77cf59456100d7109c/src/CONST.ts#L134-L143
On a small screen, the height is 300. When the task is canceled, we render a simple [Deleted task] message.
https://github.com/Expensify/App/blob/d800d60c967e40cd73184a77cf59456100d7109c/src/pages/home/report/ReportActionItem.js#L584-L599
The height is around 70 and we have a margin-top style from getReportWelcomeTopMarginStyle. It's defined by VIEW_HEIGHT above and the value is 185. So, the total height is around 255 and it's smaller than 300.
What changes do you think we should make in order to solve the problem?

Update the min-height (defined by CONTAINER_MINHEIGHT) at least to 300.
Then, we will update the task view in ReportActionItem by wrapping it with a View following the same pattern in ReportActionItemParentAction
https://github.com/Expensify/App/blob/6e5a5a22b3017d1550f21e4de60c1906ed2db413/src/pages/home/report/ReportActionItemParentAction.js#L65-L69

<View style={StyleUtils.getReportWelcomeContainerStyle(props.isSmallScreenWidth)}>
    <AnimatedEmptyStateBackground />
    <View style={[StyleUtils.getReportWelcomeTopMarginStyle(props.isSmallScreenWidth)]}/>
    <View>
        <ReportActionItemSingle
            action={parentReportAction}
            showHeader={_.isUndefined(props.draftMessage)}
            report={props.report}
        >
            <RenderHTML html={`<comment>${props.translate('parentReportAction.deletedTask')}</comment>`} />
        </ReportActionItemSingle>
        <View style={styles.reportHorizontalRule} />
    </View>
</View>

(do the same for non-canceled task)

Proposal
Please re-state the problem that we are trying to solve in this issue.
For android, an empty state image in the task report clipped and doesn't looks correct
What is the root cause of that problem?
Currently, Parent of the absolute image have flex-direction: column-reverse; and due to that absolute position starting points will be incorrect. Due to that it overflows in the empty area which will be the unalloted area and in android it clipped to the boundary which creates this issue.
Problem arises after this PR where the parent View gets removed which we had earlier here.
https://github.com/Expensify/App/pull/30815/files#diff-e6bee90bf18ae0cad1bb445ed9a9c0d989476874f1005810c0f8e93f1f39b99cL635

Issue
https://github.com/Expensify/App/assets/14358475/fc010930-3892-4ddb-a0e1-b3936709a95c

What changes do you think we should make in order to solve the problem?
We should re-add parent by replacing fragment with View below places which corrects the position of an absolute image.
https://github.com/Expensify/App/blob/1752bc58bfc93a9b6dbaef41072bdf2593cc4820/src/pages/home/report/ReportActionItem.js#L586-L587
https://github.com/Expensify/App/blob/1752bc58bfc93a9b6dbaef41072bdf2593cc4820/src/pages/home/report/ReportActionItem.js#L602-L603

Awaiting proposal review @alitoshmatov

Missed this one, working now

Based on this comment the styles applied to that View is adjusted to other place, seems that is the reason they have removed the View.

Thoughts on the above @alitoshmatov?

Bump @alitoshmatov :)

Sorry I was having trouble with android environment for a couple of days, don't know when exactly solve my problem. It would great if we could reassign this issue. Once again, sorry for inconvenience
cc: @greg-schroeder

Okay, grabbing a new C+

Reassigning to @aimane-chnaif as new C+

Still in review

@aimane-chnaif Updated my proposal with RCA on android.
On Android the Flatlist contentContainer clips anything that gets rendered outside its bounds. Even adding overflow: 'visible' doesn't help. So the absolutely positioned image gets clipped by the contentContainer bounds on Android.

ScrollView clips children even with overflow: 'visible'

I have no issue with just wrapping with <View /> which is @Pujan92's solution.
@aswin-s @bernhardoj can you explain your additional changes why they're needed?

@aimane-chnaif
It breaks on web. Especially when you resize the window.

@aimane-chnaif Looks like this got fixed for Android on main (PR https://github.com/Expensify/App/pull/35232). However it introduced the regression here.  Also on web it still shows cropped image on some resolutions. Should I still proceed? @situchan FYI Since you reviewed the PR https://github.com/Expensify/App/pull/35232

So it sounds like we've still got some issues to fix here?

No, it's past comment. We're waiting for https://github.com/Expensify/App/pull/36261 to hit staging.

Perfect! Thanks for setting me straight @aimane-chnaif 👍

C and C+ paid. Can you complete the checklist @aimane-chnaif? Thanks!

Bump @aimane-chnaif

Friendly bump to get this checklist done @aimane-chnaif!

@aimane-chnaif any chance we can knock this out?

@aimane-chnaif please jump on this one so we can close it, thank you!

Oh, Aimane is OOO. @aswin-s any chance you could step in for the checklist?

Bump @aimane-chnaif or @aswin-s

No sweat! Thanks @aimane-chnaif


Hours charts not displaying for year 2020

Looks like it's happening for the entire team.
https://www.staffplan.com/staffplans
Looking at my staff plan, there are hours planned for next year but it's not visible in the chart at the top.
https://www.staffplan.com/staffplans/4
Noticing in Safari 12.1, Mac 10.14.4

Works for me, Safari and Chrome. Maybe try updating Safari?

Nevermind!
Had my fiscal year toggle onto 2019 only.


Use 1 as argument for count method instead of :all, as it is going to return the non …

…zero rows anyhow and reduce the overhead

This is a common misconception but COUNT(1) absolutely doesn't reduce overhead or go faster, if anything it's slower in some databases.
In this Rails code :all is an alias for *. And count(*) is optimised by the database as specified by the SQL standard; it's a special case—the * isn't actually an expression, it doesn't select all columns—so it's the fastest way to get a count. count(1) is not a special case so may or may not be optimised, for example Postgres has to check the value of 1 for every row to make sure it's not NULL (it never will be of course but it still checks).
This is a helpful breakdown of the syntax from MS SQL Server docs:
COUNT ( { [ [ ALL | DISTINCT ] expression ] | * } )

And the PostgreSQL docs list the two forms separately:
count(*) -- number of input rows
count(expression) -- number of input rows for which the value of expression is not null

I've seen benchmarks but for my own curiosity I tried a few queries in Postgres on some of our large tables: sure enough count(*) is slightly faster than count(1).
In some databases count(1) is also special cased and re-written into count(*) internally since so many people mistakenly do it. Oracle is one such database, but there's no guarantee; count(*) is the standard optimisation, count(1) may be a vendor specific optimisation.
TLDR: Always use count(*) as it's either faster than count(1) or identical.
https://docs.oracle.com/cd/E11882_01/server.112/e41084/functions039.htm#SQLRF00624
https://www.postgresql.org/docs/10/static/functions-aggregate.html
https://docs.microsoft.com/en-us/sql/t-sql/functions/count-transact-sql?view=sql-server-2017
http://sql.standout-dev.com/2017/01/count-vs-count1-again/#comment-119
https://stackoverflow.com/a/1221649/2311847
https://stackoverflow.com/a/50371522/2311847

I expect you noticed the Rails Admin dashboard is slow, which is a good thing to notice and try to fix :)
Here is a really interesting article that explains why the count() function is slow [in many databases] and some alternatives such as using the query planner stats. But those stats are database specific so couldn't easily be done to speed up here. https://www.citusdata.com/blog/2016/10/12/count-performance/


Russian translation

Outline
I propose to add a Russian translation of the plugin.
How?
I will upload my finished translation
russian.zip

russian.zip

Thanks, I'll add it!

Added in #86


When using the example_i2s_adc_dac, can't find 'storage' (IDFGH-5455)

Environment

Development Kit:      [ESP32-DevKitC]
Kit version (for DevKitC): [v4]
Module or chip used:  [ESP32-WROOM-32D]
IDF version (run git describe --tags to find it):
// v4.3
Build System:         [idf.py]
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System:     [Windows]
(Windows only) environment type: [ESP Command Prompt|Plain Command Prompt].
Using an IDE?: [No]
Power Supply:         [USB]

Problem Description
When I using the example path:esp-idf\examples\peripherals\i2s_adc_dac, I found that the 'xTaskCreate(example_i2s_adc_dac, "example_i2s_adc_dac", 1024 * 2, NULL, 5, NULL);' did't work, and the terminal shows that 'E (385) ad/da: Partition error: can't find partition name: storage'. It seems that the function'esp_partition_find_first' can't find 'storage'. So I check 'partitions_adc_dac_example.csv', and found that the value of offset of the 'storage' is empty. So i think before I flash this demo, i should change the address of 'storage', but I don't know how to deal with the address of flash.
//Detailed problem description goes here.
Expected Behavior

Actual Behavior

## Debug Logs

Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is too long.

## Other items if possible

- [ ] sdkconfig file (attach the sdkconfig file from your project folder)
- [ ] elf file in the ``build`` folder (**note this may contain all the code details and symbols of your project.**)
- [ ] coredump (This provides stacks of tasks.)

I am sorry that i have missing the progress that set the Partition Table by idf.py menuconfig. After Rename the CSV file, the example can successfully run.

Thanks for reporting and good to hear the issue resolved, feel free to reopen.


Plugin not working on KiCad 7

I download this plugin from KiCad PCM, upon use and showed this error when using this plugin.

I'm surprised the PCM even lets you download it as it's tagged only for KiCad 6, but yes there's some API changes that mean the plugin will need updating. I'm a bit too busy to do it right now but I'll get round to it eventually. Or if anyone else feels up for doing it feel free to submit a pull request.

thanks for reply, Sorry I'm bad at python coding so I will leave it to others :)

Might as well leave this open so others can see it

I have tried today to see if I can update but somehow seems to be more complicated that expected...
naively using self.board.GetAllNetClasses() results in

The netclass stuff was rewritten and the api is now a bit broken. I have submitted a pull request here: https://gitlab.com/kicad/code/kicad/-/merge_requests/1533
Once that (or something similar) gets merged, the plugin will work again, following the changes I pushed yesterday.

Thanks for submitting that PR! I hope it gets merged soon :-)

I can confirm.. kicad patched with the 1533 and git plugin works.

It's merged, it should also get cherry-picked for 7.0.1. I will publish a new release when that comes out.

The patch is part of the nightly builds, so the plugin should work with those. I just added some very basic progress bar stuff, it would be helpful if someone can test it out on Mac as I only have Linux and Windows here.

It doesn't work for me. Windows 11, KiCAD 7 official release. I tried the install from the plugin manager, and of course it didn't work. But I wanted to get the folder name of where it wanted it. Then I unzipped master, copied it over everything in that folder (C:\Users\Fred\Documents\Kicad\7.0\3rdparty\plugins\com_github_mitxela_kicad-round-tracks), deleted the cache folder and tried again. I loads the first screen, I check the box to make a new file, and tell it to run. Another box pops up saying "processing", but nothing happens. I can't close the window because "close" is grayed out. It is stuck at "processing". I have to load the task manager to terminate KiCAD to be able to get out of it.
Then I saw that I needed the nightly build of KiCAD, so got this: [kicad-nightly-r31999.79f13ea9c7-x86_64-lite.exe] from today. I just installed over top of the one in the 7.0 folder instead of having yet an other 7.99 folder. It acted like a new install asking what settings I wanted, but everything is there. The about version says 7.99. I get the same exact error:

tested in linux and works... are you sure you put the new files from git in the right place?
I used the release script to bundle them in.

Working! You were right. I went to uninstall and realized that even though I said to copy things to the 7.0 folder, I could see 7.99. So I looked in preferences to see path locations and it still changed 2 of the paths (3rdparty being one of them) to 7.99. I think that is a bug in Kicad. I changed the paths to point to 7.0 and it worked. Thank you. I LOVE this plugin ;)

Somehow plugin doesn't work on latest 7.99 nightly build. I mean it works but does nothing. I also tried creating new project. It just shows progress bar, then shows popup saying that work is done but tracks are still "unrounded".

It seems to still be working for me. I tried it on 7.99.0-342-gd714ff8549 with the latest version of round-tracks (c0a4fb8).
Can you try it on a very simple project? Also try running it with the scripting console open to see if there are any python errors. Otherwise maybe share a project where it's not working.

Probably I'm just dumb and missing something, but I tried creating new project with just one trace and it still doing nothing.
I tried installing plugin (v1.2) from KiCad Plugin manager then changing files inside the folder to latest files from github and deleting pycache folder, tried uninstalling that plugin and just unzipping current github repo (https://github.com/mitxela/kicad-round-tracks/commit/c0a4fb819697a50a7257ffe14afa4d7378cd3b88) into KiCad\7.99\3rdparty\plugins\kicad-round-tracks-master again. Getting no errors don't know what to do next. Should I delete 7.99 folder completely and try to reinstall KiCad?

Should I delete 7.99 folder completely and try to reinstall KiCad?

Anyway, thank you for your answer! Maybe if someone will encounter same problem they can see my msg.

I installed my KiCAD in the same 7.0 folder so I don't keep having to have a different folder (like 7.99) every time I install. But KiCAD leaves 2 of the folders pointing to the old folder name. No matter where you install it, you just have to make sure it is looking in the right place for the plugins

KiCad 7.0.1 is now released, you can download round tracks 1.4 from PCM.


[PE-D][Tester E] Application non responsive after adding too many logs

Steps to reproduce

List user
use addlog command continuously with string length of 10K for about 23-24 times

Your browser does not support the video tag.video:https://raw.githubusercontent.com/tohhengxing/ped/main/files/c0312650-634b-4196-bd2e-304e0d29bef8.mov

Labels: severity.Low type.FunctionalityBug
original: tohhengxing/ped#1

@SuhailLoya @AppleJem @celeschai I think we can't do much about this, should we enforce max length for some of the fields and/or add a clause under non-functional requirement that the application is only expected to handle input lengths of up to x

230k words is ... insane.

does it help to put it in NFR?

closed with previous PR


docker: explicit PATH environment settings

The explicit PATH settings should fix troubles observed by @egabancho @greut @switowski @kaplun
@egabancho can you please test on your setup?

:+1:

Works :)

:rocket:

@tiborsimko fair enough, it makes sense from the docker exec perspective.


[FEATURE] Party page

Implement the Party page with its components as shown in figma

https://www.figma.com/file/qsMQDinvZsQc9iskmPiUPe/ScreenShr?type=design&node-id=3-73&mode=design&t=pVI0Uuj1CBqNHTGx-0

Resolved


[Bug][dolphinscheduler-common]  When you request the URL through applicationID to get the application status, you cannot get it if Kerberos authentication is enabled

When you request the URL through applicationID to get the application status, you cannot get it if Kerberos authentication is enabled
eg:

yarn.application.status.address=http://ark1:8088/ws/v1/cluster/apps/%s

this is my test log

3264 this pr, did you fix your problem?

3264 this pr, did you fix your problem?

3264 Have to repair，I've just made some changes


show graph of relative giving/receiving

I'd like to see a graph of "number of people making more than they invest" and vice versa.

@buchuki

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Closing in light of our decision to shut down Gratipay.
Thank you all for a great run, and I'm sorry it didn't work out! 😞  💃


websocket frame

can anyone tell me what is websocket frame?? it would be great if someone gives an example. TIA

Read the RFC 6455.


Toubleshooting with build on npm

Please check build log

The same, error TS2307: Cannot find module '@mailupinc/bee-plugin'

Same issue:
Cannot find module '@mailupinc/bee-plugin' or its corresponding type declarations.ts(2307)

the builded package is pure, only license, package.json and readme

Is this one fixed already?

This is what we are getting<EMAIL_ADDRESS>package missing the dist folder
Please fix asap.

1.3.7 gives me the same error as @yuliia-liaison but I was able to get my code to compile using (exact version) 1.3.6

I'm also experiencing this issue:
[12:38:27]Browserslist: caniuse-lite is outdated. Please run:
[12:38:27]npx browserslist@latest --update-db
[12:38:27]
[12:38:27]Why you should do it regularly:
[12:38:27]https://github.com/browserslist/browserslist#browsers-data-updating
[12:38:55]Failed to compile.
[12:38:55]
[12:38:55]./src/common/components/bee-free-editor/BeeFreeEditor.tsx
[12:38:55]Cannot find module: '@mailupinc/bee-plugin'. Make sure this package is installed.
[12:38:55]
[12:38:55]You can install this package by running: yarn add @mailupinc/bee-plugin.
This has appeared in my build logs in the last 4 days

trouble is fixed


Reserve bevy_voxel or something similar

I've already started working on a modular plugin bundle for bevy that will add a voxel renderer and other stuff useful for a voxel game.
Edit for explanation: I'm not planning on releasing it until it's somewhat functional in the way that I imagine it. By that I mean dynamic lighting, lod, terraing generation, etc.

great idea. done!


Improve type casting

@MathiasReker Sorry but I must close this pull request. It doesn't bring any value in fixing a bug or implementing a feature.


Problem with catalog bean...?

I'm receiving "Error creating bean with name 'catalog' defined in class path resource" errors when trying to push the broker service app. Feels like I'm missing something obvious...
My application.yml, manifest.yml and logs from the app startup are all attached.
application.txt
manifest.txt
broker-startup.txt

@camattin From the startup logs, I can see that the services array expected in the Catalog config is null.  Perhaps this is because Spring configuration is starting with a different active profile than the production profile you've configured in the application.yml.
You can try adding the Spring active profile environment variable to your CF manifest.yml like so:
---
applications:
- name: ecs-broker
  path: ./build/libs/ecs-cf-service-broker-0.0.1-SNAPSHOT.jar
  env:
    SPRING_PROFILES_ACTIVE: production

Let me know if that works.
Thanks!
-Aaron

That did the trick, the ecs-broker is now up and running.  Thanks!

@camattin Awesome. Let me know if anything else comes up.


Update description of mtval2 in CSR table

While it is always a guest physical address for the hypervisor
traps, when used by a double trap it holds an mcause value.
Change the description to "second trap value" to match the description
used in the section heading. While touching this line also sync the
description of the other CSRs in this part of the table.

I think we can also fix up stval and vstval - they also have the label from their old names sbadaddr/vsbadaddr

Agreed with both of @ved-rivos's comments. Ping me when it's time to merge.


NewFeature Local borehole thermal resistance

Is the local borehole thermal resistance computed and stored anywhere inside of the pipe objects?

It is not computed or stored, since there is currently no use for it in the pipes module.
It could easily be evaluated at the initialization of pipe objects after the calculation of the _Rd matrix.

I might need it for design purposes, and it would also be nice to have it as a reference point. Are you okay with adding a function that computes the local borehole resistance given a pipe object, mass flow rate and fluid?

I see an opportunity for a new feature with this issue.
We could add a update_thermal_resistance() method to the pipe classes, which would build the thermal resistance matrix, initialize stored coefficients (like it is done in the __init__ methods) and return R_b. This adds the possibility to have time-varying resistances during simulations.
A prototype implementation for the SingleUTube class:
def update_thermal_resistance(self, R_fp)
    # Delta-circuit thermal resistances
    self._Rd = thermal_resistances(
        self.pos, self.r_out, self.b.r_b, self.k_s, self.k_g, R_fp, J=self.J)[1]
    self.R_fp = R_fp

    # Initialize stored_coefficients
    self._initialize_stored_coefficients()

    # Evaluate borehole thermal resistance
    R_b = 1 / np.trace(1 / self._Rd)
    return R_b

I can concur, there is a need for an update_thermal_resistance() method.


Make schemas folder a submodule

You might want to make lib/schemas folder a git submodule pointing to https://github.com/nalgeon/iuliia repo. This will make it easier to keep schemas up to date.
If you consider doing so:

Delete existing schemas folder and commit.
Re-add it as submodule:

git submodule add https://github.com/nalgeon/iuliia lib/schemas

Commit and push.

That's a good idea. I'll take a look on that soon.

Done: https://github.com/adnikiforov/iuliia-rb/commit/6378abc0f9db2a1362795ea4927aaed65e937d01


gc: support multiple snapshot labels

Snapshots, unlike content do not support using labels to link one item to multiple snapshots. The current edges are defined in #1398.  This is a proposal to update the parsing of the snapshots label to support multiple links.
An example of this label would look like...
containerd.io/gc.ref.snapshot.overlay/1
I am proposing using a / rather than . here to preserve . to be used in snapshotter names. Using a / is already considered invalid for snapshotter names since they are used in directory names. It might be worth considering also updating the content labels to also support / for consistency.

The current edges are defined in #1398.

As part of this could we write this into a document (docs/foo or godoc as you deem appropriate) rather than an issue/pr description please.

As part of this could we write this into a document (docs/foo or godoc as you deem appropriate) rather than an issue/pr description please.

Yes, we should document the current supported labels since they should be considered part of the API that we support in 1.0

So is 1 the container id?

Like with content, that part is actually ignored by GC and only used by the client to differentiate. It should be meaningful to the client, but doesn't have to be as long as it is unique. This could just be auto incrementing number for example. It could also be a containerd id, but I don't see how that has much value if you want multiple per container id.

So what's an example where I have multiple snapshots attached to a container?  How would that look?

You would see labels like

You should see labels like
containerd.io/gc.ref.snapshot.overlay/1=sha256:328382,containerd.io/gc.ref.snapshot.overlay/2=sha256:3827372

On the container?

I guess I don't understand how labels like that will work.
I would like so do something like this:
s1 := newSnapshot()
s2 := newSnapshot()

associate(s1, container)
associate(s2, container)
container.SnapshotKey = s1.Key

container.Delete()
// both s1,s2 get GC'd

So is 1 the container id?
Like with content, that part is actually ignored by GC and only used by the client to differentiate.

FWIW I found that a bit niggly in the code in buildkit which munges the gc links — the original refs/links (produced by the containerd client side code) use containerd.io/gc.ref.content.«N» for «N» in [0, 1, 2] and then buildkit adds some more using containerd.io/gc.ref.content.«hash» where «hash» is the digest of the layer being referenced.
That works and the use of «hash» seems safe (modulo clashes because it's a short form hash) but the use of «N» is potentially a problem -- it means that the user of the containerd client library needs to be aware of this schema and take steps to avoid and/or remain compatible i.e. if buildkit had used «N» the result may not have been as expected (I expect the authors noticed this and that's why a hash is in use).
I suppose what I'm saying is that specific the schema used by the containerd client library for these things should be incorporated into the documentation, at least before those bindings are declared stable. Not sure if you were including that specific aspect within "we should document the current supported labels" above or if you were just meaning the generic form without the specifics.
It might even be helpful to go further and recommend the users of the client libs follow some specific recommendations for the links or even provide helpers for adding such links.

not sure how opinionated we should be about what the client sets for these undefined part of the labels

The client already sets references some today (e.g. towards the end of remote/handlers.go:commitOpts(), but also in the OCI importer and in image.Unpack) so we are already opinionated about those and need tell people what those opinions are so they can work alongside them with their own labels.

Take in a label hash map, a content type, what it is linked to and generate the label with a hashed key?

What is the content-type used for, is it to derive the «foo» in gc.ref.«foo».%s (i.e. it might be used to select snapshot vs content)?
In any case something which takes a label hash map + the thing to refer to (+ whatever other metadata is needed) and updates the hash map sounds like a reasonable baseline thing to provide.
If we wanted to increase the convenience then we could consider adding content.Manage.AddSnapshotGCRefs(from Descriptor, to ...Descriptor) to add refs from from to all members of to (and similar for other resources). That would fit nicely with the buildkit use case but I don't know how representative that is.


Turned off dyson - no response

Hi Joe,
Thanks for the plug, it is awesome.
I recently figured out that when I turned off the Dyson fan from the wall plug, it would become 'no response' and cause issue to other accessories in the same homebridge instance.
I am now running two instances of homebridge with Dyson fan on its own so that I can turn off the fan from wall plug without affecting other accessories.
Just wanted to share this to others using this plugin.

I am also facing this problem. I tend to disconnect my dyson fan from the wall outlet very often because I carry it from one room to another regularly.
So this is a common scenario for me, yet the fact it's not powered will make the homebridge plugin interfere with updates from all other accessories configured, eventually leaving all of them with a "No Response" error.
A sort of periodic heartbeat request/ping timeout to the dyson fan could mark accessory's reachability characteristic as false and thus would allow for other accessories to proceed with their own update requests, wouldn't it ?

has this issue ever been addressed ?

Hi lamjoey,
I'm having the same issue now I think. I had installed this plugin and it both has blocked my homebridge devices from being contacted while outside my home network and I can't get the dyson fan to turn on again (even manually). How did you resolve this?

I just made dyson run on an instance that is on its own, for example, homebridge1 has dyson and dyson only, homebridge2 will have all my other devices.  So when the Dyson fan is turned off form the plug, only homebridge1 will die and homebridge2 will keep going.

This was already fixed https://github.com/joe-ng/homebridge-dyson-link/commit/a77e16de1f64d16f60ba2e8a96e12ff640c0c0d6 afyik. It was discussed in issue; https://github.com/joe-ng/homebridge-dyson-link/issues/88 - i guess this one should be closed?