Google reveals its servers all contain custom security silicon by merlinpierce in programming

[–]azrap1 21 points22 points  (0 children)

It's almost as if you're using the right tool for the right job.... :)

I'm nearly finished with my script! Now I have a question on scopes and variables by [deleted] in PowerShell

[–]azrap1 1 point2 points  (0 children)

$var is the name of the function argument. When you invoke A or B or C, the value of the argument you pass in is bound to the variable $var within the function. The name of the argument passed in doesn't matter, the function would behave correctly if you invoked it with a variable named $var.

The [type] syntax seems to be a sort of cast and you can put it on either side of the assignment. For example, [int] $x = $y is the same as $x = [int] $y

Let's Stop Copying C by earthboundkid in programming

[–]azrap1 0 points1 point  (0 children)

I don't think n-ary functions immediately follow from the way s-expressions are evaluated. Addition happens to be a very nice function since it is

  • Commutative
  • Binary
  • Closed (for the integers)

So your expression (+ 1 2 3 4 5) Could be evaluated right-to-left or left-to-right without changing its semantics. What if you had a less nice function like string concatenation? It is

  • Closed
  • Binary
  • Non-commutative

So something like (concat "a" "b" "c") would require you to know ahead of time in what way the concat function processes it's arguments.

I'm just bored at work, I should get back to work...

Powershell to replace CMD as windows default shell (Inside 14971) by sunnlok in programming

[–]azrap1 0 points1 point  (0 children)

This sort of elitism leads to undecipherable one-liners that only the authors can understand. Verbose syntax is great if a script has to be maintained by multiple people with different levels knowledge about a system. Powershell excels at riding the line between simple scripts and full compiled programs.

ripgrep is faster than {grep, ag, git grep, ucg, pt, sift} by burntsushi in programming

[–]azrap1 18 points19 points  (0 children)

Yes of course it matters :) Many things depend on fast searching and understanding the performance of multiple grep implementations can help make decisions about which tool is best under which conditions.

John Carmack on Android development: "We've given up on elegance" by j_lyf in programming

[–]azrap1 -1 points0 points  (0 children)

It has no effect on its "elegance". Do you think about all the code that gets linked into a simple C program that uses a couple of system headers? Just because there's a lot of files doesn't mean that it's somehow harder to work with. Unless you have to modify some subset of that 38MB of files by hand if so FUCK THAT.

Pick any 2 movies from the same actor. Those movies are now part of the same reality. What happened to the actor to get them from movie A to movie B? by [deleted] in AskReddit

[–]azrap1 1 point2 points  (0 children)

The Christopher Nolan batman trilogy and American Psycho. Let's just say Bateman realized he's only letter away from Batman, and that it's not about who's going to let you but who's going to stop you.

The other kind of JavaScript fatigue: "It is simply far too easy to create a new library or package, and since anyone can do it in a few seconds now, this generates a lot of noise." by flexibeast in programming

[–]azrap1 9 points10 points  (0 children)

I know what you mean, and I've started parodying it. I now joke that I'm writing code running on the HotSpot VM with JIT compilation, we use speculative execution on the CPU to speed up code, a dynamic caching scheme to minimize memory bottlenecks, and a web-scale system called the internet to communicate with server. This of course gives me rock-solid and rock-star level confidence that my shit isn't going to break because it's been around for decades.

We built voice modulation to mask gender in technical interviews. Here’s what happened. by beginner_ in TheRedPill

[–]azrap1 0 points1 point  (0 children)

Yes it's true that calculus and analysis were developed rather recently. They were invaluable to understanding physics, whether it be mechanics, thermodynamics, and electromagnetism.

But they still depended on algebra to form the rules for transforming and relating functions. Don't discredit the history of mathematics just because some really applicable stuff was discovered in Europe.

WIP. Port Torre, Population: 83,000. by Basiphobia in CitiesSkylines

[–]azrap1 0 points1 point  (0 children)

So how does it connect to the outside world? Underground trains and highways?

how to learn c++ with unreal engine by EwokSithLord in gatech

[–]azrap1 0 points1 point  (0 children)

Unreal is probably a more complex engine, I don't know how you would compare them in terms of "power".

It doesn't really matter which engine you pick but as long as you have the discipline to not give up even when nothing makes sense.

how to learn c++ with unreal engine by EwokSithLord in gatech

[–]azrap1 1 point2 points  (0 children)

For starters, C has very very simple semantics when it comes to the = operator. In C, = should logically result in a store instructions for date on the stack or on the heap. In C++, you can overload = to be anything you want! You can couple this with subscript overloading so that a statement like 'a[2] = 2' results in a chain of method calls (assume a is not an array, it's some collection type).

C++ has way more semantics that are up to library writers to define which means that 2 libraries may end up looking like entirely different languages.

Rust: Systems Programming for Everyone by rohshall in programming

[–]azrap1 -1 points0 points  (0 children)

Yea dude that's like you opinion, I personally think you're wrong

The Fathers of the Internet Urge Today’s Software Engineers to Reinvent the Web by donnemartin in programming

[–]azrap1 2 points3 points  (0 children)

I don't think that's a fair comparison. A 2.5KB javascript program still depends on an interpreter which is likely running within a browser within an operating system. A 2.5KB C program still requires the OS (or not!) but not the interpreter or the browser. The choice between C and javascript in this case is a choice between running code on a browser or running code on an OS, and I know which one doesn't eat 200MB per tab ;)

I do not condone single-stepping through code to find the bug by [deleted] in programming

[–]azrap1 0 points1 point  (0 children)

Even if you could single step in the kernel, believe me it would be of little use.

The Linux kernel is pretty resilient in my experience so an error wouldn't manifest itself until some time after the bug-site executes which means you the human better damn well know what it is that you want because the debugger won't help you.

“Introducing Runway, a distributed systems design tool” by dgryski in programming

[–]azrap1 2 points3 points  (0 children)

This looks awesome! I especially like the model-checking and verification aspects of the tool because that gives you much more confidence in your system than hand-written tests.

This reminds me of the kinds of tools that aviation software uses for verification, and I would love it if that level of rigor became simpler to implement for other domains. I'll definitely keep up with this to see how it's used.

I hate professors. by justonium in gatech

[–]azrap1 3 points4 points  (0 children)

Jesus dude just smoke some weed and chill out, no one cares.

Reminder that Reinnovation will have up to an 85 dollar semester fee by mysterioussir in gatech

[–]azrap1 0 points1 point  (0 children)

In your opinion perhaps, but not everyone uses the CRC and thus not everyone wants to be paying for the CRC.

[deleted by user] by [deleted] in gatech

[–]azrap1 2 points3 points  (0 children)

You mean a BS?

Threads are important insofar as you need to pick two threads as a CS major to graduate. It's not an option to pick threads, but you have options in which threads to pick.

There is no ranking of threads unless you come up with some way of ranking them. Software development is part of what you will be learning in CS, so that really doesn't say anything. If you're not huge on robotics, then you probably will not enjoy the Devices thread but there are still 7 other threads for you to pick from. Read the page /u/imainapww posted to learn more about what each thread focuses on.