skysight-inc/HackerNews huggingface dataset:
Or, you know, just use the `mod1` function in those cases: https://docs.julialang.org/en/v1/base/math/index.html#Base.m... . Even more fun is that you can use the special `end` index to implement a stupid-simple circular index: `A[mod1(i, end)]` will always be in-bounds for integer `i`.

It's not a common case, though. Using inclusive ranges and 1-based indexing makes Julia's slicing syntax use first-class ranges that can behave like arrays themselves. You can do math on them. You can do all sorts of amazing things that make your life easier: https://julialang.org/blog/2016/02/iteration

Sometimes you want to count fenceposts, and sometimes you want the distance (e.g., offset) from the first post. Keep this imagery in mind and it's easy to do either in any language.
>For the latter, you need to be reading a place like bitcointalk.

BitcoinTalk is the launchpad of virtually every ICO that has violated these core principles.
I am very skeptical of your claim that it's a haven for those who care about the technology and its principles when they have boards solely dedicated to announcement of new ICOs: https://bitcointalk.org/index.php?board=159.0
Travel more, and you'll see it happens in almost every nation.
I have the opposite use case. For charging at night, I just plug in the the slow wired charger. Wireless charging is more useful to me in my car and at my desk.
>But if I give them 1USD and get back 1USDC, which later can be exchanged back to 1 USD, where are they making money?

Historically that's basically how banks have made money. Issuing bank notes while earning interest on the capital they hold. Typically they juice the rate via fractional reserve lending, ie they lend out more money than they have. However if they aren't able to do that, they still get to keep the interest from the deposits (say by buying Treasuries).

My guess is that the stable coins will continue to be more and more common, but then cryptocurrencies will rediscover fractional reserve lending, and new ideas like pegging a coin to the S & P. The pegger will charge a small service fee, the holders will be able to rapidly move money they spend, almost instantly between S&P (or other basket) pegged coins and stable coins.

There will be enough competition over being the holder of stable coins and enough competition in that system they I would expect them to offer rebates on transactions, and not have to charge merchant fees. And since they will be centrally cleared and not have to deal with mining and so on, the transactions ought to clear instantaneously.
The Swords of George Washington
I wonder how they can justify the cost for so little.

It's a communist nation. They don't have to justify the cost. It's all about politics and boasting.
Is that really any different than a python developer explaining a piece of code changing the conversation when they realize they're speaking to someone else that's also a python developer?
I can tell you that is at least literally true.
I don't doubt that there are analogs for individual components, but I don't think there is anything comparable to Kubernetes for VMs. I also doubt the quality of those individual components or their integrations (for example, how do I build a VM image in <1m, what image repo technology should I use, what orchestration technologies exist and how do I tell it how to pull from my image repo, can I run that orchestration tech locally or on prem, etc?). I don't think these are insurmountable problems; there just isn't the same amount of investment (or rather, the investment is comparatively poorly coordinated).
Let's look in the mirror: What beliefs do many of us hold that later will be considered beyond the pale?

People get their morals from the norms of society and people around them; it's not so easy to hold beliefs that violate those norms, for good or ill - people consider you a nut, lose respect for you, and don't want to discuss it with you. It's hard to be the only one in the meeting who raises their hand to object, especially on ethical grounds (which implies everyone else is unethical - they love that). It's hard to go against the grain on HN.

I'm talking about McChrystal; I'm not excusing Lee. Around Lee there were plenty of abolitionists and slavery was illegal in half the country; he had plenty of examples to follow.
Can Germany survive the ‘iPhone moment’ for cars?
Stablecoins do absolutely nothing that bitcoin does. In fact it is just the opposite. Not to be rude, but you have a fundamental misunderstanding of the technology.
Isn’t it funny CoinBase wallets don’t support ERC20 out of the box. They pick and choose what ERC20 tokens the support.

Hey wouldn’t you know it they support their own stablecoin, but not others...pretty sure that’s the type of centralization cryptocurrency/Blockchain was trying to avoid.
Somewhat unrelated, but the reason micropayments aren't a thing isn't that transaction fees are too high. The reason is that consumers hate them.

