text:
When you enter a few zeros on the "Transaction fee" screen after moving the cursor to another field and back should display one zero.

Steps to reproduce the behaviour:

go to Send screen
Enter "Transaction fee" (example, 00000)
Move pointer to comment field
Move back to "Transaction fee"
Expected: 0
Actual: 00000

checked

repo: BeamMW/android-wallet


text:
Allow different profit percentages for some items

Firstly, this mod is amazing and something I've been looking for for some time! Absolutely fantastic work @BeanHeaDza
High volume, low cost commodities like crops may be 10% profit while furniture or one time purchases you may want a higher percentage.  I'm suggesting the ability to set different profit margins for specific items, or possibly category.
I'm very happy to work with you in coding new features as well if wanted.

Thanks @AllDayJon!
Yeah I've had some suggestions about it as well. I definitely want this in the mod.
I think adding two new sections to the config would help. One for tags and one for items. The code needs to always prioritize picking from the items list, and it shouldn't allow duplicate items or tags in the UI (I haven't played around with the UI validation yet).
And then if an item matches multiple tags it should always follow the rule of the topmost tag. So hopefully you can drag drop items in the ui to reorder. It would also need some form of a tooltip to explain how the tag priorities works.
The explain text would also need a foldout on the profit section when an item or tag is matched and the overriden percentage is used instead.
That's my thinking on how to add the feature. Feel free to suggest changes if you'd like it done another way that might be better or simpler.
And PRs are always more than welcome.

We had someone who made a custom change for this mod on our server in the past that added so you could specify one or more categories with one symbol/letter/number at the start of the category name to use a seperate profit amount. (You can set the character that you use yourself) (Credit to FilixDark)

source: gharchive/issue

authors: AllDayJon BeanHeaDza wiloxe

repo: BeanHeaDza/TradeAssistant

license: MIT

license_type: permissive

license_source: github-api


text:
Strange display with AppCompat

Hello, can anyone help me please ?
When I use holo theme I have this result with BootstrapEditText

And when I use Theme.AppCompat.Light.DarkActionBar, I have this strange result !

@SqualalaTeam have you changed anything else other than the theme, and does this occur when running the app on a real device? I assume the weird behaviour is the capitalisation?

II have not changed anything, and I use the theme "Theme.AppCompat.Light.DarkActionBar" and yes this happens on real devices

Can you post the layout XML that causes this issue?

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<com.beardedhen.androidbootstrap.BootstrapEditText
    android:id="@+id/editPseudoSign"
    android:layout_marginTop="20dp"
    android:inputType="text"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="@string/nom_et_prenom"
    bootstrapbutton:be_roundedCorners="false"
    bootstrapbutton:be_state="primary"
    android:ems="10" >

    <requestFocus />
</com.beardedhen.androidbootstrap.BootstrapEditText>

<com.beardedhen.androidbootstrap.BootstrapEditText
    android:id="@+id/editMdpSign"
    android:inputType="textPassword"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="@string/mot_de_passe"
    bootstrapbutton:be_roundedCorners="false"
    bootstrapbutton:be_state="primary"
    android:ems="10" />

<com.beardedhen.androidbootstrap.BootstrapEditText
    android:id="@+id/editMdpConfirmeSign"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:inputType="textPassword"
    android:hint="@string/confirme_mdp"
    android:visibility="gone"
    bootstrapbutton:be_roundedCorners="false"
    bootstrapbutton:be_state="primary"
    android:ems="10" />

<com.beardedhen.androidbootstrap.BootstrapEditText
    android:id="@+id/editEmailSign"
    android:inputType="textEmailAddress"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="@string/email"
    bootstrapbutton:be_roundedCorners="false"
    bootstrapbutton:be_state="primary"
    android:ems="10" />

<ProgressBar
    android:id="@+id/progressSign"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:visibility="gone"
    />

<Button
    android:id="@+id/btn_sign"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="@string/inscription"
    android:background="@drawable/btn_connexion_conf"
    style="@style/ButtonText"/>

</LinearLayout>

Looks like this is a problem with the theme, not the library, use the textAllCaps attribute
http://stackoverflow.com/questions/26958909/why-is-my-button-text-coerced-to-all-caps-on-lollipop

Sorry it's my fault, but I'm talking about the BootstrapEditText and not the button !

authors: SqualalaTeam jamie-beardedhen

repo: Bearded-Hen/Android-Bootstrap

license: mit

license_source: bigquery


text:
support for lapce editor

Hello,
I am wondering if it will be possible to port the plugin for the lapce editor ?

Same answer as in https://github.com/BeardedBear/bearded-icons/issues/170 , I prefer to wait until the editor becomes more mature to think about it, and I have other IDEs to port as a priority :)

authors: BeardedBear zero-pytagoras

repo: BeardedBear/bearded-theme


text:
run permission callback within lock resolution closure

I had/have a use-case where I need to lookup the authenticated user's attributes within the permission callback to use them within the ArrayDriver. I came across an issue where by the time the permission callback is called, the authenticated user is not yet available Moving the callback into the provider resolution closure fixed my issue.

Should be fixed in the latest release.

source: gharchive/pull-request

authors: driesvints larryweya

repo: BeatSwitch/lock-laravel


text:
How to generate default_plans_identifier_plans_2D.pkl?

Hello,
I am trying to train your model. I already ran the preprocessing from nnUNet. From the preprocessing, we get a folder with the gt_segmentations, nnUNetPlans_2d, nnUNetPlans_3d_fullres and so on. Additionally, we also get dataset_fingerprint.json, dataset.json, nnUNetPlans.json and splits_final.json. How can I generate the pickle file you need? There isn't much documentation from which I can see how to do it.
Thank you in advance.

@stelatopalova you need nnUNetV1 to generate the pickle files, nnUNetV2 generates .json files. If you run the install script scripts/install.sh, it should install the correct version: https://github.com/Beckschen/3D-TransUNet/blob/190fe40735b2a5f688264db8bc0c93d19b0b98ec/scripts/install.sh#L13
Alternatively, you can install nnunet v1 in a separate env, and run preprocessing commands from there. The confusion I think is  because on the nnUNet github repo the default is to install v2. Then, you can run a command similar to:
nnUNet_plan_and_preprocess -t 501,
or if you want a particular planner for 2d/3d setups for example:
nnUNet_plan_and_preprocess -t 501 -pl2d ExperimentPlanner2D_v21 -pl3d None, (this will create planner only for a 2D setup) or you can add/remove pl2d/pl3d flags and set them appropriately etc.
You need to make sure that you have previously exported all the right environment variables, they have the same names as in scripts/train.sh
Hope this helps

@dimitar10 Thank you for your help! The confusion came because I was following the readme file of 3D-TransUNet and the link of the preprocessing goes to nnunetv2. I now have the preprocessing files I need.

@dimitar10 Thank you for your help! The confusion came because I was following the readme file of 3D-TransUNet and the link of the preprocessing goes to nnunetv2. I now have the preprocessing files I need.


text:
Detect if browser cannot use API

I realize this builder isn't exactly ready for prime-time yet (many missing features, especially regarding flags) but it would be helpful to display an error to the user if their browser is not supported due to lacking the API calls necessary for working with folders.

Could've sworn I'd implemented that. Thank you for telling me I hadn't!
I plan to have other ways to work with an installer in the future so the lack of API support hopefully won't be as huge of a problem as it is currently.

authors: BellCubeDev SlyAceZeta

repo: BellCubeDev/fomod-builder


