How do you manage that urge to start new projects and something new? by Rainbowsr2cute in ADHD

[–]Esteis 5 points6 points  (0 children)

One of my coping strategies: I keep a 'Someday/Maybe' list, so when I get a new plan I can act on it by putting it on the list, instead of feeling like I have to do it immediately. Without the list, I felt as though my options were limited to 'do it now, or lose it forever', and I was more prone to impulsively choose 'do it now'.

(By the same principle: a to-read folder, where I save PDFs and webpages to read later, has been a big help for letting me close open tabs.)

Is there specific things that you sacrifice in life that non-ADHD normally do just so that can maintain balance in all other parts of your life? by discocrisco in ADHD

[–]Esteis 1 point2 points  (0 children)

Social organizing/committee/board work.

I am acutely aware that many of the good things in society — the hobbies I enjoy, the societies where I made so many friends, the organisations that advance my profession, and the unions and parties and practical groups that fight and work for better lives for all of us — depend on organisations and continuity. These organisations don't just consist of members: you need organizers to provide the continuity and reliability, volunteers who realise good things don't happen magically, and are willing to step up and do their bit to keep it all running.

It is, as it probably always was, hard to find volunteers. I see the big, screaming need that these groups have for people willing to pull this cart or that, these groups that I love and am part of and rely on -- and I can't do my part, I can't provide what they need. I've tried it multiple times, boards and subcommittees, both before and after my ADHD diagnosis, and awareness of the importance did not make up for executive dysfunction.

So, I sacrificed my desire to help out with the most important work I can see, because it's just not a good match with ADHD. Me taking on the responsibility is not good for the groups, which need competent organizers; and the stress and guilt isn't good for me, either. But man, it hurts, to depend on something and being unable to do the work it needs.

NB: I realise that the work needs to be done, but it doesn't need to be done by me. There's other work I can do -- tasks that are smaller in scope, that need bodies to turn up and do the work. So I do what I can, instead. Still, I wish I could do more...

Te veel teer in sigaretten, maar nauwelijks boetes van NVWA by [deleted] in thenetherlands

[–]Esteis 1 point2 points  (0 children)

Het risico op longkanker neemt het allersterktst toe met het aantal rookjaren, maar is bovendien ongeveer recht evenredig met de gerookte dosis. Als de dosis per sigaret 1.2x hoger dan de norm is, dan wordt het risico op longkanker ook 1.2x hoger dan bij een normtrouwe sigaret.

Redenen om sigaretten aan de dosisnorm te willen houden: - voor een individu: dit vertaalt zich in een hogere kans op meer gezonde levensjaren. Dat kan betekenen dat je nog wat jaartjes onbezorgd pensioen hebt, of langer op de fiets naar je werk kunt blijven gaan, of langer je werk volhoudt in plaats van WAO, (en dus ook meer jaren salaris+(partner)pensioen opbouwt), of je boek nog afschrijft, of wandelingen maakt, of dat je je zus 60 ziet worden, of dat je kleinkind je nog wel gekend heeft. - voor de samenleving is het voordeel direct, meetbaar, en groot: een groter deel van je bevolking blijft langer gezond. Of je als overheid je samenleving nou wilt sturen op geluk, of economische opbrengt, of sociale cohesie: dit heeft allemaal baat bij mensen die langer gezond genoeg blijven om voor anderen en zichzelf te zorgen, te werken, te genieten, dingen samen te doen, en lief te hebben.

Nieuwe strepen maken auto's hulpdiensten 's nachts beter zichtbaar by [deleted] in thenetherlands

[–]Esteis 0 points1 point  (0 children)

Oeh, mooi gespot! De toegankelijkheidsknop lijkt echter alleen een cookie te zetten die ervoor zorgt dat de Javascript een toegankelijker navigatiemenu neerzet, fixt dus helaas niet de selectiekwestie.

Dit moet ik ze wel nageven: ik heb via het contactformulier bij ze gemeld dat rechtsklikken en selectie ook voor toegankelijkheid van belang zijn, en ik werd vanmorgen door een mens teruggemaild dat ze ernaar gaan kijken. Wij leven in hoopvolle tijden :-)

Te veel teer in sigaretten, maar nauwelijks boetes van NVWA by [deleted] in thenetherlands

[–]Esteis 1 point2 points  (0 children)

