skysight-inc/HackerNews huggingface dataset:
> No it's not.

> What's happening is some of the run time overhead is being reduced.

I believe wycats was responding specifically to

> Rust uses 'drop flags', which are extra bytes at the end of struct instances in memroy, to track objects and keep meta information about them to determine if they should be dropped.

And these are being eliminated. That is the drop flag will be entirely separate to the struct instance, and will only be injected into stack frames where there is a conditional branch in which a value is moved out in one, but not the other, e.g.

let x = some_value;
if condition { drop(x); } else { /* do nothing */ }

then `x` will get a drop flag as a single bit (or byte) on the stack. If the code is changed to

if condition { drop(x); } else { drop(x) }

there will be no drop flag, and no overhead.

Furthermore, placing the value on to the heap, e.g. `box some_value`, will not have an associated drop flag for `some_value`, that is, eliminating the byte that is currently stored with it.
I'm really glad to hear this. I have been loving Firebase for the app I'm making but one of the components has to run in C# and talking to Firebase from the C# app was much more painful than the other Firebase portions of the application.
I can't give you an exact definition, but I'd love to share my experiences regarding mindfulness vs concentration.

Concentration is much more one of a one-pointed thing. It's about focusing like a laser on one thing. When I'm concentrated it feels like everything except what I'm focusing on drops away. It's like playing a video game, or reading an interesting book. It's a very calm experience, except that sometimes it feels like there is effort involved

Mindfulness is much more about paying broad attention to what's going on, about being aware and accepting of whatever experience is arising in the present moment. There is a strong intentional component -- I want to pay attention to the present moment, and there is an open curiosity and willingness to just be with whatever arises. There is a certain amount of memory involved, too, in the sense that you need to remember to pay attention and not get caught up in your own thoughts.
The Replicating Antidote
Yeah, the grids are much nicer. I can use the normal numbers now almost as fast as many of my friends can use a 10 key, and I never forget where symbols are for programming since everything is lined up quite nicely.
Where does the DRM part come into play? The description sounds like it could be applied to just about any automatic sync-your-progress-across-devices feature, which is a hugely desirable feature IMO (my Kindle would be worth a huge amount less without it, since books almost always take multiple reading sessions to finish), and it's also very useful for movies/TV...
Perhaps keep the old site still running on a different URL so scrapers who can't get their act together in 3 weeks can just change the URL they're scraping from.
Url changed from http://pastebin.com/dETyYtpX because I added some things.
apart from competitive programming submissions, i don't have any code examples..
may be should start working on some open source projects
What kind of volunteer events?
Ebola experts worry virus may spread more easily than assumed
I hope they redo it all in AngularJS just to hear people's heads explode.
Everyone who uses Mou and isn't happy with MacDown should contribute $10 and +1 my feature request for custom key-bindings. As a vim / sublime text 3 user I often times forget I can't use the key strokes that I have ingrained into muscle memory. That makes me sad enough to donate.

I would be happy with multiple cursors and the selection shortcuts from sublime text but a plugin system would be even better.
Total lunar eclipse on Wednesday will have an unusual twist
> The misconception is that if you're using rust you're safe from the bugs that other programmers may have made... which is not true.

Of course it's not true, but the libraries you're using will (hopefully, for the most part) be written in Rust, which increases the level of trust.

> There's a trust chain involved; if you depend on a library you trust it's bug free and won't delete your harddisk and crash your program, but there's a difference between trusting a library is not malicious, and trusting a library is bug free.

> If you have to trust the library is bug free, you're really no better off than using C++ are you?

The libraries are written in Rust, so have all the benefits of that. It is nonsense to say that "libraries can have bugs so you might as well use C++".
Ummm I have a question.

Why is so much preparation necessary to redesign like 3 simple templates. Shouldn't it take like ~10 hours for one person to do this? I'm talking about the front end.

Why wasn't hacker news optimized for mobile a long time ago?

:|
Visualising 3000 Golf Matches with D3
Sinner here.

