skysight-inc/HackerNews huggingface dataset:
> i.e. only use the most basic and generic Django features

I don't think you need to do this with Django. Features are generally very mature, stable, and are not deprecated frequently. When they are, they are deprecated years in advance with long term support still provided.

In all honesty, I've seen very few projects run feature lifecycles as well as Django. I'd use everything you need to in it without concern about this.
Nice ideas. I think that complexity can be the enemy of “hackability.”

Some environments like Pharo Smalltalk are simple enough to dig down to see how stuff works, and I would add simple Lisp implementations.

When I first started using Ruby and Rails, I kept the source code to Ruby and for Rails available for perusal and it was more or less understandable. Not so much now. Complexity.

I think that the Racket ecosystem will get more hackable once the codebase sits on top of Chez Scheme. Racket is well documented: 18 months ago I wanted to import trained weights and biases from a trained Keras/TensorFlow model into Racket and implement a runtime - fairly easy to do with good documentation and good library support for fast linear algebra.

Too bad that more people don’t spend more effort on hacking activities because really understanding tools, modifying code, etc. is fun and I would argue a good career move.

EDIT: added 1 word for clarity
Sherlock Holmes can never die
This post is garbage denialism science, so I'd say not. The molecule works by blocking the escape of infrared radiation aka heat. The more molecules, the more trapping, I'd need to see a source on this claim.
Some languages are more prone to prioritize of your previous investment. The most popular examples are Java, C# and Go. Different tools for different needs.
Spooked by China, Australia’s Spies Pursue New Bonds
I will never understand why basic authentication in ES was locked behind a X-Pack license. That's always seemed absolutely bonkers to me.
> It would be nice if apparently misogynistic assholes on HN gave half as much attention to an actual coding question from me as they do to BS excuses to behave shittily:

https://twitter.com/doreen_michele/status/120130250640542105...

What is the basis for this accusation?

I read her original Ask HN thread and there was precisely zero snark or anything even remotely approaching misogyny.

https://news.ycombinator.com/item?id=21677535
>Right as I was just about to start a new Django project...

It's rarely a good idea to use the latest version of Django simply because most projects will be reliant upon 3rd party libraries which will often be slow to catch up to supporting the latest version.
Show HN: Ordered Error Diffusion Dithering
The difference between 2.2 and 3.0 is quite small, as you can see in the release notes. Most projects won't need changes.
Where I work, we have a very strong culture of blameless portmortems.

But that’s not the same thing as not knowing exactly who were present or involved when things happened, nor is it the same as not obtaining their assistance and testimony in reconstructing what happened.

This person should have been tracked down, 100%. Then having tracked them down, the report should avoid blaming them. It might even be useful to anonymize them after obtaining their testimony, to avoid harassment.

But if we aren’t interviewing them just to avoid blaming them, we have a very, very big meta-problem that needs to be solved.
ActionBuddy for Writers
The are some new-ish features like async and there some new parallelization options in 3.8 that help in some very specific cases, but generally you choose Python because you value development speed more than execution speed.

You can use Python (or Ruby, etc) to build fast websites that scale well if you are smart about how you use it and how you design your application, but it still isn't a particularly fast language compared to others.
No. If that was true then Venus would not be so hot.

I would encourage folks to do some research on Anthony Watts; he is not communicating in good faith on this topic.
> "I wonder if there is some way of creating a Django project and make it resilient to future Django updates and releases with minimum fuss?

Have lots of automated tests. The more surface area you cover, the easier it'll be to upgrade.

> [...] use the most basic and generic Django features, but even then what's to say those won't get deprecated in favour of some new exciting replacement?

In my experience, Django maintainers are slow to rush to new exciting replacements, and even slower to deprecate and remove things. From a compatibility perspective and ongoing maintenance, it's a great approach!
> I would miss out on pop-culture references.

What's wrong with that ?
Seconded, I haven't really had many problems upgrading Django projects, and I've upgraded a lot of them.
Thanks. There were some good points raised there specific to the secure remote isolated browser use case.

I'm posting because it's clear that this is more than just a security product. It's a UI and backend to use headless chrome like a regular browser, except in the cloud instead of your device.
Also in use since the 80's in various African countries... http://www.songhai.org/index.php/en/home-en/16-songhai/190-b...

The Songhai Center does a full carbon cycle re-use. An interesting place to visit too!
You think the US is less industrially capable than in 1980? that... seems unlikely. Sure, we import and export a lot more of our stuff now than we did then, but that's because we live a lot better when we trade (and because the technology of trade has improved vastly.)

Once you lose a capability it’s gone forever. That is why countries cling desperately to domestic steel, shipbuilding, arms and other industries. Once the institutional knowledge is gone and the infrastructure is gone it’s never coming back. And other countries whose interests may not align with your own have you over a barrel.
Would appreciate feedback on my Go code!

