9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 4y ago · link · parent
Of course, 1280 pixels should not be hardcoded, there could be a choice between several popular sizes.
comment 4y ago · link · parent
Instead game developers should provide an option to select graphic settings: more textures, less textures, more shaders, less shaders and so on, and display a FPS counter so that the user is able to decide what is better for them. Or automatically switch to lower settings if fps falls below cetrain threshold.
comment 4y ago · link · parent
[1] https://www.khronos.org/registry/webgl/extensions/WEBGL_debu...
comment 4y ago · link · parent
Actually I think that when zoom is less than 100% (i.e. the page is made smaller) it is possible to report to the page original window size rather than scaled up size. Many sites today use gigantic font sizes and they are difficult to read without zoom or high-DPI display.
comment 4y ago · link · parent
I did some research whether it is possible to stop fingerprinting using a browser extension that patches JS environment before loading the page, and it turns out that it is difficult or impossible. Because first of all, there is no API for patching a JS environment from an extension.
I think that many of new HTML standards are poorly designed in regards to privacy. For example, WebGL reports the video card that you use. Who needs that? Well, maybe there is a tiny percentage of sites that use this information to detect bugs but main use of this feature is a reliable unforgeable signal for fingerprinting a device. Most of sites do not need WebGL at all.
It seems that browser vendors hurry to push forward as many features as possible without much thinking about user's privacy.
So basically today we have lots of standards that provide signals for fingerprinting (Web Audio, WebGL, Canvas API, WebRTC, port scanning via fetch or websocket, probing extensions list) and zero APIs or settings that allow to control it or block (unless you are ready to patch a browser).
comment 4y ago · link · parent
This way the CPU design can be simplified and all the complexity moved into compilers.
comment 4y ago · link · parent
If there appears a new CPU with different vector size then you can just recompile the program and let compiler use new instructions. Therefore it doesn't make sense to sacrifice chip area or performance for this feature.
Regarding backward compatibility (running old software on a next generation CPU), I think that newer CPUs do not need to support obsolete instructions from previous generations. Instead they could just include a decoder that would (using microcode and therefore slowly) emulate old instructions. This allows user run their package manager or recompile their software and switch to new instructions. It is totally fine to completely redesign the ISA provided that there is a minimal converter for old instructions or at least support for software-based translator like qemu.
comment 4y ago · link · parent
This would be a coin that is backed by stocks. When you buy my investcoin, you can choose any kind of stock from a preapproved list and I will buy them for your money. If you decide to cash out, I will sell stocks of my choice to repay you. The stocks are managed in a public account, so anyone can ensure that the amount of stocks matches the amount of coins. You are guaranteed a share of stocks proportional to amount of coins that you own.
Of course, hard work of thinking out a hypothetical cryptocurrency must be rewarded, so I will take a reasonable fee from every transaction involving buying or selling stocks.
To make things more interesting, we could manage those stocks by voting of coin holders.
Why this is much better than stablecoins:
- first, in contrast to existing stablecoins, anyone can easily check that I hold the amount of stocks matching the amount of coins
- second, unlike existing stablecoins, the value of my investcoin is going to grow as on average stock markets grow over time
- third, the money that you have invested is improving world economy instead of just burning electricity
- fourth, you can use this investcoin as a mean of payment
- fifth, there will be no promises of ridiculous yield. The stocks are meant to back the value of coin, not to be a source of a significant profit.
Looks like a perfect business plan, or am I missing something?
comment 4y ago · link · parent
They seemed to have a third kind of token, that you could get as a reward for taking a loan (or depositing UST). But I don't think that by juggling three related tokens around one can generate any value. The only source of money was from people buying any of these tokens.
The support page at Stablegains site says [1]:
> They [Digital finance protocols] are more efficient than traditional finance
I can't see how 30% interest rate overcollateralized loans are "more efficient" than traditional bank loans with rates below 10% per year.
[1] https://stablegains.zendesk.com/hc/en-us/articles/4402680375...
comment 4y ago · link · parent
One might say that a corporation might need this. But why should we care about corporations? Let them use Internet Explorer that sends everything in plain text. Or they could configure using unencrypted DNS in group policy.
Encrypted DNS should be indistinguishable from any other HTTPS traffic.
comment 4y ago · link · parent
comment 4y ago · link · parent
Here is a quote from a random article:
> A popular strategy that many have used was the recursive lending strategy, this involved:
> 1. Depositing bLUNA as collateral on Anchor
> 2. Borrowing UST to buy LUNA
> 3. Swap LUNA to bLUNA to repeat Step 1
Regarding this:
> The other half was from Luna Foundation dumping money into Anchor's reserves.
And where do those money ultimately come from? I guess from unlucky investors who bought UST/LUNA and were left with useless tokens? Then this resembles a classic Ponzi scheme.
[1] https://medium.com/qi-capital/lessons-learned-from-the-may-c...
comment 4y ago · link · parent
If my understanding is correct, then as soon as it becomes clear that there are better alternatives or Bticoin is unfit for this purpose, the price will drop.
comment 4y ago · link · parent
> and from interest on loans people took out against the collateral they deposited
To be able to pay out 20% interest rate on deposits you need to issue loans at higher rate. But who would take such a loan when they can go to a traditional bank? Furthermore, the borrower needs to provide a collateral.
Money cannot appear out of nowhere. There should be somebody buying something, like products or services (not just cryptotokens). Or at least a reasonable expectation of someone buying them.
comment 4y ago · link · parent
It doesn't make sense. If there was a risk-free way to get 20% income without doing anything then people could stop working and live just from their savings.
comment 4y ago · link · parent
If there is no valid business model explaining where that 20% come from then it is just a Ponzi scheme.
comment 4y ago · link · parent
It means that if someone decides to get away from this legacy structure and move OS into something like /system/debian-11.1.2/ all those programs would break.
Examples: [1], [2]. I assume that developers have hardcoded those paths because /sbin is often not included into PATH.
[1] https://github.com/blueman-project/blueman/blob/fcef83a01c80...
[2] https://github.com/blueman-project/blueman/blob/fcef83a01c80...
comment 4y ago · link · parent
It is good if you need to do maths or process videos, but doesn't give much advantage in processing JSON trees.
Also, I don't think it is necessary to make a SPA for a simple web store. Looks like overengineering to me. If you don't like that pages are reloading then use any library that automagically replaces the page content on link click. You can turn any "classic" server-side rendered site into something that feels like a SPA but without writing any JS code.
Regarding languages that are best for developers' performance, I guess it is Python? Are there languages that allow to solve typical web tasks using less tokens?