skysight-inc/HackerNews huggingface dataset:
What kind of commonly activated social norms are we talking about where you can get away without them around your spouse but not other people?
It doesn't really evict it. It pauses execution, but program is still running, so when you switch to it, it'll continue to run from the same moment you left it. If another foreground app requests more memory, then yes, iOS might terminate background apps, but that's not necessary. Also there's limited support for background tasks in modern iOS, so background apps might still drain battery and affect CPU (though probably not significantly).
However beware of following the advice given...

If a higher percentage of Samsung devices are updated (graph keeps going up), then that would imply you were more likely to get an update.

The graph currently emphasises the first mover speed (which is affected by carriers, not just manufacturers).
Nope.
When the clock signal is received it means that the components in the critical path have sent the output in the destination, and so the state of the chip is coherent and it starts another step, synchronous across all the chip as the previous.
Using your definition then I can say that a block of procedural code that starts on a single thread as soon as an HTTP request is received, processing it and blocking the thread until the end, is asynchronous because it is an action taken in response to an external stimulus, to use your own words.
But it is simply not true. The mechanism that dispatches the call to start the subroutine is asynchronous, the code itself is synchronous.
Tap Strap: Wearable Device Turns Anything into a Keyboard
> There is no core privacy premise of the internet, and certainly not one that everybody used it signed up for.

Sure there isn't. The internet is just a jungle where predatory animals can hunt you down if you go in their teritory.

They say we've exited from the jungle once, but apparently the jungle is still in us.

Besides ad blockers, we need more plugins to help us mark these animals and keep us away from them.

A nice plugin would be to just remove from your searches all the links to domains known to be involved in spam.
NPM would be hugely improved if:

1) `npm install` on two different machines at the same point in time was guaranteed to install the same set of dependency versions.

1b) shrinkwrap was standard.

2) it was faster.

3) you could run a private repo off a static file server.
Awesome read.
Royalty-Free Intel Math Kernel Library
There are a lot of dumb traders, sure, but that doesn't mean that dollar-weighted average investor (the one filling your order) is dumb.
I would consider that good news (if the problem domain is important enough) because that means that the only thing left to do is write a better implementation.
My Parents’ Mixed Messages on the Holocaust
What a choice of words. Being old should is not the cause of being swindled. Maybe inexperienced which is aggravated by being old as you should have more experience.

Bit the same for quick thinking. Learned quick thinking many times result in sloppy thinking.

So maybe the investors were just not fit to be investors at what ever age?
Please elaborate on how a sofa delivery company fits that model.
Yeah it is not really networked in the TCP/IP sense. It is Miracast, and thus use raw wifi frames on a point to point connection.

Similar leveraging of raw wifi has been done for Bluetooth, where it would coopt the wifi radio to do bulk data transfers. Not sure how many devices support it, particularly after wifi direct was released.

I just wish wifi direct had something akin to OBEX that Bluetooth bundles. Makes sure that two devices can talk to each other in a meaningful manner.
Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs
I second this. Spring Boot is the greatest thing to happen to Java in a long time... Well, that and lambdas...
I've had an inconsistent experience with this product, but it's great when it works. A lot of jiggling the handle involved.
Show HN: Coffer – Containerization for the minimalist
To echo the sibling comments, use what's in Go's stdlib and you get trivial build and deployment. Spring Boot, Dropwizard have a steeper on-ramp if you're not up on modern Java dev, and the deployment is fractionally more involved, but they're both good options.
Maven is consistent, fast, and a de-facto standard. I can't say any of that about any Node.js-based "build" tool.

Maven has faults too. But it would be a mistake to ignore its strengths just because it is ugly.
Linkers and Loaders(2002)
Thanks for the implicit Beeminder plug! And funny Freudian slip there with "corporate welfare" instead of "corporate wellness". :)
I talk a lot about this stuff with a friend doing sales operations at a hyper-growth startup in SF. With Criteo, tools like Reply.io and others he thinks we're going to see an event horizon where recipients of spam say enough is enough and online privacy finally becomes 'cool'.
At the lower tiers of the professional game, Brazilian footballers have an advantage in foreign markets because their nationality has a kind of soccer mystique. I can't find the exact quote, it was from an agent, saying it was easier to place a mediocre Brazilian than a brilliant Mexican (Somewhere in the book "Futebol: The Brazilian Way of Life" by Alex Bellos). I know my local (second, third, maybe nth) tier professional team were very proud of three Brazilians, apparently obtained as a job lot. They came complete with single word names etc. After watching them play I was pretty sure the aquisition strategy was to pick three random twenty something dudes off the street of Sao Paulo or similar! These guys are sure to be good enough to play professionally in New Zealand right! To be fair one of the three could play and he made a decent career in Wellington. Daniel was his name if I remember correctly.

