Hacker Newsnew | past | comments | ask | show | jobs | submit | bittumenEntity's commentslogin

It's an unpopular opinion, but I swear that cable ties are a far more effective problem solver than Jesus/duct/gaffers tape. I always bring tie, and never tape


Why unpopular, I prefer cable ties too. But sometimes, for a quick fix, tape will also cover it.

Unless you happen to have Norris Ties, in that case, your done before you start! /s


Like the author says:

> Linux is the preferred platform for development

Honestly I'm surprised he was using a non unix system this long, I guess it kinda proves his point that switching costs can seem huge


I'm basically developing on Linux despite running windows. I just set the terminal emulator to open wsl by default, and have VSCode connect to the WSL instance. This also gives you the "native docker" the author mentions, just ignore Docker for Windows exists and install docker in your wsl.

This does have downsides, and the author lists many. It also has some marginal upsides. For example running multiple distros for testing is trivial, and while the Windows file Explorer might be a shitshow that reached its peak over two decades ago it somehow seems to still be leagues ahead of the options in linux gui land. And of course the situation in gaming and content creation used to be way worse just a couple years ago, so for many switching only became viable relatively recently


> somehow seems to still be leagues ahead of the options in linux gui land

Hu... use Dolphin?


That seems to be the preferred path for many devs on Windows - unless you can get your hands on a Mac at work WSL is much better/easier. Most non-software companies may not even offer a Linux laptop.


I'd say even then it depends... for some things WSL+Docker on Windows is better thn certain headaches with Docker on arm Macs.

Which, similarly has more than convinced me to fight for PostgreSQL over MS-SQL everywhere possible.


Both MacOS and Windows with wsl are perfectly fine for development. Especially MacOS.

There's literally nothing special about Linux when it comes to development. And there are quite a few downsides especially when it comes to some specialized tooling because many vendors often only have Windows tools for their devices.


I would have to agree with this. I don't understand people how say developing on Linux is somehow better. I have built C++ software across Windows, macOS and Linux and I can't say one is easier than the other at all. Perhaps it is because of the package management system that makes installing a compiler "easier" than downloading Xcode or downloading/running the Visual Studio installer??

I certainly don't find development tools better on Linux, particularly for C++ debugging. Windows/Visual Studio is the leader in that regard.

I have also done C#, PHP, Java, JS + web development across all 3 and don't see the difference.


I find a Linux host with a development guest OS the best to work in. It allows for snapshots, backups, and sharing development environments. Solution A might need a different environment than Solution B.

Funny enough, the bluetooth stack works better on a bare metal Linux box than a Windows one. Audio starts being played sooner.


> I find a Linux host with a development guest OS the best to work in.

I had a friend who runs Windows host (because of gaming) and Linux as a guest OS for development for the same reasons :)


This depends entirely on your stack and preferred workflow. MacOS is increasingly hostile to powerusers. If you don't mind following their golden path, all is fine, otherwise... I wonder how long before you have to enable a scary "developer mode" to install software outside the app store.


