HNHacker News
TopNewBestAskShowJobs

Erlangen

591 karma · joined May 27, 2020

submissionscomments
Erlangen··on Carbon Language: An experimental successor to C++
Its github repo has a very interesting doc on when it's the right time for Carbon language to go public. https://github.com/carbon-language/carbon-lang/commit/b8750e...

> Broader field experience required

> Sustained interest to use Carbon from multiple organizations and individuals

> Prototype implementation

> Demonstration of potential

> Learning material

> Prepare for new contributions and feedback

> Launch event

> Relationship to C++

> Perception of ownership by a single organization

Is this post considered as a step towards going public?

Erlangen··on China mortgage boycott data erased by censors as crisis spreads
The answer above has been deleted, but this answer is even better. Replace US with China. But to understand it, you need to be familiar of modern Chinese history.

https://www.zhihu.com/question/439676867/answer/2559528806

1. The United States has not been fascist until recently, but has been a fascist state since its founding. However, the US has not always been so fascist since its founding, and there was a period of relative normality during the Reagan years. In contrast, the fascisation of recent years has been particularly striking.

2. In terms of internal causes, the relative openness of the US was due to the fact that the McCarthy movement had gone too far and not only did the people become unhappy, but eventually the government became unhappy. So there was a temporary social consensus that fascisation had to be curbed. However, Trump himself was not a victim of the McCarthy movement and has been in good government since its end. He therefore did not personally resent it much. And in order to preserve the shining image of the Republican Party and to put an end to the leftist media of the Democratic Party engaging in the practice of Fake News. When Trump was in office, he directly disallowed statements that publicly denied the history of the Great Depression to the McCarthy movement. In this way, the new generation in the US also became predominantly favourable to the McCarthy movement, promoting the return of fascism to American society.

3. Externally, the US has been eager to strengthen its control over Canada, Mexico and Cuba, the 'backyard' of the US. This has not only caused resentment among the local population, but has also been widely criticised in international public opinion. If you talk about the Wilson Doctrine at this time, then the scandalous things you have done in the US are in themselves the opposite of what you want to do. The theory you preach turns out to be a slap in your own face, and you might as well not preach it at all. Instead, by picking up the ragged flag of fascism, you can explain the justification for these hegemonic acts of the US. And so its propaganda tone leans more and more towards fascism. This is the reality that needs to dictate the discourse.

Erlangen··on China mortgage boycott data erased by censors as crisis spreads
The censoring is so horrible that Chinese are using other country's name to substitute China. For example, there is a question in Zhihu, "Will China become the next technological powerhouse?". The answer is talking about Russia literally, but it's about China. (Below is the answer translated by deepl).

I don't want to talk about China, I want to talk about Russia.

Can Russia become the next technological powerhouse? Of course not.

Because the ceiling of Russian intelligence or wisdom is Putin. There is no one in Russia who can claim to be more intelligent than Putin. Russia can do without anyone, but not without Putin. Although we do not know whether Putin has any relevant qualifications or experience in the industry, all Russian businesses and professions depend on Putin's guidance and must hold up Putin's ideas and banners, otherwise they will not be able to move forward. Putin is the ceiling of Russia. How can a country with a ceiling become a technological powerhouse?

Look at the United States. Who dares to direct the work of Musk, whether Trump or Biden? Who dares to direct the business strategies of Apple and Google? I find that in the US, it seems that anyone can say they are smarter than the president, it seems that anyone can say they are smarter than the president. The technology companies in the US seem to be able to run smoothly without the guidance of Biden's ideas, and they seem to be able to develop technology without raising the banner of Biden's ideas, and they seem to be doing quite well. I find that the US is a country that has no ceiling in terms of intelligence or ingenuity, and that is always improving. Only such a country can become a technological powerhouse.

Erlangen··on Notepad++ v8.4.3: Unhappy Users' Edition
The Chinese text in the picture is funny- "Confucianism" surrounded by "Fart".
Erlangen··on Continuous Unix commit history from 1970 until today
So auto is used as a keyword here. Maybe C inherits this never-used auto from B?
Erlangen··on Mozilla releases local machine translation tools as part of Project Bergamot
However, "Turkey is not a common food in Turkey." != "Die Türkei ist kein gemeinsames Essen in der Türkei."
Erlangen··on Graviton 3: First Impressions
I don't understand these graphs titled "Branch Predictor Pattern Recognition". What do they mean? Could someone here explain it a bit in detail? Thanks ahead.
Erlangen··on Firefox appears to be flagged as suspicious by Cloudflare
Does it have to do with the main browser you use? I am running Debian, Firefox is main browser, while chromium is used occasionally. I got captcha for Chromium, but not Firefox.
Erlangen··on Rustdesk – Remote desktop software, an open source TeamViewer alternative
The author is Chinese. I found his post in Chinese forum 2 years ago. https://www.v2ex.com/t/712086?p=1

