Hour of Code

hourofcode.com/us

HRNNNNNNNNNNNNNNNNNGGGGGG
What is real anymore

Other urls found in this thread:

bbs.nextthing.co/
cfda.gov/index?s=program&mode=form&tab=step1&id=b28abda943c8896061f8a6c6935b6d2f
cfda.gov/index?s=program&mode=form&tab=step1&id=b4fb9ce1f8d2d96a47613d2a2fbd389b
github.com/ocornut/imgui
studio.code.org/c/301123500/
quotes.cat-v.org/programming/
twitter.com/AnonBabble

Yay! Let us unite in diversity and celebrate CS.

poo everywhere
everywhere but the toilet

Looks like moving to Greenland is always an option.

...

WELL IM FEELING MOTIVATED

theres a very real kind of fucking cancer going on here

Oh no, kids learning to code, whatever will we do?

hang yourself with barbed wire

hour of code : programming :: play-doh : architecture

I'm finishing my Masters in Architecture after having fun with play-doh as a child, with my parents being the national distributor.

What now?

I'm signing up.

WE

All this will do is breed an entire generation of western pajeet code monkeys.

What the fuck is this shit, and what the fuck is blocks.

Guys, I don't see why you're mad about this. Here's my take on this hour of code, let them have it. Let all the pajeets that poo in the loo and fully veiled stronk powerful wimmin have their cs jobs, let all of them made some retarded website or product. It just won't matter.

You can simply just beat them using your skills, pajeet simply doesn't have the mindset to be a great programmer. Great companies looking for intelligent people on big projects won't be looking for poo in the loo programming, just show them that you are better.

Let's bring diversity to Mount Stupid!

What's the purpose of this? Why are the joos wanting to make all these retards and children learn to code? WHY

They want to ruin small growing businesses with absolute retards because growing businesses need people, so that the big ones stay in total power.

blocks is graphical programming, basically a kiddie version of labview
i cant really 100% bash the idea for what it is, if it was only used to teach pre-k
but theyre trying to market it as the goto tool to teach anyone programming, when in reality, if youre older than 6-7 years old, you should give basic a try

sigh

That's how I learned. QBasic in Dos back in 2003/2004. Few lines of code for newbies to understand the basics of coding (If Statements, etc).

what they should do is have an oldfag coder come into the class and sit at a computer and just program a demo of a 3d cube or fractals or something else interesting. 29 of the kids wont give a fuck, will probably be checking their instagram the entire time; who we're targeting is that one odd kid at the back of the room who's going to code the first true artificial intelligence or start the *nix revolution and save us from botnet

I started out with blitzbasic cause i wanted to make vidya, but i started to just mess around with the language and then moved on to python and then C and never looked back

And by flooding the market they will be able to reduce the living wage that kid would cost to a few peanuts.

That's the great thing about various kinds of Basics, they're great for messing around with while you learn. I learned QBasic because I talked with a 90s Dev who gave me his old programs and said that's how he learned when he was in his teens.

Python and C are what I use now too. Occasionally C++, and I'm going to pick up Java for work related reasons.

Do you do any GUI related projects? I want to pick up an API for Linux, but I'm uncertain what direction to take (QT, GTK+, or another route).

Whichever way you go, you lose. Every popular system has a completely fucked up rendering system and every toolkit is object oriented garbage.

The *nix revolution is over. Most things are Unix, the rest are Windows. Unix is old and it's everywhere and it's starting to smell really bad, so we should get rid of it already.

Dennis Ritchie himself says Unix retarded OS research by 10 years.

not really, is right, openGL and DirectX are also ridiculous

the windows system for making gui shit is exceptionally super hyper fucked, theres no "learning" it, you just copy paste code and then hop to and fro from the documentation to see what to pass to what function just to get some text in a shitty window

heres a sample:

#include

const char g_szClassName[] = "myWindowClass";

// Step 4: the Window Procedure
LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch(msg)
{
case WM_CLOSE:
DestroyWindow(hwnd);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hwnd, msg, wParam, lParam);
}
return 0;
}

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
WNDCLASSEX wc;
HWND hwnd;
MSG Msg;