I'm sure theres a better way to approach some of these.

https://danielbetteridge.com/advent-of-code-day-1/
I have put together many PCs myself, and honestly many parts aren't that important.

Power supply, motherboard, SSD and Ram will "just work", given you buy a recent product from a known brand. The +/- 5% of whatever will not make a difference to most people.

For mobo, think of features you must have ( built-in wireless?) And that will direct you.
When I was 25 I quit because my current role wasn't giving me any more opportunity to progress, and I'd just sold a house after a relationship ended, so I had the financial freedom to coast for a few months for another opportunity. I spent about 6 months working in a bar, which paid considerably less but was a lot of fun. I ended up going back into tech within a year or so, but the experience helped me appreciate the balance between pay and enjoyment a lot more.

In short, it's worth taking a pay cut for a less stressful, more enjoyable job, provided the pay cut doesn't introduce another avenue of stress into your personal life.
I'm a bit disappointed it's not called reheading or some pun of that nature
30,506 Internet Domain Names Shut Down for Intellectual Property Infringement
Secrets influencer experts won’t share
But they aren't freeform they are embedded so there is no reason they would need to be in a single parser.
Thanks, what's been the biggest horror for you? The page is what I was going for. So there's that, and ah... horrifying you is a bonus, I guess?

I don't know much about doing contemporary design, and I think I can emulate something. Maybe you can suggest a landing page this should look like and I can copy that style? I would appreciate it. Up to you :)
Billion-dollar offer for .org a 'bad deal'
Also since the books were not affordable to most people, in the early 19th century large commercial lending libraries like Mudies become established. Leading to the popularity of the 3-volume novel, which the libraries favoured since for each novel, they would be earning thrice the subscription.
What you describe is typically an architecture problem: if you have a good architecture in place the problem won't happen because you have already broken your system up so that those places that 10 completely different developers need to touch do not exist in the first place. You need to hire more senior developers to think about this problem and fix it. You should be able to assign every area of code to a small team of developers who work together and coordinate their changes to that area. (even with common code ownership you quickly specialize just because on a large project you cannot understand everything)

There are exceptions. Sometimes there is a management problem: management has been told some things cannot be done in parallel because you couldn't mitigate the problem in architecture and they failed to apply project management practices to ensure the developers worked serially.

Sometimes there is a team problem: the 10 developers have been placed on the same team to work on the same thing, and despite all that they still failed to coordinate among themselves to ensure that the changes happened in order.
Sorry, I just realised my question was super ambiguous as to which part of your post I was asking "Why" to. I was specifically asking why you go to such large efforts to obscure your identity.

You've answered that, but it definitely seems a lot of effort to go to.
For those on the 1.11 LTS release, and considering getting off the LTS train, I wonder whether it's a feasible upgrade path to go straight to 3.0, or if it would be smarter to go to 2.2 first.
Support for nuclear power has become my acid-test. If somebody is serious about making urgent and effective change, fission has to be on the table.

Volume is the key to price - we need an internationally-vetted medium-sized design, with a supply chain that can crank out hundreds of complete "just add concrete" systems per year.

As well as improving up-front costs, a ubiquitous design makes training and maintenance easier. This should improve the operation of these systems safer and cheaper.
I think AMD is still (slightly) behind in power consumption, especially if the CPU is idling. Some tests suggest that this is heavily dependent on the motherboards chipset though. But power consumption is probably very important for the industry and for notebook devices.

That said, AMD becoming a worthy competitor on the market again is awesome.
Yes. If you can afford the CPU power, by all means go with Python. Otherwise just don't.

Instagram can afford it so it works fine for them. Reddit can't, so their site is always slow or down.
Hang on, pardner!

We agree that management was faulty. So why do we give them the presumption of good faith by taking their word for how the programmer operated?

We haven’ heard from the programmer, just from people who are covering up their identity. I’m not saying the following is likely, but it’s possible:

What if the programmer argued with them that they needed to do more testing and allow more time for development? Or that their should be a budget for a redesign, rather than cobbling the -25 from the bits and bobs of the -6 and -20, but management rushed it into production over their objections?

Then people die, and the programmer quits.

Management goes on to settle while being careful to make it impossible to talk to the programmer, who may very well have a lot to say about management.

We agree that management is at fault. Why take their word for it that the programmer operated without documentation? Why take their word for it that the lack of testing was the programmer’s choice?

