skysight-inc/HackerNews huggingface dataset:
Hmmm the article links to another article called "select is fundamentally broken" but even that article fails to note, that select has a nasty gotcha. Many (most?) examples (http://www.tutorialspoint.com/unix_system_calls/_newselect.h...) simply use 'fd_set' and the FD_* macros.

So, struct fd_set is a fixed size structure, and the fd, passed to the macros (or kernel) has a max fd value that it can support. So its quite possible your application has a fd > FD_SETSIZE even if you don't think your using a lot of fds (libraries and such can drive up the value of fd quite easily).

The result is random buffer smashing, both by userspace via the FD_XXX macros as well as the kernel, which doesn't have any knowledge beyond the nfds (which is the largest fd, not the number of fd's) its given. That is why you use poll()..

I can't tell you how many times I've had to fix that bug in programs that appear to work fine for $SHORTTIME, but fail when running for $LONGTIME.
I'm not sure what any of these logical contortions have to do with SICP being 'language agnostic'. It isn't. The first section of the first chapter talks about why a Lisp dialect is used. This is the first figure.

https://mitpress.mit.edu/sicp/full-text/book/ch1-Z-G-1.gif

Etc.
Here you go (no idea about the quality of the live comments though):

https://techcrunch.com/2017/06/05/live-from-apples-wwdc-2017...
There is no such thing as an objectively correct or incorrect world-view. It's an opinion and is shaped by culture, circumstance, and upbringing.

To answer you question - Yes, I would support the rights of people to state whatever they wish. I also support the rights of individuals such as you or myself to call those people morons, and to not associate with them.

Suppressing speech, and demonizing people for their views (no matter how "objectively wrong") does not solve any problem. It only breeds hate and contempt and radicalizes people more.
One of the pieces of code I read through that helped me the most: Beautiful Soup. If you're a Python developer, I wholeheartedly recommend you read through it -- although I do think Leonard has removed some of his more disdainful comments from BS2. When I originally read it, I loved how you could really feel how much he hated all the XML/HTML parsing gotchas. I think it's the only time I've laughed out loud reading through code because of humorous comments and TODO notes to self.
I think you are being a bit harsh here. Sure, the white man in a turban might be a totally normal person capable of carrying out good work. But in terms of probabilities, there's also a significant chance they are an esoteric new-agey type (in my mind). The latter possibility is confirmed by the "predicted the work of the task force would be so powerful, it would cause the sun to rise in the west" bit, which is the actually critical part of that quote. So the turban bit is included to give a fuller picture of this weird new-agey type who says ridiculous things like that, or so it seems to me.
> 24 fps ... keeps the "style" of film

If what you wash my to achieve involved a lower framerates, go for it. The problem is that 24fps is considered the "standard", and film producers receive a ridiculous amount of backlash for creating any HFR content. There are 2 major films I know about (4 if you count the other two Hobbit films) that use higher framerates. Since I didn't go watch them in theaters, I have no way to see them in their original framerates.

> Subtle things like the motion blur produced at that framerate...

We expect 24fps quirks like motion blur because we have spent the entire history of film conditioning ourselves to prefer it. There are even expensive ways to render what appears to be motion blur so that we can simulate 24fps film in CG.

To contrast with the entire history of film (until recently), many people, like me, have UHD panels to watch film. At such a high resolution, the amount of pixels that motion blurs over has increased significantly. To make a clearer picture, most major studios record at a higher framerate to minimise motion blur, even if they intend to show every other frame. That means that most motion looks very choppy, as it jumps hundreds of pixels each frame. These films would be beautiful at higher framerates, but practically no one is willing to fight the "industry standard".
> Revoking one's admission to Harvard is a really rough way to teach the lesson of what you're supposed to and not supposed to say.

> Comparing this to fascism is a little heavy, but not out of line.

Are these students already not submitting themselves to be judged by Harvard's exceptionally high standards? This isn't some good state school and these aren't students who have earned their place by paying taxes and getting good grades. If Harvard sees this kind of behavior, decides that they made a mistake when choosing these students (they want students who will represent them well for the rest of their life, and character is very much in play during college admissions)... I think it's more than fair to say that these students should lose their place to someone who hasn't so easily proven themselves as a risk to Harvard's brand.
I get notifications on macOS telling me to give Safari a try on a regular basis.
So it's better to pull an Apple and completely cannibalize a city by building a giant spaceship in the middle?

For smaller offices it makes sense to have them in the middle of the city, for something as large as their Mountain View office, it'd be a huge mess inside a city for someone of that scale.

