HNHacker News
TopNewBestAskShowJobs

mackman

917 karma · joined February 10, 2016

submissionscomments
mackman··on Form Energy reveals the chemistry of its long-duration battery
More information in this article: https://www.dailymail.co.uk/sciencetech/article-9814873/Scie...
mackman··on Migrating Facebook to MySQL 8.0
Wow. I worked on the upgrade from 5.0 to 5.1 (I think). We had fewer than 100 patches at the time. 1700 sounds like a nightmare. I apologize for any and all of the patches I wrote.
mackman··on Few people know that Google voluntarily removes some search results
Huh, never heard of a manual one of those. I have some little widget that automatically refills the boiler when there's a pressure difference in the wrong direction I guess.
mackman··on Facebook faces ‘devastating’ EU-to-US data transfer ban
This guy shards. This is the correct answer.

"The social graph is tightly interconnected; it is not possible to group users so that cross-partition requests are rare. This means that each TAO follower must be local to a tier of databases holding a complete multi-petabyte copy of the social graph. It would be prohibitively expensive to provide full replicas in every data center. Our solution to this problem is to choose data center locations that are clustered into only a few regions, where the intra-region latency is small (typically less than 1 millisecond). It is then sufficient to store one complete copy of the social graph per region. Figure 2 shows the overall architecture of the master/slave TAO system."

https://www.usenix.org/system/files/conference/atc13/atc13-b...

edit: Oh hah, didn't realize parent was former DB person at FB. I was too, just a few years before :-)

mackman··on The Endless Acid Banger: algorithmic self-composing acid techno music
Anyone have any recommendations for reading material for an experienced programmer that wants to learn how to start to write procedural music? My kid is both learning to program and learning to sequence music I would love to be able to teach him how to combine the two. The last time I did any procedural audio generation was back in 1995 and I’m sure things have changed since then.
mackman··on How computer programming became the worst choice of career
If you’re a programmer and tired of being a cost center then work at a company where software is the product not a cost of doing business. Then you’ll find the company is focused on growing you and your team instead of trying to minimize your effect on the bottom line.
mackman··on CD Projekt Red's ransomed data has been leaked
That wasn't the one I was involved in but I suppose it's not surprising there's more examples.
mackman··on CD Projekt Red's ransomed data has been leaked
> in house engines are incredibly inflexible, they are made for one game only usually and it's a titanic amount of effort to use them for anything else

Hah, one of the reasons I left the industry was I was frustrated that we were supposed to build the sequel to our game using a different custom engine intended for a different genre of game.

mackman··on CD Projekt Red's ransomed data has been leaked
I could see someone making a knockoff version of Gwent to sell on Google Play. In terms of the Red Engine code... the custom engine I'm familiar with was a nightmare in terms of the asset build pipeline and lack of documentation. If you're planning on ripping off a custom engine to bootstrap your game I would highly recommend just using Unity or UE.
mackman··on CD Projekt Red's ransomed data has been leaked
I don’t understand who would buy this. If you’re a game developer buying stolen code isn’t going to help you. Most of their titles are offline focused so I don’t see value in using the code to write cheats. I could see someone who hates them paying for email to release and damage the company but even that seems thin.

Also having worked in games i had a chuckle when I saw the “test framework” folder in Gwent and my first thought was “hmm probably fake then.”