Maybe the programmer produced a huge document explaining why the product should not be shipped, and management buried it to save their own skins?
Damn, that's a good idea. Thank you. :) Reheadless. Frankenchrome... Anyone got some good names?
Twice I've been part of a move from Javascript to Typescript that worked much the same. Both projects were large applications with several developers working on them. Both had been ongoing for a few years before the port started. In both projects we decided to write all new code in Typescript and convert JS to TS when we made any largish change to an existing JS file. In both cases it took around a year for us to hit > 90% all code being converted this way, and at that time we decided to actually make issues in our issue tracker for porting the rest, and then had the rest converted in a couple of months after that.

The big difference is however that JS and TS can live side by side on a file by file basis out of the box with the Typescript compiler, which makes it super easy to convert. You don't have this luxury with C and Rust of of the box, but serious kudos to the author for finding a way to do something very similar.

When converting C to Rust you usually have to do things on a module by module or compile artifact by compile artifact basis, which makes it much more challenging. You can however employ some sort of strangler pattern:
https://docs.microsoft.com/en-us/azure/architecture/patterns...
That's fun, a few years ago in one of my course our teacher explained this model to us. He then basically said to us « well we're like 50 to work on this in the whole world, so it's a really small community and everyone knows everyone » (as everywhere, I guess).

And, indeed, he is in the community page ( Christophe Alias )
> Garbage collection

This is hardly a weird choice. Garbage collection gives you the highest productivity while being memory safe out of the three options (manual, GC, static).

> lack of proper generics

They are working on parametric polymorphism, since a while now. It is hard to get right in a language which has readability and simplicity as a main focus.

> interface{}

I certainly agree on this one. It is a weird feature and often a 'smell' when found in Go code.

> the weird way of distinguishing visibility via capitalization

It is weird syntax choice in the sense of being unique/uncommon but fits very well into the readability focus of Go.

> comments that affect code generation

