Search found 2391 matches

by Jplus
Thu Dec 08, 2016 7:32 pm UTC
Forum: Coding
Topic: Coding a Simple Data Entry App?
Replies: 16
Views: 4188

Re: Coding a Simple Data Entry App?

Years ago, I used the Google App Engine for a similar kind of miniature project. This might be a good fit for Hippo, though you might know better alternatives. It was free for small use, you don't have to know much about setting up a server, you can use python for it. It has authentication (which I...
by Jplus
Thu Dec 08, 2016 12:14 am UTC
Forum: Coding
Topic: Coding a Simple Data Entry App?
Replies: 16
Views: 4188

Re: Coding a Simple Data Entry App?

I don't know Kivy, so if you decide to try it, I'd like to hear what you think. Another possible, though not necessarily better, solution that allows you to at least partly work with Python, is to create a web application. You do the server part in Python and the client part in HTML (probably with s...
by Jplus
Wed Dec 07, 2016 11:52 pm UTC
Forum: Computer Science
Topic: Old Project of mine - High Level to High Level
Replies: 3
Views: 3625

Re: Old Project of mine - High Level to High Level

What you describe is a compiler. Of the hardest kind: compiling many languages to many languages, not just removing abstractions but also adding new ones in the process. I'm not sure, but I think the part about adding new abstractions might be an unsolved problem. They did something similar for text...
by Jplus
Sun Oct 30, 2016 11:24 pm UTC
Forum: Forum Games
Topic: Variable-word sliding-window story
Replies: 44
Views: 4280

Re: Variable-word sliding-window story

Story Once upon a time, when the animals could still talk, the Mightiest Lion was a very savage beast. She used to hunt the smaller animals, and the smaller animals used to eat vegetation. However, some of the vegetation was poisonous, and some pets died from poisoning. The poison then accumulated u...
by Jplus
Sun Oct 30, 2016 9:51 pm UTC
Forum: General
Topic: INTRO THREAD THE THIRD
Replies: 10844
Views: 1843246

Re: INTRO THREAD THE THIRD

Hi everyone! I've been away for about half a year but now I'm back. I hope to catch up with everything I missed in the meanwhile in the next couple of weeks/months. I had a good laugh reading this post and the next few after it. Welcome to all the new members! Monika, I wish you much rest. While I'm...
by Jplus
Sun Oct 23, 2016 9:05 am UTC
Forum: School
Topic: Forum Migration
Replies: 403
Views: 467254

Re: Forum Migration

I just returned after a ~6 month forums hiatus. My egosearch yielded up-to-date results, but if I understand chridd's post directly above correctly, that might be caused by the fact that I didn't visit the forums for 6 months and my search result cache probably has been cleared in the meanwhile. I'l...
by Jplus
Thu Apr 21, 2016 7:40 pm UTC
Forum: Religious Wars
Topic: Firefox vs. Chrome: Is it time for me to throw in the towel?
Replies: 42
Views: 24935

Re: Firefox vs. Chrome: Is it time for me to throw in the towel?

Sorry for necromancing. No, it is not time for you to throw in the towel. That a (near) majority is using something, does not mean you should do the same. Also, if you are wary of Google's internet monopoly (like me), that should be a reason for you to resist . That said, if you use Chromium and set...
by Jplus
Sun Apr 17, 2016 3:01 pm UTC
Forum: Science
Topic: Best way to get electrical power out of a tealight candle?
Replies: 18
Views: 4223

Re: Best way to get electrical power out of a tealight candle?

I'm a bit late to the party, but... Fuel cells are not restricted to hydrogen. I'm quite sure you can find a type that works with paraffin "out of the box". With the constraint of human portability and the requirement that the energy is actually obtained from the candle, I suspect this is ...
by Jplus
Sat Apr 16, 2016 2:04 pm UTC
Forum: School
Topic: Forum Migration
Replies: 403
Views: 467254

Re: Forum Migration

I'm happy. :)

Thanks, davean!
by Jplus
Fri Apr 08, 2016 11:30 pm UTC
Forum: School
Topic: Forum Migration
Replies: 403
Views: 467254

Re: Forum Migration

Thesh wrote:
Jplus wrote:respect Davean

gmalivuk wrote:I'm not sure spelling davean's name wrong is the best way to show respect.

Sorry, davean. I changed my original post.
by Jplus
Fri Apr 08, 2016 6:25 pm UTC
Forum: School
Topic: Forum Migration
Replies: 403
Views: 467254

Re: Forum Migration

Let's exercise patience and respect davean for everything he's already done. He doesn't need reminders of issues that have already been reported (even if they are meant as a joke).
by Jplus
Sun Mar 13, 2016 8:18 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 89691
Views: 6004369

Re: Passing ponderments

Now I'm wondering how do plants communicate the knowledge of the orientation from the tips of the roots to the leaves and the upwards-growing part in general? While your question was already answered by Angua, it is interesting to know that plants do communicate both internally and with other plant...
by Jplus
Mon Mar 07, 2016 9:39 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9723
Views: 1502407

Re: Coding: Fleeting Thoughts

Even if it does need multiple passes, you can save the output of the generator to a list and still avoid a log factor on the running time.
by Jplus
Sun Mar 06, 2016 7:38 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9723
Views: 1502407

Re: Coding: Fleeting Thoughts

I have posted an answer too, which is a bit more efficient.
by Jplus
Fri Mar 04, 2016 8:41 pm UTC
Forum: XKCD Meetups
Topic: [EUR] Continental Europe!
Replies: 205
Views: 187134

Re: [EUR] Continental Europe!

In order to have some starting material to discuss: how about Saturday 5. March in Amsterdam, with optional extension to Sunday 6. March? I'm all for the 5th in Amsterdam. Any XKCDians that feel like taking a train to Nijmegen after the meet are welcome to stay at my place. It seems like it will be...
by Jplus
Thu Feb 25, 2016 10:15 pm UTC
Forum: Religious Wars
Topic: Plural of "Octopus"
Replies: 89
Views: 44149

Re: Plural of "Octopus"

phlip wrote:Also: words where we only imported the latin plural and now pretend it's singular (I'm looking at you, "criteria", "agenda", "data"...)