http://www.shirky.com/weblog/2009/02/why-small-payments-wont...
> unintuitive syntax

I don't see this often. Could you point out some syntax or concepts that aren't clear, in Python?
Food, basic cell phone plan (necessity in 2018), health insurance, electric, trash, water. That's either having absolutely $0 left over, or not livable on the given $1400/mo wage.
Most alcoholic drinks are an acquired taste. There's nothing Eurocentric about finding unfamiliar alcohol offputting. She doesn't rant about it, she's not even all that negative; she just didn't like it.
> It's sad that issues like this are flagged to shut them discussion.

I flagged it. The story isn't particularly interesting, isn't related to tech and promotes divisive ideological discourse. That's what twitter's for.
You are a pain in the ass! Thanks. I will look at updating my text-based browsing habits :)

Edit: I've been snookered! This is just a text rendering front end for firefox. This invalidates the point I was trying to make. I am sad now.
Django's ORM will create DB-level foreign keys on databases/table engines that support them. But it doesn't create many other types of database-level validation (mostly just UNIQUE and NOT NULL constraints).

Some of that is compatibility reasons; not every DB Django supports would allow creating all the desired types of constraints in the DB, so Django has no choice but to ship application-layer enforcement.

You can work around that with manually-created migrations (and I've worked some places that did this, in order to get particular constraint types that were needed at the DB level), but I don't know of a good generic solution to that problem.

Django 2.2 is going with a somewhat-manual approach to allow specifying richer types of constraints, so maybe that'll lead to progress.
+1 for Happy People
Not really, but that's because I've been using "nosql" so long that I've gotten used to writing joins in my apps.

But that is a fair point, things would be easier with joins. Usually when I need joins I use Postgres though.
I've just been using Postfix+Dovecot for years now and, initial setup aside, it kinda "just works". I can't remember the last time I had to actually do any maintenance other than security patches, it must be over a year ago now.
I've played around with LinuxKit; it's quite difficult and limited. I couldn't get anything off the ground. Promising for sure, but needs more investment before it's ready for general purpose use.
Nice, same concept in an easier to wear package. I love the idea of using the retroreflective tape on these things.
Hopefully, he can steer MS away from projects like the Zune.
Thanks! If you watch the "Show Me Everything" raw feed for a while, it puts a "flag label" on different types of bad content - including clickbait, fake news, hate speech, extremism and state news and propaganda. A lot of those stories get stripped out when the filters are on. But the "crap detection" filter does flag those stories in the raw feed in real-time too. It's still learning but it's already decent at detecting this sort of content. I was thinking of adding a "fake news" view (or "Crap detector view") as it's interesting to see the techniques the people who propagate that stuff use!
Would you care to please post civilly and substantively instead declaring others to be evil for declaring others to be evil?

https://news.ycombinator.com/newsguidelines.html
What is the hyperbole? Should he rather have said "iPhones are not easy to use", as they clearly demonstrated?
Yes, but not recognized that way in Germany at the time.

It was nationalist right wing militias that killed Rosa Luxemburg and Karl Liebknecht (Spartakusbund)
> not sure where you get the idea dataframes are unique to SQL databases

I'm not sure I said this.

> HBase and Cassandra were even the original big data databases and they aren't relational.

They also had trouble doing joins and many other query operations which are common in analytics. Presto addresses this somewhat.

> And Spark can manifest almost any database as a dataframe.

Which entails a translation layer from whatever non-tabular form that data was (e.g. JSON) into a dataframe-like structure, rather keeping it in its native form, which reinforces my point. You still need to somehow transform data into tabular form. (ETL is just a batch way of doing this transformation; you can have live transformations of course, with accompanying overheads)

BI tools also generally require data to be in tabular form, which entails the use of a translation layer. The Mongo BI connector is one such translator.

> Actually MongoDB is quite popular in the analytics space.

I work in this space, interact regularly with vendors, and monitor the space actively for strategic developments. This does not track with my observations.
Beauty and the Beast: Optimal Methods Meet Learning for Drone Racing
I knew Stanley several years ago when we attended the same church. I'm not a psychopath and neither were the other folks in our congregation. Stanley was a good teacher but a bit of a monotone during the songs. I hope he is still doing well. Good man.
The buds that are flourishing now in Japan won’t open again in the spring, but fortunately, the proportion of blossoms that have opened in recent days is relatively small. So, Wada tells NHK, the unseasonal bloom is not likely to affect the splendor of the cherry blossoms next spring.
Stating that the person who said it is Solomon, and then making it clear that the speaker is less important that the words, serves to emphasise what is important.

The man who wrote it DOES matter, it DOES alter the effect. Solomon wrote it, in the book Ecclesiastes! Of course that makes a difference, and the writer here deliberately drew our attention to that. Dismissing a famous writer as unimportant carries more weigh than dismissing a complete unknown as unimportant.

This isn't some kind of simple logical operator statement that one can apply Boolean algebra to and simplify. This is already massively simplified; the writer expressed a lot of meaning in very few words. So much meaning, so compressed, that many readers think it's just the opposite - little information in too many words! People asking why this wasn't short are missing the fact that this IS the short version!
Same. It's ridiculous.

I remember when gmail was introduced (invite only) and it was blazingly fast and so appealing. Years ago, on browsers that haven't had their JS optimized even 1/10th as well as modern ones.

Wirth's law.
US only probably
A couple of unrelated notes.

(1) I love the "nerdiness" of not realizing that his (caveat) doesn't fix what he was trying to fix.

I’ve never met anyone who knows how to have as much fun with condoms (in public, anyway)

(2) Reading gates notes these last few years, I really like Bill, or at least the literary Bill. There's an honesty in the way he writes that's just likable. A lot of Warren buffet in his style.
Show HN: Curated list of hacker news ID's
Well, the quote you reference says, "one of the first," doesn't it?
I don't know how to yet. And if this is possible, is it also possible to fix standard assoc arrays?
I thought it was a list of some unqiue interesting websites in 2018 and robotically started dismissing these things until i started getting a little furious when it hit me. Good work, it definitely fooled me.
you could drink so much water that you die, as well. but... should we carefully note this every time someone says to drink a lot of water?
https://pqcrypto.org/
Firefox 63 blocks tracking cookies, offers a VPN when you need one
Alex Stamos: Asking tech companies to police hate speech is “a dangerous path”
Apple’s CEO Tim Cook to endorse GDPR in major privacy speech
The Economist published a remarkable chart last year that shows 1200 years of cherry blossom data: https://www.economist.com/graphic-detail/2017/04/07/japans-c...
Are neo-marxists not marxists? I talk with actual marxists and not a single one has used this terminology, so this really smells like something made up just so claims like the above can be made. It doesn't seem like a good-faith attempt to understand the positions of the "neo-Marxist professors." In my read of Jordan Peterson's stuff, there's a lot of that going on: claiming misconstrued context or playing semantic games to avoid the heart of the matter that his point of view is just not substantiated.

The video is short, it's good to hear alternative opinions that challenge your own.

Its good to hear alternative opinions that are well formed, even-keeled, and evidenced. To use an extreme example, I do not need to hear an opinion about how the Earth is flat or maybe white nationalism would be a good thing. Right of the bat, I'm told that these "neo-Marxist" professors are dangerous and encouraged to enter a moral panic about nihilism being taught to kids. That doesn't seem like its going to be a good and informative argument.
I am using the new UI, and I haven't found it to be particularly slow. I like it, primarily for the ability to snooze. I wouldn't switch back to the classic version, although they took away that menu option for me a week or so ago so it's not like I could anyway.

I too use Proton Mail, but I still have to use my Gmail and Google account for various things I don't have control over.
"Translate this page" is missing.
Go for Stephen RC Hicks. He's Peterson source, it would seem, into the postmodernism philosophy, and does a much better job at explaining it IMHO.

https://youtu.be/pKMwJo9DHUQ
A quick look at condos for sale in Taipei show that they can be had for less than $150k. I know they're not in desirable areas, but note that literally the cheapest condo in all of SF right now is a studio at about $300k, only available to low income earners.
Good grief. I didn't last more than 6 clicks or so. This is in the "so real it hurts" category.

The only thing you've got wrong is page load time and overall responsiveness. This needs at least a couple more MB of JS.

Good work.
Don Norman and Bruce Tognazzini (an original Apple HIG author) wrote a great article about this a few years ago. Here's the excerpt describing discoverability:

"Today’s devices lack discoverability: There is no way to discover what operations are possible just by looking at the screen. Do you swipe left or right, up or down, with one finger, two, or even as many as five? Do you swipe or tap, and if you tap is it a single tap or double? Is that text on the screen really text or is it a critically important button disguised as text? So often, the user has to try touching everything on the screen just to find out what are actually touchable objects"

Article here: https://www.fastcompany.com/3053406/how-apple-is-giving-desi...
Please don't single out the worst thing in an article to respond to, especially when it leads to a generic flamewar tangent. All those do is suck oxygen away from anything interesting and specific in the thread.

https://news.ycombinator.com/newsguidelines.html
Signal Desktop Leaves Message Decryption Key in Plain Sight
North Texas. I'm pretty far from the EU, and I ordered my phone through Project Fi.
Amazon's move off Oracle caused Prime Day outage in one of its warehouses
Everything on that site is sensational conspiracy theories and hoaxes. "Sailors fused to ship during electro-magnetic invisibility test", "Secret Alien Bases Found on Moon Using Google Earth"

That site is trash and isn't shouldn't be considered news.
Are you really talking about the EIP?
Stress-induced-flowering is well known - for example, https://www.canr.msu.edu/news/why_are_my_apples_blooming_in_...

In what appears to be the source article: https://www3.nhk.or.jp/nhkworld/en/news/20181018_04/ the arborist clarifies, "this year trees have lost their leaves, stripped off by violent winds or left to wither from salt exposure."

Assuming it's because of global warming simply because it's an unusual environmental occurrence seems to be a popular pattern. Several news sources extrapolate to that as well, along with references to the pattern of earlier spring blooming in DC and Kyoto (more likely attributable to the urban heat island effect, as it started well before CO2-induced warming would have been significant).
> Not knowing how to get a lawyer or accountant is not a good excuse for not consulting one.

Lawyers and accountants industries are whole mess on its own. When you come to lawyer/accountant, he is really interested to charge you as much as he can, which creates a lot of conflicts of interests, and whatever he is saying to you can't really harm him.

One has to take calculated risks, and do research on his own to not be screwed by lawyers/accountants.
> I'd like to see the actual "contracts" behind these tokens.

https://github.com/centrehq/centre-tokens and https://github.com/paxosglobal/pax-contracts give you some idea. There is obviously an external system minting and burning these tokens.
I just wanna say, I clicked through to the comments expecting this to be a diatribe against christians and christianity, and I am thoroughly pleased to see that's not the case.

As a (struggling with faith) christian, I tend to think my fellow tech heads will mock me if it comes up. And yet this post has been really respectful, largely just debating the merits of the article rather than as an opportunity to attack.

Kudos, hackers, for proving civility still exists. I'm tickled pink.
The number one problem with quantum teleportation is the name. It should have been named quantum telegraphy. There would be fewer cranks.
Nintendo most assuredly did not implement USB-PD correctly.

At a minimum, the Switch 1) enters the proprietary AltMode before even querying the attached charger/dock to see if it supports it
2) tries DR_SWAP even after the dock says that it doesn't have dual role capability
3) always requests 0.5A before requesting full amperage, causing problems with to-spec SRC_CAP readvertisements
4) does not properly use the CAP_MISMATCH flag required by the USB-PD spec,
5) the dock violates Power Rules compliance by not passing through the entire USB-PD advertisements from the attached charger,
6) the switch and dock both leave excess capacitance on Vbus, but the switch is a dual role power device, causing problems with safe and compliant hardware that correctly checks for 0V before swapping power,
7) far from being oversupplied by poor chargers, the switch hogs the entire 3.0A from the adapter when its maximum draw should be 2.6A
8) as noted in your twitter link, the switch PSU and dock hard-crash and require a power cycle to start working again, whereas correct, compliant behavior would be to negotiate a 5V/0.1A error signal, etc etc etc.

