Better HN
topnewbestaskshowjobs
Log inSign up

syjer

255 karma · joined Oct 20, 2010 (16y ago) · 85 submissions

Submissions

comment 2w ago · link · parent

He also used the latin form Dux. (there are statues and motto with that term).

comment 3y ago · link · parent

I think it's this one: https://news.ycombinator.com/item?id=35114009

comment 5y ago · link · parent

From my experience, enterprise apps are generally complex because they are a combination of:

- 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

You may notice that in the linked article, only the artifact id has been spoofed. In maven you need to declare both groupId and artifactId for your dependency (and a fixed version, a range is generally considered a bad practice).

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

The trick is setting the right redirect_uri [0].

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

Yes you can upload: https://support.google.com/youtubemusic/answer/9716522?hl=en .

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 6y ago · link · parent

And create an accessibility nightmare.

comment 7y ago · link · parent

Hi, one of the devs here. I would like to clarify that this project has been developed as a side-project, it's not (at least, during that timeframe) our main work.

So don't take the time to develop a feature as a 100% full time work :)

comment 7y ago · link · parent

Hi,

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

If you consider that window, normally use third party drivers (by amd, intel, nvidia) which bundle by default vulkan.

Linux distributions and the more recent android versions?

comment 7y ago · link · parent

>The absence of a package manager like Bundler or Cargo was frustrating

why you did not use maven or gradle?

comment 7y ago · link · parent

I think that the approach done in https://wiki.openjdk.java.net/display/loom/Main is better than the async/await infrastructure.

comment 8y ago · link · parent

There is a subset with spring-fu (https://github.com/spring-projects/spring-fu). They are working to support the native-image feature of graalvm (https://github.com/spring-projects/spring-fu/issues/29).

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

our little project support ldap for the login part: http://lavagna.io/ .

comment 10y ago · link · parent

Oracle Java is based on OpenJDK and certified by Oracle. So I don't see how pouring vast resources into OpenJDK would make "Oracle Java" obsolete.

comment 10y ago · link · parent

1.7: as java.util.Objects is present ( https://android.googlesource.com/platform/libcore.git/+/mast... )

comment 10y ago · link · parent

This style is quite prone to escaping/sanitization issues. I would have at least used a template engine instead of concatenating strings.

comment 10y ago · link · parent

They sold a lot of shares during the alibaba IPO in 2014 : https://investor.yahoo.net/secfiling.cfm?filingid=1193125-14... .

comment 11y ago · link · parent

Clear, but the single rt.jar will be replaced with a more convenient representation, so, as you said, the seek time will be reduced.

comment 11y ago · link · parent

That's why it's called a modular jar. There is also this "jmod" file described as:

"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

>Except they don't mention at all how a module system should lead to faster boot times.

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

For the i18n, the basic pieces are already there. I'll provide a guide on how/what is needed to translate the application.

(Probably there are some issues in the gui for RTL languages and for CJK in the full text search support)

comment 11y ago · link · parent

I've answered in the github issue https://github.com/digitalfondue/lavagna/issues/10 :)

comment 11y ago · link · parent

Thank you, kinda sad that Persona didn't get traction :(

comment 11y ago · link · parent

Thank you for understanding the choice of the language :).

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

I've considered Go, but it does not really fit my criteria:

- 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

Thanks for the feedback.

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

That's why I packaged the application in two way:

- 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.

comment 11y ago · link · parent

We are dogfooding the program on a small (free) openshift gear which provide only 512 mb of ram (and we have in the same "gear" a mysql instance).

It does not use _that_ much of ram. (And yes, it has a basic trello import functionality).

123