And you're forgetting the fact that the headquarter has been growing naturally over the years, so if they had indeed started in a city, they would've probably had a really hard time expanding.
The Economist Explains: The Argentine-American Lemon War of 2001-2017
LVM thinly provisioned "virtual sized" logical volumes. This is how I'm installing non-linux VM's these days. Neither virt-manager nor Boxes will see them, but you can use virsh to edit the path to the LV.

For example. Create a new VM, and just have it create a dummy LV that you can throw away later (I actually keep a 4MiB one around just for the purpose of having something virt-manager will see and select).

Create the virtual size LV:

sudo lvcreate -V 50G -T thintastic/vg -n windows

Then 'virsh edit daisy' and find the disk section.

<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='unsafe' io='threads'/>
<source dev='/dev/vg/dummy'/>
<target dev='vda' bus='virtio'/>
<boot order='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>

Change the path from /dev/vg/dummy to /dev/vg/windows, save it. Now start the VM normally, and it'll use that thinp LV just fine. So the neat thing about that is, you give 50G to Windows, but it's only going to suck up from the VG what's actually being written to disk from Windows; i.e. an installation involves about 15G of writing, so it will only take up 15G of the VG pool's extents. The other 35G are still in the VG pool.

You could make the virtual size LV 500G and Windows will see it as 500G, even if it's only backed by 75G of VG. Obviously if you hit 75G of writes, the virtual block device spits out ENOSPC and then presumably Windows gets pissed that it doesn't in fact have 500G to play with. But what this means is you make the LV as big as you would practically ever want it to be, without having to second guess and go "well if I give all that space over to Windows, now I can't ever use it for anything else without it being a hassle of fs resizing and repartitioning".

Also fstrim commands on NTFS will cause previously deallocated space (file deletions) in the LV to be returned to the VG for other use. It's actually more efficient doing this than fs resize.

I find NTFS on either qcow2 or raw disk on top of a file system means a bigger performance impact than just handing the VM its own virtual block device in the form of an LVM LV. It is easier to move file backed VM's around, like if you have to do a backup-restore. But so far I just backup the user data onto my NAS or cloud, and expect if I have a hardware failure I'm rebuilding the VM from scratch.
Especially our HN accounts where we say the NSA/TSA/FBI are threats to our safety (depending on context) and we use false names with burner phone-based authentication on Facebook. Honest question, I still wonder what is so bad that I'm now using the same protections as criminals, apart from hiding that I don't want to be tracked.
When did this new trend of referring to cryptocurrencies as "crypto" begin? This is very irritating, as it is a major namespace collision with actual cryptography.
Looks like there was bitcoin left in the address he published the private key for until about 30 minutes ago. I hope that was a deliberate giveaway.

https://blockchain.info/tx/2685ff794de17cebdf94eb0f111e8b8c0...
> Though I have a feeling many of these are only going to be used for internal networks.

Why would an internal network need a publicly resolvable domain?
The problem is that the solution is extremely fragile at the beginning. See, nobody is a specialist since birth and learning even mildly basic repair is getting harder each year, while the hardware gets more complex.

So such a society becomes fragile when important members who mentor a trade fall out (age, obligations etc.).

You can buffer those problems sometimes via shared funds, sometimes not.
Where would you locate an office for 20,000 people in Northern CA in a city? SF? You'd make housing in the city much worse, and you'd be hard pressed to find the land or permits for it.
I think "rejection by widespread parts of civilized society" is a clear statement that I support both. Let me be explicit: racists and sexists should find it impossible to maintain a social and professional life, until they stop being racist and sexist. (And in the process, that also improves social and professional settings through their absence.) That's not a violent action, that's a highly effective non-violent action. And if it draws so much fire from the kinds of people it affects, perhaps that's because it works.
What programs or libraries are these for which you can't find the source but have the headers available to read?
Any possibility you could add an RSS feed?
Commercialized CO2 capture
>My prediction is that, as unimaginable as it seems, we'll be able to scale down to the physical limits of the materials.

What are these physical limits of the materials?
Yes, The Effective Engineer is newer and not so well known. I wrote about why I like it here: https://henrikwarne.com/2017/01/15/book-review-the-effective...
We detached this subthread from https://news.ycombinator.com/item?id=14488846 and marked it off-topic.
Ah, so we don't just have a fast internet lane, we also have a secure internet lane. And of course, a fast and secure internet lane costs more than double!
Serving Static Files with the Angel Framework
I wonder if it's reasonable to go even further and say there's a negative correlation between spending and what someone gets out of college. I'd say that's certainly the case when restricted to certain fields. In this case I definitely do not think correlation has anything to do with causation though.
This is what I have done as well.

I think it was Bruce Schneier who brought up the idea of digital feudalism. I want to own my data, and that is incompatible with the business of Netflix and Spotify.

