skysight-inc/HackerNews huggingface dataset:
Django does have magic:

The key thing is Django's implicit behavior is directly proportional to the job it's trying to do [1]:

- Django's settings can be invoked at any time. So it's kept as a lazily-loaded singleton that isn't processed until an attribute is first accessed.

- Django needs to know which apps to load (a la INSTALLED_APPS). And to know the models, django needs to know the apps. These app models can contain relationship dependencies, so its necessarily from a invocation perspective to have a settings that declare them all.

- Using Django's initialization is a must. For the reasons above (settings), but there is work done behind the scenes to make sure everything lines up when Django starts.

- It's most likely project's using Django are going to be using it's ORM.

On the other hand:

- Django doesn't hold every project, or every request for that matter, to its batteries. Intricacies like middleware and context processors are opt-in. Things like template filters are also opt-in on a per-file basis via {% load %} tags.

- Whether or not to use Forms Framework / crispy-forms, for instance, is optional. But projects would miss out on nicely generated forms with validation.

- Projects can also switch out template engines for Jinja2 or something totally custom.

- While strictly speaking, projects can just keep models.py empty, QuerySet's are like the ultimate reusable interface in Django's Frameworks. QuerySet's can be used:

- by class-based views (CBV)
- ModelForms to provide database-backed form validation
- by third party extensions like Django REST Framework (DRF), django-filter, django-tables2, django-guardian, and so on
- in context processors (which can access URL regex group matches), that later are passed into in templates.

While that may feel like overkill, this is useful for things like database-backed menus that CMS like Drupal and WordPress would use by default.

> It's way harder to scale due to both its heavy reliance on hidden magic its tight integration with its data store.

I plan on making a future article diving into Django's ORM. Sure, ORM's hide a lot of machinery behind a facade of sugary objects. But on most web projects the database's aren't doing much more than simple joins.

Django's ORM can scale into medium-sized code bases. By the time it gets beyond the point the ORM can handle, heavier data tools (like ElasticSearch, Hadoop) would end up being brought in regardless of whether Django was picked. That doesn't mean earlier code or data schemas need to be thrown out.

Put it another way: When project's get to the point they need a datamart or other things, they're likely to create a separate service for that distinctive from the web front-end.

[1] https://www.git-pull.com/code_explorer/django-vs-flask.html#... / https://www.git-pull.com/code_explorer/django-vs-flask.html#...
So having used both, this is what I tend to say about them: some of Flask's commonly-used components are better than django's (SQLAlchemy notably), but altogether, django is a better framework.

I strongly disagree with the notion expressed by some that beginners should start with flask "to learn how things work". Making a sane and maintainable project layout is not a particularly easy thing to do, >90% of people (not just beginners) will generally fuck it up somehow and end up living with a really weird app initialization routine as a result. Django's project/app layout and initialization is really quite well considered and I would say appropriate for 99% of projects. That 1% would probably be better off with flask.

More broadly, this is the whole opinionated vs. non-opinionated debate, and I've come to the belief that the vast majority of programmers need the guidance that an opinionated framework gives. It is said that flask doesn't try to suggest any particular structure for your project, but I would say that the effect of that the majority of the time is to produce a project with no structure. Don't get me started on the pattern of `helpers.py` files everywhere: I mean - what isn't a helper? What doesn't fall into that category? So yeah, just heap everything and god knows what in that file.