text:
Look into integrating Ace text editor

Look into integrating Ace or some other open source text editor instead of building our own.

Dealt with in https://github.com/Ben-Wolf/Mergeable/commit/03ddc1ecc8be48a3940d438a7d58a4af275509e9

repo: Ben-Wolf/Mergeable


text:
Update scalatest to 3.2.17

About this PR
📦 Updates org.scalatest:scalatest from 3.2.11 to 3.2.17
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalatest", artifactId = "scalatest" }
}]

labels: test-library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #136.

repo: BenFradet/struct-type-encoder


text:
fix memory errors in setInitialConditionsOnGrid

This fixes use-after-scope errors in setInitialConditionsOnGrid.

/azp run

repo: BenWibking/quokka


text:
galaxy j727u PIT download seems to work but WARNING: Empty bulk transfer

Thanks!  So far software looks great, compiled like that from github on gentoo, didn't even have to install anything, just ran it in home directory as root, PATH=$PATH:/home/user/Heimdall/bin bin/heimdall-frontend
Detecting device...
Manufacturer: "SAMSUNG"
Product: "Gadget Serial"
        length: 18
  device class: 2
           S/N: 0
       VID:PID: 04E8:685D
     bcdDevice: 021B

iMan:iProd:iSer: 1:2:0
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 83
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 02
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
WARNING: Empty bulk transfer after receiving packet failed. Continuing anyway...
PIT file download successful.
Ending session...

The same happens on my Core Prime G360G. Had to compile v1.4.2 as the previous in repo (Mint) just gave errors. Downloading PIT seems to work, now just to be able to download the images themselves... :-)

authors: Hypexed peterius

repo: Benjamin-Dobell/Heimdall


text:
How to handle image larger than container?

How to handle image larger than container?
Example use case:
Container: 800px x 400px
Image: 1600px x 1600px
Actual
Image isn't cropped to wrapper - adding overflow:hidden to parent solves this issue
Cannot zoom or pan image beyond what was initially visible. Turning bounds off removes the issue, but isn't desired.
Expected
Allow zoom and scroll to any image section, and respect bounds.

const ContainerHeight=800
const ContainerWidth=400
...
<Div style={{height: ContainerHeight,width: ContainerWidth,}}>
  <TransformWrapper>

        <TransformComponent>
          <Image
            style={{
              height: ContainerHeight,
              width: ContainerWidth,
              objectFit: "contain",
            }}
            source={{ uri: imgUrl }}
            onLoad={this.onLoadImage}
          />
        </TransformComponent>
    </TransformWrapper>
</Div>;

Did someone manage to get rid of the fixed width/height?
I want the div's dimensions to be relative (100%/100% or within flexbox layout).
See this example, if there's more width than height, the scrollbars appear again:
https://stackblitz.com/edit/react-ts-rc2mcx?file=index.tsx

Did someone manage to get rid of the fixed width/height?
I want the div's dimensions to be relative (100%/100% or within flexbox layout).
See this example, if there's more width than height, the scrollbars appear again:
https://stackblitz.com/edit/react-ts-rc2mcx?file=index.tsx

What about using 100vh and 100vw instead of percentages ?
https://stackblitz.com/edit/react-ts-t2urpm

What about using 100vh and 100vw instead of percentages ?
https://stackblitz.com/edit/react-ts-t2urpm

The issue is, the image is part of a reponsive layout.
My current workaround is to retrieve the available width/height via js and the observer API, but it doesn't feel pretty.

If the size of the image is known, you should be able to set values on the TransformComponent.
<TransformComponent contentStyle={{ width: 1600, height: 1600}}> {...} </TransformComponent>

Setting exact width and height is best practice?

Hello this works fine with "object-fit: contain" but it doesn't work as expected with "object-fit: cover;" and "overflow: visible" in the image.
Here you can find an example of the problem:
https://codesandbox.io/p/sandbox/still-wildflower-8czrrl?file=%2Fsrc%2FApp.js%3A15%2C27

repo: BetterTyped/react-zoom-pan-pinch


text:
Implement different kind of normalization

Right now the normalization is done using the 99th percentile, but leads to a poor segmentation result when using crops. The amount of objects is in the cropped images is higher than in the usually used images, so the normalization (which works on percentiles) differs. Probably another way of normalization is needed for this.

Task:

[ ] create a notebook with crop and whole image and normalize
[ ] compare results of normalization (histogram ...)

repo: BiAPoL/guanine-crystal-analysis


text:
Make it compatible with Python 3

Hi,
This PR makes the demo compatible with Python 3 (without losing compatibility with Python 2), and also fixes an issue with the new argument order of tf.concat.

nice one @dsavenko, waiting for this one to be merged. @BichenWuUCB

authors: cedricve dsavenko

repo: BichenWuUCB/squeezeDet


text:
Integration test

In this pull request we have done the following:

Fix n+1 problem

Before:

After:

As well as integration tests for users#index, users#show, posts#index and posts#show routes.

Hi @Bifabig,
I received a review request for this pull request yet it is already approved and merged. I will invalidate it since this is a double request and unnecessary.

Hi @Team👋🏼👋🏼👋🏼,

Great work on making the changes requested by a previous reviewer 👏 You've done well implementing some of the requested changes, but there are still some which aren't addressed yet.
Highlights✅✅✅

[x]  Some test cases are passing👍🏼.
[x]  Linters are passing👍🏼.

Required Changes ♻

[ ]  Some of your test cases are still failing, kindly do well to fix them as suggested by the previous reviewers😉. Please ensure all test cases are passing before proceeding to submit, so as to avoid any from of blockers👍🏼.

_Check the comments under the review._
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@Ibizugbe Our project is approved... but

Hi @Bifabig,
I received a review request for this pull request yet it was already approved and merged about an hour ago. I will invalidate it since this is a double request and unnecessary.

@KDlamini Yes but it's not updated on my dashboard... Why is that?

Reference

@gemmen29 You rently approved our pull request but my dashboard has not been updated. Please have a look.

Hi @Bifabig , sorry for the inconviniences. Kindly reach out to @gemmen29, probably there has been a slight mistake👍🏼.

@Ibizugbe Is there anything you can do for me... He's not responding right now.

@Bifabig Mate it's submitted on my dashboard I think it's just a glitch that is creating the issue and I think if it's not updated on your dashboard we should ask for help from micro verse team

@Bifabig - I marked your project as completed now.
@tamoorsaeed22 - it´s not a glitch. This project is a pair-programming one but each student is meant to submit their own PR.
Your request should have been invalidated because you used your partner PR.
I strongly suggest you to create your own PR for this project.

authors: Bifabig KDlamini enniopo tamoorsaeed22

repo: Bifabig/blog-app-rails


text:
Need To Change the Favicon to a Cog

I will be needing to change the favicon to a Cog and then implement another change with the icon on the home page, and change that to either a cogs or something else.
In total I will be implementing the following:

[x] Change the Favicon to the Site
[x] Change the Icon on the homepage
[x] Edit the layout of the blog to ensure that the latest posts are being published

I fixed the issue with the Favicon and the icon on the home page. The next thing to tackle will be to automate the process of merging the gh-pages branch and the master branch, once a post is pushed onto the repository.


text:
TBI Motor/Verbal Data Request

Redirects tbi severity as a scalar to represent glasgow coma scale

so i don't see anywhere where gcs is set on the patient, you could just copy and paste that howto code into nervous.cpp and set it as a function of that as part of this pull request, seems like this is just to make that data avalable? currently it will just always return 0 per these commits

