HNHacker News
TopNewBestAskShowJobs

sreevisakh

431 karma · joined June 1, 2017

Crazy about anything that flies!
submissionscomments
sreevisakh··on Eigen: A C++ template library for linear algebra
Are you referring to eigen, the C++ library or eigen vectors/values, the mathematical construct?
sreevisakh··on What happens if you try to download and install Firefox on Windows
That may be the fault of the UEFI implementation. Many are terrible - especially from the big OEMs. I keep rEFInd as my boot manager and let it deal with the rest. I also find a way to recover rEFInd if an OS sets its own bootloader as default. It may take trial of up to 5 different methods to find one that actually works.
sreevisakh··on Tell HN: My kid's school installed spyware and I can't remove it
Better yet, ask the school to provide a Chromebook if they want to spy on and control it. The owner should have the ultimate authority on what the device does - so the school should spend money for the power they demand.
sreevisakh··on Tell HN: My kid's school installed spyware and I can't remove it
> I don't understand, this sounds like an issue with the account, not with the Chromebook.

While it does sound like an issue with the account, the unusual part is that Chromebook hands over the control of a device you own to someone else, just because you logged in to some account. Call me old fashioned, but an OS or device that does this is a vulgar anti-consumer design.

I get it that consumers should accept it as a feature of the product. But this was an unacceptable proposition a decade ago. There is a gradual erosion of consumer rights and we aren't fighting back enough. Another factor is that even tech savvy users are caught by surprise. This means that this drawback is not sufficiently highlighted in the product description. The platform may not have become this popular if it was.

sreevisakh··on LXD 5.0 LTS has been released
I believe that RBAC may be possible, though I've never tried it. However, I have used TLS client certificate to get access equivalent to LXD group as a normal user. I've tried it using lxc command and python script.
sreevisakh··on What happens if you try to download and install Firefox on Windows
That is unusual for a modern system that uses UEFI. The windows bootloader may set itself as the default EFI program, but other bootloaders should remain in the EFI partition. It's just a matter of changing the default back to Linux bootloader.

If windows does wipe out other bootloaders, then it's something serious to be discussed. Are you sure that's what happened?

sreevisakh··on ReactOS “Open-Source Windows” Manages to Run Some Battlefield Games
Most of these projects - ReactOS, Haiku and even Hurd badly needs a 1.0 release. That would get them enough developer attention to achieve their more ambitious goals faster. They should aim for simple bare-metal booting reliably on 1.0. Get this done at least on hardware with open specifications. With this in mind, take them into beta with the intention of stabilizing bootup.

Haiku seems to be headed that way, though.

sreevisakh··on BNSF workers quitting to protest new policy reducing time off to 1 day per month
That wouldn't make the risk acceptable - only easy to get away with, doesn't it? Just imagine if an exhausted engineer over speeds on a curve and detail the train onto a suburb or industrial area.
sreevisakh··on 7 usses of Russian soldiers with Acute Radiation have arrived to hospital
Looks like the victims of a communication bubble. Early reports of radiation spike at Chernobyl indicated that it may be due to disturbances to top soil by the invasion force.
sreevisakh··on BNSF workers quitting to protest new policy reducing time off to 1 day per month
That should come under work safety laws, especially for the type of job they do. Like the lady said - that sort of long term fatigue is worse than getting drunk above the legal limit. I have personal experience. Situational awareness and judgment gets progressively impaired. How is that even an acceptable risk on the railroad? An accident could potentially harm people who are not even connected to the railroad.

There are accident investigation report in the airline industry that found that fatigue and impaired alertness from even the maintenance staff is a threat to the safety of passengers. Any work that involves a risk of accident must include pre-shift alertness tests and mandatory minimum scores. Considering the sort of health risks involved, that should apply to all jobs - with a minimum number of paid leaves/year for recovery.

It should be of grave concern for the general public that huge MNCs are willing to put the lives of employees, customers and even general public at risk in pursuit of insane profits for the C-suite and investors. It's an even bigger concern that these MNCs are able to influence legal system to rubber stamp such insanity.