But I could only identify with four of the seven. Mostly because I couldn't make sense of his rhetoric for the other three.

> I imagine that my passions are still rather thinly veiled in places

You got that right. But I don't deny you your right to be as passionate about it as you like. It's a debate after all.
Clears are 15cN lighter touch and a different switch style. Greens are basically heavy blues. It sounds like you type heavy.

http://deskthority.net/wiki/Cherry_MX

http://www.keyboardco.com/blog/index.php/2012/12/an-introduc...
This is what we've wanted for a while, and exactly the product I'm working on right now. It's called Final. We can deliver one-time use numbers via our mobile app, and pay via NFC or our standard EMV card.
Popular electricity smart meters in Spain can be hacked, researchers say
"- Administration of placebos should be considered when a patient is refractory to standard treatment, suffers from its side effects, or is in a situation where standard treatment does not exist."

from: http://jme.bmj.com/content/40/4/219.full

"The moral case for the clinical placebo"
At the very end, it all comes down to whether the product we create will bring value to consumers or users, whether should they even exist. Imagine a world where there isn't a single problem at all.
BTW, if you haven't seen it already, you should check out his YT channel, Healthcare Triage:

https://www.youtube.com/user/thehealthcaretriage

He does a great job covering a variety of subjects & explaining research to the layman.
Some of us do. In Chicago you can opt-in to real time electricity pricing. The price is computed hourly based on the average of the 5-minute wholesale price.

Sometimes when the peakers are running and/or a high usage factory goes offline overnight, the price can go negative. Here's an example:

https://rrtp.comed.com/live-prices/?date=20141001

(In actuality the price has to go really negative before consumers actually pay negative prices due to the utility's delivery charges and etc, but you get the idea).
For all the following discussion here, I find it surprising that no one is asking why the water is tasting of sulfuric or chlorine.

Some places has higher chlorine that others. In cities with old water pipes, they sometimes choose to increase the amount of chlorine in the water in order to keep the amount of bacteria down. They sometimes also do this in a temporarily basis, when test shows increase amounts of some harmful bacteria.

Water that taste chlorine is not however a fact of nature. Its fixable, given cities are willing to replace old pipes with modern ones.
Just for anyone interested -- he has a series of books, and they are good. I'd especially recommend his book on the four foundations of mindfulness.

Many of the people who visit this site and are interested in meditation would probably like the "pragmatic Buddhism" [1] movement, or the book "Mastering the Core Teachings of the Buddha" [2].

[1] there are other sites, but this is a good start: http://www.dharmaoverground.org/dharma-wiki/-/wiki/Main/MCTB...
[2] http://integrateddaniel.info/book/
You understood correctly what I referred to by rebranding, it was the artistic element and the welcoming element that was added. These are changes that can bring a lot of positives. I remember being fascinated by electronics as a kid, to me they were like advanced Lego, but I didn't have the resources until much later in order to make a dent in understanding it. The situation is better now.

Ham radio enthusiasts were certainly one part of what kept making technology alive, but they weren't the only group. Let me put it this way, who was buying electronic components from RadioShack in the 80s?
As for "M of N oracles running a public code" mentioned in the article - Orisi.org offers a framework for that.

As for using blockchain directly for contract - there are a few addresses that have funds locked for the first person to find collisions in sha1, sha256 and others: https://bitcointalk.org/index.php?topic=293382.0

Finally, there's (or "there will be") Ethereum which seems best for preparing contracts that require no external inputs. Solving hard problems usually requires no such inputs.
Well, one reason: because if we had the freedom to use any ebook reader we wanted, then we wouldn't have to rely on Adobe spyware. DRM prevents that.
No, it is the most important and hardest part. My point about it ever shipping or being as good as the promo video alludes to this. It's easy(ish) to create a slick landing page and quirky video demo, it's hard as hell to make a product.
Contrarian thinking doesn't reflexively oppose the consensus, but rather starts with the assumption that the consensus is wrong, insufficient and or irrelevant.

In this case, the reviewer notes a seeming contradiction between Thiel's critique of higher education and his implicit acknowledgement of the value of relevant credentials on the Founders Fund website. The reviewer attributes this to a sort of subconscious hypocrisy since he assumes that Thiel takes "everything about higher education is bad" as a first principle. If he sees this rather as an initial hypothesis, it's quite easy to see how he'd conclude (in this case) that the signaling component of prestigious credentials has a value apart from the entire higher ed enterprise. It does not follow that if higher education is in a "bubble" it also has no underlying value. Both assertions could very well be true.

I think both a "consensus impulse", i.e. the impulse to agree, and a "contrarian impulse", the impulse to disagree, is present in everyone to varying degrees. In most people, and in most circumstances, the former dominates for good reasons: the practical social benefits of "going along to get along" and, intellectually, the likelihood that even if not "correct", the consensus captures some underlying truths, particularly in rigorously tested domains such as science. As such, treating the consensus as your acting hypothesis is a great heuristic for success.

It is precisely for this reason that opposing the consensus, even if only as a thought experiment in your own mind, is also of great value. If Einstein took Newtonian physics as unalterable doctrine, say as the Church used to view Aristotelean physics, he may have dismissed his own intuitions about relativity to his (and our) great detriment. Where exactly to draw the line and apply your reasoning is a highly subjective and particular exercise, and "think for yourself", cliched as it sounds, is seems as good a rule as any. To paraphrase Orwell, the hardest things to see are those right in front of your own nose.
Or Hackernews :-)
Airbnb. It still amazes me how playing huge video clips in the background adds to the experience without being distracting.
Correct. However: https://news.ycombinator.com/item?id=6680780 or: https://news.ycombinator.com/item?id=8337001

