jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Linux and GNU started as fun projects though, right? Company support came later.

And in a sense, maybe one could say that each company is in a sort of socialism vis a vis each other? The Linux foundation is made up of multiple companies. Yes it is for monetary gain, but in the extreme case of total socialism, everybody works toward personal gain, and that's all that monetary gain represents in the end anyway.

You're right it's clearly not total anarchy, but the anarchist aspect works out way better than I would have expected before I was exposed to it. I think it's got aspects of both personal interest and cooperation. I think both have their place in life.
yeah, thats kind of interesting. I think we will need to define "live improvement".

I can't find much in social networks. I cannot imagine calling a person pouring through the wall of friends feeds' live is much improved.
tl;dr
I never went to Walmart because it was dirty and hard to navigate. Once they cleaned it out, there wasn't anything I wanted to buy!
it is tech company. core of their functionality is an algorithm (no matter how simple) that lets its company to function.
That tells you how bogus his review was. They didn't really think he was an easily replaced average Joe cog, but they had to fill all their various slots and, I suppose in their view, he should have been happy not to have to been allocated to a worse one.

It's grading on an arbitrary curve, not on merit, "There is no way to tailor the rewards of the team to the actual performance of the team."
> 2. $1.3 trillion debt

Good luck collecting on that. Forcing the US' hand on debt only does two things:

* Accelerates the departure from fossil fuels (where capital flows out to foreign countries)