It looks like this guy took some advantage of this "Brazilian factor", although it hardly explains his stints at huge clubs like Botafogo etc. in Brazil itself!
you are absolutely right this is a click bait post that should be down-voted.
I actually have the opposite problem. Windows 7 updates that refuse to install so I can't upgrade to windows 10. I think it's related to when I installed silverlight (for netflix or something) which decided then decided that my OEM copy of windows was pirated.

Shit like that has me eyeing up a return to ubuntu.
The advantage you're describing is concurrency, which doesn't necessarily require an asynchronous/event-driven programming model. Synchronous concurrency is built around threads to achieve concurrent execution (i.e. instead of waiting on events for several requests to finish in parallel, you fork off a thread for each to process each request synchronously).

Node came of age about a decade after epoll was introduced, when not having access to nonblocking IO was considered a big liability for a couple of dominant web programming languages, and they built their concurrency model around the semantics of epoll.

However, there are languages like Haskell, Erlang, and Go that IMO did the right thing by building a synchronous programming model for concurrency and offering preemptable lightweight processes to avoid the overhead associated with OS thread per connection concurrency models. These languages offer concurrent semantics to programmers, yet still are able to use nonblocking IO underneath the covers by parking processes waiting on I/O events. It's not the right tradeoff for every language, particularly I think lower level languages like Rust are better off not inheriting all the extra baggage of a runtime like this, but for higher level languages I think its probably the most convenient model to programmers.
5.3 requires a nut, while 5.4 is screwed without a nut.
>>So then the options are either to embrace the admittedly hectic nature of async, or pretent that things are synchronous and impose those constraints to maintain a logical purity from a programmer's standpoint.

Logical purity is important. It helps people reason about their code better, which in turn makes them more productive.

The reason we have frameworks and high-level languages is so that we can take advantage of abstractions and not worry about the underlying complexities of the system. If a framework is making you "embrace the hectic nature" of those complexities, why use that framework in the first place? Might as well use a language like C, which actually is a low-level language designed for developing hyper-optimized software. Node.js, on the other hand, is supposed to be a Web (read: high-level) framework. That's why implicit-async doesn't fit its nature, and in large codebases you see nested callbacks all the way down.
Bad Trains, Explained – A video recaps why U.S. passenger rail is so dreadful
JS doesn't require a compilation step, but every project I look at has one anyway.
Ramen noodles 'are most valuable US prison commodity', study finds
A Responsive Website created and hosted in under 10 minutes
GdxAI: Steering Behaviors, Forma Motion, Pathfind, Behavior Trees and FSMachines
And if you want to add icing to the cake I suggest Jhipster. It has made my life considerably easy with it's angular JS support and spring boot /JSON/ API support.

I could create an e-commerce website http://www.haggell.com in a space of month using jhipster & angular.
I wish I could give tests like this to my potential co workers as well.
Out of curiosity - do you get some kind of template version of the earnings report before it is released so you can parse the numbers? Are they just always worded the same way? Or do they broadcast the numbers directly somehow?
There's an element of this that requires you to appreciate the fact that some people spend their entire lives making bolts and screws, and using those items to their fullest capacity. And minutia which may not be important to us will be infinitely more important to them.
This is correct. Football is "our thing" in the UK. Even in high school, some kids just had a knack for it and could run rings around everyone. There was no amount of training you could do to catch up to them. None of these kids went on to play professional football - they weren't good enough.
Have you even tried one? The small field of view is disappointing, but only because what is in it is so impressive. I'm not sure what you're talking about with the smartphones, but I'm pretty sure they can't show objects in a room with natural looking distances and depth of field like the Hololens can.
I'll take your word for it; we are moving into architecture that sits below my experience now. But we are also below the level of abstraction relevant to the original question, which concerned the design of an API used for communicating with hardware outside the CPU.
Good refs.

I seem to recall a title "Solitude and the Self", though I can't find it via Worldcat. There's a similar one from the right timeframe: https://www.worldcat.org/title/solitude-a-return-to-the-self...

Arguably Chiksentmihilyi's work on Flow involves this too.
The company I work for also provides a service to spoof the originating number. It's meant for companies that send employees out into the field that might need to make phone calls from a cell phone (think a plumber or a delivery person). If the "field agent" makes a call, the customer gets the company number, not the number of the "field agent."
"Even with all those neural net advantages"

On the other hand, without a neural net, it might be even slower. Android supports tons of different architectures and platforms, of course you can't optimize it like Apple can with a single platform.
That's not accurate. If you have any code after the line in the first example, it will be executed before the function in the "then" call. You could run several asynchronous operations (nearly) simultaneously. I/O will execute as fast as possible rather than wasting cycles running things sequentially.
Since I run my own mailserver, I can put in filters to give errors out at the SMTP level (rather than bounces), so I have stuff like this in my access file for egregious spammers (from legit companies):