Another law of successful (or at least apparently effective) "law hacking": http://en.wikipedia.org/wiki/Pretty_Good_Privacy#Criminal_in...

Common law systems really aren't as simple as "only intent matters, absolutely nothing clever is tolerated", as many suggest. The problem is mostly that, whenever computers are involved, people involved in the justice system seem to have their sensibilities bizarrely warped. Removing the technological element is likely the best way to get people to think about things sensibly. It is not so much "legal trickery" as it is "framing the matter in terms that the court already understands".
Does anyone else get the idea this is just a turbo-charged horse and buggy? Have they actually done market research beyond "oh that's cool" to "I actually have pain pulling out a separate card?"

It seems like they are making an age-old start-up mistake. Swift death to the founders so they can move on to something far more interesting than a re-imagined credit card.
> If you have to trust the library is bug free, you're
> really no better off than using C++ are you?

This is a pretty far-out argument. For any programming language and environment, unless every dependency of your program including the compiler and runtime can be proven correct via formal verification, you will be susceptible to bugs. That doesn't imply that all code in the world is topologically as unsafe as C++. I can segfault Python if I try hard enough, and that's a bug in Python. Likewise I can segfault safe Rust code if I try hard enough, and that's a bug in Rust. I don't believe that anyone is really of the misconception that the mere use of Rust absolves you from the bugs of others, because that same person would have to believe that Rust somehow makes all bugs impossible, including bugs in C code that Rust calls into.

So let me give everyone a source to cite on Wikipedia:

"Rust does not keep C code from segfaulting." ~ kibwen
am i the only one who read that to the tune of 'what to do with a girl like maria?' or whatever that sound of music tune was...
Pretty simply actually. I very strongly suggest rhat you and your entire team read the 12 factor app methodology and take it to heart, especially section 3.

http://12factor.net
They're the rooms no banker who helped cause a global economic crisis will ever see the inside of, but if you reveal that you have been required to turn over information to a secret government with a secret court against every principal of the Constitution, well... I imagine you'd know the color of the wallpaper pretty well.
The publisher chooses to add DRM on Kindle books. Amazon doesn't require it; it's a checkbox in the publishing portal.

There are plenty of Kindle books that have no DRM.
On a mature project like SQLite, nothing is premature anymore - including optimisations.

