skysight-inc/HackerNews huggingface dataset:
> Didn't downvote you, and considering you're currently on the top of the replies list, I wouldn't worry about potential misclicks. But I'll bite.

Thank you for your reply. At the time I added that edit, I was at -2 points. And I'm only at 1 point right now (and aren't showing up at the top of the stack when I look at the comments page). In any case, the edit did seem to do what I wanted, which was to get replies.

> As such, "Avoiding heap allocations can be a win" seems to be a very true and straightforward reply. Confusingly, you seem to agree with this in your next paragraph despite labeling it a "non-sequitur"? Perhaps you're interpreting this as claiming that avoiding a single heap allocation call site is going to be a significant win? Because that's reading far too much into the statement, IMO.

The way I read it was "malloc is a hot function, therefore you should try to avoid using it". And that's a non-sequitur because the conclusion does not follow from the premise. Whether or not it's a hot function has no bearing on what the cost of an individual call is. And when you identify a hot function in a profile, that doesn't mean you should remove calls to it, that means you should optimize it. If you can't optimize it, then you should charge it to its parent frame. If you take all your un-optimizable hot functions and charge them to their parent frame, then you can see if any new hot functions pop up that can be optimized. e.g. you can't optimize malloc, but if you find one function is calling malloc hundreds or thousands of times, and it doesn't have to, then you can optimize that function (or if it does need all those allocations, you can investigate using alternatives to malloc).

> Even if we pessimistically assume that we need to eliminate N% of call sites to eliminate N% of calls, the first step to eliminating N% of call sites is to eliminate one call site. The second step is to eliminate a second call site.

When talking about a function with many thousands of individual call sites, eliminating them one at a time isn't practical. You need to come with some way to systematically eliminate a lot of them. Of course, if you do the above and charge malloc to its callers then maybe you can identify a small number of call sites that are responsible for a high percentage of calls to malloc.
Yeah that matches my experience, but Google's gotten much worse in the last 3~5 years in my experience, while DDG has slightly improved.
Yes, KDE 3.2 was a huge enhancement over 3.1. I had a slow PC and 3.1 was awfully sluggish, but 3.2 seemed to run fine on it from a Live CD (probably Knoppix). It took an awfully long time for KDE 3.2 to hit Debian unstable---I remember reading debian-kde archives on the edge of my seat...
Sure, I don't think anything I said disagrees with that. This conceptual shift in "declarative description" of the HW is a big difference in moving from software to hardware design, and no language can remove that difference. It doesn't matter if you're using MyHDL or Haskell to do it! It just so happens Haskell is a pretty declarative language, so it maps onto the idea well.

But it's not just about that... Frankly, most HDLs have absolutely poor abstraction capabilities, and are quite verbose. Sure, it isn't a software language, but that's a bit aside from the point. I can't even do things like write or use higher order functions, and most HDLs don't have very cheap things like data types to help enforce correctness (VHDL is more typed, but also pretty verbose) -- even when I reasonably understand the compilation model and how the resulting design will look, and know it's all synthesizable!

On top of that, simply due to language familiarity, it's simply much easier for me to structure hardware descriptions in terms of things like Haskell concepts, than directly in Verilog. It wouldn't be impossible for me to do it in Verilog, though -- I'm just more familiar with other things!

At some level this is a bit of laziness, but at another, it's a bit of "the devil you know". I do know enough Verilog to get by of course, and do make sure the output isn't completely insane. And more advanced designs will certainly require me going deeper into these realms where necessary.

I've recently been writing a tiny 16-bit processor with Haskell, and this kind of abstraction capability has been hugely important for me in motivation, because it's simply much easier for me to remember, describe and reason about at that level. It's simply much easier for me to think about my 2-port read, 1-port write register file, mirrored across two BRAMs, when it looks as nice and simple as this: https://gist.github.com/thoughtpolice/99202729866a865806fd6d..., and that code turns into the kind of Verilog you'd expect to write by hand, for the synthesis tool to infer the BRAMs automatically (you can, of course, also use the direct cell library primitive).

