skysight-inc/HackerNews huggingface dataset:
If heating is your goal, thermal inefficiency isn't really a problem.

There's also the issue of the blood-brain barrier. Might make normal thermal regulation insufficient. In any case, it seems like they intend to do further study to see if this hypothesis is really correct and if there is more to the story. Who knows--it might be that for some species it's not necessary, but left over as a vestigial behavior like a tailbone. That's pure conjecture on my part, excuse me.

Something I find interesting about this, if a little off-topic, is that the Ancient Egyptians had a misconception that the brain simply existed to cool the blood. When they mummified a body they threw that part in the trash. How far we've come.
I know a very successful banker who prides himself on sleeping 4 hours a night because he believes that is the optimal point where each additional hour no longer has any incremental benefit.

I have gone through periods of high and low amounts of sleep for both work and personal reasons.

Sleep has always been phrased in terms of time - ie get x hours of uninterrupted sleep to perform your best. But there has to be more to it than that.

I've stayed up all night and felt rejuvenated the next day. And I've had lazy Sundays where I've remained tired the entire day.

I might not have not seen the scientific study on it yet, but I believe the quality of your sleep has a lot to do with the nature of when and why you're sleeping as well as your mental state when doing so.
Speaking as someone who has been on there and posted a substantial number of answers I think the correlation between professional development skills is much stronger with open source contributions than "points" on a QA board.
Pull to refresh is a cancer which has wasted hours in my life online because of over eager scrolling. I hope twitter starts aggressively suing and charging people who use it and they all go bankrupt and come to rue their life choices.

EDIT: somebody flagged me, sorry I didn't frame it correctly. I forgot to mention jobless so lots of time to ponder over the mistake.
Fair enough. When the Apple / Samsung countersues were all happening I thought I read on one news site that the US patent office had stopped checking for prior art. Which certainly did seem to be the case at that time too. But I cannot find that original article yet now finding other sources that agree with your statement so it seems they do check.

Thank you for the correction :)
England's poor performance is a mystery to me.
> "Pollution is in the eye of the beholder. There are many circumstances where a project or subset of a project needs to work without a heap, they just don't necessarily overlap with the "application layer code in a virtual memory process" world your intuition is calibrated against."

That's an argument in favor of offloading allocation/deallocation to the library's users, which is exactly the core of my, and OP's, proposals. We're saying the same thing here - developers should be able to determine/control how memory is allocated and deallocated.

> "And sometimes this stuff needs to read a JSON object or decode base64 or utf8 too, and can't because the library is too thick."

I'm losing you here. I honestly feel that my proposal is all about keeping the API as simple as humanely possible, without compromising the library's flexibility when it comes to the scenarios your mentioned earlier.

In your case:

BASE64DECODER_Decode(...)
BASE64DECODER_DecodeEx(..., allocator, deallocator)
BYTE * BASE64DECODER_GetDecodedBuffer(handle)
BASE64DECODER_Free(handle)
The creative / analytical dichotomy of the brain is a myth I'm afraid.
They really don’t.
Ask HN: Would it be feasible to build an open source mobile OS based on XNU?
Isn't most of the goodness of iOS (like sandboxing) included within XNU/Darwin?

As far as I can gather, the "iOS" portion is just a collection of drivers and UI frameworks that could be re-implemented in open source.
Ask HN: Hosting provider that respects privacy?
As with many companies changing their privacy policies to be GDPR compliant, Bluehost, Hostgator, and iPage updated their privacy policy. Unfortunately, they are switching to the privacy policy of their parent company, Endurance. Bluehost's old privacy policy (https://www.bluehost.com/terms/privacy-policy) is "Bluehost will not provide or sell to any third party your personal information and will keep all Subscriber information confidential... Bluehost does not share personally identifiable information about individual users with advertisers." The new privacy policy (https://www.endurance.com/privacy/privacy) is "When we share personal information with certain third-party partners, including marketing and advertising partners, that information includes your name, email address and other information enabling partners to.." Other information could be anything they want it to be, which is obviously unacceptable for a company hosting my personal e-mail. I may as well use Gmail with the new privacy policy instead of paying them to host it.