The internet is full of dumbass developers unfortunately. Both on HN, StackOverflow, and well everywhere.
NSA Conducts Surveillance WITHOUT Oversight
Why Apple Pay won't work
So I have a Model-M from around 1988ish in storage still. When I worked at IBM they were "green tag" parts which meant you did not have to account for them. Order 1 or order 100 (internally). I do love that keyboard. I think my favorite however is a Sun Type-5 which had a custom interface so you cannot plug it into anything but an old Sun. A few years ago I did a bit of googling and found a few projects to make a Sun-to-USB interface. Too much effort :(

Today I use a Sun Type-7 Japanese hooked to my Macbook. I had a need to write in Japanese in the past and just got to prefer the layout. I just custom ordered my Macbook in the US with the Japanese keyboard, etc. The placement of the @ and : are just better as an example.
> That is, if you write entirely 100% safe code, and use some library that uses 'unsafe' code at a low level (this is very common; for example, an C binding or memory optimization), then rust does NOT guarantee safety.

What do you consider a "guarantee"? Do you consider pure JavaScript to "guarantee" safety, even though there have been exploitable bugs in the JIT and interpreter? Do you consider pure-computation, non-allocating Rust to be safe, even though LLVM may contain codegen bugs that allow for undefined behavior? Do you consider seccomp-isolated code to be safe, even though there have been, and will likely be in the future, kernel bugs that allow sandboxed process to escape?

The point is that instead of talking about "100% safe", which is never the case in the real world, I think it's better to talk about trusted computing bases. That is, instead of saying "X is safe" or "X is unsafe", we talk about what effect X has on the memory-unsafe surface area of a program. Rust's goal is to reduce the trusted computing base of an application written in it to the hardware, compiler, unsafe blocks, and type system. This gives us essentially the safety properties of "managed languages" (except I don't like that term because it tends to imply garbage collection and lack of fine-grained control over memory, which don't apply to Rust).

A specific example I like to give: Sure, we could hardwire (for instance) Vec into the language, and therefore reduce the number of lines of unsafe code in the libraries. But doing so would just be moving the unsafe code from the unsafe blocks in the libraries to the compiler itself. There would be no net gain in safety from it—compiler code can have bugs just as library code can—and there would be a decrease in maintainability and flexibility.

You can think of Rust's safety properties as establishing a type of sandbox if you'd like. All sandboxes have trusted computing bases, and Rust's compile-time sandbox is no exception. But "safety" as applied to a sandbox still has an important meaning. Chromium/Firefox OS's sandbox, for example, is a safe sandbox, even though its security depends on strong assumptions about the trustworthiness of the OS kernel and the IPC layer between the trusted and untrusted processes.

> There is a runtime cost to the drop checker; it's not particularly large, but it's certainly not just a sequence of drop operations.

After the drop optimizations are done, this will only be true if you conditionally move an object on one or more branches. It's already true today if the object gets SROA'd on the stack, as LLVM can then optimize out the drop flags. We've talked about adding a lint so the compiler can optionally warn and allow you to fix it if this performance cost is a concern to you. (It's a very minor cost—one test and branch on a stack byte, and again only if the object is conditionally moved.)

Note that C++ move semantics incurs essentially the same cost.
I'm in your boat, BUT...

You could also easily have 5 store credit cards (J. Crew, Banana Republic, etc.) for extra discounts, a few gift cards you haven't spent yet (Starbucks, Best Buy, etc.), an extra 3 credit cards (they have different promotions), a handful of loyalty cards for discounts (a couple supermarkets, three or four coffee shops, a couple of restaurants), various forms of ID and access cards (company, school, gym, apartment complex front door)...

You can see how it adds up. The reasons for almost all of them are discounts or extra value. Keeping track of all these cards and carrying them around could easily save you several hundred dollars a year if you're willing to do it.
Bitcoin is not compatible with the State
>I think a good example of people who exploit bugs in people to get rich are con artists, and what they do is usually considered illegal.

