u/3dk - 23 Archived Voat Posts in v/programming
u/3dk
  • home
  • search

u/3dk

0 posts · 23 comments · 23 total

Active in: v/programming (23)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Everything you need to know about programming

That was the most god-aweful garbage article about programming, I've ever read. It reads like the results of a journalist doing a JavaScript tutorial, then quitting halfway, then googling and regurgitating random shit from wikipedia. That was the worst explanation of compilers I've ever seen. The section about methods was was hilarious and the most obvious giveaway that the author has no fucking clue. There were some retarded grammar mistakes throughout the entire piece. I felt dumber after reading it. Of course it's written by a woman. This article has to be flamebait...

I'm no master programmer either, but when someone clearly doesn't know shit, but pretends like they're smart, it's cringeworthy and pathetic.

0 10 Apr 2020 00:19 u/3dk in v/programming
Comment on: Microservices guru warns devs that trendy architecture shouldn't be the default for every app, but 'a last resort'

Sounds like a case of developer micropenis.

0 05 Mar 2020 00:14 u/3dk in v/programming
Comment on: Scrapped Python, learning C# for Unity. Is 2 years development a naive estimate for a 40hr game?

Depends what kind of vame. You could just make a 40 hour, nicer clone of desert bus...

0 12 Nov 2019 00:08 u/3dk in v/programming
Comment on: Updated to Gitlab's Terms of service

Gitea, self-hosted.

0 24 Oct 2019 06:30 u/3dk in v/programming
Comment on: Why SAAS or anything "cloud" is unforgivably foolish

Rent-seekong behaviour is shitty economic behavior and people who buy into it are serfs.

0 10 Oct 2019 22:58 u/3dk in v/programming
Comment on: Surprise! Copying crummy code from Stack Overflow leads to vulnerable GitHub jobs

Doesn't sound that bad actually:

they looked at more than 72,000 C++ code snippets in 1,325 Stack Overflow posts and found 69 vulnerable snippets of 29 different types.

That's not a lot in absolute terms but those 69 vulnerable snippets show up in 2,589 GitHub projects. The researchers say they notified the authors of affected projects and some, but not all, chose to fix the flaws...

I'm sure a lot of those github projects are not that serious anyway.

0 07 Oct 2019 21:11 u/3dk in v/programming
Comment on: Which is your favorite Version Control site?

One more thing worth mentioning: there's a free + open-source clone of github for self-hosting, gitea.

0 01 Oct 2019 20:13 u/3dk in v/programming
Comment on: SKS Keyserver Network Under Attack

Why was this stupid system still so widely used up until now, if it was known to be potentially shat for the last 10 years?

IT clown world...

0 29 Jun 2019 16:32 u/3dk in v/programming
Comment on: Should i root my phone with LineageOS ?

I've always had great battery life, but since that's just anecdotal, I decided to do a bit more searching and share my understanding of things...

Battery life depends on your usage and on the kernel. "Stock android" is the regular AOSP kernel+OS without optimal configuration for your phone. This can drain your battery. When compiling Android, it's possible to add configurations to optimize battery usage and performance for a specific phone. Phone manufacturer's do this to some extent with the kernel+OS preinstalled on their phones (then usually they add google and other bloatware).

For any supported phone, People involved with Lineage OS compile a kernel with optimizations for that phone (+ the rest of the OS to go with it). For the most part, I'm sure those people have some idea what they are doing and the kernel should be fine performance/battery wise.

You can compile a kernel with your own configurations and add a custom ROM. Maybe this way it's possible to squeeze a bit more out of your phone (performance by overclocking; battery by putting the phone in a "deeper sleep" when not in active use by limiting CPU cycles, signals etc.) but it sounds like a whole lotta effort to find out what do actually do with potential to brick your phone. You can also find custom kernels that other people have created, just look up "yourPhone custom kernel" and you should be able to find stuff on XDA and other sites, where surely bad kernels would be pointed out by otgers and removed.

I wouldn't bother with the effort, but it seems good to know that's an option. Even if the battery usage was slightly worse by the kernel... you certainly gain battery by limiting background activity for apps and removing google + other bloatware. Regardless of battery, the removal of cancer and the buttery smooth experience I've had so far with Lineage are what make it totally worth it, in my experience. The installation is a little tricky, but after that it's smooth sailing.

If you aren't convinced on Lineage:

Here's a list of custom ROMs. If you look at the number of supported devices, you'll see why Lineage is popular... Supposedly Copperhead has more of a security focus (at the expense of usability probably) and Resurrection Remix (based on Lineage) is even more configurable (but do you really want more buttons?).


Again Disclaimer to prevent disappointment: first wait for your warranty to expire + check if your bootloader is unlockable.

