Search found 2444 matches

by Jplus
Fri Dec 04, 2015 6:07 pm UTC
Forum: XKCD Meetups
Topic: [EUR] Continental Europe!
Replies: 205
Views: 212934

Re: [EUR] Continental Europe!

Intermission: I am currently in Berlin and I can meet any xkcdians over here between 7. and 10. December.
by Jplus
Sun Nov 29, 2015 9:45 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

@Wildcard

The C Programming Language by K&R is a very decent course.

Also: Bash, Sed and Awk, next Perl, after that C? You really went the old-fashioned Unix way. :)
by Jplus
Mon Nov 23, 2015 8:28 am UTC
Forum: XKCD Meetups
Topic: [EUR] Continental Europe!
Replies: 205
Views: 212934

Re: [EUR] Continental Europe!

I guess it's time we make some decisions. We need to decide on the place and the date. How are we going to decide this? Create a list that people can amend? Sheikh al-Majaneen: from mid February to early March, preferably UK or Benelux. Jplus: any time in February or March, lives in the Netherlands,...
by Jplus
Sat Nov 21, 2015 7:24 pm UTC
Forum: Coding
Topic: Approximate speed classes of programming languages
Replies: 33
Views: 48894

Re: Approximate speed classes of programming languages

Thanks for pointing that out. I visited this page and it struck me that the bottom graph doesn't appear to have been subdivided into groups. It's like tiers 1 and 2 have been merged. Is that because the kernel density estimate doesn't detect clear "breaks"? I have to admit, with this order...
by Jplus
Fri Nov 20, 2015 3:05 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

