skysight-inc/HackerNews huggingface dataset:
Most likely yes. It would seems unfair for us not to get paid for working
What's the fourth way? The article only mentions three.
Not talking about how it looked. Talking about what was required in terms of technical skill to produce that. Gates was a pretty good programmer in his teens. Zuck was a LAMP developer, I very much doubt he matured from a LAMP developer to a AI guru in 10 years while running a billion dollar company.
It's sgd btw for the currency.
Someone made a good argument that in order to support lots of languages, you actually need general functions not just strings to be put into .format() or interpolation.

That's because some languages have complicated changes in the text depending on eg the number of things: not just singular/plural, but more complicated. Russian is one example.
127.0.0.1	facebook.com
100,000ft isn't even close to Low Earth Orbit.

Isn't calling that a "satellite" mis-representation? :(
Ask HN: What are the fundamental tradeoffs in programming languages?
I read about Peter Naur passing away today, and found myself spending a long time learning about BNF [0]. This re-opened a question I've thought about awhile, but never really had a chance to discuss with full-time developers, core language developors, and CS theorists. I've worked some with C, Fortran, Python, and some Julia, and have seen some of the superficial tradeoffs (e.g. antipatterns in Python being slow, C having a steep learning curve).

What at the deeper level separates languages? What keeps languages from implementing things

A) Fast

B) Simple syntax

c) Ubiquitous across architecture?

I imagine sometimes it's a core dev issue, like Python's UTF-8 implementation between 2 and 3.

More than a specific language issue, what kinds of tradeoffs are faced in the design of a language?

Looking forward to the answers!

[0] https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form
Yeah, so the "law" as stated in the Wikipedia article is not correct.
How fair is it to compare this round of late-stage devaluations with the dot-com bubble? From what I've read/heard, "irrational exuberance" is an apt description of the scene in the late 90's and early 2000's. But it seems like this latest tech business cycle has taken on a different flavor.

Coming off the tails of the financial crisis and great recession rather than an era of relative peace and prosperity in the 90's, this latest round of tech investing has been surrounded by a lot more vitriol and fear than the accounts I've heard of the dot-com bubble, where almost everyone was benefitting from a booming stock market and strong economy, optimistic about the future of the internet, the country, and the world.

A prime example that really struck me the other day was PGs article on inequality. [0] In it he expressed that he felt like he was a wild animal being hunted - one of the most successful, famous, and well-respected VCs in the world feels threatened by macroeconomic rumblings? And he's expressing it publicly? Did this ever happen during the dot-com bubble? [1]

