jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
It's interesting to see one of my favorite sites doing this. There's always https://openlibrary.org/ which is ran by https://archive.org/ . I imagine Open Library has many of the same books.
true, but swimming against the tide can either pay off really well or bite you really hard
I found this example most surprising:

>>> def foo():
... lst = []
... for i in range(4):
... lst.append(lambda: i)
... print([f() for f in lst])
...
>>> foo()
[3, 3, 3, 3]

...So I looked into this a bit more.

It appears that the lambda creates a closure for i, but i is defined in the outer scope and we capture the reference for i, rather than i's value.

So we can get around this:

>>> def foo():
... lst = []
... for i in range(4):
... lst.append((lambda a: lambda: a)(i))
... print([f() for f in lst])
...
>>> foo()
[0, 1, 2, 3]

It appears that i is dereferenced when passed to the first lambda constructor, which provides i's dereferenced value as a in a scope provided for the inner lambda. Please correct me if I am wrong, anyone?!

--------Edit 2--------

Out of curiosity, I looked at this in Clojure and the way it creates lambdas is similar to Python (captures reference as opposed to value).

user=> (def a 1)
#'user/a
user=> (def f (fn [] a))
#'user/f
user=> (f)
1
user=> (def a 2)
#'user/a
user=> (f)
2

You could do something like this:

user=> (def f ((fn [x] (fn [] x)) a))
#'user/f
user=> (def a 1)
#'user/a
user=> (def f ((fn [x] (fn [] x)) a))
#'user/f
user=> (f)
1
user=> (def a 10)
#'user/a
user=> (f)
1

But perhaps there is another way as well.
> I had a lot of ideas and I wanted to try them, and by building Conception I found out the reasons why certain things that are commonly desired do not actually work well in practice

Can you give some examples? It might be very valuable to share your conclusions.
I switched to a static site generator from Posterous when it was acquired (and ultimately shut down), and I definitely do find myself writing more posts on the blog. Writing a post is as easy as creating a new markdown file, writing in it, then `middleman build`, `git commit -a` and `git push` (which I could definitely automate further).

Of course, I probably consider this workflow easier because as a developer I'm already perfectly comfortable with git, and with working with source files. I can just open a terminal and type `vim /path/to/blog/new-post.markdown` and start writing. I find Wordpress slow, fiddly and limiting by contrast.

I'm not uncomfortable making the extended inference that most who prefer markdown for posting are at least very computer-literate and quite possibly software developers. I tried to sell my wife (a writer) on markdown and she didn't get it at all.
> it isn't a particularly magical or a trap.

Erm, that's not what I meant and I suspect you know that. I didn't assert it was "a magical [something]" or anything, just bad UI. Open Notes, edit a document, close it, go away, expect it to be synced on your iPad: fail. And no normal user will do CMD-S, that was the whole point of them abolishing explicit document saving.
Correct. I didn't exercise. I basically did startups and that's it. Folks who do sports claim that if you already are in a regimen, you can switch without too much difficulty, but starting an exercise / sports regimen when on polyphasic seems almost impossible.
And so the reach of the CFAA continues to creep outward, transforming more minor violations into felonies.
I would argue that having your own company just shifts the control from your boss to your customers. The one difference is you now have more control over resources.
My first thought when reading the article was to prohibit RIAA and MPAA from visiting torrent trackers etc. You can even preemptively send them a C&D letter in pretty legalese.
I presume https://en.wikipedia.org/wiki/Restructured_text
The only thing he is sorry for is getting caught.
It’s definitely a problem worth focus. I recommend networking with some of the finance folks. It’s as simple as a lunch meeting, ask them about some of the projects that are in planning phase, offer your assistance. You’ll have to figure out what is the post-COVID equivalent.

I find some in finance and IT get along fairly well and can build a bigger rapport fairly easy. We’re all excel nerds and many of us have taught ourselves how to program to an extent (VBA, etc).