sreevisakh··on Club 8-bit one of the largest collections of Soviet-era computers is destroyed
Seems it's in Mariupol. While this loss is regrettable, Mariupol is very likely a huge kill zone, judging by the footage from there. The fact is that most of us are desensitized to that scale of tragedy and suffering.
sreevisakh··on Fornjot – The world needs another CAD program
Competing with those proprietary mcad will take a much better CAD kernel. FreeCAD uses OpenCASCADE. It's going to take a lot of time and effort to create a new one. There are a few projects around. I hope that one of them will catch on and get enough developer attention.
sreevisakh··on Google cancels Google Play publisher account and ends family’s source of income
There are other options. You can use something like rclone to make multiple copies across cloud storage providers. You could also rent some cheap cloud storage like Backblaze B2 and use a backup software like restic.
sreevisakh··on The Vacuum Tube’s Forgotten Rival
That can't be. Spectrum articles usually aren't. I was able to read it in full by selecting 'Keep reading'.
sreevisakh··on In Bavaria, displaying the “Z” sign, will face legal repercussions
Interestingly, swastika has a similar history. The word means 'symbolizing well being' in Sanskrit. It still has the same meaning in Indic religions. Apparently, it had a similar meaning in Europe too, until the Nazis hijacked it for their cause.
sreevisakh··on Hacked GDB Dashboard Puts It All on Display
Dashboard has been around for a while. It helped me back when I learned GDB for the first time. Though you still have to learn the GDB commands, dashboard makes it a more visual experience. GDB felt clearer and more modern with it. It's better than the built-in TUI in my opinion.
sreevisakh··on Awesome Self-Hosted
Those two lists should probably be combined - at least the hosted services.
sreevisakh··on Kitty: The fast, feature-rich, GPU based terminal emulator
I prefer to use separate terminal multiplexers - mostly because that gives me the freedom to choose terminal emulators without having to learn split management paradigms specific to each enulator. I was on tmux earlier. But I really like how zellij is turning out to be.

Unfortunately, kitty's author has a strong dislike for terminal multiplexers, and it shows in his designs. Recent updates to kitty have broken out-of-the-box functioning of terminal multiplexers. It may be possible to get them working with some configuration tweaks. But Kitty's configuration is huge - I don't have the energy to figure it out. So, I had to abandon kitty in favor of foot terminal emulator.

The author may be justified in his dislike for terminal multiplexers. They were created at a time when emulators were too dumb and didn't have enough capabilities. Multiplexers break some functionalities on modern emulators. But I wish software authors in general respected that there is no one-size-fits-all solution and made their design to be more general purpose. In this specific case, I wish there was some standard protocol for terminal emulators and multiplexers to cooperate.

The author is well within his right to choose his designs and I unfortunately don't have the time to solve that problem. And that leaves me giving up kitty as the only solution. But I miss some innovations that kitty brought to the table - new graphics protocol, remote control protocol etc. I hope that those protocols will be widely implemented in other emulators too.

sreevisakh··on Google will soon ask Australian users to show ID to view some content
> You could get a prepaid card and switch to that as your primary payment method.

Just imagine that! The lengths you have to go to avail public services and protect your personal information from a giant corporation!

sreevisakh··on Firefox now only available via snap on Ubuntu
That's not what I meant. I wish for guix or nix to be a way to build flatpaks.
sreevisakh··on Firefox now only available via snap on Ubuntu
I faced the same problems with some of RH's other software. It felt like they make software needlessly complicated and then hide the troubleshooting information behind paywalls in the hopes of landing support contracts.
sreevisakh··on Firefox now only available via snap on Ubuntu
The people you should be blaming are the ones who decide the web standards. The browsers are bloated and updated frequently because the web standards are bloated and updated frequently. That also killed off many alternative implementations. I'm sure that the requirements of the web platforms can be met without so many APIs and formats. They ruined a completely functional platform.
sreevisakh··on Firefox now only available via snap on Ubuntu
Snap wouldn't be facing such a big backlash if it solved those problems without adding a whole lot of others. Even worse, they completely ignore better alternatives that exist.
sreevisakh··on Firefox now only available via snap on Ubuntu
I really wish nix or guix had a flatpak export capability. Guix can already export several types of images like tarballs, docker images and squashfs images.
sreevisakh··on Firefox now only available via snap on Ubuntu
The worst part is that they sabotage their good software by insisting on these bad solutions. LXD and MicroK8s for example, are distributed only as snaps - not even tarballs. LXD is actually a great software. But it's available as native package only on a few less popular distributions, and that has hurt its adoption. I wanted to try MicroK8s, but completely abandoned it due to the snap requirement.
sreevisakh··on GitHub Incident
Gogs and gitea are designed to be a single-binary minimal source code hosting service. Additional services like CI within that binary is likely to bloat it up and make it less reliable. However, it's easy to integrate a CI service to it - like Woodpecker CI [1]. Woodpecker also has a minimalist approach like gogs. If you instead prefer a full package, then gitlab is the best solution.

[1] https://woodpecker-ci.org/docs/administration/vcs/gogs

sreevisakh··on Google will soon ask Australian users to show ID to view some content
I would have preferred that. But many apps - especially banking apps don't work on custom ROMs due to android's SafetyNet.
sreevisakh··on Google will soon ask Australian users to show ID to view some content
Google's use of payment profiles is much more nefarious and exploitative. I recently moved from one country to another. There are a lot of apps that provide local services - like banking and public transport information. I wasn't able to install any of them. Why? My original profile is from the country of my previous residence, where I originally bought my phone. None of those apps should be geographically restricted in the first place - but they are, for some unexplained reason. I have found apps that are geographically restricted even without the knowledge of the developer.

