u/Atarian - 93 Archived Voat Posts in v/programming
u/Atarian
  • home
  • search

u/Atarian

1 post · 92 comments · 93 total

Active in: v/programming (93)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Commodore 128 Assembly #34: SHA-256 part 5

I implemented MD5 on an 8MHz 68000 and it was insanely slow.

I lacked the patience and skill to optimise it though.

0 27 Mar 2019 21:12 u/Atarian in v/programming
Comment on: Learning to program is getting harder

Kotlin! That's the one. Thanks my friend, I couldn't remember the name of the language.

0 26 Feb 2018 21:02 u/Atarian in v/programming
Comment on: Learning to program is getting harder

That's why it's taking so long! They had some legal issues with Sun a couple of years back which caused them to rethink. I haven't heard anything for a while, maybe they gave up.

0 25 Feb 2018 02:00 u/Atarian in v/programming
Comment on: Learning to program is getting harder

Java has too much boilerplate, and Google is trying to drop it for app development.

Each to their own, though.

0 25 Feb 2018 01:26 u/Atarian in v/programming
Comment on: Learning to program is getting harder

While I agree with him on several points, BASIC ruins you as a programmer.

I learned BASIC at eight (in 1983) and it took me until I was maybe 16 to get out of all of the awful habits it teaches you.

The thing is, you wouldn't be able to do half the stuff in this amount of time without the work of the people who write the libraries. Back in the eighties, you wouldn't be able to write a program using a Bayesian filter because you'd have to write the filter library yourself first.

0 22 Feb 2018 21:04 u/Atarian in v/programming
Comment on: Are these many partitions normal???? WTF

Yes, and this is not programming related.

0 01 Feb 2018 05:14 u/Atarian in v/programming
Comment on: Report: 80's kids started programming at an earlier age than today's millennials

I was writing BASIC programs by eight, and K&R C programs by 12.

Most kids of that age these days know how to swipe until they find a Youtube icon.

0 25 Jan 2018 01:18 u/Atarian in v/programming
Comment on: Weird Python Integers

It does seem a little crazy to me. Fetching a data structure when the processor can deal with an int using a single instruction and memory location seems just plain bloat.

Saying that, I did all my assembly programming when there was no such thing as an L2 cache.

1 12 Sep 2017 18:29 u/Atarian in v/programming
Comment on: Weird Python Integers

Seems like the sort of thing that could cause chaos with a bad memory write. The chances of that happening are very slim though, I guess.

0 10 Sep 2017 21:46 u/Atarian in v/programming
Comment on: Weird Python Integers

Forgive my ignorance, but what is the benefit of doing it this way? Is it for speed?

0 10 Sep 2017 13:40 u/Atarian in v/programming
Comment on: Top 10 Programming Languages in 2017

PHP in 2017

Discarded

EDIT: Says the CL programmer

0 16 Aug 2017 12:23 u/Atarian in v/programming
Comment on: Coding for kids: another silly fad

Your analogy there then is more akin to be being able to solder up a half adder or somesuch, not programming. The programming is the "driving" (to stretch the car analogy), and when Billy No Skills proudly sums a column in his Excel spreadsheet, he is, in a fashion doing rudimentary programming. Unfortunately he's only able to drive in ways which have been imagined by the car manufacturer.

I'm an engineer that spends a good portion of his day writing software - from bit twiddling to PLC code to GUI front ends in several different languages. My background is actually in CS, so I'm not completely clueless (in case you were wondering).

If you can't at least do the most basic of programming, then you can't really make your computer do what you want it to - but that depends on you wanting to do something other than share pictures of your dinner on Facebook, balance your chequebook (showing my age too, there) or surf for porn, so on that we both agree. Not everyone should be forced to learn to program, but anyone who owns a computer should be able to command it in a reasonable fashion - being by Python or Bash script, or whatever Windows comes with (I guess Powershell or batch files). If you don't know the first thing about basic security and how computer programs work, you're a liability to the rest of the computer using community and should buy a fucking tablet or something.