While that's true, I still don't have any issues running any stack on Mac (I've had Java, Python, C++, some Rust, Erlang/Elixir; previously I also had PHP and Ruby)


How is it hostile? Nothing seems to get in the way.


and iTerm on Mac is better than any of the Linux terminals


I guess I'd argue that "it depends on lot on what you mean by development".

For anyone hosting a product on servers (almost everything web related)... there IS something special about linux: It's where your product is going to run in production.

For folks who are doing work in other spaces, especially development that involves vendor provided physical devices: Then yes, I agree with you. Vendor support is almost always better for Windows, and sometimes entirely non-existent otherwise. I'll note this is starting to change, but it's not yet over the hump.

The only place I'd consider macOS as a "perfectly fine" linux alternative is mobile (and mainly because Apple forces it with borderline abusive policy/terms). Otherwise it's just a shittier version of linux on nice hardware, riddled with incompatible tooling, forced emulation problems, and a host of other issues. It's not really even "prettier" anymore.


> For anyone hosting a product on servers (almost everything web related)... there IS something special about linux: It's where your product is going to run in production.

I've been at several corporations and companies where the target OS doesn't matter in the least, and I've had multiple projects on my own where it was the same.

Most of development is so far removed from actual hardware and actual OS, it doesn't matter if your backend is developed on Mac and runs on Linux.


Before MS really started mucking things up the past few years, I was referring to WSL as my favorite Linux distro... MS took a LOT of the rough edges off in terms of development.


I was using WSL for the longest time.


Citation needed. It's not. Linux is only good for hosting. Only very very few large companies gives laptops with Linux to developers.

Linux for desktop is a joke, always have been since at least Slackware 7.1 running at my 486


Did you have a particularly bad experience? Things have changed _a little_ since 1992.

I switched from Windows in 2018 because I was trying to install some Python packages, and it was hours of work to find the specific visual C++ runtimes that were needed to get them working.

On Linux: pip install, done.


As I understand it, it's somewhat the opposite for internal resistance. You need to have current limiting in place because the internal resistance of the cell is turning that current into heat, and heat is the enemy of batteries.

(Probably there's also a complicated chemical reason for current limiting that I don't fully grasp)


At the bottom of the article they mention that this was discouraged because they hadn't covered strings in the course yet


And more importantly, because it sidesteps the interesting pedagogy around edge cases and testing that the instructor is interested in.


The correct solution here is to give credit for the problem to acknowledge genuine clever problem solving, and then offer extra credit for doing it the pedagogical way.


There is no correct solution here. A classroom is not a test environment.

The goal is to learn, and the point of the exercises is to teach a specific concept. If a student finds a different way around the problem, that may show that they're already proficient in other skills, but they haven't necessarily learned the concept being taught in this class yet. A good instructor would probably acknowledge the solution, but add extra boundaries to the task to get the student to explore the problem in a way that lets them encounter the testing difficulties discussed here.

It's like smuggling a calculator into a class about mental maths strategies: you'll probably do very well in the final test, but you won't have learned anything!


Well, at least it does happen. More than I can say for a patriotic 4th of July


So soon the world forgets the words of President Thomas Whitmore:

We are fighting for our right to live. To exist. And should we win the day, the Fourth of July will no longer be known as an American holiday, but as the day the world declared in one voice: "We will not go quietly into the night!" We will not vanish without a fight! We're going to live on! We're going to survive! Today we celebrate our Independence Day!


> the day the world declared in one voice:

Yeah . . . big news in the Congo as I recall, endlessly lauded in East and West Papua, nobody could shut up about it in Patagonia, a cause célèbre in the Chatham Isles.

The next day, everybody forgot about the 8 year civil uprising in the British colonies that kind of paled against the French Revolutionary Wars, the Napoleonic Wars, and all the other biffos of that time that went on longer and killed more people.


It's a quote from the movie Independence Day, about an alien invasion. There was no President Thomas Whitmore.


~ " You can't be anal rententive if you don't have an anus "

It's a quote from the movie Dogma.

https://news.ycombinator.com/item?id=39903005


Nice list, the but point 2 is a bit ironic, Australians don't celebrate 4th of July at all


We do sometimes have an informal "Christmas in July". Which is a little odd, since 6 months on from Christmas would be June.


I first heard of memray last week when Anthony Sottile covered it https://youtu.be/bw5AHdZA7e4?si=HCP1JQKXpkFCh7ul


I have a hard time listening to him knowing how unsavory he tends to be in response to GitHub comments and issues. He has made some good tools for sure but his interpersonal comportment is quite off putting.


Have you considered moving to the other address? /s


Git GUIs are a crutch, perhaps that's what your pupil needs right now, but not forever.

Windows novices may not realise that git can be a local program contained in a folder, so making a repo to test how a verb works costs you nothing.


Perhaps it bears pointing out that some people legitimately need crutches. Why shouldn’t they use a GUI to ease their access to a crucial tool?


Yeah this really doesn't give anything more than the headline.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: