HNHacker News
TopNewBestAskShowJobs

scardine

1,990 karma · joined November 12, 2012

[ my public key: https://keybase.io/scardine; my proof: https://keybase.io/scardine/sigs/qeBpi0HYlFKHREYPh9n-xmWcbtfL4QLbtHsGFGzGD2g ]
submissionscomments
scardine··on The New Windows Subsystem for Linux (WSL2) Architecture [video]
My pet peeve is the default clipboard behavior, personally I hate when I select text and it overrides the previous content in the clipboard.
scardine··on The New Windows Subsystem for Linux (WSL2) Architecture [video]
Interesting, may be I have some setting that prevents Cortana from annoying me and prevents windows from placing ads on the start menu. Not that I use the start menu often, generally I just hit the search box and start typing the name of the app I want (if it is not pinned to the task bar already).

I'm using Windows 10 Pro (Insider Preview fast track) and not seeing the annoyances you are experiencing.

scardine··on The New Windows Subsystem for Linux (WSL2) Architecture [video]
While all my servers are Linux, on the Desktop it is my last choice. Interesting enough I used to love customizing the window manager to death but I'm older now and I just want something that is consistent and works out of the box.

Macs work really well out of the box but with some tweaks WSL makes Windows a quite decent development workstation.

Currently I'm using Windows + WSL and I'm quite satisfied. Looks like with the new version some of the tweaks to use docker are not necessary anymore. Great work, Microsoft, keep the pace.

scardine··on [Backed Up] Freelancer.com stole from me and ruined my life
I think there is no way around it, good freelancers and good clients will cut the platform leaving there the naive workers and problematic clients.

They survive by making you work for cheap when you enter the platform (kind of unwritten rule to earn "reputation") but once you start commanding better fees they will kick you out under any pretext - they know professionals with good portfolios are going to leave the platform anyway.

Freelance marketplaces are a race to bottom. They have a deleterious effect on your career turning you into a low-fee/shitty-client magnet.

scardine··on The Coming Desert
tl;dr: a very entertaining account of climate-change beliefs across history. Personally I found the writing style very pleasant.
scardine··on Arctic Has Entered 'Unprecedented State' That Threatens Global Climate Stability
The "slowly boiling frog" is a good metaphor for failing to perceive a threat when change is gradual enough, but according to Wikipedia it is not real:

> Modern scientific sources report that the alleged phenomenon is not real. In 1995, Professor Douglas Melton, of the Harvard University Biology department, said, "If you put a frog in boiling water, it won't jump out. It will die. If you put it in cold water, it will jump before it gets hot—they don't sit still for you." Dr. George R. Zug, curator of reptiles and amphibians at the National Museum of Natural History, also rejected the suggestion, saying that "If a frog had a means of getting out, it certainly would get out. [1]

[1] https://en.wikipedia.org/wiki/Boiling_frog

scardine··on Django 2.2
Well, it is understandable. Winds are changing though...

The lack of (enough) incentive for upgrading used to be a good excuse but with 3.8 we are getting a few performance updates that are hard to ignore. Also, many projects in data sciences are dropping support for legacy Python so sooner or later data processing pipelines will have to catch up.

Yes, upgrading is unpleasant, but it is becoming a matter of hygiene.

scardine··on Django 2.2
I think you nailed it - I wonder how many of those installs are from CI tools.
scardine··on Django 2.2
What I find most curious about Django/Python is that about 30% of the new installs are for legacy Python/Django (2.7/1.11):

  $ pypinfo --start-date 2019-01-01 --end-date 2019-03-31 -- 
  percent --markdown django pyversion
  Served from cache: False
  Data processed: 160.22 GiB
  Data billed: 160.22 GiB
  Estimated cost: $0.79

  | python_version | percent | download_count |
  | -------------- | ------: | -------------: |
  | 3.6            |  39.61% |      3,277,927 |
  | 2.7            |  29.59% |      2,448,652 |
  | 3.7            |  17.53% |      1,450,949 |
  | 3.5            |  10.37% |        858,325 |
  | 3.4            |   2.76% |        228,150 |
  | 3.8            |   0.07% |          5,428 |
  | 2.6            |   0.04% |          3,686 |
  | 3.3            |   0.03% |          2,103 |
  | 3.2            |   0.00% |            220 |
  | None           |   0.00% |             56 |
  | Total          |         |      8,275,496 |
I would expect everybody moving over 3.x by now - we are so close to 2.7 EoL in December...
scardine··on A guide to difficult conversations
I think you may like the book "Never Split the Difference: Negotiating As If Your Life Depended On It" by Chris Voss. There are pretty insightful tricks there for dealing with extreme situations (the guy used to be a hostage negotiator for FBI).
scardine··on Ask HN: Resources/Steps for Becoming a Consultant?
The hardest part for me was learning how to spot good clients from bad clients. Reading the "Win without pitching" manifesto"[1] transformed my business (I'm not affiliated in any way).

"Breaking the time barrier"[2] is also a good book I wish to have found earlier.

[1] https://www.winwithoutpitching.com/the-manifesto/

[2] https://www.freshbooks.com/fbstaticprod-uploads/public-websi...

scardine··on Ask HN: What do recruiters look for in a GitHub profile?
We hire remote software engineers to work with Python/Django/Vue. We believe talent can be anywhere.

Many companies will ask you to invest a couple hours of your life writing some toy project as a code exercise (often unpaid). Instead, we ask you to pick any open issue in an opensource project and contribute a few hours to fix it (we suggest links to a dozen issue lists filtered by "easy for beginners" tags) - we call it "social code exercise".

Of course if you have such contributions already you can skip this step. We will analyse your github profile and give extra points to:

* any PR to projects in our technology stack

* good online citizenship

* constructive, reproducible bug reports

* well written documentation

* test coverage

We penalize:

* unprofessional, disrespectful or toxic behavior while interacting with the community

* non-constructive comments and answers

The rationale is that while pushing the envelope with an opensource stack we often have to report (and fix) bugs or implement lacking features.

Projects like Python and Django have a high bar for accepting contributions so any candidate able to land a PR is capable of basic communication in English, writing acceptable code, documentation and tests.

scardine··on “Catastrophic” hack wipes out email provider’s entire infrastructure
I guess you are getting downvoted because it would be really really hard to know if the all of the right 1s and 0s you need are there without restoring.
scardine··on BuzzFeed’s 19-year-old quizmaker will no longer work for free
Volunteering at Stackoverflow is a win-win game for me. When I answer questions there I'm improving my English communication skills while earning online reputation. I'm spreading knowledge and making the Internet a better place and I really hope Stackoverflow is making a buck in order to keep the lights on. It is a great online resource.
scardine··on Dave Cutler’s five-decade-long quest for quality (2016)
For anyone interested in the history behind the NT kernel I recommend a book called "Show Stopper!: The Breakneck Race to Create Windows NT and the Next Generation at Microsoft" by G. Pascal Zachary - really enjoyed it.

I think the Windows NT kernel is a very underrated piece of technology - the reason it was unstable in the beginning is due to a corporate top-down decision: the hardware of the time was limited so they included GDI stuff in the kernel (crappy code not written by Cutler's team).

scardine··on I cut off all contact with my mother. It made my life much better
My father abandoned the family when I was 13. I started working as an apprentice in the railroad at 14 in order to help supporting 3 younger brothers. My salary went straight to my mother.

At night I was studying to become a certified electronics technician at a vocational school. One day someone from the staff told me I would be barred from the exams because I haven't paid tuition (a month after this the school was incorporated by a state-owned university and went tuition-free otherwise I would never graduate). So picture a mother that will steal tuition money from his son and you can imagine how my mother leeched me for years. This kind of abuse has consequences for life.

Sometimes your parents are very bad people and there is nothing you can do about it. And no, I don't really care if either of my parents live or die, in some way they are already dead for me.

scardine··on Kuleshov effect
In a neurotypical person the "GPU" of the brain is used for face and body language recognition. I like to think the "GPU" is used for other things when you fit the AS - it seems logical that when using different circuitry for the task you will hit different illusions (different biases in the algorithm).
scardine··on Successful second round of fusion experiments with Wendelstein 7-X
In the late 70's the rich boy of the neighborhood got a zx-spectrum clone (rich kids toy in Brazil at the time) but I was the only kid of the bunch that thought programming in basic was fun - all of my friends just wanted to load Kung Fu Mater[1] from the tape recorder. Crazy, games were stored into analog audio k7[2] tapes back then.

[1] https://www.youtube.com/watch?v=EgO4HtWIJjQ [2] https://en.wikipedia.org/wiki/Cassette_tape

scardine··on If I were to invent a programming language for the 21st century
Python's way is a good compromise IMHO:

    with open("/tmp/test.txt", "w+") as test_file:
        do_something_with(test_file)
And you get test_file closed for free at the end of the block.
scardine··on Wikileaks' Assange says Ecuador seeking to end his asylum
The parent is pretty cynical and sarcastic but unfortunately I can't say it is far from the truth.
scardine··on Scheme 9 from Empty Space, Reimagined
Like almost half the globe I have astigmatism:

> People with astigmatism (aproximately 50% of the population) find it harder to read white text on black than black text on white. Part of this has to do with light levels: with a bright display (white background) the iris closes a bit more, decreasing the effect of the "deformed" lens; with a dark display (black background) the iris opens to receive more light and the deformation of the lens creates a much fuzzier focus at the eye.

> Jason Harrison – Post Doctoral Fellow, Imager Lab Manager – Sensory Perception and Interaction Research Group, University of British Columbia

> Jason Harrison – Post Doctoral Fellow, Imager Lab Manager – Sensory Perception and Interaction Research Group, University of British Columbia

Borrowed from this answer in stackoverflow: https://graphicdesign.stackexchange.com/questions/15142/whic...

scardine··on Scheme 9 from Empty Space, Reimagined
Your preference is backed by science:

> However, most studies have shown that dark characters on a light background are superior to light characters on a dark background (when the refresh rate is fairly high). For example, Bauer and Cavonius (1980) found that participants were 26% more accurate in reading text when they read it with dark characters on a light background. Reference: Bauer, D., & Cavonius, C., R. (1980). Improving the legibility of visual display units through contrast reversal. In E. Grandjean, E. Vigliani (Eds.), Ergonomic Aspects of Visual Display Terminals (pp. 137-142). London: Taylor & Francis

https://graphicdesign.stackexchange.com/questions/15142/whic...

scardine··on Rust can be difficult to learn and frustrating, but it's also very exciting
tl;dr: despite being relatively slow Python is a fantastic glue language. Some people thing rust is well positioned to steal Python's dinner.
scardine··on Responder: A familiar HTTP Service Framework
The thing I like about Django is that it is an opinionated framework so lots of decisions were already made for me. Flask is a not too distant second place.

With aiohttp you can make neat things it is operating a level below Sanic - in my experience people end up writing their own half-baked undocumented framework based on a combination of aiohttp, some ORM and a template engine - sometimes with half a dozen combinations in the same company.

scardine··on Responder: A familiar HTTP Service Framework
There is an async Flask in the form of Sanic[1]. Looks quite usable compared to raw aiohttp or twisted spaghetti I had to help maintain a couple months ago.

[1] https://sanic.readthedocs.io/en/latest/

scardine··on Microsoft now has the best hardware lineup in the industry
The point is that unless you are fiddling with the kernel, a Windows laptop with WSL makes for a great workstation for software developers. Even if I only develop for Linux, for me it is either a Mac or Windows on the desktop (my pet peeve with Linux on the desktop is the several counterintuitive paste buffers).
scardine··on Microsoft now has the best hardware lineup in the industry
The Linux Subsystem for Windows is good enough for my software development needs - the Docker Engine does not run in WSL but you can tell the Linux docker client to use the Windows server by setting an environment variable:

    export DOCKER_HOST=localhost:2375
scardine··on ‘Goblin’ world found orbiting at the edges of the Solar System
From the wikipedia article about Ceres[1]:

> A proposal before the International Astronomical Union for the definition of a planet would have defined a planet as "a celestial body that (a) has sufficient mass for its self-gravity to overcome rigid-body forces so that it assumes a hydrostatic equilibrium (nearly round) shape, and (b) is in orbit around a star, and is neither a star nor a satellite of a planet"[2].

[1] https://en.wikipedia.org/wiki/Ceres_(dwarf_planet)

[2] https://www.webcitation.org/62D6DNhLH?url=http://www.iau.org...

scardine··on ‘Goblin’ world found orbiting at the edges of the Solar System
For comparison, Ceres[1] has a 473 km radius and is considered a dwarf planet.

[1] https://en.wikipedia.org/wiki/Ceres_(dwarf_planet)

scardine··on Disclosure of autism at work holds risks and benefits
I have trouble perceiving other people's emotions, reading body language and facial expressions; it takes more effort to remember faces/names; have other social oddities; but it is hardly incapacitating and you learn how to deal with it. Insomnia (I'm able to sleep only 4h/day and wake up rested) and having hyper focus for my special interests are some perks.
← PreviousPage 3 of 20Next →