Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Note: You can take 10% off all Slashdot Deals with coupon code "slashdot10off." ×
Bug

Journal Journal: Who Screwed Up Rendering This Week? 3

My browser didn't change (firefox 38.0). My OS didn't change (ubuntu 14.04.1 LTS). My internet connection didn't change (nope, not telling you who). I was travelling this week and thought maybe the craptacular rendering of slashdot was the result of it detecting me to be coming from some place else. Now I am back home and the page is still rendering poorly.

In particular:
  • When I view a comment there is no right banner, and the "the fine print" message is printed twice
  • When I click on messages (from the front page) it renders a mess as well; the right banner renders above the rest of the text and there is a nonsensical grey bar going across the screen left-to-right near the middle

I just love the arbitrary changes that they launch here all the time. It's like bug hunting, but without bugs ever being resolved or any bounties for the people who find them.

User Journal

Journal Journal: Back into Python 1

Okay... A couple weeks ago, I decided to take another look at Python-- the first such look I've given the language since around 1997.

So far, I have the basic stuff down. I've got a quick script down that provides functions to add ANSI colors to my output, so I have that going for me. :D

I have Python 2.x on a VM on my work system, but I'm using Python3 on my home system.

Now I need to look at learning classes and lambda (I know OF classes but I've only heard of lambda in passing), and that may take me a while.

User Journal

Journal Journal: When did I become an incompetent at TSQL? 19

What is wrong with this code? It's like I can have the inner loop execute, or the outer loop execute, but not both.

DECLARE @RC int
DECLARE @BatchMatch varchar(40)
Declare @mcount int
Declare @dcount int
 
Set @mcount=1
Set @dcount=1
 
While @mcount <13
    Begin
        while @dcount<32
            Begin
                Set @BatchMatch=Right('00'+Convert(varchar(2), @mcount),2) + Right('00' + Convert(varchar(2),@dcount),2)
                Print @BatchMatch
 
                Set @dcount=@dcount+1
            End
        Set @mcount=@mcount +1
    End
   

PS, no I don't care that all months don't have 31 days, but I must cover months that do.

-------------------------------------------
Update- failed to reset the inner loop counter, that's what.

User Journal

Journal Journal: "Emailgate" 39

I will preface all this with an honest admission that this...scandal...could derail her chance at nomination. It could even, theoretically, leave a bad enough impression on a big enough chunk of the electorate to lose her the general that far. It might. Certainly a lot of man-hours and money will be spent trying, that's for sure. Though it is nice to see Republicans finally doing something about unemployment.

But honestly, it's most likely going to blow over, and there are several solid reasons why.

1. No one gives a shit. Let's do the circuit: Leftists have 2 reasons not to care, not liking Hilary in the first place as well as considering it not an offense to have been sloppy in the handling of minor state secrets. Liberal Democrats want to woo her and conservative Democrats are her base. Independents are tricky, but this is still small cheese, so they'll vote for the person who's not going to invade the middle east and their uterus.

After that, you're left with the remaining 30% who are hoping for a Guantanamo Bay finish to this story. And they're kinda busy right now with the hands-down most interesting Republican primary in 40 years. Oh, and imminent doom, there's always imminent doom. Tends to make one want to focus. Anyway, they hate Hilary already, have done for almost a quarter century now. What are they going to do, hate her more?

2. I know the election cycle starts waaaaay earlier these days, but the shot, such as it were, was fired too damn early. It's 15 months until the election, ain't noody going to remember that shit, no matter how hard you pound the airwaves. All people are going to hear is "email". Hell, millenials barely know what email is, except that it's old and antiquated. You might as well be accusing Hilary of improper use of a horse and carriage.

3. You should have learned the lesson from Benghazi. If 9/11 and the worst implementation of a major land war in Asia cannot separate an apparatchik's head from his shoulders, what makes you think this will? Hell, what makes you think it should?

User Journal

Journal Journal: Laying out some markers 27

Set in stone:

-Clinton will be the Democratic nominee for President

-Biden will never enter the race for nomination

-Neither will Warren

-Trump will not secure the GOP nomination for President

Highly probable:

-Trump will not go third party*

-Warren as Dem VP pick

I got no fucking clue:

-GOP nominee for President

-Whether it goes to convention or not

Happy to eat crow if I'm wrong. Mainly putting this up as a sanity check for all the political media I have to consume daily.

*I got a bad feeling I'm wrong on this one, but human laziness is as powerful a force as vanity. Always bet the long game.

User Journal

Journal Journal: It's by no means exhaustive 91

https://yourlogicalfallacyis.com/
One great missing one is:

"The Man is Hiding the Stash" Fallacy
At Belmont Club, Richard Fernandez says of the Marxist Piven's philosophy:

The problem with Piven's theory is that events in Europe have shown those"âoemajor economic reform" to be unsustainable, if not actually ruinous. However, she appears to believe that the European crisis is only apparent, being the result of the Man hiding the Stash. Find that stash and things become sustainable again.

I think this fallacy deserves its own name because I think this is the central economic fallacy of leftists in general. Whether we are talking about unions, public workers, redistributionists, etc., there is always the implicit idea that somewhere there is this big pile of money that the rich business people are hoarding away like a squirrel with its winter store of nuts. Leftists tell everyone that all problems can be solved if we just use the force of the state to threaten the squirrels to give up their nuts.

Republicans

Journal Journal: Another fine front page fail from Samzenpus 1

Our dear friend "failure machine" samzenpus is never hesitant to expose himself as a die-hard GOP loyalist, but today was a dramatic failure even for him.

Donald Trump talks about going to Mars was the article, but the hyper-editorialized summary is the real headline:

Donald Trump, the mercurial real estate tycoon and media personality who, much to the surprise of one and all, has become the front-runner for the Republican nomination for president

Samzenpus might be surprised that Trump is leading in the polls - likely because his party told him that he should be surprised by that - but plenty of other people are not surprised in the least.

User Journal

Journal Journal: Edge kinda sucks 2

From a tablet user's perspective, Windows 8.1 had a pretty good version of IE. It was full screen (to see the URL bar/tabs/bookmarks, you had to actually affirmatively ask for them by swiping from the bottom), they made good use of gestures (swipe left and right to move through history, etc), and the browser was... well, IE, not the world's best, but it's fairly efficient, fast, and compatible.

They removed that IE interface in Windows 10 (only the desktop IE remains.) The alternative is supposed to be Edge, but it has no gestures, and is never full screen in the same way.

Worse, Edge seems to kill performance on my tablet. The browser itself only ever seems to take up single digit percentages of CPU but regardless when I start it or have it running the entire tablet grinds to a halt. Close it, and performance goes back to normal. I have no idea why. Given the low CPU usage I wonder if it's just the way it uses the graphics drivers or something similar, but it makes it unusable.

I've switched to Chrome in the meantime, which contrary to early reports and Mozilla's outburst, is actually very easy. Chrome also has the same problems as Edge in terms of not being really full screen, but it doesn't have the performance issues, and it does have the intuitive (and better than trying to hit buttons with a finger) gesture based UI that IE had.

Tablet mode in general seems a step down in Windows 10 from the Windows 8.1 approach. Oh well.

The road to ruin is always in good repair, and the travellers pay the expense of it. -- Josh Billings

Working...