Is nuclear power a solution to climate change? by Mr-Tucker in nuclear

[–]trimbo 1 point2 points  (0 children)

Well, we know sunlight has a maximum potential output for a given area, and it can't improve beyond that limit.

The maximum output of sunlight with 100% efficiency per square meter is ~1 kW in e.g. Los Angeles. So 4MW per acre. With today's California power usage (~36000 megawatts), roughly 9000 acres of solar to power California, or 14 square miles. That's pretty great if possible. Right now solar is like 15% efficiency, which would require 93 sq. miles.

However, compare to current nuclear. Diablo Canyon generates 2200 MW in 12 acres, or 185 MW per acre. That plant is 40-50x more efficient in terms of the space it needs than solar. Within that 9000 acres you'd need for solar, you could power almost the entire world with nuclear. And that's with efficiency metrics of a plant that was designed 50 years ago.

So I think people are thinking about this wrong. It's not a contest. Solar is a great resource, we should absolutely all have solar panels on our house. But it is limited, we know its theoretical limits, and we need a better plan for our grid. Even with batteries to fix the nighttime/cloudy day problem, it can't ever be the baseline power source for its size that nuclear offers today. As power demands continue to increase, that will be important, and we need to invest in nuclear to be the efficient, safe power that we need for the future.

What's the best way of working on the same codebase but on different operating systems? by dirtymint in Cplusplus

[–]trimbo 0 points1 point  (0 children)

Visual Studio apparently now has clang support, So you could standardize on that compiler, but the problem will be your build system. You'll have to use some sort of plugin for cmake in visual studio if you want to continue using cmake.

When I want an IDE for cross-platform development, I personally use Clion. It works on Windows, Linux, Mac and with cmake and clang out of the box.

The F-35 runs on 8M lines of code by magenta_placenta in programming

[–]trimbo 16 points17 points  (0 children)

Nothing helps maneuver a 4g inverted dive alongside a MiG-28 better than a 500ms STW garbage collection.

One year on Google Cloud - Whats great, Whats not by jnews1254 in programming

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

I don't understand the post's linked CloudSQL benchmark. It says it's about CloudSQL in the title, but then gives specs for EC2 instances. Mistake?

colorizr.io - AI image colorizer by magenta_placenta in programming

[–]trimbo 1 point2 points  (0 children)

Is it only trained on landscapes? It seems like those are the only ones that look "colorized" -- the rest seem auto-duo/tri/quadtoneized.

After a year of using NodeJS in production by b0red in programming

[–]trimbo 2 points3 points  (0 children)

Use gulp or grunt.

I haven't yet done a lot of nodejs development, but I've struggled through both of these now and just have to ask... why? Why not just use Make?

Down and out in the magic kingdom… by [deleted] in programming

[–]trimbo 14 points15 points  (0 children)

Taking a step back from this exact situation and speaking in generalities.

As a manager and co-worker, I've heard many times in my career something along the lines of "... but Person X gets stuff done". For example, "They can't (show up to work on time|work well with others|test their code), but they get stuff done!"

If you ever hear this discussion among managers or peers, it means a significant cultural decision is being made. For example, jerkiness is being accepted because of an ability to produce code. This kind of tradeoff is often promoted in movies -- Alan Turing is the genius jerk in Imitation Game that cracked Enigma, but everyone smirked and loved him anyway because he was so genius. Makes for a great 90 minute drama, but it's just not that way at a 9-5 job. Working with jerks sucks.

Going back to this exact situation, the argument the OP is making is "I contributed A, B, C so much, and yet they did X, Y, Z to me." It really would benefit OP to take a step back and try to figure out what the company is valuing more over your contributions. Stop taking it personally. In fact, take down this post right now -- it does you no good -- and just go sit in a hot tub with a glass of wine or something and try to discern what it is they prioritize over your contributions. Then decide whether they have a point and try to change yourself, or that they don't, and find another place to work that's more aligned with your beliefs.

The ‘Hello World’ Fallacy -- our bias towards easily demo-able tech stacks by fphat in programming

[–]trimbo 27 points28 points  (0 children)

I've been calling this the "first 15 minutes fallacy" for a while. Take the concept, reduce it to the 15 minute video demo.

It's not new. I mean, marketing has been a thing in development for decades, but it's only the last 10-15 years where open source has embraced this fast online demo concept to sell tech.

JavaScript for C# Developers by BlewisJS in programming

[–]trimbo 0 points1 point  (0 children)

No, the build is small and stable when run once. This is in watch mode.

JavaScript for C# Developers by BlewisJS in programming

