skysight-inc/HackerNews huggingface dataset:
> Problem solved.

You forgot "bypass or instrument our custom allocators", "determine repro steps in the first place", "filter out false positives", "bypass or instrument your refcounting - because failing to pair a free() with your malloc() isn't the problem, nor even failing to pair decRef()s with addRef()s - breaking up cycles is", etc.

Sometimes the answer is "force your scripting language to garbage collect again".

Sometimes the answer is "track down an incorrect cast in code that ultimately causes a single byte corruption in your refcount".

Sometimes the answer is far more horrifying.
What do I search for in the App store to find this? "Microsoft todo" does not turn it up.
Here's s technique I've found helpful for intrusive thoughts. It's like stack overflowing your imagination with a vivid internal ritual, which overwrites all the frames containing unpleasant thoughts.

I imagine writing the details of the unpleasant thought or image down in vim. This converts the thought to "something I am observing" vs "something i and xperiencing."

Then the ritual plays out, where inmagine the same sequence of events: saving the file in vim to disk. Copying the file to a USB memory stic. Putting that stick into a ziploc back. Putting that bag into a specific pocket in my backpack. Getting my backpack and getting on my bike. Biking from my old apartment (where I lived when I developed this technique) and bike down 101 to moffet Air Force base, where I throw the backpack into a conveyor chute to a rock, which launches the backpack into space.

Sometimes I had to repeat the ritual a few times, but afterward, the image or thought recedes in intensity.
Doesn't apply here. You seem to think otherwise - why?

I explicitly say that what Germans did is inexcusable.
I guess that's just human nature, we are doing similar with IPv6 right now. The smallest allocation for IPv6 is /64 that's 1.84467440737096E19 addresses.
To be fair the article is called "C is not your friend"
There are different sanitizers for catching different sorts of bugs. MemorySanitizer is the one that catches use of uninitialized memory.
not Time but Attention and their capacity to consume, disseminate and promote ads.

Your complaint would probably also apply equally well to Google as both are tech ad networks at their financial core.
That's "JavaScript Object Notation," as in, how to use objects in JS.
> No mobile phone I've seen supports ipv6.

How hard have you looked? My iPhone has native IPv6 on Verizon.
AIUI, it's just a linear penalty because, at worst, you have to run each computation backwards to "uncompute it".

That's under the (necessary) assumption that you don't even try to avoid erasure operations that need for their own sake rather than as an intermediate step.
With a knife, you know where the sharp bit is. With C, sometimes the handle explodes, killing everyone in the kitchen.
> That puts a de-facto cap on either the speed of C development or the size of C projects.

I don't think anybody will disagree.
Tell me who is Wikipedia's competitor?
Sony’s New Α9 Professional Camera
That is what I meant, under specific assumptions about the access pattern they can show similar behavior. Classical LFU tracking the absolute frequency of items will keep items that are used frequently in absolute terms but infrequently in terms of the instantaneous frequency in the cache while LRU will evict such items in favor of items with high instantaneous frequency. Those two algorithms are in some sense two extremes, LRU cares about what is most frequently used right now, LFU cares about what is most frequently used over the entire lifetime of the cache.

The LFU variant you describe in the linked article is somewhere in the middle, it tracks the absolute frequency of access just like classical LRU but then it also decays this frequency and therefore turns it into something like a weighted and averaged relative frequency. But it is, at least for me, hard to tell what exactly the algorithm tracks, how the accesses are wighted over time and therefore were exactly this falls on the spectrum between LRU and classical LFU.

Algorithms like ARC and CAR also try to strike a balance between LRU and LFU with the difference that they adaptively control where on the spectrum to operate.
I'm glad somebody asked for this. I'm going by this:
http://reason.com/blog/2011/11/21/why-we-should-fear-bathtub...

