HN user

shouldbworking

440 karma
Posts0
Comments130
View on HN
No posts found.

Turkey is almost entirely Muslim, yet they produce alcohol and tolerate its consumption within their borders, even by their own people. Let that fact sink in for a moment

I don't think this is something to be proud of. The US is majority Christian and they tolerate satanism

I'm just pointing out that the flaw is egregious. PR videos are supposed to give people a view of the future, suspend disbelief for a minute. This just looks like something slapped together by an intern told to "put some future cars in a tunnel"

A damn disappointment for something hyped a while back from Musk himself. He should learn from Hollywood, movie trailers are far more important than the movie itself when public interest is involved.

Did anyone else notice that cars being lowered leaves a giant fucking hole in the middle of the street?!

This is a marketing fluff video untouched by engineers

There's biologically driven behavioral differences between male and female due to genetics. These differences are on a spectrum that varies between individuals but they are clearly visible in aggregate. A lot of recent political rhetoric bulldozes over the obvious differences between male and female to the detriment of our species. For example, the push to have the same physical standards for male and female in the army and elsewhere will inevitably drive the standards down. Males are mentally and physically tougher by design. And before anyone calls me sexist, they also die younger. Everything is a trade-off.

I believe that denying these differences is sexist, as it results in laws that affect males and females unequally. Should sentences for violent crimes be shorter for men because higher testosterone levels make them more biologically prone to violence? This is dangerous political territory bordering on eugenics but an interesting question nonetheless.

[dead] 9 years ago

Obligatory agreement that JavaScript is terrible, but this horse is too dead for me to bother digging up a bunch of links about how bad it is.

[dead] 9 years ago

I've seen both ends here in the US. I've worked with some of these big consulting agencies and those guys are almost always completely incompetent, whether they're H1B's or not. Half the code is either obviously recycled from another poorly done project or blatantly pasted from stackoverflow. A large number of the projects I saw never met expectations and we're quietly buried.

On the other side, I've known a lot of Indian developers at product companies here in the US and they're mostly brilliant. I'm sure it's self selected to a degree because you've gotta be pretty smart to get a job on the other side of the world. Still, I think taking down these big visa abusing companies is good for the US and India. The good engineers in both countries will get the pay they deserve, and Indian developers will get a better shot at working at companies that aren't just body shops

You are definitely in the majority among .NET engineers. Like everything it seems like people get pigeonholed into certain families of tech after being in the field for a while. Microsoft is one of those families, and so is Java.

.NET community ain't terrible, but it's nothing compared to Python and Java. I have tried to convince my co-workers of this fruitlessly over the years but basically all of them are .NET for life. There's no point in arguing that another product is better if the person you're arguing with has never seen it.

I used to share the same opinion as you until a few years ago when I got bored of making the same old .NET CRUD "line of business" apps at work. I decided to do some cool open source stuff that I always enjoyed reading about.

At first I wanted to use .NET but I quickly abandoned it after playing with Linux on AWS and learning about Cassandra, React, rabbitmq, elastic search, and Postgres. I had never even touched all of these great things. At an MS shop it's "SQL Server, SQL Server, SQL Server" for anything with even the slightest resemblance to data storage. Web development is "Angular" or "MVC" with little variation.

I started writing some cool open source stuff and realized I would be alienating myself from most of my users if I made it in C#. So, I picked up Java and never went back, at least at home.

I'm the only developer at our company out of ~35 that prefers Java over C# and the only one that contributes to free software. I don't think that correlation is a coincidence.

I worked at a place that used neither the header or geo-ip. Multi language capability was a check box for a client and they never specified how it needed to work, so it was implemented in the most haskish way possible.

The app was not localizable, it was using an obsolete platform and third party widget library. So.... We made a handler that piped the HTML output to a parser which attempted to identify the visible text on the page and translated it using a dictionary. The only way to choose a language was a small drop down on the top of the page that was always in English, and since it was implemented so badly usually you had to leave and return to the site for the translator to start working(caching issues).

He makes some good points, others seem like more of a conspiracy mindset. I agree with him that EEE tactics at MS are probably alive and well. We're seeing a friendlier facade because MS is losing it's dominant market position. However technology isn't inherently good or evil so I'll gladly enjoy things like Typescript until the day MS tries to make them proprietary again.

