Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
IvanK_net
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
IvanK_net
9mo ago
More useful is one of many ways of being better. What are you talking about?
32.
▲
by
IvanK_net
9mo ago
When somebody talks like this, ready to ban social networks, videogames, pornography, the whole internet, and pretty much every freedom that billinons of people enjoy, by comparing it to drugs, it scares me quite a lot.
33.
▲
by
IvanK_net
9mo ago
When somebody talks like this, ready to ban social networks, videogames, pornography, the whole internet, and pretty much everything that billinons of people enjoy, by comparing it to gambling, it scares me quite a lot.
34.
▲
by
IvanK_net
9mo ago
It makes no sense what you say. If the experience with A was really worse than with B, people would stay with B.
35.
▲
by
IvanK_net
9mo ago
You choose to spend your time on a place A instead of the place B, it means that the place A is better than the place B. Why else would you do it, if B was better? It is a simple logic.
36.
▲
by
IvanK_net
9mo ago
Internet is amazing, it is the best invention of humanity, and each year, a person spends more time on the internet (on average) than a year before, which shows that it is getting more and more useful for everyone. Those who enjoy saying &q
37.
▲
by
IvanK_net
11mo ago
It reminded me this demo that I made in 2012 (computed in real time by Javascript on the CPU) https://polyk.ivank.net/?p=demos&d=raycast
38.
▲
by
IvanK_net
11mo ago
Maybe they could simply make a modern web browser for PS2, where you would simply open a website with the game :)
39.
▲
by
IvanK_net
1y ago
BTW. I am the author of https://www.photopea.com , which is the only software that can open Fireworks files today :D If you have any files, try to open theim (it runs instantly in your browser). https://community.adob
40.
▲
by
IvanK_net
1y ago
Macromedia did this when saving Fireworks files into PNG. Also, Adobe saves AI files into a PDF (every AI file is a PDF file), and Photoshop can save PSD files into TIFF files (people wonder why these TIFFs have several layers in Photoshop,
41.
▲
by
IvanK_net
1y ago
Oh okay, that was my second guess.
42.
▲
by
IvanK_net
1y ago
A single tape machine is still a multi tape machine, only with one tape.
43.
▲
by
IvanK_net
1y ago
I am confused. If a single-tape turing machine receives a digit N in binary, and is supposed to write N ones on the tape, on the right side of the digit N, it performs N steps. If you expect N ones at the output, how can this machine be sim
44.
▲
by
IvanK_net
1y ago
I think that 70 % of web users believe, that each website that they open can see their real name, their address, their phone number, the files on their computer, their browsing history and a lot more, and they believe that the GDPR laws are
45.
▲
by
IvanK_net
1y ago
I have no idea why they mention coding. It is the same in any kind of job. You can bake cakes for fun, make music for fun, write poems, novels, play chess for fun, practice sports, grow potatos ... At a certain stage, you realize that in or
46.
▲
by
IvanK_net
2y ago
We could plant, cut down and burn trees for the energy, in a circle, and keep carbon levels in our atmosphere the same, instead of digging up new carbon from the ground and burning it. We will have to bury carbon back under the ground at so
47.
▲
by
IvanK_net
2y ago
I am the creator of a photo editor www.photopea.com, used by around 1 million people every day (of which 300,000 use Android, 150,000 use iOS). After reading this article, I am so happy that I never spent a single hour trying to publish my
48.
▲
by
IvanK_net
2y ago
You can have a PNG and JPG versoin of the original image without no loss, and the files would be about the same size. You can have a PNG and JPG version of the original image, with the same loss - "average error per pixel", and th
49.
▲
by
IvanK_net
2y ago
I know that the "lossines" is not included in PNG encoders, as it is in JPG / WEBP encoders. But the idea is the same: if you are ready to "accept some loss" (by reducing the number of colors in this case), you can
50.
▲
by
IvanK_net
2y ago
That is what a "lossy compression" means. Instead of encoding the original image, you look for a similar image, that can be losslessly encoded into a smaller file. In PNG, you look for an image with 100 - 200 colors (so that color
51.
▲
by
IvanK_net
2y ago
Lossy compression is possible in PNG to a certain degree. This is the "same PNG", but 94 kB instead of 1015 kB: 1015 kB: https://sidbala.com/content/images/2016/11/outputFrame.png 94 kB: https
52.
▲
by
IvanK_net
2y ago
Lossy compression is possible in PNG to a certain degree. This is the "same PNG", but 94 kB instead of 1015 kB: 1015 kB: https://sidbala.com/content/images/2016/11/outputFrame.png 94 kB: https
53.
▲
by
IvanK_net
2y ago
It reminds me my WebGL First-Person-Shooter https://dinohunt2.ivank.net that I made 10 years ago :)
54.
▲
Should I tolerate ad-blockers on my website? I am “losing” over $1k a day
(github.com)
6 points
by
IvanK_net
3y ago
|
9 comments
55.
▲
by
IvanK_net
3y ago
BTW. For the last 15 years, all web browsers on Windows do WebGL on top of DirectX (using the Angle library https://github.com/google/angle ).
56.
▲
by
IvanK_net
4y ago
Wow, nice! I wrote a BC1 encoder in JS, it is quite simple :) https://github.com/photopea/UTEX.js/blob/master/UTEX.js#L198
57.
▲
by
IvanK_net
4y ago
I think they should siply use four patches of BC1 (DXT1) texture: https://en.wikipedia.org/wiki/S3_Texture_Compression It allows storing a full 8x8 pixel image in 32 Bytes (4 bits per RGB pixel).
58.
▲
by
IvanK_net
4y ago
The idea of the Incognito mode is, that the website should be unable to detect that you are using the Incognito mode. There is a bug in Chorme, which I reported, but they told me they will not fix it: https://bugs.chromium.org&#x
59.
▲
by
IvanK_net
4y ago
If someone already implemented an XML parser for you, SVG is easier to implement than TVG (if you are trying to extract the same type of content out of SVG as out of TVG).
60.
▲
by
IvanK_net
4y ago
If we ZIP both SVG and TVG, the difference is not that large anymore. For most of people, wide support is more important than 20% smaller file size. That is why it is hard for WEBP to replace JPG.
More ›