u/DukeofAnarchy - 36 Archived Voat Posts in v/programming
u/DukeofAnarchy
  • home
  • search

u/DukeofAnarchy

11 posts · 25 comments · 36 total

Active in: v/programming (36)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Discussion: Making Programming Language Parsers, etc (Q&A is in separate video).
1 0 comments 30 Mar 2020 17:14 u/DukeofAnarchy (..) in v/programming
Comment on: In Memoriam of Charles "Chuck" Peddle

Sad news. Thanks for sharing this.

0 24 Dec 2019 08:46 u/DukeofAnarchy in v/programming
Comment on: Learning the ultimate basics of Python, need help with one problem

You could use something like:

if input("Enter code: ") == "1938":

print("Correct")

0 23 Oct 2019 21:55 u/DukeofAnarchy in v/programming
Comment on: Learning the ultimate basics of Python, need help with one problem

What do you want to do?

  1. Test all the values and then print the text if and only if they all are correct.
  2. Start printing the letters if the first values are right, but stop once a single wrong value is encountered.
0 23 Oct 2019 21:36 u/DukeofAnarchy in v/programming
Comment on: Snowflake meltdown over "customer inclusion" at Gitlab (Merge branch 'customer-inclusion' into 'master')

They already reversed course totally: https://about.gitlab.com/company/strategy/index.html#customer-acceptance

Some reasons we may choose not to work with certain entities include, but are not limited to:

Making derogatory statements or threats toward our community.

Encouraging violence or discrimination against legally protected groups.

0 17 Oct 2019 19:17 u/DukeofAnarchy in v/programming
Jonathan Blow: Compiler Progress Report, July 2019
1 0 comments 04 Aug 2019 16:13 u/DukeofAnarchy (..) in v/programming
Comment on: IFF file format experiments

The same container format (but converted to little-endian byte order) was adopted by Microsoft as RIFF.

https://en.wikipedia.org/wiki/Resource_Interchange_File_Format

0 20 Apr 2019 14:34 u/DukeofAnarchy in v/programming
Comment on: Sex joke gets a React Week 2019 Conference boycotted, new CoC developed to "protect" participants

What they want is to get a Code of Commieduct imposed that will help them take control of the organization and politically purge it. Feigning offense is just a tool that they use because it gets them what they want.

0 27 Mar 2019 21:47 u/DukeofAnarchy in v/programming
Comment on: Sex joke gets a React Week 2019 Conference boycotted, new CoC developed to "protect" participants

It wasn't offensive at all. It's a mistake to treat these people as if they were at all honest. For them it's all about power and language is just a weapon.

0 27 Mar 2019 21:44 u/DukeofAnarchy in v/programming
Comment on: [Beginner Python lesson] The Jewnerator: Generate a 100% authentic true Jewish name that would make Noseberg Shekelman proud!

Improved Jew generator with more names and ten results at a time:

import random
print("Jew name generator.")
first_names = ("Alan", "Barbara", "Bella", "Ben", "Bernie", "Chaim", "David", "Deborah", "Dianne",
               "Elaine", "Ellen", "Irving", "Isaac", "Israel", "Jerry", "Joe", "Judy", "Leonard",
               "Madeleine", "Max", "Moses", "Moshe", "Rachel", "Ruth", "Samuel", "Saul", "Shlomo",
               "Simon", "Susan", "William")
last_starters = ("Adel", "Alt", "Ber", "Blumen", "Fein", "Finkel", "Fried", "Gold", "Gold", "Green",
               "Hoff", "Kauf", "Leh", "Mad", "Rosen", "Roth", "Silver", "Stein", "Weiz", "Zucker")
last_enders = ("berg", "baum", "berger", "blatt", "coff", "gold", "man", "man", "schmidt", "son",
               "stein", "thal", "witz")
while True:
    print()
    for i in range(10):
        first = random.choice(first_names)
        last = random.choice(last_starters) + random.choice(last_enders)
        print("", first, last)
    if input("\nEnter 'n' to quit or press enter to try again.") == "n":
        break
0 19 Feb 2019 21:02 u/DukeofAnarchy in v/programming
Comment on: decided I had to start somewhere

/v/LearnPython is a ghost town now but you may find some useful posts there.

https://voat.co/v/LearnPython/48367

0 19 Feb 2019 18:27 u/DukeofAnarchy in v/programming
Comment on: [Beginner Python lesson] The Jewnerator: Generate a 100% authentic true Jewish name that would make Noseberg Shekelman proud!
from random import choice
print("Jew name generator.\n")
first_names = ("Alan", "Bella", "Ben", "Bernie", "David", "Deborah", "Dianne", "Elaine", "Ellen",
               "Isaac", "Israel", "Jerry", "Joe", "Madeleine", "Moses", "Samuel", "Simon", "William")
last_starters = ("Ber", "Blumen", "Fein", "Gold", "Leh", "Mad", "Rosen", "Roth", "Weis")
last_enders = ("berg", "berger", "coff", "gold", "man", "man", "stein", "thal", "thal", "witz")
while True:
    first = choice(first_names)
    last = choice(last_starters) + choice(last_enders)
    print("\n" + first, last)
    if input("\n\nEnter 'n' to quit or press enter to try again.") == "n":
        break
0 19 Feb 2019 18:18 u/DukeofAnarchy in v/programming
Comment on: Getters/Setters are an Awful Programming Practice

That's a feature, not a bug. OOP is garbage.

