[Proposal] have you consider adding voltage display in status bar

there is a interesting function at the bottom of this code ↓
https://github.com/piotr022/UV_K5_playground/blob/main/libs/views/rssi_sbar.hpp
it can display battery voltage in the status bar beside the battery icon
I have try to integrate this in your code and bulid my own firmware ,but I'm just not good enough in coding skills.

Yes I've thought about adding some battery text (either voltage or percent) to the status bar, but to do so means removing other indicators to make room for the text, such as the keylock and USB-C/charge indicator.
The code you're pointing too shows the battery voltage only when the radio is not on charge and the function key is not pressed and the keylock is not active.
I'll do that and see how it goes, I'll make it a compile option. Bare with me.

I've added two compile options, you can now show the battery voltage or the battery percentage on the top status bar. Think I prefer percentage myself. Anyway, let me know if any problems with it.

nice work .
I got two small problems
1.Its update frequency is too slow. thus some case it shows different voltage than the menu voltage. I think a few second should be reasonable.
Same problem goes with the charging percent display.

2.When i plugin the programming cable it shows a high voltage, that's no problem but the display was missing a pixel. this confuse me...  a 9 is not any fatter than a 8 ,why is this happening

compare the two pic I uploaded you'll see what am talking about.

That is a very high voltage for a lithium battery, keep an eye on your battery !!
Trying to think what would cause that pixel problem. It's a strange one as all displays as far as I know are a fixed 128 pixels wide on all the K5/K6's. Won't stop looking till I work it out.
Is your radio an early version do you know ? .. ie, did you get it when the radio first came out.

I've set the update rate for the status bar to a regular 1 second if the user has enabled voltage/percentage in the status bar. Will see how that goes.

I've found the pixel problem, hopefully now fixed - let me know.

I also have the issue with the voltage jump when the programming cable is plugged in. But I think it is QS/design issue of the device because it is available with the original firmware too.
Procedure to observe it:
1.Plug in the USB of the programming cable to a PC.
2. Power-on the device and select the voltage menu to monitor the measure
3. Plug in the programming cable to the device
The displayed voltage will jump to 10+ volts ?!?
It is possible to be the programming cable? I am using "WakeSnow Programming cable" which is an octopus with 8 types of WT connectors. I've measured to power consummation on the USB - there is no significant jump on the current., though...

I don't see the voltage jump up on my two K5(8)'s. I'm using a baofeng programming cable.
Maybe they changed the schematic slightly with the K5(8) / K6 ?

I am playing with the "jenuine" UV-K5. Both have same same Voltage behavior...

Looks the same as my uv-k5(8)'s.
I'm sure it's not a problem, it's probably something to do with where on the circuit they are monitoring the voltage from using the ADC. I was limiting the voltage reading to 8.45V until today, which was hiding the true reading really, now I just show whatever the voltage is reported by the ADC.

Could you also print 'V' after the voltage digits?

Could you also print 'V' after the voltage digits?

No because there's no more room, it would cover up the VOX symbol if I go any further left ..

Maybe you can just check how much real estate is there in the status bar, and if it is full, either do not show voltage at all or show only digits. If there is enough space (almost no icons showing) in the right corner, show ths full thing (digits + V). If some of the space is empty but it is not in the right corner, find where it is and draw it there.

Try it now, I've made it work as you suggested.

I've added a battery text menu option "BATTXT", so removed the compile option.
If there is space on the status bar, it will show the text, if not enough space, it won't show the text.

Works very good!

I researched for a while and found the real reason why the 9.30 character occasionally lacked a pixel. The culprit was the battery icon. When the battery changed from 3 to 4 grids, the battery icon would quietly move left and right by one pixel! The latest firmware still has this problem, I will try to analyze the bitmap to see if there is a bug.
As for the problem of excessive voltage, I used a USB ammeter to test the current of the USB interface. It was only about 5mA, which is basically the same as when the flash cable is unloaded. I also tested the battery voltage. After plugging in the programming cable, when the screen showed the voltage rising, there was no fluctuation in the actual battery voltage. My hardware version is V1.4, produced in July 2023.

I think this may have something todo with issue#12

I think I found it. The code is a bit messy with some things like drawing to the screen from vastly different parts of the firmware, it needs bringing together a bit really to unify some things so as not to cause this type of problem.
I didn't know there was another battery symbol drawing function elsewhere, but I do now.
Please let me know if the problem still happena.

Nice job!
I also trackdown the code and did found UI_DisplayBattery,but when i see UI_DisplayBattery(gLowBatteryCountdown);I assume this was only called when the battery is low ,so missed the real reason.

I'm assuming the problem showed up when your battery was low, another routine elsewhere in the firmware writes it's own battery symbol when the battery falls below a set level.

problem also showed up when i plugin programming cable the battery goes from 3 bar to 4 bar

Is it fixed ? .. no ones mentioned if it'[s OK or not now

it's fixed now   I mean it also showed up 3 to 4 before you last fix to this , sorry for the misleading.

No no it's fine, just didn't know if the fix worked ok for everyone.


[SPARK-40914][CONNECT] Mark internal API to be private[connect]

What changes were proposed in this pull request?

This PR proposes to mark non-public API as package private. E.g. private[connect].
Why are the changes needed?

This is to control our API surface and don't expose non-public API.
Does this PR introduce any user-facing change?

NO
How was this patch tested?

UT

R: @cloud-fan @HyukjinKwon

Thinking about this more, I think only the client is the user-facing API of Spark Connect. We can mark the entire connect package as private, and remove all the API tagging (Unstable, Since, etc.).

@cloud-fan
This also makes sense. Proto but server is not.
Can you share an example of how to mark the entire package as private?

For catalyst, what we did is to not generate API doc for it: https://github.com/apache/spark/blob/master/project/SparkBuild.scala#L1179
No public doc means everything in this package is private.

Can one of the admins verify this patch?

Thanks everyone. I choose to apply the suggestion that mark the entire server module as private. The server implementation shouldn't be public API anyway. Only proto and DataFrames in clients are public API.

Merged to master.
The failed test is completely unrelated to this change.


Port flatfield

@zonca test_flat.py is good to go. I deleted the jupyter notebooks in f3789642b309e87470fd80479520412c3e647ae5.

Also rebase on master before merging

implemented the 3 small fixes mentioned here (iris_readout, makefile and rebasing) in #82 to avoid messing up your branch. It worked fine, so I am merging #82 and closing this.


Windows: Fix histogram test failures

Jenkins, test this please

Jenkins CI test (for commit c592e23d40b8b41b50b8a0d0479bf4c9403a33f3, target branch master) failed with status FAILURE.

Fixed all tests in test_histogram.py! (Failures: 986 -> 956)

This is ready. Failed tests do not seem related.

label: cat:bug
This PR fixes the main code, while #4776 fixes the test code.


pg-promise version

You are probably the only one using such an ancient version of pg-promise.
The current one is 3.3.1, and if you upgrade to it, you will be able to access lots of new features that will make your code much better.

@vitaly-t Yeah, I have many issues on this project which require overhauling existing code. I think it will be a month before I have the bandwidth for any code clean up or overhaul. This is a good issue to keep around when time frees up to clean up.
I have been using your recommendations for new features as much as possible, although now the code is a mess of different styles.
You can think of this like alpha software. Features must come first. The optimizations and cleanup can only happen later. :(

For example, you could shrink this code into half: https://github.com/medic/medic-analytics/blob/master/libs/xmlforms/index.js
I would show you how, but you need first upgrade the pg-promise version ;)

Local testing works fine using<EMAIL_ADDRESS>and TravisCI seemed okay with the change. Above commit takes care of upgrading pg-promise.


[flutter_tools] Refactor DeferredComponents validator and add build target

Part of a series of PRs for https://github.com/flutter/flutter/issues/57617 and https://github.com/flutter/flutter/issues/73345
Split off from https://github.com/flutter/flutter/pull/63773
Adds a new build target that executes configured tasks of DeferredComponentsSetupValidator. This target allows the validator to run as part of the assemble target and only when needed. Configurability via DeferredComponentsSetupValidatorTasks allows code reuse between multiple instances of running the validator with different sets of tasks.
In an upcoming PR, this will be used in build_appbundle.dart and assemble.dart commands.

Some thoughts:
If we must have pre-validation, it should be entirely separate from the build target/system. It cannot run any builds/touch the build system, or do any sort of compilation.
If a part of the process needs to parse output from gen_snapshot, et cetera, it needs to run as part of the build.
I would at a minimum drop the enum system, instead the pre validation and build validation should be separate. I'm also a bit concerned about the need for the clearOutputDir step. This should not be necessary as long as flutter or gradle is tracking all the outputs correctly.

Made the changes discussed offline. Most of this PR's changed lines is now the refactor of the validator into two classes.
They share the same base class which implements the result handling to ensure consistency in logging format.


Add function for register push notification token

Adding a function for updating the push notification token.
Authors: @noer024 @samuelfekete

@flashcoffeedev any estimation when this could be released?

@smikheiev We will release it on Monday


DOC BUG + no way to inspect the number of events returned by Poll

The doc on Poll::poll says:
`poll` returns the number of readiness events that have been pushed into
`events`

This is no longer the case as Poll::poll returns a Result<()> now.
Also, Events doesn't have a len or size inspector, so it's impossible to know the number of events without counting the number of items iterated.

You're right the doc needs to be updated. Code here: https://github.com/tokio-rs/mio/blob/ac0515cc9519f228d39bb0d9055955faf7f75f34/src/poll.rs#L290-L295

As for actually getting the number of events; it was decided against adding ExactSizeIterator in #1023.

@Thomasdezeeuw How about an is_empty? That at least allows callers to suspect if the poll ended because of a timeout instead of because of an event.

@Thomasdezeeuw How about an is_empty? That at least allows callers to suspect if the poll ended because of a timeout instead of because of an event.

