Better HN
topnewbestaskshowjobs
Log inSign up

codedokode

9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions

PHP developer from Russia.
Submissions

comment 7y ago · link · parent

That is the only working solution with HTML and JS based applications or apps using GC. Applications should save the state and quit (or be ready to quit) instead of using memory in backround mode.

comment 7y ago · link · parent

And I cannot install more than 4 Gb (thanks to Intel for planned obsolence) and have to use several Electron-based programs (each takes not less than 500 Mb). When there is not enough memory, the system can freeze to the point that I cannot even move a mouse pointer.

comment 7y ago · link · parent

It is interesting how Android that typically has less memory than desktop systems solves such problems. It kills inactive applications and background browser pages. The program that can save its state is more complicated, but it works better with limited amount of memory. Today there are many applications written using languages like HTML or JS, or garbage-collected languages and unless you can unload them from memory, there will never be enough of it.

comment 7y ago · link · parent

American logic: let's ban websites, not army-grade weapon.

comment 7y ago · link · parent

I am not sure if users care about controls being "native". Examples from desktop: Photoshop used non-native controls, and nobody cared. MS Office always had non-native looking menus. DAW (digital audio workstation) apps all look non-native.

comment 7y ago · link · parent

They often subscribe you by default when you register. A lot of services do this. For me that's a spam, for them it is a clause in terms of service.

comment 7y ago · link · parent

Pretty useless features. Don't you think that HTML is getting too complicated? This often happens with open source projects, when everyone starts adding features for themselves and the program ends up as a monster that nobody can maintain (see: openvpn, x11vnc and so on).

But on the scale of uselessness this cannot be even compared with dark mode support. Never needed it.

comment 7y ago · link · parent

I wouldn't call Java a bloatware. Native Java apps work without any lags on my $150 phone.

comment 7y ago · link · parent

But it is pretty expensive. There are Chinese phones with 4 cores, similar amount of memory and same screen size that are 4 times cheaper. Would not it be better to take any of them and replace the firmware instead of making their own platform?

comment 7y ago · link · parent

I was able to recognise familiar words like FORTUNA, LONGA VIA, MEMORIUM, SACCULUS (sack).

comment 7y ago · link · parent

I have read about this place and it is sad that they decided to move a 1700 year old temple for a temporary building that had been demolished later.

comment 7y ago · link · parent

Probably a vulnerable PHP application (for example, outdated Wordpress plugin) or stolen admin's password.

comment 7y ago · link · parent

I looked through the article in hope to learn about new vulnerability related to Unicode handling but it turned out just a normal vulnearbility in outdated PHP applications. It has no relation to Japanese language.

comment 7y ago · link · parent

What confuses a novice with Blender is that it has so called "areas" (something like a tiled window manager) and it is very counter-intuitive. For example, when you try to resize an "area" you accidentally create a new one and it is very difficult to remove.

comment 7y ago · link · parent

It might be about Strait of Hormuz which is a strategic point [1]. Iran and Oman want to have full control over their coastal waters, but "civilized world" doesn't want that because in that case they could for example forbid entering Persian gulf to warships of specific countries, or for merchant ships. So the civilized world wants Iran to play by their rules.

Quote from Wikipedia:

> A third of the world’s liquefied natural gas and almost 20% of total global oil consumption passes through the strait, making it a highly important strategic location for international trade.

Here is another quote from [2]:

> The United States under Ronald Reagan imposed new sanctions in 1987 after Iran's actions from 1981-1987 against U.S. and other shipping vessels in the Persian Gulf and support for terrorism.

Also Iran is a rich and large country with 80M population that could take a leadership in the region unless stopped by sanctions.

But that is my personal opinion not confirmed by any proofs.

[1] https://en.wikipedia.org/wiki/Strait_of_Hormuz

[2] https://en.wikipedia.org/wiki/Sanctions_against_Iran

comment 7y ago · link · parent

In Russia there is no punishment for bypassing blocking. But if you publish information about bypassing or proxy server addresses, your site will be blocked too (but no punishment for you personally).

comment 7y ago · link · parent

Blocking access to documentation is too much, I think. Sanctions do not require to block any access to the site from countries under sanctions.

comment 7y ago · link · parent

By the way, there is a list of dependencies, but no version numbers. Is that ok? Even if in theory packages should be backward-compatible, it doesn't work in practice.

Regarding syntax, I would prefer something like this:

DEPENDS_ON python 3.5.1, python/dateutil 1.2.3, ...

BUILD_TOOL bash 1.2.3

BUILD_SCRIPT ./build.sh

comment 7y ago · link · parent

While Nix's concepts are awesome, the implementation doesn't look so nice. Their "language" for writing Nix files [1] doesn't look attractive. Doesn't make me want to write a package description.

Of course, it is better than languages with lots of brackets, but still not good enough.

[1] https://github.com/edolstra/nixpkgs/blob/release-19.03/flake...

comment 7y ago · link · parent

What a poor quality article, it doesn't have any explanation what a headless CMS is.

comment 7y ago · link · parent

That definitely is not true. I know sites that have higher share of bot visits than 1%.

comment 7y ago · link · parent

This is actually not bad. Maybe it will make site developers aware of XSS and motivates to fix it?

It isn't Google's job to fix your broken sites.

comment 7y ago · link · parent

Is not 0.1 mm too coarse? Neurons are much smaller. Also, I wonder what is the black hole in the middle of the left image?

comment 7y ago · link · parent

I don't know exactly, but to buy a domain and operate a website in China you need to get an Internet Content Provider license, and a foreign company cannot acquire it.

comment 7y ago · link · parent

The radio portion cannot stop you from using tethering though. Also, as far as I am aware, radio firmware on Android is often stored on an internal MMC card.

comment 7y ago · link · parent

What a carrier-friendly product.

comment 7y ago · link · parent

So basically Google that made Pixel is betraying users by giving out that they want to use tethering?

comment 7y ago · link · parent

It is difficult for an average user to set up a proxy, and there is still a possibility to detect PC by analyzing unencrypted DNS queries to MS domains for telemetry servers.

comment 7y ago · link · parent

In many developed countries the population is decreasing.

comment 7y ago · link · parent

Is not it better then to publish preprints to some open repositories and reference those repositories in scientific works. And use journals only for career, but never for research. This way they will gradually lose their role.
1
127128129
185