skysight-inc/HackerNews huggingface dataset:
I dislike redux-thunk, because it breaks serialisability. I don't know redux-saga, but this is my way of doing it:

Create a data-structure like "running requests" in your state and put a serializable object in, could be complex or just a string "GET_USER_DATA".

Then write a simple "NetworkManager". React reconciles the UI to match the state, the NetworkManager does the same for your "running requests": make the actual running requests match those in the state.

In some projects I even (ab)used React to do that: add a component that renders a <div/> and manage the XHR in componentDidUpdate etc.

<Network>
<Get url="http://..."/ onLoad={() => state.GETsuccess(...)}>
</Network>

This way everything can be paused and is easy to reason about. You get cancellation and reuse of requests for free by using keys.
Quick question: if you put a sink in the far field, does that increase energy drain at the source, or is the definition of the far field such that the field strength around the vicinity of the sink is the only thing practically affected?
"And there are enough resources out there to make all that stuff for them "

Yes, there is.

Advanced economies are mostly service based.

Countries are poor because of lack of social organization.

Many poor countries have tons of resources (Africa).

Many rich countries (UK, Japan, Germany, Singapore) etc. - have none.
But brain still is "just" a neural network, granted, with immensely more complex neurons and extraneuronal mechanisms that might as well be absolutely crucial for learning. But the difference between a highly intelligent and blank-stare person can be as small as switching off a small part of the brain or tweaking a neurotransmitter. Which shows me that general intelligence is something extremely sensitive as oposed to something like vision processing, which takes much more drastic changes to disturb.

Looking at the brain, it often does look like a bunch of interconnected specializes neural networks.
Serialization alone is like, at least one order of magnitude slower than dynamic typing, and IPC has other os-specific overheads on top of that. Remote calls are so costly the whole architecture of a system has to be designed with them in mind.
Let's track some dictators
Wedding Bands for Women – Handmade by Reflective Images Jewelry
Go to statement considered harmful
Thanks for reminding it to me , i've been sent out from some arcades for doing it, and the owner of the arcade hearing the clicks.
He died in 2011..Check the date on the article.
Yeah this is a real clickbait title. Add the year to the end when posting something from the past.
I think old news stories should have a yellow background, like old newspaper. Then it would be more obvious that the story is old.
Scarcity changes the price of something.

Inflation can really be thought of as expansion of the money supply while all other things remain steady - stuff just arbitrarily gets more expensive.

Central Banks target 2% inflation so that we don't fall into a deflationary trap. It's like keeping the treadmill running just a little bit, to force the person to run forward.

Austrian school economists basically equate inflation with money printing - to them it's the same thing.

But most things increase in price due to a) better quality product and b) regular dynamics of business c) currency.

So when the beer gets more expensive it's:

a) Better beer (at least in the eyes of the consumer), i.e. longer brew times, better taste, better ingredients
b) More expensive input costs
c) Currency issues with imports etc.

Those are not inflation, just price fluxuation.

Inflation is when the exact same thing gets costlier, all other things being equal.
Ever since i picked up a Nokia N800 back in the day, my go to setup has been a featurephone with bluetooth and a "smart device". Thus if i need a net connection right damn now, i can pair the smart device with the featurephone and get online.
Exactly. Criticize is easy. That guy should stop whining and rather enlighten us with his home brewed platform, language, tooling, etc.
The same could be said about any platform - e.g. why can't I write my iOS apps in python?

Transpiling languages like that nearly always ends up messy, and adds another layer of potential bugs to the system. Taking the time to learn the platform will end up better in the long run (at least with the current state of transpilers).

And as it stands, you can write Android apps with a native UI in Java, Kotlin, JS (React Native) and C# (Xamarin). And you if you want you can write business logic using any language that will compile to a C binary (using the NDK).
Nice! And I love webpack-dashboard[1] too!

Long, unreadable stack traces are still an issue though. pretty-error[2] helps.

