Search found 1016 matches

by Ubik
Thu Sep 08, 2016 9:00 am UTC
Forum: General
Topic: Blistering blue barnacles
Replies: 28396
Views: 2936477

Re: ANGRY NATTERINGS

The old passwords could be encrypted instead of hashed, perhaps using the current password as the key (or something the key is partially derived from), but any reversible method of storing passwords makes me feel uncomfortable.
by Ubik
Wed Aug 17, 2016 5:19 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

One thing with UTF-32 is that even with it, it still isn't possible to take arbitrary substrings or count characters by simple address calculations (assuming the data is in an contiguous array), because one on-screen "character" may be composed of several code points. And when you have alr...
by Ubik
Tue Aug 16, 2016 8:31 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

UTF-8 on the streets, UTF-32 in the sheets.
by Ubik
Sun Aug 14, 2016 6:37 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

I suppose it's an UTF-16 file (or less likely, UTF-32), as cursory googling shows Git doesn't process wide encodings as text. It shouldn't be about Unicode itself - if the file was encoded as UTF-8, my guess is that it would work then...assuming there still aren't actual null characters or similar l...
by Ubik
Tue Jul 19, 2016 6:30 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 89957
Views: 7570755

Re: Random natterings

Who is this Randall Monroe, and what is their relation to Randall Munroe's webcomic?
by Ubik
Thu Jul 14, 2016 8:56 pm UTC
Forum: General
Topic: ITT: We make xkcd slightly worse.
Replies: 8640
Views: 1558864

Re: ITT: We make xkcd slightly worse.

The one that's shown on the page is slightly smaller than the one that you actually attached, the one on the page is practically the "thumbnail" version. The forum software possibly has some absolute limit, and every picture larger than it gets resized. The image gets blurry when most pixe...
by Ubik
Mon Jun 13, 2016 11:43 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

They obviously wanted to be consistent with the inconsistency of mixed zero-based and one-based indexes of years, months and days of month.
by Ubik
Sat May 07, 2016 11:23 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

Memory-mapped files could be an interesting alternative to a database.
by Ubik
Thu May 05, 2016 7:45 am UTC
Forum: School
Topic: Forum Migration
Replies: 412
Views: 671792

Re: Forum Migration