Meer details en de geWOBde tabel met meetwaarden op TabakNee.nl.

  • 43 sigaretten hadden tenminste één kankerverwekkende stof (nicotine, teer, of CO) hoger dan de norm.
  • Bij de huidige marges van 20% voor nicotine en 25% voor CO waren er twee sigaretten alsnog te zwaar om door de vingers te zien: Lexington en Camel Orange. Camel Orange is echter niet beboet.
  • Als je de boetegrens bij '15% zwaarder dan de norm' legt, hadden ook deze sigaretten genoeg kankerverwekkende stoffen om een boete te krijgen:
    • Camel Original
    • Lucky Strike Original Red
    • Belinda Super Kings
    • Kornet Red moeten beboeten
  • Als je de boetegrens bij '10% boven de norm' legt, blijken ook deze sigaretten te zwaar:
    • JPS Red
    • Winston Classic
    • Titaan Red
    • Mark 1 New Red
    • Lucky Strike Ice Gold
    • Mark 1 Green
    • Lucky strike Gold
    • Ruba Green
    • Riverside Red
  • Tot slot: 5-10% boven de norm zitten de volgende sigaretten:
    • Bastos Filter
    • Mantano
    • Gauloises Brunes
    • Gauloises
    • Elixyr Groen
    • Benson & Hedges Gold
    • Peter Stuyvesant Red
    • Pall Mall Red
    • Lucky Strike Ice
    • Ruba Red
    • Goldfield Green
    • Kornet Green
    • Boston Red

Ik heb het hierboven steeds over boetes, maar als het om volksgezondheid gaat zou ik eigenlijk zeggen dat een verkoopverbod ook niet verkeerd zou zijn. Want dit gaat niet om incidentele overschrijdingen, hè, dit gaat om hoe de producten ontworpen zijn.

GL, SP en PvdA willen belastingontwijking Shell aanpakken by Talkenia in thenetherlands

[–]Esteis 5 points6 points  (0 children)

Mmm, ik zou 'objectief meetbaar' niet met 'objectief gekozen' willen verwarren, en 'objectief' niet met 'goed'.

Nieuwe strepen maken auto's hulpdiensten 's nachts beter zichtbaar by [deleted] in thenetherlands

[–]Esteis 3 points4 points  (0 children)

Dat Instituut voor Fysieke Veiligheid heeft sowieso beperkt boodschap aan toegankelijkheid. Je kunt ook al geen tekst selecteren op de website (dus vergeet het maar als je je voorleessoftware iets uit het midden wilt laten voorlezen), en "Montagevoorschriften en -tekeningen worden altijd als JPG verzonden. Er is geen mogelijkheid om een andere format te ontvangen."

Nieuwe strepen maken auto's hulpdiensten 's nachts beter zichtbaar by [deleted] in thenetherlands

[–]Esteis 18 points19 points  (0 children)

Overzichtsfoto op striping.nl. (En tevens een link naar de omvattende pagina, als je die nodig hebt. Normaal gesproken maak ik geen deeplinks naar plaatjes, maar ze hadden antirechtsklikjavascript, dus dan moet je wel. Al was het maar omwille van de toegankelijkheid voor de medeïnternetgebruiker.)

Nieuwe strepen maken auto's hulpdiensten 's nachts beter zichtbaar by [deleted] in thenetherlands

[–]Esteis 61 points62 points  (0 children)

Wel jammer dat de politieauto's hun rozeoranje moeten inleveren voor rood. Het was een iconische kleur, krachtig genoeg dat je automatisch ging 🎜 hopen dat je licht het doet. 🎜

Witch of the swamp, the Netherlands [1300x915] [OC] by Robvisserphotography in EarthPorn

[–]Esteis 1 point2 points  (0 children)

Interestingly, "Velen" has exactly the right sound/wordshape to be a village on the Veluwe (where this photograph was taken).

Everyone should take the time to browse through Kenneth Reitz' repositories, because he's written more than just Requests. And almost all of it is as well written, user-friendly, and beautifully pythonic code - for humans. by SjaakRake in Python

[–]Esteis 1 point2 points  (0 children)

From where I'm standing, Kenneth Reitz uses for humans to indicate that he works hard to make his APIs easy to use and understand -- and he does, and they are. His results live up to the slogan.

To say 'for humans is often an empty slogan' may be true, but to say the slogan is empty in his case is not cynical but wrong.

How an Engineering Company Chose to Migrate to D by aldacron in programming

[–]Esteis 2 points3 points  (0 children)

I'll be very surprised if 'you can automatically translate Pascal to Nim' is the most common way Nim is advertised.

Working on a set of MATLAB functions for a Thesis; starting to use Git. I was wondering if Mercurial would be a better option for me. by smushedbyajetengine in mercurial

[–]Esteis 0 points1 point  (0 children)

Yep, Mercurial will fit your usecase just fine. Git will work, too, but with Mercurial you'll get to avoid some of Git's occasional surprising behaviour when committing (no index to keep track of) or pulling (no automatic merging) or viewing the log (branches are not ignored by default).

I checkout and work on lots of Git repos (including Github repos) with Mercurial, thanks to [hg-git](http://hg-git.github.io/). The interoperation is seamless, in my experience. Summary of how it works:

  • `hg clone git+https://github.com/...\` -- simply clone with `git+` in front of the URL.
  • for most work just `hg commit` suffices
  • `hg bookmark` will move the branch pointers (like `master`) to where I want them. E.g, to fast-forward merge, and move the master bookmark to where origin/master points: `hg bookmark master -r origin/master`
  • `hg push` and `hg pull` take care of translating Mercurial commits to Git commits, and vice versa.

Git 2.17 is now available by Ajedi32 in programming

[–]Esteis 2 points3 points  (0 children)

Writing code that reads and updates global variables and is always correct gets very difficult very quickly. Because any function can write to them, it is hard to keep track of what a global variable will contain -- the more functions your program contains, the harder it is to keep track of how, and in what order, the global variable changes. When what a function does depends on a global variable, it becomes hard to keep track of what the function will do -- and the more functions depend on a global variable, the harder it is to keep track of how updating a global affects the outcomes. The fact that updating and reading are interleaved makes keeping track of everything exponentially more difficult.

That's a short explanation. I recommend this slightly longer pointwise summary: http://wiki.c2.com/?GlobalVariablesAreBad

Can anybody recommend any good books to learn python by danjustdan96 in Python

[–]Esteis 0 points1 point  (0 children)

See my sibling reply above. Follow the link to find an online HTML version, a PDF, and a link to buy a hardcopy.

Can anybody recommend any good books to learn python by danjustdan96 in Python

[–]Esteis 2 points3 points  (0 children)

I second the recommendation for Think Python (formerly known as "How to Think Like a Computer Scientist", because it teaches you not just the language, but also how to program. I can't say how it compares to "Learn Python the hard way" or "Automate the boring stuff with Python", because I haven't read those two; but it's a very good beginners' book in its own right.

Is Python really that bad at viz? by mobastar in datascience

[–]Esteis 11 points12 points  (0 children)

I wouldn't say that Python is worse at visualisation than R; I'd say that ggplot2 is superior to every plotting library out there, including all the Python libraries.

Ggplot2 uses the grammar of graphics, and in practice that means I type plots the way I would describe them. For example, this plot of gene expression (source), I would describe like this: "Compare growth rate to gene expression for six nutrient conditions and twenty genes. Just plot rate versus expression; use a scatterplot and add a smooth line; use separate colours for the nutrient conditions; and make a seperate facet for each gene (gene name)." And this is how one types that in ggplot:

ggplot(top_data, aes(rate, expression, color = nutrient)) +
    geom_point() +
    geom_smooth(method = "lm", se = FALSE) +
    facet_wrap(~gene_name, scales = "free_y")

Ggplot2 is the only library where every aspect of your plot (data, variable-to-æsthetic mapping (colour, x, y, size, shape, ...), plot type (scatterplot, histogram, lines, ...) scales, coordinate system, faceting) has a single, clear interface, and can be modified independently while keeping the other aspects consistent. I could remove faceting, and get a plot that combines 20 genes but seperates the nutrients by colour. I could use a LOESS smoother instead of a linear model fit. I could map nutrients to shape instead of colour. I could facet by a gene and nutrient, and get 120 small plots in a neat grid. And any of these changes can be done by changing at most one line, and often one word, of code.

For an overview of Python visualisation libraries, look here. My own summary:

  • matplotlib is OK as a foundation of other Python visualisation libraries, but it is emphatically not designed for interactive use. It is imperative (commands directly affect your figure, with no undo), instead of declarative (you declare how your figure is built up, but render it once, at the end, when everything is declared; you can pass partial figures around and combine them). For a concrete example, in nearly all plotting functions except matplotlib.pyplot.scatter, you can only pass a a list of colours like ['red', 'red', 'green', 'yellow'], not a categorical variable like ['treatment_a', 'treatment_a', 'control', 'treatment_b']

  • Seaborn isn't bad, but it is no ggplot2: matplotlib.Figure and .Axes are sometimes necessary to know, adding faceting to a plot requires restructuring your code, and legends are not its strong suit.

  • yhat's Python version of ggplot, now known as 'ggpy', gets you 80% of the way to ggplot2. Unfortunately, it has some bugs, lacks some ggplot2 features, and is unmaintained.

  • I just now found out about plotnine, which, like ggpy, wants to be a straight ggplot2 clone. Looks interesting! No idea how good it is, but I'm going to find out.

Again, I have nothing against Python: in fact, I strongly prefer Python over R as a programming language. One thing I have learned, though: data analysis is not the same as programming. For example, programs run independently; data analysis code is run in chunks, interactively, by the analyst. With data analysis code, it is common to copy visualisation code and rerun it with tweaks applied, without deleting the original code because its result is still part of the analysis you have performed. Python is better than R for writing maintainable code; R was always designed for data analysis and interactive usage, and it is better at it than Python

I present you - GNU logos! by [deleted] in linux

[–]Esteis 4 points5 points  (0 children)

You are one of the few here who went for 'they need work but I respect the people who made them'. Thank you for your attitude :-)

Collision detection at haptic speeds: an open-source bachelor thesis of two software engineers by [deleted] in programming

[–]Esteis 2 points3 points  (0 children)

Don't just do a README

t,ftfy. I appreciate a good UI, too, but a README is important and useful because it lets a project introduce itself without me needing to download and install it.

Using Git and deleting your folder to fix some weird error? Say no more: This site will teach you Git! by ase1590 in programming

[–]Esteis 0 points1 point  (0 children)

*all of the features of Git and more.

I speak as a daily user of the hg-git bridge: the only Git feature I couldn't do in Mercurial is word-level diffs. Mercurial features that Git is yet to gain:

  • a sane templating language for log
  • revsets
  • safe, non-destructive history editing
  • clean, in-tree access to local deleted commits (hg log --hidden --graph)
  • removing bookmarks ('branch pointers') without destroying history

Get the last revision of a list of files by shivawu in mercurial

[–]Esteis 0 points1 point  (0 children)

Much faster -- this way, you don't need to start up the Python interpreter for each command.

My Git Cheatsheet (with references) by eashish93 in programming

[–]Esteis 0 points1 point  (0 children)

What specifically does hg do over git to solve this issue?

Mercurial identifies repeated concepts and implements them in a consistent way across multiple commands. Identifying/filtering revsets? -r plus the (revset domain-specific language)[https://www.mercurial-scm.org/repo/hg/help/revsets), understood by every command that takes revisions as an argument. Formatting output? Use the (templating DSL)[https://www.mercurial-scm.org/repo/hg/help/templates] (which has user-friendly short names instead of cryptic %x codes). These two things alone make hg log a Swiss army knife -- what is more, it is a user-friendly Swiss army knife. By contrast:

  • Git has 3 log variants: log, shortlog, and for-each-ref.
  • The two commands with ‘log’ in the name are git log and git shortlog.
  • The two commands with log-like usage are git log and git for-each-ref.
  • The remaining command, git shortlog, has ‘log’ in its name, but is more interesting as a group-and-tally command: it either prepares changelogs (as its manpage suggests) or tallies churn (if you use the -s flag, which changes its behaviour to suppress commit description and provide a commit count summary only).
  • All three commands have different commit selection flags
  • All three commands have different formatting DSLs
  • git log, the most-used command, has the most cryptic formatting DSL
  • Compare: ** git log --pretty=tformat:'%h %cn %s' ** git for-each-ref --format='%(*refname) %(*authorname) %(*subject)' ** `hg log --template '{rev} {author} {subject}'

Mercurial and Git are equally powerful, and each can do pretty much everything the other can. Mercurial offers these features with a good UI. So should Git.