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 1y ago · link · parent

Attestation is fundamentally incompatible with software freedom.

comment 1y ago · link · parent

This "identity wallet" is such a hostile idea, require identification for everything instead of thinking about how to remove identification (for example, allow anonymous banking, traveling).

comment 1y ago · link · parent

If you don't have a phone, you cannot create a new Google or Vk (social network) account today. I expect there will be more things you won't be able to do if you don't want to leak your information.

comment 1y ago · link · parent

Those who download videos are a minority and targeting minorities will never give you exponential growth. Furthermore, the same minority probably abuses ad blockers so it would be difficult to squeeze a single cent from these freeloaders.

comment 1y ago · link · parent

While deno has sandboxing, it also has potential access to hundreds of dangerous functions, it might be better just to write a tiny wrapper around JS engine that adds only the function to write to stdout.

comment 1y ago · link · parent

YT shares income from subscriptions with music labels? I didn't hear about this, and even if they shared the download must be paid much higher than a view because after downloading a person could potentially listen for a track hundred times in a row.

comment 1y ago · link · parent

It would not be that much of a problem if ads promoted healthy and tasty food but they will probably promote an ice-cream made from a powder and chemicals emulating taste of berries rather than from milk and fresh-picked berries.

comment 1y ago · link · parent

I decided just to look at the code for a moment and discovered ChainMap in Python.

comment 1y ago · link · parent

Music labels publish the music on YT in exchange for ad revenue, they won't be happy if someone would download their music for free, and making music is expensive, google how much just a single drum mic costs and you need lot of them.

comment 1y ago · link · parent

> Like Google?

Like Google competitors obviously.

> Like Google has been doing to the entire internet, including people’s movement, conversations, and habits… for decades?

Yes, but if you allowed to index your site (companies even spent money to make site better indexable), Google used to bring customers and AI companies bring back nothing. They are just freeloaders.

comment 1y ago · link · parent

There could be valid reasons for fighting downloaders, for example:

- AI companies scraping YT without paying YT let alone creators for training data. Imagine how many data YT has.

- YT competitors in other countries scraping YT to copy videos, especially in countries where YT is blocked. Some such companies have a function "move all my videos from YT" to promote bloggers migration.

comment 1y ago · link · parent

Ad clickbots are a win-win though? Make ad less profitable.

comment 1y ago · link · parent

Wikipedia says that autism is caused by DNA errors, so the only perfect cure would be, as with many other incurable diseases, DNA editing? I wonder if we come into the future where parents will be able to buy DNA fragments for example, for certain eye color or size, or for thin hands and legs, and collect future child's DNA from pieces. Or DNA will be considered non-copyrighted and owner of elf ears won't be able to sell his unique feature? Seems not fair to me. Also whether there will be pirate sites with DNA.

comment 1y ago · link · parent

That's an interesting trick.

comment 1y ago · link · parent

There is a difference between a programming language support and having complete GUI framework, set of libraries and applications. Also what would you use to write GUI for Linux? Non-reactive libraries are not an option due to being outdated and inefficient programming style.

It is one thing if AOSP has some fundamental issues that cannot be patched/fixed, and another thing if someone just doesn't like it.

comment 1y ago · link · parent

As I remember, for 10 or 20 years on x86 execution starts at 32-bit address like 0xffff_0000:0000, not 0xffff:0000 which was used in 8086, am I wrong? Stumbled upon this when tried to disassemble BIOS.

comment 1y ago · link · parent

Unlike Microsoft's hacks, these hacks do not include self-modifying code as I understand. I hope code with "detours" (a beautiful French-sounding euphemism for monkey-patching) is not accepted in Linux kernel and libraries.

comment 1y ago · link · parent

> I’d rather just spend the brain power on ditching OpenGL, rather than trying to continue working with this broken API

Is "this broken API" responsible for a library monkey patching?

Also, we are lucky that linux libraries generally don't use such hacks. That's really bad style of programming. Also legacy games probably would run just fine with a bitblt if they were running fine on older software.

comment 1y ago · link · parent

I wonder, could writing appear because of need for accounting? For example, the ruler of a group of tribes needs to know which village paid the tribute, how much they owe, how much warriors they can provide and so on.

comment 1y ago · link · parent

Another expensive phone... sorry but the price is 3x of my phone which has 6Gb RAM (compared to 8 Gb here) and the same number of cores, maybe less performant but who cares, I am not planning to do machine learning on a phone anyway. Also mine has better screen resolution despite lower price.

Yes the firmware is non-free, but I have kernel sources so I can either try to port a open-source OS on it, or simply reverse-engineer and patch the existing firmware.

Also I am not sure if Linux desktop environment (Wayland, Pipewire and friends) is a good choice. Why not use AOSP, which is free, has everything, is optimized, has lot of f-droid apps and is tested on millions of devices? It has modern languages like Kotlin, and GUI frameworks like Flutter. And are there mobile apps for standard Linux desktop?

> Whether used for coding, ... designing, or multitasking with everyday apps, our device delivers the performance

Sorry, I don't think small screen with tiny keyboard is any good for coding or design. Smartphone is only good for taking/watching photos, reading or chatting.

comment 1y ago · link · parent

Sorry for being off-topic, but why with all the advanced technology today I have to manually copy ounces and pounds into Google to learn how much it is? Instead of adding dark themes and material design, it would be better to add a unit converter.

Also do you really need a power bank for a 2-day trip? In airplane mode a phone can live like 2 weeks.

comment 1y ago · link · parent

You should look at European history for comparison. I don't remember, what did they have, a 100 or 200-year war?

comment 1y ago · link · parent

Is it that difficult, add a "ring" bit to every instruction in instruction queue? Sorry I never made a OoO CPU before.

comment 1y ago · link · parent

There are so many extra steps, obviously the CPU is designed for legacy monolithic OS like Windows which uses syscalls rarely and would work slowly with much safer and better, than Windows, microkernels.

For example, why bother saving userspace registers? Just zero them out to prevent leaks. Ideally with a single instruction.

comment 1y ago · link · parent

> unnamed White House official told

In important cases like this one should read the bill's text and not watch some random video on the Internet which has no legal power.

comment 1y ago · link · parent

> Basically, video memory could be gone after Suspend/Resume, VT-Switch and so on.

This actually makes sense: for example, a new task has swapped out previous task's data, or host and guest are sharing the GPU and pushing each others data away. I don't understand why this is not a part of GPU-related standards.

As for solution, discarding all the GPU data after resume won't help? Or keeping the data in the system RAM.

comment 1y ago · link · parent

You don't want an AGI. How do you make it obey?

comment 1y ago · link · parent

I love this type of articles with mix of math and algorithms. I intuitively thought that one can just use a pair of float divisions, like with addition or multiplication.

Oh, and I hope this algorithm can be used to improve RISC-V.

1
373839
185