skysight-inc/HackerNews huggingface dataset:
> This also allows for transactionally consistent error handling as well. If a job is repeatedly failing you can transactionally remove it from the main queue and add it to a dead letter queue.

Totally. This also leads to other operational tricks that you hope you never need, but are great the day you do. For example, a bad deploy queues a bunch of jobs with invalid arguments which will never succeed. You can open a transaction and go in and fix them in bulk using an `UPDATE` with jsonb select and manipulation operators. You can then even issue a `SELECT` to make sure that things look right before running `COMMIT`.

Again, something that you hope no one ever does in production, but a life saver in an emergency.
That's good advice, but in this case I'm wondering, why use variables at all? The makefile is only being used as a collection of aliases. They could all be inlined without losing anything.
I have to say, I go to the second page of Google search results maybe once every couple months. I'm not sure what you are searching for but that has not been my experience at all. It seems to always be getting better.
"Gender is distinct from sex" is a scientific hypothesis. It could be true, false, or true with qualifications. The second of those three options appears to be pretty reliably refuted by the evidence we have. Unfortunately, it is a politically problematic to say this in "progressive" circles. Sound familiar to some other hot-topic science debate we've discussed on HN before?
Great answer, thank you so much for writing it. Given all of the con's, would you advise building an app from scratch with ReasonML?

My main hesitation with stuff like this & Clojure is that the learning curve for React Native + the JS ecosystem is already pretty steep. Do I want to add another layer into the mix? For me personally, it would have to come with a big return on investment to justify the cost. I feel it would have to offer more than just an incremental improvement over flow/typescript.

An example: I'm considering synching some time into learning RxJS & ReactiveSwift. My reasoning is that Reactive programming helps eliminate certain types of bugs and makes it much easier to chain events together in a complex app.
People, who downvoted my comment - care to explain? Does downvote button on HN compare to "I don't like what you're saying"?
I don't have much experience with makefiles but for shell scripts, I tend to think that your approach is correct as long as you're working with small or fairly trivial files.

