211 karma · joined Jun 29, 2017 (9y ago) · 141 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
2) you need to run “scripts” but don’t like the hassle of lugging around the dependencies so you go for binaries instead
3) you work on green field cloud projects that run in/on kubernetes
4) you have a team of people that try to use every feature of a language regardless of it it is sensible and need a language that limits them
5) you need to be able to program something that can run in parallel that you can wrap your mind around
That said, I don’t use golang. If you have a hypothetical use for a language you wont get into it, you need a practical use where it makes sense or you will most likely use your preexisting tools because its more comfortable.
comment 1y ago · link · parent
comment 1y ago · link · parent
I’ve worked on trying to predict our income based on our contracts and because of a couple of sales people a lot of the contracts where basically inscrutable, we brought two different experts in to “fix” my “failing” just for them to give up and do what I did and predict future income based on billing rather that contracts. That made us less interesting to the more risk shy European investors. It didn’t help that we abused a system that was designed to run an IT shop with because that is what the company started at years earlier.
The other thing is that until you make about 25 million revenue a year nobody is interested in you. To risky, not enough early investment and companies are money strapped. At that point a lot of the companies that come in don’t come in to invest but to buy up the company and those companies are usually American. If you do get investors and those investors are Europeans they are often Vulture investors that prop the company up, make it more presentable and just sell it on to the next investor. In one lucky case the IT startup was bought up by a European company that wasn’t in IT and saw the investment as a way to future proof itself.
The investment for startups and in particular IT startups in Europe is very broken and the companies that benefit from it are often American. It is getting better but I think the US can still snap up European companies for its own growth for the next 10 to 20 years.
comment 2y ago · link · parent
Some people just aren’t good programmers. I knew some of those, one turned out to be great at testing instead. Junior programmers, new programmers (to the project/company or language or field) are slow and they might get better. Then you have burnout. There was a story here about a guy that didn’t contribute much because he mentored and pair programmed and did other tasks to make the life of other programmers easy.
There are a lot of good reasons so before you go optimizing on numbers, check the why.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
The syntax is more elegant. Well yes, but that’s also subjective. Also, the argument doesn’t help LISP to be more popular either.
The indentation argument is old and in my opinion hypocritical (yaml, sass, haml). Also, not getting code you copy and paste from the net to work because of syntax errors based on indentation is the least of the problems in copy and pasting code from the internet.
Selling the larger and more diverse library ecosystem of Python as an advantage for Ruby rather funny. Ruby has good libraries for the web and enough for *NIX scripting but I do wish we had some more stuff to keep up with Python when it comes to math, scientific computing and ML.
I have more fun writing Ruby and that is one of the main reasons I use it. And I think it is an easy enough programming language for a somewhat experienced programmer to pick up. DSLs, meta programming and some other advanced concepts are easy enough to pick up in Ruby and you can figure out the pros and cons for your self quickly. We still have a tradition of fun and quirky projects being done in Ruby. There is a gem to create your own card games and a video on YouTube about somebody building an agi upscaler, that code is in ruby.
My sales pitch would be: “Come join us, we are fun and a bit weird, just like our language. We are also fun at parties!”
comment 2y ago · link · parent
Since then I’ve returned to Python for some projects and I find that Python made me better at Ruby and Ruby made me better at Python. JavaScript, Ruby and Python are my main goto languages for scripting and web programming and I think Ruby is getting the short end of the three languages. It deserves better and I think more people, especially web developers and people that need a *NIX scripting language should give it a try.
What I don’t really understand is that we (Ruby programmers) still use indentation for block definition as a reason against Python. Especially since yaml, haml and sass are technologies we helped build and popularize and they are all indentation based. I still agree that Python is the less elegant and more importantly the less fun language.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
To your question about security, I’m sure they use microchips for modern braking systems too, so you would loose some security there.
When it comes to price, I don’t think you would win much there either. If you remove chips to make things more affordable you won’t save as much as you might think and have to come up with new solutions to problems that have been solved over the last 30 years with chips. Cheaper cars aren’t really getting produced much because they don’t get bought enough. To many people want to “represent” with their cars and spend more on them because of that. That sort of killed a wider selection of cheaper cars.
comment 4y ago · link · parent
comment 4y ago · link · parent
1) I don’t think it is useful to write faster than I can ‘think’. What I like about writing is that I can hone my thoughts to be sharper than they would in everyday speech by reworking them over and over.
2) I grew up bilingual and learned another language to some degree along the way. Most alt keyboard layouts are optimized towards typing in a specific language and might not be “the best” for me. I am happy enough with an international english layout keyboard that allows me to type any extra character I might need.
This sort of mirrors my view on editors. Good enough now is better than the pursuit of perfection and comfort counts for more than purity.
P.S.: Doom Emacs might be interesting to you
comment 4y ago · link · parent
So while you might be right from a “logical” standpoint that learning one editor in and out might be the “better” choice, you overlook that I “feel” way more comfortable in Sublime Text and that matters way more for something you use on a daily bases.
comment 4y ago · link · parent
Using Sublime as my main editor was my choice.
Using vim as my main editor on the linux command line was practical, since it is the default.
Using Visual Studio Code or IntelliJ is a choice that my employer makes for me.
We have so many editors because computers are old and we condensed the number of mainstream operating systems down significantly from what is was in the past so now people that came in contact with various editor traditions are trying to bring those features together in new text editors.
comment 4y ago · link · parent
Things didn’t usually escalate, the type of people that called during that time would call during that time anyway. One Project manager abused the system to force us to work on the weekend to get her project done quicker.
I honestly don’t think I would do on call again. It bit into my private time and not even for the type of things I should have been on call for. Some project managers looked at it as “if we pay him anyway, might as well make him work” that in combination with “we pay you only two days more because you are probably not going to work on those days anyway” was a bad deal.
To do something like on call again I would want:
1) Payment for the time if they use it or not (because I can’t plan that time freely)
2) Double payment for the time they do use (this is mainly to prevent them from abusing the system)
3) Extra days off (to compensate for the time I can’t fully relax)
4) Make sure they have a pool of people on call so that I can switch for personal emergencies (death in the family and so on)
comment 4y ago · link · parent
I’ve had cases where hardware worked great with Linux and was buggy or unusable with Windows and vice versa. I’ve even had some hardware problems on Macs. Hardware can have bugs, revisions, or interpret a standard in their own way that causes problems. Just look at hibernation, it is often buggy on Linux and sometimes even on Windows.
Rare hardware is likely to be problematic on any os. New hardware is likely to not have a Linux driver yet. Old hardware is unlikely to have a modern Windows driver at all. Drivers can have bugs and crash. (I’ve had cases on Windows where I needed to instal the MS driver because the Vendor driver crashed or vice versa)
You notice a lot of this stuff if you build your own computer, try different OSes and distros, are into retro computing etc... It is easy to forget misbehaving hardware/drivers because until you have a solution, you are not using that computer.
comment 4y ago · link · parent
Maybe I’m getting old but I’m a bit sad for all the open source apps that where abandoned over the years because the tech stack stopped being cool.
comment 4y ago · link · parent
I can only assume web technologies and electron got popular because all of the Desktop platforms where trying to jump to tablets and phones and whatever else they considered new and shiny so that while web tech was a terrible stack it was at least stable.
P.S.: I sort of hope for Griffon to make a come back. Griffon framework + Groovy + JavaFX looked nice to me.
comment 4y ago · link · parent
Or at least that is the way I remember it.
comment 4y ago · link · parent
I also remember how my dad reacted on them trying to ban “The Anarchist Cookbook” after columbine. We bought a copy, and so did a lot of other Americans at the time.
I don’t see your example with the kefir in the same light you do. What I see is a company marketing itself (sort of similar to green washing or rainbow washing) and not some sort of consent. The only consensus I see is that many companies are pulling the same advertising move. Have you asked people around you what they think about it? How many told you they think its ridiculous?
comment 4y ago · link · parent
I’ve got two main strategies:
1) I look at the part of the app I want to modify when I use the app and search for that part in the code. Once I’ve found that code I roughly try to find out how that code works by adding exploratory code (you can also use a debugger). Once I “think” I know what is going on I try to modify the code. This is where you usually find some exceptions or misunderstandings on you part if you haven’t touched the code before. If you are lucky and work in a team somebody can tell you in a code review that you didn’t understand. If you are alone you will have to see things blow up, debug and fix the problem.
2) You can try to figure out from the main entry point how the app works. This works better for some apps than for others. If you have an event based app this is most likely just a supplement to method 1, if you have a cli app or some type of data munching app this can replace method 1.
3) You can try looking at early versions of a code base in GIT to get an understanding of its architecture before the app became “more complex”.
You will always be a bit overwhelmed by any code base and many code bases are just to large for a single person so get comfortable working on “parts” of an app first rather than working on or understanding “the whole thing”. Also, code reading is not like reading books, code is way way denser than any book you can read (and that includes Heidegger) so you will not just “read” it, you will need to work with it. Zed Shaw’s “Learn X the Hard Way” series relies on you working with the code to understand it. The same holds true for code you “read”, you will at least need to try to “run” the code in your mind if you can’t run it for real.
You might also want to get over your thing about frameworks. QT, GTK, Ruby on Rails, React, ncurses, frameworks and libs are in just about any app and many apps that get larger might extract significant parts of their functionality into libs or frameworks. A lot of boilerplate is usually a good indication that an app could benefit from a framework. I never understood the “I want to be free from the constraints of frameworks” people. Their code bases usually have the start of multiple architectures and a lot of boiler plate code. I think they always search for some “perfect” solution and just can’t find it. The truth is, libs and frameworks are great, they give you an easy in on a new app and they give you documentation that probably wouldn’t exist on fully home grown code. In other words, they mace “reading” code easier.