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

u/cantaloupe6

0 posts · 36 comments · 36 total

Active in: v/programming (36)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?

Something like this:

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^news/(.*) /news?item=$1 [R=301,L]

</IfModule>

0 15 Mar 2020 03:33 u/cantaloupe6 in v/programming
Comment on: I made an AMMORPG in one year

Just make it fun so it grows, you can learn scaling.

0 01 Jan 2020 21:17 u/cantaloupe6 in v/programming
Comment on: What do you all think of w3schools for learning Python?

This link looks pretty good.

https://www.afternerd.com/blog/learn-python/

Use PyCharm and python version 3.x

With vim mode.

Python can use type hints and that can be helpful.

Scripting languages become a mess above 50k lines without Types; so the right tool for the task.

0 17 Dec 2019 23:53 u/cantaloupe6 in v/programming
Comment on: Can you get a job as a self-taught programmer?

The degree you have doesn't matter too much except it, should be something difficult. A science degree sounds alright.

A CS degree of course would make it easier. You have to know data structures and algorithms and be able to write (on a white board) from memory in a given language:

https://www.programiz.com/dsa

Interviews in that industry are stupid; because the people interviewing you have no idea how to do that - but they want to look good to their peers.

0 30 Nov 2019 06:40 u/cantaloupe6 in v/programming
Comment on: Scrapped Python, learning C# for Unity. Is 2 years development a naive estimate for a 40hr game?

The most important bit of a game is: what is fun about it?

The tech comes after. Minecraft for example - they saved money on art work, yet it was a fun game.

Next, what resources are there to make it? (People-money-time)

What's the simplest way to see immediate results?

List the most important features (spreadsheet?) Implement most important first; maybe never get to the end of the list.

Roughly 100k lines of code is a half year effort for a person.

Start immediately with a minimally functional game rather than commit two years.

0 12 Nov 2019 01:39 u/cantaloupe6 in v/programming
Comment on: Just about to give Pygame a try and.... :)

Pygame sucks. Try Unreal or Unity. Maybe join just to troll.

0 05 Nov 2019 00:48 u/cantaloupe6 in v/programming
Comment on: Can we setup VOAT mirrors?

SQL server can do the same.

It sounds like there were 6M (5.6M) request per minute. About 93k request per second.

0 31 Jul 2019 03:25 u/cantaloupe6 in v/programming
Comment on: Can we setup VOAT mirrors?

Maybe look into a Tor/onion configuration. When the main site is down, fall back to it. They can't ddos that.

The info spread, search Nicole Junkermann corruption, it's widespread now.

1 30 Jul 2019 23:29 u/cantaloupe6 in v/programming
Comment on: GitHub builds wall round private repos, makes devs in US-sanctioned countries pay for it

So create a repo on AWS, maybe use tails, etc.

0 29 Jul 2019 19:00 u/cantaloupe6 in v/programming
Comment on: Some people don't belong in this industry.

That's a rewrite.

First year programmers have an idealistic view of how the code should be, that it should adhere to a university orthodoxy, and have no concept that the customer absolutely does not care at all about that. So businesses do whatever.

Contractors have a vested interest in the code being a continually breaking mess, to perpetuate income.

Absolutely learn not to have interpersonal conflicts, it's just a job.

One common personality type includes being judgemental.

0 03 Jul 2019 02:57 u/cantaloupe6 in v/programming
Comment on: The programmer who created Python isn't interested in mentoring white guys

Mentor what - to be a cuck?

0 24 May 2019 03:15 u/cantaloupe6 in v/programming
Comment on: Attackers Wiping GitHub and GitLab Repos, Leave Ransom Notes

Exactly... seems lame

0 05 May 2019 04:33 u/cantaloupe6 in v/programming
Comment on: Git Flowchart - Is there a more serious flowchart like this somewhere?

Version Control with Git http://shop.oreilly.com/product/0636920022862.do

With git, to work well with others, you need to fully understand how it represents data; otherwise it'll stay awkward to work with. It does make it easier to work productively at that point. There are Dockers you can use to quickly get a git server running.

0 24 Apr 2019 04:20 u/cantaloupe6 in v/programming
Comment on: Building MongoDB Dashboard using Node.js

