valarauca1

Joined 13 years ago

Karma
5,484
Submissions
2,044
Member since
Aug 26
See things I wrote? github.com/valarauca

Screw diamonds: legacy systems are forever.

View on Hacker News

Recent submissions

Comment · 7 years ago
apple does for a few things
Comment · 7 years ago
Comment · 7 years ago
RHEL is free (use CentOS or Fedora)

Support is not free. If you want software updates, security patches, bug fixes, or somebody to call when shit hits the fan you pay Red Hat.

If not CentOS/Fedora use the same source codes

Comment · 7 years ago
For High Throughput compute, and cache correctness. Here are the primers I can give. None of these are required. Strong langauge, cs, interpersonal skills, team inter-interoperability, and commitment to quality (via unit and integration testing, and skill working with liners) can get you a lot further.

The resources I'm linking are supplementary to the above, and you'll likely encounter them in the wild. But they'll help you build a base of knowledge, and give you terminology to search for, and work with.

- What Every Programmer should know about memory: https://people.freebsd.org/~lstewart/articles/cpumemory.pdf

- Cache Obviousness: https://www.youtube.com/watch?v=bY8f4DSkQ6M (the suggestions, and terminology are important)

- Parallelism: (This is a good primer, there are a lot of complementary posts linked on the site) https://preshing.com/20120612/an-introduction-to-lock-free-p... https://preshing.com/20120913/acquire-and-release-semantics/

- If you plan on working with linux these is an excellent reference: http://man7.org/linux/man-pages/dir_section_2.html remember there is no magic in Linux, everything eventually has to go through a system call. So if you learn the systemcalls, you can can learn how things work :)

- Fog's optimization resources are awesome: https://www.agner.org/optimize/

- MIT courseware: https://www.youtube.com/watch?v=ytpJdnlu9ug&list=PLUl4u3cNGP... https://www.youtube.com/watch?v=HtSuA80QTyo&list=PLUl4u3cNGP...

- This cheat sheet is worth committing to memory: http://www.bigocheatsheet.com/ the reference links are also great for building up knowledge

- I highly recommend CMU DB open course ware: (intro) https://www.youtube.com/watch?v=vyVGm_2iFwU&list=PLSE8ODhjZX... (advanced) https://www.youtube.com/watch?v=poEfLYH9W2M&list=PLSE8ODhjZX...

This should give you a good primer on Concurrency, and DB's. For networking likely a basic TLA+ certification class will be 99% review, but for the things it isn't will offer great insight.

Comment · 7 years ago
Not necessarily true.

C89 only requires that static values be initialized.

A modern C standard (section: 6.7.8(10)) requires static values be initialized, but what the value is initialized too be _technically_ indeterminate.

There is the guide line given that integers must be zero, and pointers be NULL. But if a static storage class isn't consisting of purely integers, pointers, or (fixed sized) structures, arrays, and unions who's elements can recursively reduced to integers or pointers. Then the standard says the initialized value is indeterminate.

While relatively straightforward, there is a few gotcha's.

Comment · 7 years ago
The only reason I'd seriously consider upgrading is if they fixed the typing speed. The input latency on iPhone has just _horrible_, and I know after another iOS update it'll be just as bad.

I taught myself to touch type at about ~80WPM with my thumbs, and how I have this bad of habit of typing a full google search query, and just staring my phone for 90seconds until all the text magically fills in and my phone shakes with haptic feed back that should've occurred nearly 2 minutes ago.

It is such a cheap experience I had to turn haptic feedback off because its not even remotely synced to touch inputs.

Comment · 7 years ago
10 years ago there was less file system integration, user land virus scanning, kernel level virus scanning, os-hooks, OS-compatibility re-direction, and 32/64bit compatibility checks.

This was mostly added during NT6.0 era, which occured ~12 years ago. VISTA was the first OS using NT6.0 and VISTA was VERY much not in vogue ~12 years ago. In fact it was avoided like a plague as of 2008 (unless you were using 64bit, and had >=4GiB of RAM)

So many were using Windows-XP 32bit, or the NT5.2 kernel. Even those with >=4GiB of RAM were on Windows-XP 64bit, as VISTA had a ton of driver problems.

NT6.0 didn't catch until Windows7 and NT6.1

Comment · 7 years ago
Comment · 8 years ago
GNU/Xenix is making a come back !!

for those you who don't remember Xenix was Microsoft's UNIX that it marketted prior to releasing DOS. Originally the idea was Xenix was the multi-user OS, DOS was the single user.

Comment · 8 years ago

    get their office suite to LibreOffice
I'm with you until that. I'm a die hard FOSS advocate but Microsoft Office is seriously a great tool. I've yet to find a replacement for Excel.
Comment · 8 years ago
`cargo new $project_name` literally generates a hello world program so it is misleading to say you need to understand ownership to write `hello world`.

That being said ownership is rather hard, but liberal usage of `.clone()` can get you pretty far.

Comment · 8 years ago
I don't see how/why?

Generally speaking it is exceptionally rare for a star to point directly at us. This is to an acurracy of millionth's of a degree, as the straight line travel across interstellar space is massive. So getting hit with a GRB is like winning the interstallar lottery.

Secondly, if you cannot control it, or influence it. Worrying about it is just fantasizing. Humans tend to assume overly dramatic events are more likely then they actually are.

Comment · 8 years ago

    I think if more people took the time to understand
    them and practice writing them (when appropriate),
    they wouldn't have such a stigma.
I think this is part of the movement to a more "ide/web centric" development model. The chances to interaction with regexes on CLI are endless. Grep, git-grep, vim, sed, etc. Even bash has some limited regex integration. As a person who still does most their development in the cli with vim regexes are a massive part of my work flow I actively use them several times per day.

When people move away from this model there are a lot opportunities to practice regexes. I've noticed this my own workflow when working Java-centric languages (who's IDE's often have poor regex integration).

Comment · 8 years ago
1. Blizzard uses torrents where people downloading the patch also act like P2P seeders (you can control the download/upload speeds).

2. Assets are bundled via the zip like mechanism, and individual "zone maps" are separated by hard loading screens. If you travel from 1 continent to another in WoW you get a had loading screen as assets are unloaded, and reloaded.

3. Which continent you log into is the only one you _need_ data for, so as you log in the client can prioritize certain assets higher then others.

4. Blizzard/Activision have a lot of experience with this. In 2008 blizzard had 10mil + players downloading 4GiB+ patches within 24hours so they've had a while to tune and make adjustments as this is part of their core customer experience.

5. Large publishers don't general optimize for this, because the people who whine about it largely already gave you their money and aren't likely to refund/return (in some avenues it is impossible).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton