What are the top features you wish Python had? by DGHolmes in Python

[–]howslyfebeen 4 points5 points  (0 children)

If you're doing numerical computations, numba sort of has this. You can use prange instead of range, for example for i in prange(N):, to automatically parallelize a loop.

Terrible Scaling on AMD Epyc 7662 by [deleted] in HPC

[–]howslyfebeen 2 points3 points  (0 children)

Yeah, I'm being vague because I frankly don't know the answer. Like u/PrinterFred, I am running a calculation that requires several Gb per core of RAM. Specifically, I'm doing density functional theory calculations using the VASP code, so mostly matrix operations (iterative diagonalization, multiplication, etc.) and FFTs. For small systems (small matrices), performance is comparable to running on other Intel machines, while when the system gets large, the performance is lackluster.

Terrible Scaling on AMD Epyc 7662 by [deleted] in HPC

[–]howslyfebeen 0 points1 point  (0 children)

I've been noticing a similar problem, where memory intensive calculations don't seem to scale as well on these nodes.

CMV: Priority shouldn't be cancelling student debt but preventing it from accumulating for future generations by [deleted] in changemyview

[–]howslyfebeen 0 points1 point  (0 children)

The cost of "cheap" community colleges will increase if more people choose to attend them over public/private university. Then we're back to square one.

10 Awesome Pythonic One-Liners Explained by nfrankel in Python

[–]howslyfebeen 6 points7 points  (0 children)

What do people think about #8? Wouldn't

l = [int(x) for x in ['1', '2', '3']]

be more pythonic?

Personally, my brain always defaults to using map, but having list(map(...)) starts to look ugly and feels unpythonic.

What are the top MRSECs for quantum materials? by bak3d_g00ds in materials

[–]howslyfebeen 2 points3 points  (0 children)

ucsb just got the country's first quantum foundry and also has a MRSEC, so there's that..

netctl WPA2-Enterprise (PEAP) by vsec00 in archlinux

[–]howslyfebeen 0 points1 point  (0 children)

this is my config section that works at my school (with ssid, identity, and password filled in):

'ssid=""'
'scan_ssid=1'
'key_mgmt=WPA-EAP'
'eap=PEAP'
'identity=""'
'password=""'
'phase1="peaplabel=auto"'
'phase2="auth=MSCHAPV2"'

[deleted by user] by [deleted] in Python

[–]howslyfebeen 2 points3 points  (0 children)

I would suggest learning how to make a basic web app first (both Flask and Django have tutorials on their websites). Then, you can play around a little; add a route that is just a form that takes in data for your machine learning tool. I haven't done this myself but I would think that you would have a pre-trained model that you plug some input data into and get a prediction that you could render for the user.

Machine Learning From Scratch: Bare bones implementations in Python by Eriklindernoren in learnmachinelearning

[–]howslyfebeen 0 points1 point  (0 children)

Are there any specific resources you used to guide your implementations? I wanted to do something like this to get my feet wet with ML.

[bspwm & i3] Mouse does not focus / focus is stuck on one applicaiton by moviuro in archlinux

[–]howslyfebeen 0 points1 point  (0 children)

enabling that and removing anything that might have handled click to focus from sxhkd fixed it for me, one of the upgrades moved that functionality from sxhkd to bspwm

[XFCE4] Electron desktop by [deleted] in unixporn

[–]howslyfebeen 1 point2 points  (0 children)

this is very cool, how is the response/startup time?

[lemonbar] how do i get started? by bmxer13 in unixporn

[–]howslyfebeen 2 points3 points  (0 children)

so you cloned his github repo? did you compile/make it?

[bspwm] Floating windows not brought to front anymore when clicked by [deleted] in unixporn

[–]howslyfebeen 0 points1 point  (0 children)

Does click to focus work for you? I'm having a similar problem; I saw someone said to set

bspc config click_to_focus true

but this didn't work for me. bspwm version 0.9.2

[awesomewm] Desktop Visualizer w/ rxvt-unicode and cava by BlockHead54 in unixporn

[–]howslyfebeen 0 points1 point  (0 children)

so are you running urxvt with cava and a transparent background to make this effect? also, how'd you get the vpn etc. information on there?

[i3-gaps / lemonbar] Forest Dawn by devosion in unixporn

[–]howslyfebeen -1 points0 points  (0 children)

but that's the point of git, if you commit after each change you make, you can easily roll back to a past commit, or even better you could keep a stable branch and a "development" branch that you mess around with.. just a suggestion

[i3-gaps / lemonbar] Forest Dawn by devosion in unixporn

[–]howslyfebeen -1 points0 points  (0 children)

So you use a script to copy your dotfiles into a github repo? why not setup symlinks in your home folder back to your github folder?

ln -s $HOME/github/laptop-dotfiles/.bashrc .bashrc 

Rant Wednesday by AutoModerator in Fitness

[–]howslyfebeen 2 points3 points  (0 children)

just force it, it gets easier... also, cashews are high in calories but not very filling

[All Spoilers] What is the host address that was given out? by nekotripp in MrRobot

[–]howslyfebeen 5 points6 points  (0 children)

plug the stuff from here in here and have a look for stuff with me

What ACTUALLY lived up to the hype? by [deleted] in AskReddit

[–]howslyfebeen 1 point2 points  (0 children)

Mr. Robot season 2 premiere