Source: https://plus.google.com/102612254593917101378/posts/2CUPZ5yV...
I have a 6S that, while it's running fine, I would like to upgrade for a better camera. But, I want to keep the same size. So, my options are to get a year old 8 or a XS. The XR and XS Max are too large. I really don't want to spend $1000 on a phone. That's absurd to me. I'll probably end up waiting another year.

I've ruled out Android out of personal preference. Not an endorsement of iOS or a condemnation of Android. Just preference.
Making everyone implement a cookies popup is the most idiotic internet-related piece of legislation I've ever seen.
Shaper Origin
Goodbye Horovod, Hello TensorFlow CollectiveAllReduce
Too real! The chat popup is missing? Or I couldn‘t find it
>In my life I've always been involved with free software, patent and copyright law fights

In some sense, you're probably living in a bit of a bubble because this is a topic that you're passionate about.

I don't necessarily mean this in a bad way. For example, my partner spends her free time involvewith animal welfare, recycling, composting, minimalism, zero waste fights. She'd probably wonder why you don't care about these topics -- yet I'm sure YOU wouldn't say you don't about them, but you probably don't have the same level of passion she does.

To her, using a physical key isn't necessary to have good security. Passwords are "good enough". To you, buying bamboo toothbrushes is probably not necessary to minimize waste. Recycling cardboard boxes is "good enough".

