perjantai 30. joulukuuta 2016

Why I close PRs (OSS project maintainer notes)

submitted by /u/geerlingguy to /r/programming
[link] [comments]

The Caching Antipattern

submitted by /u/uatec to /r/programming
[link] [comments]

Fast Topic Matching

submitted by /u/mttd to /r/programming
[link] [comments]

Azimuth Climate Data Backup Project

submitted by /u/based2 to /r/programming
[link] [comments]

8bitworkshop - an IDE for 8-bit retro game consoles. Right now it supports the Atari 2600

submitted by /u/magenta_placenta to /r/programming
[link] [comments]

Falsehoods Programmers Believe About CSVs

submitted by /u/donatj to /r/programming
[link] [comments]

On vuoden paras aika erota kirkosta

On vuoden paras aika erota kirkosta submitted by /u/Krring to /r/Suomi
[link] [comments]

tiistai 27. joulukuuta 2016

A complete guide to securing yourself & your Mac.

Hello All,

Many people ask me: "I know Macs are safer than most PCs, but what extra steps can I take to ensure I am secure both online, and off?". Throughout the years, in part thanks to some paranoia, I have collected a few practices that I think most people should follow. Also, being the holiday season, I'm assuming many people might have gotten new Macs, so this is a good time to go through this. It is my hope that by following some, or all of these points, you can feel a bit more safe while using your Mac!

Important Note: NOTHING I post here is mine. This is all common knowledge/solutions that exist, I simply have compiled them into a list for convenience. I am in no way taking any credit for any of these practices, I am merely promoting their use. Additionally, if anyone else has anything to add, or change, please make yourself heard, I am not claiming to be a security expert, just someone who is aware!

  1. Use 2 factor authentication. This one is a no-brainer, and one that I really hope everyone is already using! If you are heavily invested into the Apple ecosystem, as I am, the number one thing you don't want hacked is your Apple ID! It has credit cards, addresses, purchase history, everything on it! Make sure you utilize two-factor authentication to ensure that if someone hacks your iCloud password, they still can't access your account unless they have another trusted device of yours. This one alone can help immensely!

  2. Use a firmware password on your Mac This is another one that is a no-brainer to me. Basically, when you set up your Mac, you give it an account password to unlock the computer and get into your user account. What a firmware password does, is lock down the entire operating system, making it unable to boot until the firmware password is entered. This is crucial, because if your Mac is stolen, and you don't have a firmware password, they can simply boot into macOS recovery mode and reinstall macOS, essentially making it impossible for you to ever track your computer through Find my Device. Important Note : make this password different than your normal user account password! Also, never forget this password, as doing so makes for a very, very tedious process requiring you to find your original proof-of-purchase (receipt) of the Mac and a service appointment at an Apple Store.

    EDIT: Building on this point: /u/jmnugent added a great piece of advice: You can actually set a custom Lock screen message. This makes it so if your Mac is stolen or lost, can be returned to you (given you provide contact info). Additionally, if you have a firmware password, the thief wont be able to override this message, which is great because if they take it into a specialist to try to get it wiped, the specialist will see the lock message and pretty quickly be able to tell its stolen.

  3. Make Sure Find my Mac is enabled at all times Im sure you all know what this is so I wont go into it as it is extremely self explanatory. However, with a Firmware Password, this is even more powerful, as you can lock it from iCloud.com, and then prevent your computer from ever booting while you track the thief.

  4. Backups, Backups, Backups! In this online age less and less people are feeling the need to backup data. This is a terrible mindset. There are literally tons of methods to backup so I wont go to into depth. Personally, I do the following:

    1. Automatically backup my Documents/Desktop to iCloud Like most people, 95% of my data is stored within these two locations on my Mac. Having this on ensures that if my Mac crashes, I can always have a copy of my most important documents available. Extra iCloud storage is very cheap, I think I pay like 3/month for 200GB. There are also tons of other providers that can do this for you: Amazon, Google, Microsoft, Dropbox all have cloud storage that can be set up to automatically backup your most important files.
    2. Use Time Machine As extra redundancy, consider purchasing a extra hard drive you can use locally. This mirrors your entire Mac, so if it crashes, you can restore it exactly how it was. Hard Drives are extremely cheap nowadays, and you don't need to get an expensive one to do this!
  5. Consider using a password manager. It's a common misconception that hackers can 'hack' your password easily. Most hackers have a database of commonly used passwords that they test against your account (Most people have ridiculously stupid passwords). Other methods for hackers involve brute forcing their way into guessing your password, which, if you have a semi-secure password, can literally take longer than the life of the universe to guess! With a single lowercase letter, a brute-force approach needs to guess 26 things, add in digits, it becomes 36 things, add in uppercase, the brute force now needs to guess 62 different options for just that single character. The takeaway is that a long-password with a mix of lower/uppercase letters and numbers is very, very difficult, if not impossible, to guess.

    Using a password manager helps you create complicated passwords like this, and there are many options. iCloud Keychain, if you are heavily invested into Apple/Safari use, 1Password, LastPass, Keeper Desktop, etc.

    EDIT: As some may have pointed out in the comments, try to never use the same password. I know this is tedious as hell, and can make for quite the headache, but it is more secure. Most people use the same password for everything. Many hackers, if they are able to hack into one of your accounts, may then try to apply that email & password combo to a host of other sites to see if they work. Don't let that happen!

  6. Keep your Mac up-to-date at all times. As a university student, I shudder when I see somebody who has a relatively new Mac, and I see they are 1-2 macOS versions behind, or that they have ignored the "Important Updates Waiting to be Installed" notification for a year. I see this all the time. People, yes updates sometimes cause minor grievances, but they are literally released to help patch up security flaws. If Apple thinks the problem is worth fixing, they will send out an update. Listen to Apple and update!

  7. Use FileVault Not going to get into the technical bits of this, basically it encrypts your Macintosh HD using a industry-standard XTS-AES 128 bit encryption. Really good!

    As /u/DomPhotography pointed out below, make sure you also use this to encrypt any external drives that have your data on them (such as Time Machine external hardrives)

  8. If you are not a very technical person, consider only allowing apps to be downloaded from the App store or identified developers. Most technical people I know can spot a malicious program from a mile away, but this is obviously not the case for everyone. Go to Sys Prefs --> Security & privacy --> General to see where Apps are allowed to be downloaded from. If you don't trust yourself, only download from the App Store! This isnt an insult at your intelligence, simply being vigilant.

    Additionally, consider doing research on every program you download. It takes a few seconds to google the program name and you'll find out pretty quickly if its safe!

  9. Make sure you Firewall is on. The standard fire wall that comes with macOS is great and catches just about anything. Make sure it is on, by going to Sys Prefs --> Security & privacy --> Firewall.

  10. See which Apps have location services enabled Do this by going to Sys Prefs --> Security & privacy --> Privacy. As a general rule of thumb, no app should be collecting location data unless you absolutely need it to, or if you use it for some sort of time/location based logic, such as f.lux.

  11. If you follow these general, practices, you shouldn't need extra security software. This is a BIG one. So many people download fraudulent "Cleaning" apps that are quite literally cancer for your Mac. Anything that claims to "clean" or "secure" your Mac, is probably fake(side note: Im working on making a list of apps that are definitely dangerous, AFAIK nobody has compiled a recent list like this) . If you feel like you must run extra software, get it from a reputable developer. Amongst these, Norton Symantec, Bitdefender, and Sophos are all great options.

  12. Watch out for Phishing. This one is scary nowadays. Developers make websites that look exactly like the real thing! Consider this recent case of how a developer made a login page that looked exactly like an Apple Site: Link. As a general rule of thumb, you can usually see if the website is legit or not by simply observing the URL before you click it. If it is something like http://apple.co/2imwMto? it is probably SAFE, but if it something like http://bit.ly/2iz4wHt it is definitely FAKE!.

  13. Whenever you visit a site that you enter your Credit Card into, first check the URL bar. If it starts with an 'https' then you should be safe (assuming the website is safe) to enter your credit cards the 'https' means that the communication is secure. If it simply says 'http' do not trust this website to reliably transport your credit card info!!

  14. Many people are paranoid about their webcams, and have them covered up with tape. Let me first say, unless you are really stupid and got a terrible virus, the little green light will always come on when your iSight is being used!. However, if you are still paranoid, do the following:

    Spotlight Search "Activity Monitor" --> Click the "CPU" tab at the top --> Search for "VDCAssistant". This is the process that uses the iSight camera. If its %CPU reads 0.0 percent, then it is not being used.

  15. Know your network. Any time you use your Mac in a public network, you put yourself at an elevated risk level. Of course, if you follow the previous 14 points i mentioned, this shouldn't be a problem, but it is important to know where you are, and who can see you from your network!

    as /u/git pointed out int he comments, try to never connect to unsecure networks. These are the networks that do not require any password. When you connect o this, any and all of your traffic can be viewed.

  16. Never use an Admin account. No offense, but most people aren't wise enough to be using an admin account. When you set up your Mac, make an admin account, and then make another user account that you will actually be using. You an check what type of account you have by going to : Sys Prefs-> Users & groups and then observing what it says underneath the "Current User" Field.

  17. Never plug in a USB thumb drive unless you absolutely know what it is, or who it came from. USB drives can be loaded with executables that can carry out malicious tasks the second they are plugged in. If you find a USB stick, or SD card in the library, for example, return it or leave it, but do not plug it in!

  18. Automatically update apps. Do this by going to Sys Prefs -> App Store and checking for automatic updates. Just like with updating macOS, updating apps can also alleviate many security issues.

  19. For the love-of-God, always require your password for purchases in the app store. You may not believe it, but some people actually keep this off because "it takes a lot of time" Well, I can guarantee it'll take even more time trying to recover a stolen credit card purchases made on your account that were not approved by you!

  20. As my final point, I want to make it clear that solving security issues is a team effort. If you discover a flaw, or patch, or virus, or whatever, please share it!. Nobody will think you are annoying or over-paranoid, the more people we have contributing to cyber-security, the better we all are!

