479 karma · joined Jun 13, 2015 (11y ago) · 138 submissions
comment 9y ago · link · parent
Although Typescript started a bit as you say, complex tooling, had to write external type declaration to have the typing for external libraries (but they are optional, not having them only means not having typing on externals, which is fine in many cases, so not in the way at all), but overall, typing provided so many benefits it was already worth it to me: litterally saved me hundreds of bugs found at compile-time, and keeps the maintenance of the code base cheap and easy. But typescript evolved a lot, now the typing declaration are based on npm, the compiler got faster by an order of magnitude, it provides services to the IDE, and so on.
I just wouldn't start a new project with a reasonable expected lifespan without typescript.
comment 9y ago · link · parent
comment 9y ago · link · parent
On twitter, you could hardly distinguish tweets from the Front National and tweets from the far-left (Melenchon), because of the same vocabulary and many identical ideas (on "oligarchy", "unfair media coverage", and so on).
comment 9y ago · link · parent
comment 9y ago · link · parent
As for food, it really depend on the restaurants, or event where you happened to be, but I wouldn't call french food «bad», it's usually ok or above ok. Actually, I wouldn't call any country's food «bad», not to my taste maybe, or very different to what I'm used, but generalizing to bad a whole food culture, that's a bit harsh, and certainly unfair whatever the country.
comment 9y ago · link · parent
Also, I got a delivery by UPS in France once, and they made me pay the custom duties (which was fine, for a parcel valued at 400€), but also added their own «paperwork fees» that were as high as the custom duties, and were pretty much unexpected.
comment 9y ago · link · parent
Plus, there is a part-of-speech tagger that provides an intermediate layer of nlp analysis, which makes a backtracking involving a change of part-of-speech («houses» being either a verb of a noun) quite harder (yet not impossible).
POS taggers improve parsers performance dramatically but usually are an indication that the parser have limited backtracking capabilities.
You can try it with «the complex houses married soldiers», houses is erroneously marked as a noun.
comment 9y ago · link · parent
Even with a very low maintenance mode on my first startup, it's insane. Actually just one startup creation and bootstrapping is insane, so what happens is I just don't have time to manage and improve the first startup, yet it «kinda» works because it's a niche, with no competition, and my partner agreed to manage most of it while I am «less» available, but it really is a nightmare and it puts the business at risk.
I know it's hard to choose («to choose is to renounce»), but my advice would be to focus on just one of them.
comment 9y ago · link · parent
It reminds me when object oriented programming was the trend of the day, and people got crazy about it. Every bit of code just had to be OO, and people would rewrite everything, including operating systems and network stacks. It was crazy because OO had become not a means to and end, but an end in itself.
Sometimes I feel like we are back at it again, but with functional programming.
comment 9y ago · link · parent
Of course, writing the tests before the actual source code of the feature enforces the fact that it's testable, but it's mainly a side effect, there's nothing inherently better.
The microdesign flaws that stem in TDD (described in [1]) were real in my personal case, and my code is way better on the long term with the units test written afterwards, because I tend to modify my design a lot while writing code.
[1] http://beust.com/weblog/2014/05/11/the-pitfalls-of-test-driv...
comment 9y ago · link · parent
We call a lot of science concepts «not intuitive» because of the limitations of our brains, and very little people, at the cost of studying a lot, and being highly stimulated in their first years of life, can actually really get a grasp of them. Quantum mechanics of course, but just see how people reacted to the monty hall problem: https://priceonomics.com/the-time-everyone-corrected-the-wor... Other examples at https://en.wikipedia.org/wiki/Counterintuitive#Counterintuit...
Sure, we are better at science than all other species on earth, but in absolute terms, we human are very badly designed for it. Yet, we try our best.
comment 9y ago · link · parent
When was the last time a front-end developer, or an app developer, or any developer actually, needed to implement a sort algorithm?
I started programming in the 90s, so I did a lot of it, implemented sorts, btrees, tries, you name it. When was the last time I need to implement it? Honestly, it's been a very long time, around 10 years, and it was just a bloom filter in c++ because it's not very used and few libraries have it.
Could I provide an implementation in an interview situation? Nope. And not interested in using my poor memory for it. If I ever need to implement a specific algorithm, say in a new language in which nobody did it before, I just need to make a search on google, take a few minutes to study it (for a sort), or hours (for more complex structures like btrees or algorithms I never used before), and use my knowledge/experience.
Of course, I don't need to implement those algorithms, but I use them a lot, everywhere. That's where interview questions should focus, where and when to use them appropriately, because that's the business case.
comment 9y ago · link · parent
comment 9y ago · link · parent
original source of this example: https://ploum.net/largent-doit-il-etre-notre-seul-objectif/ (in french, but interesting essay)
comment 9y ago · link · parent
Mediapart is not about news on the latest iphone nor your average tabloid, they release news about political corruptions, large companies lobbying, and the like. Not having pressure from any company, or government, or political side is why they have subscribers (myself included, fwiw, disclaimer here).
comment 9y ago · link · parent
I generally give an immediate answer to 1 et 3. 2 are applicants that may do the job, but I am not really convinced, don't seem as great for the job as 1, and want to see them only if nobody in 1 gets the job. Also, 2 is definitely all the applicants that never received any answer from me, because I don't feel like telling them a straight no (in cas I'd need to interview them), and the job process usually takes a very long time. In the end, I either forget/procrastinate/feel like it's been to long to decently answer, so no answer.
As I said, I'm not proud of that, I know this is bad and not respectful to applicants, just being honest at how bad I am at the recruitment job.
comment 9y ago · link · parent
I sent them an email support on sept 15th regarding my package. Never got an answer. Never got my package either. Experience is awful. I'd never buy or back anything to anyone using them anymore. I wish I knew.
comment 9y ago · link · parent
Finally, I settled on a windows 10, a linux guest under vmware with no desktop environnement (an ubuntu server + the Xorg libraries I need), and I just use an X server running under windows (the one from MobaXTerm, but cygwin should be fine too) to display the linux windows apps in my normal MS-Windows environment.
I feel like I have the best of both world, I can use visual studio, unity3d, under windows, and play with my steam library, and for work that needs linux (mostly my server-side developments, but also a non-trivial QT application that I sell for windows and mac, but actually like developping under linux). Thanks to the X Server, the apps running in the linux vm are displayed in Windows as if they were standard windows app.
comment 10y ago · link · parent
This is not revolutionary in itself, but having the creation and deployment of a server being 100% replicable (+ fast and easy!) on dev, preproduction, and production environments, plus it's managed with my usual versionning tool, that is something I appreciate very much.
Sure, there are other tools to do the same, but docker does the job just fine.
comment 10y ago · link · parent
comment 10y ago · link · parent
As I have been performing above average for all my time there, they insisted to find a compromise so that I wouldn't leave. Told them I would consider staying but with 2 days per week telecommuting, 3 days on-site. I already had their trust, they knew I delivered, so they agreed cheerfully.
Some coworkers who tried to get some telecommuting days before got slightly angry at management for a few days, but not that much, as they liked me staying and understood why management dit it.
I think it worked because I was just not bluffing, and after more than 1 year working there, they fully trusted me. It would have never happened if I had asked for telecommuting at day 1.
comment 10y ago · link · parent
But your assumption is very interesting, because it states a very common misconception of quality (whatever that means, reliability, maintainability, resilience, etc):
* "Unit tests imply reliable software". Well, it does not, you'd need reliable unit tests for that, and from what I've seen in the industry, not every unit test out in the wild increases reliability.
* "Without unit tests, you can't have quality software". That is just not true either. First, not all tests are unit tests, end-to-end (integration/functional/whatever) test are extremely useful and raises the quality too. Even without any automated test, the quality of documentation, contract programming, manual testing, etc also help a lot.
Also, note that apart from testing, a lot of different practices contribute to reliability. Separation of concerns, the language level of abstraction, the overall experience and involvements of the developers, and many others.
comment 10y ago · link · parent
this is just how countries managed/refused treaties with each others, based on mutual interests, history, etc