"... with no concerns about security" seems to be a bad maschine translation.

The Chinese version says "(you) don't have to worry about security".

Erlangen··on Rustdesk – Remote desktop software, an open source TeamViewer alternative
I am not a user of rustdesk. But from its source code[1], I think does have some warnings about the change. It says,

> "Warning" > "Current Wayland display server is not supported" > `Fix it` => a button triggers system gdm config change > A 'Help' link to github, showing how to change the config manaully.

I wouldn't count it as malware. But I don't think it's OK to change the system configuration by pressing a button of a remote desktop software. It should simply provide a link to user instead.

[1] https://github.com/rustdesk/rustdesk/blob/45375517b960add901...

Erlangen··on Linux Insides
I guess it's so complicated that no one wants to write it. I can feel it when compiling Linux kernel from source. The number of options in networking part seems humongous.
Erlangen··on The New OCaml Website
The new layout for "99 problems" looks much better than before. It's a huge improvement.

https://ocaml.org/problems

Erlangen··on China disciplines Alibaba Cloud for not reporting Log4j flaw to government first
This is a terrible article. The relevant section in the law is(translated with google translate) The text of the law is here, http://www.gov.cn/gongbao/content/2021/content_5641351.htm

> 发现或者获知所提供网络产品存在安全漏洞后,应当立即采取措施并组织对安全漏洞进行验证,评估安全漏洞的危害程度和影响范围;对属于其上游产品或者组件存在的安全漏洞,应当立即通知相关产品提供者。

> After discovering or learning about the security vulnerabilities in the provided network products, they should immediately take measures and organize verification of the security vulnerabilities to assess the degree of harm and impact of the security vulnerabilities; for the security vulnerabilities in their upstream products or components, they should immediately notify the relevant Product provider.

> 应当在2日内向工业和信息化部网络安全威胁和漏洞信息共享平台报送相关漏洞信息。报送内容应当包括存在网络产品安全漏洞的产品名称、型号、版本以及漏洞的技术特点、危害和影响范围等。

The relevant vulnerability information should be reported to the network security threat and vulnerability information sharing platform of the Ministry of Industry and Information Technology within 2 days. The content of the submission should include the product name, model, version, and the technical characteristics, harm, and scope of the vulnerability that have security loopholes in network products.

The law suggest bugs should be reported to upstream "immediately", and to the government "within 2 days".

Alibaba reported the bug to Apache first, and to the government 15 days later. So it is disciplined for not reporting to the government within 2 days.

And its report on government announcement is also very misleading.

"China’s internet security regulator has disciplined Alibaba Group Holding’s cloud computing services unit for failing to first report to the government a critical vulnerability in Apache’s Log4j software that has alarmed the cybersecurity community, Chinese media reported on Wednesday."

The government notice didn't write "failing to first report to the government" It's 未及时向电信主管部门报告(not reported to the government in time).

Erlangen··on GC progress from JDK 8 to JDK 17
I am running 2021.2.3 now. `ps aux | grep GC` still shows "-XX:+UseConcMarkSweepGC"
Erlangen··on GC progress from JDK 8 to JDK 17
Intellij uses UseConcMarkSweepGC gc, which has been deprecated since Java 9. Jetbrains is still investigating the use of ZGC. https://youtrack.jetbrains.com/issue/IDEA-247824
Erlangen··on An intro to finding things in Linux
Missing "command -v", which was suggested as a replacement to which in debian base system. https://lwn.net/Articles/874049/
Erlangen··on Welcome to C# 10
Is "natural types" a common term used in programming language theory? I haven't heard of it before. I tried to search it but found nothing.
Erlangen··on MIT cancels speech by University of Chicago professor following backlash
This is the professor's response to the incident, https://bariweiss.substack.com/p/mit-abandons-its-mission-an.... It was posted here previously, https://news.ycombinator.com/item?id=28757882, but was flagged afterwards.
Erlangen··on Which version of JDK should I use?
SAP provides a friendly interface for both JDK and JRE for Windows and Linux.

https://sap.github.io/SapMachine/

