skysight-inc/HackerNews huggingface dataset:
> 2/ COBOL forces you to mix concerns : DB access, file I/O, business logic. This is sometimes useful to get a complete picture of what’s going on in a program. In Java, you have to wander through your DAO, data model, business logic, etc. which are spread everywhere.

Java doesn't force you. You can structure your code in many ways. In particular nothing is forcing you to have objects like Customer, Order, Invoice, etc. It is just the way OOP has been traditionally taught. Specifically in enterprise applications where a lot of the logic revolves around the data tables makes sense to have objects like CustomerTable, OrderTable, InvoiceTable and have all the related code encapsulated. See https://martinfowler.com/eaaCatalog/tableDataGateway.html https://martinfowler.com/eaaCatalog/transactionScript.html

All your points make a lot of sense. But it is not an essential part of the language. It is more about the culture prevalent with people using the language. But your point is well taken. Maybe we can learn from other programming cultures.
I mean, the Department of Homeland Security under Trump has publicly stated that Russia attempted to hack voter rolls in at least 21 states, no?[1] Trump did fire the head of the FBI who was leading the investigation into his campaigns ties with Russia, and then admitted that he was thinking about the Russia investigation when he did it.[2]
There is even a special counsel investigating Trump campaign’s possible collusion with Russia. Mueller has been investigating the dossier so we will see if any parts of it were accurate.

My point is there is a lot of reasons to be suspicious about what is going on with Russia and Trump, and it’s wrong to compare this with contrail conspiracy theories.

That said, the constant state of outrage is annoying and I agree that this Twitter ad thing is probbly overblown. The bots on twitter are a much bigger problem. One thing the adds do show though is that Russia was actively looking to influence the election.

1. https://mobile.nytimes.com/2017/09/22/us/politics/us-tells-2...
2. https://www.theguardian.com/us-news/2017/may/11/donald-trump...
The video I saw on the news was enough evidence for me. Are you saying that was faked? And in any case, as far as I'm concerned any level of violence is unacceptable. Madrid made itself look like a tin-pot dictatorship, which is particularly unfortunate given its history. It would have been far better to let the referendum happen and say 'and'? Reacting with violence demonstrated fear, not strength, and if anything seemed to strengthen the case for independence.
HN comments first. I read the article before contributing to the discussion though.
Integration tests are always needed in some form, because you need to make sure the leaves are actually called, since unit tests are executed in a vacuum, the functions might work but might never be called at all, or might not work because of weird bugs that appear when only testing the whole tree.
Yes. ResNet was CVPR paper of the year last year. This year DenseNet has a first author from Tsinghua University (Dr. Zhuang Liu). I feel like the importance of China in machine learning is very hard to dispute these days. At least they are open about it, which is good for scientific development worldwide.
It's not a bill, as it's not a law. It's a formal request to the executive branch to do something.
How about we call this abstraction layer X for the time being?
In my experience, CUDA / OpenCL are actually rather easy to use.

The hard part is optimization, because the GPU architecture (SIMD / SIMT) is so alien compared to normal CPUs.

Here's a step-by-step example of one guy optimizing a Matrix Multiplication scheme in OpenCL (specifically for NVidia GPUs): https://cnugteren.github.io/tutorial/pages/page1.html

Just like how high-performance CPU computing requires a deep understanding of cache and stuff... high-performance GPU computing requires a deep understanding of the various memory-spaces on the GPU.

------------

Now granted: deep optimization of routines on CPUs is similarly challenging, and actually undergoes a very similar process in how to partition your work problem into L1-sized blocks. But high-performance GPUs not only have to consider their L1 Cache... but also "Shared" (or OpenCL __local) memory and "Register" (or OpenCL __private) memory as well. Furthermore, GPUs in my experience have way less memory than CPUs per thread/shader. IE: Intel "Sandy Bridge" CPU has 64kb L1 cache per core, which can be used as 2-threads if hyperthreading is enabled. A "Pascal" GPU has 64kb of "Shared" memory, which is extremely fast like L1 cache. But this 64kb is shared between 64 FP32 cores!!!.

