Hacker News new | past | comments | ask | show | jobs | submit | claviola's comments login

UTM[0] does this quite well on macOS. They also have a small gallery[1] of pre-built images.

0. https://mac.getutm.app/

1. https://mac.getutm.app/gallery/


UTM even works on iPads! I was able to run Arch Linux in TTY mode quite well.

https://docs.getutm.app/installation/ios/


This has been going on in Brazil for so long that for two years now companies must, by law, disclose any reduction in weight.

Examples: https://i0.wp.com/sfnoticias.com.br/wp-content/uploads/2022/...


Is Brazil also the country where you must disclose when you change something in the recipe of the product?


> Debian no longer accepts 'init 0' as a command

I'm not sure where this affirmation comes from. Do you have "systemd-sysv" installed? What happens when you do run `init 0´?

init(1)[0] says:

  For compatibility with SysV, if the binary is called as init and
  is not the first process on the machine (PID is not 1), it will
  execute telinit and pass all command line arguments unmodified.
  That means init and telinit are mostly equivalent when invoked
  from normal login sessions. See telinit(8) for more information.
telinit(8)[1]:

  The following commands are understood:

  0

  Power-off the machine. This is translated into an activation
  request for poweroff.target and is equivalent to systemctl
  poweroff.
> ipconfig isn't a command anymore

are you sure you're not mixing up the Windows command ipconfig[2] with the still ubiquitous ifconfig[3]? Even though it's considered deprecated in favor of iproute2's[4] "ip" command, I don't know any distro which has ceased making net-tools available, let alone unusable.

> systemd changed the whole subsystem from underneath me

I agree systemd has been pretty disruptive, but it has made me a lot more productive. Writing a unit file is dead simple, and it is capable of doing a lot of very interesting things. Hardening a unit is quite easy, for instance. You might already be aware of all that, but if not, I can drop some links on another reply.

Overall, from the one of your reply, I have the impression that you might be happier switching to a less opinionated distro like Void Linux or Gentoo. Something as curated as Ubuntu isn't a good fit for you.

  0. https://man7.org/linux/man-pages/man1/init.1.html
  1. https://man7.org/linux/man-pages/man8/telinit.8.html
  2. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig
  3. https://sourceforge.net/projects/net-tools/
  4. https://wiki.linuxfoundation.org/networking/iproute2


Debian 12.1 out of the box, I'm sure there's a workaround, but I had to google 'How do I shutdown my computer.

s/ipconfig/ifconfig/

> Overall, from the one of your reply, I have the impression that you might be happier switching to a less opinionated distro like Void Linux or Gentoo. Something as curated as Ubuntu isn't a good fit for you.

I agree, but I work in infosec. Nobody ever got fired for running Ubuntu, particularly when there's at least some auditing of source before they push out deb packages. I know there are minimal case studies, but one day someone will get malware into a distro, I'd like to reduce the risk that it happens to the distro I'm running.

I also moved away from Gentoo ~ 10 years after systemd was mainstream, at that point it was basically impossible to get Bluetooth Audio working without pulseaudio, which seemed impossible to run without Systemd. I fully understand that Systemd is probably better in a lot of use cases and I really don't care what's running under the hood, provided it doesn't get in my way.

Edit: And the reason I hate whatever is responsible for the 'ip' command is that it's virtually impossible to google specifically for that command (y'know, because 'ip' was a protocol not a command, convoluting things unnecessarily)...


> Edit: And the reason I hate whatever is responsible for the 'ip' command is that it's virtually impossible to google specifically for that command (y'know, because 'ip' was a protocol not a command, convoluting things unnecessarily)...

Oh, absolutely. It could be forgiven if the documentation wasn't so spectacularly useless. The man page just covers that there are OBJECTs you can call, and that you should do for instance 'ip address help' to see what you can do. I encourage anyone to actually do that. A familiarity with Backus normal forms is required to decipher that "help".

Just install 'net-tools' and good ole ifconfig will be in /sbin...


> The man page just covers that there are OBJECTs you can call, and that you should do for instance 'ip address help' to see what you can do.

Amen. I just replied to the upthread comment with the same example of uselessness before reading this comment.


