power management – Battery rate information unavailable

I have a notebook model: hp 15-da0021, and have the problem that the battery does not charge

I asked him acpi the battery percentage

gaby@tardis:~$ acpi -V
Battery 0: Unknown, 0%, rate information unavailable
Battery 0: design capacity 3600 mAh, last full capacity -36 mAh = -1%
Adapter 0: on-line
Thermal 0: ok, 29.8 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 119.0 degrees C
Thermal 1: ok, 27.8 degrees C
Thermal 1: trip point 0 switches to mode critical at temperature 119.0 degrees C
Thermal 1: trip point 1 switches to mode active at temperature 71.0 degrees C
Thermal 1: trip point 2 switches to mode active at temperature 55.0 degrees C
Thermal 1: trip point 3 switches to mode active at temperature 50.0 degrees C
Thermal 1: trip point 4 switches to mode active at temperature 45.0 degrees C
Thermal 2: ok, 10.0 degrees C
Thermal 2: trip point 0 switches to mode hot at temperature 99.0 degrees C
Cooling 0: Fan 0 of 1
Cooling 1: pch_skylake no state information available
Cooling 2: Processor 0 of 10
Cooling 3: x86_pkg_temp no state information available
Cooling 4: Processor 0 of 10
Cooling 5: Processor 0 of 10
Cooling 6: Processor 0 of 10
Cooling 7: Fan 0 of 1
Cooling 8: Processor 0 of 10
Cooling 9: Fan 0 of 1
Cooling 10: INT3400 Thermal no state information available
Cooling 11: Fan 0 of 1
Cooling 12: B0D4 no state information available
Cooling 13: Processor 0 of 10
Cooling 14: Processor 0 of 10
Cooling 15: Processor 0 of 10
Cooling 16: Fan 0 of 1
Cooling 17: intel_powerclamp no state information available

The battery died? Is there any solution ?

windows – how to find what information is being sent to a usb device by a software?

windows – how to find what information is being sent to a usb device by a software? – Super User

How can the StackExchange websites have a better user experience (cookie banner and new user information banner)?

Long ago, I remember reading either Joel Spolsky’s or Jeff Atwood’s blog post (can’t find it now) about how StackOverflow was founded as a way for people to find answers to questions easily. This was compared to other forums that had long discussions, distracting signature images etc, which cluttered the screen and led to poor user experience.

Until recently, the StackExchange websites have been an impressive demonstration of the clean and user-friendly method of information disbursement and community participation. Everytime I did a Google search for something, the StackExchange websites were my first choice.

Recently however, StackExchange websites have had a few gradual additions that appear to have worsened the user experience. They are:

  1. The information banner for newcomers which takes up a lot of space and forces us to scroll down or click on the close button of the banner.
    enter image description here

  2. The large cookie banner which requires one click and a pause and then another click to be dismissed for privacy-conscious users. Moreover, it’s shown repeatedly for every tab that’s opened, making it even more annoying.
    enter image description here
    enter image description here

About cookie policies, this is what I found out from a source: “Please note that the GDPR does not require the information that must be delivered to a site visitor to be presented in a pop-up. Contact the website administrator if you are not satisfied with their design choices. Please also find the Commission websites cookie policy here. Cookie guidelines for EU institutions“.

User experience’s expressed about StackExchange’s cookie banner here, here, here and here. Research about the efficacy of acceptance of such banner’s Accept buttons here.

What would be a better way to welcome and inform new users without putting a massive banner that takes up space?
What would be a better way of getting a one-time consent for people, perhaps based on IP address or user login, for the cookies? Perhaps the StackExchange team needs to enable those performance, functional and targeting cookies for whatever reason? Understandable, for monetizing a site (if it is the case). But if it’s going to ruin user experience, then that’d just make the site un-appealing, driving traffic away from it (as in my case, I’ve already started choosing other sites for information when Googling). Surely, the user experience for cookie choices can be made better, and can serve the original purpose of StackExchange being a welcoming, user-experience-friendly place. What design changes would you suggest as a remedy?

complexity theory – Proof of NP-completeness via extra information

Suppose, I have a set of sets $S = { X_1, cdots, X_i, cdots, X_K}, X_i subset mathbb{R}$ and need to find an optimal partition $L^*, R^*$ such that this $E(L) + E(R)$ is minimized. It is rather hard, so I want to prove it’s hard. Denote $K(X) = cup_{I in X} I$,
$E(X) := sum_{i in K(X)} |i – textbf{median}(K(X))|$. And $|.|$ is the absolute value. For simplicy, assume $X_i cap X_j = emptyset, forall X_i, X_j in S$.

But I don’t have a very straightforward way to prove it’s NP-complete.
What I did instead was assuming given extra information, suppose I know the median of both $K(L^*)$ and $K(R^*)$, and then I can show find the optimal partition is an integer linear programming problem, which is NP-complete.

Can I conclude the original problem is at least NP-complete?

Why does an ODATA call to SharePoint REST API endpoint, not show the same information as the site page?

I have a different result, depending on whether I use OData or the SharePoint site page.

https:/<...>.sharepoint.com/<....>/_api/ProjectData/Projects?$select=ProjectIdentifier,PlanStatus

Produces a list where PlanStatus is null for 25 items.
But if I goto the SharePoint home page, then the Plan status is only null for 3 items.

One specific line item has a status on the site page, but no status on the OData query.

Checked:

  • Yes, it’s exactly the same field, and I’ve checked all vaguely similar fields to be sure.
  • Yes, I have checked timings, and no data updates have occurred in the last 48 hours.
  • Yes, I have reduced my queries to the bare minimum – no filters, no other manipulation – just a very specific query on that one column.

What’s going on?

Buffer Overflow Help – Information Security Stack Exchange

I am doing a buffer overflow exercise which takes advantage of the fact that gets() does not check the length of the input, and I need some help. From my understanding, as a result of what gets() fails to do, an attacker can simply overflow the buffer/array such that the parts of the stack gets overwritten by the overflowed input. In my case, I have the following code:

void attack(void)
{
    printf("Success!");
    exit(0);
}


int getBuf(void)
{
    char buffer(12);
    gets(buffer);
    return 0;
}


int main(void)
{
    getBuf();
    printf("Attack Failed.....");
    return 0;
}

And What I want to do is overwrite the return address of getBuf via buffer overflow attack so that instead of it returning back to main, it would go into the attack function. To do so, I grabbed the address of the function attack via gdb, and I also just did some trial and error to see how much input was needed before I got a segfault instead of the “attack failed” output.

During All of this, I noticed how the saved rip inside getBuf was changing whenever I started getting a segfault. To a certain extent, I believe this should be happening, as the saved rip should be the return address of getBuf, and is what I should be overwriting. However, when I actually tried the buffer overflow attack with the added address of the attack function, I was still getting a segfault. So now, I’m just wondering if there is a flaw in my logic somewhere? I just want to clarify if my process of doing this buffer overflow attack was right, since I want to figure out how to do it myself. Any hints would be appreciated.

Edit: as a side note, I disabled ASLR and compiled with -fno-stack-protector as a flag.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123