I'm sure somebody out there will argue over the exact numbers, but the general point that terrorism isn't in the top 100 causes of death is unassailable.
We got so many unsolvable cPanel questions on ServerFault it's mere presence on a server is now a reason to close a question.
The syntax looks similar, but there's no mention of an `unapply()`-type thing, which would limit the flexibility of this proposal greatly.
...you're probably getting what you deserve.

I suspect we could use a crawler that detects this phrase applied to a programming language, and use that as a proxy metric for programming language design quality. (The more unique detections of the phrase, the worse the language.)
If it's not possible to write function-like-macros that actually behave like functions, then function-like-macros need to be not used.
Maybe you disagree, but I believe our country's (USA) treatment of individuals with mental health conditions is extremely important. There is much room for introspection - could we "fight crime" and improve quality of life by treating affected criminals medically in lieu of, or in conjunction with, punishing them criminally?

It speaks to the broader issue of prison reform, not to mention the embarrassing history of how society has shunned, abused, and generally mistreated individuals with mental health conditions.
A bit yes, I have to admit this. However it's not HARD to find new&interesting way of screwing up with the language, it's been done for longer than I'm alive, and some people abused it in extraordinary ways over the years [0], so all I can think of when I see that sort of article is 'HN clickbait'. It works. It's actually borderline trolling at this rate.

[0]: http://www.ioccc.org/
I work at a finance company so I'm not too worried.

EDIT: In hindsight, I see the irony of that statement. But I also know we don't get involved with the sort of schenanigans that hurt firms in the last crisis.
For Java server application programming.
300k pounds is roughly USD$600k I think;

Oh, if only that were true! (It's less that $400k at current exchange rates, and arguably even that overstates the purchasing power).

not exactly a "modest family home" in most of the US outside of a few overpriced metro areas like SV.

It'll go a long way in the housing market of much of the UK, too. Just not the "overpriced metro areas" (where, sadly, a lot of the software jobs seem to end up...)
rip Carlos.
It's a demonstration that function-like-macros are not actually all that function-like, no matter how defensively the writer of said macros tries to be.
And nothing bad will happen if you alloca too much?
Facebook’s new VR cameras let you move within a 360 video
I also noticed the same.

I answered 0.

Same for incorporation . New questions prop up now.
Yes. Not sure what precisely defines middle class, we might have been at the upper end of it. Private schools, we lived overseas for a while.
The Junkyard: A scholarly blog devoted to the study of imagination
> Macros (in any language, not just C) are the big problem

Not true, see: https://doc.rust-lang.org/book/macros.html#hygiene (not unique to Rust, though, Scheme even has some of this like Hygienic macros)

Macros don't have to be C-style simple text substitution.
Pen Testing Active Directory Environments
And then people wonder why other engineers smirk when they hear the term "software engineering" :-).

We're not all fitted with the same Umbrella IntuCard Mk. II Intuition card so that, relying on intuition alone, we can all reach the same results from the same inputs. Relying on intuition to figure out how a language works is about as smart as relying on intuition to figure out the limit of a series, how a telephone work or how a transistor works -- all three of which have been definitely designed for humans to use, since there were nothing but humans who could use them back when they were invented.

I don't like it any more than you do, and my life would be much easier (and probably happier) if it weren't like this, but blaming it on the language is the equivalent of the turtle blaming calculus after losing the race to Achiles.
You need to take advantage of the proximity and network! Preferably upwards. Befriending the QA guy may make your life easier now, but he's not going to be the one who can offer you a job in 5 years time.
> England

Britain. Along with contingents from most of its Empire.

(Saying "England" when you mean "Britain" is like saying "Texas" when you mean "U.S.A.")
Correct! Some of my practices are specifically known things in CBT. Some of them are specifically known in physical therapy. And some are more related to mindfulness or tantra.

I find them incredibly handy & have been rapidly growing in weird ways since New Year's Eve. I realized I can leverage natural cognitive biases for pattern matching to start classifying each moment of my life as meeting some set of fundamental human needs of mine.

