HN user

foobarrio

225 karma
Posts0
Comments97
View on HN
No posts found.
Vue 3.2 5 years ago

The big gotcha for Vue2 was the performance when you wanted to display a list of like 10,000 things. I like to tinker with data and a lot of my day is spent on an sql prompt inside of emacs watching results sets of 1,000 rows or 50 columns just fly by so I can search them visually. Having to remember to "freeze" things for performance or create simpler "views" of the model I'm playing with is sometimes jarring.

In my admittedly limited experience in image hashing, typically you extract some basic feature and transform the image before hashing (eg darkest corner in the upper left or look for verticals/horizontals and align). You also take multiple hashes of the images to handle various crops, black and white vs color. This increases robustness a bit but overall yea you can always transform the image in such a way to come up with a different enough hash. One thing that would be hard to catch is if you do something like a swirl and then the consumers of that content will use a plugin or something to "deswirl" the image.

There's also something like the Scale Invariant Feature Transform that would protect against all affine transformations (scale, rotate, translate, skew).

I believe one thing that's done is whenever any CP is found, the hashes of all images in the "collection" is added to the DB whether or not they actually contain abuse. So if there are any common transforms of existing images then those also now have their hashes added to the db. The idea being that a high percent of hits from even the benign hashes means the presence of the same "collection".

Are the stakes really lower? A simple brake job gone wrong can literally kill people. I can't remember the last time I miscalculated profit/loss for a client where the result was a fiery death.

you need an ABS( ) in there no or else the negative sign gets counted? Also some languages will write really big numbers or really small numbers in engineering notation (eg 10,000,000 becomes 10e6) but that's typically only for floating point types.

I play lots of blues guitar, I am familiar. That chart is basing it off the C minor scale which would correspond to the Eb major diatonic scale.

If you play an Am blues scale which is, you'll see how the blue note is really just one note (it's a pentatonic scale with note between the 4th and 5th added): it would be A C D (D#/Eb) E G A. That D# is the blue note.

You're missing anything that uses notes outside of a typical diatonic scale. Example: The first 2 notes of the popular piano piece Fur Elise. It uses an Eb. The piece is in A-minor/C-major and Eb isn't in that scale. That piece also uses a G#. The addition of the Eb and G# means you need at least 9 tones to represent that melody.

Many Spanish songs use what's called the Andalusian Cadence which will use the equivalent of that G# in melodies too as well as the non-sharped note.

Any blues singing will use that "blue" note that is off the diatonic scale.

A song like Jamiroquai's Picture of My Life has a little color note that feature prominantly in the melody in the opening line "... I can follow through." The note on "through".

I end up doing exactly the same thing though I start with the intent of starting a project. What usually happens is there is no particular algo or technique I wanted to explore and once I do that I lose interest and feel bad about never finishing a useful side project. This was especially true with video games when I was younger!

One of the reasons why I sometimes don't like the term "tech debt" is because you can take it on without knowing it. This is not true for financial debt. When you borrow money, even if you're not tracking it, the lender is 100% tracking the debt.

If you are in a team that discourages upgrading build systems, code reviews, code quality, testing etc there isn't really anyone that can point to instances where tech debt was accrued or how much there is.

Consider their response an input signal and not necessarily instruction from them. If my little niece comes crying saying there is a monster under her bed, of course I know it's not a monster but I'll still go look. Maybe a toy is under there making a noise, or the heater pipes, or the cat is moving stuff around.

It's the risk and uncertainty that changes everything. It's not just the mobility that changes. I have to take care of a sick family member and often times have to spend multiple days/nights in the ER/hospital. My current employer pays well, understand my situation and allows me to take days off pretty easily. Writing tax reporting software is probably the most boring thing I've ever had to do. However leaving that job and starting a company is a much much harder choice for me to make than a person with 0 responsibility to others. I will be competing with such persons too if I do decide to start company.

Have you ever been ill for long periods or had to care for parents, siblings or other loved ones being ill? Many people do. Of course they can choose not to care for anyone and leave but many times other people come into the picture when making decisions on where to spend your time. It's hard to make any plans in situations where you have no idea on the health of those you're taking care of.

Why not a single exposure? My camera (Nikon D750) shows up as having 14 stops of DR on DxOMark and IRRC a typical monitor in ambient condition is 8-9 stops. I haven't tested any of this though. Any in-camera JPG processing is applying a tone-mapping function to compress the range. Is the HDR label reserved for an image that has more range than the human eye can see and not necessarily the viewing device?

The compounds are often super complicated though. We can run fancy wines, bourbons and Coca Cola through a mass spectrometer and see exactly what's in it... but we can't currently just create those things. I would assume something being "natural" vs not would influence consumers on wines but not on Coca Cola. If it could be done cheaply in a fully synthetic I would assume they would be the first to do it.

This was my reaction to Flash. It's not a "real" programming environment is what everyone told me. Yea but it was a great authoring tool for non hard-core programmers. I helped a designer write a few simple puzzle games in Flash and it was overall a productive experience. Had I attempted to do that in html/JS I'm not sure it would have gone so smoothly. I haven't tried to write web games in the last 10 years so maybe there's some collection of html/JS tools that lets me develop in a similarly. I'm willing to bet though they're 10x harder to set up and require command-line knowledge (fine for me, not so much my designer friend).

Rolex used to replace all worn parts in their movements as part of their servicing at no extra charge. Do they still do this? If so, then I would push off the service as long as possible. If you wear out a bunch of parts after 20 years they'll be replaced in a single service. I think the average service interval for them is 10 years (not that they recommend that but what people usually do) and the servicing is like $750 last I remember.

What if a developer's machine was somehow compromised and the bad version of the file was put into the actual repo or deploy? I have no idea how likely this is or if it is a possibility in NewEgg's environment but that would be a case where only scanning for changes on the servers wouldn't catch.

Do you really have to actually service them at 5 year intervals? I have Seiko SKX with a 7S26 movement that still people routinely say it goes 10+ years without a service. When you do, it's about $100 since the movement is so common and cheap. Seiko and Casio both make fine quartz watches that are solar powered and have much lower maint cost than an automatic watch (though typically not seen as a nice or luxurious watch). The swatch thin-line watches are quite nice and replacing the batteries is cheap.

I don't use Netbeans and to some extent IDEA just because the fonts don't look right. Tons of work went into the font rendering of Windows and OSX/macOS. Java apps that use the Java font rendering bypass all that work look like horse-shit.

True Type Fonts need a little VM in them for processing hints that was patented by Apple. FreeType got around this issue by implementing automatic hinting instead of executing the manual hints.

* https://en.wikipedia.org/wiki/TrueType#Linux_and_other_platf...

Windows simply acquired a proper license for TTF rendering. I think these patents caused issues for Swing. The Java font rendering in Swing components was 100% Java and did not use any of the OS font rendering. IIRC these patents have long expired so I don't see why the fonts couldn't look better. I only do Java on the backend so I have no idea how Java guis look these days.

Plain-jane Eclipse works better for me than IDEA for my hobby Java coding. On my late 2015 Mac, Eclipse much snappier and the font-rendering is better. IDAE takes 3+ mins to launch. Eclipse takes 20s on a cold launch. To be fair I am not using any plugins and not doing any JEE stuff.

I just can't get IDEA to respond to clicks in less than 10s. There's obviously something wrong with my setup.