Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: How I Would Create A Cryptocurrency 7

I think there is a future in cryptocurrency (crypto). However, I don't think there is a future in the crypto that is currently available. Although I don't understand all of the mathematics behind it, the economics has major problems. The way new coins are created creates scarcity, which drives up prices to ridiculous levels. It's a speculative investment, not a currency.

A successful currency should be widely available, and have a stable value that gradually loses value, not the other way around. Therefore, I propose the following:

First, this currency relies on statistical principles to function. Therefore, the miners of this coin do not get to select which transactions they process, and which ones they do not. Transactions are selected randomly, to meet statistical requirements.

Next, a trendline will be calculated on the value of past 10,000 entries to the blockchain over time. If the slope of the transaction value trendline is not decreasing at a rate of 3% per year, (I use the US federal reserve target for inflation to obtain this target) a new coin is minted and rewarded to the miner. This "interest" is the miner's reward for doing the work to make transactions possible. It also discourages hoarding of coin as it will lose value at a known rate over time.

I chose 10,000 as that should get enough certainty to measure inflation to within 1%. If there are less than 10,000 entries to the chain, the trendline computation will not be run, and no new coin will be minted. There will need to be some bootstrapping to get the process to the first 10,000 transactions.

I have no idea how to do this, and I especially don't know how to do it securely. I am also concerned about developments in quantum computing blowing up the entire cryptocurrency ecosystem. I just want to get some thoughts written down.
User Journal

Journal Journal: Resources to Learn Robust, Organized Coding

I've been coding in MATLAB for over a decade. In the past couple years, I've transitioned to Python. However, my training is in mechanical engineering. In school, our curriculum was very much focused on making a program work, and not making it robust. No time was spent on programming best practices. Are there resources to learn best practices, without going back to square one?

User Journal

Journal Journal: Normalizing MP3 Files

I have a bunch of old MP3 files that have varying perceived loudness. I used some tools to correct this over a decade ago, but for some reason they didn't get archived.

I tried using the Linux utility Normalize-Audio to correct the loudness issue. This software seems to be full of bugs. While it evaluates a batch of files, it only corrects the last file in the batch. That means each file has to be corrected individually. Upon correcting a file, there is no discernible difference. Running the program again outputs the file still needs correction. Bottom line, it doesn't work at all.

I dug up an old .deb file for mp3gain. Unfortunately, I had similar results to Normalize-Audio. It seems to set a flag in the MP3 tag, but it has no effect on the file's playback.

The best way to normalize an MP3 is Audacity. It actually decodes the MP3, normalizes it, and reencodes it. It can be done very simply with a macro GUI. Don't bother with other options. This is the only way.

Audacity's denoise effect is also amazing. Just highlight a quiet part, where the noise is obvious, run the tool, and click the noise selection tool. Select all and run the tool again and click ok.
User Journal

Journal Journal: Why is Setting Up Samba So Difficult?

Sharing a file or folder on Windows can be done accidentally. In Linux, it's a disaster. Upgrading from Mint 19 to 20 broke my Samba configuration. Getting it running again was a major project, compounded by Systemd issues. It seems that Samba might work great for an enterprise that has a lot of resources to devote to getting it running well with all of its features. However, setting up file-sharing for home use is a disaster.

Edit: The issue was found to be with a change to Samba in Mint 20.

User Journal

Journal Journal: Open Source PDF Printers For Windows?

My Wife recently tried to create a PDF on her Windows machine and realized there was no software on her machine to do so. Back around 2008, good free PDF printer software was ubiquitous. However, it seems the market has dried up, and the the open source options have become littered with adware. Have any Slashdot readers come across good options?

User Journal

Journal SPAM: Opinion: People Who Hate Common Core Don't Really Understand Math

In helping my children with their homework, I notice the new way math is taught as part of the common core curriculum. I know a lot of people have issues with this "new math". However, I don't have a problem with it. The way I learned math is still taught. However, there are also a few other ways as well.

It seems to me, the new material in common core forces us to think hard about the mechanisms behind basic arithmetic. A lot of older people simply have wrote knowledge of math. When their children's curriculum forces them to realize they don't understand the reason mathematical operations are performed certain ways, they act out in humiliation.

