HNHacker News
TopNewBestAskShowJobs

mohaine

998 karma · joined August 5, 2014

submissionscomments
mohaine··on Flutter 2
Which mostly died from JVM startup time (Think 30 + seconds). There was other issues as well (security and UI issues mostly) but if you knew what you were doing, Java applets were not bad for the time IF the JVM as already loaded.
mohaine··on Are Xiaomi browsers spyware? Yes, they are (2020)
This doesn't help completely unless you fabricated the fabricator on trusted parts as well. Unless you trust it there is nothing to prove that the fabricator isn't inserting back doors into whatever it prints.
mohaine··on The U.S. Air Force just admitted the F-35 stealth fighter has failed
How are you sure someone isn't `going to send fighters over to Bomb the us mainland`?

I'm pretty sure no one is going to do that and yes we way overspend on the MIC but really sending militaries over to other countries was the status quo for almost as long as countries have existed.

There is no real reason to expect that will not happen again just because we are going on 80 years since anyone made a serious effort to do it. You could also argue that it has been 80 years because it was made so expensive to wage war that money/resources is no longer a reason to do it. There just isn't an ROI.

mohaine··on Hydrogen paste has a similar range to that of gasoline
Sounds nice but the title is a bit off from the content. `The researchers also pointed out that the range of the paste can be compared with gasoline and may even exceed it.`

Being able to be compared to gasoline is quite a bit different than being similar to gasoline. I would interpret that to being roughly the same order of magnitude, not similar.

Also, the `may even exceed it` makes the entire thing sound fishy. It doesn't say `may even exceed it with more development` so does this mean they don't even know the current energy density?

mohaine··on Tesla Recalls Cars with EMMC Failures, Calls Part a ‘Wear Item’
Agree, Mine is a Model 3 from May 2018 with 22k. I've only had a couple of small issues, (Infotainment computer would fail to wake back up often and a bad switch on break pedal meant to register a foot but no press) both fixed with no issues. Judging by the serial number on my included diecast mine was close to one of the first 12k produced.
mohaine··on System76 Launch Configurable Keyboard with Open Source Code
Many PS2-USB "converters" are really just "adapters" that actually rely on the keyboard to do the heavy lifting internally. These do not work at all. It sounds like it has gotten better but it used to be quite hard to get an M working. Of course these isn't much(any?) other ~40 year old PC equipment that is this easy to get working.
mohaine··on The computers rejecting job applications
There are MANY programable keyboards (and just plain USB device controllers). The chances that this can't be gamed are zero.
mohaine··on Never use MongoDB (2013)
How do you normalize your Json structure so it can be queried? Do you enforce a schema on your JSON or do you morph it on export into a common structure.

If you enforce a schema on the Json structure how do you handle the changes on the live system?

mohaine··on Tesla fire kills man because door handles wouldn’t open, lawsuit alleges (2019)
It needs at least a (2019) in the title.
mohaine··on OO in Python is mostly pointless
> Are there psychotic devs out there who call it something other than `self`? Yuck!

I was converting some old Java code to Python recently and I almost decided to switch to `this` just to make the task less repetitive. Luckily, sanity returned after I saw the first def abc(this,

mohaine··on Tesla’s charging stations left other manufacturers in the dust
You forgot that you can route to a supercharger and it will pre-condition the batter for charging so it is faster. Also, it will show you how full the charger is, directly from the app.
mohaine··on Tesla’s charging stations left other manufacturers in the dust
They are standardized, but the standard (at least in the US) was less than advanced so if you wanted things like a data connection between the charger and the car you had to roll your own. Without this you can't do things like:

1) Have 2 cars share capacity. The car will decide how much wattage to draw so you have to limit each car to supply/number_of_chargers so that you don't over draw your supply. With data connection you have them share the available wattage, allowing cars to pull what is currently available, often this is more than supply/number_of_chargers as charger will empty or underdrawing due to charge state.

2) Auto bill. Tesla chargers have NO interface other than the plug. You literally just plug it in.

This has changed now but Telsas have been pretty common for a long time here.

mohaine··on Tesla’s charging stations left other manufacturers in the dust
I have an acquaintance that had just bought his 4th Leaf (2019) and decided to drive it on a 400ish mile road trip to a conference. It took him over 10 hours. When he got to the next charger they

1) Often only had 1 high output charger. 2) The one they had was often either in use, or broken leading to very long charge times.

This combined with the less than stellar driver assist the would never get any better for the life of car made him almost instantly regret sticking with the leaf.

He owned it for about 2 months before trading it in on new Model 3.