I think MS gave up selling software and wants to sell services like Amazon or Google.

Not a ton of places, but in my case forwarding HTTP requests. Netty is close to 100x faster than regular .NET. Another example is JSON serialization. Jackson/GSON are maybe 30x faster than the built-in JSON handling in C#. Everyone smart uses Newtonsoft now, but it was a huge bottleneck until a few years ago.

.NET seems to have a lot of rough edges where MS said "fuck it, nobody will complain if this is slow". If you happen to use one of those features that didn't get enough love you get burned. Java is generally polished throughout, most likely due to the sheer volume of software written for the JVM

Guava/Commons contains a lot more than collections. The standard class library in .NET has maybe a third of what's in Guava. Keep in mind that Java's built in library is probably just as big as C#. I won't bore everyone going over the list but check out the summary https://github.com/google/guava/wiki

Things I've used recently include Guavas automatic argument tester, in memory caches/queues, high speed hashing algorithms, and Bloom filter. None of that stuff has real equivalents in C#.

That redis client looks solid, so I may got a bit carried trying to prove a point. The Postgres driver looks good too, but is not officially maintain by the PG team so it could evaporate some day. The Java equivalent IS an official Postgres driver. I see this with C# frequently, it's treated as second class by a lot of OSS projects.

You didn't make a counterpoint to Lucene, I assume because there was really no equal out there for C#.

These days tying your language to Windows, visual studio, and IIS is unforgivable. MS is trying to undo this with .NET core but for the time being I find it rediculous to need to pay for all these licenses. If my employer wasn't paying for my enterprise edition of VS and copies of IIS, Windows Server, and SQL Server I wouldn't be touching C# at all.

At home I use OpenJDK with eclipse and Dropwizard running on Linux with Postgres. The quality of the tech is the same and everything is free and open source.

I'm not arguing about higher sea level, temperatures, or CO2 levels. I fully believe that all of these are going up.

I think it's unrealistic to believe we can get the whole planet to reduce CO2 emission, so we should stop spending so much effort on it and find other solutions.

I also doubt how much rising sea level will actually hurt humanity. Even in the worst case scenario were talking about an inch or two a year. This is slow enough to easily build a wall, dredge to raise up land, or move buildings away from rising waters. Besides, who puts buildings five feet above the water? The vast majority of buildings would just flood more often. It's not like buildings on the coast don't already get hit by cyclones.

It's well known that large volcanic eruptions have caused global cooling for a few years that's severe enough to lower the temperature of earths surface several degrees.

I don't think anyone can deny that it's possible to cool the Earth by putting stuff in the upper atmosphere because we've already seen it happen during recorded history.

Since Java is the most similar language and what I'm familiar with, here's some things where no C# equivalent exists:

Lucene, Guava, Apache Commons, Redis driver, Postgres driver, Cassandra driver, Kafka driver, gRPC, Http2 support(on all platforms, not just windows 10)

Notice I said "equivalent". C# ports exist for some of these but they're unofficial, unmaintained, or both. The most heinous thing I've seen MS do recently is only support Http2 on newer versions of Windows. Http2 is a high level protocol and there's absolutely no reason for this. In Java you can use Http2 on any platform using Jetty, Netty, or soon built into Java 9.

Look at the older techempower benchmarks where they include the regular .NET framework. It's slow as hell compared to java.

And yes that's the problem. The CLR itself probably isn't slower than JVM but most of the .NET stack is. It just wasn't written with performance in mind.

Eclipse is a lot better than it used to be but still has hallmarks of open source applications (confusing UI, giant feature pile). IntelliJ is great but it costs money for the full version. It's closer to a Visual Studio style experience.

It's faster. The JVM is almost always faster than the CLR, look at the techempower framework shootouts. .NET core is fast but regular .NET get destroyed by multiple Java frameworks.

Back in the day MS created a propriety native code interface for their "Java for windows" runtime instead of supporting JNI. Sun sued them for this and other BS and eventually MS settled out of court for somewhere over $2,000,000,000 . Basically, MS got caught red handed trying to break cross platform compatibility of java applications.

After this they tossed their Java runtime, added ActiveX to IE and started pretending that Java didn't exist. I'm not surprised at all that MS doesn't go near this project