It uses amplitudes which are so, so much danker. The difference being that amplitudes can interfere with each other in ways that probability cannot. And they're complex valued, which is always fun.
SimMac ยท 98 points ยท Posted at 14:08:27 on May 17, 2017 ยท (Permalink)
A4 and (US) letter size are actually slightly different. A4 divides in half to make A5, which divides in half for A6, etc. Likewise two A4 make an A3. US letter size does not do that, and is ever so slightly different that putting it in a printer expecting A4, or vice versa, can potentially mess up. Pretty much the entire world uses A4, so it doesn't go wrong that often, though.
America seriously managed to fuck up every measuring system ever.
5c044 ยท 2 points ยท Posted at 18:59:11 on May 17, 2017 ยท (Permalink)
What used to happen in uk is ms word defaulted to us letter page, printer knew it was loaded with a4, hence pc load letter error. fix was to press some override button on the printer or cancel your print, change the page size in ms word and try again
Still, it's a good start because it doesn't let you fail. With a single thing :) It's kinda like the harsh upbringing the streets of a favela will bring you.
akxdev ยท 2 points ยท Posted at 21:09:27 on May 17, 2017 ยท (Permalink)
That's reassuring. I'm definitely excited to "take the training wheels off" so to speak.
To be fair, the C99 bool is typedefed to what is essentially a boolean type without the true/false literals: _Bool. It's classified with the standard unsigned integer types, but it's defined to only have 2 values (0 and 1) and has special conversion rules: everything non-zero becomes 1 (i.e., true) when cast to a _Bool.
Not sure what you are talking about with python.. in python True and False literally are 1 and 0. This isn't type coercion either, python doesn't do that. You aren't redefining True and False, they are already integers
ฮป python
Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> False + False
0
>>> True + False
1
>>> True * 30
30
>>> True**2
1
>>> 2**True
2
>>> 5/True
5.0
>>> True/5
0.2
>>> 1 >= True
True
>>> 1 > True
False
>>> 1.1 > True
True
>>>
erandur ยท 1 points ยท Posted at 23:18:24 on May 17, 2017 ยท (Permalink)
Try True = False in Python 2, preferably in the global namespace. Python 3 at least made them constants.
It makes finding usages of a class near impossible when trying to refactor some code.
souleh ยท 12 points ยท Posted at 13:27:35 on May 17, 2017 ยท (Permalink)
PHP is (or was, largely) a loose collection of wrappers around C functions. Thats where we get our horrible type coercion from and why our native function naming is so damn inconsistent.
Another reason for the inconsistent naming is that in the beginning the hash function for function names was length, so the creator picked function names of different lengths to reduce collisions.
[deleted] ยท 1 points ยท Posted at 17:01:11 on May 17, 2017 ยท (Permalink)
Wtf who has this issue and thinks this way! Why not change the hash function ....
In the second link, postincrement and ternaries actually work exactly as I'd expect. The parser is reading the statements left to right, so for postincrement, $a++ + $a++ reads $a as 4, increments it, then reads it again as 5 and increments it before summing.
For the ternaries, the first one evaluates to 'Foo', which is considered truthy and causes the second ternary to evaluate to 'Bar'.
Yeah post incrementing the same var more than once in the same expression is undefined behavior in C. Id expect either 8 or 9
But Id expect the ternary to associate to the right, not to the left. That's what it does in C and Java (and every other sane language with a ternary operator) :
(true ? "Foo" : (false ? "Bar" : "Baz"))
vs.
((true ? "Foo" : false) ? "Bar" : "Baz")
The C version acts like
if true then Foo; else if false then Bar; else Baz
That's a common, useful construction.
the PHP version acts like
If (if true then Foo; else false) then Bar; else Baz.
What sort of insane construction is that?
PHP dev says it's a mistake but won't fix, to preserve compatibility:
So do the Floats. The value var_dump prints is rounded, 0.1 * 0.1 isn't 0.01 on most implementations.
in_array() also makes sense because PHP will automatically parse those strings into floats because it can. It probably shouldn't, but that's what it does.
That's also how privacy works in other languages, too. private means private to the class, not to the object. +/u/CompileBot java
class Main {
public static void main(String[] args)
{
Person joe = new Person("Joe");
Person sally = new Person("Sally");
sally.touch(joe);
}
}
class Person {
private String name;
public Person(String name){
this.name = name;
}
public void touch(Person other){
System.out.printf("Touched %s%n", other.name);
}
}
yep , i use multiple HP commercial printers and they do weird shit all the time seemingly for no reason .. their manuals are the best , full of maybe , might be and try this .. never an actual answer ha.
Here's the thing. You said a "purple is cyan + magenta."
Is it in the same family? Yes. No one's arguing that.
As someone who is a scientist who studies purple, I am telling you, specifically, in science, no one calls purple cyan + magenta. If you want to be "specific" like you said, then you shouldn't either. They're not the same thing.
If you're saying "purple family" you're referring to the you know what fuck it I'm done.
I had a wireless printer with a full color display. Every time I had to check the wireless settings, instead of showing the connection status on the display it had to print a full report in high quality.
Can you wait a minute? I'm in the middle of some calibrations
mr___ ยท 1 points ยท Posted at 17:07:02 on May 17, 2017 ยท (Permalink)
This is why i print in black and white mode as often as possible. Calibration is only needed for prints in color mode
mike413 ยท 1 points ยท Posted at 23:55:54 on May 17, 2017 ยท (Permalink)
if(inkjet)
ForceRecalibrate();
hegbork ยท 136 points ยท Posted at 10:44:57 on May 17, 2017 ยท (Permalink)
I heard a story from a data center in the 80s. They had a DEC-10 with the usual assortment of large tape drives. They had some film crew visit one day to get impressive computers as a backdrop for whatever they were filming. Unfortunately, the systems were well written and if the machine needed to read anything from the tapes it did it sequentially and quickly. Also, the machine had tons of memory (9MB, IIRC[1]), so it didn't need to read that often. The film crew complained that the computers were shit because they didn't look as impressive as in Hollywood. So they quickly hacked up a program that did random seeks on the tapes and called it RTIV - Rotate Tapes; Impress Visitors.
[1] That was the largest possible amount of memory the machine could have and it made the system fail the self test at bootup because one of the self tests was an access to non-existent memory just to check that the CPU would generate a trap correctly. Dec did it by accessing the last word of memory because they never imagined that anyone would have a machine with all the memory.
The real reason your printer spins everything on startup is that it is running a cleaning cycle.
Edit: This low effort comment got me more karma than... Wow.
AMViquel ยท 1100 points ยท Posted at 06:14:54 on May 17, 2017 ยท (Permalink)
Maybe, but I like to believe that is solely for one reason: to make whomever turned it on happy that everything is working. Like a purring cat. Good printer, nice printer.
Because red and blue are not actually primary colours when printing. It's a fairly complex thing, but basically when you're printing, you're not shining a light, you're absorbing light you don't need, and it turns out cyan and magenta are easier to use from that perspective, even if you'd need to shine out red blue and green. It's subtractive rather than additive colour theory.
SimMac ยท 22 points ยท Posted at 14:16:43 on May 17, 2017 ยท (Permalink)
In other words: Magenta is the absence of green light. (Yellow is the absence of blue light, cyan the absence of red light)
Graphic media bachelor here: first of all, color is simply put light from certain wavelength reaching our eyes and in a perfect world, white light basically contains 100% R,G and B.
Screens emit light, which is additive color mixing, using the three base colors RGB to make every other color by mixing these three sources of light. This light reaches your eye and you see 'colors'. if all three RGB are at maximum you get 'white' light, I could go in detail on this but i'm basically writing this on the toilet and I dont want to sit here for hours.
A print on the other hand, can't emit light, since it's just paper, it does however reflect light that falls onto it, hence why we see a white paper and not just a black void. So we have to find another way to transform this reflected light into the RGB colors we can see. This is where it gets tricky.
This is where subtractive color mixing comes in. What basically happens is, a printer sprays tiny layers ink (cmyk) on the paper, what happens next is, white light falls onto the paper, it touches the i.e. cyan ink, the complementary color of cyan will be subtracted from that light, which in cyan's case is red, so red gets subtracted from the light and it gets reflected to our eyes and we are able to see the cyan spot even though the paper can't emit light by itself.
So if we want for instance to have a red dot on our paper, we'd need to print magenta and yellow on top of each other, the magenta will filter out the green light aand yellow will filter out the blue light, leaving only red light remaining to reach our eyes.
Well, if you do that, using red, green, and blue ink, how do you make yellow? A monitor displays yellow by lighting the red and green subpixels. But if you print red and green ink, you don't get a good yellow.
The red ink absorbs its complement: green and blue light. The green ink absorbs its complement: red and blue light. Red, green, and blue light are beingโ absorbed. It'll likely be a yellowish shade, because both pigments absorb blue light, and only one pigment absorbs either other color, but it'll be a very dark yellow at best.
Cyan, magenta, and yellow pigments are ideal because they each only absorb one of the three additive primaries. Cyan absorbs red; magenta absorbs green, and yellow absorbs blue. You can print, say, the color green, without absorbing any green light. Just print cyan ink and yellow ink; that absorbs the red light and blue light, leaving you with a bright green.
I think it has to do with Cyan and Magenta specifically absorbingโ red and green, respectively, while reflecting other light. But red and green pigments would absorb everything except red or green, so they aren't useful when it comes to mixing pigments to produce new colors.
Our eyes mostly only respond to red, blue, and green light so, for the purposes of human vision, those are the primaries. No matter whether we're printing something or looking at a monitor, in order for colors to be accurate, there needs to be accurate control of those three colors. It's instinctive to think that using red, green, and blue ink would give us the most accurate control of those three colors, but it actually doesn't.
For reference:
Green pigment subtracts blue & red light,
Red pigment subtracts blue & green light,
Blue pigment subtracts red & green light.
Cyan pigment subtracts red light,
Magenta pigment subtracts green light,
Yellow pigment subtracts blue light.
Because a primary colored ink absorbs 2/3 of the light that we can see, it's difficult to mix different primary inks and still get accurate colors, especially when it comes to the brightness of those colors. Mixing equal parts red and green would create a very dark pigment. If you reduce the amount of green or red the color will lighten up some, but you no longer can create a perfect yellow without equal parts. If you leave more white showing, you can lighten up the color but you would lose "saturation" (i.e. the color would be bright but look washed out).
The C, M, and Y colored inks each absorb only 1/3 of the light we can see (R, G, and B respectively). That allows us complete control of each of the human vision primary colors, just like an RGB monitor has. So, in a way, printing with CMY ink is more like how a monitor creates color than printing with RGB ink would be.
Ranteh ยท 1 points ยท Posted at 13:41:45 on May 17, 2017 ยท (Permalink)
It's more of an umbrella term. Whereas ICT and computer sciences are very 'in depth' on stuff like coding etc, Graphic and digital media has a broader spectrum.
The degree is split up into three specializations. New media programming, Cross media design and an 'undertaking in the graphic sector'.
The first year is basically a bit of the three, so I had Photometrics and colorimetrics for 2 semesters, which is where I learned everything about light emission and heat etc etc. Because this stuff is very important for print and press.
Eventually I chose to specialise in New Media Design. Which is basically a nice term for webdesign. Dynamic websites, ASP.NET, Laravel, Drupal and Wordpress and as of lately more and more IoT stuff.
Work option-wise we're speaking of the standard front-end, back-end or full-stack developer, we basically got the entire package.
Other specializations for the degree are Photodesign, Printoperator, Movie-montage, Graphic Design etc. you get the picture, basically everything media related.
A tl;dr version I've been told is that mixing pigments is different than mixing light. You can achieve white light through many ways, one being red, green, and blue. But colors behave differently when mixed in pigments, and cyan, yellow, and magenta allow for the full gamut of colors in print media.
In screens the default state is "black" and by adding red, green and blue you get white (additive colour). Since when printing the paper is white we use the reverse colour model by adding cyan, magenta and yellow to the white background to eventually get black. Since black would require using all three colours we also use black ink because it's very common for text.
Title-text: Saying 'what kind of an idiot doesn't know about the Yellowstone supervolcano' is so much more boring than telling someone about the Yellowstone supervolcano for the first time.
[deleted] ยท 1 points ยท Posted at 14:42:09 on May 17, 2017 ยท (Permalink)
Cyan is greenish-blue and magenta is hot pink, but those names sound unprofessional. Using cyan and magenta rather than plain blue and red allows the largest possible range of colors to be printed.
bjokey ยท 1 points ยท Posted at 22:31:41 on May 17, 2017 ยท (Permalink)
Red+yellow+blue makes brown, as most people know. However, cyan+magenta+yellow makes a colour closer to black (or with expensive precise inks, does make black). It's like the opposite of RGB, where the colours subtract from the initial white paper.
Zinki_M ยท 3 points ยท Posted at 14:45:17 on May 17, 2017 ยท (Permalink)
Black is the "key" because the "key plate" is made with black. The key-plate is the plate used to correctly align the following plates (usually cyan, magenta and yellow (and spot colors if present)).
Key(color) If you only have cyan/magenta/yellow then you end up with a 90% gray . add black and it filters out that last trickle of white I assume and you have pure black as a composite color.
You should probably clean your printer out. Fur can't be good for it.
mattsl ยท 31 points ยท Posted at 08:03:38 on May 17, 2017 ยท (Permalink)
And just like a purring cat you're always about 0.43 seconds away from it deciding either to claw your eyes out or refuse to print anything without a huge black smear down the page.
chooxy ยท 6 points ยท Posted at 11:26:22 on May 17, 2017 ยท (Permalink)
If you think about it, cats can probably smell fear just like printers.
Don't you hate it when you can improve an ancient excel macro from O(n!n!) to O(nยฒ) and now it's no longer a coffee break to run the results? People hated that, it disrupted the workflow they had for years. Some things shouldn't be improved.
[deleted] ยท 2 points ยท Posted at 16:33:10 on May 17, 2017 ยท (Permalink)
Or you could brag about how short it took by displaying it
Archsys ยท 2 points ยท Posted at 18:36:43 on May 17, 2017 ยท (Permalink)
Managing user expectations and experiences is a skill that I appreciate immensely... writing little scripts for people that just do the thing always has them look at me funny afterwords.
Buddy of mine made a "script bundler" that adds messages and load times and all kinds of superfluous shit. Takes three minutes to do something that takes less than a second...
I was writing an algorithm to track progress of a background job and updating a progress bar. The setup of the job was taking like 1-2 seconds before iterations that I was tracking started to come through. So for 1-2 seconds, nothing would happen. I realized that the user would think the button they clicked was broken so I made a a fake progress update until the real updates started to come in. Essentially like the useless spinner.
Yes, the first thing they do is called post. That's always annoyed me.
Archsys ยท 1 points ยท Posted at 18:32:51 on May 17, 2017 ยท (Permalink)
I know there's a thing in movies/film/TV where when something turns on it needs to have some physical representation (audio or visual) even if it shouldn't. Things like guns cocking and fans spinning or electricity arcing.
People very much want to see immediate results, and it helps marketing/stops calls that say "I did X and it's not doing anything!".
Hell, I know there were complaints about clothes irons, and that several companies made them click or have lights on them, modernly. (I think these lights would make sense if they were "Surface hot" lights, but...)
Spin everything and pretend about to work. Stay completely still and do nothing. Go to computer and see printer jobs in taskbar. Click and cancel. Job doesn't cancel. Try printing again. Another job just loads up and doesn't process. Nothing cancels. Turn off computer. Three copies print.
aka dumping 5% of its cartridge contents into a sponge. buy new overpriced ink cartridges until printer stops working because "sponge is full". buy new printer. repeat.
I was so sick of this and just got a cheap b+w laser printer. Doesn't need that cleaning cycle and I rarely print something, so it's still running with the original toner after 3 years and no issues so far.
There is another reason to spin everything - a self test. If it has basic feedback from the motors it will be able to detect all sorts of faults from a quick spin.
Yeah... 100 bucks for 600dpi laser prints at 22 pages per minute. Had to buy some toner for 60 bucks once. I've had that printer for more than 10 years now.
Next time you are getting a printer consider Kyocera Ecosys. We bought it for like 150USD (new) and it's a color laser with ethernet interface. The only downside is that it is huge and over 50kg. Still, it's 4x cheaper than Cannon we used to have and works like charm (so far).
I bought it in Europe for ~200 euro but I have seen it being sold for 50 less. And we can deduct VAT so it came down to ~150 euro. So probably 200USD, I miscalculated that.
I'll sound like a shill but I have to say this printer is really awesome. We have the same model at home and it's really convenient, always works. It's connected to our network so when I send a document to the printer and go down the stairs to the printer, it is most of the time already finished before I even get there. And even if it is physically powered off, I just flip it on, wait max. ~30 seconds and it automatically starts printing everything without any hassle. Print quality is also very good, haven't noticed anything off.
It's funny how sounding like a shill was my first concern too when I was posting. It's really difficult to be excited about a product on reddit. But I maintain my position, after ages of constant fighting with printers that one is awesome. It even has a page counter feature! Disclaimer: we own it for ~3 months so can't say how reliable or durable it is. But so far the best printing experience I had. And I started printing stuff 25 years ago on needle printer.
Yeah it gets really difficult to tell apart real customer satisfaction and paid shills online since companies have realized that marketing in social networks can be very effective. As for the printer, we have it for at least a year now I think and it still works flawless, as I said we don't have any hassle with it at all.
Shit, you had me until 100 fucking pounds. I need to print things once in a blue moon and sometimes scan things. I fucking hate printers more than anything else in this world.
Waste toner is a thing. Not all toner sticks to the page. That stuff has flakes of paper and/or is also missing some of the magnetism required to sick to the mag roller before it gets heated and melted to the paper.
I've had the same laser printer for 8 or 9 years now. Still on the original toner. I don't print a ton but when I need it, it always works. Can't say the same for the countless inkjets I've owned in my life.
[deleted] ยท 2 points ยท Posted at 11:32:34 on May 17, 2017 ยท (Permalink)
Seriously. I use my printer once every couple of weeks, and I still need to replace the cartridges after about three months, because the stupid thing wastes all of its ink during the cleaning cycle.
Coming from r/all, I have to say that I appreciated this low effort comment among all the other ones I don't really understand. It's not your fault they didn't maximize their karma output by printing something a layman can understand.
Or if it is a laser printer it is mixing the toner a bit to build up the static charge while waiting for the fuser to get near the temperature needed to melt the toner onto the paper.
mike413 ยท 1 points ยท Posted at 23:59:01 on May 17, 2017 ยท (Permalink)
Work as a mobile app developer; so many of my clients want a screen that spins and does nothing because other apps have splash screens, even when you tell them that it does nothing and you can load the app straight away.
They generally just want some branding in there and will slow the user down to see it.
jonixas ยท 14 points ยท Posted at 13:58:59 on May 17, 2017 ยท (Permalink)
I mean, it kinda makes sense as long as it's not more than 3 seconds. They paid for an app, they want to see results, and what better way is to do that than slap a big ass logo somewhere in the app?
We actually give the recommendation that it doesn't last for more than 3 seconds if they insist on having it; we first suggest that they have branding on the login screen or landing page. But you are right that it's their decision, all we can do is advise.
the company i work for does web development and it infuriates me having to wait for stupid loading spinners and its actually loading things cause they'd rather have that then get an initial paint up even if its ghost framework like facebook does. Personal projects if there is a loading spinner ive failed IMO.
spin81 ยท 23 points ยท Posted at 06:35:07 on May 17, 2017 ยท (Permalink)
You have a Canon printer? We used to have one and it made whirring noises for ages when turned on, and two people we knew who also had Canon printers had the same complaint. Now we've got an HP and it still takes long to turn on, but just because it takes a long time to connect to the WiFi network (probably because it can't get a good WiFi signal two meters away from the access point).
Should get a laser. Ink printers waste a hell of a lot of ink when they clean themselves, especially if left a little while between prints and only printing a few pages at a time. Lasers are just good regardless of how much and how frequently you print, and they are very cheap now.
Unless you print photos, or transparencies. Lasers are only really good for documents (they often can't take gloss photo paper) and transparencies melt inside them and destroy them.
Do you really need colour? I used to have a mono Samsung laser which was incredibly awesome and only cost ยฃ40!
Colour lasers are significantly pricier, >ยฃ100, but you should seriously consider it next time your ink printer decides to require multiple consecutive cleaning cycles to make it print properly.
The only real downside to lasers is that they last so long on the original cartridges that it can be a real shock when they finally run out years later - a new set costs as much if not more than the printer! (though the replacements are significantly higher capacity than the "free" bundled "starter" ones, so it is worth it, and they do still come out significantly cheaper per printed sheet than ink cartridges).
If you ever do large volume printing (e.g. leaflets, programmes, etc) you owe it to yourself to get a laser printer - 20 pages / minute (3 seconds per page!) is fairly standard, and some mono lasers are faster still.
I'm well aware of the benefits of laser printers, longer lasting toner, faster speed, cheaper per page, and so on. We considered all of them. But we decided that losing the ability to print in colour outweighed the advantages at the time (our previous printer actually didn't print colour that well and it was often an issue). We don't do a lot of printing, so even with inkjet we change the cartridges maybe once a year, and the ability to print colour is more important than the advantages of laser (because when we do need to print something, it's often in colour).
I see steam in the background. What games you play?
SamL214 ยท 2 points ยท Posted at 17:14:28 on May 17, 2017 ยท (Permalink)
Isn't spinning everything more of an engineering desire? I mean, depending on the dust level of the living environment and the level of use, spinning everything would seem to redistribute lubricants and remove excess debris right?
kiranc_ ยท 2 points ยท Posted at 19:21:59 on May 17, 2017 ยท (Permalink)
I'd assume it's so you can hear that the printer is functional and ready to go. Also, if the startup sound starts sounding different, that would be an indication that something's not doing what it should, and might need to be taken a look at.
Because providing reliable yet cheap machinery that solves a dozen or two engineering problems at once so you have a service at your fingertips is fucking hard (e.g. printing).
But people trying to make a living from pushing around strings via GET request URLs probably wouldn't understand.
Saved comment
[deleted] ยท 2025 points ยท Posted at 09:48:08 on May 17, 2017 ยท (Permalink)
gospelwut ยท 369 points ยท Posted at 10:54:18 on May 17, 2017 ยท (Permalink)
freddy157 ยท 136 points ยท Posted at 11:03:32 on May 17, 2017 ยท (Permalink)
Satan
ioanD ยท 114 points ยท Posted at 12:08:32 on May 17, 2017 ยท (Permalink)
That quantum computing thing people are taking about uses probabilities, right? Is this...
/s
dgreentheawesome ยท 38 points ยท Posted at 13:32:17 on May 17, 2017 ยท (Permalink)
It uses amplitudes which are so, so much danker. The difference being that amplitudes can interfere with each other in ways that probability cannot. And they're complex valued, which is always fun.
SimMac ยท 98 points ยท Posted at 14:08:27 on May 17, 2017 ยท (Permalink)
Relevant SMBC: https://www.smbc-comics.com/comic/the-talk-3
If you are interested in the magic of quantum computing, but all you know is it uses probabilities, really worth a read.
Sinful_Prayers ยท 36 points ยท Posted at 15:34:49 on May 17, 2017 ยท (Permalink)
Lmfao
ansatze ยท 8 points ยท Posted at 14:30:47 on May 17, 2017 ยท (Permalink)
That's wonderful
thorium220 ยท 7 points ยท Posted at 22:01:18 on May 17, 2017 ยท (Permalink)
Ooh, nerd comic fight!!
dgreentheawesome ยท 2 points ยท Posted at 02:57:07 on May 18, 2017 ยท (Permalink)
The co-author happens to have been my professor for the last semester. Fun times all around in that class.
backFromTheBed ยท 66 points ยท Posted at 12:39:18 on May 17, 2017 ยท (Permalink)
No need for /s.
It is completely accurate. /s
[deleted] ยท 3 points ยท Posted at 18:11:54 on May 17, 2017 ยท (Permalink)
[deleted]
ioanD ยท 1 points ยท Posted at 18:17:48 on May 17, 2017 ยท (Permalink)
ayy
MrAxlee ยท 312 points ยท Posted at 10:35:54 on May 17, 2017 ยท (Permalink)
koshdim ยท 312 points ยท Posted at 11:17:33 on May 17, 2017 ยท (Permalink)
Error: "Cannot implicitly convert type 'int' to 'bool'".
Error action: "Resent ink status to: Empty. Success."
Blieque ยท 30 points ยท Posted at 12:25:01 on May 17, 2017 ยท (Permalink)
Like me some Rust.
TheAmazingPencil ยท 22 points ยท Posted at 13:35:34 on May 17, 2017 ยท (Permalink)
Tetanus is much better and easier.
Mrqueue ยท 30 points ยท Posted at 12:38:33 on May 17, 2017 ยท (Permalink)
DiabloCanyonOne ยท 27 points ยท Posted at 13:18:04 on May 17, 2017 ยท (Permalink)
WTF DOES THAT MEAN?!?!?
HowObvious ยท 13 points ยท Posted at 14:20:27 on May 17, 2017 ยท (Permalink)
Paper casette: load letter size paper. Aka out of a4
Flat_Lined ยท 15 points ยท Posted at 15:48:32 on May 17, 2017 ยท (Permalink)
A4 and (US) letter size are actually slightly different. A4 divides in half to make A5, which divides in half for A6, etc. Likewise two A4 make an A3. US letter size does not do that, and is ever so slightly different that putting it in a printer expecting A4, or vice versa, can potentially mess up. Pretty much the entire world uses A4, so it doesn't go wrong that often, though.
Idontlikefish ยท 28 points ยท Posted at 18:07:31 on May 17, 2017 ยท (Permalink)
America seriously managed to fuck up every measuring system ever.
5c044 ยท 2 points ยท Posted at 18:59:11 on May 17, 2017 ยท (Permalink)
What used to happen in uk is ms word defaulted to us letter page, printer knew it was loaded with a4, hence pc load letter error. fix was to press some override button on the printer or cancel your print, change the page size in ms word and try again
SkollFenrirson ยท 55 points ยท Posted at 12:32:43 on May 17, 2017 ยท (Permalink)
Booleans
used to beare ints in the C/C++daysworld. 0 is false, anything else is true.Edit: reworded
erandur ยท 37 points ยท Posted at 12:40:23 on May 17, 2017 ยท (Permalink)
Used to be? They still are in C, C99 just has a typedef for it now. Same goes for Python really, you could even redefine True/False in Python 2.x.
SkollFenrirson ยท 15 points ยท Posted at 12:49:58 on May 17, 2017 ยท (Permalink)
I'm playing it safe since I haven't dabbled in these languages in a long time.
C will always have a place in my heart, since I learned to program in it.
TheRedmanCometh ยท 3 points ยท Posted at 15:20:19 on May 17, 2017 ยท (Permalink)
After using Java so long I look back on C like a traumatic memory
Ostmeistro ยท 9 points ยท Posted at 16:18:05 on May 17, 2017 ยท (Permalink)
Yeah same it has a place in my butt, not my heart
akxdev ยท 2 points ยท Posted at 20:01:21 on May 17, 2017 ยท (Permalink)
As someone who just signed up for C classes at his local community college (currently working with JS/Ruby) that's kind of disheartening to hear.
Ostmeistro ยท 5 points ยท Posted at 20:19:12 on May 17, 2017 ยท (Permalink)
Still, it's a good start because it doesn't let you fail. With a single thing :) It's kinda like the harsh upbringing the streets of a favela will bring you.
akxdev ยท 2 points ยท Posted at 21:09:27 on May 17, 2017 ยท (Permalink)
That's reassuring. I'm definitely excited to "take the training wheels off" so to speak.
Ostmeistro ยท 2 points ยท Posted at 08:10:21 on May 18, 2017 ยท (Permalink)
Imagine that the training wheels are gone but instead there's a jet engine that's always on :) good luck with school man you will do great
InsertNameHere____ ยท 1 points ยท Posted at 15:51:05 on May 17, 2017 ยท (Permalink)
True = rand() % 2
sprocklem ยท 1 points ยท Posted at 20:11:46 on May 17, 2017 ยท (Permalink)
To be fair, the C99 bool is typedefed to what is essentially a boolean type without the true/false literals: _Bool. It's classified with the standard unsigned integer types, but it's defined to only have 2 values (0 and 1) and has special conversion rules: everything non-zero becomes 1 (i.e., true) when cast to a _Bool.
asdfkjasdhkasd ยท 1 points ยท Posted at 23:12:05 on May 17, 2017 ยท (Permalink)
Not sure what you are talking about with python.. in python True and False literally are 1 and 0. This isn't type coercion either, python doesn't do that. You aren't redefining True and False, they are already integers
erandur ยท 1 points ยท Posted at 23:18:24 on May 17, 2017 ยท (Permalink)
Try
True = Falsein Python 2, preferably in the global namespace. Python 3 at least made them constants.MizukiGaming ยท 12 points ยท Posted at 12:36:40 on May 17, 2017 ยท (Permalink)
simpler times.
oalbrecht ยท 10 points ยท Posted at 12:48:43 on May 17, 2017 ยท (Permalink)
It works in PHP! Also silly stuff like:
$myClassString = "My" . "Class"; $instantiatedClass = $myClassString();
It makes finding usages of a class near impossible when trying to refactor some code.
souleh ยท 12 points ยท Posted at 13:27:35 on May 17, 2017 ยท (Permalink)
PHP is (or was, largely) a loose collection of wrappers around C functions. Thats where we get our horrible type coercion from and why our native function naming is so damn inconsistent.
mylittlehsthroway ยท 11 points ยท Posted at 13:46:26 on May 17, 2017 ยท (Permalink)
Another reason for the inconsistent naming is that in the beginning the hash function for function names was length, so the creator picked function names of different lengths to reduce collisions.
[deleted] ยท 1 points ยท Posted at 17:01:11 on May 17, 2017 ยท (Permalink)
Wtf who has this issue and thinks this way! Why not change the hash function ....
mylittlehsthroway ยท 1 points ยท Posted at 17:13:48 on May 17, 2017 ยท (Permalink)
I know right?
From the creator himself :
http://news.php.net/php.internals/70691
PHP is full of WTFs like that:
https://www.slideshare.net/mobile/markstory/php-wtf
artanis00 ยท 3 points ยท Posted at 17:34:23 on May 17, 2017 ยท (Permalink)
And people complain endlessly about JavaScript.
DoHarpiesHaveCloacas ยท 2 points ยท Posted at 19:04:39 on May 17, 2017 ยท (Permalink)
In the second link, postincrement and ternaries actually work exactly as I'd expect. The parser is reading the statements left to right, so for postincrement, $a++ + $a++ reads $a as 4, increments it, then reads it again as 5 and increments it before summing.
For the ternaries, the first one evaluates to 'Foo', which is considered truthy and causes the second ternary to evaluate to 'Bar'.
mylittlehsthroway ยท 2 points ยท Posted at 19:54:42 on May 17, 2017 ยท (Permalink)
Yeah post incrementing the same var more than once in the same expression is undefined behavior in C. Id expect either 8 or 9
But Id expect the ternary to associate to the right, not to the left. That's what it does in C and Java (and every other sane language with a ternary operator) :
(true ? "Foo" : (false ? "Bar" : "Baz"))
vs.
((true ? "Foo" : false) ? "Bar" : "Baz")
The C version acts like
if true then Foo; else if false then Bar; else Baz
That's a common, useful construction.
the PHP version acts like
If (if true then Foo; else false) then Bar; else Baz.
What sort of insane construction is that?
PHP dev says it's a mistake but won't fix, to preserve compatibility:
https://bugs.php.net/bug.php?id=61915
siosilvar ยท 2 points ยท Posted at 20:03:53 on May 17, 2017 ยท (Permalink)
So do the Floats. The value
var_dumpprints is rounded, 0.1 * 0.1 isn't 0.01 on most implementations.in_array() also makes sense because PHP will automatically parse those strings into floats because it can. It probably shouldn't, but that's what it does.
That's also how privacy works in other languages, too.
privatemeans private to the class, not to the object. +/u/CompileBot javaCompileBot ยท 1 points ยท Posted at 20:10:47 on May 17, 2017 ยท (Permalink)
Output:
source | info | git | report
koshdim ยท 1 points ยท Posted at 13:30:43 on May 17, 2017 ยท (Permalink)
but not in more totalitarian descendants of C/C++
FenixR ยท 3 points ยท Posted at 13:57:43 on May 17, 2017 ยท (Permalink)
Error action "Open website with proprietary ink cartridge/toners"
TheRedmanCometh ยท 1 points ยท Posted at 15:19:27 on May 17, 2017 ยท (Permalink)
1 and 0 can implicitly be casted to bool in a ton of languages (ex php)
lead999x ยท 1 points ยท Posted at 17:22:47 on May 17, 2017 ยท (Permalink)
The joke's on you. C has no bool, just int.
[deleted] ยท 39 points ยท Posted at 13:53:01 on May 17, 2017 ยท (Permalink)
If(isAttemptingToPrint) { disconnectWifi(); }
Swahhillie ยท 8 points ยท Posted at 23:20:57 on May 17, 2017 ยท (Permalink)
ip++;
EochuBres ยท 25 points ยท Posted at 12:17:14 on May 17, 2017 ยท (Permalink)
You must have an HP
sunnytimes68 ยท 8 points ยท Posted at 16:54:54 on May 17, 2017 ยท (Permalink)
yep , i use multiple HP commercial printers and they do weird shit all the time seemingly for no reason .. their manuals are the best , full of maybe , might be and try this .. never an actual answer ha.
gamer_gurl9 ยท 6 points ยท Posted at 13:08:51 on May 17, 2017 ยท (Permalink)
My thought exactly! It always did things for no reason.
[deleted] ยท 8 points ยท Posted at 13:08:29 on May 17, 2017 ยท (Permalink)
if (rand() % 10 > 4){ fuckingBreak(); else fuckyouimnotgonnaprint();}
minegen88 ยท 3 points ยท Posted at 16:13:48 on May 17, 2017 ยท (Permalink)
Doesn't most default random functions return 0.1811031 something....
So Basically this would always be true?
(Yeah i know I'm stupid..)
letsScaleIt ยท 1 points ยท Posted at 17:17:52 on May 17, 2017 ยท (Permalink)
The range of
int rand(void)in C is [0, RANDMAX) (http://www.tutorialspoint.com/c_standard_library/c_function_rand.htm)Scavenger53 ยท 1 points ยท Posted at 14:39:22 on May 17, 2017 ยท (Permalink)
60% of the time breaks every time
mike413 ยท 1 points ยท Posted at 23:54:30 on May 17, 2017 ยท (Permalink)
zebradolphin5 ยท 531 points ยท Posted at 10:15:58 on May 17, 2017 ยท (Permalink)
This is just before
right?
CreateNewObject ยท 248 points ยท Posted at 11:24:10 on May 17, 2017 ยท (Permalink)
More like wasteInk();
[deleted] ยท 227 points ยท Posted at 12:23:30 on May 17, 2017 ยท (Permalink)
More like
Mrqueue ยท 188 points ยท Posted at 12:40:02 on May 17, 2017 ยท (Permalink)
Hullu2000 ยท 81 points ยท Posted at 13:22:18 on May 17, 2017 ยท (Permalink)
I'd like to interject for a moment. What you're ferreting to as people is in fact cyan/magenta, or as I've recently started to call it cyan + magenta.
FenixR ยท 29 points ยท Posted at 13:59:19 on May 17, 2017 ยท (Permalink)
These ink sellers and their fancy color names, back in my day everything was black and white and we like it!
Kryten_2X4B-523P ยท 10 points ยท Posted at 14:22:18 on May 17, 2017 ยท (Permalink)
Son, I was printing on dot matrix before you were even born.
-Badger2- ยท 12 points ยท Posted at 15:21:14 on May 17, 2017 ยท (Permalink)
Get on my level.
LelviBri ยท 1 points ยท Posted at 19:21:54 on May 17, 2017 ยท (Permalink)
You might like this channel then
Kryten_2X4B-523P ยท 1 points ยท Posted at 21:42:35 on May 17, 2017 ยท (Permalink)
Ah, sweet music to my ears. Reminds me of days from my youth.
voicesinmyhand ยท 13 points ยท Posted at 15:28:45 on May 17, 2017 ยท (Permalink)
Epson is now under new management. You cannot print in black if your cyan is low. In fact, you can't even scan if your cyan is low.
FenixR ยท 10 points ยท Posted at 15:31:42 on May 17, 2017 ยท (Permalink)
Ughhh im guessing i can't buy a new non epson printer if my cyan is low.
PendragonDaGreat ยท 6 points ยท Posted at 15:59:58 on May 17, 2017 ยท (Permalink)
The first one makes a little sense, they are supplementing the black ink with cyan and magenta to help make it darker.
I hate the second one. I'm not trying to use the printer, I just need to scan in this receipt so I can get reimbursed!
voicesinmyhand ยท 2 points ยท Posted at 16:10:22 on May 17, 2017 ยท (Permalink)
Wow. TIL. I had no idea but I guess that sorta makes sense.
ScarOfAngels ยท 13 points ยท Posted at 14:06:12 on May 17, 2017 ยท (Permalink)
I ferret to people all the time
I-baLL ยท 9 points ยท Posted at 14:35:04 on May 17, 2017 ยท (Permalink)
Good effort but autocorrect ruined the copy pasta.
JaytleBee ยท 2 points ยท Posted at 18:51:41 on May 17, 2017 ยท (Permalink)
Okay
AP_RAMMUS_OK ยท 0 points ยท Posted at 18:18:06 on May 17, 2017 ยท (Permalink)
Here's the thing. You said a "purple is cyan + magenta."
Is it in the same family? Yes. No one's arguing that.
As someone who is a scientist who studies purple, I am telling you, specifically, in science, no one calls purple cyan + magenta. If you want to be "specific" like you said, then you shouldn't either. They're not the same thing.
If you're saying "purple family" you're referring to the you know what fuck it I'm done.
Hullu2000 ยท 1 points ยท Posted at 20:23:10 on May 17, 2017 ยท (Permalink)
whoosh
voicesinmyhand ยท 1 points ยท Posted at 15:27:47 on May 17, 2017 ยท (Permalink)
More like:
mike413 ยท 1 points ยท Posted at 23:57:32 on May 17, 2017 ยท (Permalink)
IWantToSayThis ยท 17 points ยท Posted at 16:15:14 on May 17, 2017 ยท (Permalink)
luke_in_the_sky ยท 6 points ยท Posted at 15:42:16 on May 17, 2017 ยท (Permalink)
I had a wireless printer with a full color display. Every time I had to check the wireless settings, instead of showing the connection status on the display it had to print a full report in high quality.
Edit: It looked like this https://support.hp.com/doc-images/742/c05138707.gif
[deleted] ยท 1 points ยท Posted at 15:52:12 on May 17, 2017 ยท (Permalink)
[deleted]
jkuhl_prog ยท 5 points ยท Posted at 15:42:37 on May 17, 2017 ยท (Permalink)
Can you wait a minute? I'm in the middle of some calibrations
mr___ ยท 1 points ยท Posted at 17:07:02 on May 17, 2017 ยท (Permalink)
This is why i print in black and white mode as often as possible. Calibration is only needed for prints in color mode
mike413 ยท 1 points ยท Posted at 23:55:54 on May 17, 2017 ยท (Permalink)
hegbork ยท 136 points ยท Posted at 10:44:57 on May 17, 2017 ยท (Permalink)
I heard a story from a data center in the 80s. They had a DEC-10 with the usual assortment of large tape drives. They had some film crew visit one day to get impressive computers as a backdrop for whatever they were filming. Unfortunately, the systems were well written and if the machine needed to read anything from the tapes it did it sequentially and quickly. Also, the machine had tons of memory (9MB, IIRC[1]), so it didn't need to read that often. The film crew complained that the computers were shit because they didn't look as impressive as in Hollywood. So they quickly hacked up a program that did random seeks on the tapes and called it RTIV - Rotate Tapes; Impress Visitors.
[1] That was the largest possible amount of memory the machine could have and it made the system fail the self test at bootup because one of the self tests was an access to non-existent memory just to check that the CPU would generate a trap correctly. Dec did it by accessing the last word of memory because they never imagined that anyone would have a machine with all the memory.
Argetlam_Elda ยท 25 points ยท Posted at 19:46:25 on May 17, 2017 ยท (Permalink)
I think this is the first time I have seen the word hack used correctly.
mike413 ยท 5 points ยท Posted at 00:02:13 on May 18, 2017 ยท (Permalink)
Are you saying the film crew were low quality journalists? ;)
Argetlam_Elda ยท 8 points ยท Posted at 00:23:35 on May 18, 2017 ยท (Permalink)
No usually when I hear 'hack' it is used to refer to when someone leaves their device unlocked and someone else got on it and did something.
mike413 ยท 7 points ยท Posted at 00:29:26 on May 18, 2017 ยท (Permalink)
oh, like put some virus on it that makes you cough a lot? :)
FuzzyGoldfish ยท 14 points ยท Posted at 23:22:52 on May 17, 2017 ยท (Permalink)
We have something similar where I work, but it's to make to the backup tape retrieval bots whisk around. "Look busy, the humans are watching!"
Relevant_Monstrosity ยท 1835 points ยท Posted at 06:13:05 on May 17, 2017 ยท (Permalink)
The real reason your printer spins everything on startup is that it is running a cleaning cycle.
Edit: This low effort comment got me more karma than... Wow.
AMViquel ยท 1100 points ยท Posted at 06:14:54 on May 17, 2017 ยท (Permalink)
Maybe, but I like to believe that is solely for one reason: to make whomever turned it on happy that everything is working. Like a purring cat. Good printer, nice printer.
SirVer51 ยท 519 points ยท Posted at 06:25:14 on May 17, 2017 ยท (Permalink)
Little ball of fur
JammehCow ยท 370 points ยท Posted at 08:36:30 on May 17, 2017 ยท (Permalink)
Happy printer, sleepy printer
Chocobubba ยท 1027 points ยท Posted at 08:41:20 on May 17, 2017 ยท (Permalink)
Vrrr vrrr vrrr
Ketheres ยท 178 points ยท Posted at 09:13:03 on May 17, 2017 ยท (Permalink)
Please refill
redmagenta ink(I have no idea what a printer says in English when it is out of ink, everywhere I go they have translated the UI)
MySpl33n ยท 48 points ยท Posted at 09:30:02 on May 17, 2017 ยท (Permalink)
I believe in America, it's "magenta" ink. No fucking clue why and too lazy to Google it.
d1sxeyes ยท 118 points ยท Posted at 09:44:46 on May 17, 2017 ยท (Permalink)
Because printers use cyan, magenta, yellow (and black) as those are the primary colours for printing.
MySpl33n ยท 28 points ยท Posted at 09:48:02 on May 17, 2017 ยท (Permalink)
That I know but why cyan and magenta? Why those specific colors? Why not just red and blue? Burning questions but more of a low smolder for me.
d1sxeyes ยท 152 points ยท Posted at 09:51:09 on May 17, 2017 ยท (Permalink)
Because red and blue are not actually primary colours when printing. It's a fairly complex thing, but basically when you're printing, you're not shining a light, you're absorbing light you don't need, and it turns out cyan and magenta are easier to use from that perspective, even if you'd need to shine out red blue and green. It's subtractive rather than additive colour theory.
SimMac ยท 22 points ยท Posted at 14:16:43 on May 17, 2017 ยท (Permalink)
In other words: Magenta is the absence of green light. (Yellow is the absence of blue light, cyan the absence of red light)
d1sxeyes ยท 3 points ยท Posted at 14:19:41 on May 17, 2017 ยท (Permalink)
Exactly. Super succint version of what I was getting at - thank you!
praeteria ยท 98 points ยท Posted at 10:23:14 on May 17, 2017 ยท (Permalink)
Graphic media bachelor here: first of all, color is simply put light from certain wavelength reaching our eyes and in a perfect world, white light basically contains 100% R,G and B.
Screens emit light, which is additive color mixing, using the three base colors RGB to make every other color by mixing these three sources of light. This light reaches your eye and you see 'colors'. if all three RGB are at maximum you get 'white' light, I could go in detail on this but i'm basically writing this on the toilet and I dont want to sit here for hours.
A print on the other hand, can't emit light, since it's just paper, it does however reflect light that falls onto it, hence why we see a white paper and not just a black void. So we have to find another way to transform this reflected light into the RGB colors we can see. This is where it gets tricky. This is where subtractive color mixing comes in. What basically happens is, a printer sprays tiny layers ink (cmyk) on the paper, what happens next is, white light falls onto the paper, it touches the i.e. cyan ink, the complementary color of cyan will be subtracted from that light, which in cyan's case is red, so red gets subtracted from the light and it gets reflected to our eyes and we are able to see the cyan spot even though the paper can't emit light by itself.
So if we want for instance to have a red dot on our paper, we'd need to print magenta and yellow on top of each other, the magenta will filter out the green light aand yellow will filter out the blue light, leaving only red light remaining to reach our eyes.
Hope this makes sense gor everyone.
fagalopian ยท 1 points ยท Posted at 12:19:31 on May 17, 2017 ยท (Permalink)
Why can't we use green ink to filter it's complement and red and blue to do the same? Why yellow?
[deleted] ยท 4 points ยท Posted at 12:50:47 on May 17, 2017 ยท (Permalink)
You could, but green doesn't mix well with other colors to create other colors so you'd need more types of ink in your printer.
Mocha_Bean ยท 3 points ยท Posted at 17:59:07 on May 17, 2017 ยท (Permalink)
Well, if you do that, using red, green, and blue ink, how do you make yellow? A monitor displays yellow by lighting the red and green subpixels. But if you print red and green ink, you don't get a good yellow.
The red ink absorbs its complement: green and blue light. The green ink absorbs its complement: red and blue light. Red, green, and blue light are beingโ absorbed. It'll likely be a yellowish shade, because both pigments absorb blue light, and only one pigment absorbs either other color, but it'll be a very dark yellow at best.
Cyan, magenta, and yellow pigments are ideal because they each only absorb one of the three additive primaries. Cyan absorbs red; magenta absorbs green, and yellow absorbs blue. You can print, say, the color green, without absorbing any green light. Just print cyan ink and yellow ink; that absorbs the red light and blue light, leaving you with a bright green.
Delta_V09 ยท 2 points ยท Posted at 13:24:58 on May 17, 2017 ยท (Permalink)
I think it has to do with Cyan and Magenta specifically absorbingโ red and green, respectively, while reflecting other light. But red and green pigments would absorb everything except red or green, so they aren't useful when it comes to mixing pigments to produce new colors.
mankeymankeymankey ยท 2 points ยท Posted at 14:47:41 on May 17, 2017 ยท (Permalink)
Our eyes mostly only respond to red, blue, and green light so, for the purposes of human vision, those are the primaries. No matter whether we're printing something or looking at a monitor, in order for colors to be accurate, there needs to be accurate control of those three colors. It's instinctive to think that using red, green, and blue ink would give us the most accurate control of those three colors, but it actually doesn't.
For reference:
Because a primary colored ink absorbs 2/3 of the light that we can see, it's difficult to mix different primary inks and still get accurate colors, especially when it comes to the brightness of those colors. Mixing equal parts red and green would create a very dark pigment. If you reduce the amount of green or red the color will lighten up some, but you no longer can create a perfect yellow without equal parts. If you leave more white showing, you can lighten up the color but you would lose "saturation" (i.e. the color would be bright but look washed out).
The C, M, and Y colored inks each absorb only 1/3 of the light we can see (R, G, and B respectively). That allows us complete control of each of the human vision primary colors, just like an RGB monitor has. So, in a way, printing with CMY ink is more like how a monitor creates color than printing with RGB ink would be.
Ranteh ยท 1 points ยท Posted at 13:41:45 on May 17, 2017 ยท (Permalink)
Upvoted for black void printer paper
Houdiniman111 ยท 1 points ยท Posted at 15:37:09 on May 17, 2017 ยท (Permalink)
You can get a degree in that? What does that entail?
praeteria ยท 1 points ยท Posted at 21:37:10 on May 17, 2017 ยท (Permalink)
It's more of an umbrella term. Whereas ICT and computer sciences are very 'in depth' on stuff like coding etc, Graphic and digital media has a broader spectrum.
The degree is split up into three specializations. New media programming, Cross media design and an 'undertaking in the graphic sector'. The first year is basically a bit of the three, so I had Photometrics and colorimetrics for 2 semesters, which is where I learned everything about light emission and heat etc etc. Because this stuff is very important for print and press.
Eventually I chose to specialise in New Media Design. Which is basically a nice term for webdesign. Dynamic websites, ASP.NET, Laravel, Drupal and Wordpress and as of lately more and more IoT stuff.
Work option-wise we're speaking of the standard front-end, back-end or full-stack developer, we basically got the entire package.
Other specializations for the degree are Photodesign, Printoperator, Movie-montage, Graphic Design etc. you get the picture, basically everything media related.
FUCKING_HATE_REDDIT ยท 23 points ยท Posted at 11:16:26 on May 17, 2017 ยท (Permalink)
Cyan absorbs red light, Magenta absorbs green light, Yellow absorbs blue light.
By mixing the three, you can absorb any amount of any light.
If you mix red and blue, you just get an ugly ass dark color, because you absorb nearly any light.
senntenial ยท 7 points ยท Posted at 10:05:02 on May 17, 2017 ยท (Permalink)
A tl;dr version I've been told is that mixing pigments is different than mixing light. You can achieve white light through many ways, one being red, green, and blue. But colors behave differently when mixed in pigments, and cyan, yellow, and magenta allow for the full gamut of colors in print media.
illiriath ยท 2 points ยท Posted at 10:11:10 on May 17, 2017 ยท (Permalink)
In screens the default state is "black" and by adding red, green and blue you get white (additive colour). Since when printing the paper is white we use the reverse colour model by adding cyan, magenta and yellow to the white background to eventually get black. Since black would require using all three colours we also use black ink because it's very common for text.
Salanmander ยท 3 points ยท Posted at 10:32:20 on May 17, 2017 ยท (Permalink)
One of today's lucky 10,000!
(Although it's probably fewer than 10,000, since that's not really an "everyone has heard about it" situation.)
xkcd_transcriber ยท 1 points ยท Posted at 10:32:53 on May 17, 2017 ยท (Permalink)
Image
Mobile
Title: Ten Thousand
Title-text: Saying 'what kind of an idiot doesn't know about the Yellowstone supervolcano' is so much more boring than telling someone about the Yellowstone supervolcano for the first time.
Comic Explanation
Stats: This comic has been referenced 10284 times, representing 6.5093% of referenced xkcds.
xkcd.com | xkcdย sub | Problems/Bugs? | Statistics | Stopย Replying | Delete
Hauleth ยท 2 points ยท Posted at 10:09:07 on May 17, 2017 ยท (Permalink)
Because CMY is
addativesubstractive and RGB issubstractiveaddative colour group.shokalion ยท 1 points ยท Posted at 13:23:42 on May 17, 2017 ยท (Permalink)
You've got that backwards mate.
Hauleth ยท 1 points ยท Posted at 13:33:01 on May 17, 2017 ยท (Permalink)
Yeah, I always forget which way is what.
shokalion ยท 2 points ยท Posted at 13:38:37 on May 17, 2017 ยท (Permalink)
No problem. Easy way to think of it is you know monitors use RGB, and they're making light, adding light; additive. Therefore CMYK is the other one.
FUCKING_HATE_REDDIT ยท 1 points ยท Posted at 11:16:28 on May 17, 2017 ยท (Permalink)
Cyan absorbs red light, Magenta absorbs green light, Yellow absorbs blue light.
By mixing the three, you can absorb any amount of any light.
If you mix red and blue, you just get an ugly ass dark color, because you absorb nearly any light.
oddythepinguin ยท 1 points ยท Posted at 14:00:55 on May 17, 2017 ยท (Permalink)
Google CMYK vs RGB
[deleted] ยท 1 points ยท Posted at 14:42:09 on May 17, 2017 ยท (Permalink)
Cyan is greenish-blue and magenta is hot pink, but those names sound unprofessional. Using cyan and magenta rather than plain blue and red allows the largest possible range of colors to be printed.
bjokey ยท 1 points ยท Posted at 22:31:41 on May 17, 2017 ยท (Permalink)
Red+yellow+blue makes brown, as most people know. However, cyan+magenta+yellow makes a colour closer to black (or with expensive precise inks, does make black). It's like the opposite of RGB, where the colours subtract from the initial white paper.
Drewdoggg ยท 3 points ยท Posted at 11:30:28 on May 17, 2017 ยท (Permalink)
CMYK!! Cyan magenta yellow black
BlueAdmiral ยท 4 points ยท Posted at 12:50:20 on May 17, 2017 ยท (Permalink)
ok.
MuffyPuff ยท 5 points ยท Posted at 13:27:58 on May 17, 2017 ยท (Permalink)
K stands for Key, but I don't know why.
Zinki_M ยท 3 points ยท Posted at 14:45:17 on May 17, 2017 ยท (Permalink)
Black is the "key" because the "key plate" is made with black. The key-plate is the plate used to correctly align the following plates (usually cyan, magenta and yellow (and spot colors if present)).
Nloveladyallen ยท 1 points ยท Posted at 16:47:37 on May 17, 2017 ยท (Permalink)
Really? I always thought it stood for blacK
Penderis ยท 1 points ยท Posted at 19:16:29 on May 18, 2017 ยท (Permalink)
Key(color) If you only have cyan/magenta/yellow then you end up with a 90% gray . add black and it filters out that last trickle of white I assume and you have pure black as a composite color.
Drewdoggg ยท 6 points ยท Posted at 13:59:00 on May 17, 2017 ยท (Permalink)
well techincally Key (K) which is black
oddythepinguin ยท 1 points ยท Posted at 14:01:31 on May 17, 2017 ยท (Permalink)
Because B is for Blue
Nloveladyallen ยท 1 points ยท Posted at 16:47:08 on May 17, 2017 ยท (Permalink)
And PGBK
1j01 ยท 1 points ยท Posted at 19:42:46 on May 21, 2017 ยท (Permalink)
Good printer, nice printer
Little ball of fur
Happy printer, sleepy printer
Vrrr vrrr vrrr
Hungry printer, bad printer
Lโauto saboteur
Now you have a broken printer
Hurr durr durr
โ /u/AMViquel, /u/SirVer51, /u/JammehCow, /u/Chocobubba, /u/MrKeplerton, /u/1j01
[deleted] ยท 1 points ยท Posted at 10:33:01 on May 17, 2017 ยท (Permalink)
Take your damned upvote and get out.
MrKeplerton ยท 11 points ยท Posted at 09:36:56 on May 17, 2017 ยท (Permalink)
Now you have a broken printer Hurr durr durr
artanis00 ยท 1 points ยท Posted at 17:36:27 on May 17, 2017 ยท (Permalink)
You should probably clean your printer out. Fur can't be good for it.
mattsl ยท 31 points ยท Posted at 08:03:38 on May 17, 2017 ยท (Permalink)
And just like a purring cat you're always about 0.43 seconds away from it deciding either to claw your eyes out or refuse to print anything without a huge black smear down the page.
chooxy ยท 6 points ยท Posted at 11:26:22 on May 17, 2017 ยท (Permalink)
If you think about it, cats can probably smell fear just like printers.
whomad1215 ยท 10 points ยท Posted at 11:45:18 on May 17, 2017 ยท (Permalink)
We've run into situations where people don't think the program did anything because "it can't do this that quickly"
Literally have to add a tiny wait period with a loading icon so they know it worked.
AMViquel ยท 17 points ยท Posted at 12:07:47 on May 17, 2017 ยท (Permalink)
Don't you hate it when you can improve an ancient excel macro from O(n!n!) to O(nยฒ) and now it's no longer a coffee break to run the results? People hated that, it disrupted the workflow they had for years. Some things shouldn't be improved.
Enharmonium ยท 9 points ยท Posted at 14:14:57 on May 17, 2017 ยท (Permalink)
O n factorial to the n factorial?
I wonder if anyone's written a function that actually comes out to that level of O complexity.
countnightlock ยท 5 points ยท Posted at 14:39:29 on May 17, 2017 ยท (Permalink)
Challenge accepted
Nume-noir ยท 3 points ยท Posted at 21:57:46 on May 17, 2017 ยท (Permalink)
BogoBogosort is close
[deleted] ยท 2 points ยท Posted at 16:33:10 on May 17, 2017 ยท (Permalink)
Or you could brag about how short it took by displaying it
Archsys ยท 2 points ยท Posted at 18:36:43 on May 17, 2017 ยท (Permalink)
Managing user expectations and experiences is a skill that I appreciate immensely... writing little scripts for people that just do the thing always has them look at me funny afterwords.
Buddy of mine made a "script bundler" that adds messages and load times and all kinds of superfluous shit. Takes three minutes to do something that takes less than a second...
But no one's bitched since he gave me the thing.
ReallyHadToFixThat ยท 3 points ยท Posted at 12:12:49 on May 17, 2017 ยท (Permalink)
I have to admit, in the old job I could diagnose a jam by the grinding it made on power up.
zabadap ยท 6 points ยท Posted at 10:02:12 on May 17, 2017 ยท (Permalink)
but everyone hates printer ? what does it matter that it makes some purring sound since it will still be unable to print the fucking paper
boboguitar ยท 3 points ยท Posted at 14:05:27 on May 17, 2017 ยท (Permalink)
I was writing an algorithm to track progress of a background job and updating a progress bar. The setup of the job was taking like 1-2 seconds before iterations that I was tracking started to come through. So for 1-2 seconds, nothing would happen. I realized that the user would think the button they clicked was broken so I made a a fake progress update until the real updates started to come in. Essentially like the useless spinner.
c00yt825 ยท 1 points ยท Posted at 13:55:32 on May 17, 2017 ยท (Permalink)
Yes, the first thing they do is called post. That's always annoyed me.
Archsys ยท 1 points ยท Posted at 18:32:51 on May 17, 2017 ยท (Permalink)
I know there's a thing in movies/film/TV where when something turns on it needs to have some physical representation (audio or visual) even if it shouldn't. Things like guns cocking and fans spinning or electricity arcing.
People very much want to see immediate results, and it helps marketing/stops calls that say "I did X and it's not doing anything!".
Hell, I know there were complaints about clothes irons, and that several companies made them click or have lights on them, modernly. (I think these lights would make sense if they were "Surface hot" lights, but...)
nevershilling ยท 1 points ยท Posted at 20:25:54 on May 17, 2017 ยท (Permalink)
Spin everything and pretend about to work. Stay completely still and do nothing. Go to computer and see printer jobs in taskbar. Click and cancel. Job doesn't cancel. Try printing again. Another job just loads up and doesn't process. Nothing cancels. Turn off computer. Three copies print.
Akibatteru ยท 128 points ยท Posted at 09:35:30 on May 17, 2017 ยท (Permalink)
aka dumping 5% of its cartridge contents into a sponge. buy new overpriced ink cartridges until printer stops working because "sponge is full". buy new printer. repeat.
I was so sick of this and just got a cheap b+w laser printer. Doesn't need that cleaning cycle and I rarely print something, so it's still running with the original toner after 3 years and no issues so far.
RalphNLD ยท 48 points ยท Posted at 10:04:06 on May 17, 2017 ยท (Permalink)
My laser printer stills spins everything for no apparent reason on startup.
TheThiefMaster ยท 57 points ยท Posted at 10:46:24 on May 17, 2017 ยท (Permalink)
There is another reason to spin everything - a self test. If it has basic feedback from the motors it will be able to detect all sorts of faults from a quick spin.
KermitTheFish ยท 7 points ยท Posted at 13:59:13 on May 17, 2017 ยท (Permalink)
"Quick"
o0Rh0mbus0o ยท 3 points ยท Posted at 16:12:48 on May 17, 2017 ยท (Permalink)
Faults - printer is working
print tray load cyan exchange tetrahedron
Flyberius ยท 6 points ยท Posted at 10:55:27 on May 17, 2017 ยท (Permalink)
We have these Lexmark C748s in our office and there seems to be a gremlin that visibly pulls the front cover in as part of its startup routine.
TheTerrasque ยท 13 points ยท Posted at 10:58:14 on May 17, 2017 ยท (Permalink)
Yes, same here! Been working flawless every time it's needed for years. No fuzz.
reParaoh ยท 2 points ยท Posted at 19:05:33 on May 17, 2017 ยท (Permalink)
Yeah... 100 bucks for 600dpi laser prints at 22 pages per minute. Had to buy some toner for 60 bucks once. I've had that printer for more than 10 years now.
all_teh_bacon ยท 1 points ยท Posted at 19:49:17 on May 17, 2017 ยท (Permalink)
I own a HP Laserjet 4l that's been around since the 90s, still works like new. I replaced the cartridge like once.
TwinBottles ยท 3 points ยท Posted at 11:15:21 on May 17, 2017 ยท (Permalink)
My Kyocera has a little bin for dumped toner. When it's full a light blinks and I have to empty the bin.
Akibatteru ยท 6 points ยท Posted at 11:19:29 on May 17, 2017 ยท (Permalink)
Well TIL. But at least you can empty it easily and don't have to buy a new printer if it is full.
TwinBottles ยท 2 points ยท Posted at 11:25:25 on May 17, 2017 ยท (Permalink)
Next time you are getting a printer consider Kyocera Ecosys. We bought it for like 150USD (new) and it's a color laser with ethernet interface. The only downside is that it is huge and over 50kg. Still, it's 4x cheaper than Cannon we used to have and works like charm (so far).
1quirky1 ยท 2 points ยท Posted at 12:04:04 on May 17, 2017 ยท (Permalink)
Thanks for sharing. A quick Amazon search didn't turn up anything at that price point. Would you mind sharing a model number or selling page?
TwinBottles ยท 1 points ยท Posted at 12:15:27 on May 17, 2017 ยท (Permalink)
I bought it in Europe for ~200 euro but I have seen it being sold for 50 less. And we can deduct VAT so it came down to ~150 euro. So probably 200USD, I miscalculated that.
Kyocera Ecosys p6026cdn, that's the one
unskilledx7 ยท 3 points ยท Posted at 12:41:35 on May 17, 2017 ยท (Permalink)
I'll sound like a shill but I have to say this printer is really awesome. We have the same model at home and it's really convenient, always works. It's connected to our network so when I send a document to the printer and go down the stairs to the printer, it is most of the time already finished before I even get there. And even if it is physically powered off, I just flip it on, wait max. ~30 seconds and it automatically starts printing everything without any hassle. Print quality is also very good, haven't noticed anything off.
TwinBottles ยท 3 points ยท Posted at 13:09:27 on May 17, 2017 ยท (Permalink)
It's funny how sounding like a shill was my first concern too when I was posting. It's really difficult to be excited about a product on reddit. But I maintain my position, after ages of constant fighting with printers that one is awesome. It even has a page counter feature! Disclaimer: we own it for ~3 months so can't say how reliable or durable it is. But so far the best printing experience I had. And I started printing stuff 25 years ago on needle printer.
unskilledx7 ยท 1 points ยท Posted at 20:56:49 on May 17, 2017 ยท (Permalink)
Yeah it gets really difficult to tell apart real customer satisfaction and paid shills online since companies have realized that marketing in social networks can be very effective. As for the printer, we have it for at least a year now I think and it still works flawless, as I said we don't have any hassle with it at all.
tangentandhyperbole ยท 2 points ยท Posted at 14:12:27 on May 17, 2017 ยท (Permalink)
Currently going for $2,000 on amazon.
What a steal!
TwinBottles ยท 1 points ยท Posted at 14:36:14 on May 17, 2017 ยท (Permalink)
Wow. I could buy a on of them here and sell in us for 500usd and still profit.
_cortex ยท 1 points ยท Posted at 12:34:20 on May 17, 2017 ยท (Permalink)
From my own experience Kyocera printers are great quality for the price, but lacking in the drivers department on everything but windows
ERIFNOMI ยท 1 points ยท Posted at 18:18:31 on May 17, 2017 ยท (Permalink)
Shit, you had me until 100 fucking pounds. I need to print things once in a blue moon and sometimes scan things. I fucking hate printers more than anything else in this world.
DarkStrobeLight ยท 4 points ยท Posted at 14:22:20 on May 17, 2017 ยท (Permalink)
Waste toner is a thing. Not all toner sticks to the page. That stuff has flakes of paper and/or is also missing some of the magnetism required to sick to the mag roller before it gets heated and melted to the paper.
TwinBottles ยท 3 points ยท Posted at 14:37:47 on May 17, 2017 ยท (Permalink)
No need to explain that to me I used to give lectures on how laser printers work :-D
DarkStrobeLight ยท 3 points ยท Posted at 14:58:13 on May 17, 2017 ยท (Permalink)
I work at a cartridge world. I have to defend ink and toner every chance i get lol
psilokan ยท 2 points ยท Posted at 13:09:04 on May 17, 2017 ยท (Permalink)
I've had the same laser printer for 8 or 9 years now. Still on the original toner. I don't print a ton but when I need it, it always works. Can't say the same for the countless inkjets I've owned in my life.
[deleted] ยท 2 points ยท Posted at 11:32:34 on May 17, 2017 ยท (Permalink)
Seriously. I use my printer once every couple of weeks, and I still need to replace the cartridges after about three months, because the stupid thing wastes all of its ink during the cleaning cycle.
TwinBottles ยท 8 points ยท Posted at 11:16:02 on May 17, 2017 ยท (Permalink)
Or calibration. You have to make sure servos are in right position in case power was cut or something failed last time.
curtmack ยท 12 points ยท Posted at 06:17:12 on May 17, 2017 ยท (Permalink)
And, in the case of the head, to find the limit switches.
frizbplaya ยท 3 points ยท Posted at 13:17:59 on May 17, 2017 ยท (Permalink)
The printer has to limber up before printing a sick ppm.
c00yt825 ยท 1 points ยท Posted at 14:00:31 on May 17, 2017 ยท (Permalink)
Pixels per mile?
frizbplaya ยท 1 points ยท Posted at 14:21:04 on May 17, 2017 ยท (Permalink)
*meter. Lets at least make this scientific.
scotty_beams ยท 2 points ยท Posted at 20:48:02 on May 17, 2017 ยท (Permalink)
Coming from r/all, I have to say that I appreciated this low effort comment among all the other ones I don't really understand. It's not your fault they didn't maximize their karma output by printing something a layman can understand.
coldfusionpuppet ยท 1 points ยท Posted at 14:32:12 on May 17, 2017 ยท (Permalink)
You're comment about getting karma made me giggle and henceforth brought another upvote. Well done.
TheNakedCount ยท 1 points ยท Posted at 14:48:28 on May 17, 2017 ยท (Permalink)
That's the big difference between me and printers, I don't clean right when I wake up
luke_in_the_sky ยท 1 points ยท Posted at 15:47:21 on May 17, 2017 ยท (Permalink)
Nah, the real reason your printer spins everything on startup is that it is wasting ink.
Derigiberble ยท 1 points ยท Posted at 16:05:56 on May 17, 2017 ยท (Permalink)
Or if it is a laser printer it is mixing the toner a bit to build up the static charge while waiting for the fuser to get near the temperature needed to melt the toner onto the paper.
mike413 ยท 1 points ยท Posted at 23:59:01 on May 17, 2017 ยท (Permalink)
cleaning... your wallet.
Actually_Saradomin ยท -1 points ยท Posted at 13:13:58 on May 17, 2017 ยท (Permalink)
Delete the stupid edit
JDSlim ยท 146 points ยท Posted at 04:35:14 on May 17, 2017 ยท (Permalink)
So true. Even things that shouldn't spin.
se7enfists ยท 81 points ยท Posted at 11:47:18 on May 17, 2017 ยท (Permalink)
I'll try spinning, that's a good trick!
BlahYourHamster ยท 59 points ยท Posted at 12:25:25 on May 17, 2017 ยท (Permalink)
autistic printing
o0Rh0mbus0o ยท 16 points ยท Posted at 16:15:58 on May 17, 2017 ยท (Permalink)
I hate cyan. It's coarse and irritating, and it gets everywhere.
garbageman13 ยท 45 points ยท Posted at 13:16:52 on May 17, 2017 ยท (Permalink)
PLEASE WAIT... HP-9000-PSCF-EZPRO PRINTER STARTING UP
jiggity jiggity jiggity whirrrrrrrrr click clack click clack click clack pssshhhhhhhhh pssshhhhhh click clack click clack pssshhhhhhh jiggity jiggity click clack pshhhhh whirrrrrrrrrrrrrrrrrrrrrrrrrrr whirrrrrrrrrrrrrrrrrrr click clack click clack click clack jiggity whirrrrrr click click clack.
CAN NOT SCAN DOCUMENT - SEE ALERTS
Click here to order more ink now!
Basta_Abuela_Baby ยท 80 points ยท Posted at 12:45:28 on May 17, 2017 ยท (Permalink)
charonn0 ยท 6 points ยท Posted at 18:24:43 on May 17, 2017 ยท (Permalink)
eye twitch
1j01 ยท 2 points ยท Posted at 20:17:14 on May 21, 2017 ยท (Permalink)
peeves91 ยท 398 points ยท Posted at 05:12:08 on May 17, 2017 ยท (Permalink)
How did you get the source code for your printer?
๐๏ธ Not_sure_if_george ยท 1968 points ยท Posted at 05:18:27 on May 17, 2017 ยท (Permalink)
sScriptis ยท 459 points ยท Posted at 05:23:04 on May 17, 2017 ยท (Permalink)
r3pwn-dev ยท 309 points ยท Posted at 05:49:21 on May 17, 2017 ยท (Permalink)
SirVer51 ยท 43 points ยท Posted at 06:24:38 on May 17, 2017 ยท (Permalink)
Oh, that one's even better.
Kevintrades ยท 10 points ยท Posted at 11:23:48 on May 17, 2017 ยท (Permalink)
Wait you forgot sudo
penguinade ยท 63 points ยท Posted at 11:56:18 on May 17, 2017 ยท (Permalink)
The "#" generally denotes root terminal.
Kevintrades ยท 24 points ยท Posted at 12:25:11 on May 17, 2017 ยท (Permalink)
ah sorry I goofed
penguinade ยท 19 points ยท Posted at 12:33:13 on May 17, 2017 ยท (Permalink)
Nah that's ok, everyone gotta learn something at some point. Now you know!
demize95 ยท 1 points ยท Posted at 22:34:38 on May 17, 2017 ยท (Permalink)
Since the # wasn't escaped it can be hard to tell it's there:
vs
apt-get
(One might be bigger and missing the # in front)
goddamnawfulname ยท 13 points ยท Posted at 12:33:15 on May 17, 2017 ยท (Permalink)
For me that's a comment, so really you can write whatever command you want, nothing will happen anyway.
Phillipk234 ยท 4 points ยท Posted at 13:10:47 on May 17, 2017 ยท (Permalink)
>Hullu2000 ยท 4 points ยท Posted at 13:26:11 on May 17, 2017 ยท (Permalink)
That's the DOS prompt without the C
Phillipk234 ยท 15 points ยท Posted at 13:30:19 on May 17, 2017 ยท (Permalink)
No, that's bash waiting for further input.
moljac024 ยท 1 points ยท Posted at 06:25:26 on May 18, 2017 ยท (Permalink)
That's also node and a ton of other REPLs. Also, my bash too, thanks to custom PS1
mike413 ยท 2 points ยท Posted at 00:30:58 on May 18, 2017 ยท (Permalink)
Tothoro ยท 1 points ยท Posted at 15:39:02 on May 17, 2017 ยท (Permalink)
I think you accidentally ran this on my work environment.
_chroot ยท 12 points ยท Posted at 06:18:21 on May 17, 2017 ยท (Permalink)
Not sure whether to use install or to fix dependencies
[deleted] ยท 4 points ยท Posted at 14:03:14 on May 17, 2017 ยท (Permalink)
[deleted]
r3pwn-dev ยท 4 points ยท Posted at 16:13:28 on May 17, 2017 ยท (Permalink)
In newer versions, it can all be done with "apt". "apt install" and "apt remove". It shows a nice little progress bar down below, too.
AnExcellentRectangle ยท 326 points ยท Posted at 09:05:52 on May 17, 2017 ยท (Permalink)
Did you just assume my distro
[deleted] ยท 32 points ยท Posted at 09:36:17 on May 17, 2017 ยท (Permalink)
[deleted]
code- ยท 5 points ยท Posted at 14:28:26 on May 17, 2017 ยท (Permalink)
I think he should fix his aptitude.
dehydrated_president ยท -4 points ยท Posted at 11:18:05 on May 17, 2017 ยท (Permalink)
Why is this not gold hahahaha
[deleted] ยท 9 points ยท Posted at 11:47:32 on May 17, 2017 ยท (Permalink)
Because the "did you just assume my ..." joke is so old and not funny anymore
dehydrated_president ยท 18 points ยท Posted at 12:07:53 on May 17, 2017 ยท (Permalink)
Still funny imo
JaundiceCat ยท 10 points ยท Posted at 13:57:27 on May 17, 2017 ยท (Permalink)
Send him gold then imo
agent-squirrel ยท 21 points ยท Posted at 12:55:48 on May 17, 2017 ยท (Permalink)
/u/Not_sure_if_george is not in the sudoers file.
This incident will be reported.
[deleted] ยท 7 points ยท Posted at 15:35:12 on May 17, 2017 ยท (Permalink)
[deleted]
artanis00 ยท 3 points ยท Posted at 17:40:10 on May 17, 2017 ยท (Permalink)
https://xkcd.com/838/
xkcd_transcriber ยท 5 points ยท Posted at 17:40:33 on May 17, 2017 ยท (Permalink)
Image
Mobile
Title: Incident
Title-text: He sees you when you're sleeping, he knows when you're awake, he's copied on /var/spool/mail/root, so be good for goodness' sake.
Comic Explanation
Stats: This comic has been referenced 280 times, representing 0.1772% of referenced xkcds.
xkcd.com | xkcdย sub | Problems/Bugs? | Statistics | Stopย Replying | Delete
tsnErd3141 ยท 19 points ยท Posted at 11:28:57 on May 17, 2017 ยท (Permalink)
It's apt install now
MeltedSpades ยท 3 points ยท Posted at 19:16:17 on May 17, 2017 ยท (Permalink)
Still apt-get (at least in Ubuntu)
AstroPhysician ยท 2 points ยท Posted at 21:13:37 on May 17, 2017 ยท (Permalink)
It's both
MeltedSpades ยท 1 points ยท Posted at 21:28:41 on May 17, 2017 ยท (Permalink)
been using ubuntu off and on since ether 09.10 or 10.04 old habits die hard
Mrqueue ยท 2 points ยท Posted at 12:39:07 on May 17, 2017 ยท (Permalink)
innou ยท 21 points ยท Posted at 12:59:15 on May 17, 2017 ยท (Permalink)
hunter2Sintinium ยท 2 points ยท Posted at 15:03:43 on May 17, 2017 ยท (Permalink)
All I see is:
LeoWattenberg ยท 2 points ยท Posted at 13:12:47 on May 17, 2017 ยท (Permalink)
e10adc3949ba59abbe56e057f20f883e
JaytleBee ยท 1 points ยท Posted at 18:54:46 on May 17, 2017 ยท (Permalink)
MD5? Come on.
LeoWattenberg ยท 1 points ยท Posted at 19:03:52 on May 17, 2017 ยท (Permalink)
if I used sha3+salt on the password that is 123456 it would actually be slightly secure.
5225225 ยท 1 points ยท Posted at 23:28:10 on May 17, 2017 ยท (Permalink)
Or truncated SHA256.
JaytleBee ยท 1 points ยท Posted at 08:09:43 on May 18, 2017 ยท (Permalink)
I mean, this is the MD5 hash of 123456, so I'd be quite surprised if that wasn't what was intended.
Fun fact: You can just Google a lot of common hashes.
BoxMonster44 ยท 4 points ยท Posted at 10:26:48 on May 17, 2017 ยท (Permalink)
๐
peeves91 ยท 5 points ยท Posted at 12:36:03 on May 17, 2017 ยท (Permalink)
That's....that's....pretty funny
[deleted] ยท 1 points ยท Posted at 15:18:00 on May 17, 2017 ยท (Permalink)
I wanted it to be real
gandalfx ยท 27 points ยท Posted at 06:18:03 on May 17, 2017 ยท (Permalink)
He called rms.
haagch ยท 5 points ยท Posted at 08:12:34 on May 17, 2017 ยท (Permalink)
http://www.oreilly.com/openbook/freedom/ch01.html
[deleted] ยท 12 points ยท Posted at 12:37:53 on May 17, 2017 ยท (Permalink)
[deleted]
c00yt825 ยท 11 points ยท Posted at 14:03:21 on May 17, 2017 ยท (Permalink)
I would download a printer.
Not a car tho.
LidarAccuracy ยท 1 points ยท Posted at 08:36:35 on May 17, 2017 ยท (Permalink)
Awwww
[deleted] ยท 30 points ยท Posted at 08:18:52 on May 17, 2017 ยท (Permalink)
[deleted]
incompetentrobot ยท 66 points ยท Posted at 08:22:40 on May 17, 2017 ยท (Permalink)
Or
performPowerOnSelfTest();to make sure that we don't accidentally send an HTTP request instead.lenswipe ยท 19 points ยท Posted at 10:18:49 on May 17, 2017 ยท (Permalink)
why not do both?
ThatPigeon ยท 20 points ยท Posted at 12:39:31 on May 17, 2017 ยท (Permalink)
The NSA has to get our data somehow
lenswipe ยท 2 points ยท Posted at 13:40:00 on May 17, 2017 ยท (Permalink)
They have "other" ways of doing that
[deleted] ยท 10 points ยท Posted at 10:31:19 on May 17, 2017 ยท (Permalink)
But the manufacturer would love to know all your wlan devices and some environment sensor data.
TsarBlandi ยท 24 points ยท Posted at 12:50:52 on May 17, 2017 ยท (Permalink)
Work as a mobile app developer; so many of my clients want a screen that spins and does nothing because other apps have splash screens, even when you tell them that it does nothing and you can load the app straight away.
They generally just want some branding in there and will slow the user down to see it.
jonixas ยท 14 points ยท Posted at 13:58:59 on May 17, 2017 ยท (Permalink)
I mean, it kinda makes sense as long as it's not more than 3 seconds. They paid for an app, they want to see results, and what better way is to do that than slap a big ass logo somewhere in the app?
TsarBlandi ยท 6 points ยท Posted at 14:58:50 on May 17, 2017 ยท (Permalink)
We actually give the recommendation that it doesn't last for more than 3 seconds if they insist on having it; we first suggest that they have branding on the login screen or landing page. But you are right that it's their decision, all we can do is advise.
moose51789 ยท 1 points ยท Posted at 13:33:11 on May 17, 2017 ยท (Permalink)
the company i work for does web development and it infuriates me having to wait for stupid loading spinners and its actually loading things cause they'd rather have that then get an initial paint up even if its ghost framework like facebook does. Personal projects if there is a loading spinner ive failed IMO.
spin81 ยท 23 points ยท Posted at 06:35:07 on May 17, 2017 ยท (Permalink)
Seems legit
Always_SFW ยท 52 points ยท Posted at 08:09:09 on May 17, 2017 ยท (Permalink)
Should crosspost this to /r/programminghorror for the mix of camelCase and under_score ;)
[deleted] ยท 18 points ยท Posted at 12:05:51 on May 17, 2017 ยท (Permalink)
[deleted]
buttlickk ยท 27 points ยท Posted at 12:16:39 on May 17, 2017 ยท (Permalink)
That's because it's not camelCase, it's PascalCase
Pastrami ยท 7 points ยท Posted at 13:06:16 on May 17, 2017 ยท (Permalink)
I've also heard them referred to as UpperCamelCase and lowerCamelCase.
U8336Tea ยท 5 points ยท Posted at 14:22:39 on May 17, 2017 ยท (Permalink)
Username doesn't check out.
sneakpeekbot ยท 3 points ยท Posted at 14:22:47 on May 17, 2017 ยท (Permalink)
Here's a sneak peek of /r/programminghorror using the top posts of the year!
#1: This JavaScript code powers a 1,500 user intranet application | 283 comments
#2: Today is not going to be a good day. | 65 comments
#3: There is something reassuring about seeing this kind of error on Facebook... | 33 comments
I'm a bot, beep boop | Downvote to remove | Contact me | Info | Opt-out
thegamer373 ยท 6 points ยท Posted at 15:13:06 on May 17, 2017 ยท (Permalink)
Holy shit the javasript one.
supremecrafters ยท 1 points ยท Posted at 18:02:59 on May 17, 2017 ยท (Permalink)
Truly, if there were a God, He would have stopped this.
mike413 ยท 2 points ยท Posted at 00:36:01 on May 18, 2017 ยท (Permalink)
bobby tables's mom will clean this up.
๐๏ธ Not_sure_if_george ยท 2 points ยท Posted at 06:39:47 on May 18, 2017 ยท (Permalink)
https://www.youtube.com/watch?v=NPwyyjtxlzU
youtubefactsbot ยท 1 points ยท Posted at 06:40:14 on May 18, 2017 ยท (Permalink)
bot info
hbgoddard ยท 1 points ยท Posted at 16:36:38 on May 17, 2017 ยท (Permalink)
PascalCase and snake_case
metasergal ยท 23 points ยท Posted at 08:01:29 on May 17, 2017 ยท (Permalink)
It truly makes my head spin
[deleted] ยท 9 points ยท Posted at 09:28:07 on May 17, 2017 ยท (Permalink)
I had an inkling someone would make that gag
LinoMirgeler ยท 4 points ยท Posted at 08:53:25 on May 17, 2017 ยท (Permalink)
Stop it, Dad.
-iDroid- ยท 1 points ยท Posted at 14:05:07 on May 17, 2017 ยท (Permalink)
You spin me right round, baby right round like a printer, baby right round, round, round.
-Bernard ยท 8 points ยท Posted at 10:32:34 on May 17, 2017 ยท (Permalink)
"Make it sound like it's starting up."
micheal65536 ยท 14 points ยท Posted at 09:30:21 on May 17, 2017 ยท (Permalink)
You have a Canon printer? We used to have one and it made whirring noises for ages when turned on, and two people we knew who also had Canon printers had the same complaint. Now we've got an HP and it still takes long to turn on, but just because it takes a long time to connect to the WiFi network (probably because it can't get a good WiFi signal two meters away from the access point).
Cley_Faye ยท 17 points ยท Posted at 09:39:07 on May 17, 2017 ยท (Permalink)
A wire might be a good idea.
micheal65536 ยท 6 points ยท Posted at 09:54:40 on May 17, 2017 ยท (Permalink)
Doesn't have Ethernet. Need a better router tbh.
robin_flikkema ยท 2 points ยท Posted at 09:52:41 on May 17, 2017 ยท (Permalink)
Doesn't your printer go in standby and leave WiFi on to receive printjobs?
micheal65536 ยท 7 points ยท Posted at 09:54:13 on May 17, 2017 ยท (Permalink)
We're old-school and actually turn our printer off when we're not using it. Also we only print like, one or two pages a week.
TheThiefMaster ยท 5 points ยท Posted at 10:48:46 on May 17, 2017 ยท (Permalink)
Should get a laser. Ink printers waste a hell of a lot of ink when they clean themselves, especially if left a little while between prints and only printing a few pages at a time. Lasers are just good regardless of how much and how frequently you print, and they are very cheap now.
Unless you print photos, or transparencies. Lasers are only really good for documents (they often can't take gloss photo paper) and transparencies melt inside them and destroy them.
micheal65536 ยท 2 points ยท Posted at 12:15:23 on May 17, 2017 ยท (Permalink)
we considered a laser printer but the colour laser printers were out of our price range
TheThiefMaster ยท 2 points ยท Posted at 13:44:07 on May 17, 2017 ยท (Permalink)
Do you really need colour? I used to have a mono Samsung laser which was incredibly awesome and only cost ยฃ40!
Colour lasers are significantly pricier, >ยฃ100, but you should seriously consider it next time your ink printer decides to require multiple consecutive cleaning cycles to make it print properly.
The only real downside to lasers is that they last so long on the original cartridges that it can be a real shock when they finally run out years later - a new set costs as much if not more than the printer! (though the replacements are significantly higher capacity than the "free" bundled "starter" ones, so it is worth it, and they do still come out significantly cheaper per printed sheet than ink cartridges).
If you ever do large volume printing (e.g. leaflets, programmes, etc) you owe it to yourself to get a laser printer - 20 pages / minute (3 seconds per page!) is fairly standard, and some mono lasers are faster still.
micheal65536 ยท 1 points ยท Posted at 18:32:30 on May 17, 2017 ยท (Permalink)
I'm well aware of the benefits of laser printers, longer lasting toner, faster speed, cheaper per page, and so on. We considered all of them. But we decided that losing the ability to print in colour outweighed the advantages at the time (our previous printer actually didn't print colour that well and it was often an issue). We don't do a lot of printing, so even with inkjet we change the cartridges maybe once a year, and the ability to print colour is more important than the advantages of laser (because when we do need to print something, it's often in colour).
ecchi_fox ยท 5 points ยท Posted at 15:08:14 on May 17, 2017 ยท (Permalink)
SlashedAsteroid ยท 8 points ยท Posted at 16:39:48 on May 17, 2017 ยท (Permalink)
HP Printer
if ( self::cartridgeManufacturer() != "HP") { self::die('cheeky fuckers you will buy our cartridges!'); }
Tashre ยท 3 points ยท Posted at 11:48:24 on May 17, 2017 ยท (Permalink)
It's just your printer clacking the tongs a few times.
CleanBill ยท 3 points ยท Posted at 13:35:19 on May 17, 2017 ยท (Permalink)
You forgot to thorw an exception if the printer has printed more than __GLOBAL_MAX_PRINTS_PLANNED_OBSOLESCENCE
[deleted] ยท 5 points ยท Posted at 11:57:52 on May 17, 2017 ยท (Permalink)
Why?
Lukn ยท 23 points ยท Posted at 13:57:31 on May 17, 2017 ยท (Permalink)
3 BILLION DEVICES RUN JAVA WORLDWIDE
Calius1337 ยท 5 points ยท Posted at 12:10:36 on May 17, 2017 ยท (Permalink)
Aren't you curious about how things run?
Existential_Owl ยท 3 points ยท Posted at 12:02:54 on May 17, 2017 ยท (Permalink)
karma
emuboy85 ยท 2 points ยท Posted at 13:29:37 on May 17, 2017 ยท (Permalink)
For no apparent reason.
FenixR ยท 2 points ยท Posted at 14:03:27 on May 17, 2017 ยท (Permalink)
I wonder if you found the function that makes the printer stop working if it
smells your fearknows you are in a hurry.fleker2 ยท 2 points ยท Posted at 15:59:18 on May 17, 2017 ยท (Permalink)
I imagine it's done in part for a system health check, to make sure everything is still functioning
StoNeD510 ยท 1 points ยท Posted at 18:15:07 on May 17, 2017 ยท (Permalink)
Yeah most likely a preliminary initialization. No feedback = broken component= error
RenderSettings1 ยท 2 points ยท Posted at 16:24:52 on May 17, 2017 ยท (Permalink)
I see steam in the background. What games you play?
SamL214 ยท 2 points ยท Posted at 17:14:28 on May 17, 2017 ยท (Permalink)
Isn't spinning everything more of an engineering desire? I mean, depending on the dust level of the living environment and the level of use, spinning everything would seem to redistribute lubricants and remove excess debris right?
kiranc_ ยท 2 points ยท Posted at 19:21:59 on May 17, 2017 ยท (Permalink)
emd2013 ยท 2 points ยท Posted at 09:48:28 on May 17, 2017 ยท (Permalink)
where is the reference to that variable?
izpo ยท 1 points ยท Posted at 11:22:00 on May 17, 2017 ยท (Permalink)
ohh this must be gnome joke...
AtWorkButOnTheReddit ยท 1 points ยท Posted at 11:44:36 on May 17, 2017 ยท (Permalink)
PCLOADLETTER
scaryuncledevin ยท 1 points ยท Posted at 13:02:06 on May 17, 2017 ยท (Permalink)
It's a good trick.
BeefPieSoup ยท 1 points ยท Posted at 13:06:32 on May 17, 2017 ยท (Permalink)
I fucking knew it
Piratenboer ยท 1 points ยท Posted at 13:21:32 on May 17, 2017 ยท (Permalink)
It is pretending like it will actually print when you are in a hurry
Silamoth ยท 1 points ยท Posted at 13:41:31 on May 17, 2017 ยท (Permalink)
I think the worst part about this is the fact that the braces are on the same line.
GOULFYBUTT ยท 1 points ยท Posted at 13:45:17 on May 17, 2017 ยท (Permalink)
I'll try spinning, that's a good trick!
dukck ยท 1 points ยท Posted at 14:00:27 on May 17, 2017 ยท (Permalink)
Squirt some printer juice into the sponge and display INK error.
UtterlyDisposable ยท 1 points ยท Posted at 14:02:30 on May 17, 2017 ยท (Permalink)
I find the notion of you having access to the source code to be far funnier than the joke itself.
Feather_Toes ยท 1 points ยท Posted at 14:39:25 on May 17, 2017 ยท (Permalink)
I'd assume it's so you can hear that the printer is functional and ready to go. Also, if the startup sound starts sounding different, that would be an indication that something's not doing what it should, and might need to be taken a look at.
Scripter17 ยท 1 points ยท Posted at 15:17:29 on May 17, 2017 ยท (Permalink)
This can't be real.
Jewishluigi ยท 1 points ยท Posted at 15:22:34 on May 17, 2017 ยท (Permalink)
Same code works for fidget spinners.
bltmn ยท 1 points ยท Posted at 15:25:17 on May 17, 2017 ยท (Permalink)
Ah, I see you have the machine that goes 'Bing'!
aiij ยท 1 points ยท Posted at 18:01:52 on May 17, 2017 ยท (Permalink)
It's called a "busyness requirement".
The goal is to wear out the parts faster, so that the sales team can sell more printers and keep the company in business.
drkalmenius ยท 1 points ยท Posted at 20:29:17 on May 17, 2017 ยท (Permalink)
With a function name that long, it was probably written by a Java Dev.
That explains everything
mikerowave ยท 1 points ยท Posted at 23:27:40 on May 17, 2017 ยท (Permalink)
Damn! That camelcase is on point
oversized_hoodie ยท 1 points ยท Posted at 01:27:23 on May 18, 2017 ยท (Permalink)
It's likely checking all the encoders and limit switches.
mancilladev ยท 0 points ยท Posted at 12:16:16 on May 17, 2017 ยท (Permalink)
Are you a fellow VIM user?
kyrsjo ยท 3 points ยท Posted at 15:19:04 on May 17, 2017 ยท (Permalink)
Have you heard about our lord and saviour EMACS?
PQQKIE ยท 1 points ยท Posted at 21:27:45 on May 17, 2017 ยท (Permalink)
Some flame wars just never end. (VIM is better).
kyrsjo ยท 2 points ยท Posted at 21:36:34 on May 17, 2017 ยท (Permalink)
dons flameproof suit
WurstGamer87 ยท 0 points ยท Posted at 13:45:50 on May 17, 2017 ยท (Permalink)
/r/thathappened
LinkeSeitentasche ยท -5 points ยท Posted at 12:11:09 on May 17, 2017 ยท (Permalink)
Because providing reliable yet cheap machinery that solves a dozen or two engineering problems at once so you have a service at your fingertips is fucking hard (e.g. printing).
But people trying to make a living from pushing around strings via GET request URLs probably wouldn't understand.
SchroedingersHat ยท 5 points ยท Posted at 12:31:38 on May 17, 2017 ยท (Permalink)
Doing the full cleaning cycle every time you get power rather than anything sane is there to sell ink.
LinkeSeitentasche ยท 0 points ยท Posted at 18:24:26 on May 18, 2017 ยท (Permalink)
Having to reprint the first page of your document that's printed right after you turn on your printer every time is not fun either.