That doesn't mean anyone is necessarily wrong, you just have different sets of priorities.
I would have greatly appreciated this bridge being open when I stayed in Macau for a few days and had to fly home out of Hong Kong. There was a lot of overhead time with the ferry -- even with the Skypier transfer (and ferries to the airport do not run every 15 minutes). We left our hotel at noon for a 6:15pm flight.
Scrolljacking is so 2016.
> find out from a Google Alert

Does this mean there was an article or something online before you were contacted about the lawsuit?
Your logic allows me to lock up all hardware in an Applesqe way and get praised for my altruism as I pocket hundreds of millions in extra peripheral sales.

The world has gotten this far with standards that allow equipment from different manufacturers to function together in a system. What a shame if marketing people and greed destroys that ecosystem.
This seems something apple like. I think Google is pretty evil now. The company needs to be replaced.
Considering the mere existence of a child to be a "luxury" is fundamentally bad for society.
It does! Thank you!
I look forward to trying this out. I tend to share your opinion that social media is full of junk, but every once in a while you learn something new and interesting. If your app can help separate the wheat from the chaff then I think there will be plenty of interest.
Mail it.

And if you're going to split hairs by saying DHL, USPS, and FedEx are considered third parties, then so are Comcast, Verizon, and other ISPs who provide you the means to transact.
Don't worry, you're still young. It's important to save and live below your means. I'm sure his divorce didn't help, but I was surprised to read how quickly he became broke.
>For a few shining years, you could basically charge any device with a micro-USB cord.

thanks to the EU regulation which enforced it when proliferation of custom chargers became unbearable.

I wonder how that Google's charger lock-up will work in EU given the regulation. Or may be Google does this only in US?
Since pretty much every engineer under the sun knows this experience sucks, how can we attribute this to anything other than the rise of MBAs running the show?
That’s not the most efficient heuristic, however. The best predictor before people crash is a motion of one trying to keep their eyes open, basically with their face opening up.

Source: I know people working on automated machinery to detect this in pilots.
The article says USDC is an ERC20 coin, which means you can keep it in your own wallet (i.e., not the exchange). You are still trusting the centre consortium to maintain the coins value.
> EDIT: just to be clear I'm very skeptical there are only two kinds of technical debt...

The author acknowledges this in the article:

"Of course, there are more than two types of tech debt, but I think the two we talk about here cover a lot of ground."