It's perfectly normal for an adult to feel humiliated when a small child grasps a concept that they don't. It's important to acknowledge that it's not the adult's fault. They weren't explicitly taught these underlying concepts when they were in school. Some people filled in the gaps themselves, and others didn't.

I think it's important for people to understand the fundamental reasoning behind basic concepts. It enables us to grasp more complex concepts easier. It also allows us to develop new concepts and innovate!

For example: Having a firm concept of how the decimal numbering system works will allow children to more easily grasp other number systems when they get older.

Don't give up on common core. I think it will pay off years down the line.
User Journal

Journal Journal: The Debate Over How We Learn To Read 3

My oldest child is in first grade, and learning to read. I noticed she was coming home from school and making some interesting statements about how she reads. One particular phrase that bothers me is, "I can read pictures." Recently, I heard a radio show on NPR about whole-language reading instruction, and how it's a terrible way to learn. I've since learned, that this is a hotly debated topic.

I learned to read in a phonics only setting. To me, this is the only way to read. I don't look at pictures, or the rest of the sentence unless I am completely clueless about what a word is. This whole-language approach just seems wrong.

Have any Slashdot members been through this experience with their children? Did anyone find good research supporting one way or the other, not just opinion? What is your opinion on whole-language versus phonics only reading instruction?
User Journal

Journal Journal: Preparing a Home For an Electric Vehicle 1

My neighbors and I were discussing buying electric vehicles. One thing that had us concerned was the cost of upgrading the electrical service to our garage. Our homes have detached garages, and our circuit breakers are old and full. I figure the cost to upgrade would be several thousand dollars using a licensed electrician. Do any Slashdot readers have experience with this?

User Journal

Journal Journal: The old camera... 1

A while back I discovered that theyâ(TM)re selling photographic film again, so I bought a package of three rolls of 35mm Kodak color film. Not sure what Iâ(TM)ll photograph, but the Minolta 35 mm SLR takes a hell of a lot better pictures than my phone. Actually, than any phoneâ"and any digital camera.
        I got home, set the film aside (itâ(TM)s a lot more expensive than the last time I used film) and looked for my camera, which hadnâ(TM)t been used for a couple of decades.
        I couldnâ(TM)t find it. I was sure Iâ(TM)d put it in the middle drawer of my dresser, but no matter how much I rummaged I couldnâ(TM)t find it. And damn it, Iâ(TM)d paid eighteen dollars for the film and didnâ(TM)t keep the receipt. That was a few days ago.
        So yesterday I decided to look again, maybe it was in a different drawer? I looked through all of them, and finally rummaged through the one Iâ(TM)d looked in earlier. And I found a small case with a zipper, and there was a camera inside.
        An old sixteen millimeter, the kind you used flash cubes with. Looking more, I found another camera. It was a cheapo as well. And then at the back of the bottom of the drawer, there it was. My old camera, the SLR (I have another 35mm but itâ(TM)s not nearly as good).
        Checking it out I wondered if I could remember how to use it. On the bottom was a screwed in battery cover. I opened it and stuck the battery in my pocket, since after half a century that batteryâ(TM)s certainly more than dead.
        So I want back to Walgreenâ(TM)s for a new battery.
        They donâ(TM)t make them any more. Itâ(TM)s a mercury battery, and they no longer sell anything with mercury in it. And itâ(TM)s a strange 1.6 volts, the new ones are 1.3 or 1.5, which is going to make my light meter inaccurate. Iâ(TM)ll have to experiment to find out how to adjust it... that is, if I can get it to work at all. Itâ(TM)s thinner than the old battery, and I donâ(TM)t think the polarity is marked. And itâ(TM)s thinner, so Iâ(TM)ll probably have to use aluminum foil as a spacer to make it connect. That means Iâ(TM)ll have a burrito from La Bamba for lunch tomorrow, because they wrap them in foil. Iâ(TM)m not buying a whole roll for a square inch of foil!
***
        Two days later as I was eating my burrito I remembered that film changed sometime in the 1980s, with the film speeds changing from ASA to ISO, so I put off opening the battery until I could do a little research. I found that the cameraâ(TM)s built-in light meter wouldnâ(TM)t work; conversion was more complex than converting Fahrenheit to Celcius. So now Iâ(TM)m going to have to schlep all the way over to the west side of town, or all the way up to the north side.
        And then I thought of the other cameraâ"the one we call a âoephoneâ. It could probably be used as a light meter, so it looks like I have a little more research.
        So I downloaded two or three photographic light meters, all of which were completely incomprehensible and none of which came with instructions.
        So it looks like my only recourse is to go to the camera store and buy a light meter. I googled, and everything was either on the far north side of town or the far west side. One listed was Best Buy, and since Iâ(TM)d decided to hook my TV to the network I needed a cable and went there.
        They had the short cable I needed, and lots of camera supplies, but no light meters. Itâ(TM)s probably because cameras had built-in light meters for the last half century, but film changed from ASA to ISO three decades ago or so, so it would no longer work even if they still made batteries for it.
        So I asked the guy for directions to the camera shop, got in the car and looked at Google Maps, and couldnâ(TM)t find the damned place! When I got home I looked it up again, have a better idea of where it is, and will have to go back out there, but Iâ(TM)m calling first.
        I should have called. I found it on the map, drove out there, and found the hard to find camera store.
        Their cheapest light meter was over $250! Thatâ(TM)s way, way too much. The store guy explained that it was because so few people are shooting film now, and new cameras have built-in light meters so they only made really fancy ones. It made sense, but of course I was disappointed. Not sure what to do now, Iâ(TM)m not paying that much for a light meter! I only paid fifteen bucks for one when I was a teenager.
        Then, on my way out, I saw something that cheered me greatlyâ"a small blackboard with a notice that they could digitize VCR tape! Itâ(TM)s worth twenty five bucks to me to get that tape of my kids when they were kids digitized.
        But I still donâ(TM)t know what to do about that light meter. Guess Iâ(TM)ll have to check Google Play again and try all the light meter apps. Iâ(TM)m not very hopeful...
        Any ideas?

User Journal

Journal Journal: The Motive 3

All the cops and newspapers are searching for a motive in the horrific mass murder in Las Vegas last week. No connection to any terrorist groups, no indication at all that it would happen, and the newspapers are all asking âoeWhy??â

        The answer is simple and I canâ(TM)t figure out why nobody else can figure it out.

        For well over a century the line between fame and infamy has been blurred. The eighteenth century James Gang were murdering thieves, but still well regarded. The reason was the hated Pinkertons, hired by banks who were also not well liked. The Pinkertons did some horrific things themselves, like killing an innocent fifteen year old mentally challanged boy. The Pinkertonsâ(TM) infamy caused the James gang to be famous despite their foul deeds.

        In the 1930s there was Bonnie and Clyde, also murderous thieves, but the people they murdered and stole from were bankers, who were hated more than anyone in the country, having taken away peopleâ(TM)s homes, crashing in 1928 to 1930 leaving the country in poverty.

        By the twenty first century, actually before, the words âoeinfamyâ and âoeinfamousâ have almost disappeared. We think of Mark David Chapman, the man who shot John Lennon in the back four times, killing him in 1980 not as infamous, but famous.
        Itâ(TM)s simple. The mass murderer last week did it to become âoefamousâ. Because he knew full well that the media would release his name, and by all accounts he wanted everyone to know he was the perpetrator.

        The media should stop printing the names of these monsters. But they wont; I
wrote about this two decades ago and nobody listened. Nobody will now, either.

User Journal

Journal Journal: The Dark Side of the Moon

(Photo of the "waves" and an unborked version is here)
        Iâ(TM)d been eagerly looking forward to this event since I first heard about itâ"Illinois was going to see its second total solar eclipse in its history as a state, and no one alive had ever seen an Illinois total eclipse. It happened in 1869 and totality passed right through Springfield, the stateâ(TM)s capital. Then, as now, people were very excited.
        I heard more and more about it, like totality was passing through Carbondale. Carbondale is about a hundred miles from St. Louis, which is about a hundred miles from Springfield. Ozzy Osbourne was slated to hold a concert in a tiny town thirty miles from Carbondale, and play Bark at the Moon during totality.
        I was stoked; it was reported that the stars come out during totality and there are other strange things, like wavy lines on the ground that scientists couldnâ(TM)t explain.
        At first I was planning to meet my daughter Patty, who lives in Cincinnati, in Carbondale, but Carbondale was where everyone was talking about. It was going to be a madhouse, I was sure, and decided to visit my mom in Bellville the day before, a Sunday, then go to my friend Mikeâ(TM)s in Columbia to cook pork on his Weber and drink beer. I planned on crashing on his couch and heading south early the next morning.
        Then I found NASAâ(TM)s interactive eclipse map. Mom and Mike were right on the edge of totality, and the center of totality passed right through Prairie du Rocher, about thirty miles or so south of Mikeâ(TM)s house. Patty watched from the Shawnee National Forest, camping there the night before.
        I set out south Sunday morning, and traffic was thick. However, it always is on the weekends, which is why I usually visit during the week. As is my usual habit I set the cruise control to five miles under the limit to make for a stressless drive. But I knew traffic was going to be worse the next day.
        I visited my mom in Bellville, then headed to Mikeâ(TM)s, where we grilled pork steaks (well, he did) and we drank beer and bullshitted. I crashed on his couch, as planned.
        Patty texted me, excited that they had found eclipse glasses for ten bucks apiece. She was thrilled. I thought she had been ripped off, as Mikeâ(TM)s wife had five pairs she had picked up at the library for free. I just heard today when I picked up tacos at George Rankâ(TM)s that they were selling them on the internet for $150!
        Iâ(TM)d planned on not using the glasses, not trusting them; there are some really evil people in the world who donâ(TM)t mind blinding people for money, or even killing them. I wound up looking through them once or twice, anyway.
        Monday morning we got up and drank coffee, and headed south on Bluff Road for the middle of the umbra, the part of the shadow that is in totality.
        Bluff road is a little-used two lane highway that you can often travel without seeing another vehicle. We turned on to Bluff Road, and joined a parade of cars and truck headed for the best view. Traffic moved briskly, at the various speed limits on the way. It took about forty five minutes.
        On the way we saw a roadside stand selling eclipse glasses for twenty bucks apiece. Mike cursed the ripping off they were doing; theyâ(TM)d gotten theirs for free from the public library, donated by a veteranâ(TM)s club. It was indeed a ripoff, because it would have probably cost less than a penny apiece to make them. But better than a hundred and fifty, at least.
        I wished Mike had driven rather than me, because there was some enchanting scenery on the way, as well as an eagleâ(TM)s nest. The magic was beginning hours before the sun and moon met.
        Mike has a grandson who lives there, and we had a hard time finding the address of the house in the tiny town. His wife had told him that if he asked google for the address on Bluff Road it would lead to the wrong house, as his address was Bluff Street.
        Stupid Google kept giving directions to the address on Bluff Road, and it was even more maddening because we were surrounded by bluffs and the cell signals were nonexistent to very weak. Weâ(TM)d brought no refreshments, so stopped at a restaurant for soft drinks and directions to bluff street.
        When we got out of the car, the very humid heat was oppressive. The place was packed, inside and out. We had a hard time finding a parking spot. We were informed that the streets were the same; Bluff Road became Bluff Street for a while.
        His grandson lived in a house trailer right up against the bluff. We got out and it was even hotter and more humid. We went in, and it was perhaps five or ten degrees less hot than outside; the trailer had only a single one-room air conditioner. Every time I went outside, the heat started getting to me. My hands shook and I could barely walk; I was starting to suffer from heat exhaustion. Mike and his very young great granddaughter went up the hill exploring.
        âoeThereâ(TM)s a cave up here!â Mike yelled down to me, so I staggered up the hill. There was a cool breeze coming out of the cave.
        It wasnâ(TM)t cool enough, so I got in the car and started it and blasted the air conditioning. It really helped, and I was in the car several times before the eclipse started.
        I saw something Iâ(TM)d not seen since I was a kidâ"a toad. Then another one. This hellishly hot day was really cool!
        Finally, some time between twelve thirty and one it started. I finally looked through the glasses once, and afterward made a pinhole viewer out of my fist. When the sun was a crescent, I saw the âoewavy linesâ science couldnâ(TM)t explain and I had no trouble at all explaining them. It was the multiple crescents moving around the gravel. The tree was causing multiple pinhole viewers. The way the breeze moved the leaves did look like wavy lines on the ground as the crescents moved around the gravel.
        There were clouds which sometimes covered the sun, and I feared the clouds would cover it during totality, but they didnâ(TM)t. I hear clouds occluded the totality in Carbondale. I hope they didnâ(TM)t cover the sun in the forest where Patty was.
        Iâ(TM)d brought my big tablet, thinking I could use its front-facing camera to watch the eclipse on it and maybe make movies, but I feared the glare on the screen might harm my eyes, so that was out. I tried to take a photo with my phone, and I got a picture, but it didnâ(TM)t show the sun as a crescent. The only halfway decent photo was the tree shadows when it was still partial.
        Then the sky gradually changed colors for about ten minutes, after which it took seconds for it to become dark and for all the streetlights to come on, and the screams and cheers and applause of the thousands of people in town for the sight were very loud, from half a mile away. Mike kept saying âoeWow! Man, thatâ(TM)s the neatest thing Iâ(TM)ve ever seen in my life!â Nobody could help but agree.
        It did get very dark, about like under a full moon. But I saw no stars, although a friend who was in a different spot in totality told me he saw two or three stars right by the corona, which I only glanced at. Around the corona it was indeed pitch black. but the horizons were like dusk. Obviously light was being reflected from places that werenâ(TM)t in totality. Itâ(TM)s hard to explain what it looked like.
        Darkness lasted maybe two minutes, give or take a few seconds. I was way too busy taking it in for photos, and it was too dark for my phoneâ(TM)s camera to work without a flash, anyway. I should have bought film and brought my Canon 35mm SLR Iâ(TM)d bought half a century ago. Yes, film is coming back. They now sell and develop it again at Walgreenâ(TM)s.
        When it was over I was again in distress from the heat, then we headed back to his house. Mike, who knew where we were going and I didnâ(TM)t, was too busy watching the scenery to see a turn we needed to take. We got all the way to Red Bud before realizing our mistake, and highway three was in gridlock. We didnâ(TM)t want to go that way, anyway, and turned back around.
        The little-used Bluff road was full, but traffic was moving at a reasonable pace. Iâ(TM)d planned on crossing the river for cheaper gasoline, but was still heat-distressed and decided not to. We went to his house, where I drank a copious amount of water, and we ate leftover pork steaks, but eating was making me hot. They say âoestarve a fever, feed a chillâ and the reason is that eating will warm you up, unless itâ(TM)s ice cream.
        I left Mikeâ(TM)s about two, planning to stop by Momâ(TM)s house on the way home, and changed my mind as soon as I got on I-255. Traffic was at a crawl. The normally ten or fifteen minute trip to Bellville took nearly an hour. I drove right past her exit, because I could see this was going to be a long drive and I didnâ(TM)t want to get home after dark.
        Not once did the speedometer measure over 30 mph on 255. Getting off 255 to I-55 is a nightmare in normal traffic because of the idiotic interchange design, so I decided to bypass it and take Collinsville Road to I-55. Traffic was heavy, but moving briskly, far faster than the interstate. I stopped for gas and a soda and got on I-55. I was really glad Iâ(TM)d bypassed a bit, probably saved myself half an hour or even more.
        Iâ(TM)ve never seen traffic that heavy outside Chicago in my life, and never saw traffic that heavy that stretched that far. My phone rang three times before I reached a rest stop, just past the I-70 interchange. I had to pee, I had to get my tortuously aching back out of that car, and I wanted to see who was trying to call. I figured it was my mom, who Iâ(TM)d told Iâ(TM)d probably visit again on my way home.
        Two of the calls were from her, worried about me, and I ignored the other one, because I donâ(TM)t answer calls without attached names. If youâ(TM)re not a spammer, scammer, or pollster you can leave a message and Iâ(TM)ll call you back and add your number to my address book.
        Iâ(TM)ve never seen an interstate rest area so crowded. Cars parked where they didnâ(TM)t normally, and so did I. This wasnâ(TM)t a normal day. I reassured Mom, walked quite a long way to the rest room, and walked back and resumed the arduous journey.
        Four and a half hours after leaving Mikeâ(TM)s Iâ(TM)d traveled fifty miles. Past Staunton I had it up to 55mph for a short time, and hit sixty past Mount Olive. Five miles from Litchfield, traffic was stopped again.
        Past Litchfield traffic thinned somewhat, and you could usually do forty, but it was almost in Springfield before anyone could do the speed limit. There was simply far, far more traffic than that highway was designed to handle.
        Which makes me wonder how bad it will be if a nuclear missile is headed to a major city whose occupants have only half an hour to escape.
        The trip was finally over about eight, just as it was getting dark. It had been a seven hour journey with an average speed of 14.3 mph. But it was well worth it! Iâ(TM)m really looking forward to the one in 2024.

