skysight-inc/HackerNews huggingface dataset:
I've heard that actually students who had never programmed before did better with SICP than students that had. You have to un-learn a lot of habits from imperative languages when you start working with Scheme. Total novices could take the material as it was presented, but people who had programmed before often tried to shoehorn it into the C/Java/PHP paradigm they'd already experienced and ended up fighting the language.

The same effect worked in reverse as they graduated MIT or worked on projects in more mainstream languages, though. Students would have to unlearn some of the elegant recursive formulations and strong abstraction abilities of Scheme and deal with languages that actually have strong industry adoption. That was a major factor [1] in the replacement of SICP with Python in MIT's intro programming class. Python has abundant library support that more closely mimicks what the programmer will have available and what challenges she'll face in the real world.

[1] https://cemerick.com/2009/03/24/why-mit-now-uses-python-inst...
Some states use paper ballots with bubbles that are filled in with pencil or ink. The benefit is that they're simply tabulated automatically and provide an original record to refer to.
BEAM on Kubernetes is certainly possible: https://github.com/bitwalker/libcluster
just not by default
This is my attempt to be sympathetic to the GP's point of view, perhaps they have a different example in mind.

One example comes from the new-style / old-style classes distinction and the method resolution order when considering multiple inheritance.

Python 2.3 introduced "new-style" classes which inherit from `object` and use the C3 resolution algorithm [1]. For backwards compatibility reasons, "old-style" classes without an explicit `object` base class still used the old method resolution semantics.

Python 3 does away with "old-style" classes entirely and all classes must use the "new-style" semantics.

There's presumably a ton of code that doesn't specify `object` as an explicit base class, and thus may have subtle broken behaviour under "new-style". Given Python 3's inability / unwillingness to simulate the old behaviour, I'm unaware of any tool that's able to rewrite Python 2 to 3 in a bullet proof fashion [2].

This is not the same kind of breakage that other people mention, like `print` being a function or `reduce` being moved to `functools`. Those are simply backwards incompatible "movements", not outright removals, and thus can be rewritten by automated tools.

[1] https://www.python.org/download/releases/2.3/mro/
[2] https://portingguide.readthedocs.io/en/latest/classes.html#n...
> That does not mean Elon thought it was impossible.

If the people who are doing it tell him it's impossible and he reports that it is support to his shareholders that could very well be a crime because it may not be realistic. Misleading shareholders is a big deal.

> Why are people so hellbent on attacking this wonderful innovative company?

Possibly breaking the law has consequences and it needs to be investigated? I don't understand why so many in tech simply give Musk a pass just because he's done some really cool stuff.

Let's not make a mockery out of our selves to come to someone's defense who may or may not deserve it. Wait and see what happens.
I think many of us would prefer that to normal mundane life.
It's not all of the US. My state has always used paper.
>When they move into your town and your rents double you can't just be retrained.

