skysight-inc/HackerNews huggingface dataset:
Your question has been asked here [1]. I never used Numba myself but assume from the discussion that it is difficult/impossible to bring user objects into Numba and that due to the extremely rich Python object model one can only make Python fast for a small subset of the language.

Example: in Julia I can easily define my own primitive type, let's say a ModInteger (an old video is here [2]) and it will be as fast as a normal "built in" integer in a for loop (and benefit from possible speedups: simd, parallelization, cuda, GPU - but don't have (much) experience in this area).

Likely such a ModInteger couldn't be as easily integrated in Numba?

[1]: https://discourse.julialang.org/t/julia-motivation-why-weren...
[2]: (2013) https://www.youtube.com/watch?v=rUczbQ6ZPd8 (at ~37:00 mins)
Some less obvious omissions on this list are major theological developments:

- Zoroastrianism's development of dualistic cosmology, i.e., that the present universe is locked in a cosmic struggle between ultimate good and ultimate evil (which underpins the modern theological foundations of Western religions like Christianity and Islam).

- The Vedic development of karma, which is similarly one of the central foundations of Eastern religions

- Confucian and other Axial Age Chinese philosophies (although Confucian is the main one well-known to modern Westerners)

There's also a tendency to favor theoretical developments over practical developments that preceded theory by a long time. Three-field and four-field crop rotations, ship keels, square-rigged ships, corned gunpowder, double-entry bookkeeping--these are all "minor" inventions that are little-known in the popular sphere that truly made impressive advancements in agriculture, sailing, warfare, economics.

At the same time, some of these developments are definitely overrated:

Copernicus's theory is actually almost completely and entirely wrong, and certainly defied evidence that even contemporaries were more than eager to point out (the lack of stellar aberration being the biggest problem of all). The only thing that it got right didn't even originate with Copernicus (it's Aristarchus who is the earliest known proponent of such a theory, and Copernicus was definitely aware of Aristarchus).

Similarly, Freud, while popular in the popular imagination of psychology, is generally considered almost completely discredited in his own field.
Does anybody know why they are limited to three experiments a day?

According to Wikipedia, they need 90 minutes to evacuate the tower before every experiment. Does an individual experiment involve multiple (dozens? hundreds?) of falls?

I'm assuming they have a long list of people who want to book time in the tower.
I brought back a colorado backup tape with TP7 on it, 600KB total. What you could pack in 600KB in those days.
Earn money
Don't Make Everyone Do Customer Service (2015)
Say what? Could you elaborate?
jobs are always lost with new technology but its a short term problem. consider how many jobs the computer industry has created and how may it made obsolete..
Join me on my quest to learning how to code in Python
You don't even need to leave NodeJS to get all the OCaml benefits: BuckleScript compiles to readable JS. Compare the input and output of the example: https://github.com/bucklescript/bucklescript#an-http-server

You can get all the type safety benefits of OCaml right now, on NodeJS.
You are hopelessly naive if you think for profit publishers would ever do that.
Precisely. I have exactly zero tolerance for smokers since passive smoking have me asthma. I'm all for outlawing it in all public areas.
That last rule is pretty important; "Everything is a hash table" is the antithesis of it.
Do not worry for Hollywood decrease the complexity of every new film so that all humans can enjoy more films per life. Win Win
That's because there's no such thing as the free and open flow of art if there's little or no art - or at least high quality art - being made, because creators aren't being rewarded.

It's odd how rarely there's no apparent understanding that the flow needs to go both ways - and if it doesn't go both ways, there is no flow.
Yeah it was amusing to learn how many of the bands whose records they recorded couldn't actually play all the music that got recorded when they toured. Even so, that music seems quite specific to that time and place. It's not as though there weren't any talented musicians in Southern California in the 1960s. It's just that many of the most talented musicians were still playing old-fashioned music, so in the interests of selling more records A&R execs decided to sign less virtuosic musicians and help them out.

So, in that case the record label was "adding value" but the Monkees or the Byrds or whoever didn't really receive that value. They didn't get paid much anyway, so they would have rather made less-polished records that were more authentically their own.
"Object-oriented design is the roman numerals of computing." -- Rob Pike

(He also designed his latest language without inheritance)
No it doesn't because there are still fixed costs. Even if it costs me the same to send out a software license to the 100th person as it does to the 101st person, I still have to pay to develop the software, pay the rent, the fixed subscription fee of whatever it is I'm using behind the scenes to develop it, host it, etc.
True enough, so I wondered: on a corpus of reasonable size, will the "sophisticated" python solution beat the "classic UNIX shell" solution.

#!/usr/bin/env python3
import collections, sys
if len(sys.argv) > 1: N = int(sys.argv[1])
else: N = 10
for line, count in collections.Counter(sys.stdin).most_common(N):
print("%d\t%s" % (count, line.rstrip('\n')))

In either case, the "tr | tr |" part of the pipeline remains the same, but "| python3 commonline.py" replaces the rest of the original pipeline.

On my system, with the input being the 100,117 word "kjv10.txt" (from project gutenberg a decade ago), the Python solution takes about 1/4 of the time, .974s best of 8 "real" time for the original pipeline, and .209s for the python3 pipeline. According to "perf stat", the classic solution has 2,938 page faults instead of 1,877 for the solution that includes Python. So even at this input size, you can measure the difference; and depending how often you ran the procedure, it might even pay off vs the time it took me to research and implement the Python version.

(curiously, pulling the downcasing and splitting into python didn't seem beneficial)
If you like this story, you can continue the story with "Softwar" a book about Oracle and Larry Ellison in quite the same tone.
Must-read article about the concept of "better than free":

http://kk.org/thetechnium/better-than-fre/

Kevin Kelly proposes "Eight Generatives Better Than Free": immediacy, personalization, interpretation, authenticity, accessibility, embodiment, patronage, and findability.

This was written back in 2008—very prescient in light of the evolution of content distribution since then, and helpful in articulating what sorts of thing actually manage to add value in this way!
The spaghetti organization – creating success by abolishing hierarchy
I used literate programming to write ~25 programs last year, and I found that the coolest thing about the technique was crafting a narrative for understanding the problem and appreciating the solution.

One difficulty when reading somebody else's program is thinking "why didn't he just do X?" and not having a clear answer. In a good literate program—and it's harder to write good literate programs than simple programs—the author can touch on why a particular approach is unsuitable, or why he preferred one valid approach over another valid approach.

In the end, I think I prefer to write "regular code"; tools like editors, debuggers, build systems, etc. work better with real code. Still, I try to write doc-comments that inject better narratives in my programs and, hopefully, help the readers attain a better understanding.
Yep, I've run a minimal Linux environment entirely in RAM on an old PIII laptop in recent times, it's fun stuff.
I think you are almost right. Today they aren't a high quality product, however 30 years ago they were. The journals just did rent-seeking behavior, cutting staff that made the journals high quality. Piracy didn't ruin them though I agree there.
And I have zero tolerance for drinking after close friends were killed by drunk driver.
Yeah it’s double dipping. In the U.K. before they abolished taxes on gambling you has the choice at least. Pay the tax on the stake or the take.
Yes, I'm interested in the technical background of this supposed breakage. Having a container-per-tab is essentially the same as that tab being the only one open in the browser, from the webpage's perspective. How could that break anything?

Update: Nevermind, the right answer is that users probably expect that different tabs pointing to the same website share the same context.
I won't give away spoilers but the treatment plan is HILARIOUSLY simple

Seriously? This isn't a novel or TV show. That statement of yours just makes me think it is a scam.
This reminds me of a quote about Blender, which I find has a remarkably solid architecture based on the idea of interactively editing a sort of “scene database”:

“Although some jokingly called Blender a ‘struct visualizer’, the name is actually quite accurate. During the first months of Blender's development, we did little but devise structures and write include files. During the years that followed, mostly tools and visualization methods were worked out.”

And the architecture of a compiler I’ve been working on has gotten considerably simpler and more solid as I’ve figured out the right data structures—with the right data model, especially if it’s enforced with types, the code practically writes itself. Finding that model is the hard part.
So how do we balance personal liberty with respect for others? I don't know the solution but welcome the discourse. Part of the problem I think is that the people who engage in these behaviors don't care very much for themselves, let alone others. I've often wondered if people who partake in cigarette smoking have a death wish of sorts, just unable to take the fast route.
> which offers a lookup method, and which both HashSet and Lists implement

How does a List map values to key? How does it even represent them?
Article also doesn't have any illustrations or diagrams to explain what it's talking about.
Nicotine is highly addictive. At some point for a lot of these people it stopped being a choice.
CNTK v2.2 Release Notes
Not really, with all the radioactive fertiliser they use to grow american tabacco I'm surprised its not more.

Doesnt apply to places not full of retards that use radioactive high phosphate fertiliser in their agriculture tho.

Smoking is the least of their problems, another 2 in 5 is the cancer caused by the radioactive food.
It's not, but the founder of Pinkapp believes they can operate outside of the legal system.

I hope their opsec is on point.
What's the external cost of a smoker's choice to smoke, on shortened lifespan, lost time to medical care, whatever?

What's the externality society bears for the individual's pleasure?

Figure that out, and assign tobacco taxes accordingly.
A couple of thoughts to share, as someone who studied Mandarin in Taiwan the 1990s, encourages his kids to learn Chinese (1), and still loves to study 4-character colloquialisms:

* "Chinese is a world script" - The author Tom Mullaney notes the rising popularity of Chinese classes in schools all over the world. I think Chinese script is actually holding back Mandarin from becoming more widely spoken. It's difficult to write properly, and adds another layer of complexity to remembering vocabulary. I think it's much easier for people to learn a language that has an alphabet-based script, and it's possible to go further with such a language in a given period of time.

* Paradoxically, the rise of software to write Chinese characters has really made it much easier to write. I say this as someone who learned in the dark ages before such software was widely available. If I had to write a sentence in Chinese using a pen and paper it would be painful for both myself and the reader ... but on my phone or using a laptop or desktop computer I can manage social media, email, and other lightweight uses thanks to easy pinyin input systems. It's improved my reading ability, too, because now I am interacting in Chinese on my devices using language that's more like spoken Mandarin, whereas 20 years ago most of the printed materials I encountered tended to be written in more formal style.

* Mandarin as a world language. The increasing importance of the Chinese economy is becoming a big driver for spoken Mandarin in other parts of the world. I've encountered Thais and Vietnamese who can speak it quite well (but not write) in order to do business or interact with Chinese tourists. A friend who recently visited Italy saw the same thing in high-end shops with young Italians behind the counters being able to speak proficient Mandarin.

* I disagree with the idea presented by @peterburkimsher that a lack of spaces are a problem. Chinese grammar is very straightforward, and in my opinion it's not hard to figure where words start and end (even if you don't know a specific term). (Incidentally, kudos to Peter for developing his system ... I don't have specific suggestions to market it, but I like the idea of leveraging Fire Ex and other hooks).

* There are interesting examples in Vietnam (2) and Korea of societies that abandoned Chinese characters in favor of their own alphabets. It's true that cultures lose the connection with ancient literature and older historical documents ... but not their history, thanks to the spread of literacy and public education combined with a strong interest in history and famous people from centuries past.

1. http://www.ilamont.com/2014/10/our-review-of-chinese-summer-...

2. https://www.omniglot.com/writing/chunom.htm
Will a Java expert (JVM developer) please answer this question? Thank you.

How impossible would it be to add a delete keyword to the JVM, and why?
Yes, there are strong, tight-knit, and supportive LGBT communities in several major cities, sometimes defining semi-public spaces like bars/clubs and even entire neighborhoods like the Castro (historically). Similarly around certain activist and (performing) arts groups on college campuses, where people who are a small minority in the general population (in a way that many consider inferior or immoral) make up an overwhelming majority of the membership of some student groups.

There aren't instituting "reverse" sexual morality either - straight people will be found among their membership rosters and friend groups - but they do create spaces that are particularly welcoming to non-straight people, and have large concentrations of them.
Not at state university campuses. I do this all the time at UC campuses. In fact I've been doing it for the better part of two decades since I left academia. And if I wanted to pay $60 or so annually, I could even borrow books.

Ironically, I've worked with academia and government labs on two major projects and because I don't have an official academic email address, I can't even get a researchgate account without paying.
It's simple. Stop selling journals and host conferences instead. People are still willing to pay for conferences even if the papers are published open access. The gatekeeping role played by journals can be replaced by conferences.
As a millenial who lives in an east coast HOA controlled suburb, the biggest thing about modern suburbs that bothers me, especially HOA controlled ones, is the need for useless grass and manicured shrubs that require constant upkeep for purely ascetic reasons. I would love to see more fruit trees and vegetable gardens. It brings a lot more joy and peace of mind.
Low level doesn't mean simple. In this case, arrays provide a lot of flexibility with manual indexing. They are a low level hammer that can do anything.

Sets are much more restricted, they don't have manual indexing, they don't garaunteed iteration ordering without special semantics, they don't do as much as arrays even if they might be implemented with arrays.

Then why use an array when you only need a set and an array would be overkill?
I was intern'd at IBM Toronto Lab about 10+ yrs ago to add instruction sets for this compiler/JVM. It was fucking awesome experience back then!
Why are you even asking the question if profiling hasn't determined a performance problem in that bit of code?
The Shawshank Redemption
Scrum is better for feature development; Kanban is better suited for maintenance and the sort of small independent tasks you describe. Scrum involves more meetings and overhead but provides more structure, which juniors often need; Kanban requires more discipline from individual developers, and tends to work better with more senior teams.
His ideal vision is always described in very abstract terms. If he took the care to write it down precisely, what it should look like, I'm sure there would be hundreds eager to build it for him.

He did. There's "Personal Dynamic Media", the classic paper.[1] Kay's vision focused on the user as creator, rather than consumer, of information. In practice, most people are content to watch the boob tube, now available in handheld. This has been the frustration of new media inventors from Edison to Zworykin.
What Kay is complaining about is the banality of computing today. That's a problem with humans, not computers.

Kay also thought that discrete event simulation was going to be really important. Smalltalk is based on SIMULA, which was a discrete event extension of ALGOL-60. Objects were supposed to be entities in the simulation. In practice, discrete event simulation is a tiny niche application of computing.

(I got a tour of PARC in 1975 when taking a course at UC Santa Cruz, met Kay and Goldberg, and saw some of the first Altos. The idea back then was "this is what can be done with enough money. Someday it will be cheap." Eventually it was, but not soon enough for Xerox. Years later, I programmed an Alto in Mesa while at Stanford, although by then it was obsolete.)

[1] http://www.newmediareader.com/book_samples/nmr-26-kay.pdf
My mother is dying of lung cancer from smoking right now. Growing up, she would smoke around me despite it causing me and my sister to have asthma attacks. I think forbidding it in public spaces does not go far enough. One's right to swing their fist ends where another's nose begins.
I don't use it a ton. I prefer Twitter.
No, not reverse psychology just you seeking and seeing patterns where there are none.

There isn’t a strategy you can use as an individual unless you can throw tens of millions at it to exploit basly designed games like the MIT guys did.

Your sad head shaking at those falling for reverse psychology is ironic.
I would say keep increasing taxes on tobacco (slowly) and explore other ways to make the purchase process and use inconvenient (i.e. use dark patterns "for good.")

Perhaps also explore legalizing marajuana (I think weed should be legal any way but I wonder what effects it would have on tobacco use. I wonder how that body handles a nicotine craving and then ingests marajuana instead.)

I understand the personal freedom and liberty arguements and I don't think we should jump straight to outlawing it(don't want organized crime taking up cigarette production). However, in the end cigarette's are addictive poison that tobacco companies sell to our people for profit. I won't feel bad if they are crushed by taxes and regulation.

Edit: Also, maybe, something with vaping. Maybe...
Writing simple programs that meets requirements should be your goal.

Premature optimization is the root of all evil.
Not always. Bitmap fonts are a thing.
Why would you want to add a delete keyword? Are you trying to add explicit memory management to simplify the work of the garbage collector?
My site publishes office design projects and professional designers who work in that industry pin the images as ideas or inspiration for projects they are working on.

So there isn't really a strategy other than publishing content / projects we think our readers will be inspired by and be interested in.
Expense of motors (not to mention batteries to support them) is still a problem with electrifying smaller equipment. I was looking at repowering one of my old 12hp Gravely walk-behind tractors -- to find an equivalent torque / HP EV motor to replace the Kohler 301 in it would have been upwards of $2-3k. And that's not including sourcing batteries, supporting electronics, etc. A little diesel engine would be about $600.

I hope to see the day when projects like this could be cost effective.
First album came out in 1967, so I was surprised to learn he's only 69. That's young-ish in Rolling Stones years.

I guess it was either tour again or run for US President.
Eh, I think that's debateable.

Agreed that delegation is more clear though.
A pub is a small business. A startup is distinct from a small business in that it seeks outsized returns through economies of scale, efficiency, etc. The funding model and the set of behaviors which are adaptive for founding or working in these kinds of businesses don't have much in common.

Much of the loss of community in America is small businesses getting destroyed in the market by successful startups (i.e. large corporations).
By all means, compensate the peer reviewers in addition. But you trivialize what publishers do. The role of the impartial gatekeeper is crucial in our current system. Publishers select the reviewers, analyze the reviews, and accept or reject. Orchestrating all this, by itself, is expensive! That $2000 figure for PLOS would be even higher if they paid reviewers.

Further, peer reviewers review for free because they can afford to--they are being paid by government and industry. Publishers cannot survive without being paid.
Liike. Tiny JavaScript tweening library
looks great already. agree that focus is ones most important tool
I tried doing sensor fusion with simulink and I thought it was horrible. Then me and my team switched to python instead and it worked really well. Never understood why to use simulink for other things then just controls.
I remember the first hard drive my dad bought. It was 5MB and designed to work with the Atari 800 home computer. It connected to the Atari through ?two? of the computer's joystick ports. As a kid that was pretty annoying, but in hindsight, it was a very clever hack.
> a lot of systems-y use cases for dynamic linking are writing low-level libraries that many other languages can use, which currently means exposing a C interface. This is supported and stable in Rust

UIKit is an example of a high-level dynamically linked library. Rust isn't ready for that category of use case - but to be fair neither is C++ :)

> Rust does offer a wide variety of functionality for working with shared data. It is definitely syntactically more verbose than in languages that don't try to tame mutation, but it's essentially equivalent functionality

My point regarding shared data is not about Rust's verbose syntax, but about its unwanted runtime checks which no other languages perform.

Here's what I have in mind (doing my best pseudo-Rust):

struct CounterWidget {
count: u32,
limit: u32,
didClick: fn(),
};
impl CounterWidget {
fn clicked(&mut self) {
if self.count < self.limit {
self.count+=1;
didClick();
}
}
fn setLimit(&mut self, limit:u32) {
self.limit = limit;
}
}

The Counter widget has a count and a limit, and a callback for when it's clicked. It also has a landmine: if the click callback attempts to call setLimit on the same Counter, it will crash at runtime.

This crash is hard to test for and doesn't add any value: why shouldn't the callback be able to adjust its limit?