0 18 Mar 2019 23:16 u/3dk in v/programming
Comment on: Should i root my phone with LineageOS ?

First of all your phone's bootloader needs to be unlockable. Check that this is the case. If it is then continue, if not, you're shit outta luck.

If installing a custom ROM voids your phone's warranty, then I would wait, until your warranty expires.

If your warranty has already expired, then I would highly recommend it. For me it's been running smoothly since it was Cyanogenmod. The idiot calling them "script kiddies" misses the point (I would like to hear how he uses his phone)... Cyanogenmod tried to commercialize and the main technical guy jumped ship to start lineage when the writing was on the wall, leaving the faggot CEO to drown in his wreckage. Lineage has avoided commercialization so far and seems dedicated to staying free and open-source. If not... well then there will be the another fork.

The good thing about it is that it allows you to completly remove anything from Google, as far as I can tell. Don't add google stuff, since that defeats the purpose. So no no google play store, no google play services. Install F-Droid for some useful apps, I'd recommend: - Amaze file browser - Simple Calendar - Simple Music Player - FOSS Browser - Markor (Markdown text editor) - keepassDX (password manager) - NewPipe (YouTube player and downloaded) - Termux (for messing around with a terminal on your phone, you can actually write and run scripts to do stuff) - The only good games are Shattered Pixel Dungeon, Solitaire and Chess - Yalp store

