HNHacker News
TopNewBestAskShowJobs

planteen

2,242 karma · joined May 9, 2015

submissionscomments
planteen··on Danish bank launches negative interest rate mortgage
Could you refinance in say 5 years if rates were still negative then to get locked into 15 years of negative interest rates? Not sure on the mortgage market in Denmark, but in the US, refinancing mortgages common and is an industry of its own.
planteen··on Danish bank launches negative interest rate mortgage
It doesn't mean the paper is worthless. On the contrary, the paper is more valuable than many other investment means. You are effectively paying a bank to guard your money with a negative rate, which makes sense. Guarding and protecting currency is not an easy task for an individual or business.

Negative interest rates are supposed to spur investment elsewhere. However, negative rates have not led to the desired economic expansion in places like Japan that have had them for years.

Inflation is very low in Denmark, near a deflation point, which is generally considered bad. The bank is trying to spur inflation with these negative rates.

planteen··on Deeper well drilling an unsustainable stopgap to groundwater depletion
There's already a big "grid" in place in the western US: the Colorado River. A first pass solution could be to desalinate on the coast and then pump up to Lake Meade to meet all of California's use. Then upper basin states could remove more water, no longer being required to give California their 4 million acre-feet. But the amounts of energy required to do that would be insane.
planteen··on A Pixel Is Not A Little Square (1995) [pdf]
No, you put a low pass filter on the other side of the DAC and it looks equally smooth. Those stair steps are high frequency. This is the filter is called the image rejection or reconstruction filter. Once you learn about the frequency domain, you realize how silly most digital versus analog debates are and how very few really understand what is going on.
planteen··on Intel Prepares to Graft Google’s Bfloat16 onto Processors
You can also implement them both on a FPGA and take performance numbers that way.
planteen··on A Cell Tower in the Swiss Alps Is Struck by Lightning More Than 100 Times a Year
Maybe, but lightning only occurs in warm months. If you are going off grid anyway, wouldn't you want something that works year round like wind or solar?
planteen··on A Cell Tower in the Swiss Alps Is Struck by Lightning More Than 100 Times a Year
The first N capacitors will fail catastrophically, leaving the circuit open. Blown caps are a very common cause of failure in power circuits.
planteen··on A Cell Tower in the Swiss Alps Is Struck by Lightning More Than 100 Times a Year
How many capacitors have you seen rated for over 100 MV (megavolts)? I think a dielectric that can survive a field with that much tension is called unobtanium. Lightning is causing dielectric breakdown of the air (a great insulator already) over thousands of meters.

https://hypertextbook.com/facts/1998/MathieuLo.shtml

planteen··on FPGA Support – Building an AGC
Yeah, I honestly thought this was going to be an article about a discrete automatic gain control loop in FPGA logic using DACs/ADCs as actuators/sensors.
planteen··on PCI Express on the Raspberry Pi 4
At least on ARMv7, it's up to the MMU, not the CPU. I've worked with Cortex-A9s that trap the unaligned access. You can write a handler or crash.
planteen··on Monte Carlo methods – Why it's a bad idea to go to the casino
My strategy used to only play perfect blackjack strategy at the very rare $5 or more typically $10 table. But it's not even fun when people get pissy about when they think you "messed up the cards." I've tried to explain and realized not even worth your breath.
planteen··on Non-English-based programming languages
Totally agree. Using non-Latin characters would be a non- starter for most of the world.
planteen··on Drivers followed a Google Maps detour and ended up stuck in an empty field
Yeah the San Luis Valley is full of center pivots. It's a very dry and cold place, but has an aquifer that gets reliably replenished by snow melt.
planteen··on Drivers followed a Google Maps detour and ended up stuck in an empty field
I just tried to get Google Maps to route me over a difficult and dangerous 4WD road in Colorado and got it on my second try: https://goo.gl/maps/FWU1jANHAPA487D37

This takes you over Hayden Pass Rd. Here are some 4WD driving tips for the route: https://www.dangerousroads.org/north-america/usa/3939-hayden...

"It’s a real challenging road and a true test of your vehicle and your stamina because the road abounds in twists and turns with wheels sometimes hanging above the precipice."

"There is a very narrow section of shelf road before you get to the top that is very dangerous if icy. There are no rocks to stop you from sliding off the side. This section should not be attempted if there is any ice at all."

I'm a little surprised that Google gave this route to me with no warning. It's also comical to say you can get the drive done in 30 minutes.

planteen··on How Id built Wolfenstein 3D using Commander Keen tech
Wow, how sad. We didn't have a video game console growing up, so I have very fond memories of Commander Keen. Does Chavez own the rights to Commander Keen 4 too?
planteen··on Why can't computers boot instantly? (2013)
Came here to say this. I've worked on embedded Linux projects with a boot time requirement of 2 seconds and easily made it.

I guess part of the difference is that you explicitly enumerate all hardware and drivers in a device tree on embedded rather than figuring it out on the fly like on a desktop/server machine.