If the file is small enough to see all at once (and your terminal window or editor isn't outrageously large), then mentally, you can take in the whole thing at once. Once the file starts to get even a little bit complicated, you'll want those abstractions.
Because they know there are no real consequences for their actions?
DuckDuckGo, powered by Yandex?
In all seriousness, does that mean Putin and Russia would have my searches? Not trolling,just interested to know what I would be choosing by going with DDG.
That is simply wrong. Most health "insurance" companies no longer provide much actual insurance anymore. Instead they provide claims payment and administration services for self-insured employers who bear the risk. Furthermore the ACA imposed a minimum medical loss rate. So insurers have little financial incentive to deny claims anymore.
Yep, thanks. Didn't change it to TB on the calculator.
Try waiting a minute. I have a decent Internet connection and page eventually loaded after a minute.
The article draws a parallel between WW1 and the present conflict.

Possibly the difference between than and now is the sheer number of people directly involved in the War. With great respect to those who have been affected by the Iraq and Afghanistan conflicts, it is possible for many people (especially here in Western Europe) to ignore the conflict altogether in ways that it was not possible back then.
And at that point one may as well leverage the work of the hundreds of developers at JetBrains or Microsoft and use a real IDE.
Layout: It's the main reason to go all in with RN. You're much faster building these with RN then using native stuff.

Infinite Scrolling: ListViews and RN are a thing. There's a new List Type since a few Versions - if you're following the book regarding DataStrucure everything should work.

REST Client: RN provides basic API so nearly everything which works in Browser works in RN too. I use Redux Sagas and fetch. Working great so far.

Image Handling: It's built on top of fresco and works great so far.

Push: Can't say mush about it, because i don't use it but should work ok.

In-App: There's a great Plugin.

Animation: Native Animations are around for some time. Should work ok, but depends what you're planning to do.

Basically it's extremely easy to go native if necessary. But at that point you need to implement it on every platform. Even though for usual use cases it shouldn't be necessary. You just need to keep Track of your renderings and make sure you use PureComponents at the right point, so there are no unnecessary rerenders congesting the bridge and slowing everything down. But if you do it right you will achieve performance and an feature level that is on par with every native development in less time. And with 95% Code Share.
Not to mention that lots of neat effects can be produced by modern shaders, and do not need further API support.
This would be hilarious if the impact wasn't felt by consumers. But honestly, its quite sad and frustrating that as consumers we bear the brunt of this organization's mistakes. This latest episode - their referral of an obviously fake site - is just plain awful...again for consumers. sigh
After struggling a lot, I think, I finally understood best use for GOPATH with Makefile based projects. I use it as follows:

I have ~/go for all 3rd party code that I did not develop. My personal projects live in a different directory with a different structure (including, configure.ac, Makefile.am, etc.). My projects tend to use multiple languages, so I need Makefile support.

I fix GOPATH in project specific Makefiles with ~/go as the first directory followed by project specific directory for Go code. For example, I add the following in Makefile.am of every project.

GOPATH := $(HOME)/go:$(CURDIR)/go

One cool result of this is: When I do go-get of any 3rd party package (either through command-line or as part of a rule from Makefiles), Go downloads them into ~/go directory (it picks the first directory in GOPATH or defaults to ~/go). This leaves my project specific directories free of 3rd party code -- which is what I want.

End result is, ~/go ends up with 3rd party code from across all projects and it doesn't include my project code, so can be deleted any time and re-created automatically by Makefile rules.
Just use the johnlewis coreboot roms then. Mr. Chromebox apparently used to include legacy mode (and the pages say its there), but it's not there anymore. You should be able to flash the bios from within your existing Linux install, and things should continue to work. For FreeBSD, I did have to hack the kernel a bit, because the Manufacturer name was different in his roms than other roms, and so the keyboard driver didn't attach.
There's should be no disagreement that given a graphics Turing test that there are going to be scenes that when attempted to be replicated with REALTIME 3D will not even come close to looking like real life let alone something recorded and viewed on screen. People need to stop defending real-time graphics. They are cool but they don't look real. But I also don't think that a neural net based magic wand is a viable solution.
Ah, neat. Black beans already form a large part of my diet.
This pattern would basically be a clean migration away from a pure Postgres queue if either table bloat or locking becomes a performance problem. You maintain the benefits of transactional job enqueueing while only slightly worsening edge cases that could cause jobs to be run multiple times.

Just be sure to run your enqueueing process as a singleton, or each worker would be redundantly enqueueing lots of jobs. This can be guarded with a session advisory lock or a redis lock.

Knowing that this easy transition exists makes me even more confident in just using Que and not adding another service dependency (like Redis) until it’s really needed.
All of that is a red herring. The basic structure of Cantor's proof applies equally to finite (what you call "self-contained") lists. Consider:

Theorem: there are an infinite number of the integers.

Proof: Assume to the contrary that there are a finite number of integers. Then it is possible to construct a finite list L that contains all of the integers. Find the largest integer in L and add one. The result will be larger (by one) than the largest integer in L, and hence larger than all of the integers in L, and hence not in L, contradicting our assumption that L contains all of the integers. Hence no finite list can contain all of the integers. QED.

You are saying, "But if you give me any integer, I can produce a finite list containing that integer." That's true. But if you don't see at this point why that is irrelevant then you are beyond my ability to help.
I like `qalc` a lot:

> 5 pounds to kg
5 * pound = approx. 2.2679619 kg

> x^2 + 8*x = 4
((x^2) + (8 * x)) = 4 = approx. x = 0.47213595 or x = -8.472136

And so on.
InnoVen’s Chin Chao on venture debt’s rise in Asia, after closing largest deal
A date is crucial, even for a programming related task. There are probably people who, at this very moment, are looking up Django 1.0 documentation right now and can't get the example to work because their system installs the second to last version.
This seems to be the main issue of confusion here. It seems like maybe people aren't reading the full article? I didn't see anything that suggested that these children were transgender (biologically speaking)? (Or am I wrong?)
Google no longer works to get around WSJ's paywall. Have to find a Twitter or Facebook link.
I don't know that town's situation but I don't think we should be reflexively against it.

It might be appropriate for them and the community. We don't need sidewalks connecting farms, and maybe if the neighborhood wasn't built with walkability / accessiblity in mind, people who need walkability / accessiblity don't live there and it'd be burdensome and wasteful to make it more accessible than anyone demands it to be.
I've taken to using Blendle to only pay for WSJ articles that I read. Saves me the money of a full subscription, and makes sure quality journalism is funded. Here's the link in case you want to read it, and support journalism: https://blendle.com/i/the-wall-street-journal/industrial-esp...
I asked the question ~2009. What never made sense to me is that with unsecured borders, what's the point of invaded a poor country of goat farmers? Ok yeah, so Al Qaeda supposedly attacked us and they were allegedly being harbored in Afghanistan. But the guys in the planes were Saudi. Why didn't we invade Saudi Arabia? (That's a rhetorical question). If someone wants to come here and hurt us, they can do it pretty easily. Invading Afghanistan doesn't solve that problem. The whole thing is a joke.

Now I'm aware of a host of reasons for us to be there, none of them good. Of course we're in Afghanistan for some purpose.
While it would be nice if the barrier to entry was lower to enter the search space, I feel like if it's easier to get in Google will just be able to do more with what they have.
I moved from firefox to opera
Can computer science be considered a science?
https://www.google.com/search?q=does+chrome+have+vdom+suppor...
Or stick in a wrapper.
Well, they're sterile too. That's certainly an evolutionary disadvantage.
13:14 UTC through 15:54 UTC here.
We developed a card game on React Native almost a year back. We were initially developing the game using cordova but were taken by the performance issues. We switched on to React Native and were very much impressed with the performance. One year since we released the game, we are working on the next version and we have decided to stick with React Native. The development is much faster and easier. We very much liked the native animation support that has since been available with React Native. The only problem we faced was with admob integration. No regrets so far.

iOS app: https://itunes.apple.com/us/app/marriage-card-game/id1161818...

Android app: https://play.google.com/store/apps/details?id=com.bhoos.marr...

Note: It was our very first attempt on mobile gaming. The rules for the games are available here if anybody is interested to learn https://www.pagat.com/rummy/marriage.html The game is meant for players who already know the game rules.
Why a Topic-Based SEO Approach Is Now Driving Modern Search
If you want to use google, but don't want them to connect you to your search terms and connect you to their ecosystem and track you some more, then use DDG and !g.

Now that I've learned that !a works for amazon.com and duckduckgo.com gets affiliate revenue that way, then that's how I'll search amazon from now on. Need to boost up the underdog that cares about privacy, because google surely doesn't.
Especially when dealing with Go, which embraces "a little bit of repetition"
احذية+اديداس+2017+احذث+جزم+اديداس+اجمل+احذية
I agree. This Makefile would be clearer with something like:

BINARY_NAME := mybinary
BINARY_UNIX := $(BINARY_NAME)_unix

.PHONY: all test build clean run deps
all: test build
build: ; go build -o $(BINARY_NAME) -v
test: ; go test -v ./...
clean: ; go clean && rm -f $(BINARY_NAME) $(BINARY_UNIX)
run: ; go run $(BINARY_NAME) -v ./...

deps: DEPS := $(addprefix github.com/markbates/,goth pop)
deps: ; go get $(DEPS)

build-linux: ; CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o $(BINARY_UNIX) -v

docker-build: ; docker run --rm -it -v "$(GOPATH)":/go -w /go/src/bitbucket.org/rsohlich/makepost golang:latest go build -o "$(BINARY_UNIX)" -v

Caveat. I haven't tested that, but something close to that would be much clearer.
Whether they're necessary (or even useful) or not is one of those things you'll find a variety of viewpoints on, to say the least.

Leaving aside the whole issue of whether actually done properly (or even reasonably).
That’s funny because when I saw the originally link and the original site I thought it was a phishing site.

It definitely looks like ol’ Barb in accounting has a nephew that builds web pages. “I bet he’d build it on the cheap!!1!!”

It’s time for this company to go away.
They deprecated a lot of UI methods in the 10.4 timeframe so I would bet not. I’m sure someone has some code, but it is probably very limited.
I interpreted what you quoted as a sly nod towards the Saudis, but maybe GP can clarify
> = means it's delayed until the variable is used which on a large Makefile has a speed penalty

Do you mean it's expanded every time it is used, vs once? If not, it's not clear to me why it would be slower.
Measuring Performance in Real World Ember Apps
These infantry officers really buy their own bullshit. I've never met one who didn't. It's like religion - the cost of facing the music is just too high for some people. Cognitive dissonance etc.
Isochronic maps are pretty awesome. However, an isochrone-only projection that ignores geography is prone to the same sort of errors that the alternative creates. One simple example that is personal to me -- when I moved from SF to the East Bay, my commute into the city shortened by ~10 minutes because of where I'd been living (out by Ocean Beach) vs where I moved to and the nature of driving and public transit in the SF Bay Area. And yet as far as my friends who lived and worked in SF were concerned, I was now in this mystical place that they didn't really spend any time in or know much about (the perception of Oakland is also contributing here).

It'd be interesting to take travel data and cluster it such that you end up with an isopsychochronic projection. Commute visualizations I've seen end up feeling kind of close.

http://news.nationalgeographic.com/2016/11/us-commutes-revea...
I don't see how it's any better than a comment here. I just wanted clarification as to whether the poster thinks elemental magnesium is a good thing or a bad thing.
The root server key won't actually change until next month.
The DNSKEY responses from the root server was increased yesterday.
Speculation, but it could be they're running ancient versions of BIND that fail with the larger response size.
As per ICANN[0], the timeline is:

October 27, 2016: KSK rollover process begins as the new KSK is generated.

July 11, 2017: Publication of new KSK in DNS.

September 19, 2017: Size increase for DNSKEY response from root name servers.

October 11, 2017: New KSK begins to sign the root zone key set (the actual rollover event).

January 11, 2018: Revocation of old KSK.

March 22, 2018: Last day the old KSK appears in the root zone.

August 2018: Old key is deleted from equipment in both ICANN Key Management Facilities.

[0]: https://www.icann.org/resources/pages/ksk-rollover

PS - thank you for mentioning this, I wasn't aware it was going to happen until reading your comment.
Light bouncing around, lighting up things that aren't in direct light.
The only thing I miss is the "Past Year" option. I find it really important for filtering out programming stuff that's too old. "Past Month" is too short. I can't understand why it's not there. I've sent the suggestion several times.
Stick to https://github.com/facebookincubator/create-react-app/ and you'll be golden. If you need more config later, you can "eject", but this is a one-command-and-go kind of thing that is well maintained and works great.
> the strategic purpose of invading Afghanistan was to demonstrate to every country that shielding those who commit acts of war against the United States is itself an act of war against the United States — and that being in a state of war with the United States is an unhealthy condition.

It demonstrated that doing anything other than saying "how high?" when asked to jump by the US is unhealthy—if an only if you don't have nukes, anything resembling real air defenses, or a special economic relationship with the US. If any of those are true than you can just do whatever.

I would submit this wasn't a lesson worth spending so many lives and so much money to teach, seeing as everyone already knew that (see: the 80s and 90s). If we wanted to send a novel message we'd have hit countries that matter, and/or pumped all those Afghanistan and Iraq war dollars into renewable energy.

So, it was either a huge strategic blunder or was mostly for the purposes of directing anger away from said countries that matter while probably also hitting the Afghans for mostly-unrelated and unstated reasons. Or it was both.
How can a place like California change from a widespread habit of not enforcing laws to a habit of enforcing them?
>>> I have a boy and its obvious gender differences are innate, not learned.

There are a few gender differences that I find quite obviously to be social constructs.

Things like pink/blue or dresses/pants? There's nothing innate about those preferences, we're obviously taught "x is for boys" and "y is for girls" about a lot of things.
Electric bus sets record with 1,101-mile trip on a single charge
It's deferred interpolation, which means every time.
archive.is is your friend:

http://archive.is/VeYCy
That is a pretty ordinary feature for scripting languages.
Does WSL not solve that?
I implemented a credit check API connection to Equifax recently. The response data was encoded as a stream of offset-based text, with some offsets dynamically changing based on fields in the already-parsed data. Lots of work to write a parser for it.

We initially asked them if they had an updated version of this API using XML or JSON, and it turned into a call with several of their salespeople trying to upsell us on some complicated drag and drop rules engine that happened to return data as JSON. So we just stuck to the legacy API. They struck me as a pretty incompetent organization.
There's actually an entire non-big3 industry which manufacturers military hardware in the US. Your point about not wanting foreign dependencies is a good one though (see also strategic oil reserve).

http://www.npr.org/templates/story/story.php?storyId=9784361...
What I meant by that statement was that of the system compromises that we detected, nearly 100% of them were detected through the SSH outgoing connections alert.

Yes, there could have been compromises that went entirely undetected for years (we had a really high retention, so most customers stayed with us for 5+ years), so we had a good window to detect issues.

Probably the next biggest notification of compromise was alerts about spam on our network. Mostly that was an e-mail account compromise rather than system level. But there are a ton of false positives on spam alerts, particularly AOL alerts were almost always about legitimately sent e-mails.
Yes, this is my top requested feature for DDG. As a web developer, results are very time sensitive. It's more than a nice-to-have feature when you need to discern the validity of the subject matter based on which month it was published.
They tried that that for Japanese TV imports in the 80s under Reagan, guess how many US Manufacturers survived.
Apple acknowledges connection issue with new Apple Watch
Well, Chelsea Manning just got out of prison for leaking the collateral murder tape.
Of course, distance on this map corresponds to travel time only so long as one of the points is the center; for a multi-leg trip, it still essentially requires manual inquiry and comparison.
Yup, Apples new ones. This is an Intel problem, not a generalized one.

The chip design at this scale may be problematic for example.
Saw the movie 20 years ago and remember enjoying it. Was better than I expected. We were “saving the world from communism”. We lost and communism didn’t take over the world.

Watching the Americans today reminds me of how we fought to save Afghanistan from the Russians. Now we’re there in our longest war.

https://en.m.wikipedia.org/wiki/The_Americans_(2013_TV_serie...

Iraq ... we saved the Iraqi’s from Saddam. Libya from Gaddafi...

Personally, I think the Green Berets should be required watching with an additional history lesson to help us better reflect on our past and future choices.

Maybe someday we’ll stop trying to save the world, and quit repeating past mistakes.
From the article:

"So, if the [police's] Windows XP computers are exposed to the public internet, then that would be a serious concern.
"If they are isolated, that would be less of a worry - but the problem is still that if something gets into a secure network, it might then spread. That is what happened in the NHS with the recent Wannacry outbreak."

Only problem being that KryptosLogic tests confirmed that WannCry did not infect "properly"[1] Windows XP machines on the network (while if the malware is executed locally XP is vulnerable):

https://blog.kryptoslogic.com/malware/2017/05/29/two-weeks-l...

[1] if SP3 the infected machine would blue screen without encrypting anything and without having the possibility to spread the malware to other machines, if SP2 (improbable) the machine would not be infected.
I don't use react native for work, just for my own projects, but what you said about expo is resonating with me. I thought it would be a clear winner but it's much slower to do anything with it, the app is constantly crashing, etc. Feels much less productive.
Actually, the web link takes you to google results.

The 2nd link works: http://www.cetusnews.com/business/CEO-Catches-Stranger-After...
I was chosen to use the preview and the pricing was originally was $0.02 storage and $0.01 transfer without the first $5. I guess that most of the people spent a lot less than $5. Increasing the minimum spend to 5 should give them a great profit for the people that don't use it that much. I don't know what will happen if a lot of people start using it a lot.