So then, how do you prove that you are in a different country? Easy, right? There are multiple sources of information that can prove your location - GPS, mobile service provider information, IP geo-location, Wifi SSID databases... . But no - none of that is enough. You have to add a local payment method! And coincidentally none of the payment methods other than credit card information works - not even the one provided by mobile service provider. So, you are forced to register your credit card information to prove your location.

Now that your have proved your location and installed the essential apps you need, may be it's time to delete the credit card information. What if you accidentally subscribe to some service you didn't want? After all, you aren't subscribed to any service or bought anything with the newly entered card. So it should be easy to delete it, right? NO! You are not allowed to delete your only registered payment method! [1] Now it's open forever as a payment method for online services or Google pay.

Google's tactics here are sleazy, underhanded and manipulative. And what of the complaints they receive about it? See for yourself - discussion locked and disabled! I don't know at what point their behavior is declared illegal and anti-social.

[1] https://support.google.com/googleplay/thread/10797082?hl=en&...

sreevisakh··on Lagrange points solved one of physics' biggest problems
Your problem of falling elevator is probably the simplest and best example of problem with non-inertial frames. By definition, an inertial frame is a reference frame where Newton's laws of motion can be applied without caveats. For that to be true, the reference frame must be non-accelerating and non-rotating. By that definition, the reference frame attached to the elevator is a non-inertial frame - because it is accelerating towards ground. In your words, the 'perspective of the outside observer' is the actual inertial frame.

Now let's see why there is no gravity from the elevator's frame of reference. Remember that by Newton's law of gravitation, gravitational force is GMm/r^2. If you plug in the values, you won't get a zero. This means that the person inside the elevator is definitely facing gravitational 'force'. (I'm assuming classical mechanics where gravity is a force. Relativity considers it as another pseudo force. But that view won't affect our current discussion)

Consider the non-inertial frame inside the elevator first. In order for the person to be experiencing no force, all forces on him must be balanced and cancelling out. We know of only gravitational force that is acting downwards. So to cancel it out, we need to invent an equal and opposite force on the person. That force is called 'rectilinear acceleration force' and its value is given by ma (upwards), where m is the mass of the person and a is the elevator's downwards acceleration. So the net force on the person is mg-ma. Since elevator is in free fall, a=g and so the force on the person is zero.

You can see the mess here. You have to invent a new force that doesn't exist and have to be careful about its direction too. If the frame is rotating, then more pseudo forces have to be invented - the Coriolis force, Centrifugal force and Euler's force. All these 4 forces don't exist in reality, and are there purely to account for non-inertial frames.

Now let's see how the forces play out when considered from the inertial frame of the external observer. Let's consider if the lift is stationary first. Obviously the person inside the elevator is feeling gravitational force that is equal to his weight. In reality, he is not actually sensing gravity acting on him - he is instead sensing the 'reaction force'. The reaction force is the force that the floor of the elevator is applying on him to counteract his weight. In other words, the reaction force from the floor actually cancels his weight - so he remains stationary instead of accelerating towards the ground.

Now, unlike pseudo forces, reaction forces are real forces. In this case, it's provided by the electromagnetic repulsion between the molecules on the floor and in the person. This reaction forces don't just act on the person's foot. It acts throughout his body. For example, his internal organs don't fly off under gravity because the reaction force provided by the connective tissues hold them in place, counteracting gravity.

Finally what happens when the elevator is falling? The elevator is in free fall, so its acceleration is g towards ground. The person is also falling with the same acceleration g. This means that there is no reaction force acting on him to counteract the gravity. In other words, the person is no longer supported by the floor - that support was the reaction force. Remember that I said that the reaction force was the force that the person was sensing as gravity. Now that reaction force has disappeared. So the person in effect feels that he is weightless, even though gravity is still acting on him.

This is the advantage of inertial frames. All Newton's laws can be applied in terms of real and concrete forces with well known causes. You don't need to invent anything new and then justify their existence.

sreevisakh··on Lagrange points solved one of physics' biggest problems
I occasionally come across this argument that there is no gravity on anything in space (orbit). Their reasoning is that the gravitational force is canceled out by centrifugal force.

You could say that the forces cancel out, if you consider pseudo-forces like centrifugal force or Coriolis force as real forces. However, that view sometimes lead to very misleading notions like 'there is no gravity in space'. It also makes explanation of other phenomena like tidal forces needlessly complicated. For this reason alone, I discourage people from analyzing in non-inertial frames. Inertial frames make life simpler and clearer by removing caveats on Newton's second law. You no longer need to invent imaginary forces.

← PreviousPage 4 of 7Next →