Hacker Newsnew | past | comments | ask | show | jobs | submit | v_lisivka's commentslogin

It looks like you right: sleeping in S0 is not supported by Linux, only Windows does this:

ACPI Sleep States (S0 - S5)

•S0: Normal Powered-On state

•S1 Standby

•S2: Not supported

•S3 Suspend to Ram

•S4 Suspend to Disk


Number looks very little, if compared to Russia backing. Russia has whole TV channels backed by FSB, whole troll fabrics, and their own agents even in major Western media.

Why few orders of magnitude greater effort cannot help Russia, while much smaller effort helps USA a lot?


You have a long history of using HN for political and nationalistic battle, and we've asked you before to stop. This sort of flamewar is not welcome here.

We detached this subthread from https://news.ycombinator.com/item?id=19866310 and marked it off-topic.


Quantity isn’t always the most important quality. The US (and the UK?) seems to present propaganda as something the bad guys do, which is easier to believe if the changes are limited. Limited doesn’t mean unimportant, and it being limited forces focus on important changes.

(I’m not assuming competence here: I assume that’s random over time)


So, you say, Russia seems to counter-present USA propaganda as something the good guys do? It's looks stupid. Maybe I misunderstood you. Can you say explicitly, who does good propaganda, and who does bad propaganda? Who is good and who is bad?


Mainly I’m saying that the propaganda produced by the USA says “Propaganda? Us? Please put away your tinfoil hat, only bad guys do that.”

I don’t know what Russia’s self-image is, but the impression I have from the outside is that it might as well be “<green frog emoji> Работа для нас в государственной пропагандистской компании <Russian flag emoji>”.


America has the same things besides national TV? Every country has one, I believe America us exception.


"Number looks very little, if compared to Russia backing. Russia has whole TV channels backed by FSB, whole troll fabrics, and their own agents even in major Western media."

[Citation needed]


See https://euvsdisinfo.eu/

About EU vs Disinformation campaign

This website is part of a campaign to better forecast, address and respond to pro-Kremlin disinformation. The ‘EU versus Disinformation’ campaign is run by the European External Action Service East Stratcom Task Force. The team was set up after the EU Heads of State and Government stressed the need to challenge Russia’s ongoing disinformation campaigns in March 2015.


You could have as well given a link to google.com.

You have made several specific russophobic claims and I challenge you to substatiate them and not leave that as 'an exercise for the reader'.


These claims are not russophobic. We are at war with Russian Federation for 5 years. It's clearly demonstrates that we have no phobia. They are anti-russian.

Please, list claims you are interested to dig in.


Are you aware that in the 2018 Russia is still the main trade partner of the Ukraine despite all russophobic noises coming from Kiev?

It clearly contradicts your statement that Russia and the Ukraine are at war.

I quoted the sentence that needs factual proofs.


Major trade partners of Ukraine in 2018 are: EU(import ~55%/export 45,1%), RF(import 14.3%, export: 7,3%), China(import 12.2%, export 4.3%), USA(import 5.4%/export 2.2%), and so on.

> It clearly contradicts your statement that Russia and the Ukraine are at war.

No, it displays inertia of two big and complex systems.

> I quoted the sentence that needs factual proofs.

You got them. The whole site is created by EU and dedicated to disproof Russian propaganda, with links to propaganda narratives and factual materials.

For example: https://euvsdisinfo.eu/figure-of-the-week-136000/


EU is not a country.

"it displays inertia of two big and complex systems"

Yeah, right, I can imagine the US trading with Japan during the whole war. Oh, wait, no, actually, I cannot.

"You got them"

That is a lie. Even the link you gave doesn't have to do much with your statement.


> EU is not a country.

EU is a weird special case, as it’s more tightly integrated than anything else that isn’t a country, despite not being a country. This was one of the points used by both sides in Brexit.

As for the general argument the two of you are having, I no longer think “war” is a useful boolean state, just a political decoration sometimes associated with the use of force against the political interests of another nation (“nation” being another surprisingly fuzzy concept the closer I look).


Can you give an example of such use of force which is not a war? Besides Russian help to Ukrainian rebels.

Turkish, American, Israel's and Arab actions in Syria come to mind, but what else?


Nuclear is slow to operate, so it needs batteries to handle peaks during day. Nuclear can provide baseline power only.

Solar panel can be installed at roofs, so it can double as shelter, and power loss due to transmission can be lowered. Backup gravitational battery can provide backup power on site for short (hours) periods of time, to cheaply offset energy from peak of production at noun to peak of consuming at evening. Efficiency of solar panels can be improved up to 80%, so they can reduce need for air cooling.


Chornobyl's exclusion zone covered small part of contaminated area only. My parent's home is in contaminated area, but nobody was evacuated. Cancer rate is 2.5x larger at average in four regions of Ukraine, which are near to Chornobyl. I saw 6m (20 foot) wide circle of dead grass at about 800m from my parents home, where a hot particle landed. Both my neighbors are died because of cancer. I live in clear region, but my lungs was very radioactive for few years, because of my visits to parents.


> Cancer rate is 2.5x larger at average in four regions of Ukraine, which are near to Chornobyl.

Citation needed. WHO says up to 4000 early cancer deaths total from Chernobyl. 2.5x larger cancer fatalities would be hundreds of thousands if not millions of people which is not seen by any credible study that I'm aware of.

My ex grew up in Gomel and didn't get cancer. Neither did her parents.


In Ukrainian. See graphic at page 235 (Thyroid cancer level growth since tragedy).