* Accelerates the automation of manufacturing in the US, thereby bringing manufacturing back to US soil and further depressing consumer demand for Chinese-produced goods (my understand China's economy is already sputtering; this would not help).

First world countries have taken advantage of China's industrialization in order to enjoy cheap consumer goods long enough for local manufacturing automation to be bootstrapped.

"If you owe the bank $100 that's your problem. If you owe the bank $100 million, that's the bank's problem."
This is very out of date, OS X hasn't used Netinfo Manager since 10.4.
It would be interesting to do remote control. I.e. nobody in the car. Two classes: one with restrictions (i.e. driver must be in control - no assists / etc. May be tricky to define.), one without (want to go fully computer-controlled? Sure!).
This one: http://it-ebooks.info/book/1060/ ?

It'll be just a hobby, so I have the luxury of taking it slowly :)
True, coming from Backbone, I've run into my share of broken views, but we're beginning to see newer libraries, like React, that provide better abstractions and reduce the possibility of introducing bugs.
Great to finally see coverage of this in mainstream press.
I just had a look at the definitions again. The presented log buffer implementation is neither wait-free, nor lock-free, nor obstruction-free because one failed writer will prevent the progress of any other thread unconditionally, in consequence this is accurately described as a blocking algorithm. To just quote from Wikipedia »[...] an algorithm is called non-blocking if failure or suspension of any thread cannot cause failure or suspension of another thread [...]« which is obviously not the case because a failed writer will cause all subsequent writes to fail, i.e. the writers will happily fill the buffer but the messages never really make it into the buffer in a way that the reader can see them.

In case of the SPSC queue the requirement is that the writer must be able to enqueue new items no matter what the reader does and the reader must be able to dequeue all items for which the enqueue operation succeeded no matter what the writer does afterwards. The presented queue implementation meets this requirements. If the writer fails between steps 4 and 5 the write did not succeed and it does not matter that the reader can not see the item.

What you say about keeping the data structure usable for other threads seems correct to me.

You must not confuse lock-free and not using a lock, these are two different things. An algorithm using locks is a blocking algorithm but using locks is only sufficient, not mandatory. If no process can block other processes unconditionally the algorithm is non-blocking and obstruction-free, lock-free and wait-free are different progress guarantees for non-blocking algorithms in ascending order of strength.

One last point, if you try to obtain a lock and fail to do so you are considered blocked, no matter if you spin, suspend the thread or do unrelated things to waste some time until retrying later.
I find it a ridiculous notion that corporations are entitled to compensation if a country changes laws that impact their business. Part of the process for implementing changes to laws is to think about the ramifications it may have on businesses. If a country changes a law so that foreign businesses do not want to do business in that country anymore then that is a consequence that the country will have to deal with. It is not up to an international tribunal to decide that the people of said country actually prefer jobs rather than the changes made to the law. The people will decide that, even if it is to their detriment. And that's how it should be.
Not at all. The point is that the visual code doesn't differ much from the textual code in terms of architecture and complexity.
These 'neo-atheists' like Dorkins, Hitchens, Rich-white-guy Gervais and Reddit really disgust me. Yes, religion is in general an oppressive, patriarchal, hierarchical bundle of nastiness. But so is imperialism. Guess which one's killed more people.
more likely too occupied combing the internet to find another company to sue for copyright infringement.
Any conversation about religion ends in frustration, anger and indifference for me. It's like a trap I fall in from time to time. The time in between conversations is equal to the time it takes to forget how awful last time was.
Oh well I guess we can just write off the whole poster now for one mistake. /s
Like how the International Atomic Energy Authority advises on nuclear power world wide?
Ya that project looks awesome. There are a few things he has I don't think I will run, but I think I'll start with it and go from there. Thanks man.
"Jeff Atwood has stated publicly that one of his ulterior motives with the Discourse project is get people to stop using PHP and start using Ruby."

This just won't ever happen. The people that wanted to drop PHP for something else (Ruby, etc) largely did so years ago. The hosting/running situation for PHP is just too basic and easy for people to get in to vs having to 'run a server' (Rails, etc).

PHP is still the only language that assumes HTML output by default. Put a file on a web server, hit it via a URL, and get HTML output. It's that simple. You can start at 'simple' then graduate up to complex stuff like Symfony if/when you want to. Every other language or platform forces a lot of extraneous concepts on you on day one, which is always going to be a turn-off for a not-insignificant portion of the people coming in to the field.
I guess their plan might be to be bought-out by instagram when they get popular enough.

It doesn't sound like their livelihoods depend on the app though, if it didn't get many downloads in its first year.
You'd be happy with people jackin it to a video of you being sexually assaulted if they just obscured your face? In that case why bother with the fancy neural network stuff, just make sure to wear a paper bag over your head when you're being raped! Problem solved.

/s

Your proposal has merit as a privacy measure - but this isn't about privacy. This is about consent.
Her getting fired from her job is a big one.
I rode one of these in Frankfurt Germany in 1996 or so. I thought it was great but could understand why they might be considered a safety hazard (note that this was in an international bank and we rode it between the stock-trading floor and the server rooms in the basement.
I've been mulling about doing something like that for blue jays and peanuts to ration out their allotment in a sustainable manner. A family of blue jays (or most birds in the Crow [Corvidae] family) will rapidly hoard whatever you give them and finish off a large pile of peanuts within hours. Unlike other birds that also visit the pile of peanuts I leave out, they have no intentions of eating most of those peanuts as they take them and just stash them for later (similar to a squirrel).

The other problem is allocating peanuts to other birds (chickadees, nuthatches, cardinals, etc) while not giving too many to the blue jays. However, there's a project I ran across from CalTech that can determine the type of bird in front of a camera via computer vision[1][2][3]. Not sure why the creator of the squirrel project used a camera though when a cheaper, more robust sensor would work unless he was eventually thinking of extending its usage for more than simple motion detection.

[1] http://vision.caltech.edu/visipedia/20q.html

[2] http://vision.caltech.edu/visipedia/ipadapp.html

[3] https://github.com/welinder/cubam
loose => lose.

http://www.merriam-webster.com/dictionary/loose
http://www.merriam-webster.com/dictionary/lose

This is a common error for the natives as well so don't feel bad about it.

[Edit: I a word]
If a better build system were as easy as Kamp seems to think, he could have written it by now with 1/3 of the effort he's spent complaining about build systems over the years. Turns out the problems really are hard, and the layers of cruft are there for a reason.
But his first point still stands - none of these optimisations are very important.
I've never had a macbook break down even way past warranty.
I've always hoped we'd move to a 0-100 scale where the scale is the temperatures people can relate to. 0 is cold, 100 is hot. How hot is 100? Same as 100 farenheit. We know that's hot. How cold is cold? Same as 0 celsius, we know that's cold.

Of course, for science and cooking we need more dynamic range, which F and C work well for, but just for our daily experience, we need something new.
I think if that were true you'd have supplied reliable sources documenting it.

Escapees report differently, & fear retaliation against their remaining family: https://www.theatlantic.com/international/archive/2021/04/uy...
I think that's the exact point the parent is making. Most companies can figure out a way to raise and grow. The point was that it was a bad idea in the specific case of Peloton.
:wave: I'm an Israeli citizen, and this app is basically mine. No company behind it.

I hear what you are saying about the credibility hit I'm taking with showing logos like this. Will think what to do about it!
You make a good point, I forgot that it's not Mac or Windows compatible, and the limited hardware support.
I don't agree with the parting thought, though. If you, as a PhD student, do make your project open source, document it and make it useful for others, and in so doing, get a bunch of citations, you have an immediate career boost. How likely that is, is another question

I am in a similar position as the author, some software I helped write on the side during my thesis is the only recognized remnant and actually got me my current job (tenured staff scientist)
> or their own

Sure, it's an optionally-delegated-proof-of-stake. In practice, most do delegate their stake. But at the end of the day the "voting weight" that secures transactions is majority stake and not a proof of work.
In the end it's apple who loses. Customers can use Linux or Windows, but how is apple going to sell $6000 workstations and $5000 displays without even the option to install aftermarket nvidia cards? OK so Apple doesn't trust nvidia as a supplier but why do they forbid the release of drivers? Total insanity.
I do know closures but got rejected on not knowing SOLID. And when the interviewer explained it, the concepts were so easy to understand. I don't get it why he couldn't infer that I'd be able to apply the principles after a bit of practice.
Sounds like the Western “frontier” of the United States.
Millions of people starved in the Soviet Union because they transitioned farms into "community" ownership. Sounds pretty "communist" to me.
The fact that "hey let's look at other ideas that worked in practice, maybe we can learn something" gets down voted here is pretty telling. I like HN for many reasons, but the market-religious crowd here is not one. Down voting a comment like this without bringing forth actual arguments is pretty ridiculous. What is it supposed to signal?
https://supreme.justia.com/cases/federal/us/197/11/

State level mandates are considered to be constitutional, it's the broad federal mandate without employment specialization that wasn't considered constitutional.

This isn't moving goal posts but providing context.
Much of this advice is terrible for a startup.

A client-services model isn't a good fit for a startup, due to the iterative nature of a product in search of a business model. The entire article implies a waterfall approach where a designer goes into a cave, does some work and presents it for "review".

Instead, a good "startup designer" will be an empathetic generalist (UI/IA/Front-end) with good market sense. It's important that they're comfortable skipping a lot of "design process" and rapidly iterating with engineering (their "familiarity with flat design" notwithstanding).

Also, many great designers don't have portfolios. That's because they're busy doing real work. Ask to see real work.

Despite the linked article, if you're early stage you should go unicorn hunting. It's critical to hire from the A-list for the inaugural team.
It’s with this mindset that I went the Zwift route with an iPad and my own bike. But boy is it hard to get everything to work together! With peloton you could just climb on and start pedalling. With Zwift there’s always a sensor that won’t connect at first. There’s a reason these tightly integrated systems are popular. I wonder if peloton would be this seamless if the tablet was open. Too many configurations make things messy for the typical consumer.
T-Mobile's free 200MB/month for tablets is great, especially for text and email on the go.

Side note: nytimes's website on mobile is totally annoying. No pinchzoom and double tap mucks with the font size. Just as we had Flash blockers back in the day, I look forward JavaScript blockers.
> Most people would be apathetic to those issues

Is this hypothetical supposed to be something positive? Because I actually agree apathy to these issues, and most others, would be the logical result of not having the media report on them. But climate change happens in the real world, and the phenomenon doesn't care about the press it gets. It would still happen without you being informed. But, quite obviously, not knowing about problems does not seem to be a promising strategy for democratic societies.

(replace climate change with any problem you hold dear and consider true, in case you're one of those people)
Also, I use Windows and Ubuntu at work and Mac and Fedora at home. All of them have different "home" folder structures and terminology. It would be a major pain in the back to map them with each other properly.
I must agree with this, I find this feature one of the most missed. It doesn't even have to show the number of upvotes, just anything that will tell me which of the posts is more highly upvoted in a relative manner (e.g. normalise all comments based on the highest ones on the page and use a 5-number/color/whatever scale).
What I found weird is that the points went away but the greying effect stayed. The truth is that that goes a lot further in making sure I don't ready unpopular views (with my eyes I often have to copy paste it to a text editor before I can read it comfortably). I would much prefer all comments be the same font color and being able to see the score so I can make my own decision as to whether to read it or not.
I though this was pretty funny:

"I think @99designs should have raised money from many VCs, but only given equity to the investor they liked the best."

https://twitter.com/#!/jeffrey/status/63714047794741248
I love instapaper, but I really really want search built for it...
I miss them also. Was a weighted voting discussed as an alternative? One where the up/down vote is weighted against the karma of the voter? Seems like that would help elevate big-karma users to sort of meta-moderators and might help soften the concerns about reflexive voting?

And yeah, maybe for display the numbers aren't the best option.. just some sort of watered down "+" "++" "+++" type scheme...
The point you make is totally valid; and now that I think about it, when I was able to see the upvotes I could at a glance identify the answers with one or more of the following:

1. Correct Answer (real, like a founder answering about his app).
2. Popular Answer (comedy, something people "lol" to).

Identifying the difference between those two is done with only common sense; but supposing you still lack of that, you can still feel what the community liked by looking at the numbers.

"50 upvoted this" that must mean something vs "3 upvoted this"...
Idea: a [view count] link. Once clicked, votes are ignored for that comment. You can vote, or get the social proof, but not both.
Adoption studies also don't suggest that. Ashkenazi Jews seem to actually have a different brain model.
Your analysis is hypocritical. People voted for politicians who voted for judges who ruled that police do not have to enforce the law.
I don't think you could do it transparently, because it's expected to pass the tail of a character array by doing &s[100] or s + 100, etc. I don't think that would be easy to catch all of those and turn them into a string fragment reference.

From c++ class, std::string was easy enough to use everywhere, and just foo.c_str() when you needed to send it to a C library. But that may drags in a lot of assumptions about memory allocation and what not. Clearly, we don't want to allocate when taking 6 minutes to parse 10 megs of JSON! :)
Certainly that could be automated quite easily.

I would assume that on such compilation farms that these systems generally use, this could be done very quickly.

Perhaps there would be an interest for the Rustc team to provide a recursive automated setup that is capable of compiling the latest Rustc from OCaml, and finally from C as well since one must follow a similar process with OCaml.
That's assuming that 1) there is a fair value for bitcoin 2) the market is able to assess and direct bitcoin to that fair value (through the actions of its participants). I tend to believe that this economical " theory" is much more a belief/mantra than anything proved scientifically...
That's a copout, not a take.
I love it but I don’t have the focus or patience to ever do anything more than basic analysis.

A lot of the reverse engineers I know seemingly have deep platform knowledge and can do things like cite Win32 docs from memory.
Dunno about Paddy, but I do.
Sorry, you also need to assign Command-Option-Shift-S to Duplicate. Then Duplicate will magically be hidden behind Save As... in the way that Save As... was previously hidden behind Duplicate. [That is, when you hold the option key down, Duplicate changed to Save As...]. Otherwise they'll be shown together in the menu.
Didn't Feynmann said that he sometimes seemed magical because he just had 'different toolbox' than his friends? As far as I remember these words regarded calculus. Probably I am more wrong than Mark Kac in this matter, but I think that this kind of orthogonal thinking can be somehow learned by looking in the directions that at first glance doesn't look like they lead to any solution or even unrelated. Also it seems that great knowledge of two seemingly disconnected areas allow to actually find some connections between them - which may seem magical for spectators.
Or just engines using diesel, which have existed for quite some time now, and don't use sparkplugs either.
> the builtin id() function, which is just the memory address.

This, crucially, is not guaranteed. Instead, id() is only guaranteed to give a unique integer value for every object valid for the lifetime of that object. So if Python deallocated your first string object and allocated a new string object, Python could give the same id() for the new string object and this would be fine; this does not necessarily mean that the two string objects are the “same” object! In fact, since the objects do not share lifetimes, they cannot be said to be the same object!
On the contrary, I think that TV paid product placements are often way more subtle. On social media and YouTube it's really in your face full on ads.
1) At worst, flatly false. At best, debatable. https://www.nytimes.com/2021/02/04/world/middleeast/israel-p... .

2) Generally, the Palestinian Authority can do a better job allocating its resources, uh, you know, to prepare for these sorts of events https://en.wikipedia.org/wiki/Palestinian_Authority_Martyrs_... . Of course, it goes without saying that the terrorist run enclave of Hamas-land in Gaza is another story completely, yet for the purposes of this discussion fall under agreements with the PLO, see point 1.
Use requestAnimationFrame, you can definitely do 60fps with a canvas, and much better like 144fps or more if your screen supports it.

If your laptop is a bit slow, you will also get better results if you connect its plug so it doesn't run on the battery on energy saving mode.
An international bureaucratic AI oversight committee of course.
No, companies do not create new money. They create goods and services in order to generate value/profit.
Companies are generating value, not dollars.
This kind of statement, by its very nature, is vacuous and means nothing (and is most likely made by a non-expert). But on the surface of it seems deep and insightful. Note that it uses weasel words like "biases" and "models" which can actually mean a zillion things.
For reference, this is called autovivification.
http://en.wikipedia.org/wiki/Autovivification#Python
“The best iPhone […]”

They do use articles in their presentations sometimes, though
Yeah, that's interesting.

The 1954 IBM 650 is rather famous for each instruction having the address of the next instruction; one of the final phases of program construction was to lay out the program optimally so that the next instruction would be just about to come under a drum read head. Wikipedia says there was also an instruction optimized for drum reading (http://en.wikipedia.org/wiki/IBM_650).
Personally? I turn it off (and don't remember doing so) or snooze it repeatedly for several hours (also not remembering I've done so). It's especially prominent when I don't get enough sleep (3-4 hours). I'll end up having to redo two classes (both 8am) because I've slept through tests, and it's not because I forgot about the test, nor that I didn't have a reliable alarm clock (sometimes 3 separate ones).
Unusually well done, especially the guided sessions.
That depends on whether or not license plate numbers are assigned by county, or by driver last name, or some other nonrandom criterion. And in some states, significant numbers of drivers choose their own customized license plate numbers.
> My feeling is that even the compilers written in CS101 will optimize this.

Then it might be harder than you think. You can't know that array.length won't change during the course of the loop. Even in your simple example, I would say it takes a fair bit of analysis (not for a human, of course), to be certain that "array[i]++" won't add elements to the list.