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

> 1) Litter needs scooping every day.

Blows my mind how many people let it go for days and days and then complain. Literally sub-20-seconds every morning to scoop into a small office garbage can (with a foot pedal) fitted with a plastic bag. The garbage can controls the smell, and every few days you toss the plastic bag in the garbage. Done and done.


Is /proc as portable as `ps`?


There's a long explanation when it comes to ps, but the very short answer is twofold:

* Don't parse the output of ps, unless it is my ps command (or plan 9's one, as here). See https://unix.stackexchange.com/a/593198/5132 and https://unix.stackexchange.com/a/578816/5132 , and their further reading, especially Greg Wooledge's article.

* /proc is as portable as ps, but that doesn't really amount to much because neither is really portable at all. Pretty much every operating system's /proc is different; and no implementation of the ps command fully conforms to even the limited subset laid out in the Single Unix Specification.


I guess that Linux `/proc` is different from Plan 9 `/proc`, and Linux `ps` is different from Plan 9 `ps`.

So maybe yes.


I think this is a bad idea because remapping keys has significant consequences with compatibility as you develop across more platforms. A good vi user is trying to build universal muscle memory, and making personal exceptions kinda ruins the efficacy of the editor.

For example: I switch between dozens of computers, some are transient VMs or cloud instances, and I cannot afford the time (or simply cannot alter the system) to set each one up to my personal VI specs.