User Journal

Journal Journal: Why are newspapers dying? 7

A Forbes' contributor says that the "US Newspapers' Problems Come From Their Former Monopoly, Not The Duopoly Of Facebook And Google."

That is only a part of the problem. There are far larger ones.

First, the prices of their newspapers. The skinny little State Journal-Register costs a full dollar and has very little news you won't find in other outlets. The Illinois Times prints theirs free, making money from advertising alone, and it is superior to the incredibly poor SJ-R.

But mostly it's how abysmal their web sites are. Know why I'm not reading your ads? No, not AdBlock; it isn't installed. It's because I've read the article in less time than the incredibly bloated web page loads and far faster than the even more bloated ads load. By the time the ads finish loading, I've already closed the tab. The St Louis Post-Dispatch is abysmal with loading; a full thirty seconds, then it goes blank, and takes another full minute, and every article is like that! They, and almost every other paper, badly need a competent webmaster. Except for extremely long or graphics-laden pages, the damned thing should load in seconds. Hire someone competent, who actually knows HTML and doesn't have to resort to one of those stupid programs that take your 5k of text and turn it into a 5 meg page. Today's sites load slower on high speed internet than back in the 33k dialup days.

Then there's "click to read more" after only half a paragraph is displayed. What in the hell is wrong with those morons? They expect me to subscribe to this garbage and actually PAY for it after annoying me?? STUPIDITY!

