Follow Slashdot stories on Twitter


Forgot your password?

Comment: Re:Offline archive? (Score 1) 156

by OrangeTide (#48622325) Attached to: Dr. Dobb's 38-Year Run Comes To an End

Well, I follow pcc development pretty closely and still use it for a few small projects.

To be sure there are some pretty significant advancements in compiler design that are important for someone who is working on a compiler in a professional or research capacity. But for me it was more of an exercise in understanding enough to hack a little bit on pcc, lcc and now llvm. I really only got as far as graph coloring for register allocators, and type inference for non-C ML-like language (a flawed approximation of HM type inference).

Some people are moving back to hand written compilers, at least hand written recursive descent parsers in place of compiler generators like yacc/bison. My own experiments formalized the grammar with PEG to generate and confirm test cases, then hand written recursive descent from the PEG (very easy to do).

I don't think I hand optimize C to suit some ancient assumptions of what a compiler can do. A modern C compiler can do a lot of amazing substitutions to turn a well organized set of small functions into a very fast monolithic block of machine code.

These days, pretty much the best thing when writing C is to avoid doing things that are undefined so the compiler can do optimization instead of falling back to some legacy behavior hacked into it.

Comment: The message has been clear (Score 2) 424

by OrangeTide (#48619277) Attached to: In Breakthrough, US and Cuba To Resume Diplomatic Relations

We've proven to the world that we are willing to significantly impact the economy of a small island nation for over 50 years because they cooperated with our enemies.

Despite Cuba having an excellent education system, most people there live in poverty. Is that the Cuban government's fault, or because the door to the largest marketplace was slammed shut on them?

It's not all rainbows and unicorns, most Cuban immigrants over the years expressed serious dissatisfaction with Castro's government. Maybe the people that stayed behind were happy with it, but I suspect it has more to do with circumstances preventing those people from leaving than an acceptance of their government.

Comment: Re:Offline archive? (Score 4, Interesting) 156

by OrangeTide (#48613297) Attached to: Dr. Dobb's 38-Year Run Comes To an End

I ordered the current DVD up to 2009, so I have at least some of the articles. I still occasionally go back to old articles because a lot of the software I do hasn't changed much in decades. (Unix and embedded)

Several years ago I ordered the CD collection of Small C articles, and found it pretty useful for grasping the essentials of compiler design. Even if the information is decades old, it was still relevant for the fundamentals of how C compiling and linking works. (at least on Unix/Linux, which is based on decades old designs)

Comment: Re:Paying for studies (Score 1) 279

by OrangeTide (#48612713) Attached to: Ask Slashdot: How Should a Liberal Arts Major Get Into STEM?

Well hopefully the organization handing you a degree has done some work to verify that you are qualified to have that degree.

Some degrees are better defined than others, and having a degree doesn't mean you're immediately qualified to perform a job. For example an M.D. would need to go through a residency program before they a qualified to hold a medical license to practice unsupervised.

While Software Engineer is so poorly defined that it's difficult to determine what skills were acquired by a person with such a degree. But it's very common in the technology industry for a person to perform the same function as a software engineer but with a different degree. There are a lot of people with a degree in B.S. in Mathematics or B.S.E.E. that operate as software engineers. Occasionally you find an odd ball working as a software engineer that has a B.A. with a major in English literature (citing a specific example), or someone who dropped out of college or high school.

Comment: Coffee percolator (Score 2) 270

by OrangeTide (#48576637) Attached to: Keurig 2.0 Genuine K-Cup Spoofing Vulnerability

I've had better coffee from a coffee percolator than from a K-Cup. It's simpler too, if you have one with a mesh screen you don't need filters and easily rinses out if you don't leave the coffee in it all day. Else you can scrub it out with a long handled brush when it starts smelling like old coffee. (for me the percolator coffee seems to do the best job at high altitude, start boiling at about 92C for me)

Since K-Cup's can't make espresso (not enough enough pressure), no need to compare it to a proper espresso machine. It's simply an elaborate drip coffee maker. A $30 Mr. Coffee from Costco will also make a fine drip coffee. You can use expensive unbleached compostable paper filters if you want, they're still a few percent of what each K-Cup costs.

My compost pile loves used coffee grounds.

Comment: Re:More details plz (Score 1) 285

by OrangeTide (#48555253) Attached to: AdNauseam Browser Extension Quietly Clicks On Blocked Ads

A simple mark and sweep would solve the recursion issue. Hash table of places you've visited, although it's tough to say if it should be by domain or by URL. If by domain you may only click once per ad network. If by URL, you could still hit recursion if a page generates random URIs. A recursion depth of 1 seems easier to implement than any of that though, requiring that each page load be configured to either apply the clickspoofing feature or not apply the clicking feature.

Comment: Re:Could be devastating for advertisers (Score 1) 285

by OrangeTide (#48555233) Attached to: AdNauseam Browser Extension Quietly Clicks On Blocked Ads

One of the most popular browsers is controlled by an advertising company, I'm not sure how popular such an extension could become.

But yes, if we add lots more clicks that can never be converted to every page visit that will dilute the value of clicks. I think it's brilliant, but it is an arms race. And there is a better infrastructure for advertisers to use a cost per action model, I could imagine them all jumping over there if cost per click model is exploited.

Perhaps automatically ordering something with an invalid credit card number could make CPA less compelling, but that might be considered wire fraud. I'm not sure if it would be feasible to prosecute millions of people for thousands of spoofed orders, at least not feasible in criminal court (you can't do class action suits for crimes). Maybe the plugin author could be sued for damages in civil court though.

Comment: Re:good (Score 1) 341

by OrangeTide (#48536581) Attached to: New Effort To Grant Legal Rights To Chimpanzees Fails

If I had to choose (which I don't) between the life of those cows and the ignorant dirt bags that have by any definition tortured those cows. I would still preserve human life. That's not to say those people don't deserve to be in prison. But in the culture I was raised in, the same culture that you yourself live in (whether you like it or not) considers taking a human life to be taboo. We're a complex society, so we have a lot of exceptions to that taboo, but cows are food and humans are my peers.

We should be very careful about killing even the worst human beings. And I can't think of any situation today where it would be acceptable to execute a person to punish them for torturing an animal. Nor can I think of a situation where a snap decision between saving an animal and a human being would allow you to evaluate a human's worth in a nuanced enough way to choose the animal's life first.

As for your final comments. You need to be a little more rigorous on the accurate of your information sources. Perhaps diversify. As there are plenty of examples where animal experimentation are a vital training tool.

Comment: Re:Overtime system provides the wrong incentives (Score 1) 545

by OrangeTide (#48536061) Attached to: Should IT Professionals Be Exempt From Overtime Regulations?

having a 20hr/wk job is better than having a 0hr/wk job!

having one person with a 60hr/wk job and another with a 20hr/wk job seems unfair to me as well. (assuming both people would prefer to move close to 40hr/wk)

The ideal from the point of view of the masses would be for maximum choice. To work any amount of time they chose, without concerns if a company is hiring or not. But I don't know how to get to fantasy land, so I believe a reasonable compromise from maximum choice is for most people to have some kind of job. And other people to not have to commit to too much of a job to survive.
(obviously not a problem that can be fully solved in a dozen posts)

Comment: Re:Overtime system provides the wrong incentives (Score 1) 545

by OrangeTide (#48536035) Attached to: Should IT Professionals Be Exempt From Overtime Regulations?

Right now most people don't get a choice. You work the hours, maybe some people like working extra hours, I know some people (myself) don't like working the extra hours.

If you're such a workaholic you can find a second job. If the state has non-compete laws to prevent this, then we should address that barrier.

The tree of research must from time to time be refreshed with the blood of bean counters. -- Alan Kay