News for hackers. Stuff that matters.

886

If we are using car brands as analogies, sure, in some way a BMW is a status symbol on public road, but on race tracks, pretty much every non-SUV BMW model would excel. Look at how many non-purpose-built BMW production cars that entered the 2019 VLN race series. https://en.wikipedia.org/wiki/2019_VLN_Series

After a car leaves the showroom, it's ultimately up to the owner to decide what to do with the car. A Corolla is great at getting groceries, but a BMW can not only take you to supermarkets but also win races on Sundays.

Oh BTW, BMW has just won the 24 Hours of the Nürbergring this past Sunday.

Planes can actually land themselves with ILS and MLS systems. Autoland is usually used during bad weather or poor visibility.

https://en.wikipedia.org/wiki/Autoland https://www.youtube.com/watch?v=V0OJ-rPDXNs https://www.youtube.com/watch?v=151fGX4xazs

1. Run on 1000, or 100000 files: `docker run -it --entrypoint=bash -v ${PWD}:tmp python:3.7`

You can simply mount your current directory to docker.

2. Docker doesn't ONLY support web-accessible services:

For example, you can run aws cli without python with this alias.

aws() { docker-run --entrypoint="aws" infrastructureascode/aws-cli:1.16.309 "$@" }

3. When you need to debug python code live with your IDE: Check these out https://code.visualstudio.com/docs/containers/debug-common https://www.jetbrains.com/help/pycharm/using-docker-as-a-rem...

Re:What Armenians should know about life in America (2014) on Saturday April 04, 2020 @12:39PM (#22779376)
"Like many people, Armenians have a tendency to compare the worst aspects of life in Armenia with the best aspects of life in America, or elsewhere abroad."

This is usually the case in America vice versa, comparing the best aspects of life in America with the worst in other countries. In reality, an individual living an ordinary life might actually be happier than those in America.

Re:Current Wuhan Situation on Monday March 23, 2020 @12:40AM (#22661317)
Stop spreading the conspiracy theories, please.

(Even those that say it started from the U.S. https://www.nytimes.com/2019/08/05/health/germs-fort-detrick...)

There is absolutely no evidence showing the virus started from a lab, regardless of Chinese or American.

Re:Current Wuhan Situation on Monday March 23, 2020 @12:30AM (#22661282)
> Curious how you get this impression, do you have specific examples in mind? For example, bats, wolves and civet cats are consumed in Wuhan, which is not the case in Hong Kong.

There you go. Even in Guam. https://en.wikipedia.org/wiki/Bat_as_food

Australians eat crocodiles and kangaroos. https://www.cnn.com/travel/article/australian-food/index.htm...

Re:Levels of Seniority on Saturday February 22, 2020 @05:00PM (#22393621)
No one is perfect. No one can check all the boxes. Having the desire to try to check them all is the key. Quoting the last part of the article here.

To me, whoever checks most of the boxes defined in this article and has a good mindset would make the cut.

Re:Volkswagen Axes All Non-Electric Racing Programs Worldwide on Friday November 22, 2019 @08:15PM (#21611752)
+1

This move barely makes a dent to the automobile or racing industry.

VW doesn't really have extensive racing programs comparing to other marques like BMW, Mercedes, and of course VW group's own Audi and Porsche.

Re:An update on YC China on Thursday November 21, 2019 @09:15PM (#21601866)
I know my comment will be downvoted for sure because it isn't a popular idea, but I'm still gonna comment on this.

Reading news about any foreign country, including China, only from US MSM, is inherently biased (sampling bias). Maybe consider reading news from Chinese outlets in this case?

I know people will start arguing that Chinese outlets are mainly propagandas because they are controlled by governments and they are not independent...

But, but are we sure that Deutsche Welle or Japan Times are unbiased?

For example, Deutsche Welle is funded by German government. [1], and the editors of the Japan Times were appointed by their government [2].

Yes, German and Japanese governments are more trustworthy than the Chinese government, but every country has its own foreign policy and political agenda. Are we sure that we are not being "brainwashed" by those media outlets?

This is happening within the US as well. Think conservative news outlets vs liberal outlets.

Citations: [1] https://www.dw.com/en/what-kind-of-company-is-deutsche-welle... [2] https://web.archive.org/web/20110716064544/http://www.fccj.o...

+1, on top of that

Car killing people -> mostly accidents.

Gun killing people -> mostly intentional.

Re:Apple Hides Taiwan Flag in Hong Kong on Monday October 07, 2019 @03:08PM (#21184733)
To get the facts right. It isn't called "Taiwan flag". It is the flag of Republic of China. And To People's Republic of China, ROC is not legitimate.

https://en.wikipedia.org/wiki/China_and_the_United_Nations

Re:Information operations directed at Hong Kong on Tuesday August 20, 2019 @02:32AM (#20744313)
"This is getting worse because US is now poor. In old time, only patriots believe those propaganda. But now the media hires well-educated writers, YouTube opinion leaders to write seemingly objective articles that credit Trump exclusively with the economy growth. The lower classes in the US has already believed in those propaganda faithfully because the messages match perfectly what they have experienced. We need to be afraid of them. Because even if neo-nazism disappears now, they will continue to defend Trump and his beliefs."

Wondering if I am wrong? Even if I am wrong, how wrong???

Re:Information operations directed at Hong Kong on Tuesday August 20, 2019 @02:24AM (#20744287)
it's not a real boarder. and regardless the so called boarder was effectively gone since early 2000s.
Re:Deadly Cargo Still Rides the Rails on Tuesday July 16, 2019 @08:23PM (#20455248)
hand brakes were applied, but only to the first 5 lead cars only. the engineer also used air brake, but it lost its pneumatic pressure after the engine got shut off.

"Though exhausted after the journey, Mr. Harding took the laborious step of setting the mechanical hand brakes — a train’s version of an automobile parking brake — on the five lead locomotives, an equipment car and an empty boxcar.

That was the first big mistake. Investigators calculated that Mr. Harding should have also secured the hand brakes on 18 to 26 of the tank cars before retiring to his hotel."

Agreed. I'm an enthusiast photographer and previously semi prod. The SD card slot is nice to have some times, but most of the time I use a dedicated card reader for CF, SD, and micro-SD cards.
Re:The Bitcoin Scam on Monday June 17, 2019 @09:21PM (#20209011)
I believe russian_bot means "taking advantage from an inefficiency". In this case, taking advantage of regulation, or non-regulation rather.

https://www.investopedia.com/ask/answers/what-is-arbitrage/

Re:Why I Don't Like Golang (2016) on Thursday June 13, 2019 @01:38AM (#20172090)
Points taken. I am full time on Go since few years ago and before that I was 100% Java. Haven't really kept myself up-to-date with the Java land.

But from my experience with Java, Go, and Python, I find Go a very versatile programming language. Being able to compile binaries means it's great for infrastructure deployments and CLI tools. Goroutines, concurrency, and etc make it a great choice for server/micro service use cases as well. Some can say that not having a JVM is a plus as well.

However, developers do have to be disciplined with error handling and dependency management. But one can argue that this is the case for software development in general.

Re:Why I Don't Like Golang (2016) on Thursday June 13, 2019 @01:28AM (#20172043)
Yes, that's true. Rust is good alternative to Go, and probably the closet to Go in terms of feature parity. Definitely worth checking out.
Re:Why I Don't Like Golang (2016) on Wednesday June 12, 2019 @05:39PM (#20169616)
you make it sound like Go is not top tier in the 2019's programming landscape and there is a good alternative. Can you elaborate?
click bait...