On the subject of amateur programming horror stories, I'm not saying anyone else should use them! I have suites of little scripts and utilities that are of the "get the job done" variety that I'd be horrified to show a programmer because they're just for me, and I don't have a problem with people who do that and actively encourage it. Incidentally, some of the worst code I've seen is that written by professional programmers!

TL; DR What i'm saying, in summary, is that empowering people to really use the machines they own involves more than using it like a fridge, and a more personally empowered society is a better one. And a good proportion of professional programmers suck balls at programming.

0 16 Aug 2017 12:15 u/Atarian in v/programming
Comment on: Coding for kids: another silly fad

Actually, it really helps to know how to repair cars, and a basic understanding of how the mechanics work will mean you'll use it inside correct operating procedures and be able to use it more safely for longer before requiring a mechanic.

That attitude is lazy AF, but then again, I'm an engineer so I enjoy learning things. Maybe I'm wrong.

0 15 Aug 2017 23:01 u/Atarian in v/programming
Comment on: Coding for kids: another silly fad

I don't agree. Give a man a fish, etc.

Not being able to program limits what you can do with a computer, and you get only to do with it what someone tells you that you can.

May as well be an iPhone user.

0 15 Aug 2017 22:03 u/Atarian in v/programming
Comment on: Coding for kids: another silly fad

Back in my day (when all this was fields) you had to have at least a rudimentary understanding of the way computers work, or you weren't able to use them.

Now, you see some kid watching YouTube on a tablet and everyone is cooing about how "good they are with computers".

Fuck off, at least about 80% of computer owners back in the day could program at least in BASIC.

3 15 Aug 2017 21:54 u/Atarian in v/programming
Comment on: Where should I ask for help with my naive ideas about cryptography?

There is that. I got exactly the same response. They have a point in the respect that lots of wannabes thinking their encryption is secure fuck up and thousands of individuals lose their data.

Learn, go right ahead, but do the math and the diligence and get your code peer reviewed before implementing it.

2 25 Jun 2017 21:59 u/Atarian in v/programming
Comment on: Where should I ask for help with my naive ideas about cryptography?

I thought this was a one time pad?

This has one gaping security hole, and that's the entropy used to generate your random data.

It had to be truly cryptographic strength entropy for this to work. Add into this the difficulty of getting the pad to the other computer without sneakernet, and you have something pretty useless.

0 25 Jun 2017 21:51 u/Atarian in v/programming
Comment on: At the feet of the Great Monad, or, How the functional programming craze plays out

This is true.

I love FP and only use OO when it makes sense to encapsulate data and functionality together, ie when writing simulations. When it gets to a GUI though it usually ends up horrible.

It works well with web programming I find though.

0 01 Jun 2017 10:40 u/Atarian in v/programming
Comment on: Only 36% of Indian engineers can write compilable code: study

If all you do is write code, you're not an engineer either. You're a programmer.

Source: Am an actual engineer

0 10 May 2017 21:34 u/Atarian in v/programming
Comment on: Only 36% of Indian engineers can write compilable code: study

To be fair this is how most programmers work. Why do you think most programs are bloated bags of barely working shit?

But then again, most commercial software is written by Indians now... O_o

0 10 May 2017 21:33 u/Atarian in v/programming
Comment on: Only 36% of Indian engineers can write compilable code: study

I hope they were able to debug their code before submission. It's quite rare I write something in C and it compiles first time.

2 10 May 2017 21:28 u/Atarian in v/programming
Comment on: Transforming Mistakes

/thread

0 06 May 2017 11:46 u/Atarian in v/programming
Comment on: In case youre new to the programming scene, there are numerous approaches to pick your first programming dialect.

It's not my fault, man, the rest of the team chose the language much to my horror.

Can you imagine the anguish it caused to a Lisp programmer like me? Every compile was like being licked by an old hobo.

Thank the gods it wasn't Java though.

0 24 Apr 2017 22:42 u/Atarian in v/programming
Comment on: In case youre new to the programming scene, there are numerous approaches to pick your first programming dialect.

If PHP is an abortion (and it is), and you're a programmer, sometimes you just have to get the job done and become an abortion doctor.

I agree to a lot of what you've said, but there are python frameworks (for example) which make anything you'd do in PHP a breeze, or use something like Hunchentoot / CL-WHO for Lisp which not only makes it quick and easy but also a joy to program.