Perhaps this fear is a good thing, a tempering agent. It seems large, late-round pension funds and institutional investors (who probably manage a great deal of this country's retirement/savings accounts) are being cautious and performing due diligence on these tech investments, rather than simply going along with the crazy valuations and riding the bubble for higher management fees and bonuses.

[0] http://www.paulgraham.com/ineq.html

[1] "I feel rather like a wild animal overhearing a conversation between hunters. But the thing that strikes me most about the conversations I overhear is how confused they are. They don't even seem clear whether they want to kill me or not."
Mark Zuckerbeg's New Year's Resolution
The motivation for PEP-0498 given in the article was the difference in verbosity between these two lines:

"{} {}".format(a, b)
"%s %s" % (a, b,)

That's not very convincing. I was hoping this article would make a good case for interpolated strings, since it's starting to feel like Python is having an identity crisis. Type annotations especially took me by surprise, but string interpolation is another good example of an addition that doesn't feel like Python (imho, anyway).
Being a die-hard Python user on a daily basis, I concur. I think these core devs should not invent too many new syntax and ways to solve problems which don't need to be added to the language.

I am not sure why i18n is a big deal, let another library deal with it.

Whatever, I have the choice not using this feature after it is accepted and implemented. Their PEP discussion on email always ended up in tangential. Problem I always have with string manipulation is dealing with long string, which for coding style I'd split into multiple +, and thus using format is pretty ugly.
Guess this is what billionaires do with their free time. Bill Gates did this to his house many moons ago.
[video] Samsung Gear VR Rink Hand Motion Controller Demo
Oct. 7, 1994 - By this time, the magic is wearing thin, and Woz has gone from exhilaration to borderline disgust. Ten days ago, he was euphorically calling the Magic Link the best computer consumer product ever made. Today, be fears his friends have made horrible engineering mistakes. I watch as Woz goes out to buy still more Magic Links to try to discover the source of the problems so he can help his friends fix them.

One more story to add to the "Woz: a real mensch" pile.
I'll just leave this here: https://www.python.org/dev/peps/pep-0020/

"There should be one-- and preferably only one --obvious way to do it."

There are a lot of warts on that snake, but I still really like using Python.
Oh ^_^ sorry!
What a decade of business travel has taught me
[Too late to edit] Please tell why the downvotes. Logically, I conclude that I am correct.
Expectations surrounding education have spun out of control. On top of a seven-hour school day, our kids march through hours of nightly homework, daily sports practices and band rehearsals, and weekend-consuming assignments and tournaments. Each activity is seen as a step on the ladder to a top college, an enviable job and a successful life.

Small-print: Successful life not guaranteed. Neither is happiness but we didn't specifically mention that.

For me the depression stemmed from existential nihilism paired with a lack of control of what I had to participate in. It taught me, once I was fully in control of my own time and energy, to be careful with who I spent time with and what I was doing with my time. Not in the Get-Shit-Done sense, more in the Will This Shit Affect My Zen-State. Often the answer is Yes so instead I play games, drink beer, read, hang out with my partner and friends and occasionally make cool things.

I won't be remembered in 200 years, few people will, but at least my time was mine.
I agree wholeheartedly. Common wisdom states that 'spreadsheets don't scale' but I wonder if that is because we haven't built good enough tools to facilitate that. Imagine if developers developed in spreadsheets and as much effort went into creating new paradigms within them as has gone into programming language design.
Yes it comes from statistical mathematics
He learned Mandarin Chinese in one year. I don't think there is any question of intellectual capacity.
I fail to see how the subject of the sentence has any relevance to how offensive it is, if it indeed contains disparaging remarks. If I wrote in a blog post

> I stopped being a stupid ni _ _ er and smartened up

any well adjusted person would be offended by that statement. Even though I was referring to myself.
Given twenty years and the combined engineering budgets of every major technology company during that time, General Magic could probably have solved them all too :-D
I've put that in my reply above. We need to have taxes to regress speculation which will see land prices fall and will replace much of income tax.

Have a read of the link or many other sites on LVT.

I think we also need to deal with money creation by private banks. This has been an absolute disaster since it became effectively unconstrained with the end of the gold standard. (not that I'm a gold bug).

It's the issue facing our generation, and the next. Just look at SF where land prices have made it very expensive to live there as ultimately all productivity gains flow to land prices rather than to workers.

And to the guy who replied below you need to put some effort in I'm afraid:

https://en.wikipedia.org/wiki/Land_value_tax

Basically you can't pass on LVT via rent.
Inherited wealth shouldn't be taxed at all: the testator has already payed the taxes when he was earning all those money he left. Taxing it again is just plain robbery.
The article hints at one explanation, namely GM's consortium of BigCo backers being so huge that it could never really come to consensus on a single vision of what exactly GM was supposed to be developing. So they end up getting pulled in a dozen different directions chasing the particular needs of each backer, instead of putting all their energy behind one product.
Here's a developer introduction to Magic Cap from 1995: http://www.mactech.com/articles/mactech/Vol.11/11.05/MakingM...
That is exactly what I thought about.
No argument about hp, but why Google?
There is an assembler that does more intelligent things - https://github.com/Maratyszcza/PeachPy
But I think saying "Mark Zuckerberg had help building facebook" is different from saying "Mark Zuckerberg can't possibly implement the new AI algos on his own", and the latter seems to imply he's some sort of an idiot, which he's not.
Their service used to be called Internet.org, but after getting called out by the EFF and others for not being the internet, Facebook rebranded it.

It's definitely a front for what Comcast et al have been trying to do to destroy net neutrality. The only difference is that it's under the guise of a "helping the poor" facade, and you've been fooled by it.
Physical books are not digital, therefore cannot have DRM. Also, DRM is about managing the "rights" of the copyrighted material's producer - not the end user. Chaining books in a public place maintains the book from being physically stolen, taken from the public's possession.
http://www.theguardian.com/technology/video/2014/oct/23/mark...

http://qz.com/532834/mark-zuckerbergs-20-minute-speech-in-cl...

Does not seem as if he learned it. He's learning it. See this is the sort of shit that I am really against. He speaks a few words and everyone is like see amazing. See he created Facebook all by himself, amazing!

Let's do some more hero worship.
To encourage the pursuit of financial independence from government at a reasonable retirement age:

- Progressive tax on consumption. No tax on labor.

- Zero capital gains if total assets is below $2M.

To discourage foreign home ownership:

- An non-primary residence or foreign investment in real estate can only be leasehold, maximum 25 years. At the end of which the control of property reverts back to the original owner and/or their beneficiaries.

To minimise effect of money on elected representatives that can't be removed mid-term:

- All bills voted by the public. Every citizen can elect a proxy for their votes. There are representatives, but the term of a representative is continuous rather than discrete 4 year terms, and anyone can be one.

To ensure affordable health care:

- Set up a government monopoly on purchasing pharmaceutical supplies, along with price ceilings for every type of drug that must not be breached to be eligible for purchase by government. Citizens may purchase drugs that are not on the list of drugs the government say they will purchase, but it must be imported from abroad.

The primary goal of government is always be security from other governments, so that it's citizens can live without subjugation. All other concerns should be secondary. Health and education is useless if next month the country will be invaded and its citizens exploited economically. All other concerns are secondary goals.
I somehow doubt thats the most efficient use of his time but thats his right I guess.

Anyone can have a go at this. Why not pick something that is both challenging and out of reach of "lesser" mortals. Kinda like Bill Gates & his crusade to eradicate Malaria.
Massive wealth accumulation isn't just about having money to buy things, it's about influence, and entities with the ability to marshal more than x million dollars per year (Apple, GOOG, Unicorn LLC) would still need to exist. If your policy became law what would stop people from simply dumping huge sums into businesses/non-profits that they control? I believe capping yearly income would introduce a lot of weird bugs into our system without fixing (m)any real problems.
Production was suspended for 30 years. Resumption seems pretty noteworthy. Nobody is claiming this is some sort of first, and if it doesn't interest you, then move on. If you're interested in deep space probes then this is pretty important. If not, it's not.
> If you can't understand the code, how did you know it was a void function. Please stop with the hyperbole, it's not adding anything to the discussion.

I understand "void" perfectly fine, but understanding how D optimizes your code is a completely different matter. Playing devil's advocate further, you

> IMO program size is an almost meaningless statistic outside of code golf challenges. LOC is not an indicative measure of code readability, usefulness, or organization.

No, but the numpy code is undoubtedly much simpler, and very general. How does the D example look for a 3D array where you want to average over the second dimension?

> For example, your Fortran code was 11 lines while the D function (with the return) is eight lines.

You're neglecting the library imports.

>So when your program needs to do anything other than number crunching, it's normally done in a separate language. Using D you can have everything in one code base.

I do agree other languages are much better for e.g. string processing. But for the applications where you can afford to trade simpler code for 50x slower performance, I'd say you're not really caring about performance at all, so why not just use Python? If performance is mission critical, a two-language code base (Python + C/C++/Fortran/CUDA) is not that hard to do, fairly common, and will give you the required performance.

> Bringing up Fortran's speed here is like commenting on how much faster C++ is in a thread about Ruby.

No; once you start saying "I want more performance than Python", it's obviously interesting to see what level of performance a "low-level" language gets, to put the result in perspective.

Now, I'm not trying to beat down on D, so please try to interpret this as constructive criticism. Finding "where does it fit in the scientific toolbox" is what makes or breaks a language's adoption in the scientific community. Just look at R, it's at the same level of performance/abstraction but in a separate niche from Python, and doing very well. The same goes for Matlab (which has e.g. Simulink).
Not a fan. We already have 2 ways of formating strings in Python, we really should not bring in a third one.

It may be true that

"{} {}".format(a, b)

is a bit verbose, but it is crystal clear and clean. Just remember the Python Zen: "There should be one-- and preferably only one --obvious way to do it." _and_ "Explicit is better than implicit."
That's not DRM though. Nobody stopped you from making a copy without the chain. (apart from the fact that it would take ages and be quite expensive a the time) Actual theft protection is not DRM.
Tips for Uber, from a Backseat Driver
Why I’m Being Tough on the Banks Re: Blockchain
I have lost all motivation for lesser challenges. I can't be excited about a very specific project with a doman-specific purpose.

One could probably summarize my mission as to bridge the gap between consuming and creating software. Sometimes, I tell people that I'm creating a new language (which I am).

A tree is just a unidirectional graph. Most file systems use the tree structure which is crippling. I'd like to know what's better and more flexible than a graph.
The dominant culture says you are a loser. Well done to you for having the confidence to stick to your guns.

Problem is you can't opt-out fully because you have to live and for that you must pay banker tribute via rent.
I agree with this. Big companies in Japan do tend to be more established, and thus more likely to be "traditionally managed," so it's tempting to generalize to all big companies.

As one of the anecdata at a company of around 70 people, almost everyone is on flex time, aside from specific departments like customer support. There is no pressure to work overtime, though many end up doing so in order to meet specific deadlines. In addition, everyone freely uses vacation and sick time. In fact, I have previously been told that I should use more of my vacation days.

Edit: I should note that there are only a handful of people here who would meet the description of a typical salaryman.
PEP20 sound amazing, but then when this only way end up being way too verbose/ugly, you are kind of stuck with it. Compare:

#python
import re
m = re.search('(a.+)(d.+)', 'abcdef')
if m:
print(f"{m.group(1)},{m.group(2)}")

#perl
if('abcdef' =~ /(a.+)(d.+)/){
print "$1,$2";
}
> Why were the constraints of the game so loose? It even gave unprivileged SSH access to the real machine, outside docker!

Usually you are not expected to come up with 0days in CTFs (although 32C3 CTF actually featured a "0.5"day-ish bug in a different challenge that was not considered a security issue before). The challenge here was to realize that you could pass a directory file descriptor to the container via a Unix socket, not to break out of a well-configured docker container. The latter would hopefully be a bit harder to do in just a few hours of time :)
Ron Swanson?
Godforsaken Sea - Lundy
https://rebrickable.com - A LEGO database that shows you which sets you can build from your existing collection, also includes thousands of fan-submitted designs.

I started in a few years ago, but over the Christmas break I put a lot of time into it and it's growth has spiked quite well as a result. I need to upgrade my servers now :/
Of course you're technically correct, but I find it quite common for Americans to understand that "no accent" refers to General American, even if they're not aware of the term "General American."
There's a page that talks about why it's not available on paper [1] (why it's not on the same domain, I have no idea.)

They don't mention thermal printing which I think about every time I want to print an eBook but then get too lazy to look into it. Is thermal printing on standard size paper a viable thing these days?

[1] http://www.eastcarolinapreppers.com/?page_id=2601
I've had a sci-fi-villain-hunch about this guy for a long time and this just takes the cake. This is straight out of Ex-Machina, except for the hot robots but who knows, maybe next year...
I think that's pure ass-covering. The reality was they just couldn't deliver a product that wasn't riddled with bugs, leaving the consortium partners scrambling to integrate the OS code with their hardware, and trying to raise hell to fix the situation. All they got from GM was rainbows blown up their *. (I worked for Motorola at the time, see comments elsewhere.)
Notions of "success" often include no consideration whatsoever of happiness or general contentment with life.

We moved to one of the top ISDs in Texas years ago, ended up pulling our kids out and home-schooling. It was a hyper competitive, near-toxic environment. No thanks.

I have found the recipe for well-being to be pretty simple: good health, work I enjoy, good relationships, community, time to be quiet. Don't need much else, imo.
You'll also need to emp proof your laptop ^_^
I have two theories:

1. Similarly to bourgeois in the Russian Empire they believe they can aim the redistributing horde at their enemies while remaining safe themselves.

2. Note how it's always the income inequality and never wealth?
If everybody's income had been the same then wealth had much more value. E.g. if everybody's income had been limited to $100k pa then somebody with just $10M in cash would had more money (and hence influence) than anybody who stated at 0 could possibly make in their lifetime and such a wealth would have never been surpassed. If you are seeking rent from your wealth then limiting everybody's income is a pretty good strategy usually expressed as "fuck you, got mine".
so... tell me, are you making more from selling your 'how to be an entrepreneur' stuff as you would from working full time as a programmer at a top-tier bay area company?

My experience is that getting to that level of revenue is pretty easy. Anyone can sell something if it's actually a good deal. Getting to the point where you can actually pay yourself that much? pretty difficult. My observation is that most people who got to that level as entrepreneurs got there more through the contacts they had than through their technical skills they had. Of course, not all; I can certainly come up with counterexamples to that rule.

Working at a big company, on the other hand? in my experience? it's really pretty easy.

most of the value of college, yes, is the contacts. But having a list of names is to contacts what one of those scammer emails promising to wire you money is to having a bunch of money actually in your bank accounts.

It follows then that if I'm right that it's mostly about contacts and the assumptions people make about you, you would have gotten nearly all the value you could have gotten from your college experience if you quit four months early.
There should be one-- and preferably only one --obvious way to do it.

Hoping for a decision from the core team – having both f"" and .format is a pretty clear deviation from this principle.
So the persistent storage was RAM? How did anyone think that was a good idea? Was flash just too expensive?
“They” could put string interpolation in the __future__ module:

from __future__ import string_interpolation

:)
No matter how well you market or sell basic income, it has to be paid with by taxes on someone.

The people being taxed for basic income will feel like they are being targeted or hunted.

We are reaching a social security crisis as the Baby Boomers retire and there will become more people on social security than working to pay taxes to support it. Either the fed increases taxes on workers or they print up more money and go into debt.

Whomever becomes President in 2016 is going to have to clean up social security as well as address this income inequality issue and basic income.

In all honesty if you put a 80% tax on the rich, they will just move out of the USA to a nation with lower taxes and move their business and jobs there.
You don't have to use + to join strings on multiple lines. Here:

>>> (" foo "
... "bar.")
' foo bar.'
‘Clean food’ is a dangerous fad
A lot of the groundwork has already been done. It's not as though he'll be piecing it all together from nothing.
Ah, yes. Also, if you yanked the Envoy battery the wrong way before proper shutdown, total data loss. (The Envoy battery was not internal, but an integrated part of the case.)
The 90% tax rate is completely misleading, as there were so many deductions and loopholes that hardly anybody ever paid it.
Every time somebody brings up the 90% rate, it's always someone on the left attempting a "We could raise tax rates a whole lot more; just look at how high they used to be". It's one of the most disingenuous arguments in politics.
Also not a fan. The two existing methods of string formatting are sufficient:

"%s %s %s" % (a, b, a)
"{} {} {}".format(a, b, a)

If you want placeholders to match variable names, you can do:

"{a} {b} {a}".format(a=a, b=b)
"{a} {b} {a}".format(**locals())

So this is just unnecessary (especially since the "f" prefix is easier to miss than a "format" method):

f"{a} {b} {a}"

And this is downright obfuscated—putting operators inside of string literals:

f"{a + ' ' + b + ' ' + a}"