Why?
Paper ballots mailed to voters are speedy, convienent, reliable. Especially when read with a machine. Plus anyone can do Quality Assurace by counting a portion of ballots themselves, and comparing it to the scanned total, making it hard to rig.
Was hoping to see MS-DOS 6.22 :-(

I think MS in the past few years has made huge strides...
I agree when IT is viewed as seller-customer. However, in many corporations whose primary business is not IT, IT is the enabler. In the same way, a mining company will invest in big earth moving machines, knowledge companies such as insurance companies and even retail companies build or buy IT solutions to gain efficiencies in their business. The IT system does, in fact, have an impact on the profitability of the company.
I have better memory now than when I was younger.

I think a lot of this is which skills you've been practicing. A lot of people practice attention in high school and college (e.g. being forced to listen to lectures or do homework).

You can also practice attention as an adult, and I think it will help in many cases.
maybe not removed, but they certainly did make breaking changes to the language. here are some of the most obvious

python 2:

print "foo" # foo
3 / 5 # 0
apply # <built-in function apply>

python 3:

print "foo" # SyntaxError: Missing parentheses in call to 'print'
3 / 5 # 0.6
apply # NameError: name 'apply' is not defined
Is this a joke to point out how "hard" it is to find one's way if streets are not perfect grids? I like it.
Ask HN: Dreadnaught acoustic vs 4/4 classical fullsize guitar width difference?
What's the width at the widest part of these guitar sizes?
Hanging chads are dumb, but just have them be "fill in the box" and not "punch out the hole" ballots and they're not even an issue.
Lyft doesn't even have their own maps. Drivers get to pick between Waze or Google Maps [1].

Google Maps is so much better than anything else.

[1] https://help.lyft.com/hc/en-us/articles/115012926407-How-to-...
I don't know, I visited almost every major european city back when portable GPS devices were not a thing, and I never had a problem navigating. Even now, I almost never use the GPS.

In fact the only time I ever got lost in a foreign city was a few months back in New York because instead of going with my gut I trusted the GPS.
Is it possible he's just saying things that people want to hear, things that lead to popularity and success? How do we know he sincerely believes these lines as he's saying them?
I was going to say something similar. In the Therac case, at least part of the fault fell with the operators who should have known what to look for (if things had been well documented and they'd been trained). But this is a rare event, every year (at most) or every 2 or 4 years, for most voters. You expect computers to work these days and to be responsive so the idea that users are at fault for crappy UI/UX is absurd. If something seems to be working then the user in this case has no reason to doubt it because they haven't used these systems with sufficient frequency to be aware of its poor quality and how to respond to it.
As a kid in Michigan I remember my parents waiting in long lines to vote. After 20 years as a voter in Oregon I have to say our system is great. We recently received the voter guide by mail, and will receive our actual ballot shortly. Take your time filling in the scantron circles while you peruse the guide, put it in the anonymity envelope, sign it to attest, drop it at city hall or the library. I work for a major internet company, including on election systems, and yet I still love this paper system. If there is any discrepancy, they just recount.

No missed work, no lines, no profiling. I read all the articles about issues with polling stations and all I can think about is systemic disenfranchisement.
Oh. It must be so hard to be tourist in Europe right? Well... No.
I know, and I totally agree with you. Just my point being the things that were potentially criminal were the false statements of fact (e.g. "investor support is confirmed"), not his opinion-based forward-looking statements.
i'm unsure exactly how frames are drawn..

the repo has a number of custom self defined objects that allows for pretty abstracted handling

it appears the frames are drawn ad hoc using PIL, SVG and or cairo libraries with the spatial reasoning done explicitly in the source
Yes, but it's also much more likely to result in a run-time failure. I'm not talking about memory safety here -- just the fact that Rust has (Algebraic Data)/Sum Types[1]. Of course these kind of "want" pattern matching, but it's not an absolute requirement.

Having ADTs/Sum types will improve the reliability of your software immensely just by being available. It's truly absurd just how much work they can do: They can replace "null", they can ensure that there are no surprises in a state machine where some state carries over unexpectedly, etc. etc.

[1] Not higher-kinded, but that's probably a distraction for the point I'm making.
Plan 9 C is a different language than ANSI C anyway.
I think my original statement was wrong, but I may have misheard what he told me. Looking up references on housing and CPI I see a lot about how the housing component gives bad signal -- it was rising during the 2008 crash for example. It's easy to see how it lags since people usually only buy at multi-year intervals.
The fourth paragraph in section 6.2 refers to "BitMover" with no previous context. Copy-paste error?
From that wikipedia article, seems there is some uncertainty as to how effective n-back actually is at improving working memory in general: https://en.wikipedia.org/wiki/N-back#Construct_validity
That may be, but it was still incredibly dense and challenging for me when I found a discarded copy in the 3rd year of my 4-year computer science degree, when I was already quite familiar with Java/C/Python-esque imperative code and somewhat familiar with Lisp.
money?
Well the US[0] has a democratic government in the same sense that it has a capitalist/free market economy, namely <five straight minutes of mocking laughter>.

0: And the EU/most European countries/Australia/anywhere else that calls itself 'democratic' in a attempt to imitate the US rather than as a fig leaf for a dictatorship.
It's a great option, but definitely get the proper remote control for it— navigating the menus and stuff with a game controller is really not great.

OTOH, you can get a regular old dirt cheap blu-ray player for <$100 now.
Out of the so-called popular DApps listed on Coinbase Wallet, I only personally use Cent (beta.cent.co), but its user base is still quite small. Adoption has barely begun.
Agreed. You could encode valid state transitions phantom types, for example. Go's weaker type system means it has less power to encode was is and is not correct program behavior.
It was definitely less abusive, but I think it was more malevolent - like payday loans instead of horse racing. Both prey on the destitute, but one builds itself into your life (like a need), the other is merely novelty (like opportunity).
> Why are people so hellbent on attacking this wonderful innovative company?

Why are people so hellbent on defending this company no matter how many idiotic things they (Musk mostly) do? Almost 100% of these problems are caused by Musk himself.
Yep, involuntary manslaughter, which was indeed among the charges.
It will be interesting to see how the performance of companies and universities like Google and Harvard suffer as they shift their emphasis from competence and performance to focus on "diversity" and "social justice".
React Today and Tomorrow and 90% Cleaner React
If the worst thing you can say about a programming language is that you don't like it's syntax, then it is a pretty damn good language.

Lisp (or Scheme, in this case) is a very simple language that gets essentially everything right.
Do you mean this one? https://www.cs.bgu.ac.il/~snean151/wiki.files/7-Authoritativ...
For these machines, apparently incumbents are selected by default. Which in Texas are predominantly republican of course.
Speaking of the alleged problem as reported is not necessarily a comment on the UX, it can be simply a reporting of the problem.
Chicago taxi drivers are some of the most obnoxious drivers on the road. However, I can sort of understand why. (not to excuse them or anything)

The Chicago downtown driving experience, while not terrible like NYC, can be annoying because there are so many bad drivers about (Illinois licensing is very lax). There are drivers parked on bike lanes, drivers suddenly stopping and double parking, drivers not signalling or leaving their turn signals on without any intention of changing lanes. Couple that with out-of-town drivers from Wisconsin and Indiana who are unfamiliar with traffic patterns, anyone who spends a lot of time driving downtown is liable to build up a lot of resentment.
Now it's time to outlaw setting DRM in place in order to prevent people from fixing their electronics.
I vote in Chicago, and our electronic voting machines print a paper receipt. The process is as follows:
1) Write your name and address on a piece of paper.
2) Hand it to the worker, who looks you up on the computer.
3) The worker writes your ward/precinct on the piece of paper and asks you to confirm and sign.
4) The ballot is loaded onto a smart card and given to you.
5) You choose any open voting machine and insert the smart card.
6) The voting machine presents your ballot and you press a button to confirm it is the correct one.
7) You do your voting.
8) The voting machine shows you all of your votes, screen by screen and you confirm them.
9) The voting machine prints your votes, page by page on a roll of paper (behind clear plastic) and you confirm them.
10) The voting machine asks if you are really, really sure and you confirm.
11) The smart card pops out of the machine and you drop it in a box on the way out.

If you do early voting, you can only vote electronically. If you vote on election day, you can choose a paper ballot if you wish. Early voting is electronic only because you can vote anywhere in the city (if you work downtown you can do so on your lunch break no matter where in the city you live) and there are dozens of different ballots because we vote on things at the neighborhood level in addition to state and national candidates. Having paper ballots would be quite challenging.
The author just gave a talk at Strange Loop [0] that provides a better conceptual overview than the talk linked in the docs. Pretty interesting stuff.

[0] https://www.youtube.com/watch?v=R3xX37RGJKE
Cultural appropriation of foods is completely natural and should absolutely be encouraged... Do we really want southwest/mexican food without herbs based in europe and spices from the east? Or, for that matter, removing tortilla chips, or flour based tortillas. It's absurd to try to stop, and at a net loss to society to do so. It's been happening forever and it's a net good.
My previous, somewhat-cranky comment got downvoted away, but I do think Lisp's "higher-order magic" and "ability to do calculus" is being a bit exaggerated here. From below - evaluating an Nth derivative in 80s-era C is not so atrocious:

#define DX 0.0001
typedef double (*func)(double);

double NthDeriv(int n, func f, double x) {
if (n == 1) {
return (f(x + DX) - f(x)) / DX;
}
else {
return (NthDeriv(n - 1, f, x + DX) - NthDeriv(n - 1, f, x)) / DX;
}
}