The link for first unread post in a thread redirects you to the address of the specific post. If you refresh the page, the address will still point to the same specific post. The address also contains a fragment identifier (for example #p3969577 for your post), that is used to send the browser to a ...
by Ubik
Wed May 04, 2016 10:59 am UTC
Forum: School
Topic: Forum Migration
Replies: 412
Views: 671792

Re: Forum Migration

Well now I noticed a thing with egosearch - this thread is not there, unless I change the "Display posts from previous" option to something else than "All results" from the bottom of the egosearch results. Update: Now this thread too shows in my egosearch without changing displa...
by Ubik
Sat Apr 16, 2016 1:27 pm UTC
Forum: School
Topic: Forum Migration
Replies: 412
Views: 671792

Re: Forum Migration

This is just a hunch, but that might be because you had posted to this thread before the reindexing happened.
by Ubik
Sat Apr 16, 2016 8:04 am UTC
Forum: School
Topic: Forum Migration
Replies: 412
Views: 671792

Re: Forum Migration

Well now I noticed a thing with egosearch - this thread is not there, unless I change the "Display posts from previous" option to something else than "All results" from the bottom of the egosearch results.
by Ubik
Fri Apr 15, 2016 8:39 pm UTC
Forum: School
Topic: Forum Migration
Replies: 412
Views: 671792

Re: Forum Migration

I can't talk for everyone, but the both new post listings (new posts and unread posts) and egosearch look right to me. A couple simple searches also seemed to work properly. Thanks for upgrade and fixing things!
by Ubik
Wed Mar 09, 2016 8:18 pm UTC
Forum: General
Topic: Thoughts for ships
Replies: 89957
Views: 7570755

Re: Passing ponderments

It's wild how much we know, and from how tiny and indirect clues many things have been reasoned. (I wish that knowledge would translate even better into fixing my health issues too. Yep, hormones. Thyroid not working well enough...or is it? I actually just today lowered the dose of thyroxine medicat...
by Ubik
Wed Mar 09, 2016 2:39 pm UTC
Forum: News & Articles
Topic: In other news... (humorous news items)
Replies: 14762
Views: 2217562

Re: In other news... (humorous news items, etc)

I prefer a compromise between ISO 8601 and the "American" system, MMDD-YY-YY.
by Ubik
Wed Mar 09, 2016 1:17 pm UTC
Forum: General
Topic: Thoughts for ships
Replies: 89957
Views: 7570755

Re: Passing ponderments

Ah, thanks. Gravitropism was a good keyword, I found out hormones called auxins accumulate to the bottom parts of the plant cells, which allows more plant parts than just the roots to know their orientation.
by Ubik
Wed Mar 09, 2016 11:27 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 89957
Views: 7570755

Re: Passing ponderments

The story tells that plants have orientation-sensing cells at the tips of the roots. I imagine those help the roots to grow downwards, but how does the upwards-growing part sense orientation then? There could be more of those cells in other parts of the plant, but that article and Wikipedia both giv...
by Ubik
Wed Mar 09, 2016 8:15 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 89957
Views: 7570755

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?
by Ubik
Tue Feb 09, 2016 2:52 pm UTC
Forum: General
Topic: ITT: We make xkcd slightly worse.
Replies: 8640
Views: 1558864

Re: ITT: We make xkcd slightly worse.

I really like that one.
by Ubik
Sat Jan 30, 2016 10:12 am UTC
Forum: General
Topic: INTRO THREAD THE THIRD
Replies: 10908
Views: 2094948

Re: INTRO THREAD THE THIRD

Interesting location. Are you a candiru?
by Ubik
Wed Jan 27, 2016 2:01 pm UTC
Forum: News & Articles
Topic: In other news... (humorous news items)
Replies: 14762
Views: 2217562

Re: In other news... (humorous news items, etc)

There's a claim on Wikipedia that world was believed to be flat in ancient China.
by Ubik
Fri Oct 23, 2015 10:36 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

The second sentence in your post gives me the impression like you're about to create an enumeration / enumerated type, or at least something very similar to them. It also looks like there already is a python module for it, enum, maybe there's something useful there.
by Ubik
Sun Sep 27, 2015 3:46 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

I've rewritten my OpenGL wrapper - again. This time I intend to go forward with what I have now and want to build higher level concepts on the current base. Now things are getting hard and it's making me noticeably anxious. Today I have mostly walked in a circle and though what would be my next targ...
by Ubik
Sun Sep 20, 2015 8:29 pm UTC
Forum: General
Topic: ITT: We make xkcd slightly worse.
Replies: 8640
Views: 1558864

Re: ITT: We make xkcd slightly worse.

479 776 1256

Image

Spoiler:
squirrel_tones.png
by Ubik
Tue Sep 15, 2015 7:32 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

Oh, yes, that is true.
by Ubik
Tue Sep 15, 2015 6:00 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

I don't love SQL myself, but that looks like something that could be handled well with it, if the sys stuff was just organized differently.
by Ubik
Mon Sep 14, 2015 5:04 pm UTC
Forum: General
Topic: ITT: We make xkcd slightly worse.
Replies: 8640
Views: 1558864

Re: ITT: We make xkcd slightly worse.

1577

advent.png
Is this a threat?
by Ubik
Sun Sep 06, 2015 7:45 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

In OpenGL, if you want to update buffer contents, you first bind the buffer and then issue BufferData or BufferSubData (or MapBuffer) command. Except that when the buffer is an index buffer. In that case you bind the vertex array object the index buffer is attached to. Of course, if you can limit yo...
by Ubik
Wed Sep 02, 2015 6:24 am UTC
Forum: Coding
Topic: DrBoolean's Mostly Adequate Guide to Functional Programming
Replies: 11
Views: 5802

Re: DrBoolean's Mostly Adequate Guide to Functional Programm

Sadly I can't anymore remember what was my original attempt at solving ex4, but it was different than what I ended up with. It definitely had the general structure of compose(compose(emailBlast, addToMailingList), validateEmail), with some map and chain calls around or inside the inner compose. (Can...
by Ubik
Tue Sep 01, 2015 6:35 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 89957
Views: 7570755

Re: Inspirations

One definition for self-conscious is "Uncomfortably over-conscious of one's appearance or behaviour."
by Ubik
Mon Aug 31, 2015 5:46 pm UTC
Forum: Coding
Topic: DrBoolean's Mostly Adequate Guide to Functional Programming
Replies: 11
Views: 5802

Re: DrBoolean's Mostly Adequate Guide to Functional Programm

Yep. Though today I was thinking that it shouldn't be terribly complicated to make a function that takes a function and bunch of types as its parameters, and then returns a version that checks the parameter and return types upon evaluation. Well, a very naive version wouldn't be too difficult. Testi...
by Ubik
Sun Aug 30, 2015 10:36 am UTC
Forum: Coding
Topic: DrBoolean's Mostly Adequate Guide to Functional Programming
Replies: 11
Views: 5802

Re: DrBoolean's Mostly Adequate Guide to Functional Programm

The strange thing is that while I agree it's wrong, the code works. When I did the exercises, I ran the tests repeatedly (lots of "mocha monad_exercises_spec.js" calls) and the wrong solution goes through fine too. But I think I finally got how it works! tl;dr: Both IO and [] (=JavaScript ...
by Ubik
Sat Aug 29, 2015 2:24 pm UTC
Forum: Coding
Topic: DrBoolean's Mostly Adequate Guide to Functional Programming
Replies: 11
Views: 5802

Re: DrBoolean's Mostly Adequate Guide to Functional Programm

I slowly went through the book in the past several weeks, and did the exercises too. In the last set of exercises (currently the monad chapter) two things happened: 1) I think I got bit by the simplicity of the example implementation of join() in the exercise two. Here's the exercise for reference /...
by Ubik
Fri Aug 07, 2015 7:27 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