mackman··on 20% of requests for Wikimedia Commons are for one image of a flower
I'm not sure if FlightTracker completely replaced the need for the internal consistency inside Tao. You can read about that here: https://www.usenix.org/system/files/conference/atc13/atc13-b...
mackman··on 20% of requests for Wikimedia Commons are for one image of a flower
Close, IIRC we cached the fact you had just done a write, and a subsequent read request that arrived on the replica region was then proxied to the primary region instead of serviced locally.
mackman··on The Secret Apple M1 Coprocessor
This article links to this more detailed post which I’d recommend: https://nod.ai/comparing-apple-m1-with-amx2-m1-with-neon/
mackman··on The Secret Apple M1 Coprocessor
https://archive.is/eeksi
mackman··on Starship / Super Heavy
My layman’s understanding is that doubling the payload quadruples the fuel requirement. So it is much more efficient to launch multiple rockets with a small amount of fuel than one big one with all the fuel you need. It’s the difference between O(n) and O(n^2).
mackman··on If you can't play the new VR version of Myst, why not play the Apple II demake
It’s one of my favorite games of all time. Unfortunately, like Myst, once you’ve played through, you know too much to truly appreciate it again. Wish there were more games like this.
mackman··on Shortt–Synchronome free pendulum clock
Wow interesting. I would have bet (and lost) that the seismic activity would have been at a such higher frequency that it wouldn’t have affected the 1Hz pendulum. I suppose either that is wrong or there’s also some much lower frequency energy in an earthquake.
mackman··on Intel Discloses Lakefield CPUs Specifications
IBM did this with the PowerPC chips used in the Playstation 3. It was a development headache but part of that was the low power cores were extremely limited... no shared memory so you had to DMA data over and double buffer. They ran mighty fast though. It was a lot like programming a DSP really. If this is anything like that I would expect only some workloads to be pushed to the small cores in a similar way to the way stuff is pushed to GPU today. Frameworks will pop up to make it easier for developers but it will be rough at the get-go.
mackman··on Former CEO of RadioShack now an ER doctor on frontlines of Covid-19 fight
Is few years back I legit wanted to buy an AM/FM radio. I had A tiny one I loved to listen to while running that broke. I went into radio shack and asked if they, you know, sold radios. They did not. I was crestfallen.
mackman··on Pandemic Ventilator Project
I have an MTV (manually triggered ventilator) in my O2 kit for a scuba diving emergencies. Of course my O2 supply is only good for about 15 minutes. Would this be of any assistance while waiting for an ENT to arrive?
mackman··on Box Response to Covid-19
Anyone heard any rumblings about storage supply chain issues causing issues with cloud storage availability or pricing? I remember the floods in Thailand that caused a critical disk shortage in 2011. I’m worried that might happen again with Chinese and other factories offline.
mackman··on Obscure Features of JPEG (2011)
> jpegtran can do some other things losslessly as well - flipping, cropping, rotating, transposing, converting to greyscale

Ok so those are only lossless in specific situations when the image dimensions are a multiple of the dct block size. And of course grayscale and cropping are lossy by definition. A better way to say it is that it can perform some transformations without recomputing and compressing the dct although if you pass the -optimize option you are still redoing the Huffman tables.

mackman··on Using floating-point numbers for money
I think this is kind of funny. Using floats and rounding at some fixed precision before rounding to penny precision is basically exactly the same as using integer multiples of whatever you're first rounding the float to. So you're basically not using floating point anymore, you're just using a float type to represent fixed point integers. The problem as I see it here is that you need to be careful to round to the fixed precision at the right places. The easiest way to not miss a place is to do it after every operation, and the best way to do that is to abstract your money type as a class. So now what we're comparing is a fixed point class holding a float vs an int. In my opinion, holding an int is the better option, because it's slightly more obvious when the values overflow the maximum range of that integer than when the precision of the float drops below your fixed point rounding delta. In either case you need to add some error handling and I also prefer branching on ints than floats (mostly because of a big perf difference on the CPU I used to work on).
mackman··on Options for Enhancing Video of a Burglary?
Oh god this is a terrible idea when talking about identifying a suspect. You’re basically making an educated guess to construct evidence that could then be used to falsely accuse someone. Please don’t do this.
mackman··on A dead PC game that can't come back
They tried making a sequel. https://www.google.com/amp/s/kotaku.com/bungie-s-cult-classi...
mackman··on exFAT in the Linux kernel
I wonder if they are just trying to allow the exFat FUSE team to start working on the merge.
mackman··on exFAT in the Linux kernel
I’ve been building SD card based Pi devices and the limiting factor in IO perf is the FUSE exFat implementation. There’s a leaked Samsung internal implementation that is over 2x as fast in my benchmarks. I can’t attest whether it’s the fact it’s FUSE or just other performance optimizations that is the reason though.
mackman··on Florida DMV sells personal info to private companies, marketing firms
The Massachusetts RMV does the same thing and I was unable to find a way to opt out. You can’t drive a car without giving up your personal data to be sold to anyone who pays the RMV. So much junk mail.
mackman··on How to balance full-time work with creative projects
Can you pay for it through COBRA?
mackman··on Why does a spray bottle work?
I’m not sure you can make a membrane that does that? I get the sense there is a membrane that wicks the fluid around the surface of the tube so you always have to pull in liquid before the gas? Maybe that’s the same thing.
← PreviousPage 4 of 5Next →