That said -- HDL choice is really only one part of the overall process... I've still got to have post-synthesis and post-PNR simulation test benches, actual synthesizable test benches to image to the board, etc... Lots of things to do. I think it's an important choice (BlueSpec is another example here, which most people I've known to use it having positive praise), but only one piece of the overall process, and grasping the whole process is still something I'm grappling with.
Why is that serious, considering the track record of Dubai investing in silly things ?
Salesforce Won’t Pursue Bid for Twitter
You have a good point.

What I don't see is:

(1) Some control over professors running outright businesses, and once tenured, putting much of their effort into those businesses, while still drawing senior-level pay. I don't claim this is common. But it is a major moral hazard.
(2) Little compensation for graduate students whose contributions range from scutwork to the critical innovation involved. They have to execute the technology in the lab -- in industry, this is most prized, not "the idea." What mechanism is their for fairness here? Oh, right, they're getting a free education. OK. But what if the university earns $10's of millions of dollars off their labor?
(3) When professors innovate in active commercial markets, rather than in really bleeding edge areas, there is an intrinsic unfairness. In essence, the government, through its funding, is picking winners.

It is a defense if the overall society is improved. If professors get rich, that's also fine.
Seriously, the American Civil War? The mid-19th century does not provide great models for politics of any modern nation.

Anyway, the Confederation was soundly defeated within a couple of years. The Columbian government has been trying to destroy FARC with military force for half a century. At some point, you have to try something else and be prepared to make concessions for peace, even if it does not seem like perfect justice to those who still believe in a military solution.
If I were dictator, I'd definitely ban the selling of patents.

I'd also ban the assigning of patents to corporations; they would only be owned by the original people who filed them. So corporations could only benefit from those patents as long as the patent-holders were employees (or at least one of the patent-holders if there's multiple), by being allowed to use the patent license-free.

>I understand that we can't just ban the selling of patents

Why not? We can ban anything we want as long as it's not unconstitutional. The question is if a ban of something has more negative effects than positive. I don't see how it would here.
Correct me if I'm wrong, but doesn't this article accuse Uribe of being hyperbolic for suggesting the deal contains amnesty, then describe the deal as amnesty for most, and lenient punishment for the worst (keep in mind, FARC spent decades terrorizing Colombians).

I don't know enough to speak on who is right, but this article is engaging in exactly what it accuses Uribe of doing.
It's obvious click baiting to promote his own blog entry.
> VCs aren't spending my money.

Money is money. From the perspective of the incentives of the hypothetical researcher, it's irrelevant where the money comes from. If the government demands 100% equity in return for investment, it just becomes the least competitive VC on the market, doomed to fund the least compelling projects.

> The people in universities should be happy to have a cushy, tenured academic job; people who have a serious "desire to make money" (beyond that of a professor's salary, which is both good and very stable) don't belong at universities at all, they should be working in the private sector.

Strongly disagree. One of the reasons the U.S. has hands-down the best engineering universities in the world is because of the fluid boundary between academia and the private sector. Filling universities with people who just want a cushy academic job is a great way to make academic research completely irrelevant.
Ask Apple: Why there's no easy way to block unsolicited SMS/calls on iPhone?
I'm an expat in Brazil. I'm getting several calls and/or sms messages per day from random, unsolicited numbers about things I'm not interested in.

Why there's no easy way to block calls and sms from those numbers? By:
- single swipe gesture -> "block" tap (not 10 clicks away)
- wildcard blacklist
- blacklist upload from computer
- crowdsourced blacklists
- anything else

?
Poor business model: I refer to their freemium offering which is poor compared to competitors.

Security: If you think that's a judgement call, fine, if you think that the dropbox hack is a judgment issue.

Pricing: For Joe Bloggs, 100GB is generally enough. Google handily offers that for $2. With Dropbox, there's a cliff - a few gig for free or a terabyte for $10/m. Why no middle ground? Both Apple and Google offer scaled plans, why doesn't Dropbox?
I don't compare Flynn with Heroku or Dokku. I compare it with Kubernetes.

When it comes to dev UX, I'd agree that Flynn's is better, though both are easy to use. But I'd point to Convox for great dev UX in something that deploys only to AWS, and that can use a dockerfile/binary artifact instead of git push (I've been a minor contributor to Dokku and Convox, using both in prod on a few different projects).

