skysight-inc/HackerNews huggingface dataset:
I mean it would certainly be a breaking change to existing code, and we know how well that goes over in the Python community, but it wouldn't be a completely different language.

The argument is that these objects are a sane default that would prevent a lot of accidental programming mistakes and I agree.
Are you sure that western democracy is build on an interpretation of "free speech" that means having to host nazis?

Western democracies like Germany, the Netherlands, or Canada (to name a non-european democracy) might disagree there.
He got to where he is today because Paul Graham took him under his wing and made him his de facto son. It's not really a replicable model.
Well, of course you do not "need" solid engineering to express the solution to a trivial problem. The point is not what you need to solve fizzbuzz, it's to give people a taste of what it feels like to do so.

And the result is: "oh, it feels normal, but I write less of my own code and reuse existing control flow code." Which is a lot of the point. It's also to point out simple abstractions like Monoid can find uses even in simple problems.
I don't think it's as far as a stretch as you believe. The DOD already issues CAC cards which includes:

* A private cryptography key. (Something you have)

* Which is PIN protected. (Something you know)

* With a photo on the front. (Something you are)

Of course, photo identification can't be easily replicated remotely. So remote use maybe only gives you two of the three.

Upside is that there's already existent card readers, along with all the infrastructure required to manage the cards and keys.
It's not always about recovery, but harm reduction.
Hacked ‼️
Monoids and posets have very little structure, so you really aren't gonna get deep useful theorems out of them. Maybe you can make some clever reductions, but those are hardly deep theorems.

I'm not arguing the underlying math isn't beautiful. I took grad level algebra and logic classes, so believe me when I say I know the math is awesome. But it just doesn't have any practical utility in programming, and more often than not just makes things more confusing.

edit: Also, since I majored in math, with a focus on logic, I don't think I'll have any trouble with losing sight of the foundations :)
I think I know what you mean, but in my mind, MIDI is very much Audio.
I downvoted this one because of his sour grapes around downvoting ... community moderation means that there are lots of reasons for up/down voting - when I get downvoted I simply accept it, even if I don't agree, it's something that raises the signal to noise around here which is a good thing
What I learned building Page.REST
Automate the supply chains. Start with what is essential then move on from there.
I've seen a couple of documentaries where KKK members were interviewed and the sense of purpose and community seemed to be the main thing they were all getting out of it.

I'm not saying the KKK is a good community group, but I will say there are a lot of people with less community than they offer.
Worse, a hotel mini-bar placed in the middle of the street.

Mini-bars are at least attached to your name and credit card for the duration of your stay.
> @mholt is being exceedingly generous to the whingers on this thread, on top of the generosity he's shown in writing Caddy to start with.

Mholt got $50.000 from Mozilla to maintain an open source project as well. It should factor into the discussion.

https://blog.mozilla.org/blog/2016/06/22/mozilla-awards-3850...

The only generous people here is Mozilla, especially when they financed a commercial project with open source grants.
What's the problem you're having with Excel reading TSV? Works fine here.
As a matter of fact, there is still a regular group of Tribes2 players online. This past Memorial Day weekend, I booted up a VM, d/l'd the ISO's, etc. and played a capture the flag match for a few hours... eventually with 16+ on the same server.

The game is 16 years old... old enough to drive a car and it's still being played!
I would say yes, take away national governments and you empower multinationals to essentially turn the world into their corporate serfs, with the rule if law gone corporation's are free to impose their own rules without any vote by the people on the matter.
I've always wanted front brake lights for cars, that way as a pedestrian (or other driver) you can tell if a car is actively stopping as it's approaching you.
Those who ignore history are doomed to repeat it...or pivot.

http://chronicle.augusta.com/stories/2003/11/13/bus_391181.s...
> You're committing the fallacy that comes from Marxist thought--- that one's position/class/socio-economic-factors are the determining factors in their values and beliefs.

Actually the apple doesn't fall far from the tree and yes, people in aggregate are pretty simple. If post-millennium Silicon Valley can be reduced to single idea, it is that predicting that simplicity is a business model.
I see many of these discussions that focus on federal sentencing laws without considering that state laws and enforcement practices are far more important. State laws are varied and complicated - some states are far harsher than others. Yes the federal laws are and were unfair and stupid, but the large majority of prisoners and drug offenders are in state prisons.

John Pfaff has been on a lot of podcasts, he is the most insightful person on criminal justice that I have found. Surprisingly Vox has a good summary of his book.

https://www.vox.com/policy-and-politics/2017/5/30/15591700/m...
Can you explain exactly how the idea that "people shouldn't enter the country illegally and take our jobs" is racist?

Why is enforcing well known national borders and stopping people crossing in an incontrolled fashion racist?
Me too, man. Me too.
If you're a casual player, then playing against humans sometimes isn't fun at all. There are a few shooters that I loved the single player campaign, but very quickly got frustrated by and sick of the multiplayer. Why? Simple - because I wasn't very good and the other players destroyed me. Its just as un-fun as playing against a bot with perfect aim: not at all, its frustrating.
Trump was not opposed by mainstream media, he was enabled by it.
This is hilarious to me for some reason.
Did you delete that post yourself?
The nightmare is real.
A couple thoughts:

- The survey covers just SV elites. It would be interesting to see how those beliefs compare to rank-and-file SV tech company employees (and to see that broken down further by profession). Differences in values between employees and bosses could lead to conflict further down the road.

- I'm reading more lately about the degree to which our temperament (the Big 5 personality index) influences our political beliefs. For instance, the managers and executives of established companies tend to be very high in Conscientiousness, which correlates with conservative beliefs. Entrepreneurs on the other hand score very high in Openness, which correlates with Liberal beliefs. I suspect their differences from standard Democrat politics stems from a relatively lower score in Agreeableness.

Edit: formatting and extended a thought.
During the keynote they said it looks for attention and mentioned sleeping. I'd assume it wants to see some white or pupil of the eye or separation of the eye lids. Maybe even minute movement of the eye to signify your awake and attentive.
Coming from HPC, I think imperative programming will stay as long as we don't have an AGI that does the actual programming for us, as it's the model with the highest possible abatraction that still gives you the whole truth about the underlying memory operations (and thus allows you to optimize for it without having your hands tied behind your back and just trusting the compiler gods). Not saying that this is how one should usually program in a context where performance is not the highest goal, but there's always going to be these usecases.
Equifax temporarily waives fees to freeze credit report
Disagree. Automate the production, which democratizes the supply.

Minimal supply chains are necessary if you can produce crops autonomously at the point of consumption (think rooftop solar). It would be wildly inefficient to grow in each person's backyard, but not so to grow in the outer rings of urban areas.

Automated production is essential. Supply chains for abundant, distributed resources are superfluous.
I wrote a follow up blog post about what I learnt from shipping Page.REST http://www.laktek.com/what-i-learned-from-building-pagerest/
There is a category called left libertarian that describes them pretty close. Basically american libertarian + UBI (or other types of wealth redistribution).
I was reading very famous paper[1] today, and I stopped at the following:

"To get an adequate definition of g [<] f we must therefore consider all possible algorithms for computing f."

You see, I was reading this paper because I'm currently looking into various ways of that the symmetries of Turing machines are modeled (I.e., the fact that a TM can emulate any other TM would seem to imply that the concept of an 'algorithm' must have fundamental features that are preserved across this kind of virtualization. Closely related to the concepts of an Oracle, a Non-deterministic TM, and recursion.)

Now, this passage stood out to me because it seemed to be a set-theoretic, indirect phrasing of the exact symmetry I'm talking about. We have to consider all algorithms for computing f in order to recover the features that must be true for all f, and thus give identity to the notion of a general algorithm for f. Which in turn is used to establish theorems about such a general algorithm notion; (critically, its "relative complexity".)