Many of the richest people around got that way by exploiting some "bug", but no one considers them to have done anything illegal. They find a loophole in banking laws and become a billionaire, or you manipulate people psychologically into buying your products (modern marketing). We call these "business" so it's not illegal to exploit these "bugs".
Thiel did seem to mention that scientists sometimes
regard other scientists who are also interested
in making money as not so good or proper scientists or
some such!

But your example is correct.

I get the impression that somehow Thiel is a bit
down on the money making potential of research.
Maybe if people drift apart it's because they're supposed to?

Why can't we just let things happen naturally? Why does there have to be a formulaic approach to everything? Why do you need to be an outlier? Why can't people just be normal?
People ask me all the time to bring it back. Was fun when it was happening and I tried to be funny and good-spirited, but now I have more of an appreciation for entrepreneurs and how hard it is to build a business... so I won't bring it back.

Also won't bring it back because of onwards and upwards.. and so on.

Thanks for asking though :) Still makes me happy when people tell me they like my work.
There is precedent that these types of splits don't make things as safe as advocates believe. Amusingly, the precedent is part of the foundational bits of modern theoretical CS :)
Nothing I said implied anything of the sort.
Dereferencing null is not guaranteed to do any particular behaviour; on many systems, getting the machine to actually dereference 0 will give a segfault/illegal memory access, but the compiler optimises assuming this never happens, and so can break a program that accidentally "relies" on it.

e.g.

- http://stackoverflow.com/q/6793262/1256624

- http://blog.llvm.org/2011/05/what-every-c-programmer-should-...
Even easier client-side rendering
I learned to de-DRM my Amazon books due to the concerns of their licencing. Now I can put them on my phone and listen to the books with TTS. The kindle App for Android doesn't have the feature...
I renewed mine a few weeks ago after the 2 years expired. As long as you're still a student, just apply for renewal and they'll give it to you.

I also got the student pack right away, probably because of my student status.
Act fast, the price of Bitcoin is also quickly trending towards the negatives : )
That was exactly my reaction as well.

I wasn't going to comment, but "mhartl" looked familiar. I just wanted to say "thank you" for your Rails Tutorial; I don't think I would have ever learned to program without it. It literally changed my life.
Well, I have noticed that I definitely do bang harder on the keyboard depending on my excitement level.( That could mean I am having an inspired moment of coding, or just that somebody has once again posted to HN about the technological superiority of the modern Japanese toilet[1].)

In comparing the two Code keyboards, what I prefer about the Green version is that there seems to be this one exact point where the key is pressed. You can feel it (and hear it) and it is always the same.

The clear version feels a bit 'mushier', like the point at which the key is 'pressed' isn't as precisely defined.

[1]: https://news.ycombinator.com/item?id=4787587
Good example of Cambell's law.

Doesn't seem much worse than the senior professor in western departments who automatically gets co-authorship on everything his department produces.

Publication indexes are just very sick metrics.

http://en.wikipedia.org/wiki/Perverse_incentive
Chuck, that's already done. That's the "natural supplements" industry[1] as it has been regulated since the mid-1990s in the United States.

[1] "Dietary supplement industry says 'no' to more information for consumers (again)" http://www.sciencebasedmedicine.org/big-supp-resists-giving-...
This kind of thing is actually a real problem from a grid stability point of view. The unpredictability of wind and solar and the lack of a way to store their output effectively make dealing with these intermittent renewables challenging (and a thorn in the side) for grid management. Due to the way electricity dispatch markets often work (http://www.eia.gov/todayinenergy/detail.cfm?id=7590), base-load style power plants (e.g. coal, nuclear, etc.) end up not being able to run or even paying to run. This becomes a strong disincentive for the construction and operation of these plants that are vital for steady, dependable electricity supply. The market structure in addition to the regulatory environment in the U.S. (e.g. requiring utilities to purchase all provided wind energy at higher than natural market price) are both part of the problem. Cheap natural gas also hasn't helped. The Vermont Yankee nuclear plant closed due to energy prices being too cheap (https://en.wikipedia.org/wiki/Vermont_Yankee_Nuclear_Power_P...).

[edit] grammar and paste fixes