Jajcus

joined 1 year ago
[–] Jajcus@kbin.social 9 points 1 month ago (2 children)

Non-toxic glue would be starch or gelatine - both used as base of some 'real glues', both with valid culinary use, including exactly this use case. We just don't call those 'glue' in this context.

[–] Jajcus@kbin.social 3 points 1 month ago

Upvote for the great analogy in the last paragraph

[–] Jajcus@kbin.social 10 points 3 months ago (3 children)

My experience with C++ was when C++ was a relatively new thing. Practically the only notable feature provided by the standard library, was that unholy abuse of bit shift operators for I/O. No standard collections or any other data types.

And every compiler would consider something else a valid C++ code or interpret the same code differently.

I am little bit prejudiced since then… and that is probably where the author is coming from too.

Then things were just getting more complicated (templates and other new syntax quirks), to fill the holes in attempts to make C a 'high level language'.

[–] Jajcus@kbin.social 9 points 3 months ago* (last edited 3 months ago)

Poland and probably most of Europe. You don't need a car here for everyday living, so there is no point in giving licenses and care to kids.

[–] Jajcus@kbin.social 40 points 4 months ago (13 children)

Slightly off-topic rant:

I hate how the 'VPN' term has been took over by companies selling services using VPN technology.

VPN was initially 'Virtual Private Network' – used to securely connect own (as belonging to an organization or person) devices over a public network. Like securely connecting bank branches. Or allowing employee connect to a company network. And VPN are still used that way. They are secure and provide the privacy needed.

Now when people say 'VPN' they often mean a service where they use VPN software (initially designed for the use case mentioned above) to connect to the public interned via some third-party. This is not a 'private network' any more. It just changes who you need to trust with you network activity. And changes how others may see you (breaking other trust).

When you cannot trust your ISP and your local authorities those 'VPNs' can be useful. But I have more trust to my ISP I have a contract with and my country legal system than in some exotic company in some tax haven or other country that our consumer protections or GDPR obligations won't reach.

Back to the topic:
I do not believe that all VPN services are owned/funded by governments, but some may be. I don't have much reason to trust them, they are doing it for money and not necessarily only the money their customers pay them. In fact I trust my government more that some random very foreign company.

[–] Jajcus@kbin.social 4 points 4 months ago

Deponia series from Daedalic Entertainment. The first two games are really great. The other two not so much, though.

[–] Jajcus@kbin.social 29 points 4 months ago (2 children)

It probably seems extra complexity for you, if your language does not use it. For native speakers it is just natural and not using it would be at least weird.

We could ask the same question about articles . Those 'the' and 'a', why use them? It only makes English language harder to use! 'Apple is apple' why add another meaningless word?

Of course after learning and using English for years I see the meaning of 'a' and 'the' and thy feel quite natural for me to (though sometimes they still make little sense to me – all the fights whether 'The' can be used with some proper name or not). The point is: a lot of features of a foreign language will fill alien and unnecessary.

Maybe more on topic, that is how/why gendered words work in Polish: noun gender is usually linked to how it ends (but do not confuse that with suffixes of grammatical cases). Virtually all Polish women names end with 'a', so any other noun ending in 'a' sounds feminine and would be used in similar way. And sometimes it just 'rhymes' – like in 'to jabkło' ('this apple' – neuter), 'ta gruszka' ('this pear' – feminine), 'ten banan' ('this banana' – masculine). Of course thing get much more complicated than that (like in every language, just in different parts of the language).

People were just talking in the way that it was convenient for them. And thousands years later scholars called this feature of particular set of languages 'gender' because words used seem to be related to genders.

[–] Jajcus@kbin.social 10 points 4 months ago (11 children)

Valve is the company responsible for unlocking my PC for gaming. Most games can now be played without using Windows and Valve is mostly responsible for that. Because most game developers do not care and would rather force you to use proprietary OS than let you use what you prefer.

[–] Jajcus@kbin.social 66 points 4 months ago

Well behaving programs give control back to the kernel as soon as they are done with what they are doing. If they don't the control is forcefully taken away after some assigned time.

It looks something like this:

Something happens – e.g. a key is pressed – a process waiting for this event is woken up and gets e.g. 100ms to do it stuff. If it can handle the key press in 50ms, kernel notes it used 50 ms of CPU time and can give control to another process waiting for an event or busy with other work. If the key press triggered long computation the process won't be done in 100ms, the kernel notes it used 100ms of CPU time and gives control to other processes with pending events or busy with other work.
After one second the kernel may have noted:

Process A: used 50ms, then nothing, then 100ms, another 100ms and another 100ms
Process B: was constantly busy doing something, so it got allocated 6 * 100ms in that one second
Process C: just got one event and handled it in 50ms
Process D: was not waken at all

So total of 1000ms was used – the CPU was 100% busy
Of that 60% was process B, 35% process A and 5% process C.

And then that information is read from the kernel by top and displayed.

How does the OS even yank the CPU away from the currently running process?

Interrupts. CPU has means triggering and interrupt at a specific time. Interrupt means that CPU stops what it is doing and runs selected piece of kernel code. This piece of kernel code can save the current state of user process execution and do something else or restore saved execution of another process.

[–] Jajcus@kbin.social 1 points 4 months ago

If your browser or your OS insist on only trusting $1000 certificate, blocking access to most of the internet, then change the browser or OS. There is no grand authority telling which root certificates can be trusted. Yes, Google or Apple could scam their users this way if they wish to, but it would not make much sense for them. People would use something else.

[–] Jajcus@kbin.social 1 points 5 months ago

..and not even 'because I am never happy'. It is the melody that is nothing like happy and hearing it makes me unhappy.

[–] Jajcus@kbin.social 21 points 5 months ago (1 children)

Have you ever worked with a computer with modern general-purpose OS like Linux and no RTC? It sucks. It is not strictly necessary, you can live without it, but you need workarounds for basic stuff timestamps in log files or in the file system. At least for a minute until NTP connection is established, but may be longer when internet connection is not available. And when routers are rebooted most often? When troubleshooting broken internet connection. This is also the time when properly timestamped logs could be useful.

And battery backed RTC is cheap. It doesn't fit on a Raspberry Pi board, but can easily fit into a router case. No excuse for omitting it.

view more: next ›