planteen··on Introduction to Nintendo 64 Programming (1999)
My only thought about malloc() is that it was susceptible to fragmentation and applications needed to manage their own pools of similar sized blocks. But definitely an odd comment without further allocation.
planteen··on Who gets to own the West?
I've thought the same thing and then realized the impossibility of it. The reason being, in most western states, there are tens of thousands of patented mining claims. When a claim gets patented, it is private property, including both mineral and surface rights. Lode claims, the most common, are 10.66 acres. I was trying to find the boundaries of a lode claim, knowing which quarter (160 ac) it was in. I ended up finding an old mineral survey marker for one corner of the claim and nothing else. So making an app that lets hikers skirt around private property is going to be quite imperfect unless things are resurveyed with modern technology, a huge and expensive undertaking.
planteen··on Hedge funds use satellite images to beat Wall Street
Another useful piece satellite imagery (other than farms and parking lots already mentioned) is watching shipping lanes in the ocean for traffic.
planteen··on Trails Made by Starlink Satellites
The problem is size. The proposed constellations are possible because of small satellites. It's much easier to build a large telescope on the ground than it is in space. I don't see the small satellite revolution changing this.
planteen··on An update on last week's customer shutdown incident
I ran some really long compute jobs on GCP (100% CPU for weeks across many vCPUs) with credits without getting flagged. I was evaluating FFTW performance for a project. Perhaps GCP could tell I was calling into FFTW and not mining so they decided it wasn't fraud?
planteen··on UTF-8 String Indexing Strategies
Using characters is confusing because I don't know if you mean before or after shaping. U+1C4 is unquestionably a single Unicode code point. I've heard people call this 1 logical character. Other people might say how many characters it requires for encoding in UTF-8 or in UTF-16. After shaping, some people might say it is 1 or 2 "shaped characters". It's all horribly confusing. I find using the term code point more precise.
planteen··on James Webb Space Telescope emerges successfully from final thermal vacuum test
Even CubeSats today still use the SPARC (LEON) since it's easy to implement on a FPGA as a soft core. I'm personally not fan of SPARC though.
planteen··on UTF-8 String Indexing Strategies
You example is a little confusing from the use of the word "characters". I think glyphs would be more clear (U+1C4 is two glyphs). Though it might not actually be 2 glyphs, its dependent on how the font implements it.

At the end of the day, an OpenType font through substitutions can do far more crazy things than these "double glyph" examples. I once made a font that took a 3 letter acronym, substituted this for a hidden empty glyph in the font, then substituted this single hidden empty glyph into 20 glyphs. You were left with something like your U+1C4 in software where you could only highlight all 20 glyphs of none of them. And this was happening on text where all input code points were under 127. People often don't realize how much logic and complexity can be put into a font or how much the font is responsible for doing.

planteen··on UTF-8 String Indexing Strategies
One key to know is that encoding (UTF-8, UTF-16, UTF-32) is a completely separate problem from rendering text. I have had a couple people say to me recently something along the lines of, "We don't need text shaping since UTF-8 takes care of it." That isn't remotely true. An encoding gets you a series of Unicode code points. To render this, these code points must get the bidirectional algorithm applies (bidi) and then these "runs" from the bidi algoritm are then shaped. The text shaper uses OpenType tables within the font to convert these code points into a series of glyph indices with x/y offsets. The renderer then works entirely on glyphs, which might not even map back to a code point in the font.

The HarfBuzz manual touches on some of this: https://harfbuzz.github.io/why-do-i-need-a-shaping-engine.ht...

planteen··on Why Codeless Software Is Doomed to Fail
I've seen the exact scenario mentioned in the article play out, "the moment you need to create something in a domain that does not fit existing tools, you are already into the domain where you will eventually need programming done, and in that domain, you need a programming language, not a drawing tool."

I worked somewhere with a team of engineers who worked in LabView. They used LabView mainly for customized test equipment controllers and recorders and it worked well. They then branched into FPGAs for some straightforward dataflow signal processing and that also worked well. They then decided they were sick of how long it took software engineers to write device drivers for custom hardware and decided to do that in LabView with some tool that could generate C code from LabView. I got pulled into a meeting about it. I asked a couple important questions: how do you insert memory barriers and how can you write code that is ISR safe? It was clear the LabView folks had no idea about any of this. So I launched into a discussion about CPU architecture. They didn't really listen and everything was a hand wave, "LabView does that for you". It was clear they didn't want to hear my thoughts, so I let it go.

Fast forward 6 months and I get a frantic call from a manager if I had "bandwidth" to write a device driver in C for the same card where the LabView team was supposed to have written the driver.

planteen··on Foreign Minister Taro Kono to ask media to switch order of Japanese names
Working with Japanese colleagues and customers, you calling everyone by their last name with the suffix "-san". In discussions even when the person is not present, Americans still say "Abe-san" since it is how you always address them. Is "-san" only supposed to be used when you are addressing the person? I'm unsure on the correct way to use it.
planteen··on ‘Earthworm Dilemma’ Has Climate Scientists Racing to Keep Up
Can't tell if you are trolling?

I'd love to hear a credible source that says something on the lines of, "My understanding of the situation is that there is enough damage already done that a significant portion of the population, if not all of it, will be dead in the next half century, regardless of what's done."

There are crackpots on each side of the argument (skeptics versus doom). I think the truth is somewhere in the middle.

planteen··on Tesla: Insane or Clever
Not sure how their antennas are constructed - if they are fabbed on a PCB, often at microwave frequencies you need exotic substrate material (e.g., Rogers) to cut down on losses. Those substrates are expensive compared to FR4 (fiberglass common in PCBs).
planteen··on Ask HN: Examples of bad open-source code to learn what to avoid?
Exactly. Assuming 10 songs per CD, you should see your first collision after around 6500 CDs. If he did CRC64, it would be after 400 million CDs.
← PreviousPage 3 of 29Next →