OK so as you might have noticed the apps available through F-Droid don't quite cover everything... That's what Yalp store is for, it let's you download stuff from Google play store without needing a google account or google play services installed (some apps need it anyway, but I don't use any of those, so I don't care. There is a project that attempts to spoof google play services, but I haven't bothered with that). This is how I get the navigation apps "Here" (better for driving) and "OSMAnd" (better for hiking/cycling) which allow for offline map downloads. Then I begrudgingly download WhatsApp to communicate with normies compromising my entire setup (I keep the fucker off most of the time, I tell people it's to save bettery)... But at least no Google!

Follow the lineage wiki for your phone model to install. If you have installed an OS before or used the commandline, it should be easy, otherwise just go step-by-step, maybe watch a tutorial.

Is it safe? And faster?

Simply yes. I get security updates that I wouldn't receive from the phone manufacturer. Without the google cancer my 4 year old phone works better than the first day I got it. My impulse for installing Cyanogenmod was when I noticed how my phone wouldn't work properly without google shit. It feels satisfying to remove that cancer and and regain a bit of independence.

0 18 Mar 2019 19:09 u/3dk in v/programming
Comment on: Want to get back into programming

You will quickly realize that beginner tutorials won't help you learn anything new. The way to go is to test your skills at coding challenge sites, I'd reccommend CodeWars and HackerRank. Get good books for stuff you want to learn. Find open-source projects that you like and try to understand their code. Try to make a program for whatever ideas pop into your head. Don't worry too much about best practices, just try to pick them up over time.

0 23 Feb 2019 17:35 u/3dk in v/programming
Comment on: Is it possible to transfer software to a new computer?

Depends on the document format, but generally they are compatible, except for some weird edge cases. If all your documents are .doc .docx .xls .xlsx, mostly everything should work. If something doesn't work, open it in MS O and save it as .odf which has the best compatibility.

0 23 Feb 2019 14:59 u/3dk in v/programming
Comment on: Is it possible to transfer software to a new computer?

Office comes with different kinds of licenses, so you need to check what you have, then redownload the installer, run it and enter your product code. Here is microsoft's how-to. If it turns out that you have a no no transferrable license, I'd recommend ditching MS Office and using Libre Office instead, so you will never have to deal with the licensing bullshit again. Libre Office isn't quite as nice, but it's free and it can do almost anything that MS O. can. It just takes some getting used to, prepare to spend some time looking up how to use it.

With steam you can actually back-up a game installation to an eternal storage device to save yourself from downloading it again. Then you can restore the game from your new PC. Follow this guide. This backup feature doesn't back your game saves. You need to copy those over seperately, check where the location of savegame and config data is on pcgamingwiki put those files in the same directory on your new PC.

0 23 Feb 2019 14:31 u/3dk in v/programming
Comment on: Is it possible to transfer software to a new computer?

This is barely related to programming, but I'll still try to explain a few things that others haven't. Your question is vague, so my answer will be broad with the aim of giving you a deeper understanding.

If you buy software, you are buying a license to use it which can be sold to you under various terms. You may have bought only one license to install the software, then you wouldn't be able to transfer it. Some software you buy allows you to install it on multiple machines. Software can also be free and then you are allowed to install it on as many machines as you like. It all depends on the fine print in the license that most people don't read which can later on bite them in the ass...

That is the licensing side of things, but then there is also the technical side. Often commercial software will have measures in place to prevent you from simply copying it to another PC, for example it will require you to login to an account, or require activation with a code. Collectively, all these sorts of measures are called digital rights management (DRM). It can enforce some of terms stated in the license. DRM-free software is software where you can copy the installer on any compatible machine to install it without restrictions. DRM-free software can be paid for, for example GoG.com sells games like this. DRM can sometimes prevent a user from accessing software they paid for. For example what happens when the server to check for an account doesn't exist anymore? Access denied.

Since it sounds like you are on windows... If you want to move software between PCs, usually you will need the installer for that software. If you have it, just copy it over and run it again. If you don't have it, you will need to get it again from the website of the software distributer. For most programs on windows just copying files around won't work because of the registry and because you don't know where the installer put stuff anyway. Discovery and distribution of software on windows has always sucked and involves tediously searching around on the internet. Too bad microsoft have such a strong foothold, yet is so shitty.

Apple is even worse, you pay them extra to get fucked good with weak hardware for the price and even worse lock-in.

Linux can be shitty in its own special ways, but is still worth learning with all the free software (libre office, gimp, VLC, etc.) that typically goes along with the OS.

0 23 Feb 2019 01:59 u/3dk in v/programming
Comment on: decided I had to start somewhere

Don't just memorize the syntax of some language without understanding the meaning. Try understanding the underlying concepts: data types, control flow, object-oriented programming (oop), SQL databases, etc. A programming language is just a way to implement these things, python is fine, don't worry about that. You won't understand everything immediately. You can skip topics a bit, but try remembering what you don't know, keep looking stuff up to fill in the gaps, until things start making sense.

Additionally, you should know why HTML isn't a programming language and what CSS and JavaScript are... now all you need to do to get started with web development is you need to use apache webserver on some network-capable machine and pick a server-side backend that generates webpage content and serves it and optionally some kind of framework front end thing that makes your pages look good with dynamic content.

After you have done a couple tutorials, you will find that more beginner tutorials will be pretty useless. You need to move on to coding challenge sites (coding challenge, code wars, hacker rank), read programming books and actually look at some projects on github, codeproject, etc. and think of your own things to work on.

Also install Linux and learn some bash command line and scripting.

0 20 Feb 2019 00:58 u/3dk in v/programming
Comment on: Release status : SNAFU

GUI testing tools, maybe one of those can scan for dicks?

0 08 Dec 2018 17:59 u/3dk in v/programming
Comment on: What do you use for modeling projects?

https://www.draw.io/

http://staruml.io/

0 25 Sep 2018 22:27 u/3dk in v/programming
Comment on: Master/Slave Terminology Was Removed from Python Programming Language

Pussyfaggots.

0 16 Sep 2018 19:25 u/3dk in v/programming
Comment on: I have no coding experience but one class in Pascal! I want to know about tracking beacons in images please.

I'm a noob too, but this is how I would start my search to automate adding invisible digital watermarks to images:

https://www.startpage.com/do/search?q=add+watermark+invisibly

https://www.startpage.com/do/search?q=automate+image+manipulation+python

https://www.startpage.com/do/search?q=Add+watermark+python

https://wiki.archlinux.org/index.php/List_of_applications#Image_processing

https://wiki.archlinux.org/index.php/List_of_applications#Raster_graphics_editors

0 18 Jun 2018 21:40 u/3dk in v/programming
Comment on: Are programmers degrees being called engineers now?

Software engineering is a term used to describe all the planning that goes into developing a software product. Kind of like a rough draft, sketch, recipe, roadmap for the development of a product. It makes sense for big projects. Typically it involves describing all the functions and making class diagrams etc. that fulfill the specified needs of a customer or manager (who are usually also involved in the process).

0 04 Jun 2018 22:13 u/3dk in v/programming
Comment on: FreeBSD adopts a 'Code of Conduct', based on the example in Feminism Wiki, talking about systemic oppression etc.

Looks like a Chad who's entire career is based off manipulating dumb bitches.

0 19 Feb 2018 21:15 u/3dk in v/programming
Comment on: Please dont learn to code

The article is a rip-off.

Here's the original: http://blog.codinghorror.com/please-dont-learn-to-code/

Also:

It took me more than a year of self-taught study before I got a freelance gig.

I think that's rather encouraging. In what other line of work can you learn for a year and then start at an entry-level position that lets you work from home? Programming isn't a get rich quick thing, but with hard work and skill, it can get you places. That's opportunity.

23 16 May 2016 00:50 u/3dk in v/programming
Comment on: Linux Graphics Revolution: The Review of Wayland Progress In 2016: Multimedia, Web, Games, Office, Programming Tools

What is the benefit of Wayland? I don't get it.

1 26 Feb 2016 02:12 u/3dk in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

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