[1] https://github.com/FormidableLabs/webpack-dashboard
[2] https://npmjs.org/package/pretty-error
Dash author is lying? Pusher of shovelware
It's very fair to say tech does not create as many jobs as other industries.

Also - tech removes a lot of jobs via automation.

I never, ever talk to a person at a bank unless I have to.

'Mortgage Loan Officer' is almost becoming a thing of the past, so automated these days.
Mobile games testing secrets: How to find qualified beta testers for your game
I wonder, what's wrong with Gradle? I didn't develop for Android, but I use Gradle for plain Java projects and it's greatest build tool I've ever worked with. It's even better than Maven. Is it because of bad Android plugins?
https://www.designernews.co/
Other than the slightly different standard libraries, what else is different? Android Java is effectively the same as java 7, and any difference is solely attributed to library/SDK/api.
Even with many Linux distibutions you can't run the latest version on older Computers anymore. But at least you can probably find a special Linux for older hardware.
I doubt the error rate was 0% with human curators. In fact, the article itself does not compare the error rate of the human curators to algorithm, just examines that it was above zero after the humans were removed.

I think an acceptable statement to make would be that the human curators probably reduced the number of "fake stories", but that's not why they were removed. It's a different judgement call whether the trending feed is "better" or "worse" in some holistic sense.

Furthermore, there seems to be an implicit assumption that Facebook's Trending stories should not contain "fake stories", but is that the intended goal of the service? I actually have no idea, since I've never used it.
Check the IDE screenshot running on the console:

https://dlang.org/blog/2016/10/07/project-highlight-dlangui/

It is written in D, a fast (close to C++) language, easy to write code in, runs in a terminal, runs graphically, runs on many systems (I don't know every possible system but I doubt in runs in a Commodore 64), it is open source and I have no idea about it being extensible or not.

It's however the closest thing I have seen to your list of requirements.
Oracle Solaris anyone ? I am
I just noticed that if I use too many plugins (where too many in my vimrc is > 12) the startup time can be a bit slow (3-4 seconds).

Compare it with emacs in which I have far more plugins and it still starts fast as a clean install.

Anyway not a big problem eh. For me vimscript is the shitty part of vim.
Pretty sure he means nordic socialism, as in, forced redistribution of wealth via big tax-funded welfare programs rather than "workers owning the means of production" a la Venezuela.
Sometimes you want the autocompletion, sometimes you don't. You can do it in synchronous style, where you have 2 choices: a) delay the typing when the user doesn't care about the autocomp, b) require an extra action to activate autocomp when the user wants it.

You can also do it async style and have neither of the drawbacks - if the user types too quickly, the autocomp just doesn't show up.
here you go http://rdcu.be/kXdj
Huaxi: The socialist village where everyone is wealthy (2012)
La French Touch
Does Elon Musk Launch the Tesla Bank?[Translated]
This Bank-Beating Trading Powerhouse Doesn’t Use Human Traders
What to do when your job is not what you thought it would be?
Hi everyone,

I am a 26yo engineer from Spain. I have been reading HN for a year already but I haven't ever written anything till today.

Thing is I am currently working as a Backend and Big Data engineer but I don't really feel it's my dream job: most of tasks are repetitive, technologies/tools are old as fuck, there is no such thing like CI, QA or even Agile in my team and most of the time I am working on features that weren't considered in the original design so you can imagine the problems I have to deal with.. Actually it's a pity because the project itself could be really interesting. Besides of that, there is a lack of company culture... In my previous job I used to hang out a lot with coworkers, play in the office, go to talks and workshops, etc. The worst thing, in my opinion, is that I feel like I am not learning much, or least, not the things I am into.

I know it can sounds like I am a complainer but I actually want to make the best of this experience and try to reverse the situation instead of quitting, that's why I would like you to give me some advice/opinion on how to deal with this situation and if some of you have ever faced something like this.

There are also good things that keep me attached to the job: The company is considered one of the best companies in my country, salary is competitive and they have nice perks.