Then there are so many stupid pages that render in a six point typeface, gray on white, on a tablet that when you zoom, the ads completely cover the text! With morons like that working for your paper you expect me to believe anything you've written? The science rags are the worst about this, but Newsweek isn't any better. Zoom the page and the stupid social media bullshit covers the text!

Look, morons, nobody goes to your stupid site because it's got a "cool" interface, they go to find out what's happening in the world, and you seem to work hardest at making that as difficult as possible. And you expect me to PAY you for that? How fucking stupid can a person be?

Then there's the quality problem. Two decades ago I rarely saw a typo and never a grammatical error, these days few articles are error-free. You idiots expect me to PAY for that unprofessional garbage?

No, the newspapers are dying from blood loss, caused by repeatedly shooting themselves in the foot. Fire the idiots and you might start making money again! Of course, if you're the publisher, that means you have to fire yourselves, because you're the most moronic at all!

User Journal

Journal Journal: Automotive X-Prize: Where Are They Now?

After reading about Geely's purchase of Lotus I began to wonder about another maker of light weight cars. Team Edison2 won the Automotive X-Prize with their Very Light Car (VLC) concept. A quick Google search shows no results after 2013. It also appears their website has been shut down. What happened to them? It appears the team's CEO returned to real estate development.

User Journal

Journal Journal: Gone Again!

As always, if slashdot has borked the text, just go here.
        She was gone again, shortly before my elderly cat died. I refer to my muse, of course.
        I looked everywhere I could think of, to no avail. Stolen again? I went for a walk, on the lookout for that aged black aged Lincoln with that blonde and that brunette and the kind of weird-looking driver, the ones who stole my muse before. It cost me fifty bucks to get her back!
        They had been right about the weather.
        But this time, there was no ransom note, or any other sort of clue. Almost every day I would go walking, in search for, if not my muse, an idea for a story.
        Maybe she had gotten trapped in a tavern. I went there looking for her, or an inspiration. I had no luck.
        Weeks went by with no trace.
        I was starting to get worried; had the Grim Reaper taken her, too?
        Finally I got a text message: âoeOn vacation, asshole. Iâ(TM)ll be back when you quit crying over that damned cat.â

Slashdot Top Deals

You knew the job was dangerous when you took it, Fred. -- Superchicken

Working...