HackerTrans
TopNewTrendsCommentsPastAskShowJobs

shartacct

no profile record

comments

shartacct
·5년 전·discuss
M1 pro and max are very likely the fastest consumer CPUs in the world, despite being stuck in a 30-40w power envelope. Apple is embarrassing AMD and Intel engineers right now.
shartacct
·5년 전·discuss
[flagged]
shartacct
·5년 전·discuss
[flagged]
shartacct
·5년 전·discuss
I don't see why an argument needs to be made for it? Being anti-vaccine is anti-public safety and an active attempt to undermine the stability of the country and society. It should be viewed as terroristic.
shartacct
·5년 전·discuss
How does that make any sense? I put my card into the reader and it debited from my bank account. I didn't pull cash from an ATM and there was no ATM present in the business.
shartacct
·5년 전·discuss
> Yet you can't use a credit card to buy cannabis pretty much anywhere AFAIK.

Every dispensary I've visited here in the northeast accepts cash and debit cards, I assume they don't accept credit due to higher processing fees and higher risk of chargebacks rather than processors being problematic (otherwise they would not accept debit since they get ran through the same system anyway).
shartacct
·5년 전·discuss
> With project Loom, it will avoid the mistake of function coloring that async introduces. In a managed language, why not let the runtime automatically transform blocking calls to non-blocking, when it already knows what’s up?

Not saying it's a good or bad thing, but .NET and C# by extension has had these features for years (decades in some cases) while the only thing java has are half-baked prototypes and plans to 'maybe' implement things. In many cases these plans just get endlessly pushed back and new java major versions just become a pile of simple bugfixes which in the past were just pushed as minor jre updates.
shartacct
·5년 전·discuss
No they shouldn't. There are high-risk payment processors that will serve foreign intelligence operations like wikileaks, fascist political donation services, fraud-heavy industries like fiat to crypto onramps and socially regressive businesses like porn. There's no need to regulate low-risk payment processors as the industry is not monopolized in any way and it's trivial to find one that will take your money.
shartacct
·5년 전·discuss
Stop crying and get vaccinated, or find a way to make money without endangering other people.
shartacct
·5년 전·discuss
I guess you missed the 'new development' part of my original comment? Obviously it would be nonsensical to port a large extant codebase to a new language and tech stack if it's just being maintained.
shartacct
·5년 전·discuss
> Records, switch expressions, multi line strings and that is only language changes.

None of those are features, they were desperately needed shorthands for common java idioms. This is like calling braceless if/for/while statements 'features', when they're purely syntax sugar that has fallen out of favor completely because there's been several major security vulns found in major projects due to their use and development oversight/code review failure (https://nakedsecurity.sophos.com/2014/02/24/anatomy-of-a-got...), to the point where most companies ban writing them.

Just off the top of my head:

* LINQ. Added to C# in 2007, Java didn't get streams until 2014.

* structs/value types, implemented in net framework and net core for 15+ years, but not present in java 17. Some oracle engineers have been working to implement them under project valhalla but it seems to be vaporware at this point after 8+ years of work.

* unsigned types, no plans to implement in java (though IIRC it was originally planned as part of valhalla)

* async/await

At the feature level Java is stuck in the mid 2000s. Nobody wants to do the actual work on keeping it competitive.
shartacct
·5년 전·discuss
Valhalla isn't anywhere near complete and has been in development for 8+ years, C# had these features before valhalla was even planned.
shartacct
·5년 전·discuss
> take advantage of the jvm

In what way? It's slower and has less features than the .NET runtime.

> "no real reason" is a stupid take. I could list multiple, but a big one is that there are hundred java developers for each dotnet developer in my city. The java env is well tested and well understood, if anything one should argue why not use it instead of a hip and trendy alternative.

So, your only credible excuse for using java is inertia from boomers and middle managers refusing to adapt from the standard of the early and mid 2000s?
shartacct
·5년 전·discuss
Yes. It's ported to every mainstream CPU architecture and OS.
shartacct
·5년 전·discuss
Ad injectors on public wifi is a marginal 'risk' considering this page is targeted to professionals and informed hobbyists anyway, who will predominantly just be browsing from home, work or with a VPN that tunnels traffic through either a server they control or a service provider's server whom they trust anyway.
shartacct
·5년 전·discuss
There's no real reason to use java for new development in 2021.
shartacct
·5년 전·discuss
> any references/benchmarks for some realworld apps/services?

.NET 6 is vastly more performant than .NET 5, which was already faster than openjdk and openj9 (https://devblogs.microsoft.com/dotnet/performance-improvemen...)

> and also what do you mean by oracle suing if you implement value types?

this one shouldn't need an explanation, oracle very commonly pursues frivolous lawsuits as a way of bullying money out of businesses that don't have the budget to fight them for years in various courts.
shartacct
·5년 전·discuss
What reason is there to force https on a stateless static page? The content is always the same. You're just ruining caching and wasting CPU cycles.
shartacct
·5년 전·discuss
> (language features, performance gains)

There haven't been any notable language features added since java 9 besides some basic syntax sugar (which is already covered by stuff like lombok anyway).

For features and performance you might as well just target .NET 6. It has things that have been perpetually 'too hard to implement' (read: oracle doesn't want to pay their engineers to impl it and will sue you if you do it yourself) like value types, generics without type erasure, no checked exceptions, etc. and with .NET 6 performance is better than OpenJDK across the board.
shartacct
·5년 전·discuss
Who cares what you believe? Scientific fact/consensus says you're wrong.