u/ComplexColor

102 post karma · 4,504 comment karma · joined Sep 2013

ComplexColor

What do you mean "instead of OCR"? That's a network solving OCR.

ComplexColor

Your question is not off-topic. :D

ComplexColor

For a very simple website you write CSS in a file with an .css extension and place it together with your HTML on your server. There are plenty of tools (editors, IDEs) to help you with that.

Most modern browsers (my experience is with Firefox, but I assume these are common features) have built-in developer tools, that allow you too modify css files lives. Those changes can than be "downloaded" and added to your browser. So in a way, you can edit the CSS directly on the web page.

ComplexColor

I'm just patiently going to wait for all the muppets to move on to the next "big thing" so I can have my fun in peace.

ComplexColor

This elitism that comes with this dark mode fad is really getting on my nerves. The suits that that never used anything other than vanilla VisualStudio are trying to make fun of me for not using "dark mode" in my terminals? Get out of here posers, I'm changing all my UI palettes to bleach and I'm turning it up to 11.

ComplexColor

C - nah. C++ - was nice knowing you.

ComplexColor

Why aren't you asking ChatGPT?

Glare can be physically reduced using a polarizing filter.

To apply an image processing method to a video you just apply it to individual frames of the video. For live processing, your implementation needs to be fast enough to keep up with the cameras frame rate.

ComplexColor

The button is placed with framework defaults or project specific settings. If a more custom layer is desired, it of course can be customized, but with a well designed interface it doesn't need to be hard.

... the sort of job the computer is there for.

We fully agree, but we have a different vision for what that means. You seem to feel like, you clicking around in a graphical interface dragging the mouse around and painstakingly placing elements is "the computer doing it's job". I am reading through tons of documentation and online posts, figuring out what configuration give me the result I want so that "the computer will do it's job".

Both are less than ideal. Both can be greatly improved. They are good for different things, but it's what's completely terrible is switching between them.

ComplexColor

Does it need to be statically linked though? Shared objects should be available, is the init process responsible for setting up some linker deamon? That seems unusual.

ComplexColor

Because when the API for the GUI is well developed, it's not heaps of code, but just one line. Html is probably a bit verbose at this point, but IMO valid as an example:

<button type="button">Click Me!</button>

More specifically, most GUI builders have an advantage when the layout construction is absolute. When you want to put a button at a specific location in a fixed size window it is much easier to click and drag it there than it is to write the appropriate code. I'm sure modern tools also work well with simple adaptive layouts.

However as a programmer, there are usually important aspects that graphical tools suck at. The hierarchical organization of the objects representing the visual blocks, re-use of complex structures, the identifiers used to access them in code, the cumbersome nature of going from code to visual editing and back to code again.

IMO: We have two modalities, where the visual/graphical is likely ideal for graphical construction and text is ideal for logic and instruction. But what we actually struggle with is the switching between these modalities. It is very likely that switching adds a mental cost making switching less efficient.

ComplexColor

So I'm not sure exactly how the interpreter determines the base state (tabs or spaces), but is it possible that OP added a small change at the entry point, inverting the base state for the rest of the legacy code? It seems unlikely that a large legacy project would suddenly completely fall apart. Some vital information is missing here.

ComplexColor

Why though? Need to give this a little test.

ComplexColor

I'm not that familiar with those libraries, but I would assume they all use C strings in memory, no? Which would mean that yes you fall back to C strings, but only to communicate between them, which would be fairly efficient.

Is there some novel modern way to actually deal with strings in memory? I'm only familiar with two sensible solutions: C strings and Pascal strings. In the long term Pascal strings might have made more sense, but we were shortsightedly greedy and went with the spatially "efficient" C strings and this is our world now.

ComplexColor

Wait, reddit is older than stackoverflow? r/mindblown

I didn't realize that stackoverflow was only launched in 2008. I first started programming around 2000, seriously learning around 2004. I've spent 4 years in the trenches without stackoverflow? :O

ComplexColor

You are very unlikely to get a segmentation fault with either array[ARRAY_LENGTH] or array[ARRAY_LENGTH+1]. There's nothing worse then messing around with arrays and not getting a segmentation fault. :)

ComplexColor

It exists in all languages that are aimed at making native applications for any modern OS. I would concede that technically, depending on how you count languages, those might not be the majority. But those are the languages we usually have in mind when we say "most programming languages".

ComplexColor

Yes, my questions was intended to lead OP to the answer. :)

ComplexColor

How do you pass a function to matplotlib? I only know how to plot a series of data points.

ComplexColor

You are completely missing the point. Younger people aren't organizing their memories, they are still very actively making them. Being 29, you are a part of this, how do you not get this? Do you spend your weekends organizing your photo album?

It's not generational beyond the fact that it's an age thing. Older generations use your services because they are older, they took a lot of photos, and now they are finally trying to bring them all together. When millennials get older, they will do the same. So will gen-z and whatever is next. And technology will also change, so they will be screwed over there as well. You think you will be able to handle some scifi AI driven tech because you grew up with an IPhone? Cute.

ComplexColor

Great chair, why two wheels though? I don't understand why balance on two wheels instead of having a solid footing on 3 or 4. Are two wheels better for uneven terrain? Is the chair more responsive?

ComplexColor

Doesn't really tell you a whole lot. 433.92 MHz is one of the frequently used bands for various simple electronics. And maybe they've been lazy and you would be able to give the servers a bad day (congratulations ass). But most of these are paired/armed before given to customer. So the device is likely given a unique token that you will have trouble imitating. You could block them, but now the restaurants just goes about their business as usual, and you might get a meeting with the FCC if your noisy broadcast was too loud for too long.

Edit: hm, with 433 Mhz, this is probably Europe or Africa? So you might draw interest of whoever the local radio communications authority is.

ComplexColor

I'm not sure if you're example is for the bacteria or the toxin, but botulism is a prime example where it's the toxins that are problematic. So even if you are able to kill the bacteria, if it has already produced toxins then killing the bacteria won't help.

ComplexColor

Can you give an example? I'm not sure I understand your description in the title, because it doesn't make any sense to me.

You want a generator/function, that returns an array, elements of which are functions that visualize sound as frequency? Are these suppose to already display them on screen? Or just return the visualizations as images? Or video?

If I were to guess what you want, I'd say what you're looking for is a short term Fourier transform? But that's not what the title describes. You can find that in numpy/scipy libraries.

ComplexColor

That's the exact opposite of the way you should be using them. :D

You use one hand to reach for the key and use the other for the modifier - shift in this case. If you always try to use one hand for both, you will get in unconformable hand positions where you will also loose accuracy and speed.

ComplexColor

I like the concept (wasn't aware of it before), but I find the implementation of the technique rather awkward. We need to create an intermediary class, then add the old and new object as it's members.

Would it be a bit more easier if the decorators would be applied to the new or old object directly, maybe passing it's counterpart as an argument? That way no explicit management of a proxy class would be needed (basically the decorators would take care of that). Maybe that technique would have some considerable downsides.

Also, do you have some automation to gather and report statistics on active strangling objects? I guess reporting differences without affecting runtime is a given, what about reporting "asphyxiated" old code, once it's no longer required?