Fork me on GitHub
#off-topic
<
2018-04-02
>
qqq02:04:20

1. with 'simple java project", I can easily add a new class + run System.out.println("Hello World"); 2. due to dependency issues, I am now trying gradle project (this is IntelliJ), I get to this screen: https://imgur.com/a/tnAFr 3. I can't figure out how to add a new class -- do I have to add some type of new container, then add new classes inside that container?

fellshard03:04:22

You'll need to define a 'source' directory, usually

fellshard03:04:49

As far as I know, this layout applies to Gradle as well.

qqq03:04:56

@fellshard: got it all working now; thanks!

👍 4
fellshard03:04:35

I'm a bit surprised the gradle template didn't set up the default project structure as well.

qqq04:04:57

Same here. I recreated the gradle-intellij project 3-4 times, with different options, to see if one of them auto created the structure. None did.

pablore04:04:29

So I have a lot of trouble translating temperature metrics into what should I wear for the day. Ie: The minimum is 12C today so I probably should pack a sweater. Is there an app that can do this for me?

jgh13:04:06

i seem to remember someone making an app like that wayyyy back in the early app store days, but who knows if it still exists

jgh13:04:48

looks like there are a few around if you google “weather clothing app”

pablore17:04:20

Most apps are underdeveloped or lack a lot of core features (like converting between F and C). There was an app called Swackett that was widely features in best apps list from some years ago, but is nowhere to be found in the app store

pablore17:04:46

For example: https://itunes.apple.com/us/app/idress-for-weather/id385227220?mt=8 I totally refuse to use this disgustingly designed app

pablore17:04:15

Looks like I’ll have to take cljsrn for a ride

sveri06:04:50

@justinlee Well, the templates have only been an example. And yes, if I build a SPA could be I dont need them. So in the case of an SPA a nice to have would be some proconfigured routes like login / logout / generation of a JWT.

qqq12:04:16

is there some way to mark a few *.jar files as always available to all intellj projets / intellj platform ?

gklijs12:04:27

@qqq you can put them in some folder, and add that folder to your classpath. Not sure how easy it is to add that to anything with intelliJ, you could have done default jobs I think.

jgh13:04:30

anyone happen to know when ubuntu 18.04 LTS is coming out of beta? I thought I had read end of March at one point.

jgh13:04:08

oh, 26th of april

Josh Horwitz14:04:40

I've been running the daily for quite a while though and it has been rock solid in my experience

jgh14:04:28

great, cant wait to get on it

sveri19:04:38

@qqq instead of making something available on one platform only I would try to make that process part of the build system that generates the config files for intellij / any IDE

sveri20:04:04

@pesterhazy I was looking into vue.js for now and want to combine it with https://loopback.io/ later, if I find the time. Just curious how things look now on the JS side. Two things that are not so pleasant. 1. There is a vue-cli tool, installing that does not seem to give me a new executable, but instead I can use vue init or vue create now. The actual vue-cli docs say to use vue create, but the vue docs say to use vue init. Its confusing but at least vue init worked, while as vue create just did nothing. 2. There is an entry on how to add typescript support to vue. But it comes with an example that says to create components like this: const Component = Vue.extend({while the generated component looks like this: export default { name: 'HelloWorld', ... So the docs are not consistent with the vue-cli tool. I am not the best documenter myself, so I cannot hardly complain, but nonetheless, the docs leave questions open or are directly confusing.

fellshard23:04:37

Ideas to improve Git's stash - search stashes by distance, not only by stack position

fellshard23:04:07

"I want to pop the stash I made closest to this commit" vs. "I have to scan each stash to figure out which one was closest to here"

fellshard23:04:33

(or I can change my habits to make temporary commits over stashes...) ¯\(ツ)

vemv02:04:41

Tower's stash browser is pretty ace. Not particularly smart, but since the app performs so well (unlike Sourcetree et al) you don't mind viewing a few stashes till you find the right one

qqq23:04:04

@sveri: I'm not sure we are discussing the same technical problem. Can you please explain what you think the problem I am running into with intellij plugin is?