Very sad about it, since both those services are very easy to use and I was experiencing more new film & music while subscribing than I am when not subscribed.
+1 for RSS. Would love to add to my feedly
The US military hasn't been a significant driver of electronic technology since the 1980s. They just don't have the volume to affect the technology path. Military electronics tends to lag commercial, because the life cycles are longer. The USAF's big electronics problem is obtaining supplies of obsolete parts.

The pure military stuff tends to be in the sensor space. DARPA has some projects to build much better accelerometers and gyros on ICs. They want cheap inertial navigation to back up GPS.

It's possible to reach much higher densities by writing an IC with an electron beam. This is slow, but useful for one-off jobs. DoD is known to be using that.[1] "DoD foundries make a wide variety of custom chips in small quantities - the exact opposite of commercial practice." Interestingly, the USAF is doing this partly because they don't trust off-the-shelf chips not to have "backdoors".

[1] http://www.multibeamcorp.com/PR_MB20170525.htm
They went through a lot of effort to make e.g. Verizon look bad if they didn't oppose NN.

Lots of back-and-forth in 2014, but here are major HN discussions:

https://news.ycombinator.com/item?id=7872168

https://news.ycombinator.com/item?id=8016055
Nothing in their report about the dismal lifespan of Android phones in the Western world. This alone kills any claims of being green!
While wrong, they are based on a very real set of differences to the relationship of the media to the consumer.

That should be celebrated however. Neither is better. You can argue the merits and effectiveness of an adaptation but the media it's communicated on has very little to do with that (usually).

I don't know why people treat it as a team sport.
This isn't even really about speech - this is about a few people who exhibited shockingly poor judgement, and were rejected from Harvard as a result.
>> Before it was trivial to bench, but not trivial to setup all the environments. <<

That's what it's like now -- trivial but time consuming.

There were pain-points with the old perl scripts (and nested make files) but I would have continued to put-up with the problems and would have continued to use the old perl scripts.

But (back in 2008) I couldn't see how to set-affinity with Perl and I could see how to do that with Python.

That's why I rewrote the measurement scripts in Python.

>> They suck. <<

https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writ...

>> You got the name reserved for it <<

Wow! Think-up a name!

>> you got the machines to do it <<

I have one too-old machine.

>> no one is looking somewhere else for better and more benchmarks <<

55% of page views are from "organic search".
A collection would be like one tag I suspect. And auto tagging is not what I'm looking for that's for sure.
Trump announces plans to privatize US air traffic control system
Ask HN: Why was “Harvard withdraws acceptances” dropped from the front page?
At the time of writing, [1] has 81 points, 200 comments, and was posted 2 hours ago, but is currently #43 on page 2 of HN.

Meanwhile, [2] has 14 points, 1 comment, posted 4 hours ago is at #14 on the front page of HN.

What's going on here?

--------------------------------------------------

[1]: https://news.ycombinator.com/item?id=14487788

[2]: https://news.ycombinator.com/item?id=14485477
They might have if Skype had a better reputation.
I wouldn't! But if I did something shitty (let's be real here, you're not offended, you're upset at the notion that words have consequences), it would be entirely within your rights to react to what I did. And mine to defend myself, and my employer to decide whether the cost of being represented by someone with my views was commensurate with its return.
Can you share initial thoughts?
How am I in control of my software, if I can't use it in they way that I want? That is the opposite of being in control
Ghaa my eyes. It burns.
Advances in Bayesian methods for big data
> Both of the investments I referenced were solid until they weren't.

No they weren't, not even close. Investing all your money in one company (whether Pets.com, McDonald's, or any other) is not, and has never been, "solid". Also, the words "leveraged hedge fund" should tip you off that that wasn't a low-risk investment.

> When I see people spread investment advice as if there's no downside...

Seriously? No true scotsman... err investor... would imply that the stock market is risk-free. Of course there's risk! It's literally the second-most risky/lucrative investment you can make (next to options trading). But the argument is that investing passively in a well-diversified index shifts most of that risk away from total loss--as in your examples--and into more manageable risks, e.g. waiting for the market to recover.

> The S&P 500 declined 57% from its high in the housing crash.

Sure, and then it grew 232% in five years to restore itself.

> You didn't want to spend anything during this presidential cycle anyways.

That's right, we're talking specifically about long-term savings; money that you're not planning to use in the next 5, maybe 10 years. If you're buying pets.com stock with next month's rent money, that's on you. Stock market isn't for everyone; buy T-bills if you want a safer investment.

And by the way, in the context of this thread, money spent on tuition is also money that you can't spend in this presidential cycle, or the next! The break-even on something like med-school could easily take three presidencies or more.

> The Dow lost more than 5% in a single day at least 5 times in 2008. The next time one of the major indexes drops 700 points in a day look around and tell people "you'll be fine if you don't panic sell.

