there are also some commands I use all the time that don't have built in aliases like the json converters, so that makes cross-machine alias consistency for some important things not great
1,040 karma · joined October 4, 2010
there are also some commands I use all the time that don't have built in aliases like the json converters, so that makes cross-machine alias consistency for some important things not great
I volunteered to help a local nonprofit image a bunch of laptops and they'd bought win 10 home licenses for something like 30 laptops. The whole thing was kind of a nightmare but got most of the adware stripped out, I think, but not all of it. been awhile, so hard to remember
The one thing I don't like about Rider vs Visual Studio + ReSharper is that ReSharper has some really advanced structural/semantic searches that haven't made their way into Rider. I don't use it a ton, but being able to do queries across the AST annotated with semantic/type info is really useful if you're working on a legacy C# project that's been copy pasted fifty times--once per state (actual thing that I ended up working on)
otherwise, Rider is rad, and I have way more intellij platform bindings and such setup for them all
Thanks! I really appreciate that. Been kind of a bummer year so it's nice to hear (#layoff problems, so I'm definitely not the only one, and I think that's looking up recently)
I don't think I'd get Rider by itself, either. I was doing consulting for awhile and ended up getting the jetbrains all product thing personally because was jumping between Goland, Rider, Webstorm, and Rubymine, and Datagrip a lot (I honestly don't remember which are paid now). I got it personally because I ended up using it so much. I ended up using CLion (which is paid) for learning Rust, too, which was nice.
definitely check out the 30 day trial. And 100% JetBrains knows what they're doing
Have to dip, but feel free to ask whatever questions and I'll check it out when I get back. No pressure either way.
`$someJsonText | convertfrom-json | % name`
the `| % [property name]` is shorthand for pulling out some root level property on an object in the pipeline
(just for reference; not really trying to prove any point)
What I personally like about PS in this case is that the syntax of the operation feels very consistent with the rest of powershell, but that's not a dig against jq (I use it a lot when I'm on macos); just my subjective impression, and not an objective claim of quality.
The VSCode powershell extensions will also give you suggestion squigglies under all of your aliases in a saved script if they're not long-form, but I usually mix and match based on pragmatism.
My use of alias vs long-form usually comes down to two sort of situations:
* Ad-hoc at the shell: all aliases all the time (and make my own if I need to. welcome to my godless wasteland, population: me) * Shared scripts: Just like any code, do what's idiomatic for the team. Usually it's largely aliases with some long-form
In practice I'd say the formatting consistency situation on teams isn't nearly as bad as SQL but obviously not as good as Go.
For reference, I'm also a huge APL fan, so hit me with arcane symbols in my free-time all day long, but definitely pragmatic balance at work.
I also don't even think of them as acronyms personally. The acronym just sort of means the semantic action in my brain at this point, but I think that's mostly a fluency thing, and can't really speak to it being hurtful/helpful since I'm so removed from when I first started learning it
But I do get what you're saying and think it's a common meme that's often unhelpful
C# is not-so-secretly my favorite language (though Clojure is a close second) and I use it pretty often on macos/linux.
IDE wise have you given Rider a try? Imo it's a totally viable Visual Studio replacement for most C# dev, though not as nice for all workflows or related tech.
Worth looking at if you haven't. It's not free, though, so that can blow depending on your tolerance for licensing. I've personally had an all-products pass with jetbrains for awhile now, so doesn't bug me, but ymmv
I also get a lot of mileage out of C# notebooks in VSCode. Honestly, I use C# for a ton of my daily scripting because I built up so many utility scripts over the years in LINQPad on windows, and they were pretty trivial to port
Just wondering if you're talking about command name length or something else?
Asking because it comes up a lot and almost all the common commands have idiomatic short/terse versions (gci for Get-ChildItem, etc).
No shade, though. No reason you'd know if you don't have a reason to know it.
Would love to hear if I'm making the wrong assumption and it's something else you're talking about. I personally really love powershell, but also get why people love bash. I'm still pretty comfortable with bash because I work in *nix systems mostly, so it makes sense for me to know it, whereas the reverse (with ps) isn't really true for most devs
It reminds me of recently thinking that my clothes are only neatly folded after I learn a new way to fold them, so maybe I should just invent one every week, lol--which feels a little less tenable than the watch idea
Really cool way you're coopting the novelty like that
Muszikas just went on my list.
I don't listen to tool a ton anymore. I still like their stuff and think they're a talented band but just don't get the urge often, except for Lateralus.
Some of it is just happenstance, I think, but something about that album's energy and vibe can help me intentionally get into a steamroller of hyperfocus on work problems. It's honestly sort of draining for me? So I don't do it a lot. I can honestly say that I've listened to that album many hundreds of times at this point, so my brain long since stopped latching onto the patterns and lyrics.
For some reason I've never sat down and listened to Aphex Twin, which feels weird now. I'll have to check them out more intentionally.
I have a friend who's a drummer, and at some point in the early 2000's he picked up a tabla (a type of indian drum--sounds like something you're probably familiar with). I was really fascinated by tabla and started looking into more indian music, which led to listening to Ravi Shankar. I think I mentioned that to the same friend who told me about Anoushka and loaned me a copy of Breathing Under Water.
I haven't actually listened to any Karsh Kale, but I'll have to check it out.
I think that's also why I ended up listening to Table Beat Science (which I forgot to mention before).
Another more random album totally unrelated to those that I really like:
Iarla Ó Lionáird - I Could Read The Sky
It's more irish folksy inspired but has a vibe I always really liked. I used to sometimes just pick a random CD at the local music shop that I'd never heard and buy it. I think that's how I found that pme. That's also how I ended up with the four cd play-them-all-at-once flaming lips album(s) zaireeka. In retrospect, sort of an adhd thing to do, lol
Honestly the ADHD focus ones are kind of random because they're sort of just albums I happened to be listening to at the point in my life when I finally started doing programming professionally (I def still like them though)
These are the ones I listen to the most when I'm programming. I'll flip through them depending on my mood at the moment:
Tool - Lateralus
Don Ross - Klimbim
Axiom of Choice - Niya Yesh
Axiom of Choice - Unfolding
Anoushka Shankar & Karsh Kale - Breathing Underwater
They're just sort of cooked into my brain at this point
Oh, there's also an album of Harpsicord music that I used to listen to at cafes because for whatever reason the Harpsicord drowns out voices really well (for me at least). I can't remember what it is now, though. I mostly use mynoise.net cafe tracks for that now
I was medicated as a 90s kid, then went a long time without being medicated. It took awhile to get medicated again and a longer time to be okay with it as a part of my life instead of constantly trying to wean myself off of it because of lingering stigmas around medications and mental health.
The timer for me is 100% in conjunction with meds and other life strategies for managing my ADHD and honestly, even then it feels crippling at times, especially since I've been laid off. Without the day-to-day structure of a job, my brain feels like a tornado in fog a lot of days.
Context is another big one for me. I don't do well working from home, so if I have a remote job I rent a small office. Part of it is having "work context" and part is just the fact that I don't have a VR headset, a thousand books on random hobbies, ten unbuilt lego sets, and a shelf of books on elm, clojure, idris, or whatever random language I'm interested in that week.
Anyhow, what you're saying makes a ton of sense. I feel like the timer thing just helps me specifically with even being aware of time at all, but I really find that coping mechanisms for adhd are super varied.
Appreciate you contributing your own experience, though, and highlighting that it's not as simple as one or two life hacks
I usually can't do any background noise with a pattern but there are a handful of albums I've listened to hundreds of times while working over the years in the same way I think you're talking about. I ended up finally ripping them from old cd's because every year Spotify would tell me that I basically no other music mattered to me in comparison ¯\_(ツ)_/¯
I also listen to mynoise.net (a gem of the internet) pretty often. Over the years a few of their tracks have become mentally associated with a sort of calm productivity for me
Kind of unrelated to the app, but wanted to share a related thought that's been useful to me over the years in case it's useful for anyone else.
I have pretty strong ADHD. Pomodoro and other time tracking techniques never really worked well for me long-term because they end up being associated with a lot of anxiety and self-shame as I used them, so I tend to stop using them as negative feelings build up.
Now I use them differently. I'll set the timer for 30 - 45 minutes and when it goes off I ask myself if I'm using my time in the way I intended. I try to ask it in a non-judgmental way and the answer is mostly unrelated to the process. Sometimes it's fine that I got off on a tangent; sometimes it's not. The goal is really just to be aware that time is passing and have built in moments where I'm conscious of how it's being used.
When I'm consistent about it (which isn't always), I find that I'm much more aware of how I'm actually using my time, which tends to lead toward naturally using it better but again, I try to separate the awareness from the tracking and planning.
I personally use a physical clock like this one but I think using a website or clock is really personal preference: https://www.amazon.com/Hexagon-Rotating-Minute-Preset-Countd...
I like that one because I enjoy the physical feeling of rotating it. I also like that the alarm is the light blue backlight flashing, which feels less aggressive and psychologically traumatic than my phone alarm.
That's also not to say pomodoro is bad for someone with adhd. I still use similar methods and I think there are techniques for being more successful with it that I wasn't employing. I just like to separate the time/task management from time awareness now and feel that it's useful for me.
I love this.
As I get more skilled with a thing I think I can have more confidence that I'm doing it well and according to best practices up front but that my highest level of confidence comes from employing the thing in practice and observing the results.
That could be deploying code to prod with monitoring, having another dev review my code to see if it's readable, having users interact with my system while I observe, or in this case seeing if someone can read my explanations and understand the ideas I'm trying to communicate.
Was posted recently. Comments: https://news.ycombinator.com/item?id=10737876
"If I had more time, I would have written a shorter letter."
Some interesting attributions of that and similar quotes: http://quoteinvestigator.com/2012/04/28/shorter-letter/
Sounds vaguely like track standing on a fixed gear. It's more like balancing a broom on your finger than trying to balance yourself on a rail.
I really love bikes of all varieties, but I've never messed with a unicycle. They seem fun. My friend has one; I'll have to try his sometime.
Because you mentioned torque and such, if you never have, check out this book: http://www.amazon.com/Bicycling-Science-David-Gordon-Wilson/...
I picked it up expecting to read a chapter here and there and ended up cover to covering it. Great read
It sounds silly, but I really do. I toured ireland by bike with a friend of mine (so I wasn't alone) and there were a few times we split up and went off onto different paths, then would meet up later. I liked seeing things, meeting other people, and finding little used bookstores to sell of my previous book and buy another. Then I'd find a little cafe or restaurant and read a little.
I guess that's mostly just to say that you can really do whatever you enjoy normally for fun; sometimes it just feels better doing it in a different location, around a different culture. At first I thought "man, I wasted my money flying out here to read" but then I realized that I really liked it, and so, who cares? It was great.
I agree with the sibling post, also. I spent about a month in Thailand on a grand or so. We went all over the place. Chiang Mai was my favorite area, personally. Lots of culture, and lots to see all over, though.
Basically, if you're being an asshole, I don't feel a need to save you from yourself.
There aren't many (if any) formal guidelines for comment voting on HN, so this is me driving at what I want out of the community. I don't speak for everyone. For my part, I want civility, and to encourage people to contribute their opinions, popular or not.
The polite responses to misinformed ideas are often some of the most educational, at least for me, and so I'd like an environment where anxiety about the chance of being wrong is low for everyone.
I also don't want any of this to sound like an indictment of hacker news. I keep coming back here because I think the community is really top notch, and the signal to noise ratio is high. Commenting systems and forums have had these problems for ages, and they're hard problems. I just wanted to add my voice to the crowd.
It's not much, but if I'm having a crap day and something I say it getting downvoted, I feel a little better when it ticks up a notch, knowing at least one person isn't trying to just bomb my post. It's basically the tiniest little gift I like to give to people, heh.
I also think that, if enough people put that upvote in, the community could shift how it reacts to things.
Just my two cents
Yeah, getting the scripts to run and be robust is definitely an art sort of thing, but I've used it to create what amounts to a CLI's for legacy apps that you could only interface with through GUI's.
It's also fun to run across stuff like "Oh, the developer of this platform wasn't expecting me to be able to respond to a window within 20ms of it popping up on the screen."
Be interested to see what you think, if you have time to leave a comment
It's also just weird and interesting to program something to move through a GUI as fast as is possible
It's natural pixel style makes you not notice the resolution at all, and all of the text is large, and easy to read. The cube nature also really makes me aware of the 3D, which is nice.
It doesn't do anything to deal with the FPS/nausea problem, though I don't react very poorly to playing an FPS in the rift as long as it uses a keyhole style control with the mouse (half-life 2 is a prime example of that).
One other thing I like about minecraft on the rift is that it really shows off the true blacks you can get with the OLED display. It smears a bit, but it's still really rad to look into a mine shaft and have it fade to actual darkness (not sure if the consumer version is planning for OLED off hand).
I definitely agree that it'll be cool when game shops start really thinking about building their games for VR, and that they can work around VR weaknesses.
Weird scaling is another issue, when something was scaled to look right from 2D on a screen, but drops the ball in VR. I played Skyrim using Vireo and the mountains ended up looking like glorified hills, heh.
Another funny issue I had was playing Alien Isolation. VR made it super obvious that looking out through a spaceship window into "space" was actually looking at a black wall about twenty ft away.
Looking forward to wherever VR goes, either way.
Otherwise I'm with you. Positional tracking was the thing that really made it awesome for me. There are so many tiny head movements that you make when you're looking around; if positional tracking isn't pretty much 100%, then it just feels wrong.
http://www.amazon.com/Detecting-Lies-Deceit-Pitfalls-Opportu...
It was really interesting when I read it, though it's a bit old now, so I'm not sure how much of the material needs to be updated.
Even if my strategic goal is to show that a polygraph is meaningless, being able to pass or fail one at will could be really useful to that end.
The odds seem pretty low that any job or clearance requiring a polygraph would let you get by without one, even if you displayed an extensive knowledge of them and how they're flawed. Personally, if acting on principle, I'd probably just not want to work at a place like that to begin with. Of course, I'm sure there are some highly sought after individuals that could get by with that, and it probably depends on whether or not the organization you're engaging with views the polygraph seriously or as a relic on its way out.
If it were something to do with legal proceedings, I'd have to talk to a lawyer first, and see what was in my best interest.
As far as term semantics go (which I think are important), maybe "manipulating" would be a better word than "beating" or "cheating"
edit: The sibling poster also has a really good point about everyone possibly knowing it's a sham, but using it as a tool to get rid of people they want to get rid of. That might be more likely than all my speculation