Are there any good hosting providers left that actually respect privacy? The new Endurance policy applies to Bluehost, Hostgator, and iPage, so those are out. InMotion's privacy policy is no better stating that they will share your personal information with other companies and for advertising purposes. GoDaddy has had a history of very questionable ethics (SOPA, bidding against customers for domains). 1&1 and Dreamhost ("we will not provide to or sell to any third party your personal information and will keep all such data confidential") may be options; other good options and opinions?. Namecheap has an acceptable privacy policy and they are cheap, but from reviews you get what you pay for performance wise and they have had problems with being blocked for hosting spam services. E-mail hosting for private domains that isn't blocked by spam filters is a requirement for me. Feel free to discuss both shared hosting and VPS.
Especially since copyright predates software or you know computers.
I certainly hope prior art is still good enough. The GP was asking whether the licence under which you publish your prior art should make a difference - I don't think it does.
Oh ok thanks, I honestly got mixed up in concepts. Glad to clear this up.
But that's the essential point, that what you call working hypothesis are actually untested hypothesis. Using an untested hypothesis as a working hypothesis is bad science that may actually be counterproductive, unbeknownst to the users of the working hypothesis.
Most often you do not need any sort of "complex ADT"; in that case the no-malloc advice is good but harmless.

Sometimes, you can probably do without any "complex ADT"; in that case, the no-malloc advice forces you to find the clean solution without complex ADT, thus it is really great.

