HNHacker News
TopNewBestAskShowJobs

jacobwilliamroy

973 karma · joined April 5, 2017

submissionscomments
jacobwilliamroy··on Ask HN: Where do I go to talk to people about color matching?
Oh hey that's a good idea! Probably calculating the lightness, hue and chroma for the source CMYK color is going to be faster than searching for it in the DB. Also I'm using the DB because it provides mappings for all the CMYK colors. If I just work with CIECAM02, and run the math in reverse to get a CMYK color, there's no guarantee that the numbers that come out will actually be valid CMYK values: they might be greater than 100 or less than 0 and either case is not a valid CMYK value. This happens because CIECAM02 tries to model all the colors that exist in the visible spectrum and CMYK only represents all the colors which can be made by mixing cyan, magenta, yellow and black inks and thus there are fewer colors in CMYK than CIECAM02. Still I might be able to try "looking around" in the case that the computer calculates invalid CMYK and that might be faster than using the DB.
jacobwilliamroy··on Ask HN: Where do I go to talk to people about color matching?
At the moment, I think the program just crashes if there's no match in the DB. It should be impossible for the initial lookup to fail because the DB has a row for every possible CMYK color but in the second lookup has crashed the program because for example it'll narrow the options down to 10 colors and I'll ask it to select 11 colors. I have actually done something similar before for testing purposes and the program just crashed.

Also, everything is on my computer at work but I can share everything when I go back on Monday (in 31 hours), the code, the DB, some sample images it made.

Because I work in a textile mill we make colors by printing images on paper with a CMYK process and then we use heat to sublimate the ink off of the paper onto the textile. In this process there are so many variables affecting the color of the ink that it's basically a black box where CMYK numbers go in and very often the wrong color comes out. The only way to match colors is to pick a lot of them, and see which one is the most accurate after transfer and use that one. The process of picking those colors is what I'm working on.

jacobwilliamroy··on Ask HN: Where do I go to talk to people about color matching?
A row in the DB has 7 columns: c,m,y,k,lightness,chroma,hue. I used the colorspacious python library to create the DB which took about 24 hours. I wanted to map all the colors in the CMYK gamut (about 10^8) over to the CIECAM02 model but I changed some of the math to make it populate the database faster and that DID introduce some error but the errors were on the order of 10^-6 and I don't know enough about CIECAM02 to tell if that's significant or not. Also I don't really have the time or the compute resources to test 10^8 colors. But I would make the DB again if I had some assurances that the math I was using was accurate and also I need to figure out how to parrallelize python because that would speed things up significantly.

I think a row in the DB is 7 floats, it should be 4 ints (c,m,y,k) and 3 floats (lightness, chroma, hue) but I don't know how to fix 10^8 rows in a reasonable amount of time.

The reason it takes so long is because first it searches for the source CMYK color. Then because of how floats work I can't just tell it to pick all the colors with the same hue, I have to specify some delta and pick all the colors where the absolute value of the hue minus the hue of the source color is less than the delta. That's the part that takes a lot of time but I can't really think of a way to speed it up beside changing the data types of the columns.

jacobwilliamroy··on How I stay reasonably anonymous online (2022)
The one thing I don't see mentioned in this article is using encrypted DNS. Right now I use firefox on my PC and Opera on my phone because both browsers have a setting to use encrypted DNS. I just turn it on and forget about it. I tend to use a lot of networks other people own and I like making sure my DNS queries are encrypted.
jacobwilliamroy··on WiFi can read through walls
I had a discussion with my church group about this and it was absolutely fascinating. On the one hand they welcomed the ubiquitous observation and judgement of all people, because they thought that would make it easier to control people's behavior. But also someone pointed out that is what the anti-christ would do. In the end there wasn't any real consensus on whether or not mass surveillance was good or bad.
jacobwilliamroy··on NASA finally admits what everyone already knows: SLS is unaffordable
I just assumed that's one of the things NATO did. I haven't actually read the treaty. I probably should.
jacobwilliamroy··on Apple vs. Meta: The Illusion of Privacy
What's an "a*hole"? Some kind of graph traversal algorithm?
jacobwilliamroy··on NASA finally admits what everyone already knows: SLS is unaffordable
I want to see more countries join NATO. NATO is just a cool idea. Having the militaries from 31 countries all under one command structure. I genuinely would like to see them try.
jacobwilliamroy··on NASA finally admits what everyone already knows: SLS is unaffordable
God I wish we could go back and do 1991 again. Unfortunately time travel is impossible so I need to stop ruminating on it.
jacobwilliamroy··on Is this Duplo train track under too much tension?
In the real world there are tolerances, so at my job I rarely have to get the correct answer which can be really hard, I just have to get close to the correct answer which can still be hard, but compared to actually solving the problem, it's a lot easier.

Now because I work in a textile mill, the tolerance I usually get is 0.125 inches which is huge. I usually go all the way down to 0.0001 inches because I think it's funny, and also I do have aspirations beyond just working with textiles.

jacobwilliamroy··on Is this Duplo train track under too much tension?
I would hope so. Imagine only focusing on making really good plastic bricks for 53 years. There have probably been a lot of technological advancements over time that have let them make more bricks more precisely.
jacobwilliamroy··on Is this Duplo train track under too much tension?
Does Duplo have the same level of quality control as Lego? Like I can go and buy 10,000 1 x 1 Lego pieces and be sure they'll all be exactly the same within about 10 micrometers. Are Duplo bricks also as insanely QC'd as Lego?
jacobwilliamroy··on Microsoft to stop forcing Windows 11 users into Edge in EU countries
Or, the government should step in and say "No. Have different companies take over different parts of Windows. Do this in two years or pay a 1 trillion dollar fine."