double Cube(double x) { return x * x * x; }

double result = NthDeriv(3, &Cube, 5.0);

As mentioned in previous discussions of this article, the equivalent in Python is pretty elegant:

>>> def deriv(f):
... dx = 0.0001
... def fp(x):
... return (f(x + dx) - f(x)) / dx
... return fp
...
>>> cube = lambda x: x**3
>>> deriv(cube)(2.0)
12.000600010022566
So, what your telling me is there is a specific circumstance under which we know that it can work to not have absolutist rules. Now, it might be nice to have more hard data suggesting roughly what size of company this can work with, plus other details as to what makes it work.

Most companies are not behemoths. Everything I have ever read indicates most companies qualify for definitions of small to mid sized.

SMEs outnumber large companies by a wide margin and also employ many more people. For example, Australian SMEs make up 97% of all Australian businesses, produced one third of total GDP, and employ 4.7 million people. In Chile, in the commercial year 2014, 98.5% of the firms were classified as SMEs.[1] In Tunisia, the self-employed workers alone account for about 28% of the total non-farm employment and firms with fewer than 100 employees account for about 62% of total employment.[2] In developing countries, smaller (micro) and informal firms, have a larger share than in developed countries. SMEs are also said to be responsible for driving innovation and competition in many economic sectors.

https://en.wikipedia.org/wiki/Small_and_medium-sized_enterpr...
Getting enough sleep.

Arianna Huffington was right. Sleep is absolutely necessary. In addition, some people require only 4-5 hours of sleep, others like myself require 7-8 hours to be "good". Getting a FitBit to track my sleep has also been helpful. Just because I sleep on time, does not mean I have "enough" sleep. Most of us don't fall asleep until 1-hour after we lay our heads. And in addition, most of us do not get enough "deep sleep."

In addition, after I started tracking sleep, I realize caffeine has been detrimental to getting "deep sleep." I often switch to decaf or go cold turkey to help my body detox from caffeine.
> Perhaps because they market to business leaders who could stand to lose a lot if Oracle unleashed the legal hounds?

I think so. But that doesn't seem like it's going to remain a viable business model for too long. Those who are forced by their bosses to work with Oracle today, are going to be the bosses of tomorrow. I personally know a company where anything oracle is explicitly blacklisted because of this reason.

Eventually, Oracle is going to run out of their oblivious- executive-type customers. (inc. govs)
Ask HN: 4K 60fps mirrorless camera with 360 display
I am looking for a camera with:

1. 4K 60 fps recording
2. 360 display for seflies/vlogging
3. Interchangeable lenses, i want to buy several prime and zoom lenses

Unable to find any decent camera with these features.
> that’s likely a reflection of you

Be wary of taking this statement too seriously.

0) It wouldn’t be a direct reflection of you in any case; It might directly reflect what someone thinks of you. But just because a person thinks you are boring (or creepy or lazy or crazy) does not in fact mean you are. Its just a data point.

1) Spinning in your head about whether someone thinks you are a boring person isn’t going to help you or them. Talk to a friend and ask them for direct feedback.

2) Sometimes people do have a habit of getting on their phones and then later regretting not be being present and social. I know I do and I need to make deliberate effort to avoid it (Freedom.app is useful here)

3) Sometimes people are tired.
Scientific Study Confirms Freddie Mercury's Voice was One-of-a-Kind
No reason at all to do that, you can give the kids a great machine that they can use for the internet and games, but strictly limit when it is connected.

I don't know if modern laptops can do this (modern ultra-portables can't because everything is soldered in), but I recently took the wifi card out of my (ancient) T61, it required only taking out screws[0] and disconnecting the daughter board, so that I would have a machine without always-on-internet. Haven't had much use of it, but sitting in front of it, I have caught myself starting up chrome...