mohaine··on Linux and Powershell
How is my comment wrong? I said `if the short version is not enabled by default..` which suggests that I do not think they are but am not 100% sure. Ok, I was wrong and rest of my critic doesn't apply but how is this suddenly translate to `I don't want to live on this plane of existence anymore.`? I was just wrong in assuming that aliases were user defined like on most shells.
mohaine··on Linux and Powershell
I didn't realize the alias were pre-defined and not just user created. Thanks for clearing that up in reasonable way.
mohaine··on Linux and Powershell
Alias are nice, but if the short version is not enabled by default, it is mostly useless outside of your normal workstation. During the course of my day I'll be working in many different containers and VMs. All of them 'cattle' so they will only live hours to weeks at most. It just isn't worth creating aliases if I can't use them most of the time.

A long time ago I spent time making alias and using custom shells but over time I just slowly reverted to default bash because it is always there and always works the same.

mohaine··on GUIDs Are Not the Only Answer
Please don't use BigInt. It is the same size (usually 16 bytes) as GUID/UUID in binary but has lots of drawbacks and no real upside other than they are easier to type in when they are still small.

1) The ids are clustered around the starting point so an invalid join will return data when it shouldn't. MIN_ID exists for almost every table/object type. With a well designed ID this shouldn't return any data.

2) BigInts are different sizes on different platforms. I've worked at a place 1 order of magnitude (base2) from overflowing JS Number and breaking most client code. This was due to bug that consuming a Seq ids quickly but there was no going back smaller.

3) Will often be coded client side as a Int and no one will notice until you grow large enough to overflow INT

Really, just avoid any sequential, numeric IDs and you will be good, IMO.

mohaine··on Cincinnati is home to the largest unused subway system in the world (2016)
In the Midwest a 1-2 hour commute is normally 70 - 120 miles.
mohaine··on 1MW Molten-Salt Test Reactor by Copenhagen Atomic for €88k [video]
This would not be melting down. Melting down is melting out of the containment device, which this is not doing. True it is melting INTO a secondary containment device but unless it continues to melt through that it would not be a 'melt down'
mohaine··on Tesla to raise up to $5B in share offering, its second in three months
Of course they have no advantage in batteries, controllers, brand recognition, or efficiency, this is why their stock is only so so.
mohaine··on Denmark to cull millions of minks over mutated coronavirus
Including Pigs. Never forget that when Fred dies early of natural causes, his life long friends will be munching on him soon. Note that this is while on full food and not at modern feed lot densities, just on a low rate family farm.
mohaine··on How Microsoft went from “Linux is a cancer” to “Microsoft loves Linux”
True in the strictest sense is test best kind of true.
mohaine··on How Microsoft went from “Linux is a cancer” to “Microsoft loves Linux”
I personally don't think they know this now. As originally defined year of Linux as a desktop is never going to happen but I know lots of people that never come close to a Windows desktop these days. Lots of former windows desktops have been replaced with Phones, Tablets and Chromebooks. While these are not all Linux, they do replace what would have historically been a Windows sale.

MS losing mobile killed the idea of Windows everywhere and once they lost that they had to play well with others or risk sales in other places.

mohaine··on 1000 Years Before Darwin, Islamic Scholars Were Writing About Natural Selection
That is completely different then what my Muslim friends from collage said they were taught. They said that at home they had classes that explained how these were "tricks" put in place by God to mislead non-believers.

This isn't far from what I heard from some of my Christian friends, which just makes all the worlds religions more much more alike then they differ.

mohaine··on USB-C was supposed to simplify our lives, but instead it’s a total mess
I actually used to calibrate and QC high end breakers for a well know company who's name is a letter and a shape. To pass QC the breakers would need to heat trip when run at 135% Amps between roughly 20-45 minutes. Both too fast and too slow were a failure.

The actual range was a bit different by Ampage which I never quite understood.

mohaine··on USB-C was supposed to simplify our lives, but instead it’s a total mess
This isn't really correct though and gives a false sense of security. The house breakers are sized for the wires in the wall, not the device plugged in. Those should have their own internal fuses to protect themselves.

Most lamp cords are only sized 100ish Watts or ~ 1A with the bulb being the only fuse. If these somehow pulled 15A for any amount of time the wire would quickly get smoking hot but you still plug them into a 15A plug.

Devices are supposed to protect themselves. Most 15A devices will cause fires if they actually pull 15A for any amount of time. If you try to use a a small extension cord on your space heater, you will soon be smelling burnt plastic while never getting over 15A draw. That is part of why these are such a fire hazard.

Alos in the US a 20A socket is designed to allow a 15A plug to work in it, But not the opposite way as that would cause issues in the wall.

mohaine··on A variety of corn has evolved a way to make its own nitrogen (2018)
This IS a nitrogen cycle. Sure it would be great to utilize waste nitrogen as well but that doesn't take away from this.

Btw this is how lagumes fix nitrogen. This nothing new but since it is already in maze it can probably be crossbred into production corn lines without that toxic GMO label.

mohaine··on Ask HN: Has anyone migrated off containerized infrastructure?
No, it isn't true. The OP basically says:

If you use containers like VPSes then you have basically have a VPS but in a container.

mohaine··on No net insect abundance and diversity declines across US
If you live near others, good luck. Too many people leave buckets other containers out.
mohaine··on Over 400 vulnerabilities on Qualcomm’s Snapdragon chip
Looking at the slides from a different article, these are not really in the chip per say but in the SDK. So any lib compiled to use the chip would be affected but not really a hardware issue. Basically fuzzy testing found 400 library calls that fail with segfaults. These can sometimes (but not always) be modified to do a takeover, but I didn't see anyone claiming to have done that.
← PreviousPage 4 of 11Next →