skysight-inc/HackerNews huggingface dataset:
On the other hand, `$('#'+id)` fails when the ID contains dot or other characters that have special meaning in a CSS selector, and `$(selector)` is overloaded with `$(html)` causing common XSS injection issues in apps misusing it. jQuery's “Do What I Mean” philosophy jas introduced as many of its own bugs as it ever fixed in browsers; I wish there were a happy medium.
I befriended one of the founders of CFAR a few years ago when visiting NYC, before she moved to Berkeley and founded CFAR. She genuinely practices what she preaches, and was doing so long before CFAR. It's interestingly disarming to meet someone who is so smart, but has no fear of seeming dumb by asking lots of questions (including seemingly silly ones). It has stuck with me for years, in fact, and it's been one of my personal goals ever since to stop being such a damned know-it-all (mostly to myself) and ask more questions, and more genuinely engage in conversation even when I think I'm smarter and know more than the people I'm talking to.

I'm sure their approach to rationality would have a different effect for different people, and the article covers the different ways people step out of the comfort zones. But, my personal weakness, one that slows my own personal growth and development and impacts my productivity and general happiness more than most, is the "I am smart" armor that I built up as a kid (because I wasn't all that good at other stuff, being smart was the identity I embraced).

It has all sorts of negative consequences. I don't ask questions when I should, for fear of looking like I'm not smart and on top of everything. When complex things are hard, it is more frustrating than it needs to be, because most of the time I expect thinky things to not be hard (or at least, when in school and comparing my own performance vs. effort to others in the class, nothing was hard). A lot of it boils down to that "I am smart" belief, rather than taking an approach that accepts that being smart is a process and not a permanent condition.

Anyway, if hanging out casually for a couple of weeks with someone practicing this stuff has had a years-long and mostly positive effect on me, I would guess a formal program would be awesome.
Decentralising data distribution - Google Tech Talk Meetup, Dec 9th 2015 [video]
> destructor leaks

Rust doesn't leak destructors any more than C++ (including the version of C++ presented in the OP). The only way to leak a destructor accidentally is to create a cycle (which is quite difficult to do, essentially requiring you to stuff a RefCell inside an Rc) or to have some data owned by a thread that's eternally stalled.

> reliance on macros

Individual macros are generally regarded as convenient workarounds rather than ideal long-term solutions, and anywhere that you see pervasive macro use tends to be ripe for an RFC for a dedicated feature to subsume it.

> the tremendous complexity of traits

No denying that traits are Rust's "deepest" feature, but that's because of a general philosophy to leverage traits to provide newly desired bits of functionality rather than introducing all-new language concepts. Removing functionality from traits wouldn't result in making the language less complex; that functionality would just end up going elsewhere.
> an apocalypse scenario

Which scenario?

If it's a cat 5 hurricane, you can fill up your tub, cooler, washing machine, rain barrel, etc. with plenty of notice. Maybe keep a few collapsed containers around for that purpose.

If you're planning for an earthquake, then bottled water makes some sense.

If you're planning for the social upheaval when the Ogallala Aquifer dries up and America's breadbasket turns to dust, then bottled water is the least of your worries - move now and settle in somewhere wet before the Okies ride again.

If you think global climate change will bring 30' snowfalls and ice storms to your area, then you'll have access to plenty of fresh water - if you have the fuel to melt it, and keep yourself warm.

Without probability estimates, apocalypse scenario planning is irrational.
Sounds like you're at the mercy of government emergency planning at that point. (Not saying that it's a bad thing, but as you and the other reply say, it's not practical for millions to "bug out" to Jersey.)
> This is only for DRM, right?

I, for one, intend to put my private keys in there. The ecosystem isn't ready yet, though.
I'm advocating precedent based design, not rule based. The Acropolis masons didn't have rules, they had examples.