//Step 1: Registering the Window Class
wc.cbSize = sizeof(WNDCLASSEX);
wc.style = 0;
wc.lpfnWndProc = WndProc;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
wc.hInstance = hInstance;
wc.hIcon = LoadIcon(NULL, IDI_APPLICATION);
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
wc.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
wc.lpszMenuName = NULL;
wc.lpszClassName = g_szClassName;
wc.hIconSm = LoadIcon(NULL, IDI_APPLICATION);

if(!RegisterClassEx(&wc))
{
MessageBox(NULL, "Window Registration Failed!", "Error!",
MB_ICONEXCLAMATION | MB_OK);
return 0;
}

// Step 2: Creating the Window
hwnd = CreateWindowEx(
WS_EX_CLIENTEDGE,
g_szClassName,
"The title of my window",
WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, CW_USEDEFAULT, 240, 120,
NULL, NULL, hInstance, NULL);

if(hwnd == NULL)
{
MessageBox(NULL, "Window Creation Failed!", "Error!",
MB_ICONEXCLAMATION | MB_OK);
return 0;
}

ShowWindow(hwnd, nCmdShow);
UpdateWindow(hwnd);

// Step 3: The Message Loop
while(GetMessage(&Msg, NULL, 0, 0) > 0)
{
TranslateMessage(&Msg);
DispatchMessage(&Msg);
}
return Msg.wParam;
}

shit nigga what are you doing
check yourself

My first "programming" was with software like that for Lego robots back when they first came out.

Unix brought innovations that were better than what existed at the time and that are still kind of okay now but can be and have been improved on.

Have you ever looked at Plan 9? It has plenty of examples.

mindstorms was great, it was more about robotics than programming

Plan 9 from Bell Labs?
no drivers

I'm telling you to look at it, not to use it as a main driver. I haven't used it much but it showed me that you can do a lot better than Unix without even straying from its philosophy.

...

Win32 for sure is shitty, I know, I've done a ton of work with it. If you think that's a mess, Toolbars are an even bigger mess.

trash.jpg


I agree that the systems are fucked up, but why is OOP bad for a GUI application?

meant for not

making FLTK support native looks would make the whole point of self contained gui toolkit you can directly link to your executable moot

there are other toolkits for that

That one faggot in siberia is REALLY good.

why not just poke around the source and edit the part that determines style/theme

if youre autistic enough to bitch about the style then youre autistic enough to do a small hack to change it

Oh I guess Emma Morano can't learn to code. What a bunch of ageist shitlords.

girls cant code either

they aren't learning to code, they're learning to articulate code. Memorizing all the things you have to type in order to articulate the code, usually leads to a 40 thousand dollar debt and a shitty life.

I bought a pocketchip and contributed a bunch on their (shitty Discourse based BBS) for awhile. I already knew that BBS was SJW to the core, and already assumed this whole project was.

Now when I try to access bbs.nextthing.co/ it has a special header frame or whatever at the top that wants me to contribute to this race and sex specific initiative. And I cannot even block that frame successfully (with my knowledge) and access the fucking bbs at all to respond to my existing threads. Fuck the project and I just responded to a thread via email which will probably fuck me if some cunt wants to get to cunty about it.

All I want is some fucking hardware and software projects that are willing to teach, being race and sex agnostic, not pandering like this. I will burn it all to the ground if it this is how it HAS to be.

And it was fine before that fuschia black woman frame showed up everywhere. Now I can't access anything with the addons I've always had.

This might just seem like autism but I cannot access my old threads on the bbs, and sent an email full of my disgust through emails, so if they want to respond publicly, I'll be out there I suppose

It's pretty fucking goddamned simple. You don't pander to any specific race or sex. If you do, you're wasting your time. You also don't add some frame around a whole functioning site, breaking it, only to promote this sexist (reverse, kek) shit. Everything was working fine

B T F O
T
F
O

Sorry, I saved over it..

In my defense some of the colouring carried over to bordering countries. For instance, Switzerland is orange but it was originally green.

It isn't so much that I am a weeb. I genuinely like the music for the music rather than it being jap.

Yes Aikido, and I purchase the leaves but I make my own blends. I have been planning on making a crack at growing, though.

I lel'd

t. philosofag

I think the black trailer shows more of that with the beginning shots of the massive forest and its such a huge area that has barely been touched yet.

>>>/o/

