skysight-inc/HackerNews huggingface dataset:
Paper bag... Not always. Coffeebox deliver it in a giant cardboard gift box surrounded by reflective thermal bubble wrap. Felt like I was paying more for the packaging than the coffee... Luckin I suppose do go for the paper bag and pay a fortune for immediate delivery to ShunFeng.
The joys of VC funded coffee businesses I suppose...
Google promises to play nice with ad blockers (again)
I don't really agree with the "Chrome is the new IE" sentiment. They participate in the Web Standards process the same as anyone else. That their voice has different gravity in the process due to the fact that they are often the ones pushing the standards forward isn't something they should be compared to IE for. Devs old enough to recall the halcyon days of IE know it was quite different...
I'll look at all of these resources, thank you for sharing!
How to Build Your Email List Fast (Strategies Working for Me)
WhatsApp, Facebook, Gmail etc were all working fine without issue yesterday. The local TV stations were all livestreaming on Facebook and I set up a monitor with Chromecast in the office for my colleagues to keep up to date throughout the day.

Hong Kong isn't inside the GFW.
And it’s already outlawed over cities in Japan.
> Sharon Jones

Amazing woman, I was lucky enough to meet her a few years ago. Charles Bradley is gone too, they both made some awesome music up to the very end. I didnt know they were on bandcamp, thanks for that.
Ask HN: Best Way to Learn Ruby on Rails?
Looking to learn and get up to speed quickly, I did the onemonth course previously however I am now looking to build a specific project.

What are the best videos, books or tutorials out there

Thanks
I thought that some French tech support/engineers from the company building the missiles stayed in Argentina to continue their job. Same with the French people supporting the French-made airplanes.

Edit: even if France supported the UK during the war, preventing the delivery of more exocet missiles and providing information on the missiles and airplanes to the UK.

Edit 2: Apparently it was an oversight, the French team in Argentina was never told to stop working. Also I guess the missile builder might have been happy to have a live fire demonstration of his products
So binary search is not logn time because it only reads logn values from the input? To know which parts are not read you basically have to run the algorithm. I find your definition unhelpful.
Ask HN: Bootstrapped Mobile businesses
I am looking for successful bootstrapped app businesses. I’ve been able to find the likes of Freeletics (recently acquired by PE, $60m p/a rev, bootstrapped) and a handful of fitness apps. There’s a couple of indie game developers, but was looking for small/medium sized operations that have been bootstrapped and are mobile first.

Do you know any?
Remodel, the Python ODM for RethinkDB, Supports the Latest Python and RethinkDB
This brings back many a bad (and hilarious) memory of Chat Roulette.
I've been to China a couple of times and ExpressVPN works most of the time for me. However the most reliable way to have a decent connection was Algo VPN deployed to AWS. It was far superior both in terms of reliability and in terms of speed.
It's against the law in many places in the US as well, but I've never heard of it enforced. I'm sure most people would rather have drunks on bikes than cars.
I am not sure that's the case. Children are very good at putting things into categories. If you give them a list of things that are right and things that are wrong, they will certainly remember it in the same way that they memorize the names of the trains on Thomas, but I'm not sure that the category "right" and "wrong" has any particular meaning to them. It takes quite a while for them to develop what is a rather sophisticated concept that many adults struggle with.

In any case, even if they are aware that something is 'right' or 'wrong', I don't think that doing something that we've defined as wrong for them deserves 'punishment' in the way that you would punish an adult who has a fuller understanding of actions and consequences.
China is a threat to US economic supremacy. And now they want to become independent from US technology etc... the US doesn’t see it that way.

Saudi Arabia and the other Gulf states are vassals of the US.

Not exactly the same level of threat if you ask me
There's a difference between now and the 90s/00s. And its worse now.

At least Microsoft's overarching goal was just to get developers to use their platform, by making their platform as useful as possible (even if many of the changes were ultimately misguided).

With Google, there's some of this, but there's also some very clear "we're an ads company and we want the ad experience on Chrome to favor us as much as possible, without regard for the user."
Ebola outbreak spreads across DRC border, infected 5-year-old in Uganda
Hi,

Thanks for the references. The GECCO paper on compressed network search has been a big influence on previous projects I worked on, see:

https://news.ycombinator.com/item?id=16694153

https://news.ycombinator.com/item?id=14883694

it’s a small community!
Also:

* Better to maintain a "allowed list" VS an "off-limits list" when setting boundaries. 1) The latter is simply not doable and everything you missed legitimately becomes allowed. 2) When in doubt your kid can come to you and ask if something is on the allowed list (something that doesn't make sense with an off-limits list).

* Try not to say "no!". Approach things positively. Better to ask "What are seats made for?" as opposed to "Don't stand on the seats!". When your kid is curious about something that's not allowed say: "This is not made for playing but we can have a look together."

* Timeouts may not work. But you can always cancel the activities with bad behavior.

It basically boils down to teaching a "why yes?" attitude VS "why not?". Make your kid think about what makes sense as opposed to trying out nonsensical things (like coloring the walls etc).
edit: Fixed! I was still able to edit it.
The solution to both your problems is the same: advertising your product (either that financial widget or yourself).

If you learnt to advertise yourself effectively, getting a job as a self taught developer should be a breeze.

Conversely, if you learnt to advertise your financial widget so that it paid you a full-time salary, you could effectively hire yourself and continue building more products.
- Save is "save my (editable) session"

- Export is "save the output of my work to a file (which may or may not be import-able afterward)"

So yes, you are right that both of them essentially translate to "save", but they're very different types of saving with different expectations.

The distinction here is that the primary "Save" should be reversible, and should never involve data loss. The 2.6 workflow was actually "dangerous" for this reason.
If you went to the coffee shop yourself, it would probably be on your own electric scooter anyway. And you'd take your coffee away in the same paper cup.
The F111 was designed as an Air Force aircraft. period.

They later built two prototypes to test for the Navy, decided a common airframe wasn't going to work, and built the F14 using the lessons learned from that development effort instead.

The three variant JSFs are essentially three separate aircraft run by one program office.

The USAF and USN used a common aircraft in Vietnam to great effect -- the F4.

The JSF per aircraft cost is going to be less than the F18 by the time the program is finished.
That was decades before the 1990s? Here’s a good article about the 1990s - https://www.nybooks.com/daily/2014/09/02/dying-russians/
Anybody who was in a major Russian city in the 90s for instance, like myself and my family.

Parent post is accurate to a disturbing degree.
> the third most common reason given was an “unfavorable atmosphere” in the workplace. The top reason was staff shortages and the second most common reason was that their company did not offer it.

If the company doesn't offer it, then they don't have a choice.

If they're short-staffed, that's (most likely) an atmosphere the company has created to keep labor costs low.

So the #2 reason shouldn't even be on the list, and #1 is essentially the same as #3. In other words, "unfavorable atmosphere" is the #1 reason for choosing not to take available paternity leave. This is no different from American companies that offer "unlimited" vacation time but create a toxic work culture where everyone feels guilty for using it.
If you want outside-of-your-home things to reach dynamically assigned public IP space then DDNS is your only option (there are public servers you can use if you're willing to make that trade as well).

If you just want your local stuff to have public IPv6 outbound and static IPv6 inside your home then you can just multinet. That is add a static private IPv6 to the same interface you get your public IPv6 via SLAAC.
This is pretty self-evident if one actually attends any collective meeting of serious writers who have actually published(for money paid by people who are not immediate friends/family) or intend to publish. It's similar to why hackathons are so productive. Being within your peer group and talking shop with people who meet one's own passion is incredibly rewarding regardless of experience level or background- people who are knowledgeable are listened to with fascination, and people who are less experienced more than welcome the lecturing!
Not only is he not a journalist, he actively encouraged others to steal and disseminate classified information. That is a crime in this country and most, if not all, other countries I would imagine.

Having a website doesn't make you a journalist. Calling yourself a journalist didn't make it so. Courts will have to decide that I suppose.
Show HN: I made a chrome extension to bypass paywalls through archived versions
Not sure of your country but it's extremely simple in the UK.

Here's what I did in the UK.

1. Create company for £15 on government website

2. Get bank account in company name, applied online, took 20 minutes. I had card and everything within a week.

3. Enrol for tax on government website (optional in UK if your company turnover is less than £80k). Bit confusing, but accountant can help and only takes 1/2 hour at most

4. Start selling subs to my app, stripe integration

There are some admin tasks I have to do regularly:

1. Monthly, keep on top of accounts. I use an app, QuickBooks online. But I've previously used a spreadsheet for my consultancy company as there were only a handful of invoices and expenses each month

2. Every 3 months. Submit VAT returns and pay government tax. Takes 1/2 hour

5. File accounts yearly. Accountant will do this for £400 per year or you can do it yourself (half days work, but confusing)

6. File confirmation statement yearly (UK company thing, confirms who the shareholders are and the share composition). Costs £18, takes 10 mins

To break it down:

- Incorporate company

- Get bank account

- Register for taxes

- Make sure you do your admin

You might find you need to get certain things certified when providing ID, our Post Office does that. There's other little things I'm skipping over, like some people prefer not to use their home address and setup a virtual office, etc, but generally it's pretty simple.
That’s “jump to definition” announced just the other day and rolling out to some public repos for now.

https://github.blog/changelog/2019-06-11-jump-to-definition-...
>Nobody is arresting you because you're a transgender woman.

This is just false. Even in 2019.

Prison abolition is a thing. We can do better, but it requires more humanity than your comment displays.
I'm curious what the specific difference is between the people of Hong Kong and the people of America, that permits the people of Hong Kong to protest authoritarianism.

Ostensibly, the Americans have just as much to protest with their current president and even previous authoritarian tendencies. Yet they rarely march in the Millions.
> a basket with soap and socks

Does this have some cultural significance? It a symbolic snub of some kind?

The speaker in the video says that they sent him this care package and then pauses and stares into space like it's the most obviously terrible thing they could have done and needs no further comment.

I don't get it?
> A simple example of constant-time within this definition, as well as why constant-time does not mean O(1) in this context, is that of a comparator:

This is incorrect. The paper explicitly uses "constant time" in the sense of O(1). You can see this listed throughout the paper, in various complexity analyses, beginning from Section 2.
Cmon cmon, in nyc people have been calling the bodega to order anything and everything for decades, including single cups of tea.
PS: I still haven't really figured out how to make the .crx file installable on chrome...
I find it interesting that part of the reasoning for the <toast> is this:

"Many libraries in a variety of frameworks implement a version of toast (see research), but the web has no built-in API to address the use case." [1]

One thing I would love to see as a browser handled web standard is the cookie notice and gdpr opt-in for a given web page. Every European site has a requirement to include that if they use cookies or ask for personal data, but there is no method of making it a web experience across the web.

Unless I can do this of course:

<toast>
<button>Accept cookies</button>
</toast>

[1] https://github.com/jackbsteinberg/std-toast
It tells you that your data is corrupted, which gives you options on dealing with the situation.

> If your application can deal with data loss it can deal with bit flips too.

No, it may not. The file may mostly be okay except for a place where a single bit flip causes the value to go from positive to negative:

* https://en.wikipedia.org/wiki/Signed_number_representations

Hardware not-handling bit flips is a documented phenomenon per my citations above. It does cause issues further up the stack. FS-level checksumming gives people the option to at least detect these errors, and depending on the situation, also perhaps fix them.
Thanks! I will try out Algo VPN. I had no idea AWS works in China.
The point of being above the law isn't about legal standards - power corrupts and the nominal protection without anything to back it is meaningless.

The only literal solution to that would be a daft concept of a nation-state of journalists with nuclear arms to give diplomatic immunity. Technically possible but a throughly daft idea that would create its own nation-state to corrupt.

Journalist legal immunity would be problematic in how it is defined as it could be used as a cudgel to restrict it to those who "play ball".

I suspect that an affirmative defense being recognized would probably be the best. So "broke into the Pentagon and published information on blacksites" would be protected but not "got drunk, beat spouse, then hit someone with your car". Even that is flawed as the judge could discard it or it could be given to cronies - plus again not an absolute defense against malfeasance. Said ideals are in short supply. Journalists would ideally be ethereal immortals - unable to be caged, killed, or silenced but we don't live in such a place.

The point for now is to see what was shown, ignore the "but that is illegal" and pay attention to the truth to use it to guide your decisions in a complicated world.
My Newtonian physics courses taught projectile motion without really getting into the weeds on how to calculate air resistance. Given how complicated that can be and the much greater sophistication of mathematics involved, I think this is a reasonable choice. I don't think anybody walked out of those lectures believing that air resistance doesn't exist.

Models, in my obviously limited experience, have the potential to be incredibly useful instructional tools. You can start with the unrealistic assumptions that are literally never true to get the basic points across, and then bring it stepwise closer to reality from them.

Starting people off with the fluid dynamics to calculate air resistance reasonably accurately in projectile motion seems like it might make teaching Newtonian physics almost intractably difficult. On top of requiring a much more advanced understanding of mathematics than one can universally assume a college freshman is possessed of.
> Isn't that something that ultimately the courts will have to decide?

Why would they need to decide that?

Are there laws which only apply to journalists, or don't apply to journalists?
Uganda is home to a large regional hub for UN logistics, a state-of-the-art CDC infectious disease laboratory, and similar outposts--presumably due to Uganda's relative stability over the past few decades and strategic proximity to several less-stable neighbors.
That's fine if you're just worried about visual representation. But when you want to provide semantic meaning—for the visually impaired, search engine bots, and other non-traditional users—you want to convey more meaning than a div or span alone.

Of course, there are other ways (such as ARIA attributes) to accomplish this.
They have a very clear view of what lies at the bottom of the slippery slope.
What about Sherlog

Sherlock Holmes + Your Log fingerprints
Police brutality is pure shit and has to be internally investigated and transparently resolved.

However, I dislike the current biased image and video reporting on Hong Kong protests. I understand that this plays perfectly into the current anti-China narrative, but we should be aware that such things are never one-sided and simple.

There is a lot of shit going on from both sides: police and violent protesters. To make a balance to the highly inacceptable police behaviour, please also find footage speaking against violent protesters:

Protestors "arming up": https://i.redd.it/faobvwh4qx331.jpg

Protestors beating up a police man: https://www.reddit.com/r/HongKong/comments/bzza2h/peaceful_p...

The moment when it escalated (the protestors goal was to storm the building, police was behaving in a de-escalative way by withdrawing, while being attacked by objects thrown into the police lines): https://www.twitch.tv/videos/437882587?t=03h05m00s

Coverage of protestors behaving aggressively: https://www.youtube.com/watch?v=ZQfOfIAexzw&feature=youtu.be

Again, all this does NOT excuse any tit for toe police brutality attack. But I am a believer of fair and balanced reporting and I want to see both sides.
NTennah's Weekly React Newsletter
Yes I tried recently and it seemed impossible without a bank account. You can link a foreign card but not actually use it for normal payments. You may be able to use it only on tabao or something. WeChat pay is not usable at all without a Chinese bank card.
I don't think he ever had any "journalistic bona fides" to begin with.
> That would have mattered only if the same conditions applied (e.g. extinction threat otherwise)

Exactly the point I'm making. Humans don't face extinction if we stop eating animal products, so comparing us to lions is not a valid argument for why we should eat meat.
Maybe not. Maybe in Denmark you have tasty heirloom varieties. Here in North America, most of the potatoes you see in the store are white, waxy, starchy, and bland. If you're not going to fry them then you usually need copious amounts of butter and salt.

Having said that, have you tried your potatoes completely plain (no fat or salt)?
> Isn't IT something from the past?

No.

> I would expect people knowing how to use a computer and what they need to do their job.

Yes, but their job generally isn't maintaining the computer or it's supporting infrastructure (networks, shared servers, etc.) or, outside of dedicated programmers, programming the computer even as an incidental task. IT exists to do (or coordinate contracting out for) those things, and the last point—restricting programming to dedicated programmers, has pretty much monotonically increased since the 1980s, when incidental programming was both more common than now and frequently projected to become increasingly common (lots of people said all good jobs would require some.)
The only way that would be true is if they dropped tanks. If they had to drop tanks, they were already in a situation where the A-10 would have to turn around and go home without even attempting a run.
If I had to guess it's something (socks) you might give to a homeless person.
This Hong Kong situation is based on abdication of their human rights to a government guilty of the most egregious democide in history.

The USA has a politically incorrect orange man in the White House who gets offended easily.

Not sure how you draw parallels here but happy to understand better.
It's still not possible. If you have a foreigner WeChat account it's possible to enable the pay feature, but not possible to sign up for it without a Chinese bank card.
> Skylake-X L3 latency is ~20ns. So if you build an SPSC queue between them

The latency is mostly about initial cache misses. There is no reason to take the time to write out a buffer of samples to memory, only to have another CPU access them with a cache miss. One of many things things you are missing here is prefetching. Instructions will be heavily prefetched as will samples when accessesed in any sort of linear fashion.

Also you can't explicit use caches or send data between them, that is going to be up to the CPU, and it will use the whole cache heirarchy.

> You take an absolutist view

Everything dealing with performance needs to be measured, but I have a good idea of how things work so I know what to prioritize and try first. Architecture is really the key to these things and in my replies I've illustrated why.

> Maybe I know about high performance code, maybe I don't

It sounds like you have read enough, but haven't necessarily gone through lots of optimizations and recitified what you know with the results of profiling. Understanding modern CPUs is good for understanding why results happen, but less so for estimating exactly what the results will be when going in blind.

> maybe you do, maybe you don't

I've got a decent handle on it at this point.
I think Didi does accept international visa cards.

> despite over an hour of experimenting with the apps.

You can link some HK and South African credit cards
One issue I have with rolling out a new form of encryption to replace the current Gopher protocol is that old clients will become obsolete and less useful.

Even if an encryption algorithm is decided on and widely adopted, clients will need to be updated to use it, meaning compatibility for older clients (which happens to be one of Gopher's core strengths, try surfing the modern web on NCSA Mosaic for a day) will be tarnished.

As it stands, I can use Gopher comfortably on Mac OS 9 with Cyberdog, Windows 95 with WSGopher32, old Java-based phones, and apparently on the Commodore 64, but yet also a high-speed broadband connection on my PC and Android phone. Trying to enforce some security standard on the entirety of Gopherspace will mean the earlier hardware will be more obsolete than they're already considered to be.
Alexa's take on “active learning”, or automatically selecting ML training data
POTUS needs to cite national security as is how he is able to unilaterally place those tariffs without congress. Furthermore natsec threats doesn't mean that a partner is not trustworthy. Australia is one of America's longest standing and most dependable ally. If the US were to use Australia as it's primary rare earth mineral supplier a perfectly valid argument could be made that in the event of a global war an adversary could disrupt trade between the US and Australia. Thus there would be a national security threat.
> I cannot think of any algorithms with arbitrary sized inputs that have truly constant execution time.

With respect, I think you may misunderstand the meaning of "constant time" in the sense of complexity theory, i.e. O(1). Accessing an element in an array of size n is a constant time operation. See: https://stackoverflow.com/questions/7297916/why-does-accessi...

EDIT: Corrected "search" to "access"