It shouldn't be a shock to you by this point if I say that I don't think flask is particularly well designed either, but I won't go into my interface-by-interface rant now...
You probably shouldn't use DynamoDB
We detached this subthread from https://news.ycombinator.com/item?id=14688286 and marked it off-topic.
We are working on a tool to transfer photos to Imgur easily (even replacing old links). Interested? Write to cobyoijaix(at)yandex(dot)com.
How to See What the Internet Knows About You (And How to Stop It)
Apollo Agriculture (https://apolloagriculture.com/) | Android Developer, Software Engineer | Amsterdam, Berlin, Nairobi | ONSITE

Apollo Agriculture is using satellite data to help bring modern farming to the worlds poorest farmers. Millions of farmers globally don't have access to the basic farm tools the rest of the world depends on for food production, good seed and fertilizer. We sell these proven agricultural tools on credit, and use satellite data and ML to figure out who we can lend to profitably.

We use Scala, Python/NumPy/SciPy (for science/ML), android and are heavy postgres users. We're building great software for places with low reliability networks and harsh environmental conditions.

We delivered fertilizer to ~1000 farmers earlier this March and are now in the process of getting paid back and supporting our farmers this season. As an example of the kind of work you'd be doing, this week our team is responding to a break out of army worms amongst our farmers by rolling out a pesticide loan on credit so our farmers can save their crops

To apply, send me an email at earl@apolloagriculture.com
People tell me the irony is that the NHS data was crap anyway. Too messy to work with.
We detached this subthread from https://news.ycombinator.com/item?id=14687304 and marked it off-topic.
Oh wow. I can't be sure, but I'm pretty sure I'm the engineer at Pivotal that you paired with. I definitely remember you making reference to homoiconicity in lisp when we were pairing the day that Clean Architecture really clicked in your head. It was a really cool moment.

There's a lot of engineers at Pivotal, and we have a lot of projects, so maybe I can prove I worked on that codebase by referencing obscure details from it? I remember writing a LOT OF TESTS that used quotes from Wutang Clan and 36 Chambers as strings for names of entities, and a lot of references to 90s hip hop. Was this the same project?

Also, I took some time after our project (and several others) to start a small example of applying Clean Architecture in a toy Go Project, which is open sourced. Maybe check it out?

http://github.com/tjarratt/go-best-practices
only for the harasser to continue to earn money on your work

Are you advocating for the total abrogation of property rights, here ?
Physically Based Lens Flare
Thanks, I see why it's confusing. I'll fix it!
Great products. But your header bar in frontpage has a transparent background. It's great for the hero section but completely unusable in the content section. Add some background to it
The SMACK Stack Is the New LAMP Stack
There's another new IO scheduler for SSDs: Kyber,

https://patchwork.kernel.org/patch/9672023/
Decoding the SendGrid Event ID
There is a absolute limit on the cost of coal: What it costs to get it out of the ground and into the powerplant. Even if the price of coal per unit weight goes down to 0 it will still have a cost to transport it. I think that in the medium term that is what coal is up against; a solar alternative that is cheaper in the long run.
President / Chairman
Linus is very well known for his rants, but you've definitely mischaracterized them. He's seldom incoherent, and the ones that are vulgar enough to make for juicy sensationalized "news" are only ever directed at contributors who are experienced enough to know better than to break userspace or something badly wrong like that. His more level-headed corrections of well-meaning inexperienced developers don't make the news.
Trexo Robotics | Toronto | Full-time | Onsite | VISA | www.trexorobotics.com
Trexo Robotics is an exoskeleton robotics start up working towards making mobility a reality for the disabled and elderly. Founded by Waterloo mechatronics graduates we strive to provide a strong engineering culture and believe in getting things done. Currently Trexo Robotics is working on a rehabilitation exoskeleton for children with lower body movement disorders such as Cerebral Palsy and is looking for it first robotics engineer to help implement software for control, modelling and testing of our robot.
Skills: C/C++/Python, ROS, control systems theory. Benefits: Competitive salary and equity, first employee, opportunity to help children with mobility issues.
If interested please email at ru@trexorobotics.com
3 B2B Tips for Independence Day Inbound Marketing
Vox has been a great music player with constant updates over the months. I don't know what other music players would satisfy my need on OSX.
SmartStream Tech | Software Developer | Center City, Philadelphia, PA | Full-Time, ONSITE

The ideal candidate is:
Looking for fantastic work/life balance - no stress, few meetings, no overtime, no assigned work, permanent 10% weekly research time ​

Polyglot-comfortable - doesn't mind learning C#, F#, Java, JavaScript, Ruby, and sometimes working in all five in one day

Loves pair-programming/TDD - is excited to work with a talented team - mentoring and being mentored 100% of the time

Tolerates occasionally grungy work needed to maintain an enormous C#/F# banking application used by the majority of the world's biggest banks

Comfortable working without a tech lead - we have no leads, every pair is trusted to design the best solutions without being told or supervised in a self-organizing team

Intrinsic desire to learn and improve - We are always learning and pushing into new areas: currently some are researching and writing proposals for an AWS-hosted version of our system. Several others are studying linear programming to better develop an in-progress optimization system using CPLEX. Others are studying dependent-typed programming with proof assistants in an experiment to formally prove parts of our system. A couple team-mates are doing broad improvements across our 4.6 million line codebase designed to make it more type-safe with fewer bugs.

Feel free to email me for more info at steven.shogren@smartstream-stp.com. The interview process is whiteboard-free, no memorization, no algorithms. We pair program together working on several small projects for a day.

We are a small team that opens up positions rarely: this is the first position we've opened up in years without a waiting list of pre-screened candidates. The pay for the current position is average for Philly for a developer with 3-5 years of experience. If you've got a lot more and are a really great fit let's talk anyway and we'll see what we can do. Worst case you get on the waiting list for the next position ;)