I agree that they should have introduced syntax for this, assuming you mean compiler flags (or w/e they're called).

> archaic plan 9 assembler instead of using LLVM

One of the goals of the language is to compile really fast, which they certainly succeed at.
This looks neat. Does anyone have experience with using type hints and mypy with Django? Any gotchas?
GET AN AFFORDABLE LOAN NOW.
BBVA brings you loans at 3% interest rate... Available to all categories of persons.

We Offer Loans to Private and Commercial bodies on a very low annual interest rate of 3% ,1 to 35 years repayment. We give out loans within the range of $5,000 to $500,000,000. This is to eradicate the growing history of Bad Credit and also to bring stable profit to both our company and our clients. Get your loan today at 3% rate and the approval process is done within 48hrs.

Are you losing sleep OR worrying how to get a Legit Loan Lender? Contact: BBVA Financials now via

E-mail: customer.bbvafinancials@gmail.com

Mobile Number: +1 501-429-4229 call or text

We offer loan at low interest rate of 3% and, we offer
Personal loans,
Debt consolidation loans,
Venture capital,
Business loans,
Education loans,
Home loans.

For More Urgent Information Get Back To Us Immediately.

Mobile Number: +1 501-429-4229 call or text
Contact us at Via: customer.bbvafinancials@gmail.com
My parents saved up and got Britannica, and it was great not having to go to the library to do school work. A few years later we got a PC with Encarta and almost never used the paper tomes again.

It blew my mind that you could fit that much on a PC and I instantly knew that Britannica was going to have to adapt to emerging technologies or die.
A puzzle is just a packaged problem. I think it's hard to argue that certain puzzles are more prevalent than others. This weekend we were doing these puzzles where you have to align unique pieces into a specified shape. It's basically a bruteforce search. The creativity is expressed in how you reduce the search-space and how you memorize the alignments you've already tried. There's definitely more than one way to do it.
Does the logarithmic nature of global warming invalidate climate change claims?
There are startups in NSW/Canberra that are working towards doing exactly what you're talking about. I know for a fact that hardware from these two companies is based on off-the-shelf Raspberry Pis and Beaglebones.
https://www.switchdin.com/
https://youtu.be/FKqmj6oUY4g
https://repositpower.com/
So, just like most days as a programmer?
What makes you think the abstraction was taken for security reasons or that'd be the only reason you'd want to run it?
Congrats to Django's contributors and community! It's been a while since I've actively worked in Django but I found the people in the Django ecosystem to be generally very helpful.
I feel your pain. If maintainability is your concern, I would advice to skip this release as it won't have long term support. The current LTS release is still 2.2 and will only be replaced with 3.2 sometime in 2021.

You probably already know, but the long term release timeline is shown at https://www.djangoproject.com/download/

Sticking with LTS releases really helps. You'll still have nearly a year to migrate from one LTS release to the next.

In my experience it also helps to avoid small (e.g. a single developer) and young Django apps and stick to the big ones. The amount and quality of the documentation can also be an indicator of longterm viability of the project.

I've done a few more significant migrations (including Python 2 to 3), and about the only bad things are apps whose development stopped and those with developers implementing hacks using Djangos internal API. Everything else is usually done in less than a day for the whole Django project. I only did small projects with 5-10k loc, though.
Seems so https://github.com/pvdz/tenko/issues/1
In the fcas market, the total electricity price has increased by over 30% in the last three years.
Are you better with other kinds of maths?

IMHO many people struggle with maths because they're not used to the fact that you have to read maths differently. You can't just digest it quickly like many other subjects. You have to ponder over definitions for a while and play with them and try to come up with examples and counterexamples.
They cut prices, but that was not what I was saying.

They don't have to undercut AMD to sell CPU's if they can deliver more volume. They may cut prices for total $3 billion worth, but they start from so high profit levels ($21 billion) that they can outmuscle AMD financially and stay profitable.
I mean, what kind of performance issues were you running into?

You're not going to get maximum performance out of a python program, generally. But unless your python program is using 100% cpu that's not really an issue, and there are very few cases where I'm using python and it's CPU that's slowing down the program. Mostly it ends up being some kind of IO.

If you're looking to do complicated mathematical operations, you can call out to an external library like `numpy` of tensorflow to take better advantage of cpu/gpu compute.

You can also use a faster python interpreter, like `pypy`, although then you start getting slower startup times and more memory usage. The performance is closer to something like java but drawbacks are generally enough that they don't get used, since it's very rare that you need that extra performance.

There's also micropython, which lets you run python on a microcontroller and makes it pretty easy to optimize things for your hardware, although you lose some useful debugging and introspection features.

But for the most part, I haven't run into anything I'd call "performance issues", just the knowledge that python is a scripting language and it's never going to be the fastest thing around. Python's performance just isn't an issue very often.
I'm still baffled by the reasoning that leads to all the DRM theater. It does nothing. the moment a piece of content reaches streaming apps, it's on every torrent and free streaming platform.[1]

All it does is that it makes the user experience of paying customers worse. Can't use their preferred video player. Can't use a frontend that puts all the content together. Can't save it for later to watch online, unless the platform has that functionality built in, usually in a restrictive and clunky way.

[1] I'm, of course, talking about platforms that aren't as aggressive about getting rid of copyrighted content as youtube.
APPLY FOR A BBVA LOAN TODAY!!!

Affordable BBVA Loans Available at 3% interest rate.

Company Name: BBVA
Email Address: Email: customer.bbvafinancials@ gmail com
> Corporate charters don't generally include clauses requiring that profits be maximized, profits be disbursed, and executive pay be approved by shareholders.

This is false.

Corporate law requires that Board members faithfully represent the interest of stakeholders, and the corporate bylaws define who those stakeholders are. Generally they will he creditors, holders of preferred shares followed by holders of common shares. By defining the stakeholders, the corporate charter is defining who owns what and whose interest the board must represent. This is where all the activists who insist that corporations have stakeholders like "the environment" hit a road block -- they aren't going to get shareholder approval to list the environment as a stakeholder.

Corporate bylaws, which must be voted on and approved by shareholders, do spell out voting rights for shareholders, approval of executive pay, approval of debt issuance. This is very common.

People misunderstand how heavily regulated corporations are, because it is a funny ownership structure, where the owners -- the shareholders -- are distributed and don't actually run the company. This creates all sorts of principle agent problems and thus corporate law grants shareholders many rights and imposes many obligations on corporations. Shareholders can audit the books. Shareholders can sue. All the ways that the business does anything from make a decision to issue debt must be spelled out in bylaws that shareholders must approve. Corporations must have a board. The board must be elected by the shareholders. The board has to act in their interest. The board gets to appoint the CEO, etc.

State law also defines the liability shield, that as long as board members are acting faithfully in the interests of shareholders, they can't be sued, but as soon as they are not they can be.

Things like corporate donations are generally justified as helping the bottom line by improving the brand. But you do need to show how they are helping shareholders, otherwise it would be a breach of fiduciary duty and the liability shield would be lost at which point shareholders could sue.

But even apart from this, when the shareholders turn against you they can sell, and if someone buys a majority of the shares the company becomes theirs, they own it, they can take it private, they can throw out management, etc. This ensures that the board be focused on keeping shareholders happy above all other concerns.
I currently own about 220 domains, of which I'm actively using about 10 and have plans for maybe 20 more.
I think there are two approaches of computer lovers. One is for the puzzle solvers, and one is for the escapers.
Modeling problematic coexistence of communication technologies in smart vehicles
Rank Math is much better than Yoast anyway.
GPS III
While Swift may be the "latest and greatest" language with official support, if you look at https://www.tensorflow.org/api_docs, it's only one of several (the others being C++, Java, JS, Go and of course Python). Plus, there are community-supported bindings for C#, Haskell, Julia, Ruby, Rust and Scala). Just to make the picture complete...