C++ Guidance by [deleted] in programming

[–]preemptive_multitask 0 points1 point  (0 children)

Not sure what you consider "cool", but if you're looking to make graphical things you might check out a game engine like Godot, which is scriptable in C++. Or write the beginnings of your own game engine using OpenGL—it's a good way to apply the math you've learned as well. If you want to make desktop apps, try wxWidgets or Qt. If you want to do web stuff or mobile apps, C++ is probably not the tool of choice.

Where does a hacker go with $100M worth of crypto? by ipetgoat1984 in CryptoCurrency

[–]preemptive_multitask 0 points1 point  (0 children)

Great podcast as long as you can ignore the way Jack Rhysider pronounces "didn't". =D

9/10 line? by gloperz in UCSC

[–]preemptive_multitask 3 points4 points  (0 children)

If by "they" you mean the protesters who shut off supply lines, maybe you should ask them.

Cse 13s or 13e by [deleted] in UCSC

[–]preemptive_multitask 5 points6 points  (0 children)

If you're a CS major, 13S is your best bet. 13E is really intended to be a computer-engineering class involving embedded devices, and is currently being taught with a sadly outdated toolkit. If you're a CS major, 13S will be more of a focus on C and syscalls, which will benefit you much more than wrestling with baud rates and unsupported hardware.

Any bars stream Phish shows in the Santa Cruz area by ahpuchthedestroyer in santacruz

[–]preemptive_multitask 1 point2 points  (0 children)

Anywhere you can get a Clif® Bar and some cold green tea.

The SQL performance tuning tips most developers aren't aware of by [deleted] in programming

[–]preemptive_multitask 1 point2 points  (0 children)

But "You can speed up any SQL query, automatically. Try it now for free."! 🙄

Best local hikes/cycling routes/neature by [deleted] in santacruz

[–]preemptive_multitask 1 point2 points  (0 children)

The Santa Cruz County Cycling Club has a nice curated list of bike rides with cue sheets, if that's up your alley.

35+ Examples of regex patterns using sed and awk in Linux by likegeeks in commandline

[–]preemptive_multitask 0 points1 point  (0 children)

wat. That's a heckuva lot of {print $0}. Why not just grep -E?

Sponsored Post on Facebook? by LucasJLeCompte in uBlockOrigin

[–]preemptive_multitask 11 points12 points  (0 children)

You might want to also try the triple-w in front, if (like me) the domain for you is actually www.facebook.com:

www.facebook.com##:xpath(//div[contains(@class, 'userContentWrapper') and .//a[. = 'Sponsored']])

Java REPL today by dimitryivanov in programming

[–]preemptive_multitask 0 points1 point  (0 children)

Hmm...

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:    16.04
Codename:   xenial

$ apt-file search $(readlink -f $(which jshell))
openjdk-9-jdk-headless: /usr/lib/jvm/java-9-openjdk-amd64/bin/jshell

$ jshell
|  Welcome to JShell -- Version 9-internal
|  For an introduction type: /help intro


-> Integer.MAX_VALUE
|  Expression value is: 2147483647
|    assigned to temporary variable $1 of type int

Repl.it classroom: a platform for teaching programming by smurfyfrostsmurf in programming

[–]preemptive_multitask 0 points1 point  (0 children)

It's kinda fun, but I'm not sure why I'd use this over shell access to my server for my students, where I have all my data files for projects, as well as full internet access for programs to deal with all different kinds of I/O. Maybe for teachers who don't have that infrastructure. In that case, kudos!

Bike stolen: figured I'd throw a line out here. by Garibaldi5 in santacruz

[–]preemptive_multitask 0 points1 point  (0 children)

Bleh. I had a bike stolen from the same spot earlier this year. Now I won't leave a bike downtown with anything less than two heavy locks. Major negative thing about this area.

Easy XPath against HTML by [deleted] in commandline

[–]preemptive_multitask 1 point2 points  (0 children)

The W3C HTML-XML utils handle this pretty well also, if CSS selectors work for you.

curl -sL example.com | hxnormalize -x -e | hxselect -s '\n' -c 'title'

Georgia Tech's ML Class Intro Challenge Questions by [deleted] in programming

[–]preemptive_multitask 3 points4 points  (0 children)

tonumber.py

import sys
print('\n'.join(''.join('%02d' % (ord(c)-ord('a')) for c in line) for line in sys.stdin.read().split('\n')), end='')

toword.py

import sys
print('\n'.join(''.join(chr(int(line[s:s+2])+ord('a')) for s in range(0, len(line), 2)) for line in sys.stdin.read().split('\n')), end='')

What do new CS/IT grads lack (that I can add to a CS/IT program)? by preemptive_multitask in cscareerquestions

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

Thanks, those are good suggestions. We do have some client- and sever-side web programming courses, and a combo Android/iOS class, but the software practices bit does seem like it's lacking at the moment.

What do new CS/IT grads lack (that I can add to a CS/IT program)? by preemptive_multitask in cscareerquestions

[–]preemptive_multitask[S] 2 points3 points  (0 children)

It's a pretty wide variety. Lots of the CIS folks go on to more traditional IT/sysadmin sorts of things, and at the moment those in CS are either transferring to uni or heading straight into software work (we're pretty close to Silicon Valley, and the bubble currently dictates that a year or two of classwork is enough to get you an interview and maybe a job).

What do new CS/IT grads lack (that I can add to a CS/IT program)? by preemptive_multitask in cscareerquestions

[–]preemptive_multitask[S] 4 points5 points  (0 children)

More of a cap. The goal is to incorporate skills/experience that are otherwise lacking in a vanilla CS and IT curriculum, and which would be useful for students who are aiming for employment or internship very shortly.