Thanks for sharing, there's trade offs on types of tech

0 22 Mar 2019 19:37 u/cantaloupe6 in v/programming
Comment on: Oracle Java sucks.

Sometimes it makes one wonder.

China use a very Sun Tsu style of spying - atttacking vacuities - places undefended. It should have been obvious; what were they thinking?

"China obtained the information through a complex information gathering matrix that included direct spying and the use of "front companies" in the United States as well as "a network of individuals and organizations that engage in a vast array of contacts with scientists, business people and academics," the report say

http://www.cnn.com/US/9905/25/cox.report.02/

0 09 Mar 2019 23:51 u/cantaloupe6 in v/programming
Comment on: Oracle Java sucks.

The closer one gets to the code the lower the faith in technology working, lol.

0 09 Mar 2019 23:36 u/cantaloupe6 in v/programming
Comment on: Linux Outreachy Program pays women $5000 to make trivial whitespace changes

great. now go please go build one of these types of processors http://www.magnonics.org/ because it needs to happen. jk

0 07 Mar 2019 20:02 u/cantaloupe6 in v/programming
Comment on: Linux Outreachy Program pays women $5000 to make trivial whitespace changes

He'd also want to know functional programming such as Java streaming or like Haskell, Database usage SQL, PL/SQL, T-SQL, etc. A prototype language used as such like JavaScript - node-JS. Tech like Oracle, MariaDB, SQL Server, PostgreSQL, etc. Various NoSQL DBs.

Principles or Programming languages ( how to make a compiler) OS - (how to create an OS) - it helps to make code not suck.

There are lots of data structures and algorithms abstract from any language https://courses.csail.mit.edu/6.006/spring11/rec/rec04.pdf

http://www.cs.cmu.edu/~fp/courses/15122-s11/lectures/18-avl.pdf

https://web.stanford.edu/class/cs97si/06-basic-graph-algorithms.pdf

Sorting Algorithms; Trees, graphs and related algorithms.

DB normalization - here are some of the basics: https://www.studytonight.com/dbms/database-normalization.php

Design patterns https://www.dofactory.com/net/design-patterns

Boolean algebra basics - https://kullabs.com/classes/subjects/units/lessons/notes/note-detail/3479

Ternary logic - for DBs.

Given a stack of resumes, how are the people examining his experience going to be comfortably certain that this guy is who they should recommend to the hiring manager over all the other candidates? That he doesn't have any holes in his knowledge that are going to bite them? (If they take a risk and are wrong they all look bad).

PyDev.org actually needs help maybe he could build credentials contributing to open source - then at least others can check his commits.

One also needs to be able to learn an enormous amount quickly, efficiently organize the information, interpret it intelligently, and present it (exactly like school work).

It typically takes a few years of work experience after a masters degree to be functional; if someone is really smart of course they can just do it.

0 07 Mar 2019 17:56 u/cantaloupe6 in v/programming
Comment on: Linux Outreachy Program pays women $5000 to make trivial whitespace changes

Can he math? It takes university level math and language skills to be functional.

Otherwise the following wouldn't even be understood.

https://scikit-learn.org/stable/supervised_learning.html#supervised-learning

0 07 Mar 2019 07:54 u/cantaloupe6 in v/programming
Comment on: Linux Outreachy Program pays women $5000 to make trivial whitespace changes

What's your favorite language or framework.

0 06 Mar 2019 22:41 u/cantaloupe6 in v/programming
Comment on: Linux Outreachy Program pays women $5000 to make trivial whitespace changes

Well most everything is cheaper there...

https://www.numbeo.com/cost-of-living/compare_countries_result.jsp?country1=United+States&country2=Portugal

0 06 Mar 2019 22:29 u/cantaloupe6 in v/programming
Comment on: Linux Outreachy Program pays women $5000 to make trivial whitespace changes

Well at least they didn't touch the code. If they claim they know how it works just say... okay explain how the scheduling works .. what is the architecture of the kernel? What changes did you make and why were they important? What kinds of device drivers are there? How do you make a new one? Etc.

It'll be real obvious if they know anything.

Probably it's the first time some kernel devs talked to a girl; so maybe money well spent?

0 06 Mar 2019 20:14 u/cantaloupe6 in v/programming
Comment on: Is it possible to transfer software to a new computer?

