HNHacker News
TopNewBestAskShowJobs

miahi

1,793 karma · joined June 29, 2011

submissionscomments
miahi··on Upgrade Raspberry Pi 4 with a NVMe boot drive
I don't see how a Pi can take advantage of NVMe. From my tests using a 10Gbit USB3 adapter with a capable NVMe drive (3GB/s), its impressive IOPs are reduced so much that they are almost comparable to a 'normal' SATA. I would expect a 5Gbit USB to further limit it.
miahi··on Programmable Filament Gives Even Simple 3D Printers Multi-Material Capabilities
I think the tower is still needed because when the filament changes you will have a blend, as old melted filament inside the head will combine with the new filament, it takes a bit of time/material to clear.
miahi··on Photos from inside a Typhoon class submarine
It seems to be the real thing, not a knockoff. It has the L.M. Ericsson logo on the dial, like this one[1].

[1] https://upload.wikimedia.org/wikipedia/commons/c/c9/Ericsson...

miahi··on 2,000-Year-Old Nazca Line Featuring Lounging Cat Found in Peru
It seems to be here[1], just to the left of the pin. Bing seems to have the only aerial images that have a good resolution of that area. You can faintly see on that side of the hill (the eastern face) some lines that look like the cat.

[1] https://www.bing.com/maps?osid=5199b705-dfdd-4763-a3ed-26e8e...