Lately I have been into AI, Robotics and ML, I have always been interested in R&D topics in general, I have been balancing if a masters in AI would help me land a researcher job in one of those fields or if I should go for a course like those in Coursera, Udacity, etc.

TL;DR:
My current job/company is not what I thought it was going to be. I am thinking how to reverse this situation and also thinking in going back to school or learn new stuff to land a job I would like more
An Insider\'s Guide to Easy SAP Audits
It's an excellent text editor, don't pay attention to its title too much. It does a better job than Atom at both.
After writing a comment elsewhere i find myself wondering if why iOS is preferred, is that once an app is launched the app can behave pretty much like they could back in the dos days.Each app its own island, having the run of the device until the user hits the home button.

Android on the other hand is more about stitching apps together into a larger whole via intents. Thus you have not not only care about what the user will see and interact when tapping the icon in the launcher directly, but also when getting a intent from another app.

And most Android apps seems to fail on the latter. Various IM apps and such have been notorious for not going back up the intent chain when hitting the back button.
While I agree with her points, it seemed like she really was preaching rather than investigating (at least for the first five minutes that I watched). Her questions were leading questions of the yes/no variety where she already knew the answer. I think Stumpf needs to be held responsible beyond resigning (canceling his golden parachute would be a good start). But I think Senator Warren should either give a speech or ask honest questions, but not give a speech disguised by a veneer of questioning.

Nothing personal against Senator Warren, I assume this is de rigeur for Senate hearings.
I don't always agree. Rhetoric has a lot of forms that are useful tools in argument, and while we will not admonish someone for asking "have you stopped beating your wife yet" (or in this case, "Virtualization seems to have a lot of security benefits.") we are too quick to ignore the very valid point in response because it wasn't friendly enough. Derailing the conversation that way prevents us from dealing with what I think is the bigger issue:

When someone says something stupid like "have you stopped beating your wife" (or "Virtualization seems to have a lot of security benefits"), we may need to tell them it is stupid, because stupidity has this way of spreading when it sounds nice and helpful (yes, beating your wife is bad; yes security benefits are good), but it's still a stupid statement.