I mention k8s because "self-hosted" is mentioned in the title.

Personally, the main reason I've been doing personal projects in k8s over the past 6 months or so is that 1) it offers out-of-the-box container networking and dns-based discovery, and my side projects are all distributed software so it makes it easy to get nodes talking, and 2) minikube runs a cluster where I can actually scale my apps up and down and test out distributed software on my laptop similarly to how it will be deployed.

(I'm investigating using Weave's ECS AMI, so that I can also get container discovery and networking in Convox, because I love the Convox dev UX so very much. But I'm also thinking, more and more, about how I can automate a smoother dev UX for my k8s projects, because I also like being able to easily run a real cluster locally in minikube, and Convox can run locally but with only one instance of each app).
It's a little dated (is it sad that 2006 is "dated"?), but I still find "Designing Interfaces" by Jenifer Tidwell (it's an O'Reilly book) helpful once in a while for basic UI/interaction thoughts.
If it's an "open revolt," why do we have to rely on the hearsay of a former AG?

At best it's a quiet revolt.
We've updated the submission title from “Physicists May Have Evidence Universe Is a Computer Simulation”, which breaks the guidelines by being editorialized.
While there is nothing wrong with the part-time security officers' protesting, particularly by resigning, it seem a little odd that they would want to...

"...after the library agreed to adjust the exhibit sign’s language to read “Books about Black Lives—The African American Experience”".

What more do they want?
I found Seductive Interaction Design to be both enjoyable and highly instructive!
https://www.amazon.com/gp/product/0321725522/
With Facebook we get quality content engagement. I'll make a post about it in the future. From my experience Facebook isn't great for straight intent to purchase unless you're a mobile app.
Archive.is linky for those who can't read the article (even via the "web" link above):

http://archive.is/YLsxH
Give me a list of companies headed by attractive young men that have been hailed as Decacorns (worth $10 billion) while producing zero products for an entire decade and being lauded in big name publications for years which are now also going down in flames that rival the burning of Rome. Given that only 17% (or less) of CEO's are women, you should have zero problem coming up with at least five such names off the top of your head if there is no gender bias involved in this situation.

Oh, let's make it easier: List me 5 or more unicorns ($1 billion valuation) headed by a guy going down in horrendous flames and all over the media. The men don't have to be particularly good looking or charming either.
Most likely. What would be the plan for how to quickly reset the state of the malware laptop though?
I hope they will be more useful than MPX.
The answer seems to be "stop trying to view https versions of these pages"
Police arrest more people for marijuana use than for all violent crimes combined
I disagree with your interpretation. I think this is a case of understanding that the pilot is now motivated to save face, and will be extra careful.

This is psychological insight, not statistical insight.
Is there any good science linking autophagy to intermittent fasting? Isn't that the theory behind fasting's benefits?
Thanks for the link! I included it in the article, among others.
And yet here they are.

With respect, this doesn't tell us what to do if we run into a hugely over-confident asshole.
I remember at uni we used to use the forth boot prompt to hack root on the Sun workstations at uni; you could type it all out on one line. You had to search for the symbol table and then jump through some hoops to find the kernel task list, find the pid of your shell process, edit the user struct and set the effective uid to zero.
That's how everything is with Apple: you use their software and their walled-garden. If you want to do anything at all, big or small, differently than how Apple wants you to do it, then Apple stuff is simply not for you. With Apple, it's all-or-nothing.

So really, if you're an Apple user, you have no business even joining discussions like this about non-Apple software or anything that runs on a non-Apple platform. You're basically trolling.
Social proof and scientific proof work completely differently. If this had been driven by science, it wouldn't be the mess it is.
Thanks, this is one of the simplest things to try that can produce an improvement. I'll try for sure.
Some of you may remember this article and these comments:

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

When I read this, I immediately thought it was a red flag. So far, I have never heard of a founder/employee who successfully executes without sleeping or idolizing a mythical version of Steve jobs.

I have a feeling that this is a clear pattern. Founders who claim not to need to sleep / date / etc. have major problems with their business.
I don't agree. I've seen some very junior people change their attitudes rapidly (for the better) when working on a team; if we wrote them off immediately we'd lose out on a lot of promising people.

I was also one of those developers and have since changed my ways :)
They just released https://developer.apple.com/reference/callkit for iOS10
My first website, made with angular 2
Due to open office layouts there is no such thing as a private laugh.
Ahh. So probably best to think of it as its own, Scheme-like language.
This is a significant worsening of the situation from the point of view of anyone hoping to hold out and continue to use the Note 7 (due to the lack of feature equivalent replacements right now from any other manufacturer). Now that it's officially under the regime of the Federal Hazardous Material Regulations and in turn the remit of the TSA it's a matter of confiscation for anyone who tries to take it flying, with fines/prosecution for trying to get around it just like any other "forbidden hazardous material". So frequent flyers would need something else to travel with at least, and to not ever accidentally leave it in any luggage/carry-ons.