This literally happened a few weeks ago. I "lost" 9% in a day on news of a possible Trump impeachment, proceeded to not panic, and then watched my funds restore themselves.

You can't use people doing the exact opposite of what they're advised to do as an example of the advice not working.

> Where was the index fund advice in '98? Where were all the people who had well balanced / well hedged portfolios in '07-'09?

I guess it was with all the people that still had green grass on their lawns? The ones that actually followed the advice?

> There was an army of day-traders once upon a time not all that long ago that blew all kinds of sunshine up people's asses about investments.

They're still there, and they're still blowing, but that's not the advice we're talking about in this thread. We're literally talking about sitting on a passive index for 24 years.

> But by all means, keep shilling the passive investment advice...

Who are we shilling for? Big Passive Investment? Am I getting commissions off your money?

---

By the way, I'm interested to know what you propose I do with, say, an unexpected year-end bonus. Put it in a bank account earning -2% real interest?
A couple fun ones that weren't mentioned yet:

JavaScript Allongé, the "Six" Edition by Reginald Braithwaite

Are Your Lights On? by Gerald M. Weinberg
Because Apple and Google are presumably trying to inform people searching for apps by providing them with useful information. If that information is gamed, then it's not useful. And since Apple and Google are the ones setting the terms of use, I think gberger's question is extremely valid and don't know why anyone would down-vote it (not claiming that you, koolba, did). Moreover, I'd hope that a response to it wouldn't have been dismissive and, ideally, would cite some reason to believe it.

New York Times would definitely care if they had reason to believe a book on their Best Sellers list was having its sales inflated. In fact, they mark those books specifically with a dagger next to them and the practice of price manipulation is a subject of on-going controversy which is presumably costing the list some prestige. [1]

[1] https://en.wikipedia.org/wiki/The_New_York_Times_Best_Seller...
the kids were never fooled. They knew exactly who had really won

Yep, all that positive reinforcement only taught us not to trust praise. At least, that was my response. Praise just reinforced how I already felt about myself. If I felt I was doing well, praise felt like confirmation, and it felt great. If I didn't feel I had done something to deserve it, praise felt awful, like I had been called out as being especially pathetic.

My knee-jerk reaction to an unexpected compliment is still to feel humiliated and angry. I've learned to think twice and sometimes realize, yeah, I did handle that well, or yeah, this is a nice outfit, but I still have that instant of feeling attacked before I control my reaction.

I think that's a lesson to learn: you can't erase the difference between success and failure. If you try, you just end up confusing them. A kid who hears praise every time he fucks up learns to associate praise with failure and learns there's no way to deal with failure except to pretend it didn't happen.
"Your browser doesn’t support live streaming of the event."

Running latest Firefox.
Buy a kindle
"Fundamental Algorithms", Knuth.
"People worried about womens' rights in the early 20th century should have realized that Harvard was a private university. If I held a party at my house and didn't want to invite you because you were a woman, you'd get laughed out of court if you tried to sue me over it. People should be allowed to organize under whatever principles they want to organize under. Disallowing Harvard to use whatever criteria they want to use to admit students, unless of course they breach free speech rights, is ultimately decreasing the amount of intellectual diversity in the world. Women that don't like Harvard can apply to any other college. There's no shortage of them to choose from. But if you tell Harvard what they can and can't do, you run the risk of destroying the individuality of Harvard."

"People worried about reproductive rights should realize that Hobby Lobby is a private corporation."

"People worried about gay rights should realize that Chick-fil-A is a private corporation."

The choices of private organizations and individuals have huge effects, and it's reasonable to criticize them if we disagree with their actions. But on the other hand, I agree that it's important to give private organizations freedom. This is a difficult trade-off; we need to consider both sides of it, and whatever principle we decide on, we should apply consistently. So unless you'd also defend historical gender segregation at private universities, or defend Hobby Lobby and Chick-fil-A, you should find a different defense of Harvard's actions.
Doesn't work on latest Chrome on the latest Mac. Sigh.

Going to watch anyway.
Requirements: Live streaming uses Apple’s HTTP Live Streaming (HLS) technology. HLS requires an iPhone, iPad, or iPod touch with Safari on iOS 7.0 or later, a Mac with Safari 6.0.5 or later on OS X v10.8.5 or later, or a PC with Microsoft Edge on Windows 10. Streaming via Apple TV requires an Apple TV (2nd or 3rd generation) with software 6.2 or later or an Apple TV (4th generation).
I found the Dragon Book unbearable---and I am one of those people interested in theory. Pick something better, plenty of choice available.

'Essentials of Programming Languages' and 'Types and Programming Languages' are good choices. (But slightly off-topic for this particular subthread, since they don't deal with parsing.)