255 karma · joined Oct 20, 2010 (16y ago) · 85 submissions
comment 3y ago · link · parent
comment 5y ago · link · parent
- environment: integration of a large amount of services - and a good amount of them are legacy and idiosyncratic
- use case: enterprise app are at the intersection of real life and the virtual world: the rules are messy, illogical and have a baggage of 20/30+ years. Thus they cannot be changed at all. This is IMO the main difference between a "pure" greenfield startup kind of project and the enterprise one.
- add another layer of burocracy and complex environment to navigate
And with that you got the enterprise app world :).
In the end whatever framework is chosen, the most important property is the availability of common language/patterns.
comment 5y ago · link · parent
To be noted, it makes this kind of attack more difficult, but not impossibile.
Especially the mix public/private artifacts. I guess it will force a lot of companies to at least lock their groupId on maven central, if they never bothered to do so.
comment 6y ago · link · parent
Generally it's implemented with a custom URI scheme (that the target application is registered for) or a loopback ip address.
[0] https://developers.google.com/identity/protocols/oauth2/nati...
comment 6y ago · link · parent
The UI/UX of youtube music is lacking compared to GPM, but at least the file locker functionality that I use is still here.
comment 7y ago · link · parent
You are right about angular. We already have done 50% of the work, as we have the "customer" facing part done in angular 8 (https://github.com/alfio-event/alf.io-public-frontend).
In the next release (M3) we will convert the "admin" part too (we are targeting a new frontend built with angular material) :)
comment 7y ago · link · parent
comment 8y ago · link · parent
14.
Reshaping web defenses with strict Content Security Policy(security.googleblog.com ↗)
98 points · by syjer · 10y ago · 24 comments
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 11y ago · link · parent
"For the purpose of modularizing the Java SE Platform’s reference implementation, the JDK, we will introduce a new artifact format that goes beyond JAR files to accommodate native code, configuration files, and other kinds of data that do not fit naturally, if at all, into JAR files. This format leverages another advantage of expressing module declarations in source files and compiling them into class files, namely that class files are independent of any particular artifact format. Whether this new format, provisionally named “JMOD,” should be standardized is an open question."
Edit: from http://mreinhold.org/blog/jigsaw-modular-images
"The internal files rt.jar, tools.jar, and dt.jar have been removed. The content of these files is now stored in a more efficient format in implementation-private files in the lib directory."
comment 11y ago · link · parent
They will switch from the basic jar (zip) format to a more optimized one. Additionally, with a modularized jre, it will load less modules (who use corba?). I'm quite sure there are additional reasons, but it's the 2 that I remember.
comment 11y ago · link · parent
comment 11y ago · link · parent
In fact we (3 of us) are all working in a "big" enterprise settings so we kinda know (and suffer sometimes) about the general constraints of deploying external software (it's more probable that a java or dotNet app will be accepted than something built with an exotic stack that require others additional software that nobody is able to operate internally).
Anyway, for running lavagna you don't need a big server, I'm running it on a small (free) 512mb of ram server from openshift _with_ a mysql instance in it! This is a 5usd/month instance at digitalocean.
>What's your business model with Lavagna?
We are developing it in our spare time (I don't work full time so I can do projects like that), so nothing concrete at the moment, we are open for any opportunity.
comment 11y ago · link · parent
- lack of generics (sorry, but even though I kinda like go as a language there are features that I consider mandatory)
- lack of decent dependency handling (I don't consider vendoring a good solution, with maven central I know that the libraries will be there forever and there is a versioning scheme, pointing to the master branch of a git repo is not a good solution either, I value stability)
- lack of officially supported sql drivers and libraries like lucene (sorry but I don't really want to depend on a random github repo, it does not give me enough ensurance that it will be mantained)
(And I don't think that a statically linked binary/smaller binary/less memory footprint is a good enough reason to dump the jvm and his ecosystem)
comment 11y ago · link · parent
I admit that I still don't understand why java receive so much hate.
What kind of language would you prefer for a server side application and why?
For this project I've chosen java _because_ it's a boring language, I really don't want to be enabled to write clever code that will be unreadable after few months.
Additionally, with a jvm I've got extremely good libs/tools for developing the application, and when in production a whole heap of monitoring tools.
So uh, sorry for liking the jvm :(.
(And it's not that I know only java, far from it...)
edit: and still, I don't think that requiring a jvm runtime is asking too much. I mean, if you use a managed language, you will need a runtime.
comment 11y ago · link · parent
- a .war for deploying in a standard 3.0 servlet container
- a self contained executable war that has a embedded jetty http server
For the self contained option, you only need a working java 7 runtime. I don't think that I can do it simpler than that.
Additionally, if you prefer an even more automated way of updating the software, the application is available on maven central, so you could (as we are currently doing it in our openshift instance) use the maven jetty plugin and select the depedency.
I can't really think of a simpler deploy system. (except statically linked binary, obviously, but there you need to select the correct os :))
edit: we have a docker image for testing purpose too.