Hopefully Samsung or some other party can figure out an improved replacement sooner rather then later. While it's not one I ultimately opted for myself, the stylus got good reviews and I've found them useful in the past on other devices. Maybe even Apple could get in on the market, they do have a pen of their own already after all with OS support, albeit only on a large screen device. I don't know if the 240 Hz capacitive touch sampling requires different hardware in the iPad Pro or is a matter of a software switch, and in turn whether they could enable compatibility in iPhones with a software update or not. But whether Samsung, them, another manufacturer like Huawei or whatever, feature-wise the Note 7 seems to show there are some market opportunities there.
“Here, I made this”
> A pattern of making mistakes can tell you somebody is careless, or sloppy, or in over their head.

Or that you need to fix the process.
I said crony capitalism. I'm a free market libertarian and would totally support such a solution. Today, I had no choice in which ortho saw my son, I had no ability to discuss pricing, my insurance is limited to just the one my company provides and on and on...
I think this also could be that founders don't care about tech and Php developers are relatively cheap. Engineer experienced with different technology could easily get MVP of high standard in comparable amount of time but that costs money.
Trading one form of radicalism for another. That's the spirit...
İstanbul Tesettürlü Escort Miray Gerçek Resimleri İle Sizlerle
but you're lifting perpendicular to the rotation of the earth not upwards?
The RDS FAQ reveals this:

Q: Why is the pricing for each RDS database engine different?

The pricing for each database engine of RDS varies because our costs are different for each. These costs include many operational components in addition to software licensing. We will continue to work hard to reduce costs and pass on those savings to our customers.

My guess is that Postgresql required them to write much more internal tooling to "get right", and the costs reflect that.

See also: https://aws.amazon.com/rds/faqs/
GoodUI has a handy list of tested design patterns and recommendations:

http://www.goodui.org
>Draw the entire tree. You need to survive first. //

Depends how soon the dementia follows. I'm not sure if living is so good with severe dementia. Actually, if it's very severe then you're probably OK - my mother has a complex dementia and her medical team have now found a drug regime that "works", unfortunately that makes her more lucid and aware, enough that she has become severely depressed. Looking in on her condition I think I'd find death a welcome end if it were me; there's a strong sense of being locked in.

Whilst our instinct is to live on I'm not convinced that is always right.
The hyperloop - all the dangers of outer space, here on earth.

