Let's talk about computers

Did you start using AHK for productivity reasons? Some of my favorite AHK functions I use are

  • Toggling arbitrary windows to be always on top
  • Copying a file as a path
  • Pasting formatted text as plain text
  • Having program specific and aware hotkeys
  • Hotkey for secondary “default” programs depending on file type

I can show you some of the code later if you have any interest

I’d definitely be interested! Most of mine are propriety work email stuff. I work tier 2 support for a tech company and we email to other companies generic scripts for tech dispatches. I built a couple google sheets so we just select the store number, player in error, connection error ticket or cabling issue, then copy the google sheet data out. Then in our tickets we press the hotkey that opens an email from the ticket, types in the email, changes the subject line to the store info, pastes the rest of the google sheet info and bolds the various lines to make it look pretty. Most of my scripts look like "send, {tab 20} or similar to get to the correct lines lol.

We’re starting to merge teams to take on more clients so my end goal would be Win+F1 sends techs for Client A, Ctrl+F1 does different emails to send tech for Client B, ect ect. Really basic stuff that’s just saving repetitive keystrokes but ultimately saving everyone the headache of remembering who gets what emails on the daily.

Toyed with the idea of using Chrome for Client A and Firefox for Client B (there’s going to be a C / D / E when all done merging though haha) and making Auto hotkey “program” aware so Win+F1 works in Chrome but Win+F1 in firefox works for client b.

Usually it’s pretty easy to get program specific hotkeys working. The trick is to use the WinActive() function which checks the title bar text of the open window. Depending on what software you’re using, it might be easy to accomplish what you want. Or difficult if your software provides no means of automating control

It’s definitely best to avoid scripts that simulate keystrokes and clicks if possible because it’s often unreliable. If your using MS office, it’s possible to automate almost anything within those programs. I think it’s also possible to programatically control google sheets as well. Though I’ve never tried it.

This is an example of a program dependent hotkey

   ;hotkey that behaves differently if the Netflix app is open 
    $!+^d::
    SetTitleMatchMode,  2
  	if WinActive("Netflix"){
  	    Send, !^+d ;pass through key stroke
  	}else
   		Run, D:  ;open D drive
   	return
other AHK Function script
   ;for setting the active window to be always on top
	!Space::
	WinSet, AlwaysOnTop, Toggle, A
	SoundPlay, C:\Windows\media\Windows Notify.wav
	return

    ;Copy file as path when in explorer
	#IfWinActive ahk_class CabinetWClass
	#^c::
	SendInput,  ^c
	sleep,  100
	Clipboard := Clipboard
	return
	#IfWinActive
   
    ; paste as plain text
    #^v::
	Clipboard := Clipboard
	Clipboard := Trim(Clipboard,  "`n `r """)
	SendInput,  ^v
	return
1 Like

Yeah, I agree but unfortunately our “ticketing” software is ran through a web browser. Great for working from home days but highly dependent on what I can do with keystrokes as shortcuts haha.

Looking at your ifWinActive sounds really cool, might be able to make it so we don’t accidentallyThis text will be hidden hit the hotkey in RocketChat or Slack and print out an email in a work chatroom that has to be deleted.

Most of mine end up having to look something like this:
; Outdoor NSN Search: Copy NSN to clipboard, click in CM search bar then hotkey
F12::
sleep, 2
sendinput, zoneID=Outdoor & nsn=
sleep, 2
send, ^v
sleep, 2
send, {enter}
sleep, 2
return

Sleeps added lots of stability with chrome, otherwise some of the longer tickets with tons of pictures would lag and cause issues. Most of this was done inbetween tickets as more of a proof of concept as four teams are merging to have one manager and cross train for each others clients.

All my direct emails and workflow is rather automated to handle it in a fraction of the time. I’m hoping they’ll see that as a huge benefit (and not a liability) for me to be off tickets more to work on making it more bullet proof for errors and work better for the new clients my team is now going to help work with.

1 Like

1 Like

And we will have smooth 4k gaming on $250 gpus by 2016

What do you mean, that did not happen either?

1 Like

More 3D audio and immerse environment sounds.
They mentioned something like HRTF (Head-Related Transfer Function)
“audio-focused Tempest Engine. Lead console architect, Mark Cerny, talked about the system’s ability to deliver vivid, realistic 3D sound that could allow gamers to hear where individual virtual rain drops are landing in the game’s environment, rather than just playing a constant rain sound effect like most video games do now.”

Probably will have nice effect’s with 3D Auro/Dolby/DTS:X surround system. :wink:

1 Like

Should probably ad to my snarky comment:

IIRC since 2003 DirectX supports acceleration of three dimensional sound sources through the OS (Windows) by passing requests between software and sound card driver.
Are devs using that? Or do they just create 5 sound zones tied to the player camera, call them left, mid-left, center, mid-right and right?