That seems interesting, I think I will check it out. Not having to learn completely different looking language at the same time as working with the concepts seems like a good idea. Thanks!
by Ubik
Fri Aug 07, 2015 6:49 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

It's just an excuse, but now I feel bit relieved that I haven't yet got much into Haskell. (Though I feel I should learn some purely functional language, or actually, really get the common main concepts in them.)
by Ubik
Fri Jul 24, 2015 12:58 pm UTC
Forum: General
Topic: Thoughts for ships
Replies: 89957
Views: 7570755

Re: Inspirations

Captain's dog, stardate 41254.7. Who's a good boy? Who's a good boy?
by Ubik
Wed Jul 22, 2015 12:36 pm UTC
Forum: General
Topic: ITT: We make xkcd slightly worse.
Replies: 8640
Views: 1558864

Re: ITT: We make xkcd slightly worse.

Did you realize that Spice, the first album by Spice Girls, came out closer to the release of Star Wars than the present day? (That's actually probably not true yet - I didn't check the dates - but should be within some months.)
by Ubik
Wed Jul 22, 2015 12:25 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

I just did some reading and a small try-with-resources test. The exception does get suppressed if something in the try block throws and the close() throws, in which case the exception thrown by close() is not lost, but attached to the primary exception from the try block. If only close() throws, the...
by Ubik
Wed Jul 22, 2015 9:38 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1732139

Re: Coding: Fleeting Thoughts

Looking at AutoCloseable, close() has "throws Exception" in its signature, so it throwing shouldn't be unexpected. Still not a nice thing, I agree.
by Ubik
Sat Jul 18, 2015 9:06 am UTC
Forum: General
Topic: Thoughts for ships
Replies: 89957
Views: 7570755

Re: Inspirations

Shakespeare was the first one to attribute first instances of many things to Shakespeare.

Go to advanced search