eviloatmeal wrote:Media.

Out of those four words, "agenda" is the only one that I tend to interpret or use as a singular.
by Jplus
Sat Feb 13, 2016 1:59 pm UTC
Forum: XKCD Meetups
Topic: [EUR] Continental Europe!
Replies: 205
Views: 187134

Re: [EUR] Continental Europe!

For me it would be best if the meeting could start early on the day. In the evening some friends of me are giving a party which I would prefer not to miss.
by Jplus
Sat Feb 13, 2016 1:42 pm UTC
Forum: General
Topic: The "I can't find a particular XKCD comic" thread
Replies: 145
Views: 83862

Re: The "I can't find a particular XKCD comic" thread

I checked the RSP database, and there is no comic with the literal text "should I learn to".
by Jplus
Sat Feb 06, 2016 10:21 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9723
Views: 1502407

Re: Coding: Fleeting Thoughts

Prove it.
by Jplus
Fri Feb 05, 2016 7:38 pm UTC
Forum: XKCD Meetups
Topic: [EUR] Continental Europe!
Replies: 205
Views: 187134

Re: [EUR] Continental Europe!

Are we still going to meet sometime soon? Is the first week of March still a possibility? Should we pick some city in the Netherlands? In order to have some starting material to discuss: how about Saturday 5. March in Amsterdam, with optional extension to Sunday 6. March? Unfortunately, I can't offe...
by Jplus
Fri Feb 05, 2016 3:38 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9723
Views: 1502407

Re: Coding: Fleeting Thoughts

It is not N/A, there was never a need to make a convention on whether A -> B should be true or false when A is false. There are two ways to look at it, both of which have to do with contradiction. The first way to look at it is based directly on the semantics of implication as a connective. The only...
by Jplus
Fri Feb 05, 2016 8:49 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9723
Views: 1502407

Re: Coding: Fleeting Thoughts

I think the quote from Wildcard, "(A implies B) implies (B implies A)", nicely illustrates what people are confused about when they find the logical meaning of "implies" counterintuitive. The statement would be provable if "implies" meant the bi-implication (A if and on...
by Jplus
Thu Feb 04, 2016 7:59 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9723
Views: 1502407

Re: Coding: Fleeting Thoughts

Mapping English to Logic is just... weird. It blew my mind that the vast majority of Natural Language Processors for example equate the word "BUT" to "Logical AND", for example. So the "implies" thing is par for the course. Well, it's true. "But" and "an...
by Jplus
Sat Dec 19, 2015 10:45 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9723
Views: 1502407

Re: Coding: Fleeting Thoughts

I think the most immediate reaction to snake scrolling would be for the reader to think they are viewing normally-column-formatted text that is twice (or 3x or whatever) as long as it actually is. No, I don't think so. And certainly not the second time they see it. If the article is long enough to ...
by Jplus
Tue Dec 08, 2015 7:27 pm UTC
Forum: General
Topic: INTRO THREAD THE THIRD
Replies: 10844
Views: 1843246

Re: INTRO THREAD THE THIRD

We have some shared interests, Mathilda! Nice to have you on the board.
by Jplus
Sun Dec 06, 2015 4:17 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9723
Views: 1502407

Re: Coding: Fleeting Thoughts

[...] C++ doesn’t have “finally”. RAII is the way to make sure that code runs on either normal or exceptional return. That is, you formulate the action as cleanup of a resource associated with an object: class WhenDone { Channel<Tag> &receiver; Tag tag; public: WhenDone(Channel<Tag> &_recei...
by Jplus
Fri Dec 04, 2015 7:45 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9723
Views: 1502407

Re: Coding: Fleeting Thoughts

I'm interested in what you consider to be "learning to actually program ", though. Care to expand on that? (Do you mean things like designing and implementing algorithmic approaches to programming problems? Properly refactoring code for cleanness and reusability? Dealing with memory manag...
by Jplus
Fri Dec 04, 2015 6:07 pm UTC
Forum: XKCD Meetups
Topic: [EUR] Continental Europe!
Replies: 205
Views: 187134

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: 9723
Views: 1502407

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: 187134

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: 37623

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: 9723
Views: 1502407

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: 468801

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: 187134

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: 468801

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: 9723
Views: 1502407

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: 9723
Views: 1502407

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: 9723
Views: 1502407

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: 9723
Views: 1502407

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: 187134

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

Go to advanced search