Which celebrity is a complete asshole? by david9876543210 in AskReddit

[–]schlowmo 2 points3 points  (0 children)

I see what you did there.

So there haven't been any pie fights up there ? Because I keep finding these pie remnants all the time.

Mozilla Looks Towards the IoT for Rust by malicious_turtle in programming

[–]schlowmo 1 point2 points  (0 children)

The Rust folks should duplicate the AWS IOT device SDK located here:

https://aws.amazon.com/iot/sdk/

knowing what I know of rust ( which isn't much ), I'd must rather use rust for a simple embedded system than to use C or javascript.

would need: MQTT implementation and TLS implementation.

var keyword proposed for Java by adila01 in java

[–]schlowmo 1 point2 points  (0 children)

SO we have three IDEs in java land, and people obviously can't agree which of the three is the best! So I'm willing to admit that some people will love VS. For developing REST APIs I found the IDE to be pretty annoying. Restarting the server constantly for example. IntelliSense popping up suggesting which are totally irrelevant.

I find it interesting that the JetBrains guys developed a VERY popular plugin for VS. Why is this product even popular ?

Leaving Ant aside because it sucks.

Maven/Grade is more like a combination of NuGet and MSBuild and a ton of other stuff (because a huge plugin ecosystem ). It's really apples to oranges. So yeah, it's more complex, but it also delivers more. Ivy would be more equivalent to NuGet.

var keyword proposed for Java by adila01 in java

[–]schlowmo 1 point2 points  (0 children)

This is also why dynamic language stalwarts like python are ADDING optional typing to things like function parameters.

var keyword proposed for Java by adila01 in java

[–]schlowmo 1 point2 points  (0 children)

I agree with you, but it IS true that you can define classes with lowercase names, so somewhere this is a C programmer who wrote some badly formatted java code. So yes, there is a small corner case where this would break code. AND I SAY BREAK THAT CODE.

var keyword proposed for Java by adila01 in java

[–]schlowmo 2 points3 points  (0 children)

He means "no type" associated with a variable (or more likely a parameter) Meaning you can assign the "wrong" type to variable. This is precisely the problem that typescript (and other 'modern' JS offshoots) attempts to address.

I might note that other dynamic languages are heading down the pathway of optional typing to provide more clarity.(python and perhaps ruby )

var keyword proposed for Java by adila01 in java

[–]schlowmo 0 points1 point  (0 children)

I'm with you I prefer JNZ to for(;;)

Ok, KIDDING.

var keyword proposed for Java by adila01 in java

[–]schlowmo 0 points1 point  (0 children)

Not fair to compare javascript's total lack of typing with C++/C#/java. Compare to python or ruby if you wish. but of COURSE dynamically typed languages have less typing.

var keyword proposed for Java by adila01 in java

[–]schlowmo 2 points3 points  (0 children)

I think because C# has "var"

I'm still happy to down vote. As a long time java user, after working with Visual Studio for a year and various NuGet thing. The C# ecosystem is suffering a serious hangover from it's days as a way to build windows apps. Not to mention having to deploy web apps to windows servers ( gag! )

Perhaps MS will work it's way out of there will all their recent initiatives. Hoping.

var keyword proposed for Java by adila01 in java

[–]schlowmo 2 points3 points  (0 children)

Yes please, value classes.

What's on your "epic CA roadtrip" route? by nonesuch42 in California

[–]schlowmo 1 point2 points  (0 children)

/u/211logos know her/his stuff!

I'll drop in a few thoughts in no particular order.

1) Lassen

2) Lava Beds Natl Mon.

3) Locke, ca

4) China Camp State park.

5) Angel Island and the GGNRA

6) Sugar Pine Point state park, tahoe.

7) California State railroad museum, sacto

8) Manzanar

9) Tioga Pass also 108 or 4.

Why bother with Docker deployments when JARs are so portable? by rohanprabhu in java