Erlangen··on How great is the great firewall? Measuring China’s DNS censorship [pdf]
The researchers mentioned that they had "controlled machines located in China". Given the number of requests sent by these machines everyday, how did they avoid being detected? Isn't it very suspicious for a machine to send huge amount of requests to blocked domains every day?
Erlangen··on Updated GNOME User Interface Guidelines are now official
> [Avoid] Having a “G” prefix (for example: GMusic).

Those are not allowed in KDE universe. You need "K" prefix instead.

Erlangen··on Chimera Linux: a Linux distribution based on FreeBSD userland and LLVM
Guix is gpl licensed, which Chimera doesn't want to include in the base system.
Erlangen··on Full text of Xi Jinping's speech on the CCP's 100th anniversary
It's interesting to see how "头破血流" was translated in news. "头破血流" literally means "head broken, blood shed". Nowadays, it's both used in a literal and figurative way.

1. "男子网吧摔伤头破血流坚持打游戏直到晕厥" - A man fell in a Internet cafe, 头破血流(literal meaning), kept playing games until he fainted.

2. "为音乐版权打得头破血流值不值" - Is it worth (for music industry) to fight over copyrights that all parties 头破血流 ? It is used in a figurative way, meaning "to lose very badly".

Erlangen··on Full text of Xi Jinping's speech on the CCP's 100th anniversary
The page does call him president in the photo description, "Chinese President Xi Jinping delivers his speech in Beijing on Thursday. "

> He is NOT a President.

The English of version gov.cn, names him as president rather than chairman. http://english1.english.gov.cn/2013-03/14/content_2353971.ht...

Erlangen··on A engineer from Huawei shares details on project development process
Another comment from past HW engineer.

I knew what was going on from the first look.

Back then, I was a newcomer in Huawei. I was in a depeartment, which had seven teams.

The team(A) I was in, had a very tight development schedule. After submitting the code during the day, it might take 9 pm to have time to organize a code review.

On the other hand, team B was not so busy. They had a lot of time to spare, and then started a weird competition, to PK who proposed more code review comments.

The odd thing came. I raised the pr during the day, at nine o'clock in the evening will receive more than 40 + review comments. I clicked in to see, these reviews were not from our team? How can they understand the code?

When I looked at it more carefully, I understood. All the review comments are suggestions to change the tab indentation to four spaces, if judgment when the number is written to the left, brackets without a line feed and so on and program logic irrelevant comments. Later, when we reviewed the group work, the first thing we did was to close the previous pr and resubmit. Yes, team B's dick move caused internal conflict between us.

Later. I also received a mass email that they the first place in that activity, the average day to mention 200 + comments 。。。。。

How is it related to linux community? I guess you can understand now. I saw someone said that Huawei does not clearly specify the number of pr submitted can be used for kpi appraisal. You are still too young, although the PR number is not evaluated. However, when you write on the annual report, "to participate in a certain activity/competition to get the first place", is a proper kpi.

Erlangen··on Code in ARM Assembly: Registers Explained
I am familiar with a small set of programming languages, but they define reference and value passing similarly.

* Java: Java spec says "pass by value"

* C: pass by value

* C++: pass by value and reference(with ref qualifier)

* C#: pass by value and reference(with ref keyword)

Do you know a language that defines "pass by reference" in a very different way?

Erlangen··on Windows 10 to be retired in 2025, as new OS unveils
> resetting your default apps regularly

This is my biggest pain points of windows 10. Why is it OK for windows to change my default image viewer everyday, with the some obscure message "there is a problem with your image viewer, we changed it to preinstalled image viewer from Windows"? Why? My image viewer is running perfectly OK, it has never crashed. I don't understand it at all.

Erlangen··on Flask 2.0.0 has been merged into master
> Warning: This is the development version. The latest stable version is Version 1.1.x.

I couldn't find a way to close the top banner. So I clicked around and found out this page had a bug. In the bottom right corner there is button to select the version of flask.

1. click v2.0.x, works fine

2. click v1.1.x, 404 page not found

3. click v2.0.x again, 404 page not found

Erlangen··on gRPC benchmark results
All Java Benchmarks share the same program, except the gc options. The benchmark code is in this subdirectory: java_grpc_sgc_bench
Erlangen··on Rust for Windows 0.9
Aws named it "A New AWS SDK for Rust – Alpha Launch".[1]

[1]https://aws.amazon.com/de/blogs/developer/a-new-aws-sdk-for-...

← PreviousPage 2 of 3Next →