Or: if we can't get SpaceXplode into space, we'll get space down to earth
Στοιχημα: Επιστροφή στην δράση
Can you elaborate more? This sounds like an interesting thought.
It is my opinion, informed by my personal experiences (edit: and by reading multiple articles about the company and its melt down). I haven't presented it as the conclusion of some study. I don't know where you can find a study of comparable situations. I don't know of any other so-called decacorns, much less ones going down in flames to this degree. So it is essentially impossible to have some kind of meaningful large scale study.

That doesn't prevent me from having opinions. I have studied things like social psychology, so it is not an uninformed opinion. But your question sort of makes me think of when I talk to men on HN who fail to see any sexism here when there does not appear to be a single woman on the leaderboard.

(That always makes me feel like "okay, if that isn't obvious on the face of it, not sure there is any point in wasting any breathe here.")
Joel Spolsky's "User Interface Design for Programmers" is concise, educational, entertaining... and free (even an easy-to-read all-in-one HTML page):

http://www.joelonsoftware.com/uibook/fog0000000249.html

Also highly recommend Steve Krug's "Don't Make Me Think" (as others have already commented): http://www.sensible.com/dmmt.html
Galaxy Note 7 banned from all airline flights in US by DOT
Built using the Forth EDA tools with booleanForth and realForth for modeling the mixed-signal circuits. All on a Forth CPU hand-assembled from a stack of transistors.
All this talk about being kind (or staying calm) in tense situations reminds me of this video I caught on reddit last year. [0]

There is a dash-cam filming the inside cockpit of a plane when the pilot abruptly finds himself in one of those "death spirals" or "flat spins".

The pilot doesn't say a word.

He immediately reverts to his training, rights the plane, glides it towards the ground, and only grunts a bit when he crash-lands.

I found that absolutely amazing. To have that level of poise when you are literally facing death is unbelievable.

It is very similar to the simple advice given in the linked blog post.

Staying calm in difficult situations is the most efficient course of action.

Stressing out, raising your voice, yelling about things, or blaming others isn't going to do a damned thing when your plane is literally spinning out of control and going to kill you in a few minutes.

[0] https://www.youtube.com/watch?v=bvbS-oHi9ro
"...But the prosecutor’s office has announced that it (in co-operation with Hawkins’s employer, the Jewish Community Foundation) will go forward with the cases against the both the librarian and the patron."

The Community Foundation says otherwise:

"May 9 Event

"The Jewish Community Foundation and the Truman Library Institute co-sponsored a program featuring Ambassador Dennis Ross on May 9, 2016 for which the Kansas City Public Library served as the venue. In the spirit of encouraging dialogue, the event included a live question-and-answer opportunity. During this period, a series of actions by a questioner and a library employee began that resulted in their arrests by local law enforcement. We take this situation very seriously.

"Although we were not consulted on the charges and are not a party to the court proceedings, for many weeks The Jewish Community Foundation has been engaged in the matter to encourage a resolution that would be acceptable to all parties. We continue to cooperate in this matter.

"Know that we respect and will always support First Amendment rights. While it is inappropriate for the Jewish Community Foundation to comment further because of pending legal proceedings, we will share additional information as opportunities arise."

https://www.jcfkc.org/content/statement

The Truman Library Institute doesn't seem to have anything, although their photos of the event do not show any of the events.

http://trumanlibraryinstitute.org/interview-dennis-ross/
The key sentence:
"Kevin gave me the space to screw up, as long as I learned from it."
I like that concept of space to screw up. I definitely recognize the need for that.
Show HN: Keep Shipping Your Blog with Docker Volumes
How virtual reality transforms engineering
So you could get a job as Software dev 3 at Google for 250k, or as Programmer1 as a startup for 75k at a new startup.. why would you do the startup?

Let's face it.. title is one of the currencies of a startup. You want me to work for below market wage? Sure. I want equity to profit if we succeed, and I want a title that keeps me from having people hired over my head as we grow.