Furthermore, not all algorithms run faster on GPGPUs either. For example:

https://askeplaat.files.wordpress.com/2013/01/ispa2015.pdf

This paper claims that their GPGPU implementation (Xeon Phi) was slower than the CPU implementation! Apparently, the game of "Hex" is hard to parallelize / vectorize.

---------------

Now don't get me wrong, this is all very cool and stuff. Making various programming tasks easier is always welcome. Just be aware that GPUs are no silver bullet for performance. It takes a lot of work to get "high-performance code", regardless of your platform.

And sometimes, CPUs are faster.
Thanks for reporting that. I suspect it could be this known issue where I didn't anticipate autoplay for media to be disabled: https://github.com/atesgoral/dweet-player/issues/8
Then you should use the process laid by the constitution to change it, not unilaterally decide the law doesn't apply to you.
Regarding history you just skipped over the part in 1640, where we were lucky that Filipe IV could not fight two rebellions at the same time and decided to send the troops just to Catalonia, allowing Portugal to regain independence.
Hello Dennis !
I'm impressed that you are feeling ageism is biting you at forties, any way I already passed the fifths and also see the world from a different point of view (there is saying: Experience is a bad teacher ! Why ? It kills all students !)

But straight to the point I'm sympathetic with your goal and we definetely will have a conversation, I'm emailing you.

Let's see what a veterans team can acomplish !

Actually located in Spain.
Occam's razor makes it much more likely that the basket of deplorables gave a middle finger to the clueless elites.
Not having worked with COBOL in about 10 years, the critiques I have of it (from memory) are virtually identical to some modern languages I still have to work with daily.

It's
- Too structured.
- Poor tooling.
- Whitespace sensitivity.
- No first-class functions.

But the article is right - if these same standards were applied to today's languages, things would be a lot louder.
Your definition of leftism is a ridiculous. In the article it says that the Chinese government is pouring hundreds of billions of yuan into AI technology. Now thats leftism, and we would be smart to copy it.
Ehh, I'm kind of doubtful. I'm sure that stuff will get more popular, but it's not going to replace triangle-based rendering for MOST games for a very long time... especially since we're moving into the realm of VR where games need to render tons of pixels at very fast refresh rates.
You haven't specified a language preference so I'll give you my preferred choice: Mako templates for Python. It feels similar to PHP but with more features such as:

- Inline expressions with filter functions. Mako uses ${expression | filter}

- Reusable template blocks which can be called like functions. Mako uses <%def> and <%block>.

- Supports full Python expressions instead of a limited subset like Jinja.
> you're in the same location with 3 other people, likely same demographics, interests, social status etc. and they become a target too

Nice, let's call this technique "advertisement by osmosis" :-)
Are you saying that being a mindless propaganda outlet was not the reason Pravda never succeeded in influencing anybody in the west? The entire point of learning from that is that you have to build credibility.

I think you are reading far more into my post than I wrote.
I'm a simple man.
I open an article link.
I see a signup popup.
I close tab.
1:

(add [x y] (+ x y))
(add [^Integer x ^Integer y] (+ x y))

Both of these are equally precise (in terms of telling the computer what to do). The latter one prima facie requires more thinking, more typing, and more work. (Side note: the sky is blue.)

2:

I don't mean to make such the broad generalization that you're jumping to here. What I mean to say is that static typing in the traditional mode (non-a la carte, applied everywhere, w/ all of the typical idioms of ADTs, pattern matching, etc etc) may help in cases where your code is heavily coupled, complex etc, but I think that its a needless impedance in higher-quality codebases.
https://genode.org/documentation/release-notes/13.02#DMA_pro...
Hmmm. MIT Tech Review now behind cognito-only browser shield? Is that new?

What's really interesting is the continued trend of cashless WeChat Pay adoption in China versus say trickling Digital Payments penetration here in USA. I actually just had to order a new replacement set of paper checks. And its simply due to the fact that so many small merchants cite higher credit card fees as a reason for preferring cash or checks for payments.