[0] sadly I failed to keep track of which goes where, but that is also the only issue.
Morocco abruptly drops clock change
Only when they are made by psychiatric professionals who are suitable detached from the scenario they are judging.

I can think of a few people I know who took one year of highschool psychology or once read a pop-sci book about it who like to tell people what the root cause of their behavior is. It's usually done as a dominance move.
PHP is dead…Viva le PHP
Let Our Algorithm Choose Your Halloween Costume
Ironically it was the adults who were susceptible - they were just plush toys to kids. Which I suppose ironically rhymes with social media and deception.
A lot of these machines are ancient, so quite possibly of that vintage. And yeah, in general you're very right not to have any confidence.
I think the current context is the Fermi Paradox, so the relevant question is if the AI have any expansionist behaviour after all the biological life dies.

Imagine a version of Star Trek where it turns out that every planet is Risa, only Vulcan is Space Buddhist Risa, Qo’noS is Kinky Risa, Kzin is Furry Risa etc., and all the Vulcans, Klingons, and Kzinti etc. have just been extinct for thousands of years leaving bots behind.
What default is that?
Show HN: Callwarden
I agree, Fortnite handles this pretty well. The only thing I would describe as somewhat manipulative would be their store. Having a rotation that only lasts a day or two rather than allowing players to purchase the items that they want evokes a feeling of "If I don't purchase this skin now, how long is it going to be before I get another chance?" I have a few friends who stockpile skins that they think are "alright" just in case they want to use them in the future.
Yes. It's early days but I'm curious as to what can be sticky. I don't think anyone has it all figured out yet.
Yes there is much more mental load you pay upfront during development but once you get code working and satisfy the borrow checker you now have significantly stronger runtime guarantees about your application in terms of safe and proper concurrency.

This is the trade off.
One word: loop :-)

(It's a bizarre, mini language for looping constructions and terrifying animals and small children.)
What do you consider decent numbers?
It's not clear from the story that defaults are relevant. Votes are made and then changed, not left blank
It's a pity the Linux Foundation chose one-way communication and disabled the comments (not just for this video).
Two very important things for me that Go offers are the garbage collection and the stackful co-routines (i.e. go-routines). Makes code so much easier to read and write.

If they would give me generics and ADT, I don't think I would ever use any other language.
Yea I know you were joking, but I was highlighting a major problem with the current system we have: the only people who can fix it tend to benefit most from having it broken in their favor.
OK, I am not well-versed in machine learning, so I need to ask:

How is it really different, in an essential way, from using Eigenfaces[1] for the same task?

There's a paper from year 2000 that does exactly that[2]; you can see the results on page 5.

Now, the results in the linked article are way more impressive than the Eigenfaces-generated random faces, but from skimming the text, it seems like the principles are the same: dimensionality reduction from a high-dimensional space into a space where the axis are "meaningful" components (in Eigenfaces, the reduction is done using SVD).

Eigenfaces is a linear approach; there's also a multilinear version, TensorFaces by Vasilescu et al[3][4]. I wonder if similar quality images can be obtained using this approach.

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

[2]https://link.springer.com/content/pdf/10.3758/BF03207802.pdf

[3]http://alumni.media.mit.edu/~maov/mica/mica05.pdf

[4]http://web.cs.ucla.edu/~dt/papers/eccv02/eccv02.pdf

[5]https://en.wikipedia.org/wiki/Convex_set
Yes I know. I love Sum types, and I love Trait oriented programming. And I definitely miss sum types in Go and C++. If C++ had sum types and no header files that would probably hit my (very subjective) sweetspot.

Tangent: I wish Rust had optional chaining like swift, which I know is a limitation due to Option just being a normal sum type. Having to pattern match every optional is burdensome
“The Hart eSlate machines are not malfunctioning, the problems being reported are a result of user error — usually voters hitting a button or using the selection wheel before the screen is finished rendering"

More like a page loading issue. Probably need to look at optimizing the page or display a simple big "LOADING..." in the middle of the screen while all fields and field values are being loaded. Also disable the actual page (all submit or selection buttons) while page is being loaded.

Definitely not user error. Different locations have different internet connection speed that will effect page loading.