The skill of choosing one's beliefs (ie. shortening the time it takes for a belief to be internalized) is extremely useful and something we don't really teach in society. It's no wonder we're experiencing such divisive times, especially when we've developed all sorts of systems that fail to preserve human connection.
Is your point that it's technically legal for him to be a huge hypocrite totally lacking in empathy and compassion? I'll grant you that.
On 2. You can't run reversible logic on our currently non-reversible logic and expect to see less power usage. If you had two reversible computers you could reverse the output of the other while consuming minimal energy just as a single reversible computer could reverse it's own output. The operations must be run forward at least once, or technically you don't have the outputs to input to the reverse.
While I don't disagree, I do think there's a general lack of empathy here; we're so overloaded with information, our senses are always tingling at 11/10, making it even more difficult to understand others or appreciate their version of the human condition.
Unrelated question: How would you compare sciter to Electron? If I'm seeing this right, your thing is just for UI whereas electron has the whole application running in a browser-like environment, yes?

How is communication handled between business and HTML?
There were many reasons that they thought it might be short and quick. They didn't think the economies could take that kind of strain for a long time, they thought technology would make wars faster (British cavalry journals before the war thought the machine gun would help more than hinder the cavalry), and they just had too much faith in their first strike capability (France with plan XVII and Germany with Schlieffen plan).

The biggest problem was that it had been over 40 years since Europe had been at war. This meant that there was little evidence based study to do with new military technology advances and it was too easy to dismiss colonial conflicts (Boer War, Russo-Japanese War) as not indicative of what a general war in Europe would look like.

It is actually remarkable to hear some people argue that a world war today would be short (if it is non-nuclear) because of the same reasons.
That is fantastically comprehensive. I kept thinking "what about..." and then finding it a few pages later. I'm really impressed. I actually found games I've never heard of. OK, Elona is probably the least well-known cult niche break out success (throw in some more oxymorons into the mix) and everyone's heard of it but it never gets a write-up. And obviously games like the Rance series get ignored as well. On the other hand Undertale and Dwarf Fortress is stretching the term a little bit.

Fantastic work. Needs bigger screenshots.
There's plenty of housing available in the U.S. The lack of housing availability is more localized to specific heavily-urbanized areas (like the coasts); as you move inland, property costs drop significantly.
Yea if you hold it wrong. Undefined behavior doesn't magically happen.
Looks like someone at Atlas Obscura listens to the No Such Thing As A Fish podcast [0] (Episode 160). Not that they shouldn't, it's a great show.

[0]: http://qi.com/podcast/
As far as newsworthiness, one thing that stood out to me here was "Suggestions." Does this mean I can expect it to say, "looks like so-and-so-'s birthday is coming up, you should buy them a present today since you're already going shopping"?
Our school uses Netbeans for Java. Everyone hates it, but the professor doesn't want to learn anything new (they're still teaching BufferedReaders)
I think he got that from the Clang documentation:
https://clang.llvm.org/docs/LeakSanitizer.html
I agree with you, but I guess you could say that those IPs have "appreciated" in value from $0 way-back-when to some considerable sum today.
Whether or not that is true, that doesn't contradict what I said. Taking into account intuition doesn't mean one can't or shouldn't do some unintuitive things, just that it should be an explicit decision. In the extreme, no amount of documentation about how the "+" operator does a multiplication is going to make that a good language design choice, and this applies to smaller papercuts too.
1/32,000th is 4x faster than 1/8,000th, no?
I really really like these suggestions. Especially the first parts where I have found myself writing a lot of instance-of-cast and just marvel at how much clutter it actually adds without adding more description to the code. I do also ponder if there is a limit to how much we should potentially shorten the expressions, not to make the expressions extremely dense it understanding. The last opinion is just taste though, admittedly.
My experience tells me the opposite. Approaching a senior level guy in person can be intimidating when you're just starting out. Sending that same senior engineer a chat message on whatever what message system the company uses is considerably less nerve wracking. Also, if you don't get any response back from the people you're reaching out to, that's a culture issue not a proximity issue. Those guys would probably still blow you off if you were in the same office.
Really?! exprswitch?! Unreadable and long!
The precedent will always hold in as much as the Supreme Court is unlikely to categorical remove the ability for any court to order a forced sterilization. And because no state currently has, nor will likely have in the foreseeable future, a compulsory sterilization law, there'll never be an opportunity to overturn Buck v. Bell on narrow grounds.