pulseaudio works in Gentoo now, and you can even run it without switching to systemd (which Gentoo also supports if you're into that). Gentoo also has a new sound server called pipewire that is pulseaudio compatible so that's an option also.

(and agreed with all of your other points, and there's still something to be said for the push button utility of ubuntu, etc; to your point, a lot of infosec people, including at large enterprises, prefer gentoo.. I know many of them and am one myself.)


I strongly suggest switching to pipewire instead of pulseaudio. Most big distros are already switching; pipewire is newer but already more mature/stable.


> If I have positive motivations to do X, distractions are easy to set aside. If motivations are negative, I will be unable to resist creating distractions. And a straightjacket that prevents that leads to insanity.

How do you deal with chores?


First, a direct positive emotion - I'm aware of how much my doing routine chores helps my wife and family. And it is a trade, I'd much rather do the chores than the routine paperwork that my wife does instead!

Second, I use doing routine chores as meditation and thinking time. It does lead to doing the chore less efficiently - I might break off loading the dishwasher to pace, think, and jot down a note. But it is also personally productive time for me.


These are really good tips which have an added benefit mentally with the positivity you are bringing to your own headspace.

I think meditation is overlooked in favor of medications as a valid aid in folks with executive function disorders.

I personally just listen to music with noise cancelling headphones while doing chores. It also helped that I took the time to explain to my family that I am not trying to ignore them but sometimes I need to unwind after a mentally taxing day at work with some distraction free cleaning.


Not OP, but I give myself a little reward. Specifically, I "X" out the task on my daily task list. I take this so far as to add items I just completed to my list just so that I can mark them off.

It's stupid, but it works. At least for me. I think it comes down to 2 different types of positive reinforcement:

1. It feels good to mark a task done. 2. It feels good to look at a list of all of the things I did that day, even if they were the size of taking out the trash.


Yup. Reward early, reward often.

50 small rewards works better than one giant one. Even if the 50 small rewards were just + points TOWARDS getting the one giant one.


Automate as much as possible. I cannot live without a washing machine, dryer, and dishwasher inside my apartment. I tried once and I just had dirty clothes and dishes all the time. Beyond that I just pay for it! I love in an hoa so I don’t have to do yard work or trash, so cores are minimized as much as possible.


not OP, but what works surprisingly well for me, is doing chores when I am in the mood. That does sometimes mean cleaning out the dishwasher at 3AM, but at least it gets done sometimes instead of never.

Just keep an eye out for productive moods. Keep checking with yourself if you feel like doing chore X and if the answer is "yeah I guess" drop everything and do the chore.


From the blog post here: https://blogs.oracle.com/linux/post/introducing-bpftune

"A lot of lore accumulates around these tunables, and to help clarify why we developed bpftune, we will use a straw-man version of the approach taken with tunables:

“find the set of magic numbers that will work for the system forever”

This is obviously a caricature of how administrators approach the problem, but it does highlight a critical implicit assumption - that systems are static."


Cloudflare already does it for their reverse proxy service in some instances. One of my subdomains resolves to 188.114.97.0 and 188.114.96.0 on v4.


It seems to me like your POV is that of an user. They're mandating that for publishers.


you need to compare this to consul connect, which is hashicorp's service mesh software.


Do you honestly consider modifying the core idea of the 24 hour day to be a "slight tweak"? I can't even imagine how many different things rely on that assumption.

(and I'm sorry, but what does "naming months and seasons in Mars" have to do with this?)


You have basically three options for timekeeping on mars: adjust the day, adjust the second, or give up on days syncing with the (apparent) movement of the sun.

The first option breaks mostly assumptions made in software and processes, the second mostly assumptions made in hardware, and the third breaks human's circadian rythm (a 23 or 25 hour rythm isn't a big deal, but it has to sync to light).

Of those three, the things that rely on 24 hour days seem to be the easiest to change. Though there is precedent both to messing with the length of a day (a leap second makes the day one second longer, making 23:59:60 a valid time) and the length of a second (google pretends like seconds are slightly longer as an alternative way to deal with leap seconds)


I must have missed something. This article is about the Moon.


And comment you replied to is about Mars.


But it's not clear why that author decided to talk about Mars. They didn't connect their comment to to the article at all.


Sorry about that, I was just throwing somewhere at the bottom of the comment section an off-topic ideea I've been toying with. Didn't expect it will raise such interest and be voted towards the top.


No need to apologize. We knew what we were doing when upvoting a comment by the great cornholio.


The very first entry on the list of falsehoods programmers believe about time[0] is that there are always 24 hours in a day.

[0] https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b...

23:59:60 happens when we add leap seconds to the clock, for instance...


> there are always 24 hours in a day

Daylight savings time is a much larger departure from this rule ;)

> 23:59:60 happens when we add leap seconds to the clock

Not anymore! Or, maybe not anymore. We've agreed to phase out leap seconds before 2035 [1] and we probably won't get a 23:59:60 before then [2].

[1] https://www.nature.com/articles/d41586-022-03783-5

[2] https://manifold.markets/Yev/will-there-be-another-positive-...


Oh, I didn't realise that this proposal had been adopted!

I read[0] that "It will take about 50,000 years for a mean solar day to lengthen by one second (at a rate of 2 ms per century)" and "The [accumulated] difference between UTC and UT would reach 0.5 hours after the year 2600 and 6.5 hours around 4600" which I expect will be sufficient to take us through to the time where we will no longer need co-ordinated time or an IERS.

[0] https://en.wikipedia.org/wiki/Coordinated_Universal_Time


I wasn't talking about software development by itself, but human behaviour.


Human behavior will largely just appreciate the extra half hour of sleep each day.

Round-the-clock shiftwork (hospitals, power plants, etc.) will require minor tweaking; your eight hour shift probably just becomes 8:10 or so.

(It's worse for humans on Earth working Mars time, which is a thing that already happens. They come in 40 mins later every day. https://mars.nasa.gov/resources/20090/living-on-mars-time/)


> and I'm sorry, but what does "naming months and seasons in Mars" have to do with this?

Time of day and calendaring and discussed together because they allow you to ask things like "what was the date and time on Mars prime meridian on Feb 2 2023 6:00 UTC" and get a recognizable date and time back. It's essentially a timezone, albeit a very strange one with a variable offset.

> modifying the core idea of the 24 hour day to be a "slight tweak"?

Ok, maybe an exaggerated hand-wave on my part. It's a slight software tweak on my desk clock. I was contrasting with the alternative of modifying a fundamental SI unit and more or less rebuilding from scratch all hardware sent on Mars. The fuckups alone resulting from confusing Earth seconds with Mars seconds.


For software that runs on Mars, I think "Mars date/time" has to be a brand new set of APIs and data types. The existing date/time APIs/types are for Earth times only. The "local time zone" on Mars would just be UTC. That way there wouldn't be much possibility of bugs based on confusing Earth and Mars time scales – all pre-existing software would still work with Earth date/times, and anything that needed to deal with Mars date/times specifically would have to be modified to handle them.


No, Mars has less mass than Earth, so if you use Earth UTC, Mars seconds will be longer than SI seconds, which does not seem like a good idea.


I think you misunderstood my point - I was saying make both Earth UTC and some Martian time scale available, just use a new API and data types for the latter. Which one to use in any given use case will be up to the application developer.


cough leap second cough


Sure, the leap second is a thing. We still represent the day as 24 hours for humans. They didn't seem to be talking about an "under the hood" hand waving of a significant part of the day.


Way easier than changing the rotation speed of mars.


You'd still have Scotland and Wales there.


Scotland is planning another independence vote in a year or so. After Brexit there's a good chance it'll pass this time.


"A good chance" doing a lot of work in that sentence.


Not really. It almost passed last time, and one of the major reasons people voted against it was because it was unclear what that would mean for their status in the EU. That's no longer a concern thanks to brexit.


Yes, really. But I doubt we'll agree on that. There was a short time when 'yes, go independent' was on top, but it seems to me to be less popular again [1]. Not by much, I'll grant, but when the tories lose the next election, and Labour stop the current government policy of "screw Scotland, just because", I expect normal service to be resumed.

If the Scots vote for it, of course, they should have that right. I'm not trying to say they shouldn't have their say, I'm saying their position isn't one likely to lead to separation in the near future. IMHO.

[1]: https://upload.wikimedia.org/wikipedia/commons/d/d3/Wiki_Sco...


in the surveys in 2014 the EU was at around reason #7

underneith things people cared about (such as currency and pensions)


Currency and pensions have been heavily devalued as well.


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

Search: