Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fxj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
181.
▲
by
fxj
7y ago
For "realtime" numbers there is a chinese web-page which shows the mortality rate is of the order 2% and the new infections in Hubei are decreasing. (Google translate is your friend.) https://ncov.dxy.cn/ncovh5
182.
▲
by
fxj
7y ago
For many connections in europe trains are faster and sometimes cheaper than planes when you add the additional time waiting at the airport etc... https://www.dw.com/en/trains-vs-planes-whats-the-real-cost-o... And look
183.
▲
by
fxj
7y ago
This is the situation in europe at the moment: As far as the rules on employee participation are concerned, three groups of countries can be distinguished in the 28 EU countries and Norway. In the first group, consisting of ten countries, t
184.
▲
by
fxj
7y ago
The value of a Chaitin constant is highly machine-dependent. In some cases, it can even be proved that not a single bit can be computed (Solovay 2000). Chaitin constants Omega_U are perhaps the most obvious specific example of uncomputable
185.
▲
by
fxj
7y ago
It might have some relevance in information compression. He was also working on the halting problem (see lisp code below) and writing programs in LISP that were proving his theorems. http://jillian.rootaction.net/~jillian&#x
186.
▲
by
fxj
7y ago
He even did more: Mathematician GregoryChaitin defines elegance in computer programming in this way: A computer program written in a given language is elegant if no smaller program written in the same language has the same output. He goes o
187.
▲
TIL: Some 9V Batteries Can Be Recharged with a Simple USB Cable
(cnx-software.com)
3 points
by
fxj
7y ago
|
0 comments
188.
▲
Elon Musk: Starship Will Fly for 20-30 Years, Aiming for Fleet of 1k
(extremetech.com)
2 points
by
fxj
7y ago
|
0 comments
189.
▲
by
fxj
7y ago
A very nice introduction for mere mortals to J is here: Fly Straight, Dammit! http://www.petecorey.com/blog/2019/08/12/fly-straight-dammit... and here: A Shallow Introduction to the K Programming Languag
190.
▲
by
fxj
7y ago
There is also kona which is a older version of K but still very usable. You can find an overview of the different free and non-free versions of K here: https://ngn.bitbucket.io/k.html
191.
▲
by
fxj
7y ago
Of course you can, but it is illegal by german law. And german citizens do not like to commit illegal things. ;-)
192.
▲
by
fxj
7y ago
> Broadcast television and radio. At least not in Germany. Every household has to pay a monthly fee even if they dont want to. No opt outs possible. And for music licenses there is GEMA which is also financed by additional charges on emp
193.
▲
by
fxj
7y ago
No I didnt. That is so tricky about fake news. Giving it another spin by leaving out parts.
194.
▲
by
fxj
7y ago
fake news: Germany is switching off the coal plants and replacing them with natural gas which releases only 50% CO2 than coal. The nuclear plants will be switched off without replacement at all. The over all energy budget will be reduced du
195.
▲
by
fxj
7y ago
It is not that easy, as you can see from the yearly snow height of 2 locations in the alps: https://www.eike-klima-energie.eu/2016/02/18/schneemessreihe... There is no clear trend visible. The reason for this
196.
▲
by
fxj
7y ago
Here is a by the minute diagram of the german energy consumption. Germany would be fine with all the nuclear power plants switched off. They invest heavily in renewable energy which shows off. https://energy-charts.de/power_
197.
▲
by
fxj
7y ago
Tge german wikipedia page for buffalo has some examples in other languages: https://de.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffal... In japanese: 子子子子子子子子子子子子 In swedish: Bar barbar-bar-barbar bar bar barbar-bar
198.
▲
by
fxj
7y ago
When you extend your thought experiment to the CEO and the management of your company then they should be replaced by robots too?
199.
▲
by
fxj
7y ago
In europe it is illegal to ask this kind of questions in an interview and you don't have to answer. Even if you lie they cannot fire you. If they do you can sue them. https://www.diepresse.com/3805136/verbotene-fra
200.
▲
by
fxj
7y ago
I use inoreader.com and don't miss google reader. There is a free version with 150 subscriptions and you can search your feeds. Also there are apps for android and ios.
201.
▲
by
fxj
7y ago
python 3.8? try: https://tio.run/#python38pr
202.
▲
by
fxj
7y ago
You forgot the i=i in your lambda definition. Then there exists a local variable i and everything works as you wanted.
203.
▲
by
fxj
7y ago
The new walrus operator now makes indentation obsolete. You can write averything within one line as an array and it is hard to read. This in combination with syntactic sugar, operator overloading and unicode variables can make the language
204.
▲
by
fxj
7y ago
With the new walrus operator you dont need indents anymore. You can write everything in one line in an array: e.g. y=0 for i in range(10): x=i+1 y=y+x*2 can be written as: [y:=0] + [[x:=i+1, y:y+x*2] for i in
205.
▲
by
fxj
7y ago
in the zen of python (import this) it says: there should be one-- and preferably only one --obvious way to do it. sadly this is not true for a while in python now. Python became a language that can be really hard to read now.
206.
▲
GDPR: German property firm fined 14.5M for keeping old data
(iapp.org)
2 points
by
fxj
7y ago
|
0 comments
207.
▲
by
fxj
7y ago
In germany there is a labelling system called "Animal Welfare Labelling" where consumers can choose what they buy. https://de.wikipedia.org/wiki/Tierwohllabel For eggs this is even mandatory: https:/&#x
208.
▲
by
fxj
7y ago
This is valid python3, try it out. 數字 = 23 運行 = True 假 = False 整數=int 輸入=input 印出=print while 運行: 猜測 = 整數(輸入('輸入一個數字: ')) if 猜測 == 數字: 印出('恭喜, 你猜對了.') 運行 = 假 # 這會讓循環語句結束 elif
209.
▲
by
fxj
7y ago
there is chinese python. http://reganmian.net/blog/2008/11/21/chinese-python-translat... I bet there are IoT devices out there that use it already. For example: #!/usr/bin/env zhpy # 檔名: w
210.
▲
by
fxj
7y ago
In Python 3 you can now use localized variable names. Something like this is valid python code: >>> π = 3.14159 >>> jalapeño = "a hot pepper" >>> ラーメン = "delicious"
More ›