I know Activision Blizzards first dable into “real” 3D-Audio was with Overwatch, which uses Dolby Atmos. So that only took one of the bigger dev-studios 13 years to adopt, for 1 game…


OpenGL, introduced in 1992, Supported a bunch of very nice low-level calls to hardware. Which nobody ever used…
And AMD tried hard with Mantle

Since 2016 Vulkan is a thing (as is D3D12, aka DirectX12). Both support low level hardware calls, asynchronous compute ques and many more awesome features.
Guess what! Nvidias hardware implementation of DX11 is still super viable for gaming, meanwhile devs achieve less performance with DX12 than they did in DX11.


Remember when Nvidia launched the RTX series?
Remember how many games supported RTX for the first 3 Months?
0


Valve’s Half-Life: Alyx
Which based on Source2 (somewhat) uses cutting edge hardware in combination with not shit-tier programming to emulate 3D-Audio and Video arround the player!
IIRC Boneworks and two other VR games implemented similar/the same systems, the rest kinda fakes it.

Also the year of 4k gaming is now and the year of the Linux Desktop is the next year!


TL;DR

Game devs are slow.
When Intel anounces problems with their new process, TSMC and Samsung take another hurdle on the path to 5nm. Your typical game dev will maybe implement some features that were cutting edge one year before the project he is working on entered planning phase.


Where we are going:
Nvidia GameWorks (the thing that kills performance on AMD Graphics Cards) supports path-tracing for audio. To my knowledge there are 0 games that support this and 2 demos.

Most modern AAA (← meaning more marketing than dev budget) scale up to 6 cores. That would be allright, however the i7-7700k is not a new CPU anymore.
Dolby Atmos for Headphones and DTS:X Headpones (or Virtual) exist. Creative Labs cards support both (not that modern systems don’t have the power to calculate both on the CPU).
As with 4k gaming, not happening for the next 5 years. Game Devs! Prove me wrong!

please

It’s not like audio hurts performance like ray tracing and stuff like that. We’re not talking about new graphics tech. I agree that devs are definitely slow at implementing new features but audio isn’t a new feature.

But of course it’s all up to the devs if they want to take advantage of this feature. Im sure first party devs will use it.

1 Like

Why would you use a threadripper to game or compare it to a mid tier intel? Intel is still good in one spot and its gaming. There is extra heat and power needed but its still tops for gaming.

My rig:

Cpu: intel 5930k
Ram: 16gb low clocked ddr4
Gpu: EVGA 2080ti
All ssd storage
Holding out on Win 7

The computer was a beast when i built it on the bleeding edge of x99. I am planning an upgrade to ryzen but i want to see what them 4000 chips do. And im also scared to put down another few thousand at this time.

Because you can buy mid tier amd for that as well. Thread ripper is for those who want to game but also need the extra threads for production work for rendering power and whatever large thread counts benefit from.

1 Like

Im not saying you cant game on threadripper but as you said it is mainly for those needing extra threads for production. I just dont want anyone thinking that the $1200+ TRs are a go to if youre only concerned with gaming, especially bc it was on par with a $200 intel part with a much more cost effective architecture. Technically my 5930k was a higher end, made for production chip but i used it for gaming.

As @RiceGuru explained, TR can game (and competes with Intel desktop parts while doing so).
So for everyone who needs cores (or I/O), there is no need to build a seperate gaming machine next to the big fat workstation they already have.

I would never recommend TR for a gaming-only workload.

but the 5930 k is a much older chip yes it can compete with single threaded performance but gets annihilated beyond that due to it only having 6 core 12 threads. its also much older made by intel when they had no competition. a more fair comparison to your chip would be the 3600x which would probably perform better in most tasks regardless due to the newer architecture and for the original msrp of the 3600 and 3600x its really hard for intel to beat and when it comes to price to performance its also hard to argue with the ryzen 3100 an overclocable cheap cpu bought new can compete wiht even i5s in many workloads.

Again im saying my chip was a high end type of chip only the 5960 was higher up. The x99 platform was all highend and workstation boards to start but i used it to game. After 6 years yes it is starting to show its age. Its a 22nm in a time where 14nm is in its refresh of a refresh refresh stage. I want to see intel get over this 10nm hump and have competion surge back and forth again.

We all do.

14nm is optimized beyond belief though.

I feel the same amd now has an architecture that can perform with good temps. Amd they clearly haven’t shown their best crap yet. As I’m pretty sure they may be holding back a bit so they can respond to whatever Intel throws at them and have carved out an great reputation for price to performance. It’s only a matter of time when Intel catches up and we get to see a great back and forth.

just rma it, dont think about it, dont debate it
if you get artifacting, its just a bad gpu
if you overclock it (say you didnt)
if you dmged it (say it wasnt moved)
all that matters is you have artifacting and you should rma asap

1 Like