I love java and kotlin. The gap has certainly swayed way more in Java's favor over the last 5 years, but there are still a ton of great features that kotlin does first and if that gives java a target to run toward in a lagging way more legacy compatible rock solid way, isn't this just a win for both camps? Just consider kotlin (JVM) to be java-beta with slightly different flourishes, and you wouldn't be too far from the truth. Kotlin is also very big in pushing their other initiatives that aren't entirely directed at JVM at least for now, like cross compilation native targets, compile time serialization primitives, totally structured concurrency, etc
HN user
adra
It's not great, but you can always catch and retry if your belief is that the GC will free enough memory to allow the attempt to continue after the memory pressure subsides.
Let's say you get 1/100 requests that are randomly sent to your process. That 1 takes 100x the average memory usage of the others. You could spin it out to different services to better handle the weird one-off, but that doesn't always make sense. Sometimes you just need to be ok with working the 100x job and let the other 99 get progressive falloff retry. Different solutions are always possible.
Erm, maybe file based? JSON is the king if you count exchanges worldwide a sec. Maybe no 2 is form-data which is basically email multipart, and if course there's email as a format. Very common =)
The unemployment rate is what, 3%? Where are you going to find the millions of people needed to make the iPhone domestically? Immigration? Hah, that would be an interesting stance. Automation? It would work to fill some gaps, but even apple doesn't want to pay Chinese workers for tasks that machines can do today. Someone in their company decides on when they automate, and when they use elbow grease. They may be able to afford a lot of the capital outlay to greatly improve the productivity of their workers if effectively required to onshore, or they may just stop selling iPhones in the US for a few years if all cell phones become prohibitively expensive to own. If Apple can't make the economics work, I can't see who can.
I'm sure that China will suffer greatly from any trade war, and I'm positive the US will blink first. Chinese consumer and workers are already significantly less likely to revolt, stop working, drag their country down. The second that dollar store becomes $10store in the US, it'll be pandemonium, and they only have a single person to blame for their troubles. China? They may be doing anti-competitive trade practices and haven't been put to task, but if you ask the Chinese citizen who to blame on the trade war, it'll be trump. If you ask a US citizen who to blame for this trade war, it'll be trump.
The benefits of education on a country are decades long to fully see the positive outcomes. How do you expect differently by destroying said institutions? Your kids or likely kids kids will be feeling the decision of today as the beginning of the dark ages (at least in the US). Without innovative people able to achieve great progress, where does society, , hell humanity go? At the very least from a here and now position, it's a strong signal to continue pulling money out of the US and into countries that have better long term outlook.
The two OS kernels and API are super close (outsider perspective). I used win2k for like 10 years mostly on the back of applications and games supporting XP for so long. I can't recall the big API differences. Maybe XP has UAC and there were APIs to check for it? Anyways, I still have fond memory of manually patching out API calls hard coded into EXEs to bypass XP only parts which were almost always superfluous.
You know, the Nissan that has two feet i to the grave... I Surrre.
And they don't even bother holding their noses tightly sealed as they let them pass. Source of income (you know what I mean) has no bearing on these places. Enjoy your neighbours, definitely don't piss them off without.. consequences
Why, because 90% of her job is talking to and appeasing shareholders, grand standing with fat whales, and what else.. what do you think a CEO at these companies actually does? They aren't in the trenches of each subdivision nurturing and cracking whips. She likely attends a 2 hour briefing with a line item: CUDA parity project: on schedule release date not set
Make builds in docker by mounting volumes and have your sources, intermediate files, caches, etc. in these volume mounts. Building a bunch of intermediate or incremental data IN the container every time you execute a new partial compile is insanity.
It's very satisfying just compile an application with a super esoteric tool chain in docker vs the nightmares of setting it up locally (and keeping it working over time).
At the very least, they can provide a full log of all interactions and recording in an audit log. Have that verified with researchers conducting their own analysis on dial home activity and I think we'll be significantly closer to a good answer here about generalized mass capture of customer sensitive data. This still wouldn't be enough if you're worried about targetted spying, because we can't know when bad actors flip your device into spy aggressively mode unless you're auditing the device while targetted).
Framework made a tiny desktop form factor version with this chip in it, so we'll if it gets much traction (at least among enthusiasts).
I don't care if this works or not it makes me giddy with glee at the idea. Thanks for making my day.
To be somewhat charitable to GP, if their climate for research and development leads to actually objectively better outcomes then yes I'd say it's fair to make the claims that a nation's work in any given sector are showing better returns given the circumstances and inputs in question. Now there are a lot of generally hard to observe facets to the inputs that went to these technological advances produced by China (publically), but you can't ignore their public and OSS contributions because it's inconvenient to a person's capitalist agenda.
Google gives attribution and maybe provenance, while AI gives you smoke and mirrors. I guess we'll decide if copyright has any legs left to stand on in the modern world, or if it falls as collateral. It's so sad that commercial piracy has hit such an incredible tipping point that even I feel bad for creative people and their bleak economically dead future ahead.
Don't forget about their REAL expenses: credit processing fees and chargebacks.
The windows kernel is old. The Linux kernel is old. These are both old code bases, but they're not "legacy" at least in terms of how many would phrase the term. A codebase let to rot is legacy. A codebase that is constantly improving itself to be in the best state so that it can adjust to modern programming standards is just a good piece of software.
That all said, it's all subjective, blah blah the end.
I'm still waiting for file upload API v2. V1 was only made EOL like what, 9 months ago.. Its totally fine to gut your company when all you need is maintenance mode.
The rationale is to damage Chinese commercial interests. Otherwise, the billions of IOT devices that dial back to Chinese manufacturers would be way higher up the list than an AI tool that has shown five minutes of adoption.
There is also an Adblock plus filter to stop the AI from ever showing up. Can't remember what it was at the moment, but it worked great.
Reasons for fad status IMHO, things companies are wanting to charge for that I'm willing to pay for: none. Features added to existing products that have made the product worse: actually more than zero.
Maybe this tech is great for people who aren't smart to make decisions and research for them. Maybe it's great for companies that plan to massively decimate labor costs. Maybe it's ...
The jury may still out as to what if any actual long lasting changes this tech is having to change our world for the better, but what I hope is abundantly clear by now is the stratospheric valuations people have slapped on this industry are unlikely to be justified any time soon.
Member berries when the internet was hip and cool and UUCP was the only game in town, and everyone was a wonderfully insightful ray if sunshine? Yeah, me neither.
You do have some options in the JVM world. As mentioned, you should still be able to kill threads if you really wanted to, but if you wanted to pivot to JS/LUA, there are still jsh alternatives like rhino in JVM to avoid some of the larger reworks. They are based on their own stack/continuation work of over a decade ago, so not fresh. You may want to look at virtual thread pools through. Since these are green threads and the JVM preempts them aggressively, there may be the abstractions you're able to exploit for your more aggressive culling needs.
I don't know about security manager though. I haven't poked at it for a while, but I wasn't aware that they removed it? Maybe you just need to opt I to the JVM access rule to support it. You can always layer your security with a separate class loader, which can prevent child tenants from even seeing protected classes and statics, which is always good security layering if untrusted is your problem.
I also really enjoyed the jump into Kotlin as well! That said, I'm also very happy with recent java versions trying very hard to close the gap. It does feel like at least half of Java's recent major lifts have been to emulate things done well in other languages (a great attribute for a self-aware language developer). I definitely never appreciated a lot of their newer feature choises like records until I saw them working really well in Kotlin data classes.
You can and always have been able to .destroy() threads in java, but doing so breaks the memory model in ways that make it clear that you should never do it. My guess is that if you're kill heavy in c++, then you've also run into bugs waiting on locks of threads you've now just murdered. That's why there's a ton of great abstractions for how to "kill work running somewhere else" that doesn't leave your application in a potentially unstable state.
Java 9+ sure did kill off a lot of things that weren't particularly ideal. Most normal devs who don't write libraries probably can't even name a single feature removed (corba, script interpreters, some jmx cruft, etc). Most of what was culled still exists in libraries that could easily be added back with project imports. Maybe Java applets are super dead now? I don't believe any modern browsers still support native plugins, but maybe there are some niche individuals bemoaning the loss of java web start.
As for the "can still deploy code" comment, the same applies to java. Look around, and sadly you see very old releases of java still in use today. My guess is that if I fired up a java 1.0 compiler and JVM today, it would run on my PC (poorly).
Before criticising something, please consider being well enough informed to warrant the comment.
No, the reason they tack on the fee as a "tax" is literally to confuse and otherwise mislead the public to the true cost of the product they're buying, or mislead where the money is directed. they're buying from. If you believe in the Tennant's of capitalism at all, then you must have clear price representation.
I mean in reality, this is an excuse. We can and do build good software for many and all people, but the bad ones make it look like every engineer is out to lunch. Counterpoint, it's rarely an incentive to OSS software (individuals) to sit down with focus groups of early adopters to gather valuable feedback that can help iron out rough spots, so maybe a classic a little of A, a little of B here.
The same reason as anything else. If the merger goes ahead with opposition from foreign markets, those markets can impose import tariffs or outright bans. Smaller markets may be ones these combined companies are willing to piss off, but not Europe. Their opposition is defacto a deal killer.
If you're a large enterprise, then it's trivial to add yourself your own custom CA and save the cost/hassle of needing to deal with outside companies. The tradeoff being you need to manage it yourself vs basically paying this third party company to survive?