I think that would be a lot better.

jacobwilliamroy··on Chromebooks Were Once a Good Deal for Schools. Now They’re Becoming E-Waste
Oh it looks so easy now. Like I said it's been a few years since I read those instructions so things have probably changed. And I haven't actually used my chromebook since I lost the power cable in 2019.
jacobwilliamroy··on Chromebooks Were Once a Good Deal for Schools. Now They’re Becoming E-Waste
I have an Acer Chromebook. It dual boots into debian but in order to remove the chrome OS I think I have to unscrew some part and then short a couple of pins somewhere. This is the best I can remember. I read those instructions like 6 years ago and never bothered to try and follow them.
jacobwilliamroy··on Sony sends copyright notices to TV Museum about shows 40 to 60 years old
Most people don't want to deal with data. So the idea that someone else will deal with the data is attractive to most people. It's as simple as that really. I used to work at a non-profit and we dealt with a lot of video and we spent a lot of time keeping that stuff organized and preventing data corruption.
jacobwilliamroy··on Plastic Money
I'm surprised we don't have something like this in the U.S. Just last week I was withdrawing cash from an ATM because I was worried the power would be out for a few days and my debit card wouldn't work.
jacobwilliamroy··on Microsoft Edge is starting to annoy me big time
I wonder what happens at microsoft. What do they do all day? I've tried to use microsoft products and follow the happy path that they designed and be a good boy and even then nothing seems to work. Like I remember the other day I changed the configuration on a domain but the changes didn't take effect for over an hour because I was supposed to reboot the client I was working on, even though there were no instructions telling me to do that. Why? Who is this stuff for? Would this stuff make sense to me if I was microsoft certified?
jacobwilliamroy··on CT scans of coffee-making equipment
I think they were trying to turn food into a subscription service? Having complete control over a person's food supply sounds like an 8 million dollar idea. It still sounds like a really bad idea, but I think that is how Juicero was pitched to investors, rather than a spaceship that squeezes bags marginally worse than a person can.
jacobwilliamroy··on CT scans of coffee-making equipment
You just reminded me there's a video on youtube of a guy literally tearing a Juicero apart and it's hilarious:

https://www.youtube.com/watch?v=_Cp-BGQfpHQ

jacobwilliamroy··on Social media decline: Users are shifting to messaging apps and group chats
I stopped posting frequently when I realized I was putting my name on a thing in a public database, and that most hiring processes these days involve putting my real name in google and looking at whatever pops out. I still post nowadays, but it's usually under a pseudonym, from a VM, through a VPN, over HTTPS. I should probably look into encrypting my DNS too.

Nowadays when I'm posting in the clear with my real name I usually stop and think "Would someone hire me if they read this?" and then delete everything I wrote and just move on with my life.

jacobwilliamroy··on Linux overtakes Mac as Steam's second-most used OS, thanks to the Steam Deck
I've been using linux mint for a while now and the only thing I wanted to play but haven't figured out how to run yet is the twin peaks demo on itch.io. But also most of the games I play are on emulated consoles anyway so usually as long as the emulator works everything is fine.
jacobwilliamroy··on New study finds microplastics infiltrate all systems of body, alter behaviour
You really shouldn't listen to comedians. They're only trying to make you laugh, not inform you. Yes even George Carlin.
jacobwilliamroy··on LANDrop – Drop any files to any devices on your LAN
Using SHA256 I was able to prove mathematically, that files you upload to google drive are the same after you download them again. You could also plug an external drive into a raspberry pi (or any computer really) and run samba on it. You would have to do some research to find a good samba client for iOS as I am not an iphone user. You could make all the media on your samba server available to all the devices on your LAN.
jacobwilliamroy··on Crypto has ‘amplified financial risks’ in emerging markets, central banks warn
I always thought the word "contract" in crypto was more of a metaphor than an actual contract. Kind of like how filesystems have "folders" even though the "folders" in a filesystem aren't anything like real folders at all.
jacobwilliamroy··on Chandrayaan-3 Soft-landing [video]
Wow I can't believe I didn't hear about this. It was all over the news when they broke it, so I figured it would be just as widely reported when they fixed it. It's been almost 3 weeks.
jacobwilliamroy··on Bypassing YouTube video download throttling
Have you tried using wireshark to analyze the traffic? That's the first idea I had since you said these pages are trying to detect your browser's developer tools.
jacobwilliamroy··on My Lifetime Reading Plan
Thanks for pointing out zettelkasten. I have to memorise a bunch of facts for an exam and this seems like a good system.
jacobwilliamroy··on My Lifetime Reading Plan
I think it's called "Mathematical Methods for Artificial Intelligence and Autonomous Systems". It's this one:

https://www.amazon.com/Mathematical-Methods-Artificial-Intel...

I found my copy at Goodwill.

jacobwilliamroy··on My Lifetime Reading Plan
I don't hate all murder mysteries. It's more specifically books with really bad pacing, boring characters driving boring plots. That can happen in any book really. And those kinds of things don't really come out until I get past the first few chapters and at that point I just want to see how awful things can get before the end. A book can still be entertaining even if I don't like it.
← PreviousPage 2 of 32Next →