Seems reasonable: https://github.com/tokio-rs/mio/blob/7a073b62e5a4609ba491e63a4b25d0f1ef65d3ce/src/event/events.rs#L108-L120 :)

@stevenroose is the Event::is_empty good enough for you? Can this issue be closed?

Closing as resolved, @stevenroose if this is not the case please let me know.

Sorry, I missed the e-mail. This is indeed perfect for me, thanks.


AXILite BFM error: Timeout waiting for WREADY

Hello,
I have an error in axilite_write(). The procedure doesnt receive WREADY and I dont know why...
This is a simple example: https://pastebin.com/tHkMxzh2
I have the error:
UVVM: =========================================================================================================================================================================
UVVM: ***  TB_FAILURE #1  ***
UVVM:           190 ns   AXILITE BFM
UVVM:                    axilite_write(A:x"00000000", x"00000002") => Failed. Boolean was false. ': Timeout waiting for WREADY'
UVVM:
UVVM: Simulator has been paused as requested after 1 TB_FAILURE
UVVM: *** To find the root cause of this alert, step out the HDL calling stack in your simulator. ***
UVVM: *** For example, step out until you reach the call from the test sequencer. ***
UVVM: =========================================================================================================================================================================

Hi,
Have you set up the VVC in another file?
I will recommend that you have a look at the VVC Framework Manual (in uvvm_vvc_framework\doc ) and look at the test bench in bitvis_uart/tb.
Br,
Marius


crypto/ed25519: add Secure Elliptic Curve Cryptography

Go implements elliptic curve cryptography in the "crypto/elliptic" package. However, this package only implements the NIST curves P-224, P-256, P-384 and P-521. All of these curves are have weaknesses.
There is an implementation of the secure elliptic curve "25519" in the package "crypto/ed25519". However, this implementation only supports signing and not encryption and decryption.
It should be possible to add at least Curve25519 for ECC encryption and decryption and I suggest to implement it.

CC @FiloSottile via https://dev.golang.org/owners


registry: automation tokens cannot create dist-tags

Summary
Currently automation tokens does not support creating new dist-tags, and as such are limited to publishing to existing tags.
Intended Outcome

An Automation Token can be used to create a new dist-tag

Questions
Should an automation token be able to delete a dist-tag?
References
https://github.com/npm/feedback/discussions/108
https://github.com/semantic-release/npm/issues/298#issuecomment-737185327

Update April 2nd 2021:
This work item did not get prioritized in Q1. We are following up with the engineering team to figure out when we can get this out.

Update May 4th
A fix for this has been implemented and deployed to production 🎉


Investigate SOPS

Details
Currently, git-crypt is being used within the repository and works nicely, however, there is no visibility into the secret structure of the resource so users who fork the repo don't know what key pair values are required in these secret objects without having to inspect each sealed secret respectively.
SOPs provides encryption similar to git-crypt whilst allowing the structure to be viewable and providing a DIFF in the pull request process.

During testing decided to use GCP KMS https://github.com/mozilla/sops#22encrypting-using-gcp-kms
Overall I'm quite happy with SOPS and it could be a nice replacement for git-crypt, although it feels like just an extra layer of redundancy as sealed-secrets also provides the secret structure, although the caveat is it cannot be decrypted external to the cluster (it can be but is discouraged).
If SOPS were to be a replacement to git-crypt it would also require a nice wrapper script to decrypt all the files similar to the functionality you would get with git-crypt unlock rather than decrypting individual files.
Additionally using the .sops.yaml config file would be useful: https://github.com/mozilla/sops#210using-sopsyaml-conf-to-select-kmspgp-for-new-files.
One added benefit to using SOPS is it can be an easy replacement for sealed-secrets also when using Fluxv2, although sealed-secrets is more geared to a multi-tenant type environment which is still good practice to use in this demonstration cluster.

The first implementation of SOPS will be running it in parallel with git-crypt. Additional investigation might be required to determine how running audit mode can be leveraged using a PostgreSQL DB potentially hosted in CloudSQL in GCP.
https://github.com/mozilla/sops#215auditing

Deciding SOPS will be used in conjunction with git-crypt and will not remove sealed-secrets at this present time.


Add Storybook integration to improve documentation

What this PR does / why we need it:
Integrates Storybook to provide better documentation with live examples, enhancing developer experience.

This commit addresses issue #8 by integrating Storybook into the project.
Storybook provides a comprehensive, interactive documentation site.
Users can see live examples and better understand how to configure and use the components.
This enhancement improves the developer experience with clear, visual, and interactive examples.
Included are the Storybook setup and basic configuration files for smooth integration and usability.

Which issue(s) this PR fixes:

Fixes #8
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?:

Added Storybook for interactive documentation.

Additional documentation:

None

Checklist:

[x] Added relevant tests or not required
[x] Didn't break anything

Summary by CodeRabbit

New Features

Introduced Storybook configurations to enhance UI component development and testing.
Added new Button, Header, and Page components with interactive states.
Created comprehensive styling for buttons and headers to improve visual consistency.
Added a new documentation file for configuring Storybook effectively.

Bug Fixes

Updated styling rules and CSS classes for better responsiveness and user experience.

Documentation

Improved README with new sections and formatting for clarity.
Added a guide for configuring Storybook and utilizing its features efficiently.

👍😎😎


Fix branch display on nightly report on slack

Questions
Answers

Description?
Fix branch display on nightly report on slack

Type?
bug fix

BC breaks?
no

Deprecations?
no

Fixed ticket?
fixes

How to test?
no tests needed

Possible impacts?
none

Thanks @boubkerbribri


feat: Support updates

resolves #110

Codecov Report

Merging #112 (3c98a79) into main (48af770) will increase coverage by 0.07%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #112      +/-   ##
==========================================
+ Coverage   98.87%   98.95%   +0.07%
==========================================
  Files          23       24       +1
  Lines        1249     1340      +91
==========================================
+ Hits         1235     1326      +91
  Misses         14       14

Impacted Files
Coverage Δ

qtgql/codegen/graphql_ref.py
100.00% <100.00%> (ø)

qtgql/codegen/introspection.py
99.27% <100.00%> (-0.10%)
:arrow_down:

qtgql/codegen/py/compiler/query.py
100.00% <100.00%> (ø)

qtgql/codegen/py/compiler/template.py
100.00% <100.00%> (ø)

qtgql/codegen/py/objecttype.py
98.61% <100.00%> (-0.08%)
:arrow_down:

qtgql/codegen/py/runtime/bases.py
100.00% <100.00%> (ø)

qtgql/codegen/py/runtime/custom_scalars.py
98.48% <100.00%> (+0.09%)
:arrow_up:

qtgql/codegen/py/runtime/queryhandler.py
100.00% <100.00%> (ø)

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


Add column

have we ensured that these https://github.com/oracle-samples/oci-data-science-ai-samples/pull/182/commits/e1e93953fce5b92f46d3d2161062167b31b5128c have been made invalid?


AttributeError: grid_search_pipelines

Received the following error when setting perform_feature_selection=True:

AttributeError                            Traceback (most recent call last)
 in ()
----> 1 predictor.train(x_train, verbose=True, model_names=['LGBMRegressor'], perform_feature_selection=True)
/home/ubuntu/venv/lib/python3.5/site-packages/auto_ml/predictor.py in train(self, raw_training_data, user_input_func, optimize_final_model, write_gs_param_results_to_file, perform_feature_selection, verbose, X_test, y_test, ml_for_analytics, take_log_of_y, model_names, perform_feature_scaling, calibrate_final_model, _scorer, scoring, verify_features, training_params, grid_search_params, compare_all_models, cv, feature_learning, fl_data)
485         del self.X_test
486         del self.y_test
--> 487         del self.grid_search_pipelines
488         del X_df
489
AttributeError: grid_search_pipelines

hmmm... that one shouldn't be throwing an error.
I don't have a test explicitly for that combination of params (LGBM and perform_feature_selection=True), but i've got several tests for each one individually, and all the tests pass.
It looks like we don't use that attribute at all any more, so I'll delete the two references to it that we have, and this exact bug will be fixed. But I'm more concerned that this is a bug at all, because it should be covered by our test suite, and we've had plenty of people run with those parameters in the past. That inconsistency is worrying.
Do you mind telling me which version of auto_ml you're using, and if you've made any modifications to the source code?
Thanks again for filing issues! Super helpful.

pip freeze shows auto-ml==2.1.7. I just installed it this morning fresh from pypi and haven't changed the source at all. Let me know if you need anymore info to help debug.

Thanks again for filing this. Should be fixed in v2.1.8 available on pip. Still quite perplexed where this error came from. Please keep me posted if you encounter anything else, whether bugs, or just usability questions! I'll be out of town this weekend, but pretty responsive once i'm back next week.


Asset pipeline rule causing undefined variable error in Sass

As exposed in this SO post, I've been struggling precompiling assets on a bare setup of sprangular.
As further described in the aformentioned post, the assets precompiling hangs with the following message:
** Execute assets:precompile
rake aborted!
Sass::SyntaxError: Undefined variable: "$alert-padding".
   (in /home/owner/.rvm/gems/ruby-2.1.5/gems/bootstrap-sass-3.3.3/assets/stylesheets/bootstrap/_alerts.scss:10)

I just realized that if comment out this precompile rule in lib/sprangular/engine.rb (and source the sprangular gem locally) then I can execute bundle exec rake assets:precompile in my app flawlessly.
Was there a specific reason for that precompile rule? Do we really want to precompile all bootstrap files?
How should I edit the config in my app so I don't have to mess around with sprangular's code?
Just for the record, here are some of the gems I use in my app:
rails (4.2.0)
bootstrap-sass (3.3.3)
sass-rails (5.0.1)
sprangular (0.0.1)
spree_api (3.0.0.rc5 2cf488e)
spree_auth_devise (3.0.0 07f1625)
spree_backend (3.0.0.rc5 2cf488e)
spree_core (3.0.0.rc5 2cf488e)
spree_gateway (3.0.0.beta bcd933e)
spree_sample (3.0.0.rc5 2cf488e)