BTW, I have found it really hard to get out of the habit of thinking about the production of artifacts in terms of contemporary practice...to think of design as a place where middlemen lurk. But in reality, a homeowner's first choice is, to a first approximation, building sans plans or permits.
Agreed, but you can often move a mattress in such situations by simply pushing it along the floor, even down stairs. Not true of most other furniture.
On high-performance code for an embedded PPC system I used to work on, we made all our control block a multiple of the L1 cache width. Our allocation routines then all had inline assembler to run the dcbz instruction (data cache block zero) on all the cache blocks for the control block as it was allocated. This meant the control block was always zeroed, and the memory bus wasn't touched in order to do so. Yes, things were evicted from the cache, but since we're about to start writing things into the control block, the lack of fetch was a net gain.
I don't disagree with you that handles would be useful on the ends, but I think that the ones on the sides are for when you are flipping it.
Please correct me if I'm wrong, but this won't protect dram from row hammer attacks. You still can access memory cells and cause other bits to flip. Doesn't matter if the content is encrypted or not.
I'd question the presumption that any calamity requires city dwellers to "bug out". Doing so means you'll be part of a massive hoard of scared and desperate people, and you can only carry so many supplies.

Worth consideration is staying put, fortifying your apartment or house and working with neighbors as the situation calms down.
Looks like they use LLVM backend, so they'll get low level optimisation for "free". The GC is also interesting: fully concurrent and lock-free.
About two years ago a post on HN came up about Tuft & Needle. I was in the market for a new mattress at the time so I scouted the site for a while before eventually purchasing a King sized mattress for $499. One of their selling points at the time was that it was a quality mattress without the high prices, and at $500 I could definitely agree with that.

The mattress itself has been great, but at the time they only sold 5" thick mattresses. I eventually found that 5" was too thin for me and finding a mattress frame I liked was quite difficult. Being so low to the ground just felt more uncomfortable than anything when I woke up in the morning. About a month after I got my mattress, T&N came out with a 10" version (Which they exclusively sell now), which was only $100 more at the time for a King. It seems they now sell for about $750 (compared to $600 before)

I'm still using my 5" Tuft & Needle but I'm going to be purchasing a new mattress in the near future and will most likely try out Leesa, though I'm not totally committed to it yet. It's been interesting watching all these mattress companies enter the market but with more options I'm finding it difficult to make a choice.
See also "The dashed line in use": http://www.nearfield.org/2006/09/the-dashed-line-in-use
It can, however, be useful to get invoices for purchases that were discounted down to $0.00. At the startup I'm with we often give new customers a $0.00 trial rate, but they still want invoices so their billing department can keep track. Of course, this billing system isn't using PayPal, but just a thought.
I think gp was agreeing with the assessment that it doesn't.
The handles are for flipping the mattress every few months, not carrying it :-)
> Visa runs a network that today can support 15,000-45,000 times as many transactions per second as Bitcoin.

Visa says it's capable of 24,000 tps. I could write a centralized system to handle that by myself in a couple of days; it's not impressive and certainly not a $10B/year value. I don't know if Bitcoin itself will ever scale that high but it's irrelevant because I'm not advocating anyone buy their morning Starbucks or related penny-ante stuff on the blockchain.

> even arb bots require the movement of non-Bitcoin resources

Yes, and Goldman can do it $10m at a time for peanuts. Hell, any VC-funded startup with just a few tens of millions could do it too.

> almost no-one offer discounts for using Bitcoin.

That's true today, but no reason that can't or won't change in the future.
I was able to take a queen sized mattress down to my car by myself thanks to those side handles. I didn't have to drag it on the floor. Also, when I tied the mattress to the roof of my car, I looped the twine through and around the handles. The whole process was not easy, but it would have been a lot harder given the configuration you are describing.
I appreciate this post being on Medium.
> It does not have to be this way, but the reality is that most people spend as much as they earn.