miahi··on Digital Camera Know-Hows
These are around 15 years old (example: they say that CMOS sensors are mostly used in toy cameras - how the world has changed in the meantime...). On the other hand, optics did not change so much (they actually skip the whole DSLR years, as now the mirrorless cameras are the same as the ones they present). But now there are a lot of better resources, with videos and way better examples.
miahi··on Use Your Bike as a Backup to Your Backup Power Supply
The question here is how hard do you ride (given by the heart rate). Do you ride at 120bpm or 160bpm? If it's 120bpm, you can probably increase the output with little training or just by accepting a higher heart rate. If it's 160bpm, something seems wrong.
miahi··on Use Your Bike as a Backup to Your Backup Power Supply
80W seems low for somebody who bikes every day, I guess it's not actually FTP (what you describe by maintainable for an hour) but aerobic.
miahi··on Use Your Bike as a Backup to Your Backup Power Supply
I don't think you can have a 400W bike FTP without already being a pro.
miahi··on Intel exits memory business, sale to Hynix for $9B
A small fix to the HN title: it's about NAND (flash) memory, so basically "storage/SSD", not RAM "memory".
miahi··on The curious case of Romanian broadband
The 2.4GHz band is saturated (in an apartment building you'll see tens of networks, there's no free channel even if you want to optimize. And there are not many 5GHz-capable devices or they have the 5GHz band disabled (not sure why - I found this also whilst renting/airbnb in other countries, the wifi was bad but the old "admin/admin" login worked on the router, so we could switch it to 5GHz).

And yes, the install teams are outsourced and the quality varies wildly.

miahi··on The curious case of Romanian broadband
What the article does not mention is that most of those networks are now gone. They started around 2000 as ad-hoc networks (a few friends that shared files through SMB and maybe an Internet connection) but around 2002 they evolved to be real businesses, with networks spanning tens of buildings and hundreds of apartments, sharing an expensive business link and even starting to do peering across networks. Most used copper cables across buildings, so they were quite often hit by lightning and network switches and cables had to be replaced (fiber was hard to install and maintain, as in some cases the physical security of the network equipment was low and media converters could be stolen).

Starting with 2005 the bigger/"normal" ISPs started to buy these networks (the businesses that maintained them), and migrate the customers to a more standardized / legal (and more expensive) network link.

Also, in the last years an underground fiber backbone was installed in Bucharest, and the fiber above ground started to migrate (not really willingly) to that. The problem is that there is no incentive to uninstall unused fiber from the poles (it's not valuable as a second-hand object and hard to recycle) so that fiber just stays there, in many cases broken.

miahi··on The curious case of Romanian broadband
About pricing in .ro: I have a business link with 1000 down / 200 up and static public IP for $25. A similar speed home link is $9. Adjusted for big mac index (2.5x) they would be around $60 / $22.
miahi··on Ask HN: Why are there no open source 2d printers?
I would not consider an engraver for which you have to call to ask the price as "routine". From what I could find, the cheapest trotec is $16k second hand on ebay (and there is another from their cheap line for $56k second hand). You can hire somebody to handwrite everything you need for that kind of money.

Also, high power lasers are consumables.

miahi··on Z80 CPU User Manual (2016)
It's browsable, but there is no search and the in-browser search does not work because the pages are only rendered when scrolling. So, like many current web pages, pretty and useless.
miahi··on I think it’s time to re-wire the house
The insulation for CAT5 and RJ45 is rated for 125V. You don't want to be that close to the rating for a cable that can be moved/bent/stretched (for comparison, an AC cable is rated at least 300V). And the RJ45 connectors are not designed for that kind of dangerous voltage.
miahi··on I think it’s time to re-wire the house
CAT5e and especially cat6/cat7 is not usually hair thick, it's usually 24 AWG (and in better cables 23 or even 22). The ampacity of 24AWG is around 3A (more if you accept a bit of heat). PoE is limited to less than 1A per pair, but it makes the power through voltage (usually between 48 and 57 volts), and by using more than one pair.
miahi··on A modular, extensible DIY NAS
This is the reason I now use a 3rd party RAID controller on my HP Microserver Gen 8 - I have 3 RAID cards with the same hardware and firmware, and tested that the RAID config can be imported from one to the other.
miahi··on Database Version Control with Liquibase
These are features I actually use liquibase for. That's why I know about them.

About rollbacks: yes, they are not always useful and you can think of ways to avoid them. But these days when you can rollback a docker application upgrade with a few commands/clicks, this way you can also roll back the DB changes. Not all the changes require this, but there are many ways a schema upgrade can go. Datapoint: changing stored procedures/functions that should match the calling application's version. Yes, not everybody uses logic in the DB, but sometimes you need that performance.

miahi··on Database Version Control with Liquibase
It looks like a simple problem until you have multiple developers/branches/supported DBs/application instances. Then you start to appreciate a tool that is more descriptive, can do rollbacks and auto upgrades at application start, populate a test database and so on.
miahi··on Oracle Wins Bid for TikTok in U.S.
I know people who worked (full time) for Oracle who didn't even need to go to the office, they just did stuff remotely from time to time (never more than one hour/day). They actually had a second full time job that they went to.
miahi··on Home Office Projects Series: Air conditioner setup
Yes, it was a nice surprise finding that the protocol is that simple.
miahi··on Home Office Projects Series: Air conditioner setup
Did you use a vacuum pump for the refrigerant lines? If air is still inside the lines, the unit will not last as long - the problem is the trapped moisture that can damage the pump in the long run.
miahi··on In the Turkish locale, "INFO".lower() != "info"
But they do have the most extensive transliteration rules library to match everything to that limited character set (ICAO Doc 9303[1]) that is used by many systems outside the aviation world.

[1] https://www.icao.int/publications/pages/publication.aspx?doc...

miahi··on Dishwashing detergent hack: Two ingredients (2015)
Nope. A quite old VW Polo. Not sure how it could be car specific.
miahi··on Dishwashing detergent hack: Two ingredients (2015)
This happened to me in the car when adding a new kind of windshield wiper fluid over the old one. It did not clog the pipes, but made the resulting fluid very slimy, and it could not be wiped out by the wiper blades. The result was that the windshield became translucent and very hard to see through. When it stayed longer on the windshield, it frosted like ice, making it even harder to see through. I had to stop at a service station and drain all that fluid out, then fill the washer fluid tank with water to clean everything.

The new fluid by itself was fine, it was just the combination of the two that created a reaction.

miahi··on Migrating a 40TB SQL Server Database
I worked on a system that generated around 500GB-1TB of log data monthly. An estimation done way before it was put in production said that it would generate less than 100GB/month, so the DB storage was sized accordingly (~6TB, half of which were used for other data). A change that came later in the project (on a different system) was disregarded, but it increased the application traffic by a factor of 5, and the space estimation was not updated. So it was an interesting surprise when the space started filling up way faster after the go live.

To make the issue even more interesting, the system was mission-critical at five nines and the log data was sensitive + had a legal requirement to be kept online for at least one year, for queries. So deletion was not an option and the migration had to be done online.

Fortunately the system used Oracle DB and the log table was partitioned by date. Unfortunately, a partition kept three months of data, so it could reach the full amount of free space on the DB. There was no easy way to add storage to that server, but we did have some space on another one, with lower speed (the prod DB was RAID10, the other one was RAID1)

In the end we had to create a new partition scheme, with monthly partitions stored in different tablespaces, create another table with the same structure and switch it with the online one (a couple of seconds of downtime), backup the database and restore it on the slow storage, then delete the old table structure and tablespaces/datafiles to free the space on production.

A procedure was created to detach the oldest partition from the production database and reattach it to the slower database (where we also implemented compression at a later stage). This meant that the query system needed changes to work with both databases, but at least the system was up.

The good thing was that in Oracle you can detach partitions and tablespaces and transport them to a different database without downtime. I don't know MS SQL enough, but I understand from the migration procedure that this is not possible there. I guess they did that manual daily partitioning by table, but they did not store each table in its own datafile, so it can be moved as a whole (maybe with downtime, but at least it would free the space faster).

miahi··on Spies can eavesdrop by watching a light bulb's vibrations
You can also send the sound via the laser directly to a MEMS microphone, if it's exposed: https://www.wired.com/story/lasers-hack-amazon-echo-google-h...
miahi··on The AirPods Pro “Rattlegate”
There is also the expectation of quality, given the branding, price and the presentation. If a $50 pair of headphones break, it's not a big deal. If a $300 pair of headphones break (repeatedly, it seems), you start to talk about it.
miahi··on Aquarius builds an engine others only dreamed of
It seems to generate quite a bit of vibration, even if you couple two of them in an alternating way you just change the vibration from parallel to the pistons to perpendicular to the pistons. It's not as easy to balance as a rotary engine.
miahi··on Luxonis wants to use computer vision to protect cyclists
Ok, so it's a camera implementation of the Garmin Varia bike radar, with special functions to scare away drivers. Yes, as you say, a false positive would be really annoying for both cyclists and the drivers, as they can blind them and actually create an accident (what happens when you suddenly see a powerful flashing light during the night? flashing lights on bikes are annoying enough as they are, without an extra-powerful setting).
← PreviousPage 3 of 20Next →