0 13 Feb 2019 15:35 u/DukeofAnarchy in v/programming
Comment on: Getters/Setters are an Awful Programming Practice

Object oriented programming is trash.

0 13 Feb 2019 15:33 u/DukeofAnarchy in v/programming
Comment on: Software Disenchantment

That's the code that stops the program from running unless the user has the right version of Microsoft Visual C++ Redistributable installed, so that you never know whether your Win32 applications will run on machines other than the one you compiled on. It's a feature!

0 26 Sep 2018 12:33 u/DukeofAnarchy in v/programming
#Gamelab2018 - Jon Blow's Design decisions on creating the Jai language
1 0 comments 26 Jul 2018 17:58 u/DukeofAnarchy (..) in v/programming
Virtual Memory Tricks
1 0 comments 03 May 2018 21:20 u/DukeofAnarchy (..) in v/programming
Comment on: How difficult is it to create a search engine?

Easy to make one, hard to make a good one, hard to fund it.

0 02 May 2018 17:49 u/DukeofAnarchy in v/programming
Comment on: Coding Saves

I would. Why not?

0 29 Apr 2018 16:23 u/DukeofAnarchy in v/programming
Dennis M. Ritchie - The Development of the C Language
2 0 comments 12 Apr 2018 20:35 u/DukeofAnarchy (..) in v/programming
Comment on: Bitwise, Day 0: Overview and Q&A

Bitwise is a free educational project about building the software and hardware stack for a simple computer from scratch, running on an FPGA. This includes all the systems software, including operating system, compiler, etc, as well as the HDL source code for the CPU, graphics chip, peripheral controllers--all of it.

https://bitwise.handmade.network/

0 12 Apr 2018 20:06 u/DukeofAnarchy in v/programming
Bitwise, Day 0: Overview and Q&A
1 1 comment 12 Apr 2018 20:06 u/DukeofAnarchy (..) in v/programming
Comment on: C++ Will No Longer Have Pointers

"Modern C++" is already a pile of shit. The only salvation of C++ today is that you can still use the language language like classic C with some actually useful additional features (although Stroustrup and his short bus companions have always made this harder than it should have been). This is just more motivation for good programmers to look for (or create) alternatives to C++.

0 01 Apr 2018 19:22 u/DukeofAnarchy in v/programming
Comment on: Jonathan Blow on Exceptions and what it means to be an Engineer

The youtube link should take you to 2:29:30, which is the relevant part of the video.

0 12 Aug 2017 20:05 u/DukeofAnarchy in v/programming
Jonathan Blow on Exceptions and what it means to be an Engineer
4 3 comments 12 Aug 2017 17:13 u/DukeofAnarchy (..) in v/programming
Comment on: Only 36% of Indian engineers can write compilable code: study

Whatever their faults, the British saved the Hindu Indians from being utterly exterminated by the Muslims.

0 10 May 2017 17:51 u/DukeofAnarchy in v/programming
"Making Game Programming Less Terrible" - Jonathan Blow (Reboot Develop 2017)
2 0 comments 02 May 2017 17:17 u/DukeofAnarchy (..) in v/programming
Comment on: Programmers are having a huge discussion about the unethical and illegal things theyve been asked to do

It's worse than that. What Robert Martin wants is to set himself up as the head of a government-backed cartel and outlaw the employment of programmers without a license from him.

6 21 Nov 2016 19:44 u/DukeofAnarchy in v/programming
Comment on: Programmers are having a huge discussion about the unethical and illegal things theyve been asked to do

It's a propaganda piece promoting scummy cocksucker Robert Martin and his push for government regulation and compulsory licensing of programmers.

9 21 Nov 2016 19:38 u/DukeofAnarchy in v/programming
Comment on: Interview Techniques for Hiring Programmers | Casey Muratori

The link should take you to the right point in the stream (which is 1:20:28), and the discussion of interview techniques goes on for about 13 minutes.

0 06 Nov 2016 15:11 u/DukeofAnarchy in v/programming
Interview Techniques for Hiring Programmers | Casey Muratori
1 1 comment 06 Nov 2016 14:56 u/DukeofAnarchy (..) in v/programming
Comment on: Programmer quits work on project after getting triggered by a variable name (The comments, however . . .)

Another typical shit head woman working in IT.

https://images.encyclopediadramatica.se/8/8b/Ironholds_wtf.jpg Doesn't look like a typical woman to me.

0 03 Feb 2016 19:48 u/DukeofAnarchy in v/programming
Implementing introspection using metaprogramming - Casey Muratori
5 0 comments 05 Nov 2015 23:36 u/DukeofAnarchy (..) in v/programming
Comment on: Anyone know any good resources for beginner C++?

https://www.visualstudio.com/en-gb/products/visual-studio-community-vs

Q: Who can use Visual Studio Community?

A: Here’s how individual developers can use Visual Studio Community:

Any individual developer can use Visual Studio Community to create their own free or paid apps.
1 23 Mar 2015 20:25 u/DukeofAnarchy in v/programming
Comment on: Intro to C on Windows - Day 1

http://handmadehero.org/

"Handmade Hero is an ongoing project to create a complete, professional-quality game accompanied by videos that explain every single line of its source code. ... Although 100% of the programming for the game is captured in the videos, each step is also accompanied by continuous explanation of what is going on and why. It is meant to serve as a de facto class on game programming. "

1 24 Dec 2014 20:07 u/DukeofAnarchy in v/programming
Intro to C on Windows - Day 1
13 5 comments 24 Dec 2014 20:05 u/DukeofAnarchy (..) in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.