Hi @fuzzytern,
spree 3.0.0.rc & rails 4.2 is not yet supported. (coming soon, pr's welcome)

Should note. we are currently using rails-assets-bootstrap-sass-official in master (and in the process of migrating from Bootstrap to Bourbon)


Gulp watch fire task only on added or deleted

Is there a way to only trigger a task upon a particular set of event types. e.g. added or deleted?
gulp.watch(`/path/to/new/files**/*`, (event) => {
  if (event.type === 'added' || event.type === 'deleted') {
    // fire some gulp task
  }
});

What version of gulp?  3.x or 4.0?

3.9.0

Is this fixed with the 4.0 branch?

On Gulp 3.8 and 3.9 is only triggering 'changed' and 'deleted' files.
Gulp 4.0 not tested.
Use Mac OSX El Capitan
`
var gulp = require('gulp');
gulp.task('default', function () {
gulp.watch('templates/**/*.html', function (event) {
console.log(event);
});
});
`

Chalking this up to #651 for 3.9 - However, I think you can use the returned watcher to listen on events, I'm not sure how accurate they are due to all the other problems.  In gulp 4, you can use the returned watcher to listen for all events that chokidar emits.


Link to Peakfinder app if installed, otherwise fall back to API/Embed?

Hello,
I maintain the Rockd app, and understanding one's geological surroundings is often paired with peakfinding. I am wondering if there's a way (using Custom URL schemes or something) to try to link to Peakfinder directly from another app, and otherwise fall back to an embedded API view.
Best,
Daven

Ah, I didn't read past the fold on the README, looks like my problem is solved!


Customize Rendered not working

I have tried to use the mask with a styled form control from bootstrap.
But the result it is like the theres no mask...
<MaskedInput
  mask={['(', /[1-9]/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/]}
  render={(ref, props) => ( <FormControlStyled ref={ref} {...props} /> )}
/>

import styled from 'styled-components';
import { FormGroup, ControlLabel, FormControl, Image } from 'react-bootstrap';

export const FormControlStyled = styled(FormControl)`
  width: ${props => props.width || '100%'};
  ${props => props.height ? `height: ${props.height} !important;` : ''}
  text-indent: ${props => props.icon?'15px':'none'};
  &:focus {
    border-color: ${primaryColor};
    box-shadow: 3px 5px 10px #c9c9c9;
  }
`;

Anyone knows why it is not working?

I have found a solution!
render={(ref, props) => ( <FormControlStyled inputRef={ref} {...props} /> )}
The issue was the inputRef.


Check sha256 before download

This PR speeds up the ansible runtime by checking the SHA256 checksum of both the polkadot binary, and the node exporter. If the correct file already exists on the node, it skips downloading and swapping it out.

Thanks a lot for this!

Sure thing.. looks like it some tests might have to be updated with this, but thanks for merging!


Replace FreshCodePolicy with manifest flows and a version lock

I intended to use FreshCodePolicy for two things:

To manage polling for fresh code
To prevent a TreehouseView’s code update from disrupting a user

Using a Flow<String> for the manifestUrl covers the first case nicely. We should move the call to rebounce() into user code. This gives the user more control. It’s particularly useful in situations like Cash App’s where an admin UI can toggle between production & development code bases dynamically.
For the second case, I’d like to move responsibility out of the host process and into the downloaded code. It knows best if the user has unsaved state that shouldn’t be disrupted by a code refresh. The case I’m focused on is when a user launches the app while offline and we fall back to stale code. Should the user come online it’d be nice to update the code, but only if they don’t have a form half-completed.
The feature I propose for this is a CompositionLocal that prevents code from being updated.
  @Composable
  override fun Show() {
    Column(... ) {
      TextInput(
        ...
        onChange = { searchString ->
          val hostWidget = TreehouseWidgetService.current
          hostWidget.codeVersionLocked = searchString.isNotEmpty()
          onEvent(SearchTermEvent(searchString))
        },
      )
    }

When it’s false (the default), the widget will receive code updates as they’re received.
When it’s true, the widget will be stuck on its current version until it’s set back to false.

Remember, we have Websocket hot reloading now, not just rebounce, which makes it a bit more annoying if we move this to user code, but we can provide a helper that user code can call.

One more factor – we should not fall back to the cached manifest in development.

Decision to make: should we disable caching per-app or globally? Globally is simpler; per-app might work better.

https://github.com/cashapp/redwood/pull/822

Next steps:

Add this API:

public interface AppLifecycle : ZiplineService {
  ...

  public interface Host : ZiplineService {
    /**
     * Prevent the current app from being updated until the code lock is
     * released. This mechanism should be used when a code update would
     * be disruptive to an interactive user.
     */
    public fun acquireCodeLock()
    public fun releaseCodeLock()
    ...
  }
}

Make that work.


[WDRPage] newer episodes from https://www.wdrmaus.de/ don’t work anymore

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
DE
Provide a description that is worded well enough to be understood
Newer  episodes i.e. https://www.wdrmaus.de/filme/sachgeschichten/haferdrink.php5 or https://www.wdrmaus.de/filme/sachgeschichten/tartanbahn.php5 don’t work anymore. A working episode is https://www.wdrmaus.de/filme/sachgeschichten/knatterboot.php5.
Maybe it’s caused by changing class="videoButton play srtvd" rel="nofollow" data-extension="{ 'mediaObj': … (this is from https://www.wdrmaus.de/filme/sachgeschichten/tartanbahn.php5 to class="videoButton play srtvd" rel="nofollow" data-extension-ard="{ 'mediaObj': … (this ist from https://www.wdrmaus.de/filme/sachgeschichten/haferdrink.php5.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
$ ./yt-dlp --verbose --update --no-config https://www.wdrmaus.de/filme/sachgeschichten/haferdrink.php5
[debug] Command-line config: ['--verbose', '--update', '--no-config', 'https://www.wdrmaus.de/filme/sachgeschichten/haferdrink.php5']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (zip)
[debug] Lazy loading extractors is disabled
[debug] Python 3.11.4 (CPython x86_64 64bit) - Linux-6.2.0-31-generic-x86_64-with-glibc2.37 (OpenSSL 3.0.8 7 Feb 2023, glibc 2.37)
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, pyxattr-0.8.0, secretstorage-3.3.3, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1864 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: b8f4393fadb79fa3bc72f8415dc8a807c0222684c4a2ef57aade01f8eb0e65d3
yt-dlp is up to date<EMAIL_ADDRESS>[debug] Using fake IP <IP_ADDRESS> (DE) as X-Forwarded-For
[WDRPage] Extracting URL: https://www.wdrmaus.de/filme/sachgeschichten/haferdrink.php5
[WDRPage] haferdrink: Downloading webpage
[download] Downloading playlist: haferdrink
[WDRPage] Playlist haferdrink: Downloading 0 items
[download] Finished downloading playlist: haferdrink

Yes, that's exactly the issue; the regex for extracting the mediaObj needs to be extended. Currently it only looks for data-extension=, and it needs to recognize data-extension-ard as well.

Same root issue as #7461
Will be fixed by #7979


Altered Behaviour Of Parent Triple Maps without Join Condition With Major Version 7

Hi @DylanVanAssche,
I have just tried v7 release of rmlmapper and my unit tests broke ;-)

<#ProjectMonetaryAmount> a rr:TriplesMap;
  rml:logicalSource <#LogicalSourceGrant> ;

  rr:subjectMap [
    rr:termType rr:BlankNode ;
    rr:class schema:MonetaryAmount ;
    rr:template "mybn{number}_{index}"
  ] ;

...

rr:predicateObjectMap [
    rr:predicate schema:amount ;
    rr:objectMap [
       rr:parentTriplesMap <#ProjectMonetaryAmount> ;
    ]
  ] ;

The bnodes were not matching any more after switching from v6.5.1 to v7.0.0.
I could fix it by adding a join condition. In my understanding, this should not be required since the same logical source is used.
  rr:predicateObjectMap [
    rr:predicate schema:amount ;
    rr:objectMap [
       rr:parentTriplesMap <#ProjectMonetaryAmount> ;
       rr:joinCondition [
        rr:child "number";
        rr:parent "number";
      ];
    ]
  ] ;

Here are the full mapping, a test data file and the results with the non matching bnodes:

test data: aramis_preprocessed.json
(fixed) mapping: aramis_mapping.ttl.txt
Wrong bnodes (no join condition in mapping): aramis_preprocessed_.ttl.txt

Maybe this is related to

Optimization for self-joins without join conditions (fixes Gitlab issue 275)

Let me know if you need more info.
Best,
Tobias

This might be a result of that optimization... The spec says that it should not be needed to have a join condition with the same logical source. Thanks for the example, this should be integrated in the unittest framework so we can avoid this case in the future.


Info.plist problem found

Been wanting to test this app on my own apple watch as this is a great app, but some reason theres a problem with one of the info.plist files.
When the app loads on the xcode simulator, the first screen says Health Access "Brush WatchKit Extension" would like to access and update your Health data..... Surely this should be "Brush Watch Kit App"??? Then the second screen says the same "Brush WatchKit Extension" the watch is asking for permission to read the heath....This should also be the app name and not the extension? Thats why the app wont load on my watch its self?

Does the app work on the simulator and not the real Apple Watch? Which WatchOS and iOS version are you running?

Yes the app works on simulator but the watch screen on simulator says" rush WatchKit Extension" would like to access and update your Health data.... This should be named as the watch app name, not the extension?
The problem seems to be the info.plist isnt right, as even (i just uploaded it for test flight) NOT App Store Submission)... The error upload says is the same....Info.plist does have the info for user access, but still something not right?

Also please note, I AM NOT submitting to the app store, i did that to show you the error if you understand :-)

Thank you for the screenshots! I created a new release with the fix! Can you let me know if it works?

Nope just the same with uploading for testflight, and ive not changed anything in the info.plists... Very odd, Maybe its xcode version 12.0.1

It could be the XCode version. I just tested it on the beta version of XCode 12.2. The app runs fine on my Apple Watch with WatchOS 7 and iPhone on iOS 14.2.

See what happens if you try to upload to itunes connect?

I don't have a paid developer account.


In vscode extension mode, output results seems to be truncated

Apparently using child_process.spawn, intercepting stdout does not consume all the output, resulting in missing finds reported in the vscode ui.

this was caused by stdout received not line by line, but bufferized depending on how fast is consuming it.

this was caused by stdout received not line by line, but bufferized depending on how fast is consuming it.


Fix coverage reports

The previous egrep regex was wrong, so no coverage information from integration tests was included in coverage.all.
Also simplifies the make coverage rule by removing an unnecessary loop.

Codecov Report

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

@@             Coverage Diff             @@
##           master    #2974       +/-   ##
===========================================
+ Coverage   26.82%   43.76%   +16.93%
===========================================
  Files          90       90
  Lines       17807    17807
===========================================
+ Hits         4777     7793     +3016
+ Misses      12351     8847     -3504
- Partials      679     1167      +488

Impacted Files
Coverage Δ

modules/base/tool.go
74.61% <0%> (+0.61%)
:arrow_up:

models/issue_milestone.go
61.53% <0%> (+1.35%)
:arrow_up:

models/wiki.go
12.3% <0%> (+1.53%)
:arrow_up:

models/org_team.go
54.41% <0%> (+1.67%)
:arrow_up:

models/mail.go
1.73% <0%> (+1.73%)
:arrow_up:

modules/markup/markdown/markdown.go
68.69% <0%> (+1.73%)
:arrow_up:

models/ssh_key.go
12.43% <0%> (+1.82%)
:arrow_up:

modules/process/manager.go
76.81% <0%> (+2.89%)
:arrow_up:

modules/markup/html.go
54.56% <0%> (+3.13%)
:arrow_up:

models/repo_mirror.go
3.77% <0%> (+3.14%)
:arrow_up:

... and 46 more

Continue to review full report at Codecov.

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

LGTM

LGTM

Make LG-TM work

@lafriks Why do you comment "Make LG-TM work" on PRs that alread have the lgtm/done label?

@ethantkoenig because when you update branch to latest master github loses status checks, so commenting anything makes LG-TM update status for latest commit that is now merge commit. Otherwise GitHub does not allow to merge it as there are no all needed checks passed

I see, that makes sense


Need help configuring the resource to iterate each PR

Hi,
Could you please help me to configure github-pullrequest-resource? Apparently, I miss some point. I want the job to iterate over all open PRs and as per documentation

To ensure that check can iterate over all PRs, you must explicitly define an out for the PR.

I configured on_success and on_failure outputs. Here is my config:
resource_types:
  - name: pull-request
    type: docker-image
    source:
      repository: jtarchie/pr

resources:
  - name: l21-pull-request
    type: pull-request
    source:
      uri: git@github.com:Learn21/l21
      access_token: ((github-access-token))
      private_key: ((github-private-key))
      repo: Learn21/l21
      base: master

  - name: postgres
    type: docker-image
    source:
      repository: postgres

  - name: selenium
    type: docker-image
    source:
      repository: selenium/standalone-chrome

  - name: ruby-node
    type: docker-image
    source:
      repository: starefossen/ruby-node

jobs:
  - name: test-pull-requests
    plan:
      - aggregate:
        - get: l21-pull-request
          version: every
          trigger: true

        - get: postgres
          params: {save: true}

        - get: selenium
          params: {save: true}

        - get: ruby-node
          params: {save: true}

      - task: Test pull request
        privileged: true
        config:
          platform: linux
          image_resource:
            type: docker-image
            source:
              repository: leshik/concourse-dcind
          inputs:
            - name: postgres
            - name: selenium
            - name: ruby-node
            - name: l21-pull-request
          run:
            path: sh
            args:
              - -ec
              - |
                source /common.sh
                start_docker 3 5

                docker load -i postgres/image
                docker tag "$(cat postgres/image-id)" "$(cat postgres/repository):$(cat postgres/tag)"

                docker load -i selenium/image
                docker tag "$(cat selenium/image-id)" "$(cat selenium/repository):$(cat selenium/tag)"

                docker load -i ruby-node/image
                docker tag "$(cat ruby-node/image-id)" "$(cat ruby-node/repository):$(cat ruby-node/tag)"

                cd l21-pull-request
                docker build -f Dockerfile.tests -t learn21:tests .
                docker-compose -f docker-compose-tests.yml run tests

                docker-compose -f docker-compose-tests.yml down
                docker volume prune -f
        on_success:
          put: l21-pull-request
          params:
            path: l21-pull-request
            status: success
        on_failure:
          put: l21-pull-request
          params:
            path: l21-pull-request
            status: failure

But the job stops after the first broken PR (the status of PR gets updated, however):

There are two PRs in the repo. I can see the second one as pending but never executed:

Concourse does not work with version: every on an initially loaded pipeline. It will only do it from now on. Meaning every subsequent PR that you open.

@jtarchie Thank you! Do new commits to existing PRs matter, or these should be absolutely new pull requests?

New commits on PRs matter, so they'll trigger.

Thank you!


As a user, I can specify the channel name as config parameter

As a user, I can specify the channel name as config parameter

After talking to Simon, we agreed that this is something that the practitioner should do to keep the templates simple enough


Add Release workflow

Hello Peter,
This is a try to add Release workflow. It may be helpfully to share prebuilt binaries with the community.
It is based on the softprops/action-gh-release action and basically will just attach logfilegen binary and sha256 sum file to the existing release.
It will be triggered by the git tag and it means that after you will add a release and create a tag, it will be triggered automatically and will attach the assets.
Also, there is an option to trigger it manually, and you can pass a tag value like 0.1.0 and it will update past releases wit the assets.
In the future we can consider to share prebuilt binaries for more platforms/architectures, but as a fast start linux-amd64 should be better than nothing.
And we will have another installation option
# Latest version
curl -L https://github.com/psemiletov/logfilegen/releases/latest/download/logfilegen -o logfilegen

# Specific version
curl -L https://github.com/psemiletov/logfilegen/releases/download/0.1.0/logfilegen -o logfilegen

# Install
chmod +755 logfilegen
sudo mv logfilegen /usr/bin

Let's see it in action :)

Thank's a lot! You made project infrastructure much better that me :)


chore: pr test

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


DataGrid with column options to only hide, nothing else, will not provide ColumnOptions despite requesting them

Bug type
Component
Component name
MudDataGrid
What happened?
When you set your column(s) to hideable, but not sortable (and not filterable etc, though these are all default), the ShowColumnOptions parameter takes no effect. This is at both the DataGrid and the column level.
We can set ShowMenuIcon on the DataGrid to get access to this, of course, but it would be great to access it at the column level too.
Expected behavior
The column options should be visible
Reproduction link
https://try.mudblazor.com/snippet/wYcIkbHkinjxicdP
Reproduction steps

For at least one column in a data grid, set it such that it is hideable, not sortable, and not filterable etc.
Set ShowColumnOptions to true
Observe that column options do not appear.

Relevant log output
No response
Version (bug)
6.14.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Noticed something similar to this issue. If you set the SortMode to SortMode.Multiple it shows it. And this is also the same behavior/bug when disabling sort on a column but still having it be draggable and hidable.


Hard links and sparse files

Bupstash supports these, I don't know about the other tools.

I need to understand before adding this to the comparaison table:

hardlinks

does bupstash have an option to explicitly avoid or follow them ? (Did a quick search on bupstash.io, didn't find any doc)

sparse files

does bupstash know which files are sparse files, so it will not actually try to compress / dedup the empty part of the file ?

I think you are confusing hardlinks and symlinks. On linux you create a hardlink with ln and a symlink with ln -s. A hard link looks as if they are a normal file but actually both point to the same inode on the filesystem.
I mainly mean if you backup a filesystem that has hardlinks and sparse files does the backup tool preserve and restore them or discard that information. It can be quite important this information is not lost. As an example if sparse file information is not restored properly you can run out of disk space when trying to restore files that previously fit on a disk.

Indeed, read too fast for the hardlinks. I've updated the comparaison with your requests. Thanks.


'Timed out trying to read data from the socket stream!' when using Execute() method to send PORT command

FTP OS: Windows Server 2016
FTP Server: FileZilla Server 0.9.60 beta
Computer OS: Windows 10 (1803)
FluentFTP Version: 33.2.0
My application needs to check FTP details that a user has entered, eg hostname, username, password and directory. It also has to check that FXP is supported (without actually transferring any files). It tries to do this by sending a PORT command with an IP address within the same range (but obviously not the same IP address as the client or server).
var ftp = new FtpClient(hostname, username, password);
ftp.Connect();
credentialsValid = true;
pathExists = ftp.DirectoryExists("/Video");
var reply = ftp.Execute("PORT 10,96,209,114,54,54");
supportsFxp = reply.Success;
ftp.Disconnect();

Unfortunately, when I call the Execute() method with a PORT command, a timeout occurs. In fact, looking at the FTP Server logs, and even a WireShark packet capture, the command is never actually sent:
FileZilla Log
(000040)30/04/2021 09:49:46 - (not logged in) (<IP_ADDRESS>)> Connected on port 21, sending welcome message...
(000040)30/04/2021 09:49:46 - (not logged in) (<IP_ADDRESS>)> 220-FileZilla Server 0.9.60 beta
(000040)30/04/2021 09:49:46 - (not logged in) (<IP_ADDRESS>)> 220-written by Tim Kosse<EMAIL_ADDRESS>(000040)30/04/2021 09:49:46 - (not logged in) (<IP_ADDRESS>)> 220 Please visit https://filezilla-project.org/
(000040)30/04/2021 09:49:46 - (not logged in) (<IP_ADDRESS>)> USER ice
(000040)30/04/2021 09:49:46 - (not logged in) (<IP_ADDRESS>)> 331 Password required for ice
(000040)30/04/2021 09:49:46 - (not logged in) (<IP_ADDRESS>)> PASS ***
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> 230 Logged on
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> FEAT
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> 211-Features:
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)>  MDTM
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)>  REST STREAM
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)>  SIZE
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)>  MLST type*;size*;modify*;
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)>  MLSD
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)>  UTF8
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)>  CLNT
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)>  MFMT
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)>  EPSV
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)>  EPRT
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> 211 End
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> OPTS UTF8 ON
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> 202 UTF8 mode is always enabled. No need to send this command.
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> SYST
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> 215 UNIX emulated by FileZilla
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> PWD
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> 257 "/" is current directory.
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> CWD /Video
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> 250 CWD successful. "/Video" is current directory.
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> CWD /
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> 250 CWD successful. "/" is current directory.
(000040)30/04/2021 09:49:46 - ice (<IP_ADDRESS>)> disconnected.

