Readit News logoReadit News
dfghdfhs commented on How Western governments are getting military gear into Ukraine   economist.com/the-economi... · Posted by u/fumblebee
random_upvoter · 4 years ago
In no way this invasion by Russia is justifiable but I'm getting some serious "Don't look up" vibe from the glibness with which the West is escalating.
dfghdfhs · 4 years ago
Soo.... one side has entered a country with soldiers and tanks, but the people responding by arming themselves against the soldiers and tanks are the ones escalating?

Ok then.

dfghdfhs commented on Israel is having its Edward Snowden moment   haaretz.com/israel-news/.... · Posted by u/caaqil
djanogo · 4 years ago
Why did Russia of all the countries give him asylum?

Genuinely curious on what Snowden thinks on how Russian gov handles their dissenters compared to US.

dfghdfhs · 4 years ago
Maybe because Russia realized that Edward Snowden had a powerful name and they'd win favour with the lefties of the world if they protected him? That's one possibility. Or maybe because "let me try and be friends with the (perceived) enemies of my enemies." (although Snowden wouldn't characterize himself as an enemy of the US).

The important point is - a good thing done for bad reasons, might still be better than a bad thing.

dfghdfhs commented on Israel is having its Edward Snowden moment   haaretz.com/israel-news/.... · Posted by u/caaqil
dfghdfhs · 4 years ago
> Israel is having its Edward Snowden moment. Not in the sense that an employee of its intelligence community has defected to Russia while leaking hundreds of thousands of top-secret files to the media.

Pretty tendentious to say that "Edward Snowden has defected to Russia".

He hasn't defected to Russia. He has fled the USA, and Rusia gave him asylum. Very different.

https://www.merriam-webster.com/dictionary/defect

> to leave one situation (such as a job) often to go over to a rival

He didn't leave one in order to go to the rival. He left one and then went to the rival.

dfghdfhs commented on Game performance optimization – A practical example from Industry Idle   ruoyusun.com/2022/01/28/g... · Posted by u/insraq
insraq · 4 years ago
Hi, the game is already doing this. As mentioned in the article, logic tick is running at a much lower frequency than rendering loop (30/60FPS). When playing in the browser and is minimized, the game will simply pause - rendering and logic. Browsers will throttle timers which will cause inaccurate logic tick as well. Most idle gamers actually do not like this behavior [1] - people prefer the game to run in the background as well.

The "background mode" mentioned in the article is about the Steam version, which runs in Electron and I have to set `backgroundThrottle: false` flag. In this case, Electron will not throttle timers and I can safely disable rendering while leave the logic running.

[1] https://www.reddit.com/r/incremental_games/comments/seid8w/c...

dfghdfhs · 4 years ago
Are the logic and the rendering loop in separate threads?

If so, how do you ensure that when the rendering loop reads the shared state, it sees something consistent (i.e. something that hasn't been updated by the logic loop in between the time when the rendering loop started accessing it, and the time when the rendering loop finished accessing it)?

dfghdfhs commented on Julia Macros for Beginners   jkrumbiegel.com/pages/202... · Posted by u/IlyaOrson
cygx · 4 years ago
Julia's parser is written in Scheme using femtolisp. Look for *.scm files and the 'flisp' directory in the repo[1].

[1] https://github.com/JuliaLang/julia/tree/master/src

dfghdfhs · 4 years ago
I will not look for such files, I'd rather forget this ever happened.
dfghdfhs commented on Julia Macros for Beginners   jkrumbiegel.com/pages/202... · Posted by u/IlyaOrson
sischoel · 4 years ago
One could argue that Julia is just Lisp with a syntax that appeals more to popular taste.

There is also a secret option to get into a lisp repl in Julia "julia --lisp".

dfghdfhs · 4 years ago
> There is also a secret option to get into a lisp repl in Julia "julia --lisp".

Wtf....... what? I just tried it, it's true. Is this some easter egg?

dfghdfhs commented on $130B wiped off crypto markets in 24 hours   cnbc.com/2022/01/24/bitco... · Posted by u/TangerineDream
hn_throwaway_99 · 4 years ago
The thing about Bitcoin specifically, though, is that there are only really 2 possible outcomes:

1. The world decides it's "tulips" at some point, and the value goes to 0.

2. The world decides it will be a major part of the financial system, and it goes to 500k or 1 million.

Basically, anything in between is just a probability calculation of whether it will end up at one end or the other.

The problem with this, though, is that the way proof of work works means that it is impossible that it will ever go to a million. The amount of electricity needed to protect the network is directly tied to the price of BTC. This is not just some small, inconvenient detail. It is inherent to how proof of work functions. So if it takes the electrical output of, say, Argentina to run Bitcoin now, it will take the output of China to run it when it's up around a million, and that obviously is untenable.

Other cryptocurrencies have seen the writing on the wall and are moving to proof of stake (not without other issues). But the politics of Bitcoin mining, and the few large mining groups, makes it hard for me to see how this happens.

dfghdfhs · 4 years ago
> 2. The world decides it will be a major part of the financial system, and it goes to 500k or 1 million.

Where does this belief come from?

Dollars are also a major part of the financial system, at yet each dollar is only worth $1.

dfghdfhs commented on Google Camera randomly changes some QR code URLs on Android 12   androidpolice.com/google-... · Posted by u/csnweb
dfghdfhs · 4 years ago
Another example of google going downhill?

u/dfghdfhs

KarmaCake day99December 10, 2021View Original