/g/ humor thread
Resolution
To resolve the issue, do not create a user account contains the string "user" on the computer.
WOW REALLY?
>open sores software
>>55295854
>>55295889
Microsoft Defense Squad over here
>>55295854
>open sores software
nanisore.sys
>>55295917
>no keyboard found
>press any key to continue
every time
>>55295917
What language is this?
>>55295917
>stard windoc normalli
KEK OF THE TIME
KEK
N V I D I O T
>>55295938
>>55295940
fuccboianese
>>55295889
that's not open source.
that's the Hammerhead Eagle i-Thrust.
>>55295940
8-bits-off-in-video-memory language
>>55295938
Does it have ECC?
>>55295934
>what is short-circuiting
>>55296477
>what is short-circuiting
Something that has nothing to do with that picture.
>>55296509
What if you use a shorter cable?
>>55296477
>>55296531
Unless the polarities are switched, it does not matter how long the cable is.
>>55295924
>>55295854
Aside from avatars and bad kerning I see nothing wrong with this
>>55296681
My first 386 had a faster clock than this Pentium.
he fell for the
>I'm gonna """"Study"""" """"Cyber Security"""" :^D meme
>>55295917
>"Yeah, I see what the problem is. You computer's had a stroke"
>>55296699
Underclocked
>>55295838
>a bug that retarded is allowed to exist
what kind of pajeets did they hire to write windows?
DROP SERVER
>>55296841
>>55296849
That made me laugh way harder than it should
>>55296770
Of course, how stupid of me... Even the 486 that many of my friends had at the time were already 66 MHz, with that fantastic TURBO button that cut the clock in half, visible in that glorious display.
What was the purpose of the turbo button anyway? Who would want to turn it off?
>>55296884
Conpatibility with older apps that used CPU clock. With turbo enabled they would look speedhacked.
>>55296681
pretty impressive actually
>>55296908
I remember that there were some older games that sped up real good, but even with the turbo off, it never slowed down enough. I don't remember a single time this was useful.
>>55295854
>>55295946
Kinda cure desu
>>55296884
>>55296962
Some older games for the 8088 use the CPU cycles for timing, so they run perfectly only at 4.77MHz or 7MHz, turning ON turbo made the CPU run at those slower speed so the games would fine.
>>55296981
seriously though, why is everything open source so inferior? is it because nobody gets paid?
>>55297031
But on a 486 at 66 MHz, turning off the turbo meant going down to 33 MHz, hence my point.
>>55297047
kek
>>55297036
>is it because nobody gets paid?
Of course.
>>55297047
>>55297063
>>55297084
>>55297036
>>55296981
nice samefagging here
>>55295838
>bug happen
>blame the user
>never fix it
Go kill yourself. never work on /g/ related stuff
>>55297038
Must be some shitty ass motherboard.
>>55296845
Would this really work?
>>55297047
They automatically filter out such sites.
>>55297054
This is actually a clever way of teaching how backlit displays work.
>>55297158
No because the registration is saved as string
>>55297054
A friend of mine has a laptop that's nearly in this bad of condition.
>>55296831
>>55295854
>>55295889
>10 rupees have been deposited to your account Rajeesh.
And then someone says that Reddit is worse than /g/, holy shit kill yourselves, Reddit is heaven compared to this shithole you inbred meme spouting faggots
>>55297486
>le upboats
any community that actively encourages hivemind mentality is cancer
>>55296981
Pretty ironic that Tesla made all their stuff open source. But maybe that's the joke here.
>>55297136
I chuckled
>>55297486
yeah, because karma point are totally not skewing the type of content that gets posted.
Pretty fucked up when people only post what think others could like, not what they themselves like.
>>55297486
>Discourages free speech with karma to improve user behaviour
lmao
>>55297602
wtf, what's the point of those bars?
>>55295854
>>55295889
>>55295904
>>55296981
>>55297036
Hello there! You seem to have used the term "open source".
This term was created by a group of people that did not want to be associated with the free software movement. When I say "free" software (one of the alternatives preferable to "open source"), it's not about price; in that case I would say "gratis", or "free as in free beer". It's about freedom! This is what the free software movement is fighting for.
So what is "free" software? Free software is any software that guarantees the user the four essential software freedoms:
> 0. Run the program as you wish.
> 1. Study the source code and change it so it does what you wish.
> 2. Redistribute exact copies of the program.
> 3. Distribute your modified version of the program.
Some people decided that they wanted to restrict the user; but being able to study and modify the "open source" code is not enough! This is directly hurting the cause of the free software movement because it takes away the sociological "freedom" aspect of free software and turns it into a technological issue.
So for those reasons I ask that, in the future, you use the terms "free", "free/libre" or, if necessary "FLOSS" (short for "free/libre and open source"), though the latter should still be avoided.
>>55297707
KEKD HARD
>>55297707
anyone has the pic?
>>55297707
damn
>>55297707
sauce?
>>55297737
>>55297989
http://gelbooru.com/index.php?page=post&s=view&id=963860>>55297989
>>55297647
keeping it clean
>>55298052
man, it's a blue biard...
>>55297647
(You)
>>55298023
Thanks onii-senpai
>>55298052
retard
>>55298066
>>55296540
Goddamn it every time
>>55297707
why would someone use that as a phone wallpaper
>>55297006
Do it.
>>55298362
Plebs. Fucking weebo plebs.
Take some
>>55296548
>what is resistance
>>55298707
>what is a loop
>>55296531
>>55296509
>>55298707
https://www.youtube.com/watch?v=QKUSFQu96BI
>>55296831
interstellar.jpg
>>55298809
Does this mean that the "charging" icon from the OS simply detects if a power connector is attached, and doesn't care if there is actually enough current to charge the battery?
>>55297245
K.... KEEP ME UPDATED
anyone remember this?
>>55299684
fuck you, i'm still pissed i didn't start mining when bitcoins were first shilled on /g/ like 7 years ago
>>55297158
Depends.
>>55296778
mobile porn was available long before that, obviously it wasnt as good
>>55295917
your pc stopped besponding :DDDD
>>55295902
>>55297332
>>55297668
> Getting this asshurt in a humor thread
> Cant take a fucking joke
>>55297602
That's porn not humour.
>>55299731
You and me both.
>>55299830
Just like how your precious Windows is a joke?
>>55296378
>4 chips
Probably not.
to all shills and fanboys
>>55300031
that's fake right?
>>55296981
In reality...
>>55295813
sauce
>>55300071
>>55297158
Depends on wether the engineers remember to SANITIZE THEIR INPUT.
>>55297602
Thanks doc
>>55300152
If you need to sanitize your input, you're doing something you shouldn't be doing.
>>55295838
It's a pretty niche bug, it is dumb that Microsoft never fixed it though.
>>55296540
This one is great.
>>55296681
>why would you do this
>>55300071
There is zero chance of that working.
>>55300249
believe it or not anon, but there is software out there that for whatever reason will recieve some form of input not generated by a "trusted" source. Whenever this happens, if it concerns security and stability of the software, you need to sanitize the input before you start parsing it. Infact, that picture with the car shows a perfect example of a situation where you cannot trust the input.
>>55300378
If your software can't handle arbitrary input, then your software is the problem - not the input.
If your database can't store a ', then your database is a piece of shit, and instead of “sanitizing” your input (i.e. replacing ' by X or whatever), you should fix your database instead.
>>55299969
bo2k was awesome, was too young to do anything more than infect 1-2 classmates.
>>55295813
What the hell, my user name is always "user"
>>55300441
That red tetrahedral one looks tricky.
>>55300425
Do you know how SQL works? There is not a specific program you call that asks for input and will just take everything.
>>55300568
>DUDE COKE LMAO
are you a woman, or underaged?
>>55300570
SQL is a human-facing programming language. If your program generates SQL code and compiles it during runtime, it's badly designed.
Callingmysql_query("SELECT * FROM foo WHERE bar = '" + $user_input + "' LIMIT 1;");is about on the same level of security assystem("some_program -X '" + $user_input + "'");
Both are anti-patterns you should never have to write. If you find yourself writing something like this, instead of changing it tomysql_query("SELECT * FROM foo WHERE bar = "' + escape_really_hard($user_input) + "' LIMIT 1;");, you should simply not be doing this in the first place.
Every single time you think you are being clever by generating and executing code in a human-facing language at runtime, you are doing something wrong.
See https://en.wikipedia.org/wiki/Eval#Security_risks
>>55300425
You're a fucking moron.
Sanitation of input is necessary so long as you cannot guarantee what form the input is going to take.
All you're suggesting is moving the distinction of where the sanitation, or "input check" takes place.
>>55300652
>escape_really_hard($user_input)
So you do advocate sanitizing user input? Then what was the point of your reply?
>>55299948
this was the coziest youtube layout desu
>>55300714
Maybe you should read my post before responding.
In particular, you seem to have missed the parts where I said “INSTEAD OF CHANGING IT TO” before quoting that anti-style.
>>55300668
>Sanitation of input is necessary so long as you cannot guarantee what form the input is going to take.
You can always guarantee what form the input is going to take, because your program is the one that's taking the input. There is no exception to this rule. All you have to do is design your system such that it can handle every possible input.
Security issues only arise when people don't understand what inputs they are going to be given and make a wrong assumption. (For example, thinking that POSIX filenames are going to be valid UTF-8 sequences)
But tl;dr the solution is never “sanitize your inputs”, the solution is “make sure you understand your input space”.
>>55297668
autists are out in full force today
>>55300795
Yes, you're saying that your 3rd code block is the one that should be used. Which sanitizes the user input before storing it in the DB.
>>55295838
Literally Pajeet-tier grammar
>>55300843
>before storing it in the DB
Or rather, before executing the query.
>>55300143
>97,6 GB
Impressive
>>55300636
Straight edge faggot detected
>>55300636
>poor fag can't afford cocaine
>>55300843
Are you literally incapable of reading? All three of my code blocks are the ones that I'm claiming you should NEVER find yourself writing.
The third code block is just an example of an anti-pattern used by people who don't really know what they're doing.
Since you insist, let me present to you an example of how to write a real program:foobar = mysql_prepare("SELECT * FROM foo WHERE bar = ? LIMIT 1;");
// and later
foobar.execute($user_input);
The critical difference here is the separation of program and data. Instead of generating a program from a template + the data at runtime, then interpreting that (which is bound to fail unless you take great care to escape everything properly); you are writing a generic program in a high-level language, compiling this program once, and then feeding it arbitrary data. (Which is completely safe, since you're not mixing data with code anymore)
In this example, I clearly never had to “sanitize” (or “escape”) $user_input anywhere, because my prepared statement is equipped to handle arbitrary input - as should any good abstraction.
>>55300939
Let's go through your post
>Both are anti-patterns you should never have to write
First 2 are bad
>If you find yourself writing something like this,
Refers to the first 2 again
>instead of changing it to (...) you should simply not be doing this in the first place.
So it should be changed to the 3rd one, implying that this one is good?
>>55300928
blue dragon_dildos1?
that's a dumb na... wait...
>>55300482
underrated
>>55300135
The one on top is free, not open. The one in the bottom is actually only open.
>>55300939
Note that this is also just pseudocode meant to demonstrate the effect. In a modern high level language, you won't be finding yourself writing code inside a string at all.
Instead, you might have the parts of your program written in SQL separated from the parts of your program written in X, and then load at runtime (or even statically compile + link) these SQL parts of the program.
Or for another example, you might be using a higher-level abstraction for database access, for example Linq, SQLAlchemy or Haxl; so you don't even have to be writing SQL to begin with.
>>55300968
>So it should be changed to the 3rd one, implying that this one is good?
I assume at this point that English is simply not your first language and that you don't fully understand how English grammar works. Let's simplify the sentence somewhat.
The overall structure is “If you find yourself X, then Y”, which is a conditional. (i.e. ‘Y’ is only asserted to be true when ‘X’ is also true)
For understanding the grammar of the ‘Y’ part, we can look at it in isolation, since the conditional doesn't change the meaning. The Y part is this: “Instead of doing W, you should do Z” which is a replacement. It's also a conditional in a sense, since it means something like this: “Don't do W. If you need to do W, do Z instead”.
To to summarize, the sentence can be broken down to something like this:
1. Don't do X. (X = the two first examples)
2. Don't do W as a replacement for X. (W = the third example)
3. Instead, use Z as a replacement for X (and/or W). (Z in context was “design your system to handle arbitrary inputs”, for an example see >>55300939)
I hope that clears up admittedly somewhat advanced grammar for you.
>>55295813
>>55300928
White 1234 ?
>>55300928
Black coconutsMarckWallie
>>55299705
I don't get it, it could /dev/sd* and even then it's not guaranteed it'll be /dev/sdd
This isn't funny *at all*
>>55301032
I see your point now. It was just ambiguous.
I Interpreted it as
>If you do X (instead of changing it to Y), you should stop
instead of
>(If you do X) instead of changing it to Y, you should stop
>>55296981
>tfw open source projects have better design than many propietary software I've worked on
Regarding graphical design it's completely different though
>>55301073
I think you mean
>>55300482
That's gay.
>>55301320
Perfect
>>55301032
Sanitization by design is still sanitization.
>>55301343
>"It's a fucking RAM slot. How dim can you be"
>not
>"It's a fucking RAM slot. How DIMM can you be"
>>55300408
kekkings
>>55301355
>>55301369
Why not make 1 picture out of it?
There is no need to space it out into 2.
>>55301404
I don't see anything wrong here.
>>55299916
>>55299906
>>55299938
Need Nvidia/AMD version of this for reasons
>>55300652
>If your program generates SQL code and compiles it during runtime, it's badly designed.
ORMs generate SQL code and compile it during runtime. Your point being?
>>55301032
X and "this" are different
>>55299705
More likley that windows users will understand it. In windows it just starts with C: and goes to D:, E:, etc. The external hard drive implies they have one internal one (most likely C: in this case). Since the external hard drive is presumed to be the only oyher hard drive it is most likely D:
>>55301539
D: would most likely be a DVD drive tho
>>55301350
I disagree. The frame of reference is different.
When dealing with input of type ‘X’ and a backend of type ‘Y’, the sanitization approach is to mangle ‘X’ so it fits ‘Y’. The approach I'm suggesting is to rewrite ‘Y’ so it fits ‘X’.
In one approach, your input is left untouched and your program changes to compensate. In the other, your input is mangled and your program left the same.
The problem with input mangling is that it always blows up. Instead, use a static type system that allows you to e.g. distinguish ByteString from String; and make sure you engineer your data storage system in a way that handles the entire input space, linearly, without branching on it.
Anything else is just wrong design that is bound to either fail, contain bugs, mangle the input (fail to round-trip) or do any other number of unpleasant things.
>>55300057
I don't get it.
>>55301520
1. If the ORM is doing that, then the ORM is also an example of bad design, and it should be fixed internally to avoid having to generate and parse SQL at runtime.
2. Your code is more likely to be bugged than a well-known library
3. Hiding complexity behind a reusable abstraction allows you to write it once, instead of many times. ORMs expose a simple abstraction that you don't have to worry about fucking up.
>>55301409
I guess I'll just post the other 4 in case anyone gets interested in it.
>>55301633
>>55301642
not really /g/ related, though
>>55296854
Wtf is that
>>55301661
>>55301618
magnet
>>55301409
because i'm lazy
>>55301633
ey fuckin denko.
had to consume 3 beers to get though that story
>>55298653
NOOOOOOOOOO
>music can't get viruses, only games can
>>55300928
Naked ILikeTrains
>>55299948
That and the immediately older youtube design (which was pretty much the same in organization and functionality but different aesthetic) was the best youtube. I really miss that "19 videos" button that let's you see more from the same author easily.
>>55300928
Noshirt hunter2
>>55301661
>not really /g/ related, though
Reported.
>>55300050
12 rupees have been deposited into your account.
Have a nice day Pajeet!
Regards,
Nvidia
>>55295967
I want to see a PC with all this snake-oil installed
>>55301404
GNU
NOT EVEN ONCE
>>55300826
>>55299830
>Not recognizing stale pasta
Come on /g/
>>55301623
When shout it parse SQL then?
>>55302036
Ideally, during the compilation of your program. SQL is source code, and source code is meant to be compiled. Anything else is bad PL design.
(Nu-programmers with their slow-ass garbage collected interpreted “dynamic” memelangs can fuck right off)
At the very worst, compile it to bytecode and run it through a lightweight JIT or interpreter at runtime.
>>55296681
sieht faek aus aber hallo deutschfreund
this is my machine around 2000
>>55295917
>Spurdo becomes a virus
>>55301320
>>55301073
why is vista like that?
>>55301669
Water-cooled router?
Now I want one desu.
>>55302074
>(Nu-programmers with their slow-ass garbage collected interpreted “dynamic” memelangs can fuck right off)
Oh /g/, how I love you and your retarded opinions...
Oh, and most "dynamic memelangs" are cached/compiled to bytecode.
>>55302139
Yes, and these “dynamic memelangs” are all examples of bad PL design. Bytecode is better than in-loop parsing, but it's still bad PL design.
>Your retarded opinions
Show me any single academic paper on type theory, programming language research, compiler design etc. that thinks dynamic languages are a good idea.
>>55300652
What if I have to generate a more complex query than that?... WHERE name = x.name AND likes_cookies = false AND EXTRACT(dow FROM last_update) IN (1,2,3)
There is no way I can generate all posible queries beforehand.
>>55301875
hello senpai
>>55295889
I've laughed harder than I should have.