WireShark Capture
2715	4.351984000	<IP_ADDRESS>	<IP_ADDRESS>	TCP	66	49982?21 [SYN] Seq=0 Win=64202 Len=0 MSS=1366 WS=256 SACK_PERM=1
2716	4.352019000	<IP_ADDRESS>	<IP_ADDRESS>	TCP	66	21?49982 [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=1460 WS=256 SACK_PERM=1
2717	4.379697000	<IP_ADDRESS>	<IP_ADDRESS>	TCP	60	49982?21 [ACK] Seq=1 Ack=1 Win=65536 Len=0
2718	4.379953000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	197	Response: 220-FileZilla Server 0.9.60 beta
2721	4.429182000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	64	Request: USER ice
2722	4.429243000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	85	Response: 331 Password required for ice
2728	4.457772000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	64	Request: PASS ice
2729	4.457867000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	69	Response: 230 Logged on
2731	4.485889000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	60	Request: FEAT
2732	4.485949000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	176	Response: 211-Features:
2736	4.525757000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	68	Request: OPTS UTF8 ON
2737	4.525795000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	118	Response: 202 UTF8 mode is always enabled. No need to send this command.
2740	4.553726000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	60	Request: SYST
2741	4.553761000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	86	Response: 215 UNIX emulated by FileZilla
2743	4.589801000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	60	Request: PWD
2744	4.589837000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	85	Response: 257 "/" is current directory.
2746	4.619332000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	66	Request: CWD /Video
2747	4.619398000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	106	Response: 250 CWD successful. "/Video" is current directory.
2751	4.653281000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	61	Request: CWD /
2752	4.653337000	<IP_ADDRESS>	<IP_ADDRESS>	FTP	101	Response: 250 CWD successful. "/" is current directory.
2765	4.684746000	<IP_ADDRESS>	<IP_ADDRESS>	TCP	60	49982?21 [RST, ACK] Seq=71 Ack=538 Win=65280 Len=0

The Execute() method itself is working fine though, as if I send a FEAT command, data is returned as expected.
Logs :

# Connect()
Status:   Connecting to <IP_ADDRESS>:21
Response: 220-FileZilla Server 0.9.60 beta
Response: 220-written by Tim Kosse<EMAIL_ADDRESS>Response: 220 Please visit https://filezilla-project.org/
Status:   Detected FTP server: FileZilla
Command:  USER ***
Response: 331 Password required for ice
Command:  PASS ***
Response: 230 Logged on
Command:  FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: MLST type*;size*;modify*;
Response: MLSD
Response: UTF8
Response: CLNT
Response: MFMT
Response: EPSV
Response: EPRT
Response: 211 End
Status:   Text encoding: System.Text.UTF8Encoding
Command:  OPTS UTF8 ON
Response: 202 UTF8 mode is always enabled. No need to send this command.
Command:  SYST
Response: 215 UNIX emulated by FileZilla

# DirectoryExists("/Video")

# GetWorkingDirectory()
Command:  PWD
Response: 257 "/" is current directory.
Command:  CWD /Video
Response: 250 CWD successful. "/Video" is current directory.
Command:  CWD /
Response: 250 CWD successful. "/" is current directory.
Command:  PORT 10,96,209,114,54,54
Status:   Disposing FtpSocketStream...

Can you build in debug mode and step into Execute and see whats going on? Its pretty simple afaik.

Already done. The call to write to the network stream is made, but those bytes never seem to make it to the server (hence no response and the timeout). My client and server are in different subnets, but as the rest of the network stream makes it to the destination fine, I can't see at all why that would be an issue...!?!


chore: remove no-changelog label from dependabot PRs

What this PR changes/adds
Removes no-changelog label from dependabot PRs.
Why it does that
Exclusion from the changelog should not be decided by the action itself. (it may be interesting to have this information included in the release notes)
Further notes
Little housekeeping of CODEOWNERS, docs and templates
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] assigned appropriate label? (exclude from changelog with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Couldn't we have a "version update" label or something label that identifies a version upgrade? Would be more than interesting to see such an information in a changelog.

Usually the dependency label should be used for this purpose. Independent from what we call this section in the changelog.


Dual-Stack Support IPv4 & IPv6 at the same time

Hello,
I'm using this library on a FreeBSD server. My main application works on Raw TCP Sockets which support IPv6-mapped IPv4 addresses, as well as listening on both TCP 4 and 6 protocols at the same time. Thus, for consistency, I'd like this library to give me IP's in the same format that my main application does since the WebSockets will interact with the application itself.
I noticed that passing a nullptr to the listen method listens only on incoming IPv6 connections and won't allow IPv4 to connect.
These are the changes I made to get it to work:
File: src/Node.h
Inside method:
template <void A(Socket *s)>
bool listen(const char *host, int port, uS::TLS::Context sslContext, int options, uS::NodeData *nodeData, void *user)
Replace:
hints.ai_flags = AI_PASSIVE;
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
With:
hints.ai_flags = AI_PASSIVE;
hints.ai_socktype = SOCK_STREAM;
struct sockaddr_in6 sa;
if (!host || inet_pton(AF_INET6, host, &(sa.sin6_addr)) != 0)
{
hints.ai_family = AF_INET6;
hints.ai_flags = AI_PASSIVE | AI_ALL | AI_V4MAPPED;
}
else
{
hints.ai_family = AF_INET;
}
Further down, find:
setsockopt(listenFd, SOL_SOCKET, SO_REUSEADDR, &enabled, sizeof(enabled));
Add right below:
enabled = 0;
setsockopt(listenFd, IPPROTO_IPV6, IPV6_V6ONLY, &enabled, sizeof(enabled));
Thanks for this great library. Easy to use and works like a charm.

Two issues here - let's start with listening to both v4 and v6 at the same time.
I know Linux systems already does listen to both and I think OS X does the same. I know Windows does not listen to both, but nobody really cares about Windows anyways. So FreeBSD does not automatically listen to both v4 and v6? You need to set this manually? We could probably merge that in.

Okay so IPV6_V6ONLY is actually cross-platform an supported by Windows (defaults to true), Linux (defaults to false), OS X (I don't know what is defaults to), FreeBSD (seems to default to true).
It would be super useful to set this to false in the lib.


Write a Java program to find surface area of a cuboid

Description
Write a Java program to find surface area of a cuboid
Surface area of cuboid = 2 × (Length × Width + Length × Height + Width × Height)
Length : 2
Width  : 3
Height : 4

Surface area : 52

How to contribute

Save the solution in program/FindSurfaceAreaOfACuboid.java file
Add FindSurfaceAreaOfACuboid.java file in find-surface-area-of-a-cuboid folder

!assign

!assign


Fix MET to compile using PGI version 19.

Describe the Task
As reported by a user via met-help (https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95051), met-9.0.1 does not compile using the PGI version 19 compilers.  The compilation error is in the vx_nc_obs library:
1 catastrophic error detected in the compilation of "nc_obs_util.cc".
Compilation aborted.
pgc++-Fatal-/usr/local/pgi/linux86-64-nollvm/19.10/bin/pggpp1 TERMINATED by signal 6

Julie Prestopnik tested using PGI 19.9 on Cheyenne and was able to replicate this compilation error.  This task is to update met-9.1 to once again compile using the PGI compilers.
You can find the test environment on cheyenne in /glade/p/ral/jntp/MET/MET_cross_platform_testing/met-9.0.1/pgi
Ideally, we could automate the testing of MET using PGI compilers via Docker containers, but there would likely be issues with the PGI license file.
Time Estimate
1 day.
Sub-Issues
Consider breaking the task down into sub-issues.

No sub-issues required.  I expect this to only require a small number of changes.

Relevant Deadlines
None
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) or no engineer required
[X] Select scientist(s) or no scientist required - no scientist required

Labels

[X] Select component(s)
[X] Select priority
[X] Select requestor(s)

Projects and Milestone

[ ] Review projects and select relevant Repository and Organization ones
[ ] Select milestone

Define Related Issue(s)
Consider the impact to the other METplus components.

[X] METplus, MET, METdb, METviewer, METexpress, METcalcpy, METplotpy
No impacts to other METplus components.

Task Checklist
See the METplus Workflow for details.

[ ] Complete the issue definition above.
[ ] Fork this repository or create a branch of develop.
Branch name:  feature_<Issue Number>_<Description>
[ ] Complete the task and verify your changes.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

Bart Brashers, who submitted the met-help ticket referenced in the issue, is willing to help test a PGI fix.


.NET Core support column

It would would be nice to have another column listing which encodings are supported by .NET Core in addition to .NET Framework.

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

ID: e108a631-9747-7d6e-dc36-280b0591cd68
Version Independent ID: f630aa07-55fd-5352-f0c3-bd2e263cd70b
Content: Encoding Class (System.Text)
Content Source: xml/System.Text/Encoding.xml
Product: .net
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks, @smmalis37, for your feedback. We'll address the issue of encoding support in our next sprint.

Incidentally, @smmalis37, to see what encodings are available on .NET Core, you can call the Encoding.GetEncodings method (.NET Core 2.0 and later). There is a description of supported encodings in the Platform Notes: .NET Core section of Character Encoding in the .NET Framework.


Term suggestion: isIDResolvable

Term Name
ods:isIDResolvable
Digital Object Name
DigitalSpecimen: Identifier
Feedback
Suggestion to create a new term about whether an ID actually resolves to any kind of meaningful resource about the item it is identifying. This would be a boolean flag and is useful in conjunction with dcterms:format.

OK yes that could be useful, adding this property. When ingesting and mapping data from standards which don't include this property, is it a correct assumption that any identifier that starts with http we could mark as resolvable?

We have now combined the need to describe "resolvable" and "persistent" in a new term ods:GupriLevel that can describe different "GUPRI" levels of an identifier with a controlled vocabulary. Examples: "LocallyUniqueStable", "GloballyUniqueStablePersistentResolvable"

in a new term ods:GupriLevel that can describe

Sorry, this might be a bit late, but I just noticed that this element should be called ods:GUPRILevel , to be consistent with the capitalization convention, see also #178 .


GTFS sensor

Description: This adds a sensor that consumes a GTFS data set which the vast majority of public transit providers publish as Google basically requires GTFS to add public transit to Google Maps.
You need to download a GTFS data set from a transit provider website and put it into the gtfs folder of your configuration directory. The data set can be either a ZIP or a folder containing the relevant GTFS files.
This only implements support for GTFS, support for GTFS-Realtime is forthcoming once Google fixes the Python 3 + protobuf problems. GTFS-Realtime will provide realtime information about delays and advisories which will be combined with the local GTFS data to provide an update to the minute departure estimate.
Example entry for configuration.yaml (if applicable):
sensor:
  platform: gtfs
  origin: 19TH
  destination: CIVC
  data: bart.zip

Checklist:
If code communicates with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Bueno :dolphin: Will need some good docs I guess because the config files can be confusing.

I also wonder how we should put this on the site. It's pretty much ANY public transport. If we put it up as GTFS, no one will ever click on it

🐼

Docs are in balloob/home-assistant.io#346


[$1000] Task-Missing 'From ' in task header for task assigned to user w/o access to group chat

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

Action Performed:
Precondition: User A has assigned a task to User D in a group chat with User B and C where User D is not a member.

Launch New Expensify app as User D
Go to chat with User A
Go to task thread created and assigned by User A in the precondition

Expected Result:
The task thread header has 'From ' subtitle
Actual Result:
The task thread header does not have 'From ' subtitle. This only occurs to task created in a group chat where assignee is not a member of the group chat
Workaround:
Unknown
Platforms:

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

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/b9fec09e-a5e8-4358-8db9-daf8546250e1
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f65ed90583f55ec4
Upwork Job ID:<PHONE_NUMBER>832185344
Last Price Increase: 2023-08-02

This is expected


python310Packages.http-sfv: 0.9.6 -> 0.9.7

Description of changes
Update to latest upstream release 0.9.7

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 174955 run on x86_64-linux 1

6 packages built:

python310Packages.http-message-signatures
python310Packages.http-sfv
python310Packages.requests-http-signature
python39Packages.http-message-signatures
python39Packages.http-sfv
python39Packages.requests-http-signature


Kill page cache on preview/submit

If you have kirby file cache activated, you will never see the comment preview, and so you can never send any comment :-( Maybe there is a kirby api for explicitely deleting the cache for the page you are commenting on.

There is: $page->reset(). The only problem with this method is, that it never will be called, because the page is loaded from the cache and so the method is not getting called. I try to look for an alternative …

And adding the current page temporarily to cache.ignore does not work, because pages are cached before the code of plugin is executed.

It seems like this problem can currently not be fixed. Comments are dynamic content and don’t got together with Kirby’s caching strategy.

Maybe the Kirby team has to change the caching bevahiour. If a page is called with a post request and post data incoming, the cache will not be used.

I found a black-magic method of ignoring the cache when previewing or posting a comment. Now I have discovered, that you would also have to ignore the page when rendering the form, regardless of whether or not a comment was posted. The form contains a hidden input field with a random key for extra security (e.g. to prevent cross-site request forgery). This means, the you would have to ignore your articles at all times from the cache.
This can be achieved using a wildcard ignore pattern:
c::set('cache.ignore', array(
  'weblog/*'
));


Problems with Monogame and ImGUI

I have two problems, neither of which I'm sure how to solve. I have attached my project folder. First, adding a custom font does not seem to be working. I have a line commented out as it causes an error. Second, for whatever reason, all text seems to be clipped a few pixels at the top. Any idea how to fix either of these? Thanks!
Project download:
https://filebin.net/ljq6ixdvl5llwj4q

See:
https://github.com/mellinoe/ImGui.NET/issues/162
https://github.com/mellinoe/ImGui.NET/issues/132

I'd suggest raising this in a Monogame-specific support forum. There's most likely some issues with how the renderer is configured in your project, but I'm not terribly familiar with the library to help on that level. My only suggestion would be to compare/contrast the example project in this repository to see if it helps identify the problem.


Force more functions to be indexed as globals

I missed these the first time around, but the room functions page contains a mixture of Room and global functions, so this is to fix the indexing.

this is not relevant anymore, so I am closing this.


Add original copywrite to license

Most of the concept is still based on the work by Chris Kempson, so maybe the (c) 2012 Chris Kempson should remain in the license file.
https://github.com/chriskempson/base16-builder/blob/master/LICENSE.md

I genuinely thought I named Chris in the licence so :+1:


Add location and phone field types with auto-submit via telegram

Not sure location is needed for anyone, but phone number field comes with 0.3.0 release.


request failed due to timeout

hi, not sure if someone is able to help, but i am just someone who plays on fivem servers and ive noticed that anytime a city i fly into uses this creation/clothing menu etc it never pops up for me and i am stuck as a ped. ive cleared my fivem cache and i switched which version of fivem i am using. when i was using beta the menu would never pop up for me, i switched to release and i was finally able to see the menu and create a character, once i flew out and went back in my character was back a ped and the menu no longer popped up for me. Again, not sure if anyone has a solution as im not a developer, city only etc. im just someone who plays fivem and realized that whenever a city uses this script unfortunatly im not able to create a char.

Hi @veeayye
You will have to contact the developers of the server you play on to fix the issue as it is not a resource issues


Content-Type header is not required for body-less requests

I have built a worksheet that requests events from EventBrite and loads into Excel to be reviewed/revised and uploaded elsewhere (like wordpress).  The problem is... the VBA-WEB helper routines seem to be behaving differently than expected.
The API call is:
https://www.eventbriteapi.com/v3/organizers/8086747738/events/?start_date.range_start=2018-02-26T11:11:11&token=XXXXXXXXXXXXXXXXXX
Further documentation:
Documentation: https://www.eventbrite.com/developer/v3/
Explanation:
By providing the start_date.range_start date, I expect to see only the events listed AFTER the provided date.  This works properly via Postman or directly in Chrome using the URL.  However, when using the attached code modules which use the VBA-WEB functions within Excel on Windows, the web response resultset returns ALL EVENTS as if no date range has been provided, instead of just the events after the date provided.
Please advise.  Let me know if you can shed some light on my dilemma.
Source code:
events_sheet.txt
eventbrite_module.txt
Your assistance is appreciated.

Don't have a means to validate but you might want to replace
Request.Resource = "organizers/" + strID + "/events?start_date.range_start=" + strDate + "&token=" + EventBriteUserToken
with
Request.Resource = "organizers/" + strID + "/events"
Request.AddQuerystringParam "start_date.range_start", strDate
Request.AddQuerystringParam "token", EventBriteUserToken

in case there is some encoding issue. (You can also tokenize the resource "cleaner" with Request.AddUrlSegments "{id}", strID if you are so inclined to avoid your own URL building).
You can inspect the final URL with Request.FormattedResource to see if anything odd is happening.
Since it's get the events resource and your token is accepted, I'd have to assume something goofy with the date itself and Request.FormattedResource should confirm the class is sending what you think it should be sending.

Thank you for the quick response... This didn't work... the Request.FormattedResource looks AOK:
https://www.eventbriteapi.com/v3/organizers/13076946308/events?start_date.range_start=2018-02-27T11%3A11%3A11&token=XXXXXXXXXXXXX
Pasting into Chrome or Postman works fine returning only events after the given date... When I run it through VBA-WEB, it still returns ALL dates.

Well you have me stumped since I don’t have a token to use. You can set a breakpoint right before the Send call to see if you can spot anything obvious and see if manual edits in the Immediate window can get it to work (maybe un-encode something?)

This is just bizarre. I've tried hooking up Fiddler before (with little success), so other than that I'm not sure if there's much more we can do without a repro. If you want to email me a token (and revoke it / generate another one a day later), I can take a look at it for you.

This was a very interesting one. Basically, the content-type header was causing issues with the querystring parsing. @mwoollen it can be fixed in your case with:
Request.RequestFormat = WebFormat.FormUrlEncoded

To be honest it kind of seems like a bug on Eventbrite's end, but I'll have to read into it a little further.  It seems like the content-type header can/should be removed if the request doesn't have a body, so that's probably the best bet for a more general fix to VBA-Web.

Relevant RFC: https://tools.ietf.org/html/rfc7231#section-<IP_ADDRESS>

There was already an open PR for this, fixed by #306


[HELP]

Describe your problem
I have installed taxmyphage but I get the same error each time I run it (attached screenshot).
To Reproduce
conda activate taxmyphage
taxmyphage run -i name.fasta -t 4
Screenshots / outputs

Please complete the following information):
OS:

[ X] Linux
[ ] Windows
[ ] Mac

taxmyPHAGE Version:
taxmyphage v0.3.1

ICTV have updated the VMR format . By default it will be pulling the latest file , which is now a different format
go to
https://ictv.global/sites/default/files/VMR/VMR_MSL39_v1.xlsx
put this file in the conda installation and rename it to VMR.xlsx
We are working on a fix so the correct format is  installed


Fix shouldComponentUpdate method

Please fix shouldComponentUpdate method as it is described in this comment. Is very important because now I have to provide shouldComponentUpdate={true} to have shouldItemUpdate functionality working correctly

@maniloo Oops! My bad good catch. Fixed in v1.5.1, thanks!


Remove outdated documentation

Remove Changelog as it is unlikely to be maintained with the rapidly changing repo
Remove the clearly outdated sections of the README, and the CONTRIBUTING section.

@kpouget what do you think of merging this as is?
My ideas for next steps would be expanding these docs:

Instructions on how to write a new test / role / toolbox command
Some documentation on how to run useful toolbox commands in podman
Some documentation in each testing/ about the test, which should be pulled into a new section of the github docs

yes @dagrayvid , we can merge as it is currently, thanks :)