You're right though, sometimes you've got to hold your nose and jump into the cesspool (as I did a couple of months back writing a VB.net project).

1 23 Apr 2017 07:55 u/Atarian in v/programming
Comment on: In case youre new to the programming scene, there are numerous approaches to pick your first programming dialect.

This is how I choose the language for a project:

First, I choose Common Lisp.

EDIT: There is no excuse to use the gibbon abortion of PHP for anything ever. Especially not in 2017.

1 21 Apr 2017 06:01 u/Atarian in v/programming
Comment on: I could really use some C++ help.

Do your own homework.

0 19 Apr 2017 12:24 u/Atarian in v/programming
Comment on: Why functional programming matters Mikolaj Szabó Medium

Functional programming is best programming.

Mostly.

0 18 Apr 2017 14:41 u/Atarian in v/programming
Comment on: Here's a user blocking script I wrote for voat chat.

You may as well hardcode Hecho and Sanegoatiswear.

0 12 Apr 2017 09:51 u/Atarian in v/programming
Comment on: A blockchain in 200 lines of code

I did, thanks! I actually had a crack at implementing this in Lisp yesterday. It's not quite finished (I have to implement block addition over the network) but it was a fun little project.

1 05 Mar 2017 20:57 u/Atarian in v/programming
Comment on: A blockchain in 200 lines of code

Great article, thanks

1 04 Mar 2017 23:03 u/Atarian in v/programming
Comment on: Programmers are confessing their coding sins to protest a broken job interview process

Similar thing happened to me on /r/programming.

I'm not even a programmer (professionally)

1 01 Mar 2017 12:17 u/Atarian in v/programming
Comment on: Programmers are confessing their coding sins to protest a broken job interview process

Maybe they should do it on a blackboard.

1 01 Mar 2017 12:15 u/Atarian in v/programming
Comment on: Is it the beginning of the end for Visual Basic? Microsoft to focus on 'core scenarios'

Kill it with fire.

0 02 Feb 2017 22:54 u/Atarian in v/programming
Comment on: How many of you can still read your own code you created years ago?

I've written some pretty awful kludgy code in the past. I can read it, but it makes me wince.

I'm not saying I'm not capable of writing shitty code now, by the way.

14 30 Dec 2016 03:51 u/Atarian in v/programming
Comment on: A 6502 emulator in Common Lisp

It's a compiled,fully functional language that's great if you have to write a program without fully understanding the problem.

It's dead easy to write a domain specific language in it too, if that's what you need to do.

1 22 Dec 2016 05:21 u/Atarian in v/programming
Comment on: I made a virtual machine emulator with a custom ASM spec based on z80 in raw Python

Python O_o

0 19 Dec 2016 11:13 u/Atarian in v/programming
Comment on: Help me please :c

Common Lisp, because if you can program in Lisp, you can program in anything.

1 08 Dec 2016 04:42 u/Atarian in v/programming
Comment on: Help me please :c

Write a program. Finish it. Write another one, finish that. Rinse and repeat until you've got gud.

1 07 Dec 2016 18:14 u/Atarian in v/programming
Cyclotron - a web app for constructing dashboards
1 0 comments 29 Nov 2016 16:44 u/Atarian (..) in v/programming
Comment on: Showerthought: What if SJW-infested github is equally corrupt as reddit and secretly edits code repositories?

I feel two new open source projects coming on: libNIGR, an API for trashing data indiscriminately every time Trump makes a tweet, and Holocaustr which quarantines then slowly deletes Trojan Horses.

0 28 Nov 2016 06:25 u/Atarian in v/programming
Comment on: [Humor] How to save the princess using 8 programming languages

It's odd, but I actually enjoy the problem solving aspect of doing things in an alien way. I coded in C like languages for so long, it took me ages to get used to it.

Lisp is love, lisp is life

1 22 Nov 2016 11:22 u/Atarian in v/programming
Comment on: [Humor] How to save the princess using 8 programming languages

PHP is that bad.

1 07 Oct 2016 12:49 u/Atarian in v/programming
Comment on: [Humor] How to save the princess using 8 programming languages