It was the 1980s. The first "mirror imaged" printing of the manga by Dark Horse just skipped the pages.
Later the "Omnibus" book form of the Dark Horse manga returned the sex scene.
It just happened to occur at the time that the original 1988 Child Protection and Obscenity Act, itself based on the extremely biased 1986 Meese Comission Report on Pornography was new, and the investors could not afford to wait for the legal wrangling to settle down.
Within two years the Supreme Court struck down the law. Congress defiantly passed a "Child Protection Restoration and Penalty Enhancement Act" in 1990, that was really the same law with slightly different wording and even higher penalties. This one never reached the Supreme court as the Supreme court refused to hear any of the cases the Federal government tried to appeal after the district and circuit courts blocked prosecution on most of its contents. Including specifically drawings of sexual activities, as the government could not explain how drawings of sex acts differed from already protected written descriptions of sex acts.
Technically though the law is still on the books, and every now and then some /user/ will make panicked posts about how they are going to go to jail for importing manga from Japan into the US after finding the text of the law without reading also the case history.

Hour of Code is the Go!Animate of programming.

This will be used to pull down the price of all coder salaries, not only pajeets. It will also enable them to put less technically inclined but socially acceptable 'diverse' people on managing and leading positions.

This is an effort to rob you from positions you had assured out of neccesity since you were the only one 'who knew' , since its ungood and not pc to have white nerds calling the shots.

I love my pocketchip but yeah it was pretty obvious the type of people they were from the start

This

lol
These fucking "diverzidy :DDD" initiatives are fucking stupid. If you can write a program you win. If you're a trans-african xerkin demikitsune who can write a program, cool, just don't fucking shout about it.

They can't even speak english properly. This is just virtuous masturbation on the part of the people running the programs.

It just makes me sad to see people get so caught up in shit that doesn't really matter for the health of their project outside of SJ points.

I say that we should let them suffer the consequences of SJ points over meritocracy. Their SJ-philosophy-led projects will produce shit outcomes that are well over budget while those who work on the meritocracy philosophy will continually make better progress over time.

They don't risk their own money on this shit, that's why they e-beg and drain millions in public funds

I don't mind it if people willingly donate their own money on these schemes but I'm angry that they've appropriated public money for these initiatives. Can you show me some cases where this happened? I'd do it myself but I'm not sure of what keywords to use to find examples of this.

this shit is too annoying to dig through but I did find one amusing thing
cfda.gov/index?s=program&mode=form&tab=step1&id=b28abda943c8896061f8a6c6935b6d2f

cfda.gov/index?s=program&mode=form&tab=step1&id=b4fb9ce1f8d2d96a47613d2a2fbd389b

tbh I'm OK with supporting TCUs
Natives aren't a treat and we really fugged them up