Coupled with AI, I think this preference for instant, fee-less digital payments will translate into convenience stores without cashiers. Auto repair shops where you just drop off your faulty electric vehicle and hop into a loaner without actually interacting with a customer service agent. And thousands of other technology-mediated retail experiences.

It's Asian consumer adoption and demand driving AI solutions from the bottom up. And that makes it much more likely to result in first mover advantage and the potential for game-changing breakthroughs.
Whenever I read articles like this I'm really looking for the million dollar idea. Solving Go is good. Solving Poker is better. Best would be solving a high-value business problem for which a solution using AI can be developed.
> An EU vote on Brexit would make no sense, as one or more of the countries would have to withdraw from NATO in order for a war to occur.

No, it might be that, if a war occurred either NATO would cease to exist as a credible alliance or one or more countries would be expelled from it and find themselves at war with it, but certainly withdrawal from NATO isn't a necessary precondition for war.
Hey! Yup I'm actually one of the co-authors of Absinthe. Got any questions?
This was just a rhetoric declaration as they knew that the government would trigger the 155 article moments after this declaration.

In practical terms, it means nothing. At least nothing for Catalonia as a region. The Catalonian government, however, will face rebellion charges on Monday. They can get up to 30 years in prison.

Why did they do this ? No idea. I hope someday we can get to know the intrahistory of all this.
Hi, Québécois here.

> very good and valid reasons to separate from Canada, mostly because of prejudice against their language and culture

It's rare to see this acknowledged outside of Quebec, so, thanks.

> increased the use of French within the English speaking part of the country

It's important to note for the comparison that this has been eroded extremely quickly. Supreme court judges don't have to speak French, and the Supreme Court ruled (6-3) two years ago that provinces are not obliged to translate laws into French. The lesson here is don't take things for granted that aren't in the constitution. (I don't know how much language is an issue for Catalonia but I can only assume it's a part of it.)

> The Quebecois culture changed becoming more cosmopolitan and less Catholic (we call it "The Quiet Revolution").

I don't think you meant to misdirect here, but the Quiet Revolution happened in the 60s, and is therefore not a consequence of the modern sovereigntist movements which lead up to the first referendum in 1980.

> After these changes, separatism is today a political liability in Quebec. Their separatist party only succeeds when they disguise their separatism.

It is still an issue, in the sense that some people will vote for the party most "likely" to hold a referendum. In practice, we all know the status quo is too profitable for any powerful party to attempt real change.

It is also important to note that Quebec still very much feels like a different nation, to me at least, and we often diverge strongly on political issues related to culture. See this map from 2011: https://imgur.com/gallery/w3uoK9W

As long as this "two solitudes" phenomenon persists, the separatist movement will continue to exist. It is doubtful to me that there are any concessions on the part of Canada that could bridge this gap, but I'm certain that Spain is different, in that it could effectively have killed the whole affair with simple financial negotiations. In hindsight, the lack of openness to compromise was quite obviously a shortsighted decision.
Apartments 8-10km away from central Shanghai costs you $1.7-2m. To get a recently developed unit at $1m price range, you pretty much need to go 20-30km out.

It is a cancer.
This isn’t a flaw in React, this is using the wrong tool for the wrong job. React is great, but it doesn’t solve ALL problems.
> Instrumentation rarely modifies the execution profile to the point that the numbers are 'worthless' or 'random'. My rule of thumb is that self times near the leaves of the callgraph are more accurate than self times further up the graph but having some indication of timing is important.

I was only talking about the instrumentation system on Android, not the one anywhere else. It forced ART to fall back to interpreted mode, so no JIT at all, which massively balloons the cost of certain things like single-line getters or JNI calls. It was actually useless as a performance tool of any kind, which is why the recommendation for years has been to ignore the numbers it produced. It's great at answering questions about what a given function ends up doing, but that's it.