For more information about our self-organizing practices, see here: http://deliberate-software.com/categories/self-organization/
Smarkets | Full Time | ONSITE (London, UK; now also Santa Monica, California)

We're a modern betting exchange, going technology first to enable proper price competition in a field of fat commissions. Join a small, agile, and fast-growing team, in our beautiful office in St. Katharine Docks. If our US location tickles your fancy, you get to help setting up a brand new office too.

Smarkets develops a reliable, low-latency, highly concurrent betting exchange based on trading exchange designs. We're also building a fast, modern web interface to allow for a smoother experience. Servicing our users is top priority.

The Smarkets platform is written predominantly in Python and Erlang, and relies heavily on asynchronous programming techniques. We use REST where we can. Life at Smarkets circles around people, version control, configuration management and automation. We can - and do - deploy to production several times a day.

Our entire production is in AWS. In fact, Smarkets was the first gambling operator under the Maltese regulator to get permission to run everything in the cloud. We push the envelope where needed and educate auditors when necessary.

We are looking for engineering talent in the following roles:

* Front-end Software Engineer (London & LA)

* Database Expert

* Quantitative Analyst

* Software Engineer (London & LA)

If you like the idea of flat structure and practical engineering approach, see our jobs at https://smarkets.com/careers/ . (Quite some time ago I wrote an overview about our engineering challenges, which you can find at https://smarketshq.com/the-challenges-of-running-a-betting-e... .)

https://smarketshq.com/the-challenges-of-running-a-betting-e....
Flask is still one of my favorites in web frameworks, mainly because it was from the Sinatra/microframework moment and still is a pleasure to work with. Just plugin other micro frameworks for the data, middleware, routing, templating as desired.

Express is similar in Node still because of the simplicity and micro size of it.

Micro frameworks don't dictate and grow with a product as needed rather than growing into a monolith and it dictating too much.

As far as Django, it is still one of the most desirable monoliths out there but you don't have to use it that way. However, it is meant to take over like Angular, Rails, MVC etc.
Doctrine | Sales | Paris | Doctrine.fr | ONSITE

Doctrine is the "Google" for the case-law in France! We are a young startup with a huge growth. We are disrupting the legal market at a very high pace.

We use DL / NLP to automate lawyers' interns jobs! and we have a deep focus on User Experience.
We are looking for a French-speaking Sales (wo)man to join the team and lead our growing sales, and Data-Scientists !

We are also always hiring A-player Developers or any bright and ambitious hackers.

Apply here: https://www.doctrine.fr/recrutement or see our open positions on Angel List: https://angel.co/doctrine-/jobs
I would agree with you, but the OP claimed:

That's a classic but lately a swedish journalist uncovered that the wine we drink in Europe is largely bogus.

So I wanted to understand better what "Europe" means in his/her mind.
Don't. If you find yourself in a back-and-forth that raises your temperature, the thing to do is wait until you can post civilly and substantively within the guidelines—or just leave it.

https://news.ycombinator.com/newsguidelines.html
A Gentle Introduction to Multiparty Asynchronous Session Types [1]

[1] http://www.di.unito.it/~dezani/papers/cdpy15.pdf
Open Source Ethereum HD Wallet
Could this support contract jobs too?
Linus says it's a large release, here's a numeric breakdown of recent kernel releases, showing number of commits, diff | wc, and a diffstat with/without the drivers/ directory:

v4.7..v4.8:
14552
1331854 5068427 42175318
11363 files changed, 627754 insertions(+), 279373 deletions(-)
6657 files changed, 329595 insertions(+), 167605 deletions(-)
v4.8..v4.9:
17392
1419476 5372905 44206994
11179 files changed, 632159 insertions(+), 354871 deletions(-)
5993 files changed, 214842 insertions(+), 120945 deletions(-)
v4.9..v4.10:
14249
1463146 5668517 49833479
11726 files changed, 744012 insertions(+), 249810 deletions(-)
5884 files changed, 329130 insertions(+), 115189 deletions(-)
v4.10..v4.11:
13891
1227388 4763853 39671475
12506 files changed, 530154 insertions(+), 232410 deletions(-)
6230 files changed, 209555 insertions(+), 95502 deletions(-)
v4.11..v4.12:
15736
2025692 7383431 88754335
12396 files changed, 1300537 insertions(+), 267064 deletions(-)
5829 files changed, 215764 insertions(+), 124745 deletions(-)

Via:

parallel -k 'r=v4.$(({}-1))..v4.{} ; echo $r: ; (git rev-list $r | wc -l; git -c diff.renameLimit=10240 diff $r | wc; git -c diff.renameLimit=10240 diff --shortstat $r ; git -c diff.renameLimit=10240 diff --shortstat $r -- ":!drivers/") | sed -r "s/^ *//; s/^/ /"' ::: {8..12}
I believe he is referring to the past. The history so far is such that there haven't been many losing 2 year stretches. So far, it also hasn't gone up 500,000% in two years either. So, not nearly as risky as a lottery, and not quite the same upside either.
Sorry, I was playing a bit of devil's advocate, or at the very least the pragmatist. This bill is terrible, I agree with you. But I think we have to be careful when we declare the scientific method as the end all be all of knowledge. I would argue that at this point climate change is NOT explainable to a layperson, or else we wouldn't be in this mess. I'm almost as afraid of people who aggressively want to sequester carbon, as those who propose we do nothing.

My point about paradigms is that science moves in demonstrable paradigms and it is very, very difficult (if not impossible) for an entrenched scientist to move beyond the paradigm in which they work.

The best guard against this is limited lifespans.

I'll also throw in there that if we had a Feynman-esque way of explaining evolution to high school students, we wouldn't be in this mess, but it turns out gene expression and the development of photo-sensitive skin is actually very difficult to comprehend completely.
ZehnerGroup http://www.zehnergroup.com/ | Los Angeles, CA or Lima, Peru or Remote | Python/Flask + DevOps Engineer, Django / Python Engineer, Magento 2 Engineer, Full-stack & Shopify Web Developer | ONSITE/REMOTE

ZehnerGroup is a design / build agency in Los Angeles, California. We have an awesome team filled with smart, fun, creative people. Our client projects range from high-profile, complex systems running on tech such Django/Python, Flask, Node, React, Laravel, Docker, AWS, iOS/Swift, Android and more to start-up consumer fashion & lifestyle e-commerce in Shopify, Wordpress and Magento.

We have multiple opportunities for Django/Python developers in our new office in Lima, Peru or remote (within a 4 hr time difference of Los Angeles) and are actively looking for talented engineers with DevOps experience (AWS, Docker, Chef, Circle CI, Ansible), Magento 2 experience to work with us remotely.

Well-rounded developers in Los Angeles with pixel-perfect frontend and Shopify, or full-stack PHP skills are encouraged to reach out for full-time roles in our Culver City office.

For more info you can reach out to me direct at rwhitman+hn@zehnergroup.com . Or fill out an application here: http://zehnergroup.jazz.co/apply
Feature request: side-scrolling without pressing shift.
Check Out “Butterfly Me” By.. Evon Latrail
Agree thats a great essay.

Christensens writing was almost mostly an analysis and never a "how to" although in innovators solution he did venture into that. But the most important book he wrote was the first one. That's at least how I read him.

Contrary to what many think about I.D. it was mostly a book about the failure of (good) management, rather than one of innovation. It was a book that tried to shed lights on how to avoid being disrupted rather than how to disrupt.