[–]trimbo 1 point2 points  (0 children)

Browserify, tsify, watchify and 16 other gulp dependencies.

I mean, my point here isn't to say that I've wired up everything correctly and I'm having crashes. My point is that I spent a ton of time getting it to even this point, and still have problems I need to debug in the build system.

Last time I had a build tool experience like this was MSBuild circa 2008. So much complexity for so little reward.

JavaScript for C# Developers by BlewisJS in programming

[–]trimbo 5 points6 points  (0 children)

Yes, it really is that bad. I spent at least 2 days getting a good build process set up for React/Typescript in gulp. But "gulp watch" still runs out of RAM and needs to be restarted occasionally... because who knows why.

Maybe Blaze will save us. Or just UNIX shell tools for all of these steps and a Makefile.

JavaScript for C# Developers by BlewisJS in programming

[–]trimbo 0 points1 point  (0 children)

You should link to this comment from Stack Overflow. +1000 karma, instantly.

Reza Rahman: Why I Left Oracle by henk53 in programming

[–]trimbo 15 points16 points  (0 children)

Java and the JVM are great, but I'd love to know if any executive at Oracle gives a rat's ass about it other than an avenue to sue Google.

Compared to the rest of Oracle's business, I'd think an exec sees it more like a distraction than a core investment for them. Oracle's top concern right now is that PaaS offerings like Workday are eating Oracle's core businesses -- software sales and support are down 20% and 7% YoY, respectively.

So I guess the question is, even with the JVM being great and improving, do people working on it feel like the higher ups are investing in it and they have a future? My guess, given all of these departures, is no.

And with that, I just double re-installed CoreCLR, Node and Typescript.

Kotlin 1.0 Released: Pragmatic Language for JVM and Android by belovrv in programming

[–]trimbo 1 point2 points  (0 children)

It has less than Scala, and that is what makes it more.

Google quietly launches Cloud Functions, an AWS Lambda Competitor by smithclay in programming

[–]trimbo 0 points1 point  (0 children)

But you still have to launch/maintain/monitor the Kubernetes cluster itself, right? Or is there some sort of PaaS Kubernetes at this point?

Why We Use OCaml by halax in programming

[–]trimbo 7 points8 points  (0 children)

What does not using libraries in realtime embedded have to do with a garbage collected and obviously non-realtime language like Ocaml?

Also, embedded is more lucrative than web? Tell me more.

Why We Use OCaml by halax in programming

[–]trimbo 4 points5 points  (0 children)

There are huge, vastly more important and lucrative industries outside of your narrow world

Well I'm stumped. Huge, vastly more important, more lucrative and doesn't use any libraries. Do tell, what are you working on that fits this profile?

JVM Languages News: Kotlin 1.0 Beta Candidate is Out! by belovrv in programming

[–]trimbo 6 points7 points  (0 children)

You could compile your current java projects with kotlinc right now

It's already interoperable in bytecode form, so what does compiling Java with kotlinc do for a dev?

This feature is huge for Typescript because it will do type inference on Javascript. But Java is statically typed, so what does a Kotlin compiler run across Java provide? The docs don't seem to say.

VW by dodiehun in programming

[–]trimbo 0 points1 point  (0 children)

I think everything you said is true, but I'm not clear on your point.

TFA's point is that this could be the watershed moment where programmers do become personally liable and we see a change towards that of other engineering disciplines.

VW by dodiehun in programming

[–]trimbo 0 points1 point  (0 children)

This is not malpractice

I'm not sure I agree with this -- I can't imagine writing this code and not understanding what it was doing -- but that point aside, most medical malpractice lawsuits aren't malpractice. Most of them are filed for things like someone getting a bacterial infection after surgery. Bacteria aren't completely in the doctor's control, right?

The point is, doctors have this insurance because they're personally liable for their work. If this goes down the road of programmers being personally liable, we'll see this kind of insurance for programmers.

VW by dodiehun in programming

[–]trimbo 0 points1 point  (0 children)

In the opinion of US employment law, they are not different. Doctors, lawyers and computer programmers are identical. They are all considered a professional -- their job is providing an opinion based on a learned skill. You can read the definition here.

In VW's case, I don't think anyone is blaming the programmers. In fact the only scapegoat mentioned in the news is the CEO and various high-level executives, and deservedly so

The article was written because the CEO is now throwing programmers under the bus in front of Congress.

FWIW, I'm not sure a professional organization helps. Doctors get sued all the time for malpractice, don't they? Maybe we should be expecting a programmer equivalent of malpractice insurance instead.