@dagrayvid feel free to merge it when you want, I rebased it multiple time and forget to merge after the checks turn green :D


Purpose of [ printf '%b' "$ta_none" ] when initialising colours

May I know why the following line is executed after assigning the output of a tput command to a variable?
printf '%b' "$ta_none"

e.g. https://github.com/ralish/bash-script-template/blob/main/template.sh#L144-L189
Afaict the tput command outputs to stdout which is captured by the $(...) and saved into the variable. So at no point would it affect the terminal's current state.
I may be missing something and hence the query.

During normal script execution you're right that this is redundant, but there's an edge-case where it's useful: running the script with xtrace. When the script commands are being output to the terminal each tput will also affect the terminal state, so we clear all text attributes after each invocation so the terminal output doesn't become completely mangled.

I've added a comment noting the above as agree it's less than obvious:
https://github.com/ralish/bash-script-template/commit/94509804b494e84793f266dec9428262ec172fa6
Closing this issue but feel free to re-open if there's anything else.


web version not working

Hi,
I downloaded the project from the below URL, and did npm install but still in browser I am seeing the app.
But I am seeing the ios and android app, can you tell me how to work it in web. attaching screenshot too.
For web I hit 3000 and 8001 port but still not working.
https://github.com/MoOx/react-native-boilerplate

Did you run yarn start:web and used the url of the server that will be displayed in your terminal?

@MoOx Hey if I run npm start it runs, and if I point to this URL http://localhost:8081/ I see some output but it doesn't match output in ios and android simulator, can you tell me why
Attaching screenshots

It's start:web for the web, not just start


Item Recipe Tag

Can we has a tag to get a list of items required for a denizen recipe?
<itemTag.list_recipe_items[#]> or something like that?

This is a slightly messier thing to add, cause need to figure out how to return in a clean format:
Recipe type (furnace? Shaped? shapeless? etc.), recipe details (furnace burn rate and such?), the items themselves but ALSO whether they are material based matchers or full item detail matchers.
I think there'd probably need to be a recipe ID returned, and then like... <server.recipe_items[ID]>, <server.recipe_type[ID]>, etc.

Er, there's already a ItemTag.recipe_ids. Would just need the server tag part of it.

I came here to make the same request, this would be an awesome way to override display and lore on items such as worldedit axes, griefprevention shovels, and other special items which have unpredictable materials we need to pull from config files!

@smellyonionman I don't think the tag requested here would help with that at all?


SEARCH-402/403 Fixes

Scope & Purpose
SEARCH-402 Fix GEO_DISTANCE and others
SEARCH-403 Enable EXISTS for inverted indexes

[ ] :hankey: Bugfix
[ ] :pizza: New feature
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification

Checklist

[ ] Tests

[ ] Regression tests
[ ] C++ Unit tests
[ ] integration tests
[ ] resilience tests

[ ] :book: CHANGELOG entry made
[ ] :books: documentation written (release notes, API changes, ...)
[ ] Backports

[ ] Backport for 3.10: https://github.com/arangodb/arangodb/pull/17269
[ ] Backport for 3.9: (Please link PR)
[ ] Backport for 3.8: (Please link PR)

Related Information
(Please reference tickets / specification / other PRs etc)

[ ] Docs PR:
[ ] Enterprise PR:
[ ] GitHub issue / Jira ticket:
[ ] Design document:

https://jenkins01.arangodb.biz/job/arangodb-matrix-pr/24684/


Adds 'purview sensitivitylabel get' command. Closes #4423

Adds purview sensitivitylabel get command. Closes #4423

Great work @nanddeepn! We'll review it ASAP!

Merged manually, thank you! 👏


Add label to hidden input for accessibility

When I run my accessibility checker, Selectric fails because it is missing a form <label> for the hidden input Selectric creates. Is there a way you can add a hidden <label> to accompany the hidden input?
See Image attached.

Thanks

I've coded a temporary fix for this:
''//Add a hidden label around the selectric input.
$(".selectric-input").wrap("Hidden Label");''
Where VisuallyHidden is similar to the ''selectric-input'' class in hiding the label.

Works for me...
.... onInit: function(element) {       $(element).closest('.selectric-wrapper').find('.selectric-input').attr('id', element[0].text); }, ....


News App in Flutter

Description
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.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Manual testing

Checklist:

[x] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

please add proper name for your PR

I ahve updated the name can you please merge my PUll request now

you have directly added your code in the root folder.Please create a separate folder


Improve generic implementation of division

Division should also be performed in "chunks" of e.g. 5 using a table, in analogy with the multiplication algorithm.

Fixed in 267314da7ce21d8303c3ebc0deb7934e0765e78c
Implemented division using 10-bit tabulated inverse. Still O(n^2), but requires less memory bandwidth.


:memo: Add coverage badge

Signed-off-by: ezeBalsamo<EMAIL_ADDRESS>

Codecov Report

Merging #12 (c5996ed) into release-candidate (1b6b742) will not change coverage.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           release-candidate      #12   +/-   ##
==================================================
  Coverage              52.38%   52.38%
==================================================
  Files                      4        4
  Lines                     21       21
==================================================
  Hits                      11       11
  Misses                    10       10

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Subdomain not working

Hi all,
I have tried to setup the subdomain footnotes.maxmarchione.com using the steps recommended:

I am unable to change the proxy status of the first A entry above

Note that my base domain, maxmarchione.com, points to a Webflow site.
I am trying to get the subdomain footnotes.maxmarchione.com to point to my Notion site

Fixed! I just had to be patient, literally

Nice @marmax123
Excellent, the wait was worth it, I see it's fixed!
Note: thread closed

marmax123

Hi, could you help me, please?
I set up everything the same way as you did however I receive (on my subdomain) the error

@kiki722 Try <IP_ADDRESS> (a dummy IP address) instead of <IP_ADDRESS> or <IP_ADDRESS>


Rnnt3

Is this still active? I'll lock the bounty if you want.

Is this still active? I'll lock the bounty if you want.

yes still working on it. can post weights for early epoch
currently working on some issues

No updates in over a week, closing


[HW] Maxim Suslov

Name: Maxim Suslov
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/msuslov/
Attach the homework screenshots below for both step II and step III:

Hey Maxim Suslov, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/LXcH8V0fTViHGoP9JjmCSA


casparser.exceptions.CASParseError: Unable to parse investor data

while running casparser, it is giving following error:
data = casparser.read_cas_pdf("CAMS_pranshu766.pdf", "pranshu766")
Deprecation: 'getTextPage' removed from class 'Page' after v1.19.0 - use 'get_textpage'.
Traceback (most recent call last):
File "", line 1, in
File "/home2/ajitup/anaconda3/lib/python3.8/site-packages/casparser/parsers/init.py", line 33, in read_cas_pdf
partial_cas_data = cas_pdf_to_text(filename, password)
File "/home2/ajitup/anaconda3/lib/python3.8/site-packages/casparser/parsers/mupdf.py", line 213, in cas_pdf_to_text
investor_info = parse_investor_info(page_dict)
File "/home2/ajitup/anaconda3/lib/python3.8/site-packages/casparser/parsers/mupdf.py", line 145, in parse_investor_info
raise CASParseError("Unable to parse investor data")
casparser.exceptions.CASParseError: Unable to parse investor data
Please help!

Looks like the investor section of the file is in a different format than expected. Can you please post a screenshot of the investor info section from the pdf file, with all personal info blurred?
like

closing as there is no response. please feel free to re-open with more info


Ensure package IDs are unique when cleaning.

get_many will panic if there are duplicate IDs.

:umbrella: The latest upstream changes (presumably #12638) made this pull request unmergeable. Please resolve the merge conflicts.

After pulling in #12638 I am no longer getting a panic, so I am going to abandon this.


GetSKC Beetle cluster

Hello!
 M73 V26
Software Coding 00142, Workshop Code: 00288
Caught: System.NotImplementedException The method or operation is not implemented.
Unhandled exception: System.NotImplementedException: The method or operation is not implemented.
at BitFab.KW1281Test.Cluster.MarelliCluster.DumpEeprom(Nullable1 address, Nullable1 length, String dumpFileName) in D:\kw1281\Cluster\MarelliCluster.cs:line 18
at BitFab.KW1281Test.Tester.GetSkc() in D:\kw1281\Tester.cs:line 482
at BitFab.KW1281Test.Program.Run(String[] args) in D:\kw1281\Program.cs:line 241
at BitFab.KW1281Test.Program.Main(String[] args) in D:\kw1281\Program.cs:line 26
ReadIdent:
Version 0.74-beta (https://github.com/gmenounos/kw1281test/releases)
Args: com2 9600 17 ReadIdent
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Version: 6.0.2
Culture: hu-HU
Opening serial port com2
Sending wakeup message
Wakeup duration: 1,9999983791244191 seconds
Reading sync byte
Keyword Lsb $01
Keyword Msb $8A
Protocol is KW 1281 (8N1)
ECU: 1C0919861AX KOMBI+WEGFAHRS. M73 V26
Software Coding 00142, Workshop Code: 00288
Sending ReadIdent block
Ident: Ident.-Nr. Wegfahrs.:VWZ5Z0Y1121269
Sending EndCommunication block
ReadSoftwareVersion:
Version 0.74-beta (https://github.com/gmenounos/kw1281test/releases)
Args: com2 9600 17 ReadSoftwareVersion
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Version: 6.0.2
Culture: hu-HU
Opening serial port com2
Sending wakeup message
Wakeup duration: 1,9999983791244191 seconds
Reading sync byte
Keyword Lsb $01
Keyword Msb $8A
Protocol is KW 1281 (8N1)
ECU: 1C0919861AX KOMBI+WEGFAHRS.  The cluster is made by MagnetiMarelli, main chip :Motorola 1F68K

Looks like I broke something in version 0.72 (I did a lot of internal reorganization). Try version 0.71 for now.

Thank for your support! This is the result with 0.71:
Version 0.71-beta (https://github.com/gmenounos/kw1281test/releases)
Args: com2 9600 17 GetSKC
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Version: 6.0.2
Culture: hu-HU
Opening serial port com2
Sending wakeup message
Reading sync byte
Keyword Lsb $01
Keyword Msb $8A
Protocol is KW 1281 (8N1)
ECU: 1C0919861AX KOMBI+WEGFAHRS. M73 V26
Software Coding 00142, Workshop Code: 00288
Unsupported cluster software version
Version 0.71-beta (https://github.com/gmenounos/kw1281test/releases)
Args: com2 9600 17 ReadIdent
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Version: 6.0.2
Culture: hu-HU
Opening serial port com2
Sending wakeup message
Reading sync byte
Keyword Lsb $01
Keyword Msb $8A
Protocol is KW 1281 (8N1)
ECU: 1C0919861AX KOMBI+WEGFAHRS. M73 V26
Software Coding 00142, Workshop Code: 00288
Sending ReadIdent block
Ident: Ident.-Nr. Wegfahrs.:VWZ5Z0Y1121269
Sending EndCommunication block
Version 0.71-beta (https://github.com/gmenounos/kw1281test/releases)
Args: com2 9600 17 ReadSoftwareVersion
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Version: 6.0.2
Culture: hu-HU
Opening serial port com2
Sending wakeup message
Reading sync byte
Keyword Lsb $01
Keyword Msb $8A
Protocol is KW 1281 (8N1)
ECU: 1C0919861AX KOMBI+WEGFAHRS.  M73 V26
Software Coding 00142, Workshop Code: 00288
Untested cluster version! You may need to disconnect your battery if this fails.
Sending block 0x6C
Writing data to cluster microcontroller
Receiving ACK
Writing memory dump program to cluster microcontroller
Receiving ACK
Receiving memory dump
Saved memory dump to marelli_mem_$0C00.bin
Done
marelli_mem_$0C00.log

Well, it looks like you were able to retrieve an EEPROM dump. However, the data in the dump looks a bit different from other Beetle dumps I've worked with. Do you know whether this car is Immobilizer version 2 or 3? If it's version 3, then you should try DumpMarelliMem 14336 2048 and see if that works.
Based on the dump you shared, the SKC might be 29622 or 04120, but I'm not sure.

Its built in 1998, first gen immo2. I think the cluster was changed by the previus owner, because the date stickers on cluster are younger than the car. I tried 14336 2048 with no luck. I will try the 2 SKC, thanks. Is there a way to get a full dump from the cluster?

Unfortunately 29622 and 04120 dont work.

So your SKC is 02067? I can try to incorporate that SKC EEPROM location in a future version of kw1281test but first I'll need to figure out a way to determine whether the SKC is at 0x0202-0x203 or 0x313-0x314. Apparently, both locations are used by Immo2 Beetle clusters. Thanks for alerting me to the 0x0202 SKC location.
Unfortunately, I don't know if it's possible to adjust the cold engine light temperature.

The adress 0x0202-0x0203 is HEX 13 68 so the skc 04968. Am i wrong with the adresses? Is there a way to get the full eeprom?


Link to todo file is broken

Hello,
The following link - https://github.com/SMPyBandits/SMPyBandits/tree/master/TODO is broken.
It is used in this file - https://smpybandits.github.io/.github/CONTRIBUTING.html
I assumed this is the correct link - https://smpybandits.github.io/TODO.html

Hi, thanks for pointing this out!
I'll fix it!


password data type redaction should not be limited to UI

The password setting of the modifier property format is described in the Data Types section as "A hint to UIs to obscure input."
https://github.com/OAI/OpenAPI-Specification/blob/ddcab423f5d440f4574d5c37eea8daab864806ef/versions/3.1.0.md?plain=1#L160
Since the OpenAPI Specification is also relevant for backends, the description should be generalized, e.g., "A hint to UIs and backend systems to obscure/redact the value."
An example for the necessity of redacting the value of a password field is in the toString method generated by the openapi-generator tool: https://github.com/OpenAPITools/openapi-generator/issues/16851

This looks like a useful improvment, thank you. Do you have time to work up a PR on the v3.1.1-dev branch?


[retest when fixed in backend] Log into 2 base sites with same login, saved cart name error

Using local b2*oms recipe with cancel/return api's and Kungfu extensions:

Log into electronics
add products to cart, go to cart
log into apparel on same server
add products to cart, go to cart

special cart name conflict, see screenshot.
can assume same problem for wishlist.

When I look at the backoffice details, the cart that's the selective cart has
order nr: selectivecartdfc19c5e-810a-4eb2-adf4-96cd0540492f
name: selectivecart
but wishlist has order nr 0008935 and name wishlist.
Deleting the selective cart using backoffice, problem goes away.

This issue was reverted in our last release because it was causing issues with a test environment (dev17). Let's try to merge it back

Tested on dev10, pointing to dev17.

It works now. I can switch back and forth between the 2 base sites, and the cart is retrieved properly.

Only see a 'cart not found' error because of coupons.


cargo zigbuild

added workflow for binary builds.

This is interesting, but I wonder if there is another easier way of doing it without installing zig, it seems a bit over-complicated to me.
Thanks!


match policy_file fails in 3.10.5

The OSPool FE had to be upgraded to 3.10.5 due to changes in the certs packages. As far as I know, the only change was the version upgrade. The upgrade made the frontend fail with:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/glideinwms/creation/lib/matchPolicy.py", line 84, in __init__
    f, path, desc = importlib.util.find_spec(self.name, self.searchPath)
TypeError: 'NoneType' object is not iterable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/sbin/reconfig_frontend", line 260, in <module>
    main(params, old_params, update_scripts, update_def_cfg)
  File "/sbin/reconfig_frontend", line 69, in main
    frontend_dicts_obj.populate()
  File "/usr/lib/python3.6/site-packages/glideinwms/creation/lib/cvWParamDict.py", line 732, in populate
    self.sub_dicts[sub_name].populate(promote_dicts, self.main_dicts.dicts, params)
  File "/usr/lib/python3.6/site-packages/glideinwms/creation/lib/cvWParamDict.py", line 586, in populate
    populate_common_descript(self.dicts["group_descript"], sub_params)  # MMDB 5345 , self.dicts['attrs'])
  File "/usr/lib/python3.6/site-packages/glideinwms/creation/lib/cvWParamDict.py", line 1070, in populate_common_descript
    policy_module = MatchPolicy(params.match.policy_file)
  File "/usr/lib/python3.6/site-packages/glideinwms/creation/lib/matchPolicy.py", line 89, in __init__
    raise MatchPolicyLoadError(file=file, search_path=self.searchPath)
glideinwms.creation.lib.matchPolicy.MatchPolicyLoadError: Failed to load policy from the file /opt/osg-flock/ospool.osg-htc.org/topology_match_policy.py in the search path ['/opt/osg-flock/ospool.osg-htc.org']

This comes from configuration of match policy_file:
 <match
             policy_file="/opt/osg-flock/ospool.osg-htc.org/topology_match_policy.py"
             match_expr="True"
             ...

The file exists and is readable:
# ls -l /opt/osg-flock/ospool.osg-htc.org/topology_match_policy.py
-rw-r--r-- 1 root root 6851 Dec 20 18:14 /opt/osg-flock/ospool.osg-htc.org/topology_match_policy.py

Info (please complete the following information):
Stakeholders and components can be a comma separated list or on multiple lines.
If you add a new stakeholder or component, not on the sample list, add it on a line by its own.

GlideinWMS version: 3.10.5
Python version: 3.6.8
OS version: EL7
HTCondor version: 10.9
Priority: high
Stakeholders: OSG
Components: frontend

Fixed by PR #380


Strange Alex warnings, ghc 7.11, cabal <IP_ADDRESS>

Everything compiles fine and works as far a I can tell, but I didn't have the 20+ lines of warnings before ghc 7.10. Just a heads up.
[3 of 5] Compiling Token            ( dist/build/verifier/verifier-tmp/Token.hs, dist/build/verifier/verifier-tmp/Token.o )
dist/build/verifier/verifier-tmp/Token.hs:391:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:392:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:393:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:397:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:398:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:402:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:404:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:408:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:410:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:414:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:423:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:437:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:439:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:440:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:441:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:443:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:444:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:445:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:446:5: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:448:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:451:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:452:1: Warning:
Tab character
dist/build/verifier/verifier-tmp/Token.hs:453:1: Warning:
Tab character

Fixed in 8dad5baf2533380514c1518ae7dd3736865b54a2