The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
[Programming] Kafkaesque rabbits in the queue at the pub
This is the PA programming thread, home to programmers everywhere. Here we talk about cats, ponies, synergised high-efficiency software cloud platforms, and occasionally programming.
PADev.net is a project started up by this thread to support PA developers. A discussion about shared hosting turns into an idea to have hosting and a community to support those working on hobby programs and web services and what not.
Some things require a dedicated VPS but the bar of entry isn't that low. The cost is not extravagant but the know-how required to manage one is daunting for many. PAdev.net provides a share of hosting and support, a $5 monthly fee nets you a shell account on the hub server and the expertise of your peers.
Community members looking to help out can request an account for the website, where all members can create and maintain guides and share project updates. There is no cost to have a community account, just contact an administrator. Also available are you@padev.net email accounts or forwarders.
Python - One of the most popular scripting languages around, Python is the go-to language for...just about everything, actually. Its high scalability and widespread support through third-party libraries make it useful for many applications, from simple five-minute jobs to complex Web servers. Python can also be embedded or bound into lower-level languages such as C, letting you write performance-critical code as well as providing access to libraries written for those languages.
Ruby - Another popular scripting language, Ruby is best known as the basis for Ruby on Rails, a framework for Web development that competes with its Python equivalent, Django. While not quite as famous as the juggernaut that is Python, Ruby is nonetheless prolific - modern versions of RPG Maker use it as their scripting language, for instance. And, of course, it can be embedded into other applications, much like Python.
Lua - Yet another scripting language. Lua is built on two principles: simplicity and minimalism. Designed with embedding in mind, Lua's overhead is tiny (it can be counted in hundreds of kilobytes at most) and the language itself only provides a handful of constructs...until you master the black arts of tables and metatables. Those who have done so claim to have seen the face of God; these claims are as yet unsubstantiated. What we do know, however is that in recent years Lua has garnered much attention thanks to LuaJIT, a project that provides not only a just-in-time compiler for Lua (granting a massive speed boost - almost C-like performance, in fact), but also an FFI (foreign function interface) library, allowing Lua scripts to directly call C functions without the hassle of writing boilerplate C bindings.
C and C++ - The Ones Who Came Before. C and C++ are old, clunky, archaic...and the most popular languages in existence. C was conceived in an era when memory was limited and programs were generally written in non-portable assembly languages. The underlying concept (which persists to this day) was that a compiler would take C code, turn it into assembly, and then turn that into an executable or library. Thus, programmers now only had to port most of the codebase instead of all of it! (the situation has improved considerably since then, of course - these days, only the really low-level stuff has a tough time being cross-platform). C++ came some time later, and shook things up significantly with the concepts of classes and generics. Modern C++ also includes the Standard Template Library, or STL, which provides all sorts of useful functionality to make life almost painless. These days most people will learn something simpler like Python before these guys, but make no mistake - everything from your operating system to your favourite video games to your microwave can trace its roots back to one of the two.
C# - The poster boy for Microsoft's .NET Framework, C# is a JIT-compiled language modelled after C++, but without any of the associated pain. Though initially developed as a robust alternative for Windows development, Microsoft makes the specifications available at no cost, which has led to other implementations popping up - the most well-known being the cross-platform Mono. The main draw of C# is its ease of use: with a ridiculous number of APIs available by default and the ability to call into native code, you'll have a tough time finding something higher-level that you can't do in C#. The fact that Visual Studio, one of the best IDEs around, also supports C#, is just icing on the cake.
Android - Directly responsible for bringing this OP into the 21st century, Android is a pseudo-operating system framework which runs on top of Linux. Android is primarily written in Java, though it also combines elements of C, C++ and sometimes even Python, and is designed for mobile devices. The Android application framework represents an almost entirely event-driven paradigm written primarily in Java which heavily utilises usage of background services, model-view-controller, and sub-classing as a method of changing behaviour of standard pieces. Also, it runs on your phone!
Hey guys, I have a question. Spawnbroker is only going to be at your business for another 3.5 days, do you:
A) Have him document features that he built Hand off projects he was working on to his coworkers, or
C) Give him a project with vastly underestimated hours and hope he gets it done before he leaves?
If you answered C, congratulations, you could be a CTO!
Hey guys, I have a question. Spawnbroker is only going to be at your business for another 3.5 days, do you:
A) Have him document features that he built Hand off projects he was working on to his coworkers, or
C) Give him a project with vastly underestimated hours and hope he gets it done before he leaves?
If you answered C, congratulations, you could be a CTO!
They know you will fail, and afterwards they can blame the guy who left for the failure rather than budget correctly.
Dear people who make command line tools. Could you at the very least detect if you are running on windows and not punt out Unix terminal control codes for colours.
I'm not asking you to put in the windows ones instead, just not to fuck up my output with unreadable gibberish.
If npm can work this out then I'm sure you can to.
This date picker React component I need to add some stuff to has a TON of spaghetti code to validate manual input of a date, ie typing it in the input field the date picker is attached to instead of using the date picker.
Going to check if we really need to support manual input. If not, I'll just scrap the whole component and rewrite it in a saner way.
Nothing like finding a bug and then realizing that it's one of those bugs that the customer can never know that the bug existed.
I liked being asked to make some minor text field changes on a payment form, only to discover that we were storing literally everything in an unencrypted database.
Even better: Going to change the IP on a copier and noticing it is routing the "Scan to email" function through an unsecured outside email server. And it's primarily used for doctors scanning patient information.
Even better: Going to change the IP on a copier and noticing it is routing the "Scan to email" function through an unsecured outside email server. And it's primarily used for doctors scanning patient information.
Of course it is, no copier made actually supports a secured email server, and no one who uses a copiers scan to email function could set on up to redirect internally.
So I've now got a work-from-home IT job and I want to put my time that I was using on a 1-2 hour commute into learning some programming languages. Ideally, I'll be going back to school in the fall so I can finally finish a bachelors. I took a semester of computer science a few years ago, and got into C++ a little bit. Any advice on where I should start? I'm hoping that I can gain some knowledge that might allow me to take some freelance jobs on Upwork or something similar so I can cover some up front costs for school.
So I've now got a work-from-home IT job and I want to put my time that I was using on a 1-2 hour commute into learning some programming languages. Ideally, I'll be going back to school in the fall so I can finally finish a bachelors. I took a semester of computer science a few years ago, and got into C++ a little bit. Any advice on where I should start? I'm hoping that I can gain some knowledge that might allow me to take some freelance jobs on Upwork or something similar so I can cover some up front costs for school.
Depends on which area of development you aim to go in.
Personally, I like C#, but if you're aiming to do web dev, then Javascript/Typescript and its libraries are key.
If you're going embedded development, then C/C++ are still important.
This gives me a CSS class called "testTargetClass", but I want to evaluate its name to the value of testTargetClass. How do? Can I even do that inside an object?
edit: aha, classNames lets me tack it on as a truthy argument.
I am torn on just how honest I should be in this exit interview. Do I tell them that the reason I started looking for a job is personality conflicts between me and the CTO? Or do I give vague statements like "trust your developers when they tell you something is unsustainable."
I am torn on just how honest I should be in this exit interview. Do I tell them that the reason I started looking for a job is personality conflicts between me and the CTO? Or do I give vague statements like "trust your developers when they tell you something is unsustainable."
Who's the interview with?
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
I am torn on just how honest I should be in this exit interview. Do I tell them that the reason I started looking for a job is personality conflicts between me and the CTO? Or do I give vague statements like "trust your developers when they tell you something is unsustainable."
Who's the interview with?
HR lady. But this is a 20 person company and everyone works in the same office.
I am torn on just how honest I should be in this exit interview. Do I tell them that the reason I started looking for a job is personality conflicts between me and the CTO? Or do I give vague statements like "trust your developers when they tell you something is unsustainable."
Who's the interview with?
HR lady. But this is a 20 person company and everyone works in the same office.
Tough call. Do you think you're ever going to have to work with this company again and/or worried about them as a reference? Being vague might be best, you could also possibly go a "I felt like my opinions and expertise were not being valued or my concerns about process addressed" route.
So does anyone have experience implementing complex search functions?
Working on a project for matching researchers and research projects, and I already know what they want is going to hammer this DB. The project calls for the users to be able to search for projects using different attributes. Each project has one or more location, department, focus, need, and category, stored in relational tables. They need to be able to search for any, or for all the submitted values. For matters of not having the server die from all the joins, should I just be breaking this up into multiple queries and then build an array of matching projects, and then get the project details?
Edit: This is in MySQL, and I don't have access to InnoDB for foreign keys.
This gives me a CSS class called "testTargetClass", but I want to evaluate its name to the value of testTargetClass. How do? Can I even do that inside an object?
edit: aha, classNames lets me tack it on as a truthy argument.
Posts
I was several hours without a programming thread
I had a crying baby in one arm and my mobile phone in the other
I can only do so much man
I actually really enjoy it because it means we hear from her more frequently and deciphering the autocorrected typos is a very entertaining puzzle.
In other news, I'm now Dev lead on my project so I get minions now.
I think it was @Echo
Not having to do models and all that shit for something that's just interfacing with PHP is great.
A) Have him document features that he built
Hand off projects he was working on to his coworkers, or
C) Give him a project with vastly underestimated hours and hope he gets it done before he leaves?
If you answered C, congratulations, you could be a CTO!
They know you will fail, and afterwards they can blame the guy who left for the failure rather than budget correctly.
I'm not asking you to put in the windows ones instead, just not to fuck up my output with unreadable gibberish.
If npm can work this out then I'm sure you can to.
I made a game, it has penguins in it. It's pay what you like on Gumroad.
Currently Ebaying Nothing at all but I might do in the future.
Going to check if we really need to support manual input. If not, I'll just scrap the whole component and rewrite it in a saner way.
who uses emacs
*stab stab*
Nothing like finding a bug and then realizing that it's one of those bugs that the customer can never know that the bug existed.
I liked being asked to make some minor text field changes on a payment form, only to discover that we were storing literally everything in an unencrypted database.
No.
Even better is someone making this announcement on a conference call that the customer is sitting in on.
Of course it is, no copier made actually supports a secured email server, and no one who uses a copiers scan to email function could set on up to redirect internally.
Depends on which area of development you aim to go in.
Personally, I like C#, but if you're aiming to do web dev, then Javascript/Typescript and its libraries are key.
If you're going embedded development, then C/C++ are still important.
...I immediately lost 2d20 SAN and then googled up classnames that does it way better.
This gives me a CSS class called "testTargetClass", but I want to evaluate its name to the value of testTargetClass. How do? Can I even do that inside an object?
edit: aha, classNames lets me tack it on as a truthy argument.
Who's the interview with?
HR lady. But this is a 20 person company and everyone works in the same office.
Tough call. Do you think you're ever going to have to work with this company again and/or worried about them as a reference? Being vague might be best, you could also possibly go a "I felt like my opinions and expertise were not being valued or my concerns about process addressed" route.
https://docs.google.com/spreadsheets/d/1OLcAGbXhWIVcl5IziVpG0eKFJS3xi_Sac9kYMkRFvD8/edit?usp=sharing
Working on a project for matching researchers and research projects, and I already know what they want is going to hammer this DB. The project calls for the users to be able to search for projects using different attributes. Each project has one or more location, department, focus, need, and category, stored in relational tables. They need to be able to search for any, or for all the submitted values. For matters of not having the server die from all the joins, should I just be breaking this up into multiple queries and then build an array of matching projects, and then get the project details?
Edit: This is in MySQL, and I don't have access to InnoDB for foreign keys.
Oh man, good thing you finally found classnames! :razz:
You have the correct method at the end there, but to answer the "how do I set prop names via variable" you do this:
And there was much high-fiving at the office after I posted it in the Slack channel.
https://www.reddit.com/r/javascript/comments/4oxtgk/javascript_developers_be_warned_about_this_crazy/
Whoops
PARKER, YOU'RE FIRED! <-- My comic book podcast! Satan look here!
Optimization bugs are wonderful beasts!