<some_email> ERROR:550 You've been banned from sending spam to this address, spamming bastard!!

There's a whole bunch and the swearing ramps up and down based on the egregiousness of the spamming. I have no idea if anyone has ever seen these messages (probably not), but I really hope some day someone does :-).

And yeah, swearing at spambots is oddly cathartic.
Synchronous I/O by default means you're wasting your CPU cores.

But that's the thing: synchronous code doesn't mean synchronous execution. The language/platform should be able to make it async for you, without forcing you to re-shape your code. And it's not a rare system: even plain old threads work like that - in fact, they're often a good solution: https://www.mailinator.com/tymaPaulMultithreaded.pdf
This. My 6P lasts over 3 days with regular camera use while backpacking and all day with heavy use.
At this point a plugin probably isn't enough. We need a better browser that gets back to the document viewing roots. Something better than NoScript that has a rough idea of the types of transforms a domain's JS performs so that it can serve me the "page" w/out running suspicious code. Although I suspect this would just start a new style arms race of obfuscation similar to adblock, etc.
In the past, I was involved with building a Scheme interpreter which was automatically asynchronous, without need for manually handling it with callbacks.

Basically, it was lightweight threads which would yield execution to other threads whenever waiting for I/O, or explicitly yielding. It allowed for a very straightforward linear programming style, no callback hell.

Coupled with a functional programming style, there was rarely a need for mutexes or other synchronization between threads.

When a thread yielded, the current continuation was captured and resumed when the thread was ready to continue. At the bottom of it all was a simple event loop where the Scheme interpreter dispatched I/O and timeouts. Scheme happens to have support for continuations built in to the language, so the implementation was actually quite simple.
More specifically (in case anyone wants to know more---I know it surprised me to learn that caller name information is sent via DNS) NAPTR records.
The Need for Innovation in the Project Collaboration Space
Why is ArchLinux better than Linux in your opinion?
Creating a Microservice based architecture using Warewolf
Reminds me of what happens when you step onto an escalator that isn't working (the broken escalator phenomenon):

https://en.wikipedia.org/wiki/Broken_escalator_phenomenon
"Never make yourself indispensible. If you can't be replaced, you can't be promoted."

-- Something I once read somewhere. I can't say I've followed its advice, but I also can't say I've observed it to be false.
On the other hand, if it worked, he could write a JSON parser, which most programmers cannot do.
Burrow makes its own sofas (not just delivery.)