http://irbis-nbuv.gov.ua/cgi-bin/irbis_nbuv/cgiirbis_64.exe?...

My brothers were unable to escape. Younger brother had problems with thyroid, but survived. (I had problems with thyroid too, but at much smaller scale). Older brother had brain surgery about two months ago, but it's unknown is it helped or not yet.


Dams also protects people from floods, so they are net positive.


Yeah, even Sun will blow and destroy our Solar system, so solar energy is not safe too.

BTW: Will you move to Chornobyl to demonstrate that radioactivity is safe? Land is cheap here.


Sure, if my family and job were there. Its a thriving wildlife refuge now. Check it out.

https://thoughtscapism.com/2019/05/08/worlds-worst-energy-ac...


I can drive to Chornobyl by bicycle. I just don't want that.

Wildlife is thriving in my area too, because people abandon homes and move to cities instead.

However, if you like it, you can create similar exclusion zone near to you. Just vote for nuclear power and wait until next nuclear disaster.


Come on. You can drive nearly to the reactor itself and not even get a yearly background radiation dose now. There are a few hot spots where contaminated gear from decommissioning is stored, that's it.

People got cancers at increased rate, which is limited to less than two generations of damage. The range had expired a bunch of years ago.

Going into high mountains is a bigger radiation risk today.

As a bonus, you can just drive to Fukushima on a bike today and not even get a daily dose of some inhabited places in the US.


Cancer rate continue to grow here at steady rate. My neighbors died because of cancer, my brother has tumor. Tell your nice story to someone else, please.


> However, if you like it, you can create similar exclusion zone near to you. Just vote for nuclear power and wait until next nuclear disaster.

Reminder that coal has more radioactive waste over a decade than a nuclear plant does in its worst failure mode; and that worst failure mode is very unlikely with modern reactor designs (unlike Chernobyl and Fukushima)


1) We are out of coal now.

2) All coal plants in the world combined cannot make land inhabitable for millennia.


Yeah, it's sad that people refuse to live at Chornobyl, Fucusima, or many other safe places. So much of land is just wasted because of this irrational fear.


I grew up downstream of a whole set of International Paper and Boise-Meade paper mills on the Androscoggin River. I think I'd prefer Fukishima - there's less cancer there.


I live near to Chornobyl. Many of us are died because of cancer, which is 2x-3x more common here, even when statistic diluted by clean areas. I can help you to move, if you wish.


I use just plain text file opened in plain text editor with following conventions:

  # Topic
  [ ] A task. @tag #ticket
    [ ] A subtask.
      [ ] A sub-sub-task.
  [+] Completed task.
  [-] Failed task.
  [.] Partially completed task. WIP.
  [!] Urgent task.
  [^] High priority task.
Easy to store. Easy to share. Easy to edit at any device with plain text editor.

The only feature I miss is grouping of sub-tasks. For example, I may want to group all subtasks from all projects(topics), which I need to do at place X (e.g. at parents home), so I will prepare for them. I cannot select them all without using of SQL engine or grep like tool. If editor can highlight a search term, it helps, but for long lists it easy to miss.


keep going, you are 90% there to having a Markdown todo list like me! just use a dash and a space before the brackets and use "x" to indicate they are done. If you render the markdown in a browser you can use a mouse to click the checkboxes. Check out a markdown cheat sheet for more details.

Granted, you won't be able to use your special characters in the brackets..


IMHO, a preprocessor can be used to convert from square-brackets format into markdown format, e.g. to highlight urgent and high priority entries with different colors. Sometimes, I need to share my TODO list with a manager. However, even in it plain form, it works well. IMHO, same can be done with todo.txt and org-mode files.

Can you share more about how you generate HTML from your markdown, and how you share result, please?


Why not just use a console file manager, like mc?


`nnn` is a console file manager.


If you discard regexredux, then Rust is faster than C and C++ at average: see average bar at "How many times slower graph" [1].

regexredux program is outlier in Rust, because replacement of a regex in string is slower in regex crate, because author of regex crate chose to implement safer, but slower algorithm. To fix this, regex crate must be updated or replaced. I spent two weekends on this.

[1]: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...


> To fix this, regex crate must be updated or replaced.

I somehow doubt pcre2 is being changed to make the tiny toy C programs run better.

> I spent two weekends on this.

So shouldn't we assume the program performance simply reflects all-those-hours you've spent working on it?


Look at the program:

  fn find_replaced_sequence_length(sequence: String) -> usize {
    // Replace the following patterns, one at a time:
    let substs = vec![
        ("tHa[Nt]", "<4>"),
        ("aND|caN|Ha[DS]|WaS", "<3>"),
        ("a[NSt]|BY", "<2>"),
        ("<[^>]*>", "|"),
        ("\\|[^|][^|]*\\|", "-"),
    ];
  
    // Perform the replacements in the sequence:
    substs
        .iter()
        .fold(sequence, |s, (re, replacement)| {
            regex(re)
                .replace_all(&s, NoExpand(replacement)).into_owned()
        }).len()
  }

It measures performance of RE engine. I can switch from regex crate to PCRE2, and program performance will match C.


> I can switch from regex crate to PCRE2, and program performance will match C.

Perhaps it would; those measurements have not been made.

What does that have to do with re-writing libraries to make tiny toy programs run better?

What does that have to do with program performance being a proxy for programmer effort?


mandelbrot is outlier in Rust, because… :-)


Because hardware acceleration is used in C and C++ versions. I will fix this soon.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: