- 7 Posts
- 158 Comments
jeffhykin@lemm.eeto Programming@programming.dev•Coders or lemmy, what editors do you use? Is it worth learning a new one?91·5 months agoI get this, but
Why not say “I get this, and …” ?
I don’t think the idea of a learn-as-you-go editor goes against the idea of watching skilled devs with their favorite tool
jeffhykin@lemm.eeto Programming@programming.dev•Coders or lemmy, what editors do you use? Is it worth learning a new one?6·5 months agoInput speed is not “just” input speed.
Note: I’m not about to argue for or against modal editors, I just want to answer: why is input speed really really really important, when (we agree) its not a big percent of total time.
5min at 80mph over a bumpy dirt path is very very different than 5min of flat smooth straight driving. And not just because of effort.
A senior and junior dev could spend the same amount of time to rename a var across 15 files, move a function to a new file, comment out two blocks, comment one back in, etc. But. When I try to have a conversation while they do that, or when I change my mind and tell the junior to undo all that, its a massive emotional drain on the junior.
But effort isn’t the whole picture either: speed is a big deal because pausing a conversation/mental thought for 5 seconds while you wait to finish some typing, is incredibly disruptive/jarring to the thought-process itself. That’s how edge cases get forgotten, and business logic gets missed.
Slower input is not merely input time loss, it also creates time loss in the debugging/conceptualizing stages, and increases overall energy consumption.
If the input is already fast enough that there’s no “pauses in the conversation” then I’d agree, there’s not much benefit in increasing input speed further. BUT there’s almost always some task, like converting all local vars (but not imported methods) in a project to camel case, that are big enough to choke the conversation, even for a senior dev. So there’s not necessarily a “good enough” point because it’s more like decreasing how often the conversation gets interrupted.
jeffhykin@lemm.eeto Programming@programming.dev•Coders or lemmy, what editors do you use? Is it worth learning a new one?242·5 months agoDon’t Speculate
Go to Twitch/YouTube. Watch a senior Vim/Jetbrains/Emacs/VS Code/Helix dev churn out code for a hackathon/advent-of-code, and see what you are (or are not!) missing out on.
If you have “how the hell did they just do that” moments, figure out what that feature is, and STEAL IT. If its too hard to steal, then maybe you are being limited by your editor. Base your “fear of missing out” on what you see rather than random people tossing their opinions around. Only you can answer “how much is that feature worth to me and my workflows?”
- If you’re going to try modal editors, sooner is exponentially better. Probably start with Vim bindings for VS Code.
- If you’re not going to go modal, then make absolutely sure you don’t bottom out. To be frank, Ctrl+D is the tip of the iceberg. Half the benefit of modal editors is, mastery is mandatory; they chase you around with a 10k volt taser until you’ve got 100 instinctual shortcuts. Hardly anyone mentions this but Go beyond/outside your editor: At the OS level, use spacebar as a modifier key, where holding spacebar converts your WASD into arrow keys. Then disable your normal arrow keys. Something like that will get you vim-like benefits, but in every app, and with a learning bump instead of a learning mountain. For VS Code, get cursor jumper extensions like Mario (block jumper), get cursor-alignment extensions, write boatloads of custom code snippets, get a macro record+replay extension, make a jump-to-next quote, jump to next bracket, install sequential number generator extension, a case change (camel case, snake case, etc) extension, sort lines, case-preserving rename. If you can avoid bottoming out, and keep learning, you’ll likely never feel that you are missing out on whatever modal editor people are swearing by.
jeffhykin@lemm.eeto Open Source@lemmy.ml•The Post Open project asks Open Source developers: would you please fill in a short survey on the current issues of Open Source?3·8 months agoI think it could be a great solution. I’ve never considered it before. That said there’s one sticking point for me:
Apportion payment to developers based on software use by paid users and the size of their contribution to that software.
That^ . That needs a lot more detail. If they provide solid details – details that most can agree on – then I will actually be on board with the solution.
jeffhykin@lemm.eeto Programming@programming.dev•Zig vs Rust. Which one is going to be future?3·9 months agoWhy not both?
Its a tough problem. You have to find something that you want to exist; like an app or a website or a game. For example, try making a GUI for managing SSH keys. You know, like the ones github makes you create in order to clone and push to a repo. Make a visual representation of those keys (stored in the .ssh folder), and tools to add/delete them.
Along the way you’ll find tons of missing things, tools that should exist but don’t. Those are the “real” projects that will really expand your capabilities as a developer.
For example, I was coding in python and wanted to make a function that caches the output because the code was inherently slow.
- but to cache an output we need to know the inputs are the same
- hashes are good for this but lists can’t be hashed with the built-in python hash function
- we can make our own hash, but hashing a list that contains itself is hard
- there is a solution for lists, but then hashing a set that contains itself is a serious problem (MUCH harder than hashing a list)
- turns out hashing a set is the same problem as the graph-coloring problem (graph isomorphism)
- suddenly I have a really deep understanding of recursive data structures all because I wanted to a function that caches its output.
jeffhykin@lemm.eeto Privacy@lemmy.ml•First hand experience with TSA biometric collection in airport15·9 months agoLabeling datasets is costly process. When you dont opt out, you’re letting them build a labelled dataset on you-specifically for free.
jeffhykin@lemm.eeto Privacy@lemmy.ml•First hand experience with TSA biometric collection in airport42·9 months agoSame for me: just say no, and they say OK. Effortless but the option is totally invisible.
The irony is, I’ve seen the staff stop using the face scanner for everyone halfway through the line to speed things up. So its not saving time, just costing money to increase surveillance.
Ignore the name (neural networks might as well be a footnote). A more appropriate title would be “generic problems and algorithms”.
(Artificial Intelligence: A modern approach by Russell and Norvig)
I agree, and here’s a few different avenues of examples:
-
If trying to get past interviews, Leet code and hacker rank can be great. They’re not so great for real world problems, but not bad.
-
Advent of code is a good middle ground between theory and practice in my opinion.
-
To really learn real world problem solving, I’d recommend implement a specification, without looking at existing implementations. For example, make a basic regex engine (formal Regular Expressions not PCRE expressions), or try to implement the C Preprocessor, or the JS event loop.
-
“Algorithms to live by” https://www.amazon.com/Algorithms-Live-Computer-Science-Decisions/dp/1627790365
Less technical than you probably want, but it is useful for mapping real world problems to known algorithms.
jeffhykin@lemm.eeOPto Privacy@lemmy.ml•Question: Random Browsing Tools (Dilute and Confuse)1·9 months agoYeah, cookies, account logins, and other stuff make it hard too. Ex: randomly exploring gmail emails at different times of day, but not actually marking emails as read.
jeffhykin@lemm.eeto Privacy@lemmy.ml•‘It scared them off’, Kansas City shoppers report less crime thanks to security robot patrolling strip mall3·9 months agoPsychology. Ever see ring doorbell footage where the owner says “drop the package” and people do? Its not like the owner could do anything, but for some reason it makes people behave differently.
jeffhykin@lemm.eeto Privacy@lemmy.ml•Ring doorbell alternatives (only camera or plus mic and speakers) + Small Size?2·10 months agoHere’s a very similar question I asked here a few months ago: https://lemm.ee/post/8165932
jeffhykin@lemm.eeto Privacy@lemmy.ml•Meet DAVE: Discord’s New End-to-End Encryption for Audio & Video41·10 months agoThe clients are source available for telegram though
jeffhykin@lemm.eeto Privacy@lemmy.ml•Meet DAVE: Discord’s New End-to-End Encryption for Audio & Video9·10 months agoI mean technically the client is verifiable if you use discord in a browser tab… and verify it every time you load the web page… 🙃
Distros should ship with this this under /readme.jpg
(I know I’m two months late)
To back up what you’re saying, I work with ML, and the guy next to me does ML for traffic signal controllers. He basically established the benchmark for traffic signal simulators for reinforcement learning.
Nothing works. All of the cutting edge reinforment algorithms, all the existing publications, some of which train for months, all perform worse than “fixed policy” controllers. The issue isn’t the brains of the system, its the fact that stoplights are fricken blind to what is happing.
If you paid a true professional to sit down 1-on-1 with you everyday for 6 months, and you are good at learning I think yes, for most but not all software positions. But unless you’re forking over $200k I don’t think any professional dev is going to do that for you.
I’d be happy to test on android, I’ll send a DM
If you make it manage ssh keys on desktop (create new ssh key, give them nicknames, set default key, etc) I would be thrilled. I’ve attempted to make my own, with Tauri specifically, but I just have too many projects.
This is exciting. My only request here is: whenever it works please release a standalone wasm file somewhere (anywhere). So many projects either require building the wasm themselves, or instead of releasing a .wasm, they release a JS wrapper that auto-loads the wasm/wasm-imports. Its a pain to try to extract the wasm out of those projects.