Striking down all forced sterilizations categorically could (nay, will) lead to unintended consequences. For example, a categorical prohibition relying on Kennedy's Fundamental Dignity doctrine could theoretically jeopardize even temporary sterilization of child rapists as a condition for parole. Such unintended consequences are unnecessary and easily avoidable as long as courts stick to focusing on the narrow context of each case.

Courts do best when they stick to the immediate context of a case and refrain from broad proclamations. A sweeping proclamation is precisely what is most abhorrent about Buck v. Bell. In the historical context the forced sterilizations sound worse now than back then. Consider that by the 1970s 30% of American women were sterilized, the vast majority voluntarily (notwithstanding typical social and economic pressures). Before the advent of the birth control pill sterilization was common place and less stigmatized. Sterilization was still very common in other countries after that, and in some places still is.

That's not a defense of eugenics. Just don't conflate sterilization with eugenics. And don't make the same mistake Holme's did, which was to succumb to the siren call of generalization.
It does not take a lot to become a cop. I don't think you even need a HS Diploma. A large majority of Police are already mentally unstable to even want the job. The best advice I can give anyone is avoid them as much as possible. Their resources are endless and yours are finite.

Incredibly distressing to see an imbecile treat a fragile child like an animal. I really hope the cops and school are sued for millions.
I read OPs comment as "100% certain on the way out", not as "now obsolete".