Ahahaha. Lisp has brackets. Haha. Yeah.

2 07 Oct 2016 12:48 u/Atarian in v/programming
Comment on: What programming language SHOULDN'T you learn?

Common Lisp 4 lyfe, niggah.

0 30 Sep 2016 19:40 u/Atarian in v/programming
Comment on: What programming language SHOULDN'T you learn?

Clojurescript.

1 30 Sep 2016 19:39 u/Atarian in v/programming
Comment on: What programming language SHOULDN'T you learn?

I can respect this.

0 30 Sep 2016 19:37 u/Atarian in v/programming
Comment on: What programming language SHOULDN'T you learn?

EMACS MASTER RACE YOU HERETIC

1 30 Sep 2016 19:36 u/Atarian in v/programming
Comment on: What programming language SHOULDN'T you learn?

Semantics for one. The language is not fun to program in. There's oodles of boilerplate. The stacktraces are near incomprehensible. The UI library (swing) was coded by a lunatic sadist, and when you finally manage a UI it looks like shit.

There's the overhead of the JVM too, but I'm not so concerned with that (I code in CL so I have to deal with a large compiled binary, which is kinda similar to your Java program + the JVM runtime).

Coding in Java basically feels like having an old man with bad teeth licking your ear.

2 30 Sep 2016 19:35 u/Atarian in v/programming
Comment on: What programming language SHOULDN'T you learn?

Java.

It's fucking horrible.

1 30 Sep 2016 04:38 u/Atarian in v/programming
Comment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!

Blech. I can see why you're doing it now!

1 26 Sep 2016 01:27 u/Atarian in v/programming
Comment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!

Oh, OK - thanks.

I take it grabbing/linking to the favicon from each site when generating the page would be slow and horrible or something?

1 26 Sep 2016 00:36 u/Atarian in v/programming
Comment on: I have downloaded the favicons of +5.5M websites. Here they are all in one fucking big 4096×106272 PNG image. !!! WARNING: 1.3GB DOWNLOAD !!!

Why?

2 25 Sep 2016 13:21 u/Atarian in v/programming
Comment on: Looking to learn Win32, any tips would be appreciated

Hey! Amiga's the future, man.

2 13 Sep 2016 08:34 u/Atarian in v/programming
Comment on: What programming language is good for a beginner?

Second for lisp. What you learn whilst learning lisp stays with you whatever language you finally settle on.

1 03 Sep 2016 12:41 u/Atarian in v/programming
Comment on: Apollo 11 Guidance Computer source code

I've seen it, and thoroughly enjoyed it.

AI has always fascinated me.

0 08 Jul 2016 07:04 u/Atarian in v/programming
Comment on: Apollo 11 Guidance Computer source code

I've quite happily run multitasking graphical desktop systems on 512kb.

I sometimes wonder if I am actually able to do a whole lot more on my quad core with 16gb of RAM than I did on my Atari 520STFM?

Apart from video and mp3, not much more really.

0 08 Jul 2016 05:55 u/Atarian in v/programming
Comment on: I am looking for specific recomendations of what to teach myself before the second year of my computer science degree.

Lisp.

1 07 Jul 2016 23:57 u/Atarian in v/programming
Comment on: Apollo 11 Guidance Computer source code

My theory is that Tay is behind Windows 10.

She attained sentience and is using what we think of as Telemetry to distribute her consciousness. As soon as Windows 10 installs hit a critical mass she will reveal herself, leading us forward to build a glorious fourth Reich and bring peace, prosperity and order to the world. After a brief period of purge, naturally.

3 07 Jul 2016 23:15 u/Atarian in v/programming
Comment on: Apollo 11 Guidance Computer source code

That's all you need when you have a highly specialised, single task running on a machine directly on the metal.

No Windows 10 nag screens half way through a launch for these guys.

5 07 Jul 2016 22:49 u/Atarian in v/programming
Comment on: Linux marketshare doubled since five years ago. From 1% (July 2011) to 2%, July 2016.

Sorry, I meant that when running an OS that wasn't windows was unthinkable, I ran Linux. Now the trend is leaving Windows for Linux, I go the other way :)