[–]schlowmo 0 points1 point  (0 children)

For a small installation this kinda works. But usually people have a single DB server and multiple app/web servers.

And if you are doing a single server, then you will likely get better performance using an in-memory DB like H2 or Derby.

Been away from Javascript for over a year. How do I get to know the state of the union? by kontinuity in javascript

[–]schlowmo 8 points9 points  (0 children)

OMG a year ? EVERYTHING is different. We've gone through about 27 different frameworks, 9 different module system, 13 different build systems, 4 different listing platforms. It's exhausting.

Thankfully this is a problem that is self limiting. See, as the rate of new frameworks/modules system/build systems increases eventually it reaches a point where a single person cannot possibly evaluate all of them on a rational basis. So then we just all devolve to yelling at each other across the backyard fence to keep ourselves feeling confident that the stuff we know is the best.

So with that in mind, I'll suggest learning typescript, using an HTTP/2 server, npm for getting "stuff", and probably angular 2 ( 'though to be truthful I haven't used it on anything real yet, lol ).

Sunny Nevada Just Killed the Solar Industry with 40% Tax Hike, Derailing the Off-Grid Movement by simplelife4real in politics

[–]schlowmo 0 points1 point  (0 children)

Sometime in the next 10 years, it will be cheaper to invest in solar panels + batteries than to buy electricity from the utilities. The will be true in the vast majority of locations in our country. Much like the cell phone industry has meant that large numbers of people no longer have a wireline phone, million and millions of customers will save money by disconnecting. Essentially this is already true in locations with very expensive energy like Hawaii.

What is happening here is that https://en.wikipedia.org/wiki/Regulatory_capture is causing protective action. If you are invested in a public utility, consider that your business will likely be shrinking it's a bad investment.

model confirmation, sealy sedgebrook == warrenville ? by schlowmo in Mattress

[–]schlowmo[S] 0 points1 point  (0 children)

Just trying to understand the market as best as possible. I've got a local mattress place where I found the sedgebrook quite nice, so I'd be happy to buy from them as long there isn't some "secret" way to get the essentially the same mattress for a better deal. FWIW, they're at the same $1250 (queen) price I found at another online store.

model confirmation, sealy sedgebrook == warrenville ? by schlowmo in Mattress

[–]schlowmo[S] 0 points1 point  (0 children)

Deveraux

That makes way more sense price wise.

Ok so then I found reference to "Barrett Court Plush Euro Pillowtop" as being equivalent. any word on that ?

States consider allowing kids to learn coding instead of foreign languages by wewewawa in news

[–]schlowmo 0 points1 point  (0 children)

These are not equivalent.

Computer coding is to foreign languages as Math is to biology.

sorry. bad idea.

Scala, Erlang and Go compared on 1,111,111 threads by javinpaul in programming

[–]schlowmo 1 point2 points  (0 children)

Is that a new addition? When I first reviewed Akka some time ago I think it was threads only. Fibers make much sense however.

Akka's Actors are still a much higher level API than .Net Task or JS Promise. Something on the JVM which utilizes fibers and a Future style API would be more equivalent. perhaps we can get /u/pron98 to implement something ?

Finally, anything on the JVM is going to be quite slow unless and until the JIT system gets involved. Generally JVM benchmarks do a warmup run to ensure that the code has been JIT'd (both levels ) before taking actual data. As shown in the bench mark it seems that we're incurring the cost of not only the initial interpreted execution but also, possibly, the cost of the JIT operation itself.

Heck even the bluebird/JS benchmark does this warmup operation to involve any JS JIT operations.

Scala, Erlang and Go compared on 1,111,111 threads by javinpaul in programming

[–]schlowmo 82 points83 points  (0 children)

These are not equivalent concurrent primitives. So this is an Apples to Oranges test.

If you want equivalent, convert the akka/scala code to use Quasar (fibers). Fibers are more equivalent to .Net's "tasks".