151 karma · joined March 21, 2013
Some people believe that pure functional languages are declarative because of the analogy with mathematics — computations are determined purely by the statement structure, not by the ordering of the statements.
Some people (including me) have higher requirements — the declarative programming language should never tell what to do, should only define the problem without providing an algorithm to solve it. According to this definition, pure functional languages are far from declarative as much as the procedural languages. The only pure programming languages here (AFAIK) are some variants of logic programming (Answer Set Programming, Problog, ...), Constraint Programming (MiniZinc, Essence, ...), PDDL, some configuration languages (not all of them), etc. There is nothing wrong in having conditionals/loops in the declarative language, as long as they are used to define the problem, not the algorithm to solve it.
- quality doesn't bring enough to the business value;
- high demand requires hiring people without enough knowledge/skill;
- other people have just different quality metrics than you;
- "know-how" transfer between generations is difficult...
IMHO the similar question may be asked about any domain of life: why not all the buildings are well-built? Why the political/social systems are not just? Why good art is so hard to spot nowadays? They have different answers, but there is one common theme: building "well" is difficult; creating a "just" political system is "difficult", creating a good art is difficult; also writing "useful and reliable" software is difficult.
It's only natural that not everybody is a perfect software engineer, therefore is not a surprise that not every software will be perfect. What's more, there are a lot more mediocre software engineers than the perfect ones, therefore the majority of software will be... mediocre. The same about art nowadays — the sheer amount of music produced (even the word "produce" suggests it) every day makes sure that, in overall, there is a lot more terrible music compared to good compositions. I believe that software engineering has the same issue — the rising number of software projects is an enough explanation for low quality of the software we are able to perceive.
In fact, I don't believe the quality of the software engineering degraded over the years, but it's just more difficult to spot the great projects in the avalanche of "normal" life.
Apparently I've missed that the parent referred to the finite collections and in fact was wrong making my previous comment misplaced. Thanks for pointing it out :)
All in all, the short walk took few hours, she was very talkative and I've learned a lot about her life in the central Ukraine and I've been invited to visit her anytime. The thing I will remember the most is how she appreciated the world around her, everything was so interesting and new — a world-view foreign to most of the people I know. It was a very enriching walk and I don't regret it, even if it destroyed my daily routine ;)
I hate modern narrative-heavy games deciding to remove the gameplay to focus on the story/atmosphere. Movies/books are much better mediums for this kind of entertainment.
Good example of a great RPG with terrible combat system was Arcanum but even there the gameplay was great (except the combat).
To be honest, my favourite model was 4s ;)
I also find this ridiculous and annoying, but... I've found a "solution". Just open a mobile Disney+ app (I've used the iOS one) and set the subtitles/audio language there and this change is persistent. ¯\_(ツ)_/¯
IMHO all the modern "streaming" UIs suck, but the Disney+ is definitely the worst I've experienced.
It has very good documentation, reasonable IDE and AFAIK three great courses on Coursera for beginners. I have been teaching it myself[1] and all my students were amazed how quickly one can develop a working prototype for real-life industrial problems.
[1] https://gitlab.com/agh-courses/2021-2022/constraint-programm...
The one difference is that jakt is transpiled to C++ (IMHO it's a disadvantage, but could be useful).
The best Polish female writer I've read is Maria Dąbrowska and her amazing book "Nights and Days". Something like Polish "The Forsyte Saga".
Also, I'm in 25% of Deep Learning by Goodfellow. I started it two months ago but had a long break.
When I was a teenager, I read yearly ~75 fiction books. Being an adult I read less, but I'm more careful with the lecture choice given the limited time.
1) Constraint Logic Programming — quite cool as long as you have experience in Prolog, but choice of underlying solvers is limited: Prolog runtime has built-in solver.
2) Answer Set Programming - syntactically similar to Prolog, but later compiled (grounded) to elementary logic solvable with SAT techniques — very efficient.
3) Constraint Programming via Solver API — there are many solvers: Choco, Oscar, OR-tools that are usable programmatically. This approach is advertised in the article.
4) common API - there are libraries, e.g. Numberjack, that generalize API over several solvers
5) Constraint Programming via Modelling Language: there exist languages designed just to define Constraint Programming models. MiniZinc is at the moment the most mature and has the most extensive support from industry.
6) related techniques: SAT, SMT
Normally I start with 5) as it allows me to quickly prototype a solution for the problem. Only when it's not enough, I switch to 3).
In my humble opinion, his story lacks lots of context, both cultural and historical. Russia has never belonged to the Western culture, not even in the XIX century. Its mindset is radically different and not reducible to analysis based on the assumptions common in the Western societies. Treating it as a "partner one can civilize" has been a mistake made repeatedly in Europe and resulted in many tragedies in the last ages. I hope the current conflict will open eyes of many naive idealists looking for the rational outlook on the modern world.
In my opinion, this article has been written by an intelligent pragmatist that clearly has not lived in the Russia vicinity. I'm not arguing ad personam — I'm just stating that the article shows no understanding for the the Russian mentality. It's a common error to treat Russia as a Western country, while it... is not and never has been. Rationalizing the Russian behavior in accordance to their official statements is naive and historically made many countries suffer terrible fate.
Sherlock Holmes used abductive reasoning.
Deduction: cause + deductive rule -> effect
Induction: (cause + effect) x many times -> deductive rule
Abduction: effect + deductive rule -> possible causes
I would prefer to read a list curated by a single "expert" person. Such a list would be shorter, more biased, but hopefully not so bland. For example, Eli Bendersky puts every now and then a nice summary of his impressive reading adventures.
This is not only a risk management game – your simplified "absurd" examples are of the kind: "author wants to bar risky situations, why not bar big cars, they're risky". One has also to weight various social factors/costs. If barring bigger cars from the road would be beneficial for society, then yeah, let's do it, but I wouldn't bet on that. The vaccinations have some added costs (production, distribution) and risks (side-effects), but the question is whether the cost/risk of the longer pandemic isn't even bigger (AFAIR it is). I don't say, that OP is right that people should be forced to be vaccinated, but I don't find it absurd given that we've already sacrificed many other freedoms for the society. It's like @mayewsky writes, we already bar some drivers (because of age/health state/previous offenses against the law) from driving. It's nothing new and it's not controversial AFAIK.
Even today, very bad drivers are forbidden to drive the cars? Is it an attack on their freedom?