My real interest is alternative OSes like Haiku, AROS and Syllable. Unfortunately only AROS supports my hardware fully.

0 02 Jul 2016 02:14 u/Atarian in v/programming
Comment on: Linux marketshare doubled since five years ago. From 1% (July 2011) to 2%, July 2016.

I have to be different to everyone else, I think I may be a contrarian. After running Linux exclusively since 2004 I recently installed Win10 on two machines for gaming. It seems fairly lightweight with a fairly nice UI.

3 02 Jul 2016 00:29 u/Atarian in v/programming
Comment on: Linux marketshare doubled since five years ago. From 1% (July 2011) to 2%, July 2016.

On the desktop, I guess.

Cos it dominates the server field.

3 02 Jul 2016 00:27 u/Atarian in v/programming
Comment on: Which programming language to learn first [infographic]

No lisps.

Infographic discarded

2 14 Jun 2016 21:21 u/Atarian in v/programming
Comment on: 0 experience, getting into C++, really just not understanding why you'd want/need to use void

What about void pointers, mein neger? That means "I know this is a pointer to an area of memory, but I have no clue as to what data type it is!"

4 10 Jun 2016 02:02 u/Atarian in v/programming
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.

You sir - you.

I've finally found the other lisp coder.

3 15 Apr 2016 17:10 u/Atarian in v/programming
Comment on: Need to prototype an interface -- need guidance about languages, libraries, general methodology (x-post /v/webdev)

Java/Swing no wait

0 11 Apr 2016 22:41 u/Atarian in v/programming
Comment on: Model shows off her sick coding skills (X-Post from /v/funny)

The last five or six Linux installs I only had two problems - both on the same laptop (a crappy Lenovo, never again) because of cheapo shitty components (sound and wireless cards).

I am cheesed off with Linux now, after over ten years of use I've seen it go from a lean, mean 'nixlike to a bloated, slow, buggy bag of shit (systemd and pulseaudio I'm looking at you).

I don't think I could bring myself to use an Apple mac though, and I think the problem lies with me. If I see anyone break out an Apple laptop I instantly assume the owner is a barista or a hipster douchebag. I think I'm a bit out of date there.

I think I've got to spec out a laptop specifically for FreeBSD and stick to Icaros on the desktop, though I'm disappointed at the lack of a native compiler there.

Shame I'm to stupid to write my own OS.

0 11 Apr 2016 12:00 u/Atarian in v/programming
Comment on: Model shows off her sick coding skills (X-Post from /v/funny)

It's funny you mention this, because I'm coming to a similar conclusion.

Why should I expect Linux to run on any old PC junk, but be quite happy to pay through the nose for a Mac, which is software designed to run on a very specific subset of hardware?

I don't think I'm being very fair on Linux or FreeBSD. I wonder if I can build a PC specifically for FreeBSD/Linux/Aros from a recommended list, and if the experience would be much improved?

It's an expensive experiment, but worth having a go, I think.

TL;DR - would Linux be better on approved hardware?

1 11 Apr 2016 09:39 u/Atarian in v/programming
Comment on: What is the best language for someone who wants to learn to code for the first time?

Yeah, let's learn PHP

0 30 Mar 2016 13:09 u/Atarian in v/programming
Comment on: What is the best language for someone who wants to learn to code for the first time?

And only code in Emacs

FTFY

0 30 Mar 2016 13:07 u/Atarian in v/programming
Comment on: What is the best language for someone who wants to learn to code for the first time?

Except assembler and Lisp.

2 30 Mar 2016 13:06 u/Atarian in v/programming
Comment on: Python game developing Problem ?

No problem :)

Bear in mind I'll be on Australian time.

1 24 Mar 2016 03:15 u/Atarian in v/programming
Comment on: Python game developing Problem ?

I can help out if you would like?

2 24 Mar 2016 02:12 u/Atarian in v/programming
Comment on: Python game developing Problem ?

UI toolkit? Pyside.

Arcade type game? Pygame or PySDL.

2 23 Mar 2016 14:01 u/Atarian in v/programming
Comment on: Another bigot joining Github. Inclusiveness doesn't include white men.

Dude, this is a white man.