I strongly agree with Moo and Xanthir. Lately I'm working on a project that contains lots of long functions (most of them are 30-100 lines). It's difficult to read nonetheless. Being easy or difficult to read has little to do with length but everything with putting things in a sensible place (and un...
by Jplus
Fri Nov 20, 2015 2:34 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 530299

Re: The "IT DOESN'T WORK!" thread

[...]The semantics of import foo changed from Python 2 to Python 3; from __future__ import absolute_import in Python 2 changes the semantics "early." So if you have the __future__ import, you use absolute imports with import foo . (I don't know a way to get absolute imports without the __...
by Jplus
Sun Nov 15, 2015 8:15 pm UTC
Forum: XKCD Meetups
Topic: [EUR] Continental Europe!
Replies: 205
Views: 212934

Re: [EUR] Continental Europe!

Yeppers.
by Jplus
Sun Oct 25, 2015 7:48 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 530299

Re: The "IT DOESN'T WORK!" thread

Minor terminology nitpick: the thing in the cpp file is the definition. The smaller thing in the header file is the (forward) declaration.
by Jplus
Thu Oct 15, 2015 6:23 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

No, that mostly sounds like a clever and creative way to perform more informative introspection when using third-party classes. If you plan to use it in a project where other people will read the code, it's probably wise to explain it clearly in your documentation. It's not something other developer...
by Jplus
Tue Oct 13, 2015 6:12 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

Everyone learns by reinventing the wheel. Because learning by doing something nobody has ever done before would be the hard way.
by Jplus
Mon Oct 12, 2015 12:36 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

I use Python 2 and both Flask and Django at work. I mostly agree with what's been written above. Just a few remarks: I think the choice of what version to start with is not really important. While not quite compatible, Python 2 and Python 3 are similar enough that if you know one, you'll be able to ...
by Jplus
Thu Oct 08, 2015 5:02 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

LuaJIT is certainly faster than any implementation of Python, especially CPython (see this topic ). OpenResty as a stack (Nginx+custom patches+Lua modules+LuaJIT) is known to be one of the fastest. See here for some benchmarks. Flask is not in there, but given the programming language and the type o...
by Jplus
Wed Oct 07, 2015 9:47 pm UTC
Forum: XKCD Meetups
Topic: [EUR] Continental Europe!
Replies: 205
Views: 212934

Re: [EUR] Continental Europe!

By "us", do you mean Dutchies? Last meeting I attended (planned here) was with three Dutchies, one Dane and one Irish (Diemo). But results from the past...
by Jplus
Wed Oct 07, 2015 9:31 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

At work, I'm used to an Apache+MySQL+Python+Flask stack. Now, at home, I'm experimenting with a (Nginx+PostgreSQL+LuaJIT)(i.e. OpenResty)+MoonScript+Lapis stack. The latter uses so much less resources. It's staggering. Interesting. Where do you think the saving is coming from? Well, it comes from a...
by Jplus
Sat Oct 03, 2015 10:09 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

At work, I'm used to an Apache+MySQL+Python+Flask stack. Now, at home, I'm experimenting with a (Nginx+PostgreSQL+LuaJIT)(i.e. OpenResty)+MoonScript+Lapis stack.

The latter uses so much less resources. It's staggering.
by Jplus
Tue Sep 22, 2015 6:31 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

Whenever you connect non-root node A to root node B, do a depth-first search on the converse of the graph (starting at A); if you arrive at any root but root B, remove root B as a root. If you only arrive at root B, non-root A -- and all other nodes acquired in the depth-first search -- form a new ...
by Jplus
Sat Sep 19, 2015 7:40 am UTC
Forum: Forum Games
Topic: Guess The Next Poster
Replies: 23521
Views: 1650267

Re: Guess The Next Poster

Nah.

username5243?
by Jplus
Fri Sep 18, 2015 12:33 pm UTC
Forum: Forum Games
Topic: Guess The Next Poster
Replies: 23521
Views: 1650267

Re: Guess The Next Poster

No.

Earthling on Mars?
by Jplus
Thu Sep 17, 2015 6:46 am UTC
Forum: Forum Games
Topic: Guess The Next Poster
Replies: 23521
Views: 1650267

Re: Guess The Next Poster

Missed three calls. Sorry folks.

username5243?
by Jplus
Sun Sep 13, 2015 6:22 am UTC
Forum: Forum Games
Topic: Guess The Next Poster
Replies: 23521
Views: 1650267

Re: Guess The Next Poster

Nope.

NathanBros?
by Jplus
Sat Sep 12, 2015 7:09 am UTC
Forum: Forum Games
Topic: Guess The Next Poster
Replies: 23521
Views: 1650267

Re: Guess The Next Poster

Nah.

Lazar?
by Jplus
Sun Sep 06, 2015 6:52 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 90078
Views: 8297438

Re: Inspirations

Yeah, I completely missed the jokes. Thanks for highlighting them, Yakk. :)
by Jplus
Fri Sep 04, 2015 6:32 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 90078
Views: 8297438

Re: Inspirations

Thanks for that explanation! I feel I understand English a bit better now. As an aside, my incorrect interpretation was also partly due to a misunderstanding of the constituent structure of the sentence. It should be [...] and I'd like to be able to go to a beach shirtless [at least once before I go...
by Jplus
Thu Sep 03, 2015 6:31 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 90078
Views: 8297438

Re: Inspirations

I want to lose weight not only to get out of this horrible cycle of failing my semi-annual fitness assessments, but also because I have a year and a half left here and I'd like to be able to go to a beach shirtless at least once before I go and not feel self conscious. It's probably because I'm not...
by Jplus
Thu Sep 03, 2015 6:25 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

Ah, the importing data from human-entered Excell files problem. Poor you.
by Jplus
Wed Sep 02, 2015 6:23 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 90078
Views: 8297438

Re: Inspirations

No harm was done! I was just a bit confused. :)

Thanks for the clarifications, poxic and Ubik.
by Jplus
Wed Sep 02, 2015 6:20 am UTC
Forum: XKCD Meetups
Topic: [EUR] Continental Europe!
Replies: 205
Views: 212934

Re: [EUR] Continental Europe!