Virtualization is extremely popular, but it isn't secure, and it's actually (and when you're thinking clearly, obviously) less secure than other, existing systems. Security has to be a complete holistic effort, and not an abstraction layer, which is something most people in our industry ignore. Calling out someone as stupid for saying stupid things seems to me to be the best defence, after all, you're not going to convince them that they're stupid, but you might convince someone else.
REPLICA – Plug and play JavaScript building tool
Replica is small and configureless build tool for most common actions you will find while developing front end javascript applications or libraries.

Features:

- Include all scripts automatically inside index html file.

- Pack scripts into one file.

- Minify packed files.

- Realtime watching for added/removed files.

- Timestamp changed scripts in index html file.

- Simple embeded string syntax for requiring files/changing include order - such as "require <name>".

Library follows more classical JavaScript approaches and if you`re tired of configuring JavaScript projects this is maybe something you will find useful. Replica may not suit your needs if additional building steps is required to build your project.

https://github.com/tenjou/replica
My car has a speed limiter that I can turn on, but weirdly it can't be used in combination with cruise control. My use-case here would be cruising at one speed, then speeding up a bit to get around someone (think motorway/highway), but I don't want to go above the speed limit.
The effect can be seen in the highlighter sometimes. If there are too many rules to parse the file correctly, sometimes it will parse just a few lines before the screen. This can randomly result in the first line being highlighted like it's a part of some string. And the whole highlighter/parser is a really bizarre world of regexes and almost-tokens.
* and its friends

* and its management

* by its scripting language
From time to time certain words accumulate enough baggage that they need to be retired from polite conversation.

This isn't "PC social justice crap", this is how society works. Words evolve in meaning, and sometimes those meanings become intrinsically linked with racism and prejudice.

If you'd rather speak your mind and, in the process, make everyone think you're an absolute dick, by all means, but don't think anyone who refuses to put up with your crap is being politically correct. They're just being polite by looking out for other people.
> All new cars in EU have to be limited to 155mph by law

Can you give a source for that? To my knowledge the 155mph limit is just an informal agreement between BMW, Merc and Audi, and not law. The agreement also expired a decade ago.

I am fairly sure that you can just buy an RS6 or an AMG Mercedes with 190mph top speed, no courses required.
So how do you install packages like `npm install` without adding it to the package.json file?
"I want to make it clear to the government, to Yahoo and to other internet companies that they cannot compromise my security, privacy and safety without consequence."

Well... then you should dump your phone too because the government has direct access to all telecom networks. By law! no spying necessary.
>And no, Atom not designed

And that's exactly one of it's problems. It's not designed to be a damn text editor. Instead - it's just another "hipster editor". You can find a growing number of useless plugins, but can't open log file sent to you, or connect via proxy without a trouble.

Not to mention the speed and ram usage. My IDEA instance with a large project opened up use less memory than Atom without any files opened (but with a bunch of plugins loaded).

Sorry for the emotional replay, but I just do not understand how people can go from Sublime, which is, in my opinion, almost ideal text editor, to something like this js crap.
Depends on how you slice it. Windows still dominates the personal computer market.

https://www.netmarketshare.com/operating-system-market-share...
While I agree that the word "oriental" is a bit dated, you should be aware that the notions of which words are offensive is cultural, not universal: https://en.wikipedia.org/wiki/Orient#Current_usage

A lot of the mismatch in offensiveness/offendedness on HN seems to boil down to differences between American and European speakers of English (as a rule of thumb, Americans tend to consider more things more offensive for historical reasons).

Personally, as a non-native speaker, I find it weird to call people Oriental because the notion feels a bit dated in my native language. However in the given context it seems a lot clearer than spelling out each individual culture or vaguely saying "non-Western" (which frequently excludes Eastern Europe).

IOW, occident/orient is a historical cultural distinction, much like Cold War era first/second/third worlds and East/West -- of course it's fuzzy and inadequate, but so are all abstractions.

As a European I can see why someone ethnically stemming from the "orient" might find the term quaint, inaccurate and even offensive, but I feel the same way about the various labels Americans unthinkingly throw around, e.g. "Caucasian" (because obviously all "white" people are the same and are best represented by the geographical area surrounding Azerbaijan).
Why lock yourself into learning Spanish if you already can do everything with English? /s

My crazy previous sentence intends to show the false dichotomy in your arguments.

People can use SublimeText everyday while also using Vim in remote SSH sessions, and I have seen many do precisely that. Others endure Notepad++ and seem happy doing it.

It is an AND world, not and OR world. Learning to use a tool doesn't make me forget the other tools.
head ?
> (slowness is not a bug)

Woah. woah. woah. Back the truck up.

Slowness is most definitely a bug.
No system can avoid failure 100% of the time. It may find itself going too fast with a unexpected loss of some control - brake failure, intentional sabotage, (imperceptible) oil slick, whatever. However, the system still has some control to choose between several terrible and costly outcomes. It must choose its victim. How should it chose?
The video is lovely (and now I absolutely want to try it at home!). That said, the ending disturbed me. As I understood, it basically said - "don't worry, none of our neighbours suffered, because they all moved out when the war started".

EDIT:

Holy shit, they have a video of what's left of their town after shelling stopped: https://www.youtube.com/watch?v=v4mc5mHksl8.
Are you talking about Services and Activities or something else? I never had any problems with Services and Activities using them and connecting to them, using them etc. but I can see how an inexperienced dev could get this wrong.

Same problem goes for not understanding detachable threads in other languages (eg. keeping a reference/pointer to them and attempting to use them when you have no idea when they've finished) but that's a newbie problem. I wouldn't say that the language or design of threads was at fault if I was using it wrong.
You don't. If you want to be able to do stuff like that (and inevitably run into "hmm, works on my machine"-type bugs once you start sharing your code with others), you need to keep using npm.

This kind of liberty is the sort of stuff npm was designed for. It is also why npm has been causing trouble in many cases.
> JOI ITO: This may upset some of my students at MIT, but one of my concerns is that it’s been a predominately male gang of kids, mostly white, who are building the core computer science around AI, and they’re more comfortable talking to computers than to human beings. A lot of them feel that if they could just make that science-fiction, generalized AI, we wouldn’t have to worry about all the messy stuff like politics and society. They think machines will just figure it all out for us.

Why is that a problem that they're mostly white? The interviewer doesn't bother to elaborate, it's sort of mentioned in passing as if it were something obvious. To me (a non-American here, mind you) it isn't. Would the difficulties they mention be alleviated if that wasn't the case? Why? Couldn't - say - an Asian student fall into a misconception that machines will come up with answers to all questions? Is it less likely? What substantiates such a claim?
It might be old but it's more trendy than it used to be. In the 80's it was considered normal to want to get a big house with a big backyard, big car, etc.
> For 99% of projects it's an excellent, flexible tool.

Well, this is simply a bullshit, sorry. This is might be a point of view of someone who never worked on an enterprise project or something of a similar scale.

Atom is good at one thing - opening small js\ruby\python scripts and showing you them in a modern UI. That's it. Anything more than that - he just can't do it.
This Twitter bot is tracking dictators' flights in and out of Geneva
This is an interesting post, as Gravitational is doing something very similar to us - https://jidoteki.com - in fact that blog post reflects much of what I wrote a year ago on our company blog - http://blog.unscramble.co.jp/post/134388066008/why-we-care-a.... We focus on the more commonly known concept of on-prem (not AWS/Kubernetes), in other words on dedicated hardware in a private datacenter or hosting facility, by creating fully offline, updateable, and secure virtual appliances designed specifically for self-hosting.
SHANY Professional 12
I use keyboard navigation all the time.

The difference is that I move the hands off the middle row, and use the cursor keys and the home-end-pageup-pagewn keys, sometimes combined with the ctrl-alt-shift modifiers.

The hands off the middle row! Heresy!
The Arab Spring thing is hyperbole to the hilt.

If anything, Facebook and Twitter acted as pacifiers. While people could use them, they stayed inside rather than get involved in the streets.

Only when the authorities cut the connection did shit hit the fan, as the masses ventured outside to keep up what was happening.

Thinking about it, i suspect Twitter was an artifact of the US mobile market. It provided a way to do mass texts at a low cost.

But as people moved to smartphones and push IM platforms, twitter's reason to exist kinda evaporated.

On top of that they had basically handed the task of innovating over to third parties via their APIs.

I still recall seeing people use Tweetdeck on desktop Windows with multiple columns set up on different topics, hashtags, and people during large events. This to allow them to track the full breath of what was happening at a glance.

Crazy thing is that Twitter did integrate the "column" concept into their service, via lists. But neither their site nor their apps allow us to access those lists in any way similar to Tweetdeck. In contrast, most third party clients will support a column view these days.
>Atom is about nice aesthetics, github integration and a plugin ecosystem

Same goes for Sublime. And arguably - Sublime has much better plugin ecosystem. With easier discovery and installation.
Anyone else get tripped up when the underlined "He simply does not deserve the job" turned out to not be a link?
OK, but is there a demand for so many PhDs? Having a PhD doesn't really guarantee a good income now. It will be worse once everyone has one.

This makes sense, if there is some sort of government sponsorship or grants, but providing these to all people would mean drastically higher taxes, and companies are opposed to those.
For someone outside of U.S, both right (breitbart etc.) and left (huff etc.) are propaganda all the way down . It is your left bias. And the people on other political spectrum feel the same but other way around.

Watching American elections is like seeing a freak show. I don't understand who are those people who can support any of the candidates or the media.