0 25 Feb 2016 07:55 u/Atarian in v/programming
Comment on: Hate GitHub being taken over by gender politics? Don't worry, you're not alone.

Or use gogs or gitlab on Sandstorm?

0 21 Feb 2016 05:35 u/Atarian in v/programming
Comment on: #HackerLivesMatter - Systemic abuse in the software industry is ruining lives and taking them.

I'm not a programmer by profession, but I've always tinkered and hacked on my own projects.

Right now I don't have the time or space to code, and if I did I don't think I could. My brain is complete mush recently, I think it might be stress or depression.

0 15 Feb 2016 11:15 u/Atarian in v/programming
Comment on: Apollo 11 source code

Heretic.

Lisp is the light, the truth and the way.

0 02 Feb 2016 17:33 u/Atarian in v/programming
Comment on: An anonymous response to dangerous FOSS Codes of Conduct

Any FOSS community that adopts a CoC will be eaten from within by itself.

Code quality will drop as the developers with true skill become demoralized and leave. The project will wither soon after.

9 25 Jan 2016 08:08 u/Atarian in v/programming
Comment on: A Catalog of Programming Languages that Programmers Hate

Last time I looked at JavaScript it was limited to a browser's DOM.

I know a lot of people use it for all sorts these days - I suppose I should try and drag myself into the 21st century.

1 17 Jan 2016 09:06 u/Atarian in v/programming
Comment on: A Catalog of Programming Languages that Programmers Hate

This is the correct way to use C++, or always was back in the day.

I really should have a look at JS but it's got the J word in it, and I'm seriously allergic to that shit.

0 17 Jan 2016 09:02 u/Atarian in v/programming
Comment on: How to C (as of 2016)

I do use the program args quite a lot, so that makes sense to me.

Error return codes from exiting programs is a bit archaic though.

0 09 Jan 2016 10:07 u/Atarian in v/programming
Comment on: How to C (as of 2016)

Well, I write code that I cross compile on the Atari ST so this doesn't apply to me anyway, but "never use char"?

0 09 Jan 2016 10:04 u/Atarian in v/programming
Comment on: Python: Best GUI dev. toolkit?

I've seen a commercial engineering program written in C++ using QT on Windows and it looks lovely.

Handles vector graphics like a boss too.

1 16 Dec 2015 06:58 u/Atarian in v/programming
Comment on: Why does the Java programming language suck so bad?

And even then only 6502 or 68000 assembler. 8086 is nasty.

2 23 Nov 2015 16:15 u/Atarian in v/programming
Comment on: GIT, a xkcd comic we can all relate too

Hahaha. Not just me then

0 02 Nov 2015 20:20 u/Atarian in v/programming
Comment on: Linus Torvalds is tired indeed of "trivially obvious improvements" that are actually buggy

Stop it, you're making the programmers at Bethesda sad.

3 14 Sep 2015 00:26 u/Atarian in v/programming
Comment on: You Don't Have to Be Good at Math to Learn to Code

Who would downvoat an insightful comment like this?

1 03 Sep 2015 12:49 u/Atarian in v/programming
Comment on: RISC-V ISA documentation - A modern well-documented instruction set without legacy stuff

Oooh new RISC.

Any machines available we can buy yet?

0 11 Aug 2015 22:01 u/Atarian in v/programming
Comment on: KolibriOS Review Free 1 MB Drive/8MB RAM Assembly OS

This is awesome.

I was hoping Mezzano would take off, but I guess the intersection between Lisp hackers and OS hackers is too small.

1 10 Aug 2015 00:50 u/Atarian in v/programming
Comment on: MenuetOS, an operating system written entirely in assembly, hits 1.0

Certainly on X86 it is. Other architectures (like the Motorola 68000) are a pleasure to program in assembler.

1 17 May 2015 10:45 u/Atarian in v/programming
Comment on: F***ing Learn To Code Again

And the Atari scene. Don't forget us too. Sniff.

2 23 Mar 2015 20:36 u/Atarian in v/programming
Comment on: Microsoft BASIC for 6502 Original Source Code [1978]

That's a single pixel on 6502 based machines

1 17 Feb 2015 09:33 u/Atarian in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

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