HNHacker News
TopNewBestAskShowJobs

v_lisivka

0 karma · joined December 14, 2017

Ukrainian from Ukraine.

Volodymyr M. Lisivka vlisivka@gmail.com

Don't forget to quote me!

submissionscomments
v_lisivka··on Tech Companies Are Deleting Evidence of War Crimes
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/

v_lisivka··on The New Windows Subsystem for Linux (WSL2) Architecture [video]
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

v_lisivka··on Tech Companies Are Deleting Evidence of War Crimes
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.

v_lisivka··on Tech Companies Are Deleting Evidence of War Crimes
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?
v_lisivka··on Tech Companies Are Deleting Evidence of War Crimes
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.

v_lisivka··on Making Nuclear Energy Smaller, Cheaper And Safer
1) We are out of coal now.

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

v_lisivka··on Making Nuclear Energy Smaller, Cheaper And Safer
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.
v_lisivka··on Tech Companies Are Deleting Evidence of War Crimes
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?

v_lisivka··on Making Nuclear Energy Smaller, Cheaper And Safer
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.

v_lisivka··on Making Nuclear Energy Smaller, Cheaper And Safer
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.

v_lisivka··on Making Nuclear Energy Smaller, Cheaper And Safer
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.

v_lisivka··on Making Nuclear Energy Smaller, Cheaper And Safer
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.
v_lisivka··on Making Nuclear Energy Smaller, Cheaper And Safer
Dams also protects people from floods, so they are net positive.
v_lisivka··on Let's Get Going with Org-Mode
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?

v_lisivka··on Making Nuclear Energy Smaller, Cheaper And Safer
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.
v_lisivka··on Making Nuclear Energy Smaller, Cheaper And Safer
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.

v_lisivka··on Making Nuclear Energy Smaller, Cheaper And Safer
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.
v_lisivka··on Let's Get Going with Org-Mode
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.

v_lisivka··on Practices for writing high-performance Go
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.
v_lisivka··on Performance of nnn vs. ls
Why not just use a console file manager, like mc?
v_lisivka··on Practices for writing high-performance Go
Because hardware acceleration is used in C and C++ versions. I will fix this soon.
v_lisivka··on Practices for writing high-performance Go
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/...

v_lisivka··on Practices for writing high-performance Go
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/

v_lisivka··on Denver voters consider next frontier in decriminalizing drugs: magic mushrooms
We already know the answer: https://en.wikipedia.org/wiki/First_Opium_War .

In the 17th and 18th centuries, the demand for Chinese goods (particularly silk, porcelain, and tea) in Europe created a trade imbalance between Qing Imperial China and Great Britain. European silver flowed into China through the Canton System, which confined incoming foreign trade to the southern port city of Canton. To counter this imbalance, the British East India Company began to grow opium in India and smuggle them into China illegally. The influx of narcotics reversed the Chinese trade surplus, drained the economy of silver, and increased the numbers of opium addicts inside the country, outcomes that worried Chinese officials.

In 1839, the Daoguang Emperor, rejecting proposals to legalize and tax opium, appointed viceroy Lin Zexu to go to Canton to halt the opium trade completely[8]. Lin wrote to Queen Victoria an open letter in an appeal to her moral responsibility to stop the opium trade.[9] When he failed to get a response, he initially attempted to get foreign companies to forfeit their opium stores in exchange for tea, but this ultimately failed too. Then Lin resorted to using force in the western merchants' enclave. He confiscated all supplies and ordered a blockade of foreign ships to get them to surrender their opium supply. Lin confiscated 20,283 chests of opium (approximately 1210 tons or 2.66 million pounds)[10].

The British government responded by dispatching a military force to China and in the ensuing conflict, the Royal Navy used its naval and gunnery power to inflict a series of decisive defeats on the Chinese Empire,[7] a tactic later referred to as gunboat diplomacy.

v_lisivka··on Argon-16 Computer
"no failures noted" != "no failures".
v_lisivka··on World of Goo Update, 10 Years Later
> where are the Gtk1-compat libraries?

Here: https://github.com/openSUSE/gtk1-compat

> and all they do is freeze the API in time without any updates to the provided functionality

Yep.

> where are the SDL1-compat libraries that work seamlessly with alt-tab in desktop environments, like SDL2 does?

It's open source. If you need it, take care about it, OR pay to a somebody else to take care about it. Nobody will work for you for free.

It's like roads. Roads are free, because lot of drivers are using it every day, so they are paying taxes to build and maintain them, but road to your house in the middle of nowhere is not free, because nobody shares it with you. However, road making tech is open sourced, so you can build your own road if you need it.

Of course, you can use paid road, if you want, because they are providing better service for small pay per ride, or you can hire developer company to build private road to your house and then payback loan to a bank. It's up to you.

But statements like "free and open roads are bad, because road to my own house costs lot of money for me" is just childish play. Roads are not free to build and maintain. Roads are free and open to use, but only because they are paid by someone else. For your own private road, pay with your own labor or money.

v_lisivka··on World of Goo Update, 10 Years Later
Your helping hand is welcome! Even coordination of developers toward solution is helping a lot, because we have no free but dedicated managers. We are developers after all.

Create ticket in bug trackers of all major distributions and describe the problem and your proposed solution. If your vision is right and attractive, developers will join the movement. This isn't hard, it's just time-consuming.

v_lisivka··on World of Goo Update, 10 Years Later
Linux is working perfectly on lot of servers, computers, smartphones. It holds steady third place in the world rating for desktops, first place for smartphones, dominant at server/embedded/supercomputer markets. If a developer released an app which cannot be running at these platforms under Linux, then app is broken, of course. Why you blame perfectly working OS for developer fault?
v_lisivka··on World of Goo Update, 10 Years Later
There are *-compat[1] packages for backward compatibility. You are welcome to support them, if you really need them.

[1]: https://pkgs.org/download/-compat

v_lisivka··on World of Goo Update, 10 Years Later
Flatpack, snap, aappimage, docker, static linking, etc. are solving other problem: how to bypass package manager and ship outdated and buggy libraries to user, because it will save some money for developer at expense of user.

Whole GNU foundation was created to bash with this "solution", then Linux kernel + GNU runtime was used to create Linux distributions, which are free from binary-only distribution problem, but developers are creative.

Why not just ship partially compiled binary or IR code, or obfuscated source with open-source adaptation layer? It will make adaptation problem much easier for end user at any distribution or/and architecture.

Page 1 of 20Next →