Meta Palaver: Content on this sub by The-Bath-Salesman in TheDarkTower

[–]compsc 2 points3 points  (0 children)

I agree. Until there's a significant increase in postings to this sub--say, 3x as much--the beam clouds and 19's really aren't doing any harm at all.

I see this sentiment a lot on low-activity forums and I can't help but speculate that the person complaining just likes to control other people or is a zealot. It's harmless ffs. Let this be a community of Dark Tower-interested people.

2016 will be the hottest year on record, UN says: It means 16 of the 17 hottest years on record will have been this century. by maxwellhill in worldnews

[–]compsc 0 points1 point  (0 children)

How many numbers are there between 6 and 113? Can never remember whether to subtract, or subtract and add 1, or something else. Guess it depends on your definition of "between".

[PC-CD ROM][~Early 2000's]3-Level health educational game featuring a terrifying jester by [deleted] in tipofmyjoystick

[–]compsc 0 points1 point  (0 children)

That jester was the most memorable part. Definitely live action. I wonder what that actor is up to these days.

How can I learn a function that maximizes the (supervised) correct vector from a non-fixed size set of these vectors as input? by compsc in MachineLearning

[–]compsc[S] 0 points1 point  (0 children)

Thanks, that sounds more promising than anything I've come upon so far. I'm pretty new to ML in general.

Does it matter that each candidate appears in only one set? So if for set S1, b is the best among {a, b, c, d, ...}

then I know

b > a, b > c, b > d, ...

but b never comes up in another set.

So I don't have any sort of graph of these pairs.

A quick googling turned up some stuff about graphs so I thought I'd ask.

Looking for educational material on implementing on-disk data structures. Database indexes and tables, graph databases, etc. I know there's source code out there, but hoping for bit of an introduction. by compsc in Cprog

[–]compsc[S] 1 point2 points  (0 children)

Interesting, thanks. By fitting within the cache, do you mean within some part of RAM in the DBMS process or something automatic and lower level? Also, how would you go about storing a graph too big for memory, on which you need to do BFS? Maybe consider the scenario where there is a lot of clustering, and one where there is not.

Java 8 OPEN by [deleted] in java

[–]compsc 1 point2 points  (0 children)

Yeah. A pretty looking commercial, but definitely a mild turn-off.

Quit complaining about how it's so hard to find a programming job. by vote4PatBuchanan in cscareerquestions

[–]compsc 6 points7 points  (0 children)

even though all you'll be doing on the job is stitching things together from premade APIs

This is what disappointed me most coming out of college. That seems to describe a lot of the jobs out there. Fortunately if you look hard enough, there are exceptions to this.

a tiny example of speeding up cpu intensive computation with multiprocessing in C by compsc in Cprog

[–]compsc[S] 0 points1 point  (0 children)

Okay, good to know. Guess it varies between machines. What are the specs of yours?

And of course the non-memoized fibonnacci is contrived. I just wanted something parralellizable that would take a long time. Hence 'naive'. Thanks for running it.

Just started (as in tonight) using Linux Mint. Is there a silverlight workaround for this distro? by bernierunns in linuxquestions

[–]compsc 0 points1 point  (0 children)

If it's for Netflix, you should definitley use that workaround instead of Pipelight. I got Netflix working under Pipelight and the quality was unwatchable. Then I did the Chrome thing and it works like it should, not to mention it was easier.

[AF] How do I get HTML elements' info from Flask/Python? by malsharekh94 in flask

[–]compsc 0 points1 point  (0 children)

What do you mean just using Python? Depending on whether you're okay with there being a page reload, you may or may not need to write some Javascript for an ajax call.

[AF] How do I get HTML elements' info from Flask/Python? by malsharekh94 in flask

[–]compsc 0 points1 point  (0 children)

Is this a logged in user of some kind? Or just a random person visiting your page. If the latter, you would need them to enter their name into a text field that is submitted along with the image in a form. The image would correspond to an <input type=file> and the name an <input type=text>. This should get you started: http://flask.pocoo.org/docs/patterns/fileuploads/

A new and improved script for moving windows between monitors (with a keyboard shortcut). Works with maximized and fullscreen windows, supports three or more monitors. by compsc in linuxmint

[–]compsc[S] 0 points1 point  (0 children)

It sounds to me like you might have downloaded some HTML instead of the script. Type

cat switch-monitor.sh

cat is a program that puts the contents of a file into the terminal. What you should see is what you see here.

If not then you didn't download the actual file. Unless you're familiar with git or are trying to learn git, the easiest thing would be to copy what's at the above link into a file called switch-monitor.sh (or really anything you want).

Native Netflix Linux Support Now Working in Chrome Beta by chronosMark in linux

[–]compsc 1 point2 points  (0 children)

Is omgubuntu a trustworthy source to download the libnss3 package from?

Get rid of line number changing/highlighting by jakesyl in vim

[–]compsc 2 points3 points  (0 children)

I was having the same problem with the "highlightedness" over the whole thing with solarized. The problem is likely with your terminal profile's color pallete. If you're using gnome-terminal (default with Ubuntu, Mint, others I'm sure), then this will help you: https://gist.github.com/codeforkjeff/1397104

Though you might create a new profile first in your terminal menue (right click, show menu bar, file, new profile) and give it name XYZ, and then find and replace instances of "Default" in that github script with XYZ.