It seems rather ironic when you think about it but objects don't (at all) model a GUI application.
A minor point to consider is that inheritance needs to be forced in there hard and doesn't at all come naturally. You can take Gtk+ as a prime example where you'd probably assume great benefits from its hierarchical nature.
For example: Gtk2 had the vertical container and the horizontal container. They'd let you place widgets either on top of one another or next to one another. This is basically the same task but in different directions. However despite these tasks being so similar as to only be different in direction, what do you actually want to share between them save for code? The best I can come up with is some abstract notion of iterating over their elements, and if you look at what they inherited from that's pretty much all it is.
But the most important point and the one that's just a massive elephant in the room is that as a programming interface: converting state sucks. Taking your internal state and converting it for display sucks ass and there is simply no way around that. No OO anything will ever be able to solve this issue because at the end of the day you will have some kind of interface that requires you to either redo your internal state structures or translate between them and what the MVC pattern designer decided to require. And the reason every OO GUI library is like this is because they attack the problem fundamentally wrong. Drawing is entirely secondary to what you want to accomplish and yet it's where all the effort is expended.
I don't want asynchronously delivered signals to functions that create a spaghetti mess of callback calling callbacks calling callbacks and neither does anyone else. What I want is the effective equivalent of having a function that both draws a button and tells me if someone has pressed it because that allows me to write sequential code that in one fell swoop draws the UI and lets me respond to user input. There is a damn good reason games are written this way and abstract away the retain-mode interface underneath and it's because retain-mode sucks.
This is the part where I'd explain the it comes with a decrease in performance but I don't think it's actually possible to be slower than Gtk no matter what you do.
Anyway, the proof is in the pudding and I wouldn't be ranting off my rocker if I hadn't seen some shred of decent execution: github.com/ocornut/imgui
While I'm not at all a fan of what they've made here (because it's just a bandaid over a set of terrible platforms) it does drive home the point rather nicely, seeing as how they've, in 10kLoC, replicated some of the most advanced functionality of Gtk, a 600kLoC library.
And I understand completely why people are turned off from this too: because it puts the responsibility squarely on the programmer's shoulders. The problem however stems from the fact that GUIs aren't any more generically solvable as a class of problem than any other programming task is. So sure, calling button_create(coords here); seems easier but this just breaks down entirely once it gets slightly complicated because the toolkit developer cannot cater to everything you might want to do while still staying within their generic bubble, so you get shit like MVC where they try to formalize a set of rules to alleviate the problem but if you've ever tried to use it you just end up writing twice as much code and that code being 10 times less readable which really only ends up hurting yourself in the future. All because the data you wanted to present as a tree didn't come packed *exactly* the way the interface wanted it and because of the callback nature of it you can't just easily convert it on the fly and so on and so on. It all looks really nice on paper but in practice it just breaks down the second you try to draw outside the lines and to this day every god damn GUI application on my machine all the way down to the calculator contain bugs in the GUI code.
Humans are just not good at thinking in terms of asynchronous callbacks. If A then B. That's how we work best. Not func doB() { B }; objectNotifier.registerEvent(A, doB).

This.

Just install uBlock Origin and use the eyedropper tool tbh fam.

M$hill, it's like you're not even trying tbh.

Hey guys play my game.

studio.code.org/c/301123500/

you crashed mozilla you fag
kek

gg rip inferior race
long live the buffalo and all that shit

Yeah writing 'GUI code' fucking blows.

Neat. Learned something cool today. Next obvious question: how does parallelism work in imguis?

what the fuck is go!animate
sounds fucking ghey

They are doing nothing of the sort.

They are training them that this is all that's required of coders so that they can grow up to shit out games from a cubicle farm, everyone running the Official Intel Authorized IDEs

I did an Hour of Code challenge and I recommend it. I also played Lightbot from the Google Play Store and got a certificate from Code.org

TOP SHILL

Top kek

kek

C O D E
O
D
E

A E S T H E T I C
E
S
T
H
E
T
I
C

A E S T H E T I C
E
S
T
H
E
T
I
C

A E S T H E T I C
E
S
T
H
E
T
I
C

==A E S T H E T I C==
==E==
==S==
==T==
==H==
==E==
==T==
==I==
==C==

A E S T H E T I C
E
S
T
H
E
T
I
C

==A E S T H E T I C==
==E==
==S==
==T==
==H==
==E==
==T==
==I==
==C==

A E S T H E T I C
E
S
T
H
E
T
I
C

A E S T H E T I C
E
S
T
H
E
T
I
C

bampo

It's great. They will work for a tenth of your current salary.

It's practically slavery. I LOVE IT! DON'T YOU?

DO YOU HATE KIDS? IS THAT IT?

They are pumping the market with cheap labor coming from immigration and these propaganda campaigns to make everyone a koder.

Right now you are better of laying brick or fixing toilets to support yourself than being a programmer or a designer even.

But sure, just keep drinking the kool-aid. Hillary is becoming president today, wasn't she? Damn racist misogynists.

The difference is your parents (perhaps) tried to influence you into becoming someone successful with a great salary.

This is the corporate world brainwashing your kids to join an oversaturated sector so that they can pay them even less than the current generation is earning.

Is it turing complete though?

may as well just code in brainfuck

Dennis Ritchie did operating systems research. He created Unix as a research operating system. It was quite good for its time, as a multi-user operating system running on limited hardware and exploring novel concepts. And then people kept using it for half a fucking century.

He moved on from Unix. He moved on to Plan 9 using experience gained from Unix, and later worked on Inferno using experience gained from Plan 9. There's all kinds of better things he wanted to create, but people kept using the old stuff instead of progressing to something new.

Here's a source for that quote, by the way.
quotes.cat-v.org/programming/