Stories
Slash Boxes
Comments

SoylentNews is people

Log In

Log In

Create Account  |  Retrieve Password


Thoughts on init systems, Epoch, the future

Posted by Subsentient on Monday February 12 2018, @06:08PM (#2989)
5 Comments
Code
Oh boy, has it been a while. A lot has changed, much of it not at all for the better.
Life's been hard, but I suppose that's a story for another time.
I've spent the last year or so using Fedora exclusively, as it always has been my favorite distro, other than the systemd quagmire. I've stopped using SubLinux 2, because it's too outdated and I don't have the time or the energy to build another complete system myself with everything that's been going on, much less maintain it.
I used Epoch with it for a while, stumbling through the incompatibility that intermixing systemd and Epoch components caused, before I gave up and essentially said "fuck it". So, I've been using systemd for around a year now.
Here's what I learned from that experience:

* systemd is still terrible. It's unstable, slower than it should be, buggy in critically important places (like unmounting filesystems on shutdown), and still assimilating technologies that it really shouldn't be. (systemd-boot, aka gummiboot, anyone? Now introducing systemd the bootloader.)

* systemd does have some important things that Epoch does not, most importantly a more packager-friendly configuration system as compared to Epoch.

* Epoch is still substantially superior in some ways. Among them is stability, fault tolerance, overall program size, and service management, not to mention the lack of external library dependencies, e.g. dbus. It also has a better feature set for recovering from certain issues, e.g. ctrl-alt-del to kill a stuck service.

* Epoch's codebase is absolutely nauseatingly terrible. It's incredibly hideous. It's "tried and convicted for war crimes" bad. It's unwise for me to attempt to further this codebase as-is, without at least a substantial partial rewrite.

I've had time to do some introspection, and I've realized where Epoch succeeded, and where it failed.

Where Epoch succeeded
* Service management
* Footprint size
* Configuration syntax
* Logging system

Where Epoch failed
* Codebase quality. Like seriously, so disgusting.
* Packager-friendly configuration/service files (A very big one)
* Single threaded design, which created opportunities for lockups and broken applets with misconfigured services, though this was always recoverable.


So, what now? Well, I haven't given up, but I don't have a lot of time right now, due to crippling financial problems.

I do have a plan.

Enter "Monolith"
The new design concept for Epoch's replacement.
The paradigm for it is as follows:

* No dependencies other than the standard library, just like Epoch.

* Multi-threaded, can start multiple services in parallel.

* FIFO file-based interprocess communication, phasing out the incredibly disgusting "MemBus" used by Epoch currently.

* Similar service file keys as to what Epoch uses currently.

* Far better support for multiple configuration files than Epoch

* Minimalist C-based module system and API, for further functionality.

* The biggest thing of all: An optional module for systemd service file compatibility, to make it a true drop-in replacement for systemd. Some things that deal with, eh, stupid stuff from systemd, like its own version of getty etc, will not be supported for obvious reasons.

* GPLv3 license. I've spent considerable time lately being exposed to the proprietary, Tivo-ized Linux systems of today. I've been absolutely disgusted at what I've found. I have no intention of giving them any further resources to lock users in. The GPLv3 should force all modifications to the base code to be published openly, as well as prevent Tivo-ization on those that do use it. With any luck, someone will put it in a set-top box without paying attention and I'll be able to force them to open it up to user code.

I'm thinking I'll write it in C++14, so I can have an easier time eliminating issues like segfaults caused by buggy homebrew linked lists etc.

It'll be a while before I can do this.
Unless someone wants to pay me a livable wage to work on this project, it's going to have to wait until my life stabilizes a bit, which doesn't seem to be coming soon. hint hint.

That's it for now.

Any thoughts?

29-Year-Old Pregnant Virgin

Posted by takyon on Monday February 12 2018, @02:15AM (#2988)
14 Comments
/dev/random

I’m a 29-Year-Old Pregnant Virgin

"This is me giving a middle finger to the people who told me I couldn’t do it because I’m not married yet."

$ sudo port install gnucash

Posted by MichaelDavidCrawford on Sunday February 11 2018, @02:42AM (#2985)
12 Comments
Code

Forty-five minutes later and it's still installing dependencies. The hell is goffice?

All I wanted was to do my income taxes on my Mac. Perhaps if I settled for my Windows box those taxes would have been done by now.

Russians Mock Their Space Program After Falcon Heavy Launch

Posted by takyon on Saturday February 10 2018, @08:33PM (#2984)
9 Comments
Techonomics

Russians are mocking their space program after the SpaceX launch

Some dove head-first into Russia's rising inequality and the excessive wealth among the country's billionaire elite. One user noted the millions of dollars and years of effort Musk has plowed into pioneering space technology, and lamented the comparison with the kinds of things Russia’s notorious 96 billionaires tend to spend their own money on.

His example: Roman Abramovich, the Russian oil-and-metals magnate who spent some $233 million buying the U.K. soccer team Chelsea.

Abramovich, who’s worth $11 billion according to Forbes magazine, also splashed out some $400 million for the world's second-largest yacht in 2010, which he named Eclipse, ironically enough.

Others used the SpaceX craze to poke fun at Moscow’s standard tit-for-tat diplomatic approach to disputes with Washington, with one user photoshopping a mobile missile launcher flying through the cosmos as Russia’s “symmetrical response.”

How Elon Musk Beat Russia's Space Program

The Soviet Union tried something similar in the 1960s and early 1970s. Sergei Korolev, the rocket designer who launched the first satellite and the first man into space, began the development of what came to be known as the N-1, a 30-engine superheavy rocket capable of taking a 75-ton space station to orbit and perhaps to the Moon, Mars and Venus. Finished after Korolev’s death in 1966, the N-1 was test-launched four times. Each of the launches failed, largely because of the difficulty of running so many engines at the same time.

Now SpaceX has pulled off a similar task, and even though it’s not clear yet who will contract for the Falcon Heavy’s services, SpaceX founder Elon Musk now has the most capable missile in the world: It can deliver up to 64 tons into orbit. Russia’s plans to build such a rocket, capable of flying to the Moon or to Mars, aren’t even complete yet, and certainly not fully funded, though Igor Komarov, head of Roskosmos, the Russian space agency, has promised a first launch in 2028. Even China is likely to have a superheavy launch vehicle before Russia. But it’s the success of upstart Musk that smarts. Roskosmos has the full power of the state behind it, after all. And yet here’s this boyish-looking showman launching his roadster into space, David Bowie blasting from the car’s speakers and “Don’t Panic” -- a quote from Douglas Adams’ “The Hitchhiker’s Guide to the Galaxy” -- lit up on the central console.

John Kelly's standing in Trump admin. hurt; Navalny vs Putin

Posted by takyon on Friday February 09 2018, @02:53PM (#2979)
2 Comments
News

The Memo: Knives come out for Kelly

Kelly’s most vehement critics even suggest the episode could herald his demise within the administration.

“We’ll see this as an inflection point when he is fired,” said one source within President Trump’s orbit. The source, who requested anonymity to speak candidly, blasted Kelly as “tone deaf and politically inept.”

A second source close to the Republican Party complained, regarding Kelly, that “everybody knows he limits access and information flow to POTUS on a daily basis; this could be the beginning of the end of that — and maybe Kelly as chief.”

Trump's self-imposed shackles are coming undone!

Banned From Election, Putin Foe Navalny Pursues Politics By Other Means

He said he doesn't have any doubts that the Russian government interfered in the 2016 U.S. presidential election because similar methods have been deployed against members of the Russian opposition: hacked emails, the publication of false personal information and attacks on social media accounts by armies of bots.

"Putin is conducting a creeping expansion into the Internet — extremely effectively and cheaply," Navalny said. "Of course he had fun hacking those servers and meddling, but it didn't have any significant effect on the elections."

Amid all the hostility between the U.S. and Russia, Navalny said the affinity between Putin and President Trump is inexplicable, especially considering that the Kremlin has based even its domestic policy on anti-Americanism. "This makes no sense, and there is no rational explanation for it. But maybe one day there will be a new Watergate and we'll learn a lot about these amazing ties," he said.

Beyond the personal relationship of presidents, Navalny said that the strategic interests of Washington and Moscow are largely aligned, and that instead of squabbling the countries should be pursuing nuclear non-proliferation and fighting terrorists together. A key move to bettering relations would be for Russia to stop its involvement in the war in eastern Ukraine, he said.

"We're a Western country," Navalny said. "Russia — based on its size, population, nuclear weapons and intellectual potential — should strive to be a leading European country."

Russia should aim to join the European Union and work on participating in a joint security system with NATO members like the U.S., Britain and France, he said.

Navalny's only job is to keep doing what he is doing now without getting assassinated, and eventually mount a real attempt at winning the Presidency after Putin retires from politics.

I Just Baked A Hungry Man Dinner

Posted by MichaelDavidCrawford on Friday February 09 2018, @06:17AM (#2977)
14 Comments
Code

I buy them quite a lot so I can fabricate an excuse to chat up the cashier at a certain convenience store.

It's ready now, and my apartment is fragrant with the appetizing scent of gravy and salisbury steak.

The mashed potatoes aren't so good but the green beans are of far better quality than those found in cans.

But I don't feel like I can eat it.

I got very little sleep last night. I was awake until four in the morning, then had to get up at 6:30 so I could take the bus to my witch doctor appointment.

I don't feel so good.

Maybe I'll just put it in the fridge.

The cashier is always happy to see me. The other day I folded a Peace Crane before her very eyes. I demonstrated that tugging its tail leads it to flap its wings, then said "This is for you." She was quite pleased.

Unfortunately whenever I see her I lose the ability to speak. So quite commonly I just pay for my Hungry Man and then leave.

"The list archives and stack overflow are filled with develo

Posted by MichaelDavidCrawford on Thursday February 08 2018, @02:29AM (#2975)
8 Comments
Code

-pers gnashing their teeth."

I just asked my client whether I should just give up on what I'm doing.

I'm trying to write a GUI uninstaller. How hard can that be?

Apple recommends that one use a very, very simple privileged helper app, because it cannot guarantee the security of its GUI libraries.

That sounds dandy but so far I am unable to get that helper app to work.

There is already a dead-simple shell script uninstaller. The GUI is intended for those users who cannot deal with command lines.

Justin Timberlake Not Woke Enough (or at all)

Posted by takyon on Wednesday February 07 2018, @02:28AM (#2973)
9 Comments
/dev/random

What's behind the Justin Timberlake backlash?

Timberlake must be wondering what went wrong. Because, truth be told, there's nothing egregiously bad about either Man of the Woods or his Super Bowl performance. They're just... slightly disappointing.

The backlash feels bigger than a commentary on his music. There's a mockery and a cruelty that feels personal - as though people had a lingering resentment towards the star, and they've suddenly been given licence to express it.

For some, it goes back to his relationship with Britney Spears. After they broke up, he made music and videos that traded on their story and told several interviewers he'd taken her virginity - a personal detail that wasn't his to share.

For others, it's about his failure to support Janet Jackson after exposing her breast to millions of TV viewers at the 2004 Super Bowl.

Timberlake's half-hearted acknowledgement of that moment at this year's show did not go unnoticed.

"He chose to perform the song Rock Your Body, during which the famous wardrobe malfunction took place, and yet he didn't mention Janet: He didn't shout her out, and he stopped the song right before the line during which he ripped off her costume," pop critic Ann Powers told NPR. "It was almost like he was trying to erase what had happened in the past, but that is just not flying in 2018."

"The Super Bowl performance invited people to reflect on the time Justin threw Janet Jackson under a bus, and what that said about race and gender," agrees Peter Robinson, editor of Popjustice.

As The Pop World Seeks Accountability, Justin Timberlake Seems Lost In The Woods

You say "not right for this moment." Explain what you mean by that.

Justin Timberlake's entire career and art is based on his ability to be smooth — his ability to be easy, to create music that seduces us with references to the past, with appropriations, with artful mixes, and never quite shows any struggle. But we are living in a moment of struggle, and we want our pop music to also reflect that struggle. And frankly, Timberlake now embodies that phrase so often spoken today: white male privilege. It's just not a good look for 2018. And it's really, in some ways, not his fault — it's just who he is.

Why Prince fans are bashing Justin Timberlake's Super Bowl halftime performance

In a 1998 interview with Guitar World magazine, Prince was asked directly about the use of digital editing to "create a situation where you could jam with any artist from the past." He was not a fan.

"That's the most demonic thing imaginable," he said. "Everything is as it is, and it should be. If I was meant to jam with Duke Ellington, we would have lived in the same age. That whole virtual reality thing ... it really is demonic. And I am not a demon. Also, what they did with that Beatles song (Free as a Bird), manipulating John Lennon's voice to have him singing from across the grave ... that'll never happen to me. To prevent that kind of thing from happening is another reason why I want artistic control."

Last one could plausibly form the basis of a tech-related submission, although it is a little late.

A Night At The Skinflicks

Posted by MichaelDavidCrawford on Monday February 05 2018, @06:36AM (#2970)
2 Comments
Digital Liberty

tl;dr: I got blown and therefore regard this evening's extracurricular activity to have been a success.

There was even a woman there - attractive even - but I had the sense she wasn't looking for anything but a romantic night with her man.

That's not always the case. It's common for women to enjoy fornicating in front of an audience. On very rare occasion, women turn up who want to do the dirty with every last man in the place.

I was disappointed at first, I expect because the superbowl had Portland's degenerates otherwise occupied. I did not at first see the woman as she and her man were behind an oddly out of place wooden structure. I figured the management used that for storage. But this evening I noticed a man enter it through the door. It was then that I realized the structure consisted of six Glory Hole Booths.

In pornographic motion picture theaters men often have totally meaningless, anonymous sex with each other. With the aid of a glory hole one can get it on with a complete stranger without obtaining the first clue as to what one's partner even looks like.

After receiving fellatio I went across the street to a really high-end tea shop. There were many kinds of high-class teas to choose from but I wasnt really in the mood to decide which among them would get brewed for my cup.

"What would you like?"

"Surprise me with your favorite."

"Caffeine ot no caffeine?"

"Caffeine."

From time to time I ask a restaurant waitress to surprise me. They always have the same reaction as did the guy on Star Trek when Spock said to him "I am lying". So I was quite delighted that the barista was into it.

Without a doubt she gave me a cup of uncommonly exotic tea but it was everything I could do to drink all of it. It really tasted foul. I am absolutely serious. It was like that fancy coffee whose beans are fed to weasels or some such, then collected from that weasel's turds when it is to be brewed.

I Am Absolutely Serious.

But drink it I did because I did not want my barista to be disappointed or insulted. It tasted better to me after I drank about half the cup.

I debated whether I should go home or go back to the theater. Really I should have gone home, but one has unlimited re-entry all day long and I did not want that valuable commodity to go to waste.

Back in the theater I shook hands with William Jefferson Clinton for a little while but realized I just wasn't into it anymore and so went home.

Portland's Oregon Theater is quite a long way from where I live. I can easily get there on the bus and the light rail, but it's two hours each way.

There is a video shop that is far closer, that is also equipped with glory holes in all but one of its video booth. The booth without the glory hole is quite large and contains a desk.

Yes: a desk. Just like what your keyboard rests on when you're at work. I remain puzzled by that one.

No chair though.

Upon arriving home I had a couple slices of 7-Eleven pizza. That is damn near the cheapest pizza known to Man but it's so much less expensive than Domino's that I can set aside its inferior crust and take gustatory delight that I am saving so much money that I could go to the porno theater TWICE with the money I save.

The 7-Eleven cashier doesn't even expect a tip. How cool is that?

Army Warns of Synthetic Cannabinoid Oil

Posted by takyon on Thursday February 01 2018, @06:34PM (#2967)
11 Comments
News

Army: 2 deaths, 60 hospitalizations blamed on vaping oils

The U.S. Army is warning about the dangers of vaping synthetic cannabinoid oil after about 60 soldiers and Marines in North Carolina and 33 troops in Utah experienced serious medical problems in January. In a Monday public health alert, the U.S. Army Public Health Center said military personnel have suffered headaches, nausea, vomiting, palpitations, dilated pupils, dizziness, agitation and seizures.

All the symptoms are associated with synthetic cannabinoids. Two Marines have died in accidents blamed on synthetic cannabinoid-induced seizures.

"This problem has the potential to spread quickly across the Army," the alert said.

Army regulations ban the use of so-called CBD oil or any products derived from marijuana, so some soldiers are using synthetic replacement oil.