repo: BioGearsEngine/core


text:
Add support for apng/animated png

http://apng.onevcat.com/demo/

Is there any source already using it, and, if so, do you have a link to such an image on that source?

Search the tag "animated_png" I know e621 supports it and that the site sankaku has a bunch, I will post a link when home unless you search the tag.

Indeed, I found a bunch on e621.
Seems like it will need the compilation and bundling in Grabber of an additional image plugin:
https://github.com/Skycoder42/qapng
Which itself only has a single star.

Not sure if it's already implemented there, but QtWebEngine might be the best way to support this in the future.
Related:
https://github.com/qutebrowser/qutebrowser/issues/1332

Never heard of such a thing, but that's a really cool format!

Never heard of such a thing, but that's a really cool format!

Apng is dead. For a long time. That's why you never heard about it. Only few sites still uses it.
Made as substitution for GIF, APNG failed to become popular and died very soon. Few years after WEBM sucsessfully replaced GIF on many sites and became very-very popular, for example, almost all boorus and imageboards supports WEBM. Many other intresting formats like MNG, APNG, WEBP very bed supported by wodespread soft, so they are not very popular.
P.S.
@Bionus does Grabber supports WEBP images? :thinking:

Not sure if it's already implemented there, but QtWebEngine might be the best way to support this in the future.
Related:
qutebrowser/qutebrowser#1332

Adding a dependency on QtWebEngine only to play a few images doesn't sound like a good deal, as we're talking about adding more than 20MB of DLLs. That's actually one of the reasons the video player was removed (there used to be one for a short time that used QtWebEngine).

P.S. @Bionus does Grabber supports WEBP images? 🤔

It should, through the qwebp plugin (see the imageformats directory in the installation folder).

Dead or not, I'm excited to hear about apng, as I love png files and it's not every day you learn about a new file type. The png file is probably my favorite image format. Of course, webp is great too, but not widespread supported http://caniuse.com/webp/embed/. Many browsers have not adopted webp as a standard, probably more because of stingy feet toward Google/Chrome than anything else. Clearly, apng has the quality advantage over gif. It'd be nice to have support for all file types, but understandably you don't just want to keep globbing in DLLs. Perhaps grabber needs plugins for options like that (personally, I'd love to have the video player built-in).

As I see it, there are sites using it. Dead it not we can't ignore that it is used. Thank you Barry.

Apng is dead. For a long time. [..]

Yeah, just like GIF is dead. No, wait. It isn't. It boggles my mind that we still use this 30 (!) years old format.
We now have messenger apps, from Facebook etc., and communication apps like Slack and more with built-in GIF support, even better, prominently advertised as a top, must have feature.
And as you pointed out, the increasing use of WebM, and sites like Gfycat. This is nothing more as an abuse of a video format to work around the limitations of GIF. This is exactly where APNG would fit in.

QuickViewer (https://github.com/kanryu/quickviewer) seems to support APNG and is also Qt-based, not sure what implementation is used there, but might be a viable alternative.

Good find. Seems like they have a qapng2.dll file. If it's known to work and if I manage to find its origin, I'll gladly include it, as it's a much smaller file.
From what I can see, it seems to be:
https://github.com/kanryu/qapng_Skycoder42
That project's README however recommend using the newest version instead (the one I linked earlier):
https://github.com/Skycoder42/qapng
The QuickViewer author seems to still have some remarks about it though: https://github.com/Skycoder42/qapng/issues/1.
I'll give a try to the Skycoder42/qapng project tonight (as it's the "original" and is recommended by the other one), and see if I can build it and put it in Grabber (thankfully it's a BSD-3 project).

Perhaps Grabber needs plugins for options like that for a video player or apng support as two examples.

That's an option I thought about before, but that would make the program more complicated and harder to maintain. Given how Grabber isn't really the cleanest and stablest of programs, I wouldn't really risk it in the short term. 😅

authors: BarryMode Bionus Hrxn MasterPetrik brodycas3

repo: Bionus/imgbrd-grabber


text:
Can't install 4.1.4 on win 10: Internal Error:ExtractTemporaryFile: Thefile "" was not found.

title
Am missing something? I got Visual C++ 2013 Redistributable installed.

Did you install the x86 version? Even if your system is 64 bits, Grabber is a 32 bits application.
The reason for this issue is that Microsoft update the URLs to the MSVC redistribuables, that's why the installer can't find them anymore.
I added a warning on the release page.

Ye it worked.
Thank you.

Why reopen if it worked?
I'll close for now, feel free to reopen and add some information if the issue remains.

authors: Bionus maslos


text:
Native project must be ejected

in future, we will be adding lot of Native code, so we need to upgrade/change dev stack

@jetpack3331  - can we detail what we'd need native modules for, setting up custom build/dev env's will be cool, but could also be time-consuming at this stage, when we're still trying to flesh out the barebones of the app.

@Pushplaybang  I did it few days ago and was almost done, so the hard part i have :)

After testing it on ios please close it @florianlenz

Merged in #38

authors: Pushplaybang florianlenz jetpack3331

repo: Bit-Nation/BITNATION-Pangea-react


text:
Sort checkpoints.json

When checkpoints.json is created, checkpoints should be sorted by height.

Just change the checkpoint map from unordered_map to map.

https://github.com/BitShares/bitshares/commit/e616e798f1cf862ec00e6403737d0f39560014cb

authors: theoreticalbts vikramrajkumar

repo: BitShares/bitshares

license: Unlicense


text:
enhanced faq page

@Anuj3553
I have enhanced the FAQ page and added View More feature
Kindly check it
If possible consider it as level3
issue no : #298
https://github.com/user-attachments/assets/424c26c9-f96a-437f-b848-8985019eb6b7

There are some conflict. Please Check it App.jsx file

@Anuj3553
Please check now

Well done @AswaniBolisetti

repo: Bitbox-Connect/Bitbox


text:
Error in MercadoPagoCheckout.createPayment

** ERROR  Payment checkout issue: [TypeError: Cannot read property 'createPayment' of null]*
I'm using one of the examples to test the library, but it's not working, when I press to buy a sneaker, it returns the preferenceId, but I get this error above.
I'm basically using all the code from the tennis example.
Screenshots
import { Provider as PaperProvider } from 'react-native-paper';
import ProductCard from './components/ProductCard';
import StatusBar from './components/StatusBar';
import { Appbar } from 'react-native-paper';

import * as React from 'react';
import { Alert, FlatList, SafeAreaView } from 'react-native';
import MercadoPagoCheckout from '@blackbox-vision/react-native-mercadopago-px';

import { getProducts, getPreferenceId } from './mercadopago-service';
import { ArrowLeftBlue } from '@packages/atoms';
import { key } from './types';

export default function PaymentForm({ navigation }: any) {
  const products = getProducts();

  const startCheckout = async ({ title, description, amount }: any) => {
    try {
      console.log('Starting checkout process'); // Debugging output
      const preferenceId = await getPreferenceId('payer@email.com', {
        title,
        description,
        quantity: 1,
        currency_id: 'ARS',
        unit_price: amount,
      });
      console.log('Generated preferenceId:', preferenceId); // Debugging output

      if (!preferenceId) {
        throw new Error('preferenceId is null or undefined');
      }

      const payment = await MercadoPagoCheckout.createPayment({
        publicKey: key,
        preferenceId,
      });

      if (payment.status === 'in_process') {
        Alert.alert(
          'Payment In Progress',
          'You will receive an email when the payment of the product is complete'
        );
      } else if (payment.status === 'rejected') {
        Alert.alert(
          'Payment Rejected',
          'Please retry payment. If error persists contact support'
        );
      } else {
        Alert.alert(
          'Payment succeed',
          'You will receive an email with the invoice of your product'
        );
      }
    } catch (err: any) {
      if (err.message.includes('cancel')) {
        Alert.alert(
          'Payment was cancelled',
          'You can keep checking out our products'
        );
      } else {
        Alert.alert(
          'Payment checkout issue',
          'Please retry payment. If error persists contact support'
        );
        console.error('Payment checkout issue:', err); // Log the error for debugging
      }
    }
  };

  return (
    <PaperProvider>
      <StatusBar />
      <SafeAreaView style={{ flex: 1 }}>
        <Appbar style={{ gap: 40, paddingLeft: 20 }}>
          <ArrowLeftBlue onPress={() => navigation.goBack()} />
          <Appbar.Content title="Products" />
        </Appbar>
        <FlatList
          data={products}
          keyExtractor={(item) => `${item.id}`}
          renderItem={({ item }) => (
            <ProductCard {...item} onPress={startCheckout} />
          )}
        />
      </SafeAreaView>
    </PaperProvider>
  );
}

Dependencies
{
"name": "app-merchant",
"version": "1.0.0",
"main": "index.js",
"prettier": {
"singleQuote": true
},
"scripts": {
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"@blackbox-vision/react-native-mercadopago-px": "^0.8.0",
"@mercadopago/sdk-react": "^0.0.19",
"@packages/atoms": "",
"@packages/constants": "",
"@packages/context": "",
"@packages/molecules": "",
"@packages/organisms": "",
"@packages/templates": "",
"@react-native-async-storage/async-storage": "^1.23.1",
"@react-native-community/datetimepicker": "8.0.1",
"@react-native-masked-view/masked-view": "^0.3.1",
"@react-native-picker/picker": "2.7.5",
"@react-navigation/bottom-tabs": "^6.5.20",
"@react-navigation/native": "^6.1.17",
"@react-navigation/stack": "^6.3.29",
"@supabase/supabase-js": "^2.43.4",
"@types/mercadopago": "^1.5.11",
"@types/mercadopago-sdk-js": "*",
"axios": "^1.7.2",
"base64-arraybuffer": "^1.0.2",
"expo": "~51.0.11",
"expo-camera": "~15.0.10",
"expo-dev-client": "~4.0.15",
"expo-device": "~6.0.2",
"expo-image-picker": "~15.0.5",
"expo-notifications": "~0.28.7",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.6",
"expo-web-browser": "^13.0.3",
"jotai": "^2.8.3",
"lottie-react-native": "6.7.0",
"metro-resolver": "^0.80.9",
"react": "18.2.0",
"react-native": "0.74.2",
"react-native-config": "^1.5.1",
"react-native-gesture-handler": "^2.16.2",
"react-native-paper": "^5.12.3",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "^3.31.1",
"react-native-svg": "15.2.0",
"react-native-svg-transformer": "^1.4.0",
"react-native-url-polyfill": "^2.0.0",
"react-native-uuid": "^2.0.2",
"socket.io-client": "^4.7.5"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/mercadopago-sdk-js": "^2.0.15",
"@types/react": "~18.2.45",
"typescript": "~5.3.3"
},
"private": true
}

Hi @E-Mello, if you're using Expo, read the following:
https://react-native-mercadopago-px.blackbox-vision.tech/docs/compatibility#expo--sdk-41

authors: E-Mello JonatanSalas


text:
logo and image

Hi,
I want to add a logo or image next to the text in navbar-brand before nav-item".
But i've a big image and not a little image.
How can i do it  please ?

                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    Toggle navigation Menu
                </button>
				 	WEBSITE NAME

authors: pebblerock traacy

repo: BlackrockDigital/startbootstrap-agency


text:
设置log写入文件级别有误

LogUtils.Config config = LogUtils.getConfig();
config.setFileFilter(LogUtils.W)// log文件过滤器，和logcat过滤器同理，默认Verbose
设置LogUtils.D的情况，LogUtils.I级别的日志也写入文件中了。

大佬，你Logcat设置D会没有I？

十分抱歉，常识问题给您添麻烦了，请见谅

authors: Blankj Likarl

repo: Blankj/AndroidUtilCode


text:
Application is treated as virus by ESET when we include blankJ (Not confirmed)

One of my Application has been categorized as "Potentially unsafe Application" by ESET Antivirus software.
Threat Name: Android/DataCollector.UtilCode.A (variant)
I couldn't find the root cause and I searched over the internet and found this thread,
https://github.com/Meituan-Dianping/walle/issues/274
Where people are saying when they include this library their application was treated as a virus by some AntiVirus Software.
Does this library has any issue related to security? or is it a false positive?

Try to open proguard, and don't keep my library.

I haven't added proguard into the application. Should I need to add to resolve this issue?