I'm sure I missed some points, but this post is already ridiculously long, and for that I apologize.

I hope that by utilizing some, or all of these tactics you can feel more safe with your costly Mac. Again, I want to reiterate, if anyone has any additions, or edits, please let me know, I will make those changes as soon as possible.

Happy holidays and stay safe everyone!

submitted by /u/YungKob to /r/apple
[link] [comments]

lauantai 24. joulukuuta 2016

The World's Largest Hedge Fund Is Building An Algorithmic Model From Its Employees' Brains: "Bridgewater wants day-to-day management--hiring, firing, decision-making--to be guided by software that doles out instructions"

submitted by /u/trot-trot to /r/programming
[link] [comments]

How to edit a RAW photo in darktable in 5 mins

submitted by /u/chequesinmale to /r/linux
[link] [comments]

Function composition with currying in java

submitted by /u/zephyz to /r/programming
[link] [comments]

Google Charts is a godsend

submitted by /u/PlinyPompei to /r/programming
[link] [comments]

Update on Multi-Process Firefox

submitted by /u/johnmountain to /r/linux
[link] [comments]

Linux Gaming In 2016: 1000+ Games Released On Steam With Linux Support

submitted by /u/speckz to /r/linux
[link] [comments]

Red hat engineer can't make fedora work on his Mac, declares Linux terrible.

submitted by /u/Michaelmrose to /r/linux
[link] [comments]

Arcan: Dating my X (and early signs of Wayland life)

submitted by /u/crazyloglad to /r/linux
[link] [comments]

lauantai 17. joulukuuta 2016

How JavaScript Fatigue simplifies coding and increases revenue

submitted by /u/janih to /r/programming
[link] [comments]

[confirmed] Another 1 billion Yahoo accounts were hacked

submitted by /u/beatniak to /r/programming
[link] [comments]

Dependency hell is NP-complete

submitted by /u/so_you_like_donuts to /r/programming
[link] [comments]

The New and Improved Privacy Badger 2.0 Is Here

submitted by /u/nigelinux to /r/linux
[link] [comments]

The Open-Source Group Trying To "De-Google" The Internet

submitted by /u/givello to /r/linux
[link] [comments]

Google launches first developer preview of Android Things, its new IoT platform

submitted by /u/codesuki_ to /r/programming
[link] [comments]

GitHub Is Building a Coder’s Paradise. It’s Not Coming Cheap - The VC-backed unicorn startup lost $66 million in nine months of 2016, financial documents show

submitted by /u/magenta_placenta to /r/programming
[link] [comments]

FAO Programmers: The Importance of F*cking Around — I piece I wrote to pass on some of the best advice I've ever been given.

submitted by /u/LaceySnr to /r/programming
[link] [comments]

Video editing on linux

Hey everyone I just have a quick question for people who know much more than I do. Is it possible and efficient to use Adobe editing products on a Linux computer?

Edit: Thanks for the advice!

submitted by /u/Fishes39 to /r/linux
[link] [comments]

No, I have no side code projects to show you

submitted by /u/speckz to /r/programming
[link] [comments]

Procedurally Generated Planet Things in Processing

submitted by /u/bevkcan to /r/programming
[link] [comments]

tiistai 6. joulukuuta 2016

Gratulerer med selvstendighetsdagen, Finland!

Terveisin ärrNorge.

Ollaan subredditissä keskusteltu vähän siitä mitä keksittäisimme itsenäisyyspäivälahjaksi ärrSuomelle, mutta tyypilliseen norjalaiseen tapaan kiinnostusta löytyi mutta toimintaa taas ei. Noh, yritettiin ainakin tämänkin kerran.

Saatiin lopussa lähetetty kortinkin

submitted by /u/GovaLasse to /r/Suomi
[link] [comments]

sunnuntai 4. joulukuuta 2016

The Magical Password

submitted by /u/returncode to /r/programming
[link] [comments]

My favorite bug

submitted by /u/SuprDewd to /r/programming
[link] [comments]

Which browser do you use on linux? I thinking about migrating from chromium.

submitted by /u/Feral_Heart to /r/linux
[link] [comments]

Only 30 k people signed the change.org petition for google drive on Linux. This sub has 228 k readers… Common, let's try to bring this up!

submitted by /u/dorfsmay to /r/linux
[link] [comments]

StageXL 1.0 -- same API as Flash, but open source, runs in browsers without any plugin, fast, and in Dart

submitted by /u/fphat to /r/programming
[link] [comments]

How terrible code gets written by perfectly sane people

submitted by /u/SarasaNews to /r/programming
[link] [comments]