Taladar

- friends
870 link karma
26,353 comment karma
send messageredditor for

reddit is a source for what's new and popular online. vote on links that you like or dislike and help decide what's popular, or submit your own!

MySQL is done. It's the Postgres Age. by dickeytkin programming

[–]Taladar 0 points1 point ago

I am not talking about the users of the software, I am talking about the developers. Wordpress is not designed for workloads so low that there will virtually never be two concurrent requests and the same holds for forum and similar software.

MySQL is done. It's the Postgres Age. by dickeytkin programming

[–]Taladar 3 points4 points ago

Transactions are necessary whenever at least two requests might conceivably happen in parallel and access the same data. Web-Apps other than those meant for access by a single administrator (e.g. router config pages) all qualify for this requirement.

The reason this rarely comes up is that the same lack of knowledge about transactions that lets them leave them out of the original design prevents them from recognizing these kinds of bugs (data loss/consistency issues) in practice.

MySQL is done. It's the Postgres Age. by dickeytkin programming

[–]Taladar 5 points6 points ago

Most of those are written by people who don't even realize that they should really, really use transactions. Sadly their opinion still matters because their projects are in widespread use despite many security flaws, data loss bugs,...

MySQL is done. It's the Postgres Age. by dickeytkin programming

[–]Taladar 8 points9 points ago

They are one of those companies (similar to e.g. SAP) which sell software to management in large companies in long-term projects. By the time it is actually used in production everyone knows it is a mess but nobody high enough in the hierarchy is willing to say so because they have been running the project for immense costs for a number of years and they fear they will be the scape goats for the project failure if it ever becomes official in their company what kind of mess they bought/made.

Found this in my old code. Very surprised! by Coffeiin badcode

[–]Taladar 6 points7 points ago

The goto isn't even the worst of this. Using control flow constructs in general to emulate a "not" operator seems to be the worse thing here.

"The future is specific": If domain-specific languages increase our expressiveness, perhaps we should also be using domain-specific tools. by phyzomein programming

[–]Taladar 0 points1 point ago

DSLs embedded into some more general programming language solve many of these issues easily though.

I am not quite sure what you mean about the change managing conventions. Mostly change management happens (depending on what you mean by the term) on whole codebases (if you mean version control) or on whole libraries or executables, i.e. things we version.

Of abusive behavior in programming communities by thelonelydevin programming

[–]Taladar 0 points1 point ago

Well, in the niche Javascript occupies alternatives have a high barrier of entry so it is likely most JS developers never used anything else for the same or a similar purpose as JS (DOM manipulation, event driven programming,...).

HUSL: a human-friendly alternative to the HSL color space by boroninein programming

[–]Taladar 2 points3 points ago

Might I suggest you call randomHue() once and use the result for both HUSL and HSL? That would lead to a lot more comparable results. Displaying the random hue value as a number also couldn't hurt.

Pretty RFC: format RFC's for easier browsing by mcguirein programming

[–]Taladar 4 points5 points ago

The linked tool is horrible because it only works for XML-formatted RFCs. Do you really want to try several different websites each time you need to look something up in an RFC?

ReFs, the successor to NTFS in Windows 8 by c0balt279in programming

[–]Taladar 0 points1 point ago

But the data for each individual directory is much smaller. You will have to read that to find the location of the inode even when all metadata is stored in the inode but you won't have additional seeks to find all the inodes.

Dwarf Fortress 3dIntro (Student Project: Computer Animation I) It's a lot darker than i thought it would be, but rendering takes too long! by wombatmacncheesein dwarffortress

[–]Taladar 5 points6 points ago

I agree, you really need some more light in there. Which software did you use to render it?

Creating secure external minecart runs by jjcf89in dwarffortress

[–]Taladar 1 point2 points ago

Possibly jumping from a hole in one wall to a lower hole in the opposite wall of some sort of deep moat under the main entrance bridge might work too?

Linux filesystem monitoring/tracking? by cexshunin sysadmin

[–]Taladar 0 points1 point ago

Well, if you want them to update files in specific directories you could monitor those using inotify (incrond specifically) calling some kind of custom script.

A Postcard from Debugging Hell by ApochPiQin programming

[–]Taladar 6 points7 points ago

You have to check every little detail but you can choose the order, usually by your estimated likelihood that the bug is in that part of the program. With the right order you don't have to finish your check of every little detail because you find the source of the bug before you get there.

TIL that 40% of college students will be considered alcoholics by the medical community next year. by iam4realin todayilearned

[–]Taladar 0 points1 point ago

The fact that these problems are so wide-spread that entire commercial locations revolve around them does not mean it isn't a problem.

Also note that I said "If you think that social life has to be built around alcohol", i.e. I meant that people who only engage in social activities involving alcohol and think there is no other way to have fun with and/or meet people do have a problem.

TIL that 40% of college students will be considered alcoholics by the medical community next year. by iam4realin todayilearned

[–]Taladar 0 points1 point ago

If you think that social life has to be built around alcohol you do have an alcohol problem.

A response to Jeff Atwood's "Please Don't Learn to Code" by nullnullnullin programming

[–]Taladar 0 points1 point ago

I agree that infix operators and precedence rules are a waste of time.

Other important thing to teach early are statistic and stochastic intuitions so people realize when people who use them to try to prove something should and shouldn't be believed.

NO DB - Uncle Bob by gshutlerin programming

[–]Taladar 1 point2 points ago

This is the reason why OO doesn't deliver on its promise of encapsulation. You can not abstract away data. 128 bit of data are 2128 different states whether you know it is 4 32 bit integers or a 16 char string or not. As long as your data and code are tightly coupled you can not achieve predictable behavior in a complex system.

A response to Jeff Atwood's "Please Don't Learn to Code" by nullnullnullin programming

[–]Taladar 7 points8 points ago

In fact, it's probably more important to teach people programming that it is to analyse one of Shakespeare's soliloquies.

On a vaguely note logical thinking (and logical fallacies) are quite a bit more important to teach too.

A response to Jeff Atwood's "Please Don't Learn to Code" by nullnullnullin programming

[–]Taladar 0 points1 point ago

But, seriously, who decides who "thinks like a programmer"?

As I recall the study classified the students into two groups, those who had some kind of consistent model of what was going on in the program in their head, including those where the model was wrong and those who never developed a consistent model at all. Apparently it is almost impossible to get from the second group to the first.

A response to Jeff Atwood's "Please Don't Learn to Code" by nullnullnullin programming

[–]Taladar 0 points1 point ago

It's possible for someone who can't think like a programmer to get an A, but it's going to involve a lot of memorizing.

Which suggests a flaw in the testing.

Elastic tabstops - a better way to indent and align code by cultic_raiderin coding

[–]Taladar 0 points1 point ago

What a great way to make everyone who isn't using it hate your new editor. This will definitely help adoption rates. /s

Elastic tabstops - a better way to indent and align code by cultic_raiderin coding

[–]Taladar 0 points1 point ago

With regular tabs you should never use them for alignment of code, only indentation because otherwise changing the tab width screws up alignment.

Why Windows 8? by jjharein sysadmin

[–]Taladar 0 points1 point ago

I think it is part of a bigger issue in the way Microsoft designs their OS. They have always been big on the "one size fits all" mentality and this is just an especially visible symptom. It is also the reason I, as a developer/poweruser can't help but think of Windows as a toy OS when I am occasionally forced to use it. It is essentially bad at the primary use for computers, automation, for the sole reason that non-technical users don't understand it.

view more: next