skysight-inc/HackerNews huggingface dataset:
The code is mostly equivalent to the recursive form found in the wikipedia article on the cooley-tukey algorithm. This is a good one to learn from, as its not only a simple formulation but it forms the basis of modern optimised FFTs such as FFTW (source[1], from the authors of FFTW).

As an aside, I also find the non-recursive, breadth-first, form easy to derive thru a process of code transformations of the depth-first form; explanations that start breadth-first are somewhat bewildering

[1] https://cnx.org/contents/ulXtQbN7@15/Implementing-FFTs-in-Pr...
Both comma and dot are allowed. My copy of ISO 8601-2004 says in section 4.2.2.4 “Representations with decimal fraction“:

<< If a decimal fraction is included, lower order time elements (if any) shall be omitted and the decimal fraction shall be divided from the integer part by the decimal sign specified in ISO 31-0, i.e. the comma [,] or full stop [.]. Of these, the comma is the preferred sign. >>

Also, RFC 3339 is useful to have as a specific standard profile of ISO 8601, because 8601 comprises several formats with lots of options.
That’s a wonderful goal and resonates with me as well. Your first and second points stand in direct contrast to each other - being more conscientious and deliberate without over intellectualizing and dealing with decision paralysis. You might benefit from talking to a counselor or someone who can help prevent you from getting stuck thinking in circles.
Learned from the best.
Conspiracy theory
I assume he is not talking about changing direction so much as:

- "This implementation of the API was trickier than expected, so it will take a couple of days more I think".

- "Ok, maybe I can help you with it instead of starting with the front end then?"
That's because its main point is... more than a bit overdrawn.

Yes, there's an obvious trash problem in certain areas (especially near Central Termini) and in certain parks. Which can be a bit eye-popping if the standard you're comparing to is on the order of, say, Switzerland.

But by and large it's just not that huge of a problem in most areas - and at the end of the day, it's still a fantastically beautiful city. Its main problems are: (1) lack of first-class transportation system (2) tourists (3) of course, Italian politics.
The universe is by definition a closed system. The universe is all that exists, if there is something that could have an effect on it, it would be part of the universe.

The universe is expanding, distances are getting bigger, and there is no reason to think that it'll suddenly decide to stop and get small again.

Balloon theory was blown up by the discovery of an increasing cosmological constant (aka dark energy).

Once a fire has burned to ash, you can't turn it back into wood again. Cyclical time is wishful thinking, contradicted by all evidence.
Well software engineering is the only engineering field that produces half baked unreliable crappy solutions continuously. Other fields cannot afford such attitude towards products. I think a simple (inferred) type system is pretty useful to increase correctness and it helps you to increase reliability (even though it does not avoid all of the mistakes you can make in software).
Well, there would probably be less slave labor in the American port so I suppose so.
I forgot to mention, lambda model is very easy to reason about and costs can be forecasted with more accuracy than running a VM.

Once you have setup Lambda in one region

You just need to loop through the list of regions and deploy your lambda in ALL AVAILABLE REGIONS. Yes, it's that simple!

API gateway doesn't charge for 4xx response, so it's very good for defying level 7 ddos too.

Add cognito and use lambda authorizer, it generates API keys and emails it to your users.

Add a Latency Based DNS routing using route 53 on top and you ensure minium latency in all regions!
I can’t imagine building a highway on that terrain. I drove thru a lot of Montenegro and I haven’t seen any flatlands.
"The terminology of a “bug” is usually attributed to Grace Hopper in 1945, but this seems to indicate it was in airplane terminology years earlier."

??? It goes back to at least Edison. https://en.wikipedia.org/wiki/Software_bug#History quotes him as writing in 1878:

> It has been just so in all of my inventions. The first step is an intuition, and comes with a burst, then difficulties arise—this thing gives out and [it is] then that "Bugs"—as such little faults and difficulties are called—show themselves and months of intense watching, study and labor are requisite before commercial success or failure is certainly reached.[3]