Americans spend tens of billions of dollars per year on sofas, more than they spend on mattresses. The market is tremendously big and there seems to be a gap between Ikea and $2k West Elm sofas. That's what Burrow is going after.
Player stats are a really American thing.
Strange, almost no data-economy (collecting and selling user's data - the way "social" is monetized) or data-science startups.

A thin layer of encryption over cloud storages is a clever idea! And this is exactly how tech entrepreneurship should be - even if the project would fail due to non-technical reasons, the technology being developed could be reused and sold.

"Lifestyle startup" meme is crap.
I don't get this. Even when I interview people I am going to report to, I grill them on technical questions.
There is an easy sense of superiority that comes with derision of "X" and the authoritative sounding romanticization of idealized "Y" seemingly adds weight to the argument. Clearly these "Y" people are smarter and better than all those "X" people.

Look at all this horrible code! So sad that all these people are not as smart as me. Look at this horrible language! So sad the people that created it are not as intelligent as me!

Really? There is no more "problem" with Node.js than there is a "problem" with any other platform. There is no more problem with JavaScript/ES-(name your flavor) than there is with any programming language. Different languages are different. Different platforms are different. Of course every system has its own problems. Sometimes people who appreciate them call these "tradeoffs" or the superior types call them idiotic.

The cliche´ of hacker news haters is really really really getting old. So here are some things that are actually good.

As much of a pile of hot steaming code as it is, Babel as an idea (AKA transpiling one language to another) is pretty cool. Of course you can do this in other places but its featuring prominently in the JS community leading to an interesting result. The language and its features become configurable, easy to adapt and change and evolve over time and suit to your liking. This is interesting!

Finally as opposed to what others may have said about the community being childish I have found the opposite. I find it to be very welcoming and supportive, friendly and honestly creative. Of course there are lots of negatives, lots of horrible code, lots of mistakes happening. But what is missed in all of this? Theres A LOT of stuff happening that is good even great! It's beautiful chaos! So go on hating, but I see lots of great stuff out there. As one great systems and iOS developer told me the other day "Have you tried Express? Its awesome!" HA yeah. But he just tried it, and loves it!

Oh but look at that callback YUCK! Cmon
For the last 2 years I've been receiving calls from some call center in India sometimes up to 5x a day asking if I want viagra. I've asked, pleaded, demanded and have blocked by now hundreds of the numbers they call me with which can range from a local number to one across the country.

I've had my number since I was a teenager and don't want to stop using it but I've been seriously considering it lately because the calls feel like harassment. I don't get how they are able to do this and why something hasn't been done about it.
Grunt, Gulp and Webpack are for building front-end assets. They are all built using Node.js, but their complexity has to do with managing complex front-end code base and then optimizing it for the browser.

If they weren't built with Node, then it would be Ruby, or Java, or Python, or even Make.

It is a shitty shitty problem that people are still trying to figure out what the best way is.
Not a snark, but why do you address him as Mr. Buchheit and not Paul?
Okay, so it's because the most probable sequences are more likely to be encountered first, which assumes the data is more or less uniform. (I.e., it doesn't work as well when the data starts with a large blob of random data, and the more regular data comes afterwards. But I guess that's true for most general compression algorithms. At least LZW has a reset code.)

I'll see if I can find the C&T book. Shannon's paper was part of the course material at uni, IIRC; at least I think I read it long ago.
> How do I, as a 27 year-old Grad student invite women for coffee without them feeling it might be a 'trick-date', or having them not get comfortable?

Please don't do this. Make your intentions very clear. "I find the fact that you love old botanic illustrations and go to flea markets every weekend to find them sexy about you." (where X is not her appearance, of course). "I'd like to buy you a coffee and continue this conversation."

If there is one thing my women friends may agree on, it is the ambiguousness of a meeting, particularly if they are interested in the person. Changing gender roles aside, the man has to take the lead. There must be polarity in the relationship from the beginning, otherwise it won't even start. This is the classic "friend zone", in which the window of opportunity exponentially fades away and trying to make the relationship romantic will burn the friendship.

Yes, the woman chooses if she wants to accept. Make it easier for her to say not. If she says yes to an ambiguous thing, she has to consider the possibilities. So, in fact, it may be easier for her to say no or give an indefinite "maybe" which is in fact a no.

One of my women friends who works in tech was lamenting recently about how guys would invite her to coffee wanting to learn more about her research. And then it would become clear that they just wanted an excuse to ask her out for coffee (a date). It is awkward for both sides. Consider this - if one of these coffees becomes a date or more, she fears word will get around that, yes, she will "date" people in her tech community.
What's a good analogue for Android?
I'm not the author of the article...I only found and submitted to HN...
1) I didn't say that they are there for no reason, rather that there is no reason why there can't be a simple switch which turns everything off in an easily accessible way, or heck even having everything off by default. And no, Microsoft needs telemetry is not a reason when we're talking about user-friendliness/respect.

2) No, but you can get away from malicious defaults. Believe it or not, but there's OSs out there where the defaults are an actual recommendation from actual people. And again, same fallacy. Just because every OS has bugs, doesn't mean that it's ok for one OS to suddenly have more of them for no reason, or in this case more severe bugs, as with user-respecting defaults only the most hardcore Microsoft-fanboys would complain that their computer suddenly stopped sending telemetry to Microsoft.

3) Because we don't know the extent of the damage that this does. We don't know what is being sent, what is being stored, how long it's being stored. Could be that even the most privacy-friendly setting can still report you to the NSA and get you on some list. Could be that people have already disappeared, because they were on such a list at the NSA, without anyone knowing about it. The same stuff was going on for a good while at the Stasi before people noticed, and the Stasi was a bad joke in comparison to the NSA.

> You can switch for whatever reasons you want though. Are you actually a Windows user who is considering a switch?

No, I already switched with the Windows 10 + new ToS launch in expectation of something like this going down, although I also just got extremely lucky, as it wasn't my only reason at the time. This actually going down, though, certainly has cemented that decision. Why do you ask?
That's besides the point.

The things that are synchronous within the processor are also synchronous in Javscript.

What is async in JS and Node (unless you use the sync alternatives) is any kind of IO (disk, network). That is also async for the CPU.

And even the things that you would expect to be synchronous inside the CPU are really NOT for modern, out of order CPUs. They do a lot of complicated things to make code run faster, use branch prediction to predict the code path taken and execute (apparently synchronous) instructions in parallel.
Language-ext is a fantastic project, thank you for your hard work!
Sadly I'm not the article author - I just submitted it to HN...
My guess is that writing this was punishment for mistaking a screw for a bolt or vice-versa.
> Also there's limited support for background tasks in modern iOS, so background apps might still drain battery and affect CPU (though probably not significantly).

Unless they do something abusive like keep the speaker or mic on, which then permits them to be more abusive like keep location services active, which then rapidly drains battery.

http://solutionowl.com/the-ultimate-guide-to-solving-iphone-...
It seems to have become broken between your first post, and today? I tried the widget out again, and top stories now lists the top story, but then seemingly random other ones.