The trick here is to make savings part of the spending (or in other words.. "budgeting").
Start.me – Cross-browser new tab page
How Future Cars Will Predict Your Driving Maneuvers Before You Make Them
Anecdotal: I experienced this doing stronglifts 5x5, which is a program that systematically keeps you lifting near your 5 rep max. Squats in particular seem to mess up my CNS. Moderate weight lifting is awesome for my mood and cognition, heavy weightlifting is destabilizing.
I find the switch in culture between companies and even internal departments to be almost frightening. One place you go has competent, adult, respectful individuals, and then you just move down the hall to a different department and it's immature, angry, inappropriate pranksters who never grew up. If anything proves to me that a culture of sexual harassment can survive in this day and age, it's the weird inconsistency of what people think is acceptable behavior, combined with a lack of strong positive leadership.
...pretty strong indictment...

This is like blaming the schools for poverty. Yes it would be wonderful if Node module maintainers were a perfectly representative blend of all the races, genders, religions, and orientations on Earth. The gap between that vision of Node and the one we have pales in comparison to the gap between that vision of Earth and the one we inhabit.
We generate the screenshots in each locale rather than routing with a proxy. Which probably results in our much less pretty screenshots.
Chipotle to temporarily close restaurants Feb. 8 for company meeting
Short version: Mental health is incredibly complicated in terms of diagnosing and treating. A lot of the diseases share similar symptoms and they're still working on figuring out what separates conditions from one another and makes them unique / how to tell them apart. I.E. they moved Aspergers onto the autism spectrum rather than as a standalone condition recently.

Studying and treating mental health ultimately involves putting trained practitioners in a room with patients for a sustained period of time to accurately diagnose them and run studies to better understand their condition and how to treat it. Yes, we have some ways of managing conditions like Bipolar, but the diagnosis process is incredibly complex and very detailed to the point of requiring the treatment provider interact thoroughly with a large group of people to ensure an accurate diagnosis.