What programs?

0 23 Feb 2019 04:55 u/cantaloupe6 in v/programming
Comment on: decided I had to start somewhere

Coding a waifu with uncertainy is dangerous. Anyhow there are some python libraries.

https://github.com/topics/waifu

You should read about git source control a bit.

Anyway there was a teen killed by a misprogrammed waifu - so practice some MMA as well

http://knowyourmeme.com/forums/general/topics/47921-teen-kills-himself-to-be-with-waifu

0 20 Feb 2019 01:03 u/cantaloupe6 in v/programming
Comment on: What is the best way to keep your projects organized from start to finish?

For about 500k lines you can use a spreadsheet. Identify features and sub-tasks. Prioritize those. Identify what a minimal viable system would be, what should it do? Identify what technology you believe should be used - have at least three vendors. Try to adopt an existing well known architecture, can the system be split up as services? Create unit test so you know if changes break you system. Create a data-model so you have an idea of what's needed. After building a minimal viable implementation what updates to parts provides the most economic utility? Is there some part you can outsource? Is there tech you can adopt? They'll be making on going improvements.

Make some S.M.A.R.T. goals. Use a distributed source control system for exploratory work. Keep the sections of the system small enough to be held in ones head.

Create documentation that explains what the functionality should do and use a standardize format do you or anyone could come back later and have an explaination - include sequencing diagrams.

If you use REST services parts of the system can be mocked with scripting for a fast turn around.

The code should be very readable so that anyone could look an understand.

0 12 Feb 2019 03:19 u/cantaloupe6 in v/programming
Comment on: What is the best way to keep your projects organized from start to finish?

Personal projects or giant teams? 1k lines or #M? Small projects use git have an architecture, add a task list and purpose in comments as documentation.

0 12 Feb 2019 00:59 u/cantaloupe6 in v/programming
Comment on: What is the best way to keep your projects organized from start to finish?

Absolutely - above a half million it'd be horrible.

0 12 Feb 2019 00:50 u/cantaloupe6 in v/programming
Comment on: So I don't know anything about coding or programming (don't work in this field) but I want to learn, where should I start?

The havard course Khan Academy -free online

Instantly use this dev env https://www.codeanywhere.com/

It's a huge topic

0 08 Feb 2019 20:24 u/cantaloupe6 in v/programming
Comment on: Where Vim Came From

Interesting. Actually C++ template programming capability was discovered rather than intentionally created according to some accounts (just joking about them having discovered vim floating around in there too). It's inspiring that other communities may care more about quality and not succumb to CoC.

0 05 Feb 2019 01:31 u/cantaloupe6 in v/programming
Comment on: Where Vim Came From

Emacs is better (jk)... they vim was created on purpose more likely its was just discovered as a C++ programming artifact.

0 04 Feb 2019 22:57 u/cantaloupe6 in v/programming
Comment on: Core Debian developer summarily banned from project for referring to a transgender person with a non-approved pronoun

How about TempleOS in terms of license, or Tails in terms of quality? Presently favoring Kubuntu. (Could do kernel work if necessary) It sounds like OpenBSD may be the way to go next.

0 03 Feb 2019 17:18 u/cantaloupe6 in v/programming
Comment on: Top or bottom? (WTF)

Well they aren’t caring for a family - where's the evidence - there's so much propaganda.

0 30 Jan 2019 02:16 u/cantaloupe6 in v/programming
Comment on: Top or bottom? (WTF)

It's the new dog whistle of the alt-right (whoever they are?)

0 29 Jan 2019 19:06 u/cantaloupe6 in v/programming
Comment on: Top or bottom? (WTF)

Should let them know rainbows are racist they keep the colors separated.

0 29 Jan 2019 18:02 u/cantaloupe6 in v/programming
Comment on: Female Programmers

Used Ruby to make a string concat method...

0 30 Oct 2018 05:49 u/cantaloupe6 in v/programming
Comment on: I have a problem with some Java code

For value checks generally use equals (). The == is for reference comparison. It depends upon, static, objects, primitive types, etc. Also you're adding five to point1, not returning 5 in this snippet.

0 24 Oct 2018 00:27 u/cantaloupe6 in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

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