In the rare cases when you intrinsically need a complex ADT, then you do it. The advice is a spirit, not an unbreakable constraint. Just like not using goto.
DeepDSL: a domain specific language for deep learning
Building a mobile OS with sandboxing is not hard. Building an app ecosystem that has the apps people expect to be able to use your mobile OS is extremely hard.
Wapo? Delet this.
Wow, this is just like the plot for Sanctum, even down to particular scenes (https://www.imdb.com/title/tt0881320/) - minus the movie drama, of course: "An underwater cave diving team experiences a life-threatening crisis during an expedition to the unexplored and least accessible cave system in the world."

And I've always loved the tagline: "The only way out is down"
Exactly. They'll scale up horizontally by adding more and more instances until supply == demand, at which case we'll be really, really sad we followed this road.
Notability on iPad with Apple Pencil.
What sort of things interest you? I know of a lot of open source projects, and all of them could use some help.
And given the extreme asymmetry of defense vs offense there is only one possible outcome :

Backdoors for every state actor ...

It is incredibly easy to make ridiculously hard to find backdoors in both software and even more so in hardware, and early versions have been caught (including the US and Chinese governments). The odds of finding "v2" or, more likely "v50" backdoors are bad. Very bad.
Hm... It took me a good minute to understand what you're talking about with those two examples, because apparently my mental model is different than yours.

For me, the indentation rules for those two examples are identical, because of a different rule: the adjacent-string concatenation means the two editor lines are one conceptual line.
The actual papers probably did. News writeups are often much more sensationalized than the actual research abstract and conclusion. This PhD Comic describes it really well:

http://phdcomics.com/comics/archive.php?comicid=1174

This article is actually fairly balanced in comparison to many of the other paper-based news write ups I've seen.
I think in recent years dogmatic minimalism has shown itself to be destructive. Time is wasted refactoring code and features are removed, reducing usability, all in service of an aesthetic that has lost sight of its purpose.

Each of the guidelines listed independently represent good practices, in general, when applicable. It's worth considering the design choices when developing a library. But promoting a definition of minimalism implicitly promotes an all-or-nothing approach to development. The choice to not include memory allocation should be entirely independent of the choice not to include I/O. Pretending otherwise indicates that the choices aren't driven by pragmatism.
Sam Clemens Philosophizes
Yes, in saying an idea is patented I was technically incorrect - in theory, an idea can't be patented, an invention is only patentable if it 'teaches' how to implement it. Nevertheless, what is patentable is still a lot more abstract that an actual implementation.

So we have:

idea > teachable invention > implementation

(where '>' is 'more abstract than')

The GP seemed to by conflating the invention and implementation, in asking what difference the licence of made. That was the distinction I was trying to draw. Duda put the invention in the public domain, not an implementation - it's not clear you can apply the MIT or Apache licenses to an invention at all.
The market is extremely tight.
Org-mode. I won’t be wasting any words at it since I think it is well known thing here.

Besides that I use Apple Notes. They sync and work flawlessly between iOS and Mac devices.

And lastly, pen and paper. I like writing things down.
Sifang art museum
With the exception of bounties, donations do not translate to fixing an obscure big or adding a feature. I’ve even had some features which I’ve implemented fail to make it into the upstream because it’s not the way the maintainer(s) would have implemented it, despite it being highly requested and following their development patterns as much as possible.

The attitude in the opensource community about pull requests and donations is sometimes frustrating when you realize that a contribution you’ve made may never benefit the community.
I think Java is simple because it’s small. There are only 50 keywords and ~40 operators (many of which are variations). As a comparison C# has 102 [1] keywords. Java code is generally easy to understand assuming some familiarity with other languages. There aren’t many weird symbols or constructs. There are very few exceptions to the basic rules of Java. It just does what you’d expect most of the time. Java feels like a lowest common denominator language— a kind of average of everything else.

This “simpleness” is part of what makes Java not easy. It is not very expressive. Java (outside of memory management) does not give the programmer a lot of help. You have to explain things to it in excruciating detail, being very specific and never leaving anything out or the compiler will complain.

The lack of expressiveness makes some things really hard. Just look at the number of dependency injection frameworks that exist for Java. Or logging frameworks.

At a certain point of project complexity everyone ends up fighting their language. It feels that with Java that point comes early then most others. But cleverly I think it comes after a level of complexity that most people end up hitting in enterprisy CRUD apps and that’s a big part of why Java is so popular.

[1] https://stackoverflow.com/a/4980785/858463
I guess it’s supposed to be really terrible and disappointing that a Seattle newspaper is not interested in complying with EU regulations. I disagree, but anyway I’m not sure how this sort of thing wasn’t anticipated as a consequence of the regulation. As I’ve said a few times here, such things are proof that the law works. At any rate it feels a bit performative, like if you try to make a website look bad they’ll change their mind. Sorry, but it’s just business.
I find smart thermostats to be remarkably useful, and the primary smart device of mine I interact with. That being said, I recommend something like Insteon, Z-Wave, or ZigBee based hardware, be they lights or thermostats or otherwise.

Avoid having a lot of network-connected devices. One smart hub is one device you have to be worried about, instead of wondering if any given light bulb might be part of a botnet.
If it's related to warmth, then why would rats have to make it up after days of deprivation? Overheating seems like it would be just as destructive.
People need to realize that google could have bought it. Think about it.
It's not like munis are a gift; they are repaid through taxes on the citizens of the city/county/state. TANSTAAFL.
R marks "relative" major/minor, for example: A minor pentatonic is relative to C major pentatonic (contains same notes/shapes, just root note is different).
I can/could change defaults, but, all your presets should be saved between the sessions (your next visit).
I am in the middle of making some interface changes, hopefully buttons will behave better after it.
Thanks for feedback.
Caving expeditions in pristine environments go to great lengths not to leave any trace of their passage. While robot probes seem a good idea, if anything goes wrong with the device, someone's going to have to recover it...
> The problem with open source is, for some reason, the developers feel no sense of obligation to the end users

This is as much true as it is for developers of proprietary software.

There are many examples on both sides that make your statement false, also as many to make it true.
You did say:

> Second, it causes people who do sell to ask a higher price, in compensation for the tax benefit they're giving up by selling.

To me this implies that the seller can increase the sale price if they think they deserve more money.
There was also some research a while back where scientists theorized that sleep is also used to clean out the brain:

https://www.nih.gov/news-events/nih-research-matters/how-sle...

It could mean that constant sleep deprivation could increase the risk of Alzheimer's, but of course that's really difficult to test since you'd need a lifetime of sleep data for humans in their 60s/70s.

Also I think that paper was just about sleep in general, not specifically dreams/REM sleep.
This doesn't really solve the ambiguity. You can do the same in Java (and people often do):

if (getClass() != other.getClass())
return false;

This does guarantee that equality is symmetric but it's also troublesome. First, you have to trust everybody to do this comparison. If one type forgets then symmetry breaks. But also, sometimes, in the case of value objects like Points you do want equality between different types. Point2D and Point3D and RasterPoint all have x,y coordinates and should be equatable.

The proposal is to capture equality (and all other operators) as static methods.

class Point2D {
public static boolean operator_equals(Point2D p1, Point2D p2) { ... }
}

class ColoredPoint {
public static boolean operator_equals(ColoredPoint cp, Point2D p2) { ... }
}

In certain cases the compiler can unambiguously determine that there is a single static method that defines equality then this can be invoked by 'a == b' and we can also be sure that 'b == a' because both refer to the same method.

The point here is that equality is not something that can be decided by one object, it is an operator that establishes relations between types of objects. There's a very fundamental difference between sending a message to a single object and establishing a relation and this is the source of all the confusion around equality.
I usually add to the mix OneNote, especially when I’m on the go and have only the iPhone.
It's not the only way to get prior art but prior art isn't the only reason a tech company wants to try to get patents so I'm a little unclear on your point.
Why would google buy it beyond charity?
WorkFlowy is incredible

But it’s not open source
The paper was withdrawn with v2

Comments: We were asked by an author of a criticized paper to withdraw the submisison in order to allow them to respond to our criticism in private
Support Eric S. Raymond on Patreon
Learn a whole new paradigm of programming. For me, starting out as a CRUD web app developer, getting into game development was a huge eye opener. It blew my mind to realize that programming isn't all about object hierarchies and application structure. It can be fun and expressive. There is no single right way to do things, and there is always something new to learn.

It's so important to remember that "programming" is a skill roughly equivalent to "writing". It's not one specific "thing", but a generalized tool for solving problems in life. There are styles and domains of programming that would feel like almost a completely different occupation from each other.
Care to expand on the Sublime plugins?

I use Sublime for notes but store them as plain text files. My other favorite Sublime feature is it persists unsaved tabs through app restarts and system restarts thereby giving me the effect of holding on to my notes until I'm ready to actually save. A lot of stuff I just need temporarily.
I have 1278 packages installed on the computer I'm using now it takes 11 items 5-10 bucks a month each to spend 1000 dollars annually.

Thanks open source.
>>The real business model should be players paying you directly to develop and update the game they want to play for as long as they want to play it.

This may be an acceptable model for games-as-a-service, but how is anyone supposed to make money on single player puzzle or story-driven games? I enjoyed westworld, but I have no desire to replay it. By this same logic, it's also 'unnatural' (whatever you think you mean by that) to pay an author for a book. Some software products don't necessarily fit with your proposed update cycle, there are a significant number of games that get developed, released, and that is it aside from bug fixes.
https://www.ri.cmu.edu/pub_files/pub4/fairfield_nathaniel_20...

In May 2005, the DEPTHX team lowered a 32-sonar
probe, called the DropSonde, into Zacaton to a depth ´
of 200m (Figure 1) (Fairfield et al. 2006). A similar
probe, called the Digital Wall Mapper (DWM) was used
in 1998-1999 to map several kilometers of the Wakulla
Springs cave system in Florida (Stone et al. 2000). The
DWM was a diver-driven sensor sled, and the DropSonde
was simply lowered on a cable from a barge. Both probes
were based around a ring laser gyro IMU, two depth sensors,
and a ring of 32 pencil beam sonars arrayed radially

The first author is a principal engineer at Waymo and has been at google since 2009.
Sure, fully I agree with that.
Is it really advertising that's at fault here? OP has a big issue with WalMart. I don't have a problem with WalMart at all. WalMart is an inevitability in a world where selection pressure rewards increased efficiency and lower costs. The most natural way to achieve that is through scale and centralization. But OP is clearly ideology driven and has a warped view of WalMart as some sort of super villian, that most normal people don't. He is confused why nobody follows him in his boycott and scapegoats advertising.
Hey, I'm curious now. I'm a keyboard addict, but I typically use a mac at work and windows at home. I have previously used linux, so I have nothing but love for it, but how does it enable me as a keyboard enthusiast in a way I'm not getting with osx or windows 10?
There are some humans who only need 5 hours of sleep a night. Others that need 8 or 10. A good indicator is during a long vacation, without an alarm, how long do you typically sleep? If I allow my body to wake up naturally, it's almost always after 7 hours.

If you go long enough without needing to be on a schedule, studies have found a lot of people move back into a rolling/rotating sleep cycle .. a few hours at a time throughout the day/night. I found myself doing this while I took a several month sabbatical from the workforce.
Great example. In the design you propose, in expectation, you would have an unbiased causal inference. We would probably want to check for pre-treatment balance between groups to make sure that stochastic (chance) imbalance did not emerge even though the process itself is good. I don't know anything about heart attacks so I don't have the subject matter knowledge here, but imagine that smoking causes heart attacks. If that's the case, although your design should not cause the presence of smokers among treated and control units to systematically vary, maybe it did by chance. We'd want to assess balance. Same with any other potential confounders.

Another technique we might use is a blocked (or stratified) random sample. Knowing that there will be both smokers and non-smokers, we recruit two separate samples, and randomize treatment assignment within each. This ensures that smoking status does not predict treatment assignment and guards against some potential threat from overall randomization.

We could also mitigate the imbalance that does exist by doing a matched analysis, where each treated unit is paired with a control unit that looks most like him (some control units are reused). Or we could match on propensity scores. Or we could weight on inverse propensity weights. Or we could weight using covariate balancing. Or...

My point in doing this info dump is to a) back up nerdponx's example, which is great and b) illustrate how there's a lot to learn about how statisticians have taken the problem of causal analysis seriously and developed techniques appropriate for answering causal questions.

People in the CS side of things tend to use Pearl's DAGS for conceptualizing this stuff. I'm in the stats/econ side of things so I use Neyman-Rubin. They're equivalent. Allow me to suggest Rubin and Imbens - Causal Inference for Statistics, Social and Biomedical Sciences as a good textbook that we assign to graduate students learning this stuff. Some of my students tell me the "Causal Inference Mixtape" is popular among people who want less statistical theory and more "what should I do as a practitioner". A virtue of both the resources I just mentioned is that they discuss not just experimental designs but also observational data studies, like the one the original post would have wanted to conduct.
What do you do when an idea is quoted out of context by people with an agenda?
If we were talking about "what I would do at work" then I would agree with you.

Fortunately however the awk scripts that I hack in my down time are not even usually saved. It would be much like criticizing people who play regex golf because the regexes can be hard to understand. That code is never meant to be used for anything other than the immediate satisfaction it brings. If anyone ever did see them, it would be because they either hacked me, or I showed it to them related to some conversation about awk scripts.

However I also disagree on the definition of the word clever wrt workplace. I often consider the simplest and most straightforward implementation to be the most clever. Anyone can write impenetrable code that confuses people. Not many people can solve the problem at hand in an elegant, simple fashion.