The Hopper story is "First actual case of bug being found", tongue-in-cheek because the bug was actually caused by a bug, instead of metaphorically so.
> UK is like Denmark, not perfect but you don't get that sense of failed state that you get crossing into Italy.

You and I have a different experience on potholes and trash in London.

- Trash are everywhere in inner London, because the regulations against IRA bin bombings are still in effect. This is a hotbed for rats.

- Potholes are that dangerous I've seen couple of accidents just because the cyclist had to do unexpected move or drive through-then fell.

- Many of the roads are although two-way, but actually no two vehicles can fit in the lane (no surface marking to separate the two lanes). Quite dangerous. On top of this, many two-way roads are narrowed to provide shorter crossing for pedestrians. Check the front-left wheels of the cars and you will see what this mean.
What'd they get out of it? These actions don't exist in a bubble, neither do those.
Eschersketch's web app helps you sketch your own tessellations easily on desktop: https://levskaya.github.io/eschersketch/
Poll: Which of these books would recommend to a First-Time founder?
The Personal MBA
Running Lean
Crossing the Chasm
The Four Steps to the Epiphany
The $100 Startup
Side Hustle: From Idea to Income in 27 Days
We will see this more and more. I just had a master's student tell me they don't care how the "learning" algorithm works, they just need to show there was a difference in their treatments, I told her to fuck off.
China has two major projects to dam up the white nile and the blue nile upstream from Egypt and Sudan (who curreently use 90% of the Nile water) Ethiopia, and Kenya will take control of the Nile and the two countries that currently consume 90% of the Nile water will be starved into submission by their Chinese landlords through taxes and fees over water. China needs a port for their Navy so they can 'protect' their 'investment'. There are many Chinese projects ongoing in Africa and there are whole towns that look like they were imported from China.The concept of 'lebensraum' and the hunger for growth among the powerful continues to disrespect geographical boundaries that gave rise to the magnificent diversity on this planet. The only loss that I mourn is the set of unique cultures and heritage of the many people inn Africa. The great homogenizer (capitalism, growth,etc) will obliterate the diversity on that continent. OTOH, maybe the hybrid vigor of Afro-Chinese offspring will give rise to a new more robust strain of humanity.
I wholeheartedly agree. When we go camping, one of my rules is no clocks. I find that, within a few days, we wake up just before dawn without consciously doing anything. It seems natural, everyone just falls into it.
And for me at least, the sleeps while camping are some of the best I've ever experienced.
Join the blog series “TypeScript – The novice programmer” – By Tirth Bodawala
Gaia – Like Jenkins Pipeline but in any programming language
When I was in ROTC my cadet commander said "you only really need 6 hours of sleep" and like the good cadet that I was I've only slept a maximum of six hours ever since. After a couple years of using an alarm clock to do that I've been able to get up naturally after six hours for like the last 7-8 years. Not sure if its healthy but I do know I feel worse when I sleep longer.
> you don't want browsers to make multiple guesses

The webserver does that work.
Taking vindictive actions against authoritarian regimes never goes out of style.
Flutter: 2018 year in review
Twitter's upcoming changes to PNG image support
Finding patterns in sha256 hashes
It seems that sha256 encryption strength and solving the PoW puzzle in blockchain are not the same problem in terms of difficulty. Any pattern can be immediately useful for solving PoW puzzle, but not necessarily helpful for cracking sha256. What do you think?
Why the use of two different random number generators and drawing these images one pixel at a time? Why not swap the entire image colorspace to black/white for black/white? Why the choice of using imageio to create the gif when Pillow (imported at the beginning) can already do that as well?

These are questions that are discussable, maybe the author isn't yet very familiar with generating images :)
If my IP can be protected, then yes it is probably infinite times better for it to be a Freedom Trade Port than the Port of The Dictator's Party
imagine mr. bezos with port authority
There’s a framework for that:
https://en.m.wikipedia.org/wiki/Fuzzy_logic
I realised after reading this that if indeed there’s a cognitive peak an hour or two after waking, then that’s a pretty good argument for remote working: it enables one to enjoy two peaks per day while working instead of just the one late-afternoon one, since one doesn’t waste one’s peak somewhere between breakfast and commuting.

