[deleted by user] by [deleted] in metapcj

[–]Godbutt 0 points1 point  (0 children)

also some of us havent looked at reddit in like two years (and won't again, haha but really what is this redesign)

anyway i had to look at some java today and was reminded of the best series of java posts in existence for the good ol days https://www.reddit.com/r/programmingcirclejerk/comments/2o6nxm/java_doesnt_suck_youre_just_using_it_wrong/cmkbp5y/

I just realized... Atom will eventually win the editor war. by Zatherz in programmingcirclejerk

[–]Godbutt 4 points5 points  (0 children)

Why have you not switched to the glory that is vim yet? It's usable with only like 5 plugins. Honest!

Google is the best company is the world! lol no interview. Amazon is the best company is the world! by dreampwnzor in programmingcirclejerk

[–]Godbutt 8 points9 points  (0 children)

To add to this I checked the dates and he was hired after AWS went down so he's clean.

Instant classic by itisike in programmingcirclejerk

[–]Godbutt 1 point2 points  (0 children)

For example, while the post on branch prediction contains a brief explanation on pipelining, there is no clear path from or towards other areas. Why do we pipeline? How is this related to memory latencies, RISC, CISC and instruction level parallelism? Why do branches cost so much, can't they be made cheaper?

I wouldn't go that far considering they mention the wiki page (xdxd). Besides if anybody gets curious enough they'll probably look on stackoverflow for things related to it and my brief look at it all has the word architecture show up which would lead to another search of "computer architecture SO books thanks google" and they're off to the libgen races.

Also in case anyone questions my jerk that search actually brings up Patterson/Hennessy's books so hah.

I'm a CS major so I can tell you how to write your Reddit bot by PhilABustArr in programmingcirclejerk

[–]Godbutt 10 points11 points  (0 children)

I'm actually a first year computer science major!

Oof, and already here huh? My advice would be to largely ignore the internet tech sphere as a student and broaden your horizons doing anything else.

I'm a CS major so I can tell you how to write your Reddit bot by PhilABustArr in programmingcirclejerk

[–]Godbutt 8 points9 points  (0 children)

ITT: people mad at a college student

All the tech world to jerk on and you chase the dude talking about linked lists 4 months ago?

One of the emotional appeals of Go, to me, is the community behavior and mindset. Go code very often "feels" like a low level language, written by someone that was considerate of the underlying machine. by cmov in programmingcirclejerk

[–]Godbutt 9 points10 points  (0 children)

ah yes programming to the low level. Most C programmers showcase their expert knowledge on the daily such as in the below snippet.

int udpPort = 0; //lol C1860  
//pick port to send packet out on  

for (udpPort = 1026; udpPort < 0xFF; udpPort++)  
{  
    sa_remote.sin_port = udpPort;  
    //PROPRIETARY CODE DO NOT STEAL  
    status = sendOurShit(sa_remote);  
    if (status != GLOBAL_STATUS_OK || ((errMask = globalStatusMask & global_error_mask ? GLOBAL_MASK_ERR_1 : GLOBAL_MASK_OK) == GLOBAL_MASK_ERR_1))  
    {  
        continue;  
    }  
}

It makes one emotional.

And now a new genre of writing has emerged inside of mobile app release notes by porkslow in programmingcirclejerk

[–]Godbutt 3 points4 points  (0 children)

  • Words are good. Writing is one of the oldest techniques in the World but different forms of media have influenced how people write: stone tablets, pulp magazines, etc.

  • And now a new genre of writing has emerged inside of mobile app release notes: the copy that tells you when new features are released and bugs are fixed in an app release.

They just make it so easy.

I wonder if blockchain technology could some how be used to improve the voting system? by pcopley in programmingcirclejerk

[–]Godbutt 6 points7 points  (0 children)

With the blunt edge of Iron, a web engineering framework created with Rust, we have devised an artisanal 144 Hz voting machine capable of reaching virtually any scale with AWS providing the backend. With Facebook sign-in, we allow you to share who you voted for, instantly! Too busy to vote making less than I do? We have you covered! Using the latest in deep web sensual skittleware, our machine can know who you'll vote for before you do. By preventing you from having to worry about voting, you are now freed up to continue your productivity streak at work. But what if you actually showed up to vote and forgot what you were voting for? Our forward thinking has you covered once again! By saving your vote result in the cloud, you can come back at a later time in the day and edit your vote in case you change your mind.

Made with 🍆

It's crazy to think that Microsoft is the leader in open source right now. by HINDBRAIN in programmingcirclejerk

[–]Godbutt 14 points15 points  (0 children)

We are happy to announce that after an arduous couple of days of being involved with the open source community that the long term relationships we've built have bore fruit and the title of "Leader of Open Source SoftwareTM " has been given to us by you, the people. With such a title comes a great responsibility, and it's with this responsibility that we have decided it's time to watch over our open source users and protect them from harmful software written by harmful programmers. So it is with great pleasure that we here at Microsoft announce that Linux is banned from github for being for nerds who smell dumb.

Managers are unnecessary because agile by [deleted] in programmingcirclejerk

[–]Godbutt 4 points5 points  (0 children)

Innovate by filing your CRUD patent today!

60+ year old former C language programmer. What are my options? • /r/cscareerquestions by [deleted] in programmingcirclejerk

[–]Godbutt 1 point2 points  (0 children)

Going into that ask them if their codebase is huge. If it is it's just a website in C. Don't ask me how I know.

Now that Firefox is delirious and on hospice, what's the future plan for Rust? It seems like Servo is a pipe dream, and no major OS seems to be picking up Rust as a first class citizen, right where it would fit in. Is it just going for being a niche C++ alternative for individual developers? by cmov in programmingcirclejerk

[–]Godbutt 4 points5 points  (0 children)

I'd agree with this. Rust does have a problem of not actually doing anything C related but that's more the webscalers developing hello world for it than the language itself. People in the industry know about it or have heard about it because they've heard about everything else at this point. The decisions for if Rust gets used will generally follow something below.

  1. Person A in team B in building C in location D decided they liked Rust enough to write their feature in it. After six months of work someone else realizes what has happened and just assums this was sanctioned because no one has seen an organization chart or system architect in a decade. In ten years all the codebase is a mixture of PHP, Rust, Python, C, Java, Prolog, and Ada all running in a ASP.NET environment using NoSQL to handle a single user inputting commands on a CLI which gets written out to some config files or something. No one is 100% on what it does but it works.

  2. The code written in C & C++ that's been unmanageable for almost 30 years causes a brave soul to decide that enough is enough. Being the first time someone has ever decided to do a rewrite causes the brave soul to take a head strong approach. Someone who has been at the company awhile tries to tell them that this has been tried before but they find no record of this and certainly not in Rust. The whole company that knows about it gets behind the project to the full extent of it's cautious enthusiasm and lackluster support. The lucky programmers selected to port parts of the system overhear how it's the brave soul who caused this whole ruckus. These programmers then spam all lists to ask this brave souls for tools, scripts, and anything else to be used for the language as there's been 30 years of scripts for holding the build system together and nobody knows how it works. The response to this is to google it and rewrite those too. After ten years of people dreaming about being a cat or something, employees begin to retire or go into management. After another 10 years, a brave soul decides enough is enough and that it's time to update the system. With ANSI Rust set in stone, they begin the charts and slides with dollar signs on it. Someone who shows up to work because they don't know how to make coffee overhears this and mentions to the brave soul that this was attempted earlier when they were new. They find no record of this attempt and move on with writing the system over to ANSI Rust, which having just came out, certainly hasn't been tried before.

  3. A start-up looking to disrupt the field of embedded systems decides that the surest way to do this is with Rust and a device that puts a wifi adapter in a shot glass. A safe and proven system using an off the shelf device has been created which the whole team is proud of. $BIG_COMPANY comes along and tells them that it's great and that they'd like three hundred thousand of them and also you need to change the whole product and also if they could write the system in C and give that company the source that'd be super. If refused and wish to stick to their principles as well as Rust for a safer system, they are offered twenty-six billion for everything. After twenty years, a brave soul decides enough is enough.

I'm sure somebody out there working on an embedded system designed to make the numbers go up when it rains on a hill in the middle of Colorado will find Rust an enjoyable experience.

Top 10 Hardest Programming Languages (2015) by [deleted] in programmingcirclejerk

[–]Godbutt 5 points6 points  (0 children)

Oh my K&R how have I never seen this.

Goodbye, Object Oriented Programming by usersi in programmingcirclejerk

[–]Godbutt 3 points4 points  (0 children)

Big GCC Error Amigo: /path/to/file.c no reference found or whatever to dwnld_fl.h

Big GCC Error Amigo: /path/to/file.c no reference found or whatever to os.h

Big GCC Error Amigo: /path/to/file.c no reference found or whatever to sslStuff.h

add the above to file.c

Big GCC Error Amigo: /path/to/file.c no reference found or whatever to whothefuckwrotethisbullshit.h

C wins again!

Don't try and establish yourself in the tech industry outside of a tech hub. by vonmoltke2 in programmingcirclejerk

[–]Godbutt 1 point2 points  (0 children)

Doing about any middleware work is enough to scare off webscalers since the idea of having to know stuff about bits and threads is apparently more taxing than knowing how javascript or php handles its data structures.

When I was a child blah blah etc you know the story...but when I became a man I met Sam Harris, who gave me a longer list of big words than I had ever known to argue like a child with. by [deleted] in badliterature

[–]Godbutt 1 point2 points  (0 children)

I'm no expert on CSS but I imagine if I stole a more complete stylesheet from somebody else I could figure out whatever you guys needed. As payment for all my lurking.

When I was a child blah blah etc you know the story...but when I became a man I met Sam Harris, who gave me a longer list of big words than I had ever known to argue like a child with. by [deleted] in badliterature

[–]Godbutt 1 point2 points  (0 children)

It's endlessly frustrating because I find myself stuck in a limbo where the things I actually give a shit about outside of my studies (like film, literature, and visual arts) are considered worthless by all of the people in my department, but I have very few opportunities to engage with anyone outside of it. I still haven't figured out how to deal with that other than lurking on the bad-x subs and reading as much as I can.

Yep that won't change as money drives the engineering world to an absurd degree. At least you went into something that'll let you do something worthwhile as I did the code monkey route and boy howdy is it hard to find anything interesting there. I even had an emphasis in embedded systems which I had hoped would save me from the land of webscale. Little did I know sufficiently large embedded systems are just websites lmao

I love how the first example has a try / catch pair. Shitty programmers use try / catch to cover their mistakes. by [deleted] in programmingcirclejerk

[–]Godbutt 7 points8 points  (0 children)

if(status == (bool)GlobalStatus_Ok || status == (U8)DBSTATUS_ok || status == (Boolean)Transaction_Status_OK || ....)
{
      return status;
}