So would I!
by Jplus
Tue Sep 01, 2015 6:32 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 90078
Views: 8297438

Re: Inspirations

I want to lose weight not only to get out of this horrible cycle of failing my semi-annual fitness assessments, but also because I have a year and a half left here and I'd like to be able to go to a beach shirtless at least once before I go and not feel self conscious. It's probably because I'm not...
by Jplus
Mon Aug 24, 2015 6:55 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 90078
Views: 8297438

Re: Inspirations

Insects may be smarter than you think (15 minute TED talk on YouTube) Plants can perceive things (Wikipedia lemma) My personal belief is that any creature that (thoroughly) attempts to maintain itself and that has means to perceive things, i.e. any living being, can feel pain and possibly also fear...
by Jplus
Sat Aug 08, 2015 7:04 am UTC
Forum: Coding
Topic: Uniformly random doubles from [0, 1) in C
Replies: 11
Views: 4571

Re: Uniformly random doubles from [0, 1) in C

Out of curiosity, what is wrong with <random>?
by Jplus
Sat Aug 08, 2015 6:45 am UTC
Forum: General
Topic: Understanding Myers-Briggs
Replies: 9
Views: 4742

Re: Understanding Myers-Briggs

Sorry for necromancing, but I thought I should mention the Big Five. It is based on factor analysis over empirical data (i.e. the way people describe each other's characters), and seems to be slightly better than Myers-Briggs.
by Jplus
Thu Aug 06, 2015 4:32 pm UTC
Forum: General
Topic: INTRO THREAD THE THIRD
Replies: 10916
Views: 2214999

Re: INTRO THREAD THE THIRD

Welcome to the forums, Anti Spiral! Also, please check out the red spider project (sig)!
by Jplus
Wed Aug 05, 2015 6:29 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 90078
Views: 8297438

Re: Inspirations

But how do the tidal forces change the shape of the orbit?
by Jplus
Mon Aug 03, 2015 6:30 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 90078
Views: 8297438

Re: Inspirations

Trying to read Ulysses "He slipped card and letter into his sidepocket, reviewing again the soldiers on parade Where's old Tweedy's regiment? Castoff soldier. There: bearskin cap and hackle plume. No.he's a grenadier. Pointed cuffs. There he is: royal Dublin fusiliers.Redcoats. Too showy. That...
by Jplus
Sat Aug 01, 2015 11:07 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

I have lots of problems with C++. For example, virtual functions and inheritance and virtual inheritance. What they did was pick one *particular* way to implement those concepts, and fix them in the language. If you want to pick a *different* way to do dynamic dispatch, the language gives you next ...
by Jplus
Tue Jul 28, 2015 6:21 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

@Hippo: apart from the obvious aim to test everything that really matters, there are no hard rules in testing. Using a single testcase to test a single class or object in isolation is a sensible default, but if it doesn't work in some particular case, there is no reason why you should jump through h...
by Jplus
Mon Jul 27, 2015 9:03 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

Have you considered writing the tests before the code, instead of the other way around? If you write the test first, you write your code in order to make the test succeed, and once the test succeeds, you know you're done (for the time being, until you write a new test or change your mind about the c...
by Jplus
Fri Jul 24, 2015 9:52 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9907
Views: 1854218

Re: Coding: Fleeting Thoughts

I code as a hobby; I enjoy it. I enjoy both solving problems and exploring the limits of problems themselves; stretching my understanding around a problem until I see ways in which it may not be a problem at all. That being said, I oscilliate between feeling good and bad about my hobby. [...] But I...
by Jplus
Sun Jul 19, 2015 8:39 pm UTC
Forum: General
Topic: Thoughts for ships
Replies: 90078
Views: 8297438

Re: Inspirations

Thanks for all the congratulations on the previous page!
by Jplus
Tue Jul 14, 2015 8:27 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 90078
Views: 8297438

Re: Inspirations

I got the last points for my master's study program! I have graduated!

It's not official yet, but still.

Go to advanced search