Not really. I believe : is the “true” builtin. So it’s like running a program that exits with zero and writes nothing to stdout. The >> streams the empty stdout into the named file.
I’m betting that’s why none ever materialized. Most tools that can manipulate a file, can also create that file first, so there’s just never been a usecase.
Right-clicking the desktop to create a new txt file in Windows feels so natural, but I can’t really think of any time you’d want to create a new file and do nothing with it in a CLI.
One use case is if you’re running a web server that is configured to return a “maintenance” page instead of the live site if a particular file exists. Which is actually pretty cool because then you don’t have to update the config when you need to do something or let your users get a bunch of 502 errors, you just touch maintenance and you’re good.
Yeah but I feel like there’s a million books been written since that time which point out how vapid this quote is. To write one must know what you want to say and how to convey it, do you really think it’s better to just dive into a task unprepared and muddle through rather than learn first the structure and ideals behind such work?
I would say both. You need to learn by trying things out, making your own mistakes and finding a style. Then you get input from the outside world on why some peculiar structure make sense or just giving helpful tips. Then you try out more, apply those tips and see what works for you. But you can read as much helpful input as you want, it won’t be any good without you trying to apply it and practice.
At the end of the day, both are required. You need to study to be effective at what you’re doing, but at the end of the day the only way words get on paper is writing. You’ll also get more out of learning these structures and ideals trying to apply them after you have a bit of time just floundering, getting a feel for the actual task.
Is that actually a burn? It depends on the context.
It’s the same thing whenever I hear somebody say “I wish I could draw like that.” You probably can, but it would take hundreds of hours of practice. Of course, people wish that there was some shortcut, so that they could get the skill without all the work.
Yeah, came here to compare. Both are wrong. If you wish to be a writer, write. If you wish to be a good writer, learn something. Same with programming, except programming requires something to function so it’s even worse in that regard.
Yes... how is "reducing exclamation marks" a good thing when you do it by adding a ' (not to be confused with , ´,‘or’` ..which are all different characters).
Does this rely on the assumption that everyone uses a US QWERTY keyboard where ! happens to be slightly more inconvenient than typing '?
Well, in the sake of pointing things out, GPT-4 can actually correctly answer the prompt, because it arrives at it in the opposite direction. It can tell the integer is even or odd and knows that even or odd integers in binary end in 0 or 1 respectively.
It’s got huge amounts of applicability in many lifestyles and situations that most people never realize until the moment arrives. I once played a fun game that had you guess a number between 1 and 1 Billion with them telling you higher or lower to earn your freedom. Takes a couple of minutes at most.
It’s because they make their devtool money off of enterprise licensing costs, and they get those costs by getting developers to be okay using their devtools.
The tool is the advertisement for building software for Windows. If it gets too miserable to use the tools or build for the ecosystem, then some companies won’t prioritize windows software, and developers will prefer jobs doing something else. It’s got to be good enough so that decision makers at software companies don’t start hearing that windows software takes three quarters longer to develop.
Web developers are already targeting their browser as an afterthought, and mobile developers are pretty pulled into to apple ecosystem, since you can develop android apps on a Mac, but you can only use a Mac to make iPhone apps.
Without developers, applications lag, and they lose business and consumer market share, which costs them more developers.
Hence: visual studio is fine, and they keep adding azure features to GitHub and tying it all to visual studio.
It turned bad because a bunch of users refused to use it because they remembered never updating past IE8 and made jokes about it lagging behind the competition
There’s a medical website that appears in top searches (forget the name) that does it too but yeah, mostly seems to be news websites but not the big ones. In most cases Unlock Origin or the like can hide the panel they throw up to choose if you really need the info or archive or 12ft ladder can get you the info.
Yeah, I am, without sarcasm, super agile and coordinated. I would love to have these steps. It would be fun for me every time. And I’d feel so safe at the top of my tricky stairs. Unfortunately my wife would never. She’d just be trapped downstairs.
I run 6 miles every other day. A local rails-to-trails path near me is exactly 2.5 miles long, so I have to find some way of getting in an extra mile on my runs. The trail ends at a real railroad track, so for a while I tried running a half mile on the track and back, between the rails landing on every other tie as I ran since the distance perfectly matched my stride. This went on for a couple of years until one day I was doing it and actually started thinking “wow, this is pretty amazing that I can do this and not fall”. Not five seconds later I tripped and fell, landing both elbows and both knees on tie.
Somehow I was only bruised and didn’t break anything, and after ten minutes of groaning I was able to drag myself up and even complete my run. That was my last time running on railroad ties though.
Yeah, never take it for granted. You gotta do it on purpose with your feet every time. Learning to purposely activate intuitive motion is the goal. In a way, they’re extraordinarily zen stairs. You have to be right there on the stairs every time.
Except I’m not a man, and I don’t have a cave. I’m a woman, and I have a cage. But it has to be accessible to my wife so she can let me out eventually o_o So again, no agility stairs allowed.
Of course the metal can support a person. It’s not like one side is floating in thin air. The way this is constructed, both sides of each step are supported and the metal seems thick enough to support quite a bit of weight.
The only thing that bothers me is that forward/backward motion of the steps would put a lot of strain on the connection to the wall or floor. With normal use, that motion is quite limited though.
I’m quite confident the designer of those stairs used the right thickness for the material used, which you can’t judge from a picture.
I guess that would also be a legitimate concern, as the steps are rather short. It would look a bit less sleek with longer steps, but making the steps longer while keeping the supports narrow would still look good in my opinion.
programmer_humor
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.