It's clear from his writing that you don't set out to disrupt industries. You make solutions for those industries that might end up disrupting them.

And so they should mostly be seen as historical and cautionary tales rather than as cookbooks for disruption. I think many people get this wrong about his writing.
I think atomic mode-setting for the intel DRM driver being default now is the most interesting feature for my configurations: https://en.wikipedia.org/wiki/Direct_Rendering_Manager#Atomi...
which statically typed languages? You know Python has/will support even more static typing, which will be interesting...
This algorithm is actually really useful in genomic sequencing - daily usage for me right now. Cool to see it pop up here, although I think it's less generally useful than other edit distance methods.
SEEKING WORK - Remote

Metaclass is an agency, focused custom on ecommerce development and business automation using Python 3 and Django.

We develop complex e-shops, ecommerce and marketing platforms, b2c and b2b marketplaces, Point of Sale, CRM, ERP, paperless workflow, dashboards and provide Django-Oscar commercial support.

We use: Python 3, Django, Django REST Framework, Postgresql, Memcached, Celery, Github, Elastic and for majority of current ecommerce projects - Django Oscar.

More info about projects - http://metaclass.co

Get in touch - info@metaclass.co
My favorite quote (around 48 minutes):

"A big thing in the functional programming language community is 'we have mathematical like notation.' This is one of the worst ideas ever. Mathematical notation doesn't scale."
The original smart-contract language, E, is almost nothing like Solidity. To focus on Turing-completeness, it's true that E is Turing-complete and has an `eval()` primitive, which normally would be dangerous. However, E both comes with sufficient tools to prove that any given instance of `eval()` is safe, and also to limit Turing-complete behavior when needed.

Specifically, in E and Monte, we can write auditors, which are objects that can structurally prove facts about other objects. A common auditor in both languages is `DeepFrozen`; writing `as DeepFrozen` on an E or Monte object causes the `DeepFrozen` auditor to examine the AST of that object and prove facts.

There's a Monte community member working on an auditor for primitive recursive arithmetic, inspired IIUC primarily by the EVM's failings.

The DAO hack happened because of a bug class known as "plan interference" in the object-capability world; these bugs happen because two different "plans", or composite actions of code flow, crossed paths. In particular, a plan was allowed to recursively call into itself without resetting its context first. EVM makes this extremely hard to get right. E and Monte have builtin syntax for separating elements of plans with concurrency; if you write `obj.doStuff()` then it happens now, but `obj<-doStuff()` happens later.

So, uh, yeah. Smart contracts aren't a bad idea, but Ethereum's not very good.
Interesting. Okay, but the more relevant number for mass transportation planning would be the number of cars per, say, 1000 people or 1000 working age people or some such. With that, the US has a lot "more" cars and China is "short" on cars.
I'm advocating that the ability to divest investors from your company is a necessary step to solving this problem.

(PS although I answered your question directly, I did not miss the fact that you twisted my words to say something I didn't even come close to saying. Please don't do that)
I believe OO is good for exactly two things: abstract data containers and state machines.

In the former, access hiding cleans up the API and prevents unsafe usages of the container. In the latter, OO enforces a protocol to keep the state machine sealed off and only aware of key inputs and outputs.

And that's it. I've found nothing else. Data itself is better off when strategized to fit in a database, whether off-the-shelf or a custom-tuned, in-memory design. The state machines may need to query a part or all of the database, as well, so their ability to restrict scope only goes so far.
FREE CISSP Training
Same for Tylenol (most common branded version of the drug, at least in the US): para-acetylaminophenol
Please don't violate the guidelines by trolling like this here.

https://news.ycombinator.com/newsguidelines.html
Galois fields are used in crypto a bit, and I recommend this lecture to understand it in the context of crypto

https://www.youtube.com/watch?v=x1v2tX4_dkQ

PS: He has an entire series of lectures on his channel. Highly recommend.
Between gambling and investing there is speculating.

I believe there are ways to have an edge in cryptocoin speculating - it is unfair to say that it is all gambling. I cannot say I am very good in this game, there are people at the chats who are way less nervous and emotional and who must have made fortunes, but I have quit my programming job and now live from it.