Ultimately, you want an extremely low rate of false positive diagnoses with regards to mental health issues and teasing apart the difference between the actual condition and someone exhibiting some symptoms due to other causes requires a lot of training and practice. I don't think much of that translates to the SV/VC model yet.
Right, hence the sarcasm mark in my post. I think it's a weird tendency for people to care more about their overall user count as some success indicator and focus their UX so much on onboarding new users to seeming disinterested in existing users. Things like "User Satisfaction" and "are my users happy with my product" are a lot harder metrics to get right and I think that's part of why they get discounted by investors/shareholders over raw growth numbers which can have a big, easy "wow" factor in a presentation graph...
If I understand correctly, this line of reasoning states that because animals can't make the choice, we can't make it for them (we could feed them all kibbles if we wanted), but since humans can make the choice, then we should make that choice for all of them.
Agreed. If you are using C++ but no exceptions, no RAII, and no std::unique_ptr, you are avoiding the best part of C++.
i guess it's cool to describe things reductively so that there's no real direct response.
I think your default text size is a bit too tiny (I'm on a 1920x1080 15" display). Although that's a problem for HN as well.
fun project

sorry this is off topic of the OP but on topic for fiber:

a few months ago i saw a video on youtube of a person projecting video, or perhaps still images, through a fiber cable

since then i've been unable to find the video and i've been unable to figure out the right combination of words to be able to search for it online

has anyone seen this video?

know where to find it?

have any information on projection through fiber?

was it a hoax? did i dream it up?
I see what you mean now. Currently he isn't being paid back but and I think your right. He's buying some of his equity.
That's an 18 byte header and then a list of pixel values. Everything else is optional and for the price of those 18 bytes you get an image format that you won't have to convert every time you want to look at it.
> Is there anything more annoying than a mattress company that thinks it’s clever?

And that's where I stopped reading. Yes, there are many things more annoying than people starting businesses and trying to do well for themselves.
Could you cite your source of the "cites Amazon in press release" please? I've found this press release [1] and it doesn't mention Amazon at all.

[1] http://news.walmart.com/news-archive/2016/01/15/walmart-cont...
jQuery's understandability is part of its superiority over MooTools. When I was first looking for a Javascript library years ago, it was better documented than other libraries, it was more readable (particularly method names), and didn't lean towards OOP (I admit I personally hated Java).

MooTools and other libraries might possibly be more powerful if you are developing in Javascript in general, but for web development I primarily care about DOM manipulation, and it was much easier to pick up jQuery than anything else at the time. It's a mistake to think that languages should win out simply based on functionality and capabilities, without taking into account things like ease of use and learning curve.
IMO it is a problem. The extra products are a nuisance and they often get in the way of finding the what I wanted.

It wasn't so bad when the only items sold by third parties were obscure and niche products that Amazon didn't carry. It was actually a good indicator that I might be better off going directly to a site dedicated to bike parts or camera equipment or outdoor equipment or whatever.

But now it seems like every time I search for anything I have to filter out a dozen third party or "sponsored" items that I'm not interested in. If I wanted to be uncertain of what I was getting, have a questionable return policy, and get crappy non-Prime shipping, I wouldn't have went to Amazon in the first place.
> The overwhelming majority of C implementations additionally define the values of all-bits-zero floats and pointers.

So... Clang and GCC?

Regardless, you're ignoring the obvious difference: that isn't POSIX- or ISO-defined at all. If you choose to use it, you're using a weird dialect. Might as well just switch to Cyclone.
What do you mean by market salary?
If I read this correctly this is a vertical integration play.

Just from the title I had guessed that that they would own ships as a hedge against rises in freight costs, just as airlines buy oil stocks etc.

Is anyone aware of any analysis of Amazon's recent moves in aircraft, drones, and so on as hedge vs integration vs disruption?
Certainly, and in some of the places I have worked with a good manager, they were not necessarily considered "higher up". These companies had separate technical vs manager tracks in some form or another. So the notion of "higher up" depended on the track you are on.
Also COST. A queen size T&N is $600, including shipping. Go to your local mattress store and see what $600 buys you.
man spinthewheel
The ships are moving. Zero Hedge's Tyler Durden didn't pay for access to the data that shows the ships that aren't in port, didn't realize it, and came to the wrong conclusion that ships aren't shipping.

It's like looking at a parking lot and concluding no cars are on the freeway.
This is general advice for earthquakes and other disasters:

- As soon possible, gather fresh water. Drain the pipes in sinks and showerheads; if you don't have enough containers, fill up the bathtub.

- Have non-perishable food on hand (cans mostly). Mind the expiration date.

- Have a deadbolt (if you are worried about your neighbors).

- Invest in a good first aid kit and learn how to use it. They sell larger ones designed to live in your car or home (not the portable, throw-in-backpack kind).
> I do see how once in this "state" unilateral change of votes means no advantage to any one player

Right, so it meets the definition of an equilibrium.

> but is this really interesting for this game, i.e. is it a viable outcome of it despite being stable once reached?

In "reality" no. But the Nash Equilibrium formalism gives us no way of determining which of the two possible equilibria (this one and the usual solution) will happen in practice. So you need some more powerful idea to solve that (see references to "superrationality" and "trembling hand" elsewhere in this thread), and none of those theories is mathematically complete.
You ignore the cost savings in terms of project build and testing that you lose by going your own.

Though, if more people adopted a fork and build your own, we'd probably have more people involved in open source.

Then again, Darwinism really has a group that progresses together, not lots of little forks of individual development. You need some form of merging things back together at some point, otherwise you end up with tons of incompatible derivations of the project.
~2015 in review (from the creator of 6to5/babel)
>> but apparently only on delivery (compressed into a large box).

I recently read an article on these and the reviewer said it came compressed and wound up in a hexagon tube, like a giant sleeping bag and weighed 70lbs.

The Helix arrives on your doorstep in a hexagonal tube. While the tightly-packed tube makes maneuvering the box into your door and across your home fairly easy, it weighs a hefty 70 pounds—which feels even heavier when making your way along three flights of stairs. Good luck to anyone in an apartment walk-up.

http://www.popsci.com/helix-sleep-review
Rue89 Strasbourg
I too bought a Tuft & Need mattress (just a few months ago, actually) and found that it was much too firm for me. I'm trying out a Casper next.

https://casper.com/mattresses
I used to hoard money as the feeling of security and preparedness it gave me out-weighed the pleasure I got from consumerism.

Now I spend freely and without concern. That's the only tenable game plan in our Keynesian economy: spend your fiat before it's inflated away or redistributed during the next financial crisis.
Did you get to the end? He says explicitly that inequality is inevitable. He's asking whether the American kind of vast inequality is necessary.
A nanophotonic comeback for incandescent bulbs?
I was so skeptical, but buying my Leesa was one of my best purchases. My back and hips thank me every day. Also, I sleep so much deeper now. It's been great!
Literally as I was reading this a commercial for Casper's mattresses came on TV. Marketing effort would seem to be the bulk of it.
I feel like the first third or fourth of this article was just completely missing or something. So much of the context and intention of the article was just never explained or introduced at all. In particular, it starts talking about Casper as if the reader is sure to know who or what that is, but I had to Google it. I still don't know why the article chose to fixate on Casper in particular.
I think what's interesting about this piece is that it again highlights that many companies are not 'overnight successes' and the true commitment and time it takes from a founder and/or CEO to develop an organization. It gives hope to people who still feel like they're in the trenches and not seeing as many deliverables as they would like.

The author also highlights the importance of a good Board. Often not enough thought goes in to selecting a Board. A Board that believes in the idea and the people, has a diversity of perspectives and backgrounds, and has a relationship with the founder/CEO where there's room for disagreement and discussion can make all the difference.
Connectors Marketplace Launches Social Media Lead Generation Tool
A bit of an aside, but is anyone aware of a cloud player (for onedrive or google drive ideally) that supports audiobooks well? I'm using the onedrive app at the moment but it has a tendency to forget your progress which leads to a lot of manual scrubbing to find your place.
> Indeed but I can write constraints in my function signature to permit this. Hell I can even define something as SpecialList[SpecialKey] if I truly wanted. Perl has a type system.

Interesting. Is this a new thing?

> Doing this in Python is an exercise in horror, frustration and hatred. Doing it in Perl is the work of a few seconds. That is my point.

Then what's the perl example without using sigils? Does that not translate directly into python?
Thanks. Did a quick search, are you referring to this?
http://video.mit.edu/watch/fiber-optic-bundle-11499/

Looks like they removed it, try contacting them.
You are responding to a parent poster who wants "society ... to change its ways regarding transacting". They are directly arguing that society is wrong and needs fixing.

You cannot convince someone making that argument by invoking empathy.
This is interesting to me because it presents the blockchain size dispute in a way that seems much more sympathetic to the "no, we shouldn't increase the blockchain size" crowd than Mike Hearn's essay.

Is it really true that the people who are objecting to increasing the blockchain size see Bitcoin turning into a reserve "currency" to hold wealth instead of a liquid currency used to make real time transactions?

Is that really the debate? Because I didn't get that from Mike Hearn's essay at all...
And get rid of the purple, it's hideous.
Most online videos are made by people good at making videos. There not the same people that are good at making drinks or whatever.
Just to add to this: buses are so bad that you actually will have less pollution if all the bus riders just get cars and drive themselves. This isn't true if the bus is a nice coach and all its seats are full, and it's driving all these people from one place to another fairly distant place, but for city buses it absolutely is because of their low-speed, herky-jerky operation and the fact that they're rarely full and frequently mostly empty.
If you buy quality goods, then the you will find that the designers have often paid attention to details like this. Certainly I have moved mattresses which had handles on the ends.

btw I'm not saying that higher priced goods always have better designers.. sometimes its all just markup.
Raw Nerve: A Series of Pieces on Getting Better at Life by Aaron Swartz (2012)