My point being that I would not have expressed this notion in set theoretic language because my intuition wants it expressed in algebraic language. Things are identified by their symmetries, and building theories around symmetries directly is more efficient and insightful than building theories around how those symmetries are embedded in set theory. And when I sit around thinking about how to design a good API or an efficient program, I want to do it by stating what must always be true about the problems I'm solving, in a high-level, abstract way. (I'm not so good at it in practice.)

Set theory may be a simple model of many things, but it is only really intuitive for things that can be easily described in terms of unions and intersections. It is often just extra work elsewhere, at least if you have a frame of mind to see other ways.

[1] https://www.cs.toronto.edu/~sacook/homepage/rabin_thesis.pdf
Right. I get that and agree. The article is about the effective way to actually help with heroin addiction. The comment I replied to said, "An addiction tries to replace a void in someone's life. Chances are big the environment of the addicted played a role in cerating[sic] the void."

"Chances are" he's identified a vague cause? I'm not saying he's wrong, but that it doesn't help an addict to point that out. And again, the article is all about effectively helping the addict.

I don't think we disagree except for in the intent of my original comment.
I think the term was coined by Nassim Taleb https://medium.com/incerto/the-intellectual-yet-idiot-13211e...
So why not perform studies and actually look into whether the inefficiencies and performance problems are caused by insufficient funds?

Oh wait, studies require funding too, so we can't have those.

I mean do you honestly believe that a Republican would propose increasing funding of a non-military, non-security agency if they were shown hard evidence that said agency's problems were in fact caused by lack of money?

Anecdotally, I've worked as a business analyst with many government agencies, and I've found that in most cases they are underfunded, sometimes horrifyingly so.
and thats okay. the M1 money supply is a tiny fraction of the currencies people actually respect, so it looks like bitcoin is working at the same standard those are held at.
Just apply for Nexus. You're harmless. They'll do supreme vetting once and you'll avoid any stupid power tripping boarder guards after that. Since I got that I've spent under 5 mins at the boarder each time.
Well if you have a dozen children it is a safe bet that some are over the age of 12 and have lots of experience with younger siblings, excellent babysitter qualifications.
Every time somebody claims that raising minimum wage inevitably raises unemployment. Sure it does under assumptions of perfect competition but most labour markets are closer to monopsomy in this respect and the evidence is very mixed.
Fun fact: The current standard within the US is AA/NA.

AA and NA are not only wholly unscientific, being invented of whole cloth by a layperson in the early 20th century (for context, lobotomy was a totally accepted psychological treatment for decades after 1935). There was no science whatsoever involved in AA, and indeed Alcoholics Anonymous actively resists any data collection about the efficacy of its techniques whatsoever.

It's main advantages from a US perspective are a) it's free. The costs are borne mostly in the form of churches providing basements and meeting rooms. and b) it's super churchy. We love churchy stuff around here.

So basically we kicked addiction under the rug for the entire 20th century in favor of religious hokum that refuses any objective evaluation of its efficacy, or changing its methods.

I should say, for the record, that there's a lot of people that have been helped by AA and NA, and there's indisputably good work being done there. But it's not perfect and categorically refuses to get better, and its longevity is IMHO more a result of our collective refusal to take the problem of addiction seriously in the US than anything else.
Obama was a community organiser in 1985, 22 years before the presidental election. He had already made political speeches in college previous to that (where he majored in political science). After that he was a civil rights attorney, and his first elected position was to the Illinois senate in 1996, 8 years before he was elected to the United States Senate.