If you want low-overhead timelines with duration numbers that actually have meaning that's the job of systrace ( https://developer.android.com/studio/command-line/systrace.h... ).
Check out Kotlin, it might meet your criteria.
I think you're mistaken here. I know countless conservatives on Twitter, and they're real human beings.
So legally, does the Catalan Government have to comply with that petition? And if not, wouldn't that mean the Catalan Parliament doesn't actually have any real authority? Or is there some other legal mechanism they could use to force the Catalan Government to comply?
There’s a pyramid for a reason. It only takes a couple of tests to make sure that your plumbing connects all the way through. You inspect all the bits when they are going in but in the end you still check that things end up where they are supposed to.

I’ve been doing automated testing for a while. It’s hard to learn, there aren’t many people to emulate. Well, there are people to emulate but the winning strategies are conterintuitive, so your gut fights you the entire time. It took me 8 years to feel confident in tests and my own test code routinely makes me sad because I find antipatterns and I should know better. Also other people copy all of my mistakes :/

I’ve seen a number independent groups two or more years into their testing adventure and the failure modes are not that different. Everyone pretty much makes the same mistakes I do, and it’s frustrating watching everyone go through the pain before they accept that something has to change and it’s probably them.

The best strat I know of for testing is to use inductive reasoning and sampling to verify. If you don’t like the plumbing analogy then this is the Logic version of the same thing. If A -> B and B -> C then A -> C. Only a couple of your tests should verify A -> C and the bulk should check every kind of A [edit] and every kind of B.

If you want to do things like this without making your code not ‘say’ anything (a huge pet peeve of mine, so I can empathize with your concerns) then there are a couple of things to do there. One is an old trick from
Bertrand Meyer: split code that makes decisions from code that acts upon them. Beth is split leaves the code more legible, not less.

Most of the boundary conditions are in the decisions. And this code is side effect free you can test the hell out of it with no mocks. Getting every permutation is straightforward and you can count your tests and your conditional branches to figure out if you are done.

Once your code looks like this, adding and removing new rules to the system later is a snap. Even much later.
Ask your users if a different price plan would motivate them to register more seats.
...and that’s an irrelevant point.
That's completely untrue.

I've built both SPA and traditional fullstack applications similar to the mentioned architecture (although I prefer Python over PHP).

Fullstack is a fraction of the complexity, with much more power. You can even use a simple library like PJAX to get all the same speed boosts an SPA offers without introducing any of the additional complexity.

To be honest, I don't see what React offers beyond what you get with a templating language like Handlebars, and a few lines of jQuery for initializing components.

This is, of course, for database heavy applications where each action requires the backend. If you're building a game, or an app that's mostly offline, SPA can be helpful.
I'm sure they would, but once they are independent, they can't legally use the Euro. Would they even continue to be Spanish citizens and be able to travel freely in the Schengen area? A new state takes years to join the EU (assuming the EU would accept). How about sovereign debt?

All these (really important) issues that should be part of an extensive debate so that people could understand better what is expecting them on the other side.

Also, I don't know any country that allows constitutional changes to be done via a simple majority in parliament (they had 3 votes above simple majority).

The only reasonable exit at this point, I believe, is to have new elections.
Ha, you kids and your fancy lynx browsers. I do just fine with Netcat and typing in the HTTP requests by hand. Works just fine!
I have heard this line of reasoning a lot, also in Dutch politics, but I disagree with it. General elections are too broad to pick any issue and simply state that the votes on the parties that hold a certain position on that issue are representative of the voters' position.

If you want to know about x, hold a referendum on x, not a general election on the whole alphabet.
Of course you also need a browser and/or OS to establish the roots of the trust relations.
Who didn’t get what they wanted?
You can support the Rocky Mountain Elk Foundation and Backcountry Hunters and Anglers, both of which are heavily involved in issues of access for all types of backcountry users. RMEF especially specializes in purchasing land rights which unlock thousands and thousands of acres of public land that was previously inaccessible. I don't think any organizations are doing more to promote access on public lands. From their website: "Since 1984, RMEF has opened, secured or improved public access to more than 1.1 million acres of elk habitat across the country for hunters, hikers, anglers and other outdoor enthusiasts to enjoy."
I work on React. We’d love to hear from your team sometimes and collaborate on this sort of thing. We’re solving many of the same problems but I rarely hear from Netflix engineers except at talks when announcing they’re avoiding React or have forked it, often for reasons we weren’t even aware of.
https://www.reddit.com/r/modnews/comments/78p7bz/update_on_s...

