Better HN
topnewbestaskshowjobs
Log inSign up

v_lisivka

0 karma · joined Dec 14, 2017 (8y ago) · 590 submissions

Ukrainian from Ukraine.

Volodymyr M. Lisivka vlisivka@gmail.com

Don't forget to quote me!

Submissions

comment 7y ago · link · parent

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/

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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?

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

1) We are out of coal now.

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

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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?

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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?

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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/...

comment 7y ago · link · parent

Concurrency in Rust is extremely easy, because it safe by design. Just import rayon crate and change iter() to par_iter() [1]. Compiler will point out to problems, e.g. it will not allow to send a type, which cannot be used concurrently, until it will be wrapped by Arc (atomic reference counter).

[1]: https://docs.rs/rayon/1.0.3/rayon/

12345
20