Depending on the organization, we tend to be more focused on leadership support. A junior analyst will get much more face time with VP and up than down. So that’s part of the problem is those connections just don’t always exist. When they do, it might be with an IT director which has maybe become too far removed from codebase or implementation challenges. It happens with every department within the organization, not just IT. My experience is outside the software industry so may work a little different if sole function of the company is software.
That's good then.
That’s good stuff. Now if only consequences would come about for everyone else involved in the attempt to overthrow our democracy.
I saw the name and my desire to read it plummeted. The same person wrote http://www.joyent.com/blog/the-power-of-a-pronoun which led to one of the most talented developers of node core and libuv leaving the project for a while.
This case was actually at the border though, which no one would dispute falls under the specific Constitutional item.
They estimate CrowdStar is worth around $400 to $500 million and OpenFeint around $400 million (using Playfish's and ngmoco's acquistions, each for $400M, as comparables).

Are there any YC companies that have similar valuation estimates?
Unlike the things you take with you when entering the country, your home is still legally protected from unwarranted search and seizure.
The argument was not that X phone on carrier Y will be dominant but that the Android OS in general would be.

Two years is a pretty short time frame in the grand scheme of things, MySpace was dominant in 2006 but it wasn't an overnight switch to Facebook. My whole point is that things continue to change, there is no winner if the race never ends.
Nice!
However, "Help" and "Warning" need another iteration ...
"AHU --> CLR"
Would you mind expanding these abbreviations?
Left that job and am going to be a full-time grad student!
For me, if it can't hold a 4x8 sheet of plywood flat in the bed, it's not a truck.
Counterpoint, I bought my dad a chromebook and he bought a random printer on Amazon. Works fine after connecting both to the same wifi.
There are certainly challenges, but "incorporating a world model" has been going well recently: "Mastering Atari, Go, Chess and Shogi by Planning with a Learned Model"

https://arxiv.org/abs/1911.08265
You can't search by arbitrary Unicode characters?
This is a pet peeve of mine as well. A lot of undergrads are not really looking around any more. Universities offer their first data science courses in year one. Undergrads mapping out their paths towards becoming research scientists with dollar signs in their eyes.

I think this is not wise career bet at all. There will always be spots for a select few 'pure ML' grads, but at the post phd level the really good jobs are getting pretty thin unless you come from the right adviser + right school + right publication track.

On the other hand, if you add a secondary useful skill, like having a really good understanding of distributed systems, or networking, or databases, or embedded systems, or being 'just' a solid overall software engineer, you (i) have something to fall back on if ML dreams do not work out, and (ii) have an edge by being just the right fit for specific teams, while also still competing in the general pool.

I think there will be a rude awakening on this in 3-4 years for many.
And Apple bought NeXT which is what macOS and iOS are based off of. A purity contest of "from scratch" isn't really relevant. Google clearly put, and continues to put, a lot of serious technical work into Chrome and Android which is reflected in their success.
This doesnt really have anything to do with Nazis. This was a few people who were really unhappy with their government and who actually stood up against that. Something to respect, even if you do not agree with their point. Because if they get caught, you can be sure that they will spend a few decades jailed.
<parody>

Okay, let's retroactively suspend John McCain for singing "Bomb, bomb, bomb, bomb bomb Iran" on a hot mike.

President George W. Bush should be suspended for invading Iraq on false or flimsy pretexts, resulting in 6,000 American soldiers killed and hundreds of thousands of Iraqis.

Obama lied when he said "you can keep your doctor, you can keep your plan" eleven times and this turned out not to be true (90% anyway). Shouldn't the social networks censor patently false and misleading statements by a very influential leader?

Ronald Reagan said something about launching the nukes on the USSR, I don't remember the exact quote. Cancel him off social media.

Et cetera.

</parody>