Though Nazis have taken over the conversation, they did ban a bunch of fetish subreddits too.
nooooo :(( i miss it. please bring it back
Except it is exactly Trademark related. They weren't ask to turn off the server, they were asked to stop distributing EA assets:

Dear [REDACTED],

I write on behalf of Electronic Arts Inc. and its development studio DICE or, in other words, "those guys that make Battlefield."

We've noticed that Revive Network has several projects and websites devoted to being a Medic by reviving older Battlefield games, including Battlefield Heroes, Battlefield 2, and Battlefield 2142. It's great to see your enthusiasm for these titles. Not to brag, but we too get the nostalgia chills when booting up these classic entries in the Battlefield franchise.

We need a favor though: we must ask that you stop throwing down Ammo Crates. In other, more legal-styled terms, please stop distributing copies of our game clients and using our trademarks, logos, and artwork on your sites. Thing is, your websites may easily mislead visitors to believe that you are associated or affiliated with EA we're the only ones that get to wear the Official EA dog tag. Since you're Battlefield community members, we know that you are smart and helpful, and will respect that we must protect our intellectual property rights in the franchise.

Please drop us a line to let us know you're on board with this. Should you have any questions regarding all this, please do not hesitate to contact me via e-mail at [REDACTED]@ea.com.

Thanks,

[REDACTED]
IP Counsel
Electronic Arts Inc.
I personally use the snooze feature (time or location-based) quite at lot at work, along with the reminder feature (which also allow to add a note). I forget much less often to take action on an email in a timely manner because of it.
Jonathan Edwards (@johnathoda) also left HARC back in June: https://mobile.twitter.com/jonathoda/status/8717849981138821...
Those are all topics that America agrees are fine to debate about. There are other ways of being that most Americans would unanimously be against, or merely not even consider.

Americans tend to be insular. A very low percentage of Americans have a passport.

The healthcare debate is actually a good example. It’s entirely uninformed by how systems work elsewhere. As a foreigner it’s baffling to watch.
> It was just made up BS. An ex-MI6 guy was paid through Fusion GPS to make it, nothing in it was verified, and the news ran with it like crazy anyways.

This is false. It wasn't just made up BS. Many elements have been verified, and the news didn't just run with it. In fact, all the news outlets that had it save one didn't run with it because they hadn't verified it enough, and it was until one news outlet ran it that the cat was out of the bag. And even when they ran it, they made it very clear the status of verification.

You are either ignorant and need to go do any level of research or a liar, in which case you should be ignored.
The key difference here is that, while Python and R has a lot of their standard library written in other languages (C), Julia's is mostly written in Julia. Same with Julia's packages. This means that you can throw a lot of library functions and they will GPU compile just fine because the whole stack is Julia all the way down (in many cases. There are of course exceptions).
Rise of the Creative Class Worked a Little Too Well
I'll have a look at Glimmer later, but who executes this bytecode?
I forget the article I read this in, but basically here in the US there is a large percentage of the population with a "strict father" worldview (i.e. its up to each individual to save themselves so nobody gets a handout), while in China it's much more of a "nurturing parent" worldview (i.e. the most important thing is to take care of everyone rather than to ensure equality).
This sounds like a solid idea and not just ageism related, why not open it up to ages of all kinds...
would be good if you gave more details of what your goals/expectations are
Its super exciting for new storage technologies to be released, but at this time it doesn't seem that much better than Samsung's Evo 960, which can be had for much lower prices.
Not paywalled, you just have to be registered as a contributor or as reader. No payment involved.
Can you unpack 2 for me? How can there only be finitely many axioms if NBG is 'equivalent' in proving power to ZFC?