just set minifyEnabled true to open proguard.
buildTypes {
    release {
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

Hey, thanks for the response. I know how to add progaurd in my app. I've had some issues when enabling progaurd that's why I haven't implemented yet. It it solves the problem then I'll happily enable the progaurd.
My question is,

Is this is a known issue with the library treating the app as "Potentially unsafe application"
Is "enabling the progaurd" the only way to resolve this issue?

@vijayakumar52  Yes, this is a known issue. Because I don't know which APIs cause the problem, I can't fix it.

try to use the version of 1.24.6

Please also see: https://www.virustotal.com/gui/file/52c11711e1d8c3023f509ee77b456c2047472296725c8eb0fcd3d09ada950621/detection
It detects PhoneUtils.dex (a pre-dexed version of the PhoneUtils.class) as Trojan.SMS.AndroidOS.Agent.a3.

@jhansche version of 1.25.7 is ok.

Threat Name: Android/DataCollector.UtilCode.A (variant)
请问这个问题在新版解决了吗 @Blankj

authors: Blankj fantasyado jhansche vijayakumar52


text:
Make public static fields final

This reduces the possibility of accidents or malicious code changes vulnerability, especially as most of these fields are in the encryption-related util class.

These fields are provided to users to change the mode on purpose.

That's fine, I am not making them private, just final, so people don't change the value of AES_Algorithm class variable for example from AES to Caesar.

I chang the field of DES_Algorithm is private static final. The field of DES_Transformation is public static. If it's final, user can't change DES_Transformation to DES/ECB/PKCS5Padding.

authors: Blankj vpop


text:
@Formula annotation in subquery results in The cte column [null] has already been bound! (QueryDSL)

Description
Using @Formula in an entity to fetch results in the error "The cte column [null] has already been bound!". This error is not present if we fetch normally without a subquery.
Expected behavior
The entity should be fetched normally - same as not in a subquery
Actual behavior
Error: The cte column [null] has already been bound!
Steps to reproduce
Test case works with bondResults.fetch(), fails on outerQ.fetch().
outerQ.fetch() works if the @Formula annotations are removed.
@Entity
@Table(name= "brokered_security")
public class MyEntity {

    @Id
    @Column(name = "brokeredsecurityid", insertable = false, updatable = false)
    @Getter
    private long brokeredsecurityid;

    @Getter
    @Column(name="minoffersize")
    private BigDecimal minOfferSize;

   @Getter
    @Formula("""
              1+1
             """ )
    private Integer termYrOfMbs;

    @Getter
    @Formula(" 2+2 ")
    private BigDecimal yieldToWorst;
}

@Service
public class MyService {

    private final CriteriaBuilderFactory blazeCriteriaBuilderFactory;

    @PersistenceContext(unitName = "QwickNotes")
    private EntityManager qwickNotesEntityManager;

    public MyService(    @Qualifier("QwickNotesCriteriaBuilderFactory") CriteriaBuilderFactory cb){
        this.blazeCriteriaBuilderFactory = cb;

    }

    @Transactional(transactionManager = "QwickNotesTransactionManager")
    public void doBlaze(){

        var qent = new QMyEntity("entity");
        var qsubent = new QMyEntity("subentity");

        BlazeJPAQuery<MyEntity> bondResults = new BlazeJPAQuery<Tuple>(qwickNotesEntityManager, blazeCriteriaBuilderFactory)
                .select(
                        qent
                )
                .from(qent)
              ;

        var results = bondResults.fetch();

        var outerQ = new BlazeJPAQuery<Tuple>(qwickNotesEntityManager, blazeCriteriaBuilderFactory)
                .select(
                        qsubent
                )
                .from(bondResults,qsubent)
                ;

        var outerResults = outerQ.fetch();
        int breakpoint = 0;

    }
}

Environment
Version:            1.6.6
JPA-Provider:       Hibernate 5.4.32

Thanks for the report. I'll try to look into this, but I think fixing this properly is not going to be very easy, because the exception you are seeing is probably just the first of a few that will happen. So if you can workaround this by removing formulas, I would suggest you do that for now.

In CTE's we do not support @Formula's, and throw a boot time exception for it: #546.
When using entities as CTE's - such as using a subquery in a FROM or JOIN clause, I believe the same rules apply.

repo: Blazebit/blaze-persistence


text:
Deserializing EntityViews with jackson in Springboot yields null instead of an EntityView

Description
When deserializing an EntityView in a DTO as payload in a @RequestBody the new Blaze version deserializes null while the old version can transform the id that is set, e.g. 3000 to the respective EntityView
The difference is, when deserializing, jackson (in MethodProperty#deserializeAndSet)  uses the EntityViewReferenceDeserializer in the newer case (probably as a fallback implementation) while when using the old Blaze version <EntityIdViewName>Deserializer is used.
The EntityViewReferenceDeserializer (new version) starts looking for an { idAttribute: <Id>} (com.blazebit.persistence.integration.jackson.EntityViewReferenceDeserializer#retrieveId)  in a JsonNode that only contains the value of the id (e.g. 3000) and thus cannot find an id and cannot create the EntityView.
Probably in the new version the <EntityIdViewName>Deserializer is not registered with the ObjectMapper.
The payload we would send looks something like this:
{ niceEntity: 3000, ... }

With a DTO of:
@Data
....
NiceEntityDTO {
	private NiceEntityIdView niceEntity;
    ...
}

With the idView being something like this:
@EntityView(NiceEntity::class)
interface LongIdView {
    @get:IdMapping
    val id: Long?
}

In this example in the old version of Blaze, jackson would use the NiceEntityIdViewDeserializer while in the new version EntityViewReferenceDeserializer  is used to deserialize the niceEntity property in NiceEntityDTO.
Expected behavior
After deserialization the DTO class should contain a NiceEntityIdView with an id of 3000.
Actual behavior
After deserialization the DTO class should contains null for the niceEntity field.
Environment
Current Version:  latest master build,
Before Version:    based on 191e13067
JPA-Provider:        Hibernate 6.4.4.Final

@beikov i would assume this will be a major issue with the new upcoming version, another sideeffect from https://github.com/Blazebit/blaze-persistence/issues/1858 IMHO

@beikov AFAICS the reason is not that our specific SpaceIdViewDeserializer is no longer registered (it is), but rather that EntityViewAwareObjectMapper#EntityViewAwareObjectMapper we add a new objectMapper module (btw we should use a proper name there like SimpleModule module = new SimpleModule("EntityViewReferenceDeserializer"); and this on is picked before ours.
in the old BP implementation, EntityViewReferenceDeserializer was not registered as a deserialization module on the objectMapper used here.
I assume, the object mapper we now pass into EntityViewAwareMappingJackson2HttpMessageConverter with
@Bean
    @Qualifier("EntityViewAwareConverter")
    @Lazy
    fun entityViewAwareMappingJackson2HttpMessageConverter(
        entityViewManager: EntityViewManager,
        entityViewIdValueAccessor: EntityViewIdValueAccessor,
        objectMapper: ObjectMapper
    ): EntityViewAwareMappingJackson2HttpMessageConverter {
        return EntityViewAwareMappingJackson2HttpMessageConverter(
            entityViewManager,
            entityViewIdValueAccessor,
            objectMapper
        )
    }

Is the objectMapper that is used for deserialization here. And this object mapper know is manipulated within EntityViewAwareObjectMapper and an additional module is added, changing the behavior.

authors: EugenMayer tom-mayer


text:
Feature/share activity

Summary by Sourcery
Add a new feature that allows users to share their course-related activities on social media platforms. This includes sharing course purchases, certificate claims, and test passes. Enhance the user interface by integrating modals for sharing activities and improve error handling in the certificate download process.
New Features:

Introduce a feature to share course-related activities, such as course purchases, certificate claims, and test passes, on social media platforms like Twitter, Instagram, and Warpcast.

Bug Fixes:

Improve error handling in the certificate download process to provide better feedback when a certificate cannot be retrieved.

Enhancements:

Add modals to various components to facilitate the sharing of activities, enhancing user engagement by allowing them to share their achievements directly from the application.

@sourcery-ai review

repo: Blind-Gallery/BG-Academy


text:
Define Constants in Setup Process?

I have a project that is using constants instead of environment variables to define its settings. This config file is not in version control to protect the passwords and keys. Is there a way I can configure Constants similar to the Env plugin? Or would this require a new plugin?

What I personal do is a config file with test values what I copy with the shell plugin the test copy file to the location of the normal config file (I also don't have the normal config file in the repository)
I don't know if that is a solution for you

Ah, thanks for the ideas, @tvbeek. I actually wrote a plugin for constants based on the env plugin. Will add unit tests, and create a PR for it. :)

authors: mikebronner tvbeek


text:
For types under stateful metrics, it is not forcing both a check that the string exists and also that it is a string value

I was able to have an actual int type instead of the string for example

Need to add the json

repo: BlockScience/MSML


text:
Fix bindings to scale and linear_combination_1

When the safe_ versions of these functions were introduced, the primitiveJetNode.inc file was not correctly updated to bind to the new "safe_" version of the jets.
To remedy this issue we instead exchange the names of the safe_ functions, removing the safe_ prefix and instead adding an "off_curve_" prefix to the unsafe versions.
primitiveJetNode.inc isn't touched in this commit since it was already referencing the names without a prefix.

This fixes an issue with #237.

@roconnor-blockstream Do you plan to update primitiveJetNode.inc to include off_curve_scale and off_curve_linear_combination1?

authors: roconnor-blockstream uncomputable

repo: BlockstreamResearch/simplicity


text:
docs: initial getting-started commit

Publish initial commit for getting-started docs

Closing this in favor of https://github.com/BluBracket/docs.blubracket.com/pull/61

authors: alexandriastech misterbisson


text:
Incoming/out going links should be sortable

Incoming/out going links should be sortable in resource view.
@ Pavlo Getta.

to be improved in next resource view

authors: adulbrich dhaneshnm

repo: BlueBrain/nexus


text:
Added jinja2 upgrade

Fixes #3226

Hi @samuel-kerrien  ! The issue reported by @alex4200 comes from the installed package allensdk, which downgrades the jinja2 package. I have added a manual package upgrade to the notebook now.
I had a suggestion regarding the instructions here: I would remove the section "Install Additional Packages" since all of these packages are then installed from within the notebook. Unless there is some other reason why those installations had to be run before starting the notebook.

Hi Anna, thanks for looking into this !
With respect to your proposal on updating the Python Setup instruction, I guess we can't remove the Jupyterlab part but I agree, we can take out the libs that are specific to what you run inside the notebook (forge, allensdk and neurom).
Here is a visual of what I would propose we take out (in red rectangles):

Do you want to include that in your PR for completeness ?

@samuel-kerrien, could you please have a look at this PR?


text:
Add back button to image viewer

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @Intellijence in #android-bugs.

Added. My beta

repo: BlueBubblesApp/BlueBubbles-Android-App


text:
Support invisible ink and other message styles

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #support.

https://github.com/BlueBubblesApp/BlueBubbles-Android-App/issues/293#issuecomment-862834989

I'm going to make sub-tickets for each of these because we don’t need to do all them at once.


text:
[Object Box] Sent Messages that are not delivered disappear from the chat after leaving and re-entering

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #support.

This is fixed by removing the send queue. Or... Modifying it so that the messages are added to the DB, then queued up. So that it goes into the DB immediately

repo: BlueBubblesApp/bluebubbles-app


text:
Fix 403 Google authentication

Might be happening because the call to add firebase to the GCP fails. Unsure why it's failing though.
Also discovered that manually enabling the firebase API may not auto create the service account required. But using the API may automatically do it. We have to make sure that no matter if it's enabled manually or automatically, the service account gets created

This issue was fixed in our 1.8.0 release

Is there a temporary solution for this issue? I have never used blue bubbles before and am stuck with the 403 error trying to set it up. Some quick searching suggests there used to only be a manual way to set up Firebase. Since the new automatic way is simply broken for me, how might I do it manually? Was it removed from the docs with the last couple of releases?

For people encountering this issue, a temporary solution is to log in to https://console.firebase.google.com/
Once you do that, the automatic project creation will work.

Closing as it's fixed next update

authors: KNIX3 Rihcus jjoelj zlshames

repo: BlueBubblesApp/bluebubbles-server


text:
🛑 hosted-PalmettoGBA is down

In 87a2afc, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in dee9026.


text:
🛑 hosted-PalmettoGBA is down

In ec7cb7b, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 50481ff.


text:
🛑 hosted-PalmettoGBA is down

In d60850e, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in ee2272b.


text:
🛑 hosted-PalmettoGBA is down

In 68ad6c4, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in de6e9b4 after 28 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 6e24ed6, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in ca2c4a2 after 9 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 5367720, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in ff47116 after 20 minutes.

Resolved: hosted-PalmettoGBA is back up in ff47116 after 20 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 460996f, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 03ee0c6 after 9 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 95eaf52, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in bb2b0fb after 9 minutes.


text:
Accesskey navigation between Chapters (and Pages) within a Book

Describe the feature you'd like:
Since you've already gone for the Bookshelf > Book > Chapter > Pages approach, I think it would be really nice to be able to go to the next page or chapter by pressing an arrow key. Left arrow goes to the previous chapter (or page) behind it, right arrow goes to the next chapter (or page) in front of it.
Describe the benefits this feature would bring to BookStack users:
While not exactly useful for editing or the like, I think it is pretty useful if you're gonna be reading through something, either for proofreading, checking the flow of the text or simply for reading through it just because. It's a convenience thing mostly, less interruptions to take you out of the content.

Hi @GreatestFool,
Thanks for your suggestion. The idea non-editor keyboard shortcuts is already open under #1216 so I'll likely close this off to cut-down on duplicates.
I think I'd be apprehensive to take over the arrow keys directly, since users may use them for navigational purposes, but perhaps some other keys or a modifier key with the arrow keys could work.

authors: GreatestFool ssddanbrown

repo: BookStackApp/BookStack


text:
Proxy Issue - Installation Script - Ubuntu 16.04

Cloning into 'bookstack'...
remote: Counting objects: 12981, done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 12981 (delta 0), reused 42 (delta 0), pack-reused 12939
Receiving objects: 100% (12981/12981), 8.11 MiB | 2.55 MiB/s, done.
Resolving deltas: 100% (8824/8824), done.
Checking connectivity... done.
ERROR: Invalid composer installer signature

Any idea how to resolve?

Script works on Vultr, so must be something with the proxy...
I have run the following commands:
``export HTTP_PROXY=http://192.168.105.5:8080
export http_proxy=http://192.168.105.5:8080
export HTTPS_PROXY=http://192.168.105.5:8080
export https_proxy=http://192.168.105.5:8080
git config --global http.proxy http://192.168.105.5:8080
What else can I try?

Both commands in the script seems to work....

studera@bookstack:~$ wget https://composer.github.io/installer.sig -O - -q
544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061
studera@bookstack:~$ curl -s https://getcomposer.org/installer > composer-setup.php
studera@bookstack:~$

Hey @aaronstuder
What does php -r "echo hash_file('SHA384', 'composer-setup.php');" return when you're in the  directory that has composer-setup.php in it?
The script is comparing the key obtained from wget https://composer.github.io/installer.sig -O - -q to a hash of the actual composer-setup.php
Is your copy of composer-setup.php getting changed somehow?

Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.

authors: aaronstuder domainzero ssddanbrown


text:
if-else using {{=propName}}

The if ("{{=theaterId}} is breaking.  Is there a way to check the value of a property of an element that's currently in iteration?
I posted a message on stackoverflow here: http://stackoverflow.com/questions/8622045/jsrender-if-else-using-propname
Thanks!

Answered on Stack Overflow. http://stackoverflow.com/questions/8622045/jsrender-if-else-using-propname

authors: BorisMoore ianhd

repo: BorisMoore/jsrender


text:
trait VisitMut

Would it be advisable to introduce VisitMut for the purpose of applying AST transformations?

Is this for working with the transpiler?

Is this for working with the transpiler?

Yes, I am trying to transpile JSX.

@magic-akari Done.
To setup this up, you need to bring in the allocator and AstBuilder.

I need something like visit_mut_children_with in SWC or something super.visit_expression() in OOP.

If this doesn't work:
https://github.com/Boshen/oxc/blob/b0ce6e41584a2066b6f241d1b68ce7a37adb15d8/crates/oxc_ast/src/visit_mut.rs#L334-L338
I guess we'll need to implement it like rustc https://doc.rust-lang.org/stable/nightly-rustc/rustc_ast/visit/trait.Visitor.html
Just very boring code :-)

If this doesn't work (use visit_expression_match):
https://github.com/Boshen/oxc/blob/b0ce6e41584a2066b6f241d1b68ce7a37adb15d8/crates/oxc_ast/src/visit_mut.rs#L334-L338
I guess we'll need to implement it like rustc https://doc.rust-lang.org/stable/nightly-rustc/rustc_ast/visit/trait.Visitor.html
Just very boring code :-)

Ah! visit_expression_match works!
What an ingenious approach!
Do you have a crystal ball🔮 to predict this usage?

Do you have a crystal ball🔮 to predict this usage?

Just simple mind reading 😉

authors: Boshen magic-akari

repo: Boshen/oxc


text:
Update sbt-wartremover, wartremover to 2.4.15

Updates

org.wartremover:sbt-wartremover
org.wartremover:wartremover

from 2.4.13 to 2.4.15.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.wartremover" } ]

labels: library-update, semver-patch

Superseded by #71.


text:
Update scalafmt-core to 3.1.2

Updates org.scalameta:scalafmt-core from 2.7.5 to 3.1.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-major, semver-spec-major

Superseded by #97.


text:
🛑 beds is down

In 20ff9e7, beds (https://beds.botslovers.com) was down:

HTTP code: 404
Response time: 592 ms

Resolved: beds is back up in a8b114f after 20 minutes.

repo: Botslovers-SL/uptime


text:
🛑 devmercadona is down

In 34008d0, devmercadona (https://devmercadona.botslovers.com) was down:

HTTP code: 404
Response time: 442 ms

Resolved: devmercadona is back up in ccef964.


text:
Regression: Octopus Energy: Refresh previous consumption data service error for Gas entity only

Describe the bug
Since 25th Feb 2024 there have been delays in consumption data becoming available in the Octopus API. However, data for 26th appeared in the Android App, so I tried to run the 'Refresh previous consumption data' service for the 26th onwards.
I found that the service runs correctly only for the Electricity entity. For the Gas entity the service fails with an error as in the logs below.
Reproduction steps
developer-tools/services/
'Refresh previous consumption data'
Select date to refresh data from.
Select entity:
Electricity: sensor.octopus_energy_electricity_xxxx_yyyy_previous_accumulative_consumption - Result is OK
Gas: sensor.octopus_energy_gas_xxxx_yyyy_previous_accumulative_consumption_m3-  Failed to call service octopus_energy.refresh_previous_consumption_data. Unknown error
Previously this worked with 10.1.0 (last used about two weeks ago) but with 10.1.4 the Gas service errors.
Expected behaviour
Expected service to update Gas previous consumption data runs without error as previously (10.1.0)
Note: the 'self._account_id' in custom_components/octopus_energy/gas/previous_accumulative_consumption_cubic_meters.py
line 188 appears to have been introduced with this commit:
https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/commit/a328fece656eda5a5f0bf432b3ef290517abab07
Maybe the AttributeError: 'OctopusEnergyPreviousAccumulativeGasConsumptionCub' object has no attribute '_account_id' in logs means account_id needs to be added in the definition on Line 40 and following?
Tariff Code
G-1R-SILVER-23-12-06-A
Integration Version
10.1.4
Home Assistant Version
2024.2.3
Fresh Install?
After upgrading
Home Assistant Logs
Feb 29 02:56:07 pihole hass[147343]: 2024-02-29 02:56:07.348 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'OctopusEnergyPreviousAccumulativeGasConsumptionCub' object has no attribute '_account_id'
Feb 29 02:56:07 pihole hass[147343]: Traceback (most recent call last):
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 485, in _async_step
Feb 29 02:56:07 pihole hass[147343]:     await getattr(self, handler)()
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 723, in _async_call_service_step
Feb 29 02:56:07 pihole hass[147343]:     response_data = await self._async_run_long_action(
Feb 29 02:56:07 pihole hass[147343]:                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 685, in _async_run_long_action
Feb 29 02:56:07 pihole hass[147343]:     return long_task.result()
Feb 29 02:56:07 pihole hass[147343]:            ^^^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/core.py", line 2279, in async_call
Feb 29 02:56:07 pihole hass[147343]:     response_data = await coro
Feb 29 02:56:07 pihole hass[147343]:                     ^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/core.py", line 2316, in _execute_service
Feb 29 02:56:07 pihole hass[147343]:     return await target(service_call)
Feb 29 02:56:07 pihole hass[147343]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 892, in entity_service_call
Feb 29 02:56:07 pihole hass[147343]:     single_response = await _handle_entity_call(
Feb 29 02:56:07 pihole hass[147343]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 962, in _handle_entity_call
Feb 29 02:56:07 pihole hass[147343]:     result = await task
Feb 29 02:56:07 pihole hass[147343]:              ^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/custom_components/octopus_energy/gas/previous_accumulative_consumption_cubic_meters.py", line 188, in async_refresh_previous_consumption_data
Feb 29 02:56:07 pihole hass[147343]:     self._account_id,
Feb 29 02:56:07 pihole hass[147343]:     ^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]: AttributeError: 'OctopusEnergyPreviousAccumulativeGasConsumptionCub' object has no attribute '_account_id'
Feb 29 02:56:07 pihole hass[147343]: 2024-02-29 02:56:07.455 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546347268416] Error handling message: Unknown error (unknown_error) username from ip (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36)
Feb 29 02:56:07 pihole hass[147343]: Traceback (most recent call last):
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
Feb 29 02:56:07 pihole hass[147343]:     await func(hass, connection, msg)
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/components/websocket_api/commands.py", line 795, in handle_execute_script
Feb 29 02:56:07 pihole hass[147343]:     script_result = await script_obj.async_run(
Feb 29 02:56:07 pihole hass[147343]:                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 1600, in async_run
Feb 29 02:56:07 pihole hass[147343]:     return await asyncio.shield(run.async_run())
Feb 29 02:56:07 pihole hass[147343]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 435, in async_run
Feb 29 02:56:07 pihole hass[147343]:     await self._async_step(log_exceptions=False)
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 487, in _async_step
Feb 29 02:56:07 pihole hass[147343]:     self._handle_exception(
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 512, in _handle_exception
Feb 29 02:56:07 pihole hass[147343]:     raise exception
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 485, in _async_step
Feb 29 02:56:07 pihole hass[147343]:     await getattr(self, handler)()
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 723, in _async_call_service_step
Feb 29 02:56:07 pihole hass[147343]:     response_data = await self._async_run_long_action(
Feb 29 02:56:07 pihole hass[147343]:                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 685, in _async_run_long_action
Feb 29 02:56:07 pihole hass[147343]:     return long_task.result()
Feb 29 02:56:07 pihole hass[147343]:            ^^^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/core.py", line 2279, in async_call
Feb 29 02:56:07 pihole hass[147343]:     response_data = await coro
Feb 29 02:56:07 pihole hass[147343]:                     ^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/core.py", line 2316, in _execute_service
Feb 29 02:56:07 pihole hass[147343]:     return await target(service_call)
Feb 29 02:56:07 pihole hass[147343]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 892, in entity_service_call
Feb 29 02:56:07 pihole hass[147343]:     single_response = await _handle_entity_call(
Feb 29 02:56:07 pihole hass[147343]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/.venv/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 962, in _handle_entity_call
Feb 29 02:56:07 pihole hass[147343]:     result = await task
Feb 29 02:56:07 pihole hass[147343]:              ^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]:   File "/var/lib/hass/custom_components/octopus_energy/gas/previous_accumulative_consumption_cubic_meters.py", line 188, in async_refresh_previous_consumption_data
Feb 29 02:56:07 pihole hass[147343]:     self._account_id,
Feb 29 02:56:07 pihole hass[147343]:     ^^^^^^^^^^^^^^^^
Feb 29 02:56:07 pihole hass[147343]: AttributeError: 'OctopusEnergyPreviousAccumulativeGasConsumptionCub' object has no attribute '_account_id'
Confirmation

[X] I confirm that I cannot find my solution within the documentation
[X] I confirm that I cannot find my solution within the FAQ

Sorry that you're seeing this issue. I can see where the problem is, but there will be a delay in getting the fix out.

No problem- Octopus are several days behind with the data in any case...

I am having the same but with the electricity previous cost and consumption. Also stopped on 25th Feb.

Sorry for the late response. The original issue should be fixed in the latest release (v10.2.0)

authors: BottlecapDave KashPopatErgosoft emulti


text:
Zero-values on initialisation

Describe the bug
When HA restarts, accumulating sensors return 0 for a period of time (I'm guessing until the next update from the API), during which, the sensor value is logged as 0, creating issues with graphs.

To Reproduce
Steps to reproduce the behavior:

Restart HA

Expected behavior
As the sensors are accumulative, I think it would be more correct to hold the previous value, until a new value is received.
Home Assistant Version
The version of Home Assistant is 2022.10
Integration Version
The version of the integration is 4.6.4
Fresh Install?
Upgrade

This should be fixed in the next update. I'll post here once it's available.

Great stuff. Thanks, much appreciated.

Hello @FalconUK These should now be fixed in https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/releases/tag/v4.7.0

I know this was regarding the cumulative values, but after just installing 4.7.0 my rate values were £0.00 for 14 minutes. Is that expected? Should I open a new issue?

Hello @FalconUK These should now be fixed in https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/releases/tag/v4.7.0

Thanks! Downloaded this evening.

I know this was regarding the cumulative values, but after just installing 4.7.0 my rate values were £0.00 for 14 minutes. Is that expected? Should I open a new issue?

@lozzd This could has been a by product of when I added the restore feature. If you see the behaviour again, please do open a new issue.

authors: BottlecapDave FalconUK lozzd


text:
Instructions for building

Write out and test instructions for compiling from source on Windows, Mac, Linux.

Was kinda sorta a pain in the ass to compile on windows (as it always tends to be), but it's probably all from microsoft's non-standardization of c++ on visual studio.  I thought I'd post what I had to do here just in case you have a slightly different dev setup.  There are probably better ways to workaround the compile errors, but I was just trying to get it to compile.
I ran this script from cmd prompt to build on vs2015. Creates a project file in the folder that you can run
set currdir=%cd%
call C:\Qt\Qt5.10.1\5.10.1\msvc2015_64\bin\qtenv2.bat
call "%VS140COMNTOOLS:~0,-14%VC\vcvarsall.bat" x64
cd /D %currdir%
qmake -r -tp vc huestacean.pro
I did have to compile mbedtls and screen_capture_lite to get the library files, but once I added the .lib files and include folders into the huestacean folder (and realized that I was using qt 5.6, not 5.10 ) it compiled without any issues.
Gotchas along the way, probably vs2015 related:
Had to compile mbedtls via windows xp toolkit on windows 10.
Cmake created the solution file for screen_capture_lite, but then it failed to compile due to errors probably due to to visual studio stupidness.
Line 45 of include/threadmanager.h - Had to remove the 'constexpr' from that line
Line 365 of src/windows/DXFrameProcessor.cpp - Had to remove the '= {0}', which is fine because the values of 'ret' are initialized right below that.
Solid program, the lights are so responsive it's kind of spooky.

So, I've been building it in VS2017. I haven't tried with an earlier compiler yet, VS2015 not complying as well with the most recent C++ spec is probably why you have the to latter issues compiling screen_capture_lite, maybe, I dunno.
I used the Qt Visual Studio add-on to make a sln out of the .pro file, then switched the SDK from 8.1 to 10.x (the former chokes on some compiler issue in the standard library, maybe I don't have it properly installed or something). That builds just fine.
To build screen_capture_light, I use VS2017's cmake integration. No issues here.
To build mbedtls, I use the sln files they distribute, retargeted to compile with same SDK. Again, I don't have to do anything else, it just works.
I've also built the app itself with QtCreator; I use the VS2017 compiler, and everything's more or less the same. QtCreator seems to be extremely slow though, at least in Windows, so I gave up on it.

I'm thinking of maybe switching to cmake so that it's just the same for every platform, and the same as the two libraries.

Yeah, VS2017 fixes a lot of the C++ spec issues, I just don't have it on my PC atm.  I'll probably go install it this week sometime.
Great program tho, I was wondering how long till someone said "Screw it, I'll make a program since no one else will." with the entertainment SDK. :D

Yeah I'm having a bugger of a time getting it started in VS2017

@AbraKabastard but VS 2017's what I use. What's happening when you try? Did you do what I said I do in my comment (download Qt for VS add-on, open the .pro file, and in the generated project change the target SDK to 10.x)?

I'm going to have to try this on a clean machine too...

As an update, did a clean install of vs2017 -
Was able to build mbedtls and screen_capture_lite without editing the code.
However, I did have to flag all project files in mbedtls to compile under VS2017 win xp toolset.
Overall order from nothing to building huestacean:
1: Install VS2017 Community with C++ options AND windows XP toolset for c++ - https://www.visualstudio.com/downloads/
2: Install CMAKE - https://cmake.org/
3: Install QT 5.10.1 - https://download.qt.io/official_releases/qt/5.10/5.10.1/qt-opensource-windows-x86-5.10.1.exe - Make sure to checkbox VS2017 x64 + vs addon
2: Clone this repo + https://github.com/smasherprog/screen_capture_lite + https://github.com/ARMmbed/mbedtls
3: Open cmake, select screen_capture_lite folder and generate vs2017 64 config/build files.
4: "ALL BUILD" screen_capture_lite release x64
5: Copy screen_capture_lite.lib file that is created into root of huestacean folder + also copy /include/ScreenCapture.h from screen capture lite into the hustacean/include folder
6: Open mbedtls\visualc\VS2010 folder, the .sln file is the file to open with visual studio.
7:  On the left hand side of visual studio, there's a bunch of projects, select all 48 of them and then right click --> properties. Change Platform Toolset  to v141_xp, apply.
8: Compile release 64
9: Copy mbedTLS.lib file that is created in the mbedtls\visualc\VS2010\x64\Release folder to the root of huestacean. Also copy the entire  mbedtls\include\mbedtls\ folder into the root of huestacean
10: Use the QT for VS add on, open the .pro file and generate the project, then compile.

Switched to qmake and added build instructions. It'll build the two dependencies and Huestacean in one go with two commands (one to run cmake, one to compile the project). I hope that's less painful.
I'm going to test Mac and Linux... early next week. Would like to have a script that can do a minimal windeployqt too.

make that "switched to cmake", not qmake

authors: AbraKabastard BradyBrenot Collisionc

repo: BradyBrenot/huestacean


text:
Fix namespaced imports in dto casts

The DTOCast annotation Regex needed updating to include support for the @ character in package names.

Thanks! New version has just been released.

authors: Brakebein zackdotcomputer

repo: Brakebein/prisma-generator-nestjs-dto


text:
🛑 Plex is down

In 5b2bffa, Plex (https://plex.bramboeckx.be) was down:

HTTP code: 530
Response time: 3047 ms

Resolved: Plex is back up in a4d126d.


text:
Phonegap NFC plugin incompatible ?

Hi,
I saw in the readme that this plugin is not compatible with the NFC plugin.
My app currently use the NFC plugin, but I'm tempted to try branch.io
Is it hard incompatibility ? or it's "just" the design of one these 2 plugins ?
Thanks

It's been quite some time since we've tested with the NFC plugin.  Previously we had an implementation conflict.  I'll create a ticket to verify if this is still an issue.

Thanks !

Any updates

This doesn't seem to be an issue anymore, I've been able to install both plugins and both are working fine.

authors: adrianyg7 echo-branch gnarco iwasingh