The harm in censorship is that it actually reduces the flow of communication and information, for future historical records as well as for the present.
I think he called Trump facist
It will. Plenty of people in my own family who've been Trump staunch Trump supporters through thick and thin were appalled by what happened on Wednesday. If the Republicans want to heal the country, they have to reassure these people that there is a path to normalcy and it involves rejecting this kind of extremism.

The worst thing Republicans can do is pretend it's all business as usual and force these people to choose between 'the evil Democrats' (who they won't support, ever) or 'our guy who might try a coup here and there but at least is on our side'.
He was removed from one of the largest public spaces for speech, which is against the spirit of the law, and everyone else was also hindered in hearing his free speech, which is even worse and is also against the spirit of the law.
Does anybody have a solution to the bigger underlying question of de-platforming and censorship on online platforms?

As far as I can tell, there are two general viewpoints:

a) Censorship is bad, free speech is good. You should counter bad arguments with better arguments.

b) There are types of speech, which are proven to lead to violence in the long-run. Also, some things can be proven as untrue. Lies are bad.

I have to say, I agree with both of those points. I think group A is missing the point, that there are echo chambers and people radicalizing within their filter-bubbles up to the point of literal terrorism, while group B is missing that the power to censor can be misused by bad actors in the future and that silenced people will not just change their mind.

Is there a proper answer for someone like me? Where should I stand on this? I am leaning towards group A, while acknowledging that radicalization does happen and dearly worrying about perversion of words like "truth" or "fact" ("your/my truth", "alternate facts").
To all those saying that this account should not be suspended because a president's messages should not be blocked, Twitter did not ban @POTUS, only @realDonaldTrump. The office of the president is not silenced, only the personal account of the current president. If something important comes up he can tweet via @POTUS (for another 12 days or so, anyway).
> We need more discussion, not less. We need to get both sides talking to each other