It does also make the old routine of reading the morning paper seem pretty smart, since presumably doing so during a cognitive peak increases reading comprehension & retention.
It's because it's very clear that China's intent with such loans is to create a casus belli for such seizures or create complete economic reliance. Nobody is going to sympathise with a predatory loanshark when they don't get paid and use it as an excuse to grab what they really wanted all along.
Before we throw about the term "Imperialism", let's remember what kinds of things the European powers did that are rightly considered part of it:

- Violently forcing "trade" to happen, often under an "East India Company". You can have cannon balls or opium.

- Forcing the local administration to learn the language and legal system of the imperial power. Why do they speak English in Kenya?

- Suppressing local rule. How many people had to die in independence wars?

- Moving people around who didn't want to be moved. Plantation Rum anybody?

To compare current China with something like the British Empire is not very reasonable.
"The New Confessions of an Economic Hit Man" talks about China moving into the loans and takeover market, following in the footsteps of the United States.
An acquaintance travels around Africa relatively frequently and his observations seem to be in line with the OP article sentiment. From China’s perspective it makes a lot of sense to buy up Africa, it’s a resource rich continent and was essentially given up by the west.
I'm assuming they mean actually Depth First, where splitting up a tree and traversing branches in parallel violates the "First" part.

It's a bit contrived, because obviously the name implies that it's sequential. But yeah, sometimes that's precisely what you need.
Case-sensitivity is such a rare concept in English that any API or programming language that is based on it cannot be semantically thought of as English, even though it uses English words for all its function and class names.

I've used systems that are case sensitive and systems that are case insensitive, and the former are responsible for an order of magnitude number of bugs more than the latter.
Artificial Intelligence in Drug Discovery: 2018 Year in Review
Well...
https://www.abc.net.au/news/2018-11-16/are-china-cheap-loans...
... not sure what 'bashing' you are talking about. This 'debt-trap diplomacy' is a real concern here in Australia.
> I also tried to use Haskell for personal projects, which I thought would a good fit for strong typing: a library for physical units/dimensions. I also failed on that, it quickly became a mess.

In what specific way we could have improved Haskell so that you'd succeed in this scenario?
React Native: 2018 year in review
Oregon: A potential game changer for housing affordability
> leverage the Node.js ecosystem and Chrome APIs

Aren't those fairly discrete areas with fairly different levels of work? Doesn't most of what's on NPM run in WebKit / Gecko these days, anyway, since people commonly deploy client-side?
Nextcloud has the exact same SD limitation of needing an app-specific folder. For syncthing it's Android/data/com.nutomic.syncthingandroid/files/ and for nextcloud it's Android/media/com.nextcloud.client.
Not many stars in the middle of a building. Radio time isn't our last grasp on time but it is an efficient grasp that has been proven to work damn near everywhere for cheap.

Old != obsolescent and you don't automatically save money by turning something currently in use off you have to look at the cost to remove or replace it in all use cases.
> What's the advantage of using this tool instead of apollo-cli/apollo-codegen?

> Unfortunately I'm not yet able see any benefits you'd get over Apollo's codegen in return

> Doesn’t Apollo’s Codegen tool already solve this?

I am sorry for my late response.

I add the section to README.md which explains why I created this library even there is Apollo CLI's codegen.

https://github.com/acro5piano/typed-graphqlify#why-not-use-a...

In short,

- Simplicity make this tool works as expected

- Can handle multiple schemas

- Works without schema file

I wrote a lot there, but I just wanted to try the paradigm TypeScript -> GraphQL conversion, because there are no tools to do that, unlike GraphQL -> TypeScript conversion tools.

However, this is not just a hobby project, cause I use this in my current real world project, and it reduces a lot of boilorplate. So I submit here.