(Ironically, I'm a mac fan, but this is my biggest gripe going between every OS and Apple: the command key is absurd; I tried to remap to make everything work like Ctrl but that hoses the entire system and screws up VNC/RemoteDesktop...)


I haven't done this completely (I use the jk remap hack in preference to escape) but I agree with this in general.

Emacs is an operating system, and vi is a language, which is widely "spoken". But if you invent your own dialect, you have an MxN problem, of getting M changes to register across the N programs which will listen to you when you speak to them in vi.

And I simply must nibble the bait in your last line: As a Mac native user, the command key, and consistency in commands across every native application, is one of the great features. It means, among other things, that Ctrl-whatever won't be intercepted when I send it to a program that uses it, or alternately, that it won't shadow the OS level affordance.

Back when I was spending five days a week inside a Linux VM, the context switch between Cmd-X and Ctrl-X for cut was pretty rapid and painless. Sure, I'd get the occasional cache miss, but that's harmless.


You should absolutely personalize tools you use extensively. Vim if your a writer or programmer.

It’s very little to cp .vimrc. I do a lot more, have dotfiles git repo scripted to self install.

But yes transient vms are problem. But I’m willing to suffer a little on them to have 20x more enjoyable and productive were I do 90% of my writing.


The first thing I do on a new machine is clone my dotfiles from Github. It's fast enough for an action that increases my productivity exponentially and I'll end up saving back that time it took to clone very quickly. I don't switch machines that often anyway.


I wholeheartedly agree with this sentiment. I have a lot of keybindings but I always make sure I can survive without them, such as by dropping into vanilla vim to once in a while to do work and ensuring I'm not completely lost. A user in the vim subreddit refers to this as 'sharpening the saw'.


I'm a ~50somethingish white male experiencing bone loss (via DEXA scan). My two doctors (general and specialist) both said: let's try OTC vitamin D, even though it probably won't do anything because you aren't deficient; if that doesn't do anything we'll provide a prescription for actual vitamin D.

We experimented over two years and OTC VitD didn't help, but my point is, I was confused by two types of Vitamin D: the stuff you can by OTC, and the "real" stuff. How does this compare to the VitD you are referring to?

(I cannot take calcium because I have another disease, and "calcium bolus" is a very real concern for me do to another medication i am on.)


Someone tried 300 IU/kg vitamin D3 and 45 mg vitamin K2 MK-4 (15 mg 3x/day) for bone health. 100 mcg MK-7. Magnesium was increased to 1,200 mg.

Use a tool like CRON-o-meter to check diet. PRAL score. ZMA.


try weightlifting - this is the fastest way to increase bone density


Man, if ever there was a proposition that need to be repealed. I lived in NorCal for 22 years. Prop 13 is why schools in non-rich neighborhoods are literally collapsing. There are schools in South Sacto that have been holding classes in "temporary" trailers for over 20 years. What a huge mistake 1978 made.


> Prop 13 is why schools in non-rich neighborhoods are literally collapsing.

Let's say Prop 13 was repealed. Rich neighborhoods would still get more property tax revenue than poor neighborhoods, because the properties in rich neighborhoods are worth more.

If you want to solve the disparity in school funding you need to stop basing it on the values of the homes in the neighborhoods surrounding the schools.

Repealing Prop 13 will give schools in poor areas more money than they have now, but they will never get as much money as schools in rich areas as long as the property tax funding model persists.


In Portland, Radio Cab has an Android/iOS app. I switched to them once they modernized. In this case, Lyft/Uber caused taxis to improve infrastructure. That's a win.


Competition tends to force organizations to evolve to meet the threat. That is, unless some government intervenes in the market, distorting the effect. Then you get a distorted market with inefficient allocation of resources.

Seems to happen quite a bit in monoideological areas.


Ever heard of this?

https://en.wikipedia.org/wiki/General_Motors_streetcar_consp...

In an nutshell: USA auto manufacturers purchased and dismantled the streetcar business to force people to have to buy cars.


Wow, basically "who Framed Roger Rabbit" was based on a true story.


All of these people saying: switch to Windows, its better than mac!

Have you really done that? REALLY? Because I work on Mac, Win10 and Linux every day. And Win10 doesn't even come close to the other two in terms of reliability, stability, and lack of unnecessary bullshit.

I just don't understand who can make this claim that Win is better than Macos with a straight face. Maybe for gaming. Maybe. The cost/fps is clearly better for Windows machines, but Apple puts so much more thought into their OS than windows. Hell, Windows still pops a Win95 dialog for drivers. Come on, man. Seriously? MacOs doesn't have built in ads on the home screen. MacOS has no REAL viruses, and clicking on malware is even harder now than Windows.

Downvote me all you want, but I think a lot of people on this thread have never even used a mac for more than five minutes, let alone developed on one. HN monoculture is real.


> I think a lot of people on this thread have never even used a mac for more than five minutes, let alone developed on one.

I have when I started a new job and they gave me a macbook and said it's the only option. After 2 weeks I told them I'll need a linux box asap or I'll look for a different job.

It's in my opinion the absolute worst garbage of an operating system I've ever had the displeasure of using and their window manager is a completely unusable pile of shit. Their hardware doesn't have proper cooling and burns your hands if you actually use your CPU.

People have different tastes and I really don't think you should assume people haven't tried.

Yes, I too think windows is way better than OSX, but well I also think windows is pretty shit. However, I wouldn't quit my job over having to use windows, I would have for OSX.


I had similar experience. They gave me a brand new beefed up macbook. I tried to like that thing. I really did. For months.

One day I just got tired of that thing overheating and being loud. Was given a real linux machine to work with.


What OS are you running on linux that makes the experience worth it over macOS? I've grown up using macs and am used to the UI quite a bit. Have a work machine (t580) and used Ubuntu and Fedore. Both have been quite challenging to use with lots of Graphics Issues. Sure the thing runs everything I throws at it in terms of docker/system-services/etc., but UI stuff is really ugly.


> Ubuntu and Fedora

> but UI stuff is really ugly.

Have you tried a linux distro without an ugly UI ? Ubuntu especially is a horrid horrid UI.


(not the OP) If you like the macOS style interface, I would recommend ElementaryOS which is the closest thing UI-wise.


I have the same opinion as well, to each their own. On my case Mac OS is dead last in my personal list when it comes to developing, I would even put it behind windows despite all the windows issues I hate.


I use both daily, I love a lot of things about MacOS but I also love how insanely powerful my PC is for the price, OS preferences stop mattering when one machine can render a 4K image in 40 seconds using CUDA GPUs and the other it would take hours.

Windows 10 is slowly getting better every year and honestly there are only a handful of things left that I think really lag behind Mac, Explorer being the main one.

> reliability, stability,

They're basically identical at this point, my PC runs for months on end just fine. One of my macs does the same, my USB-C MBP is the only standout as it kernel panics in it's sleep most nights.

If your Windows machine is having stability issues you probably have bad hardware, like my USB-C MacBook.

> and lack of unnecessary bullshit.

I'd say they're both about the same, windows has it's issues but so does MacOS, my mac asks me every single day if I want to update the OS and there is no "No" option only "Restart" and "Later", it also warns me 10 times a day that the disk space is running low, yep I know it's low because it's a 128GB machine, nothing I can do to fix that.

The days of Apple being against this sort of stuff is over, my iPhone asks me once a month to subscribe to Apple music when I open my Music app, out of the box iPhones have Apple News notifications. Daily OS upgrade request on MacOS


>but I think a lot of people on this thread have never even used a mac for more than five minutes, let alone developed on one. HN monoculture is real.

I for one, use mac and develop on it for my job, and I like windows significantly more than mac. Dunno how many people here are like me, but I don't think this kind of assumption is fair.


Number 2 here, use Mac as my day job, Windows for side jobs/home, Linux for server and things like media boxes. I prefer Windows.


I used exclusively Mac on my personal machines from 2005 to 2018. Then I switched to a Windows 10 laptop mostly because I was curious and it was cheap.

Windows 10 + WSL is amazing. It's definitely getting better all the time while macOS is getting worse each year. Plus more and more I just seem to only need Chrome, VSCode, and a Terminal.

So yes I have done it, and I now prefer Windows.


> Windows 10 + WSL is amazing.

It truly is. Especially Surface Go - the best portable computer IMO (iPads aren't real computers).

Until it forcefully restarts to update overnight, killing all you apps.


Perhaps it's you who is bad if you need handrails to not fall off the stairs when using Win10.

I'm not claiming it's a good OS, but it is definitely possible to make it usable if you spend 20 minutes reading and 1 hour configuring.


>Have you really done that? REALLY?

I did that after 13 years as an Apple/Mac customer. I was enough of an Apple fanboy that I queued on Day 1 for iPhone 4, and did various other things that only diehard Mac users who obsessively read Daring Fireball and MacRumors do.

I use a ThinkPad X1 running Windows 10 as my daily driver now.

The last Mac I bought was so unreliable that it had to be repaired six times by the Apple Store. Every six months the internal SATA cable failed. (Mid-2012 MBP, it's a known design flaw.) On one of those occasions, I had to help the Apple "Genius" understand what a SATA flex cable was, how it plugs into a drive, and provide him with part numbers because he couldn't find the parts on his Genius iPad. Apple refused to give me a replacement machine when I saw the manager after the second incident. It wasn't until the 5th time (!) that they finally offered a replacement Mac laptop... however, it would have been a 1st Gen butterfly keyboard model. Y'know, the model known to break so often that Apple introduced a separate "warranty" just for the keyboards.

It honestly took me until the 6th repair to understand that being an Apple customer (nevermind an Apple developer) is being in an abusive relationship. I had to get out, because frankly I needed to get work done instead of all this Apple Store repair downtime.

And that's not counting the $100s of App Store software I've lost when Apple forgot to renew their App Store Developer certificates & now the OS thinks those apps are corrupt, and I can't redownload them because the App Store doesn't keep old versions. Or how Apple mistakenly revoked the developer certificate for Charlie Munroe Software, so now the Eon business timer app I use has been remotely disabled by Apple, even though there's nothing wrong with it and Apple admits it was a false positive. Much like the false positive that won't let me launch my old REALbasic compiler anymore because Apple has flagged it as malware too. At least I stayed on High Sierra, so the 32-bit software that interfaces with my digital hardware guitar amp still works.

I've had my ThinkPad a couple of years now. I don't "love" it, but it hasn't broken on me in all that time, making it more reliable than all 4 Mac laptops I've owned. The keyboard is better than any Mac keyboard I've used, except maybe the 2000-era Pismo G3. Sometimes reliability and stability is more important - just get work done with the least downtime. I can run more audio software on Windows than was ever available for my Mac. I've never had a virus on Windows and I only run the built-in firewall & anti-virus, and I don't need to deal with that Xcode worm that's going around right now. And while there's a ton of apps that don't use it yet, the Windows approach to HiDPI works better for me than the Mac 2x / 4x system... being able to run a crisp 1.5x on my external monitor instead of jumbo 2x icons is bliss.

Honestly, I do understand where you're coming from, there's a lot Mac OS X got right and a ton of areas for Windows still to improve, but this is not the Snow Leopard era Apple anymore. Apple just doesn't care, unless it's an iPhone. And I switched to Android years ago....


Windows 10 is fine in terms of reliability and stability. In fact I find it better than Mac.

However in terms of the actual topic - code signing, Windows is almost as bad. If you run an unsigned program now you get a Smart Screen prompt and you have to click a small "More info" link and then "Run anyway".

It's a bit more obvious than Mac, and I believe there is some system to recognise common but unsigned binaries, but they're still clearly trying to head in the same direction, Apple are just a bit further down the slope.


I switched to Win10 last November after 7 years on OSX (and 9 years before that on Linux). I've had no issues with it. Are you sure you use Win10 everyday?


Rights are something you need to constantly fight for, otherwise they absolutely will go away. Portland isn't just bored, they're ahead of the curve.


As someone who lives in PDX, owns an Oculus Rift and has always refused to have a Facebook account, I can only say that mass bitching appears to have done very little to change anything. Civil lawsuits are a better approach.


What’s the context of the Portland reference?


The US Fed govt sent unmarked, masked troops to Portland who then detained people without identifying themselves using rental vehicles and not disclosing why during the riots. Basically what happens during a kidnapping. Also I believe after mayor and governor ask them to leave. Not the first time in current events either.


Here's a follow up video that's more neutral and fact based compared to the other comment. https://m.youtube.com/watch?v=uglv-fV1CqI


Money talks.


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

Search: