HNHacker News
TopNewBestAskShowJobs

viktorcode

1,872 karma · joined September 26, 2020

submissionscomments
viktorcode··on TSMC’s Arizona Culture Clash
I don't see any contradictions. There are day jobs, and there are 24/7 jobs. Someone working 9 to 5, 5 days a week isn't supposed to answer the phone after the work hours, that constitutes employer abuse. If the employer want to have someone always available, then they should hire people for 24/7 and pay accordingly.
viktorcode··on Indiana life insurance CEO says deaths are up 40% among people ages 18-64
Different countries have different methods of determining if COVID was the cause of death, but so far if I remember correctly only Belgium has excess mortality equivalent to attributed COVID deaths, thanks to their cause qualification method (if COVID is only suspected but wasn't diagnosed, it is attributed to COVID).
viktorcode··on Indiana life insurance CEO says deaths are up 40% among people ages 18-64
In general, "synthetic" drugs are more of a menace due to the ease of transportation and production. They don't have to be produced in specific geographic regions and can be very powerful, which adds up to dangerous combination.
viktorcode··on Deserializing JSON Fast (2020)
From Flatbuffers spec:

> Why not use Protocol Buffers, or .. ?

Protocol Buffers is indeed relatively similar to FlatBuffers, with the primary difference being that FlatBuffers does not need a parsing/ unpacking step to a secondary representation before you can access data, often coupled with per-object memory allocation. The code is an order of magnitude bigger, too. Protocol Buffers has no optional text import/export.

viktorcode··on A persistent denial of service vulnerability affecting iOS
Don't know, but in general arbitrarily set limits are bad. Note, the bug is not in the long name. The bug is in the inability of system services to handle a long device name. That I imagine is hard to fix, but this is exactly what needs fixing. Limiting the name length is akin to band aid.
viktorcode··on Wrapping Up 2021. Leaving C++
I find it strange that the author treats spending time with a language as a personal sacrifice.

If that's the case, maybe quit programming altogether? No matter what you work on, language or a piece of software, if you think you are sacrificing part of yourself, just stop. It's not worth it.

viktorcode··on Apple said to be preparing for iPhones without SIM card slot in 2022
Many commenters have rightly pointed out limited availability of eSIM offers comparing to physical cards. However, it should be noted that Apple has immense weight in carrier world. They may 'ask' carriers to provide SIM /eSIM parity for the next iPhone model. If they do, the rest will follow. Technically, there are no barriers to migrate SIM tariffs to eSIM.
viktorcode··on Apple said to be preparing for iPhones without SIM card slot in 2022
> Because SIMs require the physical card. You cannot forge a SIM without the SIM itself

Your SIM provider certainly can issue a duplicate. Also, SIMs can be spoofed.

viktorcode··on Why Is C Faster Than Java (2009)
Are you claiming that because modern CPUs have higher instructions per clock count means you can insert useless instructions without performance impact? That's ridiculous.
viktorcode··on Why Is C Faster Than Java (2009)
The comparison is against Java because it has certain feature parity with C#. And it is right, C# code can be brought closer to C level of performance with less effort than in Java.
viktorcode··on Ubisoft deleted account with hundreds of dollars’ worth of games for inactivity
I have a feeling that "it's perfectly legal" doesn't work in every country.
viktorcode··on The Star – Arthur C. Clarke (1967) [pdf]
I don't think it is bitterness. What really interesting is the idea he put forth: maybe you could find Bethlehem star out there, in space. I think that's brilliant.
viktorcode··on Why Is C Faster Than Java (2009)
If I'm not mistaken the hallmark of benchmark game is to use same looking source code and see how fast it runs written in different languages. Basically, it presumes that all languages follow the same programming paradigms.
viktorcode··on Brexit one year on: so how’s it going?
To the left, right :) But if you are following unbiased analyses, say from foreign financial publications, they do agree on economic downside of Brexit.
viktorcode··on Brexit one year on: so how’s it going?
I disagree that 2) is debatable. You can compare the GDP numbers from the rest of the EU and UK after the referendum. The difference is clear.
viktorcode··on Brexit one year on: so how’s it going?
I've been watching Brexit as an outside observer. Curious thing that I noticed: after the Brexit referendum was won by the "leave" side and first months of political confusion in the UK followed, elsewhere in Europe anti-EU parties dropped in popularity among public.

It's like Brexit served the EU by uniting its members.

viktorcode··on Steam has been banned in China
Chinese games are free to be published outside of China. It is about the control of what's available inside the country.
viktorcode··on Steam has been banned in China
But a ban can be expected, as Chinese government enforces a system that allows only pre-approved games to be available to the country citizens. Chinese gaming companies too had been hit with bans.
viktorcode··on Intel apologises in China over Xinjiang supplier statement
I wonder how many people in China know facts about their country's labour camps and Xinjiang policies and still find that acceptable, not considering this a genocide.
viktorcode··on Intel apologises in China over Xinjiang supplier statement
Sorry, I didn't think about it. In that case I would suggest avoid the posting the news like that one, if it is against site rules.
viktorcode··on Intel apologises in China over Xinjiang supplier statement
What is sad to see is how many Chinese are supporting genocide.
viktorcode··on Quantum theory based on real numbers can be experimentally falsified
It might mean that complex numbers (real plus imaginary part) are real in the physical sense.
viktorcode··on Apple’s use of Swift and SwiftUI in iOS 15
> If Swift was a better designed language, it would have taken over by now.

If you look closely at the most used languages in different domains right now it'll become clear that the design is not what led to their wider adoption.

viktorcode··on Apple’s use of Swift and SwiftUI in iOS 15
Search around, there are projects on GitHub which are using result builders for the web. SwiftUI is a result builder too. Not a web developer, so can't tell if those projects are really useful.
viktorcode··on Apple’s use of Swift and SwiftUI in iOS 15
Those are just property wrappers; another feature of the language accessible to everyone.
viktorcode··on Someone attached an AirTag to my car while I was in a bar
Read on the news that this kind of tracking with AirTags is used to steal cars. A car thief attaches it to the target vehicle, and then simply arrives to the place where it is parked overnight. The thief removes AirTag and then waits for an opportunity to steal the car.
viktorcode··on Xcode 13.2 contains Log4j vulnerability
I agree, I should have worded that differently. My point is an IDE isn't entitled to have yet another runtime which is not used for core functionality just because it is an IDE.

I call it outrageous because the task itself (uploading to App Store Connect) don't require a separate runtime. It's likely an artefact from the past or convenience vehicle for whoever wrote it; another example of developer's convenience trumping user experience.

viktorcode··on Lithuania evacuates its embassy in China
It should be noted that Xi is a son of a victim of Culture Revolution.
viktorcode··on Xcode 13.2 contains Log4j vulnerability
Are you arguing that any IDE must contain JRE?
viktorcode··on Why Not Rust? (2020)
> Rust is a systems programming language. It offers precise control over data layout and runtime behavior of the code, granting you maximal performance and flexibility.

I'm nitpicking, but it's due to considering the difference important for some unsuspecting programmers: having control over data layout and runtime behaviour doesn't grant you maximal performance. It grants you capability for achieving minimal overhead, which is connected to, but a different thing from performance.

← PreviousPage 15 of 24Next →