# I thought Apollo codegen needs .graphql extension and webpack loader, but it reads .ts files too... Awesome.
... okay, I'll grant passwords as a rare exception, but I do wonder if "correct horse battery staple" isn't a better solution to the problem that password case sensitivity solves.
> We know this because there is plenty of real-world evidence that debugging implementations of parallelizing code is worse than merely _difficult_ for humans. Race conditions, deadlocks, livelocks, and insidious data corruption due to subtly unsafe orders of operation plague all such attempts.

None of these problems have anything to do with parallelism. But everything with "shared memory multithreading". There are plenty of sane concurrency models implementations out there. Which brings me to this part:

> But the truth is, we don’t really know what the “right” language primitives are for parallelism on von-Neuman-architecture computers.

We do know what the right language primitives are. Well, at least if you follow concurrency and distributed systems, where it's not even an important question anymore, you just stick to actor model as a default choice and stop caring about these things.
Much easier to blame the IMF than the fact that if you want to spend more than you take in in taxes you’re going to have inflation and currency depreciation unless you have capital controls. Also, the IMF doesn’t really lend large amounts of money to countries that can access global capital markets generally. Non-concessional lending is mostly for when no one will lend your country money because you’re not expected to be able to repay. Concessional lending is interest free so I struggle to see how they’re supposed to make money on that.
CasE-SenSITIVITY IS rarE IN ENGLISH? I WiSh SOMEone would'VE TOLD mE EARliER!
Seems like a good candidate for a GitHub sitewide search, with (manually filed) issues against improper uses (maybe a cut and paste) to alert callers who are using it incorrectly.
> Most people have, I suspect, not practised doing that much, because there's no need.

Giant Steps in all 12 keys is like everybody's favorite freshman woodshedding. "Learn standards in all 12 keys" is advice that literally every teacher or mentor I've ever had has given me.

At most gigs people won't be calling weird keys, though it is pretty likely that you'll be playing standards that have been played in multiple keys throughout time and you need to know it in all of the commonly played keys. At a cutting session, though, you can expect weird shit to come up. That's just (unfortunately) the nature of jazz right now. People love to show off and jazz has developed this culture of ridiculous difficulty. This leads people who really want to be serious to be prepared for this.
I don’t like walled gardens any more than the next guy, but it’s easy to push this argument into absurd territory. Are OS vendors required to offer identical APIs, to the point where it’s immoral for them to have differentiated functionality and useful features? What is even the point of having different operating systems then?
Vim also supports org mode as well. Not quite as nice as emacs but it gets the job done for me
I grew up in Africa myself. And yes, China is getting more involved in more projects than it used to but it's only because their terms are more favorable than our darling western powers'. African countries are not some teenager girl who is being duped into doing something they don't see themselves.
100% CPU on an octacore? See, ESR was right, it's bottlenecked by serial performance. Now 800% CPU utilization would be impressive!
If someone turns in math homework consisting in answers only, the teacher will probably not give any credit, and will ask to show the work. Yet the AI/ML community insists on cargo cult test for intelligence - behaving like someone with a mind.

That can be traced to the "Turing test". It was flawed then, and it is flawed now. Reproducing the behaviour of a thinking agent does not prove that a putative AI will not fail in a more detailed test, as demonstrated in numerous papers about "adversarial images".
With e.g.

> https://outline.com/

> https://unv.is/

> https://mind.im/reader/

or with a browser extension made for readability
You radically overestimate the competence of the Chinese government. The BRI is a white elephant, a foreign policy initiative with Xi’s imprimatur. It’s more important to be doing BRI things than that they make money.
The title is false; nowhere in the article says that Kenya is unable to pay loan payments. It merely states that there's a contract clause that says China might take over Mombasa port if payments are not due.

Kenya is not Sri Lanka, it's a wealthier country. They will find a way to pay back the payment. What can be discussed is if it was the right decision to build a high speed train. A much better decision would be to stick upgrading the road network.
Adding more breadth to AfricanStand