Parler heavily moderates away any non-right-wing content. There was never "both sides" on Parler. If it's actively being used to plan and execute acts of violence (arguably terrorism, given the death, bombs, and more that we've seen this week), how does keeping Parler around bring anyone together?
I'm not too familiar with Posterous, are all links nofollowed? Can't you post arbitrary HTML to your own blog?
Step 2: Don't follow random advice that doesn't take into account the particulars of your situation.
The HL7 V3 standard has a fairly good data model for dealing with names.
http://www.hl7.org/v3ballot/html/infrastructure/datatypes_r2...
Combine that with Unicode and you can solve the majority of problems.
Hacker News is a site that is crawled very often by search engines. Even though outbound links are nofollowed, the search engines still follow them and count them as links into a site (they just don't pass pagerank). So the theory is that if I post a spam link on Hacker News, if it stays up for an hour before being flagged, that should be enough time for search bots to crawl their way back to my site.
I think you've posed the exact hangups I have been trying to identify for so long. In the same message you even respond exactly as I would and label them as "hackable and fixable". I'm even more floored that you can so easily assert the barriers and noise that is so obstructive to the solution. I could not be more in sync with you.

All of this indicates to me that your years of experience have taken you down a similar, if not, the exact same path that I face ahead of me (Age: 23). Having identified and explored so much of what I'm experiencing so quickly and easily (in several paragraphs), I'm curious to know if you have a further understanding of the hacking and fixing? If any exist, I would hate to struggle for extended periods of time exploring my own. I'm already 3 years behind!
And sabotage or not, there was plenty of blame to go around, and not limited to policies and processes that can be rightfully put on the corporate office; much of the tactical damage control and safety issues were pretty much in the complete purview of the local populace actually working there, some of which reportedly RAN AWAY rather the performing prescribed safety procedures.
So where are these employers that are over-paying employees.
i wouldn't place this in the same realm as the Taliban (since they kill anyone)
“SDK” is a much less useful hard boundary than “Web API” for where I stop providing service. Should I provide an SDK in every language a client might use? If they want to access my service in a language I don’t support, should I tell them to piss off? I could offer for them to just hit the API themselves, but then we’re back where we started.

On the other hand, if I offer a web service and some someone asks “but what if I can’t make HTTP requests?” I’m _perfectly_ happy to tell them to piss off.
Seven different organizations have been paying me (in part) to write code since 1993.

> Companies want cheap, throw away talent.

I've read and heard about this, and I think it's probably true in many or most cases, but I haven't had this problem in my career.

I'm better compensated now than I ever have been, and when I want to move, it's easier than ever to get a good position.

A little bit of context: most of my professional career was in the south and midwestern US, but the last decade has been in the San Francisco bay area. Also, while I've always been a software engineer, I've always worked more on the 'operational' side, often called 'devops', 'SRE' or 'production engineer' these days.

I wish you the best going forward.
But they're cluttered by default. Visual Studio doesn't look like that with the default settings. Here's my Webstorm (same platform as IntelliJ, just limited to html/css/js) http://i.imgur.com/cHsAcj3.png
I think he has a good chance of finding ways to slow down the aging process and buy us some time, just like we've managed to extend lifespans heavily through other advances in medical and related technology. However, I have very low confidence that that direction of research will manage to completely solve the problem. We have far too many ways of breaking down, and not all of them seem solvable by patching. I have somewhat more hope for a solution from the AI camp, personally. I just hope the Uncomfortable Truths Well (http://xkcd.com/568/) doesn't prove correct.
I feel compelled to respond to one particular point: Yes, you can LOOK UP facts for yourself rather than rely on the vote count of a comment. But honestly, the expansive tome of information that is HN is not just a series of threaded facts. There is a vast amount of advice, warnings, interpretations, and arguments based on deep experiences and personal trials that are not subject to a simple Google search.

We hold up individual critical thinking to such high esteem that we seem to dismiss the value in the collected opinions of others.
I was using pyparsing for the first time yesterday, and I printed off the UML class diagram as it was the most effective 'cheat sheet' available.
Or use a shell extension: http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext...
Re: 1 - we linked to the chrome page because that has the most complete info about the application, plus user reviews.

Re: 2 - we'll surely admit that the UI is not great right now -- but we are improving with each release. we want to get it out to people as early as possible, though, so we can get real feedback and build accordingly!
Important in web development is using the right tool for the right job. Getting to market (and profitability) is more important than simply geeking out. As applications become bigger / more complex / scalable then they may fracture into different components to handle different areas better. For example, you might use Ruby and the Rails framework to get an application up and running quickly, but as the application gets more usage you might have to replace bottlenecks with different services in different tools. Take a look at the stories of apps such as Twitter, Facebook and Heroku for examples.

So, I suppose it depends on what you want to do with web development, but if you have a project in mind that you want to build out quickly, then perhaps you would be better off sticking to Ruby, Python, etc. If you are looking to land a job, then you probably need to stick to where the market is (niche areas are better paying with less competition but there are also fewer available positions.)

If you are looking to just screw around, then why not just build whatever it is that you are looking for if you can't find it? That would seem to be a great way to learn.
(a) Why are these mutually exclusive? (b) “Math wizardry” in the context it’s being used here means something like “able to think and focus in a deep and prolonged way about the connections and patterns in numbers and structures”. This is about as useful a skill as you can develop in a huge number of fields, including most sciences and engineering disciplines, finance, architecture, mechanical jobs like auto repair, many kinds of art and music projects, some of the trickiest aspects of law and government, and so forth.
You mean when it wasn't up to your standard?

The total number of upvotes on an article determines what the wider HN community thinks of it.
Maybe people here remember, but a few years ago, I saw some virtual instrument emulating Knopfler's sound, to the point they were proudly playing a MIDI score of Money for nothing and it actually wasn't shitty.

ps: I'm tempted to say Guitar Pro, but I can't back this up searching the web.
Printing presses are and have always been expensive. Those who can organize people to pay for them will always have that advantage over those who cannot.
> I don't remember the last time I engaged myself with hard problems

Do that. Forget about some impossible to quantify long term goal about being smarter and set a goal of solving a hard problem that should take you a few hours.

When you solved it, do another one.
"Javascript: The Good Parts" is not a beginner book. For a complete beginner it is overwhelming.
You're missing the point: Business ideas do not need to be either unique or non-trivial to succeed when the goal is so small; he's not building an empire here.
Are they thanking (loving) "Apple" in their release anywhere?
Here's a feedback thread if you have thoughts:

http://envolve.com/s?pm3
In my case, I'm in the process of setting a phone call with a certain chimp. :P
My project could potentially help MailChimp get more potential customers, not a new concept.. hopefully I can draft out a decent delivery plan on the idea.

I think both MailChimp and Twilio did really well in this aspect to give back to the community.
I'm more and more convinced that Net Neutrality will be very damaging to the Internet.

Wireless is not fundamentally different than wired.

That's irrelevant: wireless is still young with lots of competition going on. You don't fix something that ain't broken.

And about your problems with Skype, you don't know lots of details, like: can Verizon actually handle it? Or who's to blame, Verizon, Skype, the FCC?

Same with text messaging... a total scam at this point

Yeah, it's called capitalism.
What? Do you want regulation on that too?
I taught Singers' Diction in grad school for several years.

Technically, "fire" contains a triphthong, three vowels in a row, and is thus one syllable. In International Phonetic Alphabet, it's [a] then [I] then a schwa, which I can't type in ASCII.

The only other triphthong in English is the one in the word "our" or "hour", which is [a], then [U], then a schwa.
“If corporations are allowed to prioritize content on the Internet, or they are allowed to block applications you access on your iPhone, there is nothing to prevent those same corporations from censoring political speech.” said Mr. Franken

Oh great, so once these rules are passed companies like Paypal and Amazon won't be allowed to censor political speech such as that by wikileaks? Somehow I have a feeling these rules will cause the exact opposite. I'm much less worried about corporations censoring political speech than I am the gov't.
> Those over 20 are due to get their first dose by the end of July.

What do you mean by due?

Ministers have said this will happen but there has not been much else backing this up AFAIK. There was a vaccine roll-out plan from Jan which merely mentioned all adults by Autumn. I haven't heard of an official, detailed plan regarding the healthy under-50s.
I have no idea. As I said, I'm not too familiar with the previous-generation offerings.

The SD card slot is a yawner, since you can do that with a USB reader. HDMI out makes it potentially interesting as a entertainment center device, but at a $700 price tag, it's difficult to imagine justifying it over other more flexible solutions, unless the form factor is a big deal to you.
They'll stop pumping money into the national oil fund, a bunch of people in the Norwegian oil industry will have to look for new jobs, and the cost of living will probably slowly trickle down to the same level as the neighbouring countries.

The oil industry contributes a large part of the GDP of Norway, but it's not a large employer.
Did the old ones have an HDMI output and SD Card slot? I think that's what new in this model... The re-design is essentially the internals I think
Who cares? It's enough to make me think it's less about homophobia and more about Apple's prudishness. And that's enough for me not to give a crap.
I've been throwing around some ideas, and I know that RiderOfGiraffes has, as well...
I'm a mathematician, and technically know many of these connexions, but had never seen them laid out all at once, and so clearly. Thank you, and bravo!

> Next, do you want to hear why fire engines are red? It has a similarly convoluted story :)

If that wasn't a joke, yes!
Things do not cost less in real terms under long-term deflation, because your nominal wages and assets will fall at the same rate as the prices of the goods you buy.

Inflation vs. deflation matters because of the incentives they provide for asset balances, not because consumer goods are more or less expensive.

Inflation incentivizes storing value in investments, which makes capital available for innovation. Deflation incentivizes storing value in currency, which does not. Which is better for long-term economic growth?

edit: grammar