That mechanical mirror is fairly expensive to build and imposes some restrictions on lens design (the back of the lens can't move too close to the sensor), and both will go up over time (the mirror hardware will get more expensive because fewer and fewer mirrored cameras are sold, and larger sensors require larger mirrors)

As far as I can tell (corrections welcome), the main advantages of a mirror are battery life and behavior in low light conditions (it isn't easy to rapidly update a LCD viewfinder in low light conditions, and that viewfinder may be too bright). Battery life becomes less of an issue with better battery technology. That leaves low light photography. I don't think that, over time, will be sufficient to keep a market for such cameras.
Exactly what range of processing is done to the fruits and vegetables before packaging? How effectively washed are they given what we now know about pesticides and cognitive development? How environmentally destructive is individual shipment of the packages? How disposal-friendly are the packages? Are fruits and vegetables sourced in season, locally or organically?

I think we can guess what the probable answers are.

Process...

Step 1: Pick a natural, functional, thing like a fruit.

Step 2: Hype the crap out of it (or wait until someone else does).

Step 3: Re-invent some part of it (eg. fruit skin) as an artificial product (eg. QR-coded spacepack) so that you can charge money for it, even though this is both unethical and wasteful, and actually less functional in many ways (eg. hard expiry, juice only output, damage less apparent, etc.) than the original.

Step 4: Sell a subscription.

Step 5: Obtain some kind of industrial protection racket through regulatory means, by claiming the natural alternative is unsanitary, of dubious or dangerously uncontrolled quality.

This is basically how a lot of the pharmaceutical industry works (with a few extra steps like co-opting/corrupting established points of community trust, integrating an insurance protection racket, etc.), as well as diet pills, cuisine fads, juice industry, etc.

Was this really the top US hardware startup last year?
"The central thesis behind the electoral college simply didn't play out, and holding up today is simply necrocracy. There's a reason why no other government on Earth has one of these things."

I think you mean like the UN, where countries vote not citizens from around the world. According to your logic, the people of China should be able to force you and all other people around the world to do anything and enforce any law that they wish.
There are "Blub" languages which are such that if you don't use inheritance to connect two record types T1 and T2, either to a common supertype S, or to each other, then T1 and T2 are not substitutable. The users of these languages came up with the term "object based" for that situation in order to try to linguistically connect that to object-oriented programming somehow.

In real OOP, we don't have to use inheritance for objects of different types to be substitutable, so "object based" doesn't exist as a separate phenomenon. We use inheritance when two or more things are internally similar, such that they can share a chunk of implementation. If things are similar only externally (API level) but have totally different internals, then we don't use inheritance.

OOP is happening when we substitute objects of different types into the same code and they work, regardless of whether those objects are related to each other by inheritance.

"Object based" is when we cannot do that.

It's basically a new (or not so new any more) term for "abstract data type" which is used when the abstract data type language supports obj.function(arg) syntactic sugar.

If we take Wirth's Modula-2 or Pascal exactly as-is (two languages exemplifying abstract data typing support) and then add the "obj.function(arg)" sugar, they suddenly become "object based".
AddressSanitizer is part of a suite of tools - MemorySanitizer will catch uninitialized memory, and there is UndefinedBehaviorSanitizer and ThreadSanitizer as well. Your colleague may be complaining that a wrench is not a screwdriver.

Address sanitizer has caught something on every codebase I've enabled it on. YMMV, but I encourage you to at least try it out and draw your own conclusions.
Good point, but I meant mental re-loading.
Very interesting idea. I am curious what the data will show about the differences in outcome vs traditional therapeutic interactions.

As as side note, you shouldn't have the "What Kip partners are saying" with only one person, and that person being someone that has Kip as her employer on linkedin. But not as a therapist but as a "Chief Clinical Officer" AKA chances are she does not see clients directly...
Yahoo’s Mail app now works with any email address
IMO this is the biggest thing available to modern languages that Java is missing. I would absolutely love to see this, particularly pattern decomposition. I wonder if you could do it without something analogous to Scala's sealed classes though--you really want your type checker to be able to assert every match has considered every branch (without having to specify a "default" everywhere). That means you need to be able to mark classes as not-dynamically-extendible, so the type checker has the full set of subtypes available.

Edit: Just got to the bottom of the article. Looks like sealed hierarchies is exactly what they explore.
Industrial(i.e. commercial) IOT examples:

- waste disposal: system knows trash levels in each bin, allows optimization of routes, saving 30%.

- agriculture: for trees: a bug trap, that measures the bug density in an area - allowing optimization of pesticide. etc for agriculture.

- Smart sensors inside pipes, allowing cities to detect leaks in advance. Same for clogged pipes in restaurants.

- Putting a lot of sensors in manufacturing processes, collection and analysis to see at what conditions there are problems with the product.

- in restaurant chains, putting a lot of sensors, allowing management to keep an eye. also, measuring and tracking everything allows better stock management, critical in high-perishability stuff,
In Greek and Roman days, the "liberal arts" are, historically, the arts that are appropriate for free people, as opposed to the trades, which were for slaves. That is, the liberal arts were for people who didn't have to work, or to earn a living from what they learned.

Fast forward to today. The liberal arts (humanities) are fine if you have a trust fund. If you're going to have to work for your living? Not so much.
> But Bengalis were forced to make similar orthographic contortions just to write a simple email: ত + ্ + ‍ = ‍ৎ (the third character is the invisible “zero width joiner”).

> But the final letter [of my name] has still not been given its own Unicode character, so I have to use a substitute.

I am having a difficult time determining, partly due to the example in the previous paragraph, whether the issue is that Unicode can't represent the final character of the writer's name using a single/correct glyph or if that glyph simply requires multiple codepoints (at which point I would argue this is an issue with their keyboard or text editor, not the storage format of the text).
I'm curious as to how AWS plans to prevent users from generating malicious FPGA bitcode that physically damages the FPGA itself and/or the host machine over PCI Express. The possibility of instantiating arbitrary logic gates in the cloud seems very dangerous.