It's still controversial. KBC (state media) has an article[1] disproving the claim. The Standard (one of 2 major local news) has an article[2] exploring alleged papers from the Attorney General's Office that specify Kenya's port income as collateral. The papers were exposed by John Githongo[3], a politician who has tendencies of uncovering government misdeeds. He was in exile a while back...

[1] http://www.kbc.co.ke/chinese-govt-dismisses-report-of-mombas...

[2] https://www.standardmedia.co.ke/article/2001306837/does-keny...

[3] https://twitter.com/johngithongo/status/1075187915875971072
It's a dead link
We are talking about two billion years! It's a possibility, in no way the only one.

It can happen that any crisis wipes us, or even life in the planet, out.
This just feels like whataboutism, no one denies that the European imperialism was bad.
So the tunnel the LHC is in has a circumference of 26.7 km. But the LHC has two parallel beam lines running in opposite directions. I assume that’s where the discrepancy between our numbers came from. But both beam lines are in the same vacuum vessel.
The App Academy (top rated) boot camp has open sourced their curriculum. zero to hero. it can be free if you don't want a mentor.

https://open.appacademy.io
I'm an African myself, but while Chinese model is different from the aid model we are familiar with, it's helping solve so many problems that we had no alternatives for. China is willing to come in with loans without political strings attached. Yes, there are collaterals but Africa has its own negotiators too, and we know the deal we get is much better than any other country or institution would be willing to give.
>To compare current China with something like the British Empire is not very reasonable.

This is a strawman from PRC apologists. The article doesn't do that at all.

Also, the British doing bad things in the past is no excuse for governments doing things like this today.
Ah, of course, the U.S. is the leader of standing up for the little guy.

The entire West has taken advantage out of African nations but God forbid someone else tries to do that now.
Tell it to the lawyers writing disclaimers in uppercase.
West African American here (Ghanaian - American). This article actually isn't true, while the Kenyan Chinese pact that led to the construction of the Nairobi - Mombasa Port does have clauses related to penalties around lack of payment, there has been no actual announcement or any signs of China declaring possession of the Mombasa Port. In fact, the big issue in Mombasa right now is actually revolving around a Kenyan state company taking over one of the terminals, a situation that doesn't delight the workers due to the late payment periods of said state company.

Speaking furthermore, I do find it highly concerning just how much of an echo chamber this place is in regards to this notion of "Chinese colonialism" and Chinese "debt - traps". Most African countries still owe far more to the IMF/World Bank than they due to China. Of the 54 African countries, only four are in severe debt to the Chinese (Ethiopia, Kenya, Djibouti, Zambia), and of those four countries China has gone the distance in terms of reviving moribund national rail systems and helping to set up industrial zones, which is in part why East Africa boasts the highest growth rates on the continent.

Africa is a vast continent with booming populations. They're also counties with deeply huge infrastructure needs. Ghana alone while one of the richer African countries is in desperate need of new roads, power plants (blackout issues), hospitals (we recently passed a universal healthcare law), and education(we recently launched universal free senior high school education). The funding to launch these countries into elevated statehood isn't going to come from the West. The city Of New York's pension fund isn't going to be investing likely in the KSE (Kenyan Stock Exchange).

So are there issues with Chinese engagement? Yes. Will some countries make a botch of it? Yes. But are other countries seizing the opportunity and using it to drive a higher standard of life? Yes. But in my opinion it is a far better arrangement than the European sponsored neocolonialism of the past. France in particular still operates a monetary zone that operates in 14 African countries in its former colonial obit, and we cannot forget the provocations against the Gaddafi regime earlier this decade which resulted in accelerating a migrant rush towards Western Europe. The Chinese stay out of African politics. and in historical terms have largely not interfered in the political processes of countries not in their "near abroad" to borrow a Russian political term.

Anyway those are my thoughts from someone who is African and has actually been to various countries in Africa.
Yeah. We need to protect human rights. We don’t need mechanisms to subvert just means of accountability. It’s true that the same tools may cut both ways, but let’s keep in perspective what ends are of collective value.