That is 100% traditional career politician in almost every way, it's just he was good enough to do it faster than most people.
I assume that it's supposed to be regularly updated, yes.
I don't buy it, but I do like the general idea of intelligence augmentation https://en.wikipedia.org/wiki/Intelligence_amplification
The Web Audio API was the work of the Chrome team, not the W3C in isolation. I'm right there with you as far as W3C criticism is concerned, but they don't deserve the blame in this case.
Perhaps because so many developers avoid the touch bar macbooks? Everyone I know here has been buying 15" mbpro refurbs to forestall the dreaded day (ie. touch bar or just abandon macs?)
Whether it is a typical expectation or not, I believe the point is it is incorrect.
If raising 3 kids is 3x work, raising 12 kids is not 12x work. The reason being is that as the kids get older they start to take on the chores and helping out with the little ones (unless the parents are morons and don't train the kids to work and assign them tasks). So you have 3 young children and that is 3x work. But, by the time the next three come along, the first three are old enough to help out (maybe 4-5x work) and they are even more capable of helping out when the next set of 3 come along (by which time the second set of 3 have taken over the tasks previously done by the first set of 3, so maybe 6x work). There actually reaches a point where the last set of 3 no longer have to be constantly monitored, fed, dressed, etc. and you have a whole pipeline of trained helpers and the parenting becomes fairly easy (maybe 2x work).
Today's landfills will be tomorrows mines.
Terminal support? To be fair, sublime text is great and I use it sometimes, but if your job requires you to work over ssh then vim definitely beats all modern editors.
We're talking about idols.

https://www.si.com/vault/2001/02/15/299128/sudden-death-glad...
I was trying to get a sense for pre-tax price difference. Sounds like it's 130€.

> Based on what people are willing to pay in each market?

I'd expect it's largely based on that, and that Apple has put a good deal of thought into what they can get out of you guys.
“Business Agile”: Built Upon Sand
IIRC games made pretty good use of MPU-401 intelligent mode to drive the MT-32 module. The first really elaborate game scoring work on the IBM platform came through the MT-32(Sierra picked it up and everyone else followed - it was a good target for composers but in practice most people heard the music on Adlib/SB), so I would consider it successful in that niche.

And on that note, what I think Web Audio tried to be was a drop-in kit for game engines. Getting the full functionality of Unreal into the browser motivated the requirement for audio processing. But the actual implementation was muddled from the start: basic audio playback remains challenging(try to stream a BGM loop instead of load+uncompress and discover to your woe that it's not going to loop gaplessly, even when the codec is designed to allow that.) and my hobby stab at an independent implementation ran out of gas when I tried to get their envelope model working. The spec has a lot of features but not enough detail, and my morale sank further when I looked at how Chrome did it(stateful pasta code). I got something half-working, put it aside and never came back.

OTOH I had also tried Mozilla's system. That was very simple, and I got a synth working in no time at all with decent performance and latency. Optimizing from that point would have been the way to do it, but something in browser vendor politics at that time led to it being dropped.
The Sex Scandal That Toppled SoFi’s C.E.O
Maybe, but even at the end when it was Trump vs. Cruz vs. Kasich Trump polled well ahead. I don't think that quantity really was the determining factor -- I think Trump is just the natural end state for the way America seems to be at the moment with its massive political division and the inability for either side to treat the other with good intentions.

Really agree with this post

https://medium.com/@russroberts/the-world-turned-upside-down...
Drowning into the procrastination infinitum
> With a criminal record and fresh out of prison, she's not going to have many (decent) opportunities available to her...

She was named as a visiting fellow at the Harvard Institute of Politics, literally today.

https://twitter.com/HarvardIOP/status/907977942269091840
Twenty Years Ago, the Messiah Didn't Come
That can be done pretty easily with adaptive subdivision and displacement mapping. You could also just create a super high-poly mesh manually and paint in the dents.
Prediction: this is the sell out costume for Halloween.
pg (and many, many other entrepreneurs and investors) disagree vehemently, positing that startups are about wealth _creation_. if wealth isn't created, how has humanity's global standard of living so radically improved?
What's odd to me is that this seems like it should be bad for Jews, and that they wouldn't want this to be the case, and that in general people wouldn't want a minority treated as the majority group in these cases...

But instead I've been flagged.
How this app Qnect dominated Hong Kong universities in just 1 month
Making Navigator.getUserMedia Work on Android Cordova by Accident
Agreed. That said, the problem is that imperative programming is still used widely in contexts (eg, 95% of web programming) where performance is not an issue and high-level abstractions such as those used in FP are more appropriate. This is almost entirely due, imo, to the paradigm's inertia and to bad education.
The paper says that the input is video + the set of sprites used in each game. This simplifies the problem quite a bit. I tried to work from screenshots of Mario to recover the sprites, and it was a surprisingly challenging problem.
I didn't say any of that, addressing the context in which people become addicted is actionable and valuable, and I'm bowing out of this conversation.
Are Ideas Getting Harder to Find? [pdf]
The question was asked in 2010, but the benchmark post I was referencing is from 2014.

It doesn't appear as if `namedtuple` has changed much:

https://hg.python.org/cpython/file/tip/Lib/collections/__ini...

Running the same tests from the post, I get similar results:

from collections import namedtuple

STest = namedtuple("TEST", "a b c")
a = STest(a=1,b=2,c=3)

class Test(object):
__slots__ = ["a","b","c"]

a=1
b=2
c=3

b = Test()

c = {'a':1, 'b':2, 'c':3}

d = (1,2,3)
e = [1,2,3]
f = (1,2,3)
g = [1,2,3]
key = 2

if __name__ == '__main__':
from timeit import timeit

print("Named tuple with a, b, c:")
print(timeit("z = a.c", "from __main__ import a"))

print("Named tuple, using index:")
print(timeit("z = a[2]", "from __main__ import a"))

print("Class using __slots__, with a, b, c:")
print(timeit("z = b.c", "from __main__ import b"))

print("Dictionary with keys a, b, c:")
print(timeit("z = c['c']", "from __main__ import c"))

print("Tuple with three values, using a constant key:")
print(timeit("z = d[2]", "from __main__ import d"))

print("List with three values, using a constant key:")
print(timeit("z = e[2]", "from __main__ import e"))

print("Tuple with three values, using a local key:")
print(timeit("z = d[key]", "from __main__ import d, key"))

print("List with three values, using a local key:")
print(timeit("z = e[key]", "from __main__ import e, key"))

Output:

Named tuple with a, b, c:
0.147349834442
Named tuple, using index:
0.0364408493042
Class using __slots__, with a, b, c:
0.0334758758545
Dictionary with keys a, b, c:
0.0339260101318
Tuple with three values, using a constant key:
0.0425179004669
List with three values, using a constant key:
0.0301761627197
Tuple with three values, using a local key:
0.0436310768127
List with three values, using a local key:
0.0309669971466
Show HN: Create Your Own Cloud Storage Web App for $0.60/TB per Month
Wait, that's not what you do?
This is why I always go to the comments on HN first. I can usually rely on the top comment to do one or all of the following:

* neutralize clickbait
* provide an instant endorsement (worth reading) or rebuttal (not)
* warn of slow/heavy/ad-ridden user experience
For reference : https://www.audiotool.com/app ( using Flash ).

You just can't do that with the same level of tightness of rhythm on low hardware with web techs today. Flash was bad yet Flash also opened up insane possibilities on the web when it comes to multimedia applications that just can't be matched with Webtechs. ASM.js might fill the gap, but i haven't seen any equivalent yet.
It's more about expressing events in time than audio necessarily... Sometimes it's used just to keep other devices in sync with a tempo, sometimes it's used to control lights, and -sometimes- it tells an actual audio synthesizer when to start and stop making noise.
10 Core Architecture Pattern Variations for Achieving Scalability
https://en.wikipedia.org/wiki/Bill_of_attainder
Not always. You don't want just one or two, but you also don't want the situation where they have to have a JV debate beforehand because they can't fit all the candidates.
I’ll chime in anecdotally in favour of kratom as well. It has helped save multiple people I know from opiate addiction, and has helped me and others I know with chronic pain, anxiety, and perhaps most importantly, avoiding alcohol abuse.

It’s not a wonder-drug, and it needs to be respected and taken in moderation because it is habit-forming. But I believe that it’s one of the best underused tools we have for helping victims of addiction.