skysight-inc/HackerNews huggingface dataset:
The solution to that may be to separate the hosting from the discovery.

If the hosting is anonymous and censorship-resistant then you'll get every type of content, but for anybody to use it they would first have to find it.

Then you have a slew of independent discoverability portals. Some are created for child pornography, so the FBI hacks into them and then uses them to arrest everybody there. Others are created to replace Tumblr and YouTube and refuse to link to child pornography, so child pornographers have no reason to go there and the people disgusted by child pornography can safely use them.

But setting up a discoverability portal is a lot less expensive than setting up a hosting service (because a link uses much less bandwidth than high quality video), so there should be more competition, and in particular it should still be difficult to censor anything that has more than a modest amount of popular support.
What is a subsequence then? I thought you are looking for words that show up in the long string. I visualize sliding each word across the string until it lines up with the same characters.
Why the quickest route to happiness may be to do nothing
Is withgoogle.com a new subset of educational resources from google? Going directly to withgoogle.com just redirects me to google.com. My first instinct was suspicion when I saw the link.
I've been using enforce for this purpose (https://github.com/RussBaz/enforce). It provides decorators that enable type checking where wanted. This gives the advantage of migrating existing code to type checking at your own pace at least.

On a general note I've come across a few cases, when pushing python's type annotations to their limits, that force you to put the type names in string quotes, and that makes the whole thing feel like a hack.
It's better than nothing for my use cases, but if I remember correctly both mypy and enforce have problems in common that are probably coming from the way python itself is built, such as self reference in a class definition.
> But who buys a 100,000 dollar car with the idea of saving some hundreds of dollars per year in maintenance costs anyway?

Reliability saves on time cost and uncertainty, as well as monetary costs.
It absolutely would be: why were black people ready to believe such negative narratives about their homeland?

The narratives black people were targeted by are untrue memes that play to their racial fantasies.

Admitting that’s how the black community was compromised — that they were racists against their home — would be extremely uncomfortable for the NAACP.
What is a goods-in? Google doesn't show anything that makes sense in this context.

At work, there are people who work at the shipping department and then deliver the packages to people's desks. AFAIK they are paid to do this job and seem somewhat peppy compared to other similar staff in the company.
Yeah, the fact that Mono is inheriting all BCL code from .NETCore nowadays, but is still not .NETCore (because it has its own runtime) is a bit confusing.

That being said, the best/easiest way to use .NET in the Mac is just install "Visual Studio for Mac" (the Community edition is completely free), which will under the hood install all you need (Mono, .NET Core, etc).
> how do I get started writing my app to target the Librem 5?

For commandline applications all you need is to develop for GNU/Linux. It should work pretty fine on Librem 5 too. If you want to develop GUI applications see libhandy[0], a GTK+ widget library developed by Purism for Librem 5.

If you need to, you can get motivations from https://gitlab.gnome.org/Teams/Design/app-mockups and HIG guide for GNOME is available at https://developer.gnome.org/hig/stable/

[0] https://source.puri.sm/Librem5/libhandy
exactly. it's like money laudering, only for bad anecdotal information, or conspiracy theories. I'd sooner invoke Hanlon's razor than a single div tag that Edge's hardware acceleration should have been robust enough to handle anyway.
It's old, it's clunky, but it does just work most of the time.
Doesn't Kad require an initial bootstrap node? How do you find it?
Exactly what the two words together mean — perhaps understand English before asking rhetorical questions?
What would you consider foundational?
Somewhere recently I saw a tetris variant that, in addition to normal play, allowed for competitive play, where your opponent selects the blocks. There was an option for playing against an AI, which seems very similar to this. I wish I could remember what the name of it was.
I originally ordered two with the Quiet Click switches, but when my first one arrived I wasn't that taken with them, so I asked Jesse to change my second one to the Click switches. But those were even worse; some of the keys were sticky. There was eventually an update from Keyboardio (https://www.kickstarter.com/projects/keyboardio/the-model-01...) about the problems with the Click switches, but before that came out, I decided to try converting the Click keyboard to the Quiet Linear switches, as described by someone on the forum. I do like the Quiet Linear better; I think they're almost as good as anything else. However, I have also noticed that I dislike the Quiet Click less than I originally did; I think they've loosened up a bit with use. (The problem I had with them was that there was a bit of friction in the travel; not enough to make the key stick, but enough to make them less pleasant to type on.)
I haven't read the article in depth, but the authors example is written according to SOLID principles where composition is decoupled via interfaces and dependency injection. I think the author is trying to show the difference between highly decoupled code examples in c# and f#. In f# you compose with functions, in c# you compose with object instances.
I think that may indeed be a problem, but I'd like to hope it isn't one. I think non-translatable social controls are too mysterious and arbitrary which leads to the ability for various social biases to be unaddressable. Ideally codifying these social controls into monetary penalties should allow easy verification of the fairness of the system and comprehensibility of the system to individuals who are not already well versed in the system.
There's a good example with explanation here

https://fsharpforfunandprofit.com/posts/designing-for-correc...
And this is why censorship is the future of the internet. If you run an online service and don't censor, you become a wretched hive of scum and villainy. Exhibit A: USENET. Exhibit B: Freenet.
The subsequences of a string X are any strings Y such that Y is X with zero or more characters dropped, with the condition that the original characters of X must remain in the same order. As an example, the string "help" has 16 subsequences: ["", "h", "e", "l", "p", "he", "hl", "hp", "el", "ep", "lp", "hel", "hep", "hlp", "elp", "help"]. Note that the set of subsequences are isomorphic to the power set (assuming repeated characters are unique), so for a string with n unique characters, there are 2^n subsequences.
For anyone not in $DEFAULT hemisphere, I'm assuming this means Q2/March-ish 2019.
RevealJS - https://revealjs.com/

Your whole presentation is basically an HTML file - a <section> for each slide. CSS and JS can be used as like on a normal webpage to provide styling and effects.

It can be edited and run on any computer and operating system - just needs a text editor and browser.

It's responsive - no need to worry about aspect ratio.

It has speaker notes too!
Are coal mines hot like deep metal mines? In The Deep Dark [0], it started that many of the miners skimped on safety devices even when available because of the extreme temperature and humidity if nothing else.

[0]: https://www.amazon.com/gp/product/0307238776/ref=oh_aui_sear...
Spam calls jumped over 300% in 2018
Has anyone who pre-ordered the cancelled Librem 11 from Purism got their refund?

I put money down more than a year ago. They didn't meet their MoQ, and so offered refunds or applying it to another product. I chose a refund almost two months ago, and I still have not received it despite many follow ups and shifting deadlines.

I'm concerned that Purism may be having cash flow issues?
Ah that old excuse! Maybe she just wanted to talk to you
Yeah, I’m aware you can pin versions in a requirements.txt, but does that also pin those packages dependencies? For example, if I had two pinned packages (A, B) and they both depend on package C, what happens if A updates to depend on a higher version of C that contains changes that break package B? Can you pessimistically (Gemfile ~>, or NPM ^) pin versions, or are you only limited to just equals X and the greater/less than operators?

Now that I’ve wrote that out, I’m wondering if packages can even pin their deps required versions. I’ve only published one python package years ago, and I can’t remember if that’s possible. Which I shouldn’t have to even worry about in a modern package management system.

I know the above example wouldn’t be possible in any of the systems I mentioned above, because the aside from installing packages, they ensure that the versions of every package are compatible. That’s why lockfiles are so important, assuming you’re downloading decent packages, the package manager can assure you that they’re all going to work together, also allowing you to update without having to worry about some random deeply nested dep isn’t going to break some other package when it gets updated, making updating (usually) a breeze.

In pips current state, it seems more or less like a slightly more strict NPM before yarn made them get their shit together (still vastly prefer yarn). The only difference is your packages are wherever Venv puts them instead in a “pip_modules” folder in the project, which is at least better than a global free-for-all. Though, that also might be less of a headache than dealing with Venv, I hope it’s gotten better since I’ve used it, because that was always such an annoyance.
Okay gotcha. So for each word in the length-sorted set, walk the string "picking up" characters as you go. If you complete the word, that's your answer.

I'm sure there's a faster or more mathematical answer. But that would be my napkin python.

(Edits made)
Does that mean companies shouldn't trust Australians?
>currently I'm building a distributed collaboration system with event sourced data in Microsoft Orleans

I know it's easy and fun to use frameworks that abstract all the gory low-level details (the equivalent of calling a built-in sort function on a list of numbers), but somebody has to write those frameworks at some point. Don't get me wrong, I'm certainly impressed with the work that the Orleans team did and it would be great to read a write-up on the design of this framework. I suspect a write up on your 'distributed collaboration system with event sourced data in Microsoft Orleans' would be less interesting because the best part would read 'and here I used Orleans to do all the hard parts'.
Attended a "Papers we Love" presentation on this paper last year.
And unlike Google Slides, it can be run without requiring an Internet connection. No need for proprietary platforms or installation of software.
Try to “charge” people in any other resource, and they’ll just convert the extra profits they make from the operation into that currency and then pay you in it.

For example: stores that require people to wait in line to get a limited-availability thing on a first-come-first-served basis. Rich people just pay someone to wait in line for them. Entrepreneurs serve these rich people by putting a bunch of people in the line and then auctioning off the resulting purchases to make a profit. Now you’ve got scalpers, a loss of profits to middlemen that could have gone to the original seller (and thus subsidized production), and people wasting time in lines for no reason (because nobody is now getting the thing that wasn’t previously.)

We internalize externalities using monetary penalties, because higher profits are what drive businesses to favor these strategies in the first place. If you cancel out the profit (with a tax or fine), you remove the motive, rather than simply redirecting it.
The point isn’t to build something new, but to learn CS foundations. Being able to think through this type of problem is absolutely worthwhile.
What to Expect When New Horizons Visits 2014 MU69, Ultima Thule
x = lambda y: <code goes here>

def x(y):
<code goes here>

What's so heavyweight? A new line and a tab?
> Not to mention it is guilty of the seemingly undying habit of the left to posit that those in favor of business hold their beliefs solely because it benefits them, and not because they genuinely want what's best for the whole of society.

It's literally the definition of business.
Otherwise they would be charities and non-profits.
"As of Mono 2.0, AOT compilation is only supported for non-generic methods. support for generics is currently under development."
You probably don't need a dict; just a list of candidates. And you should clarify that you should sort your list by reversed word length and keep another list of indexes into each word.

EDIT: You shouldn't sort the list beforehand. You should compile the list of matched candidates after walking through the whole string and pick the longest match. (Or just represent the matched candidates in a list of bools). It's possible that your answer only happens to match the last few characters of your haystack, so you must walk the entire length of the haystack.

EDIT2: This solution also makes a bunch of assumptions and you can find a better runtime in certain cases. For example, if you have many more candidates than the length of your haystack, it might be worthwhile to generate all O(2^n) subsequences and store them in a hashmap/bloom filter. Then you can do (almost) O(1) lookups for each word. This would also lend well to a distributed compute approach: you could have k machines sharded in this manner: the first machine computes and stores in your hashmap/bloom filter the first 2^n/k subsequences, the second the second 2^n/k, etc. Then you can either 1) in the case of hashmaps, fan out each request to each machine, succeeding if any machine succeeds or 2) merge the bloom filters on a central machine (assuming the same hash functions and modulus constants) and do O(1) lookups. (Copying hashmaps is O(data stored inside); merging bloom filters is O(bloom filter size).)
App.co, the Universal Dapp Store
Self-Driving Car Drove Me from San Fran to New York, Claims Anthony Levandowski
Non amp link: https://nypost.com/2016/11/11/new-york-times-we-blew-it-on-t...
Was going to comment the same thing. I don't see how or why the journalist could come up with this wrong translation. Maybe we are missing something here.
> Royal Bank of Canada to read, write and delete users’ private messages, and to see all participants on a thread

There's a settlement out there for anyone with a Facebook account who was turned down for a loan by RBC. No chance RBC wants its dirty laundry aired in a Fair Housing suit.
In dotnet land generics are JITted on demand at runtime when you first execute a specific instance of that generic type.

So List<int> doesn't necessarily get JItted even though List<long> has been. This poses a bit of a problem for AOT compilation.

You would essentially have to either

A) Trace all possible execution paths and determine every needed generic instantiation and precompile and ship them all. This ain't easy, and it might be impossible. Also expect massive binaries due to all those types.

B) Bundle a JIT and lazily emit code as needed.

C) No generics?
Can you describe how you were burned by the .NET framework?
I used to be a name-and-shame supporter in the past, but if you think deeply about it you might realise it's a bad move.

Name-and-Shame systems usually relies on unverified complains: One can "identify" the wrong individual or someone can make a fake complain - In both situations someone's reputation will be damaged, sometimes boyond repair.

That's why police should take care of this. They are supposed to be unbiased, run propper investigation and do proper verification. The fact that they don't do that is a different problem.

Before you argue something like "lets verify those complains", Let me put in a different way: If you keep playing the if-that-do-that game, at the end you are going to see that we have basically two options: Live in a system where lots of criminals goes to jail but more inocents gets falsely implicated, or one where we get less false-positives but we also miss some criminals.

Modern society has chosen the second option for a reason.
> that your ability to be selective in that kind of environment only extends to the looks.

Which, as the non-photo portion of the prevailing Swipe-To-Date format shrinks, increasingly describes the problem with dating apps.

Similar problem with Instagram.

The interesting thing is that the success of these apps/media suggests they are how people engage and apparently behave as if they actually want, regardless of whether they might theorize something else would be better in some way.
The lessor known service allows you to deliver to your car's trunk:

https://www.amazon.com/b?ie=UTF8&node=17051031011
It's abilities at killing astronauts are unmatched too... I don't see why people still think positively of the shuttle program after all the lives that were lost. It's like people fawning over how great the Titanic was.
I hear this on Hackernews a lot, one of the myths of our age: "Any halfway decent programmer should be able to just waltz right into their dream job." Must be nice. So what dies that make me, despite all my study and effort?
I think it's worth noting that the problems are such that many solution don't need performance, and then later there are problems that do need performance, and of course those that no matter how much performance you had you have to work another approach entirely.

I was amused watching some people doing day 9 having solved it using a good datastructure and confused why p2 was so simple, vs watching people having no idea about their languages performance for the baked in collections they were using.
I watched this video earlier today, and I've seen other videos where people's packages are stolen off their front porch. One was a super busy street where the porch was at street level and totally open for all to see. My first thought is: Why are you getting packages delivered to your house if this is an issue?

I live in a rural'ish area on a very low traffic street. I still get all my packages delivered to work. All the offices I've worked in have never had a problem with me doing this. My current office is a secure building with a metal detector and armed security. No issues.

If someone's on the road, or out of the office constantly, then have the package held at a UPS or Fedex store. Once UPS, Fedex, or USPS drop that package off on your porch, it's your responsibility.
9 Reasons Python Sucks
Build Numbers for AWS CodeBuild
It was only a few weeks ago that people were arguing that it was anti-competitive for Facebook not to share data with other companies.
Interesting. Let's see what the local "defend FB at all costs" group has to say about this.
Dược sĩ Pasteur hướng dẫn dùng thuốc Sterogyl
Actually you can make it even more concise with an inferred array

var isValidShort = createPasswordPolicy(new [] {
Test.MinimumLength(8),
Test.MustHaveDigits,
Test.MustHaveUppercase,
});
Another PR campain, then the company can brag about "Even Americans buy our cars, what are you worrying about?"

"Sold overseas" is like an honor badge, Chinese really buy it.

US media really should stop this aggressive fearmongering.
Algorithms aren't foundational, in my opinion. Once you understand the syntax of programming, you can start learning about the applications of that syntax, which for 99% of developers rarely ends up in the shape of an explicit algorithm. It's not all bad, debugging is foundational for sure.

I'd place a person's debugging skills, their ability to predict bugs, system design, knowledge of common (applicable) libraries (more so knowing when to use them, not method signatures), and perhaps even ethics above algorithms. Probably many more but there's a couple to start. Having never needed to build my own sorting algorithm in 14 years of coding, I'm pretty confident I don't need an engineer who can do that, either.
Pretty sad. That’s what killed my grandfather back in the 1950s while my mother was a child. Can’t belie its still happening 60 years later.
> The company says the move comes in recognition of the fact that Twitter is often most useful in real time, particularly during live events such as sports games or the Oscars.

It took those idiots 4 years to admit that, wow.

I know there are perverse incentives at play in favour of the bullshit “algorithmic” feed (you can’t tell when you reach the end, so you end up spending more time on the app and more “engagement” for the bean counters) but in case of Twitter the real-time nature of it is literally the main purpose of the product (and what made it successful in the first place) so I would’ve expected common sense to prevail... apparently that was too much to ask.
Maybe they have a few back tattoos.
Tried this, same result.
I don't think they've announced final specs.

But it will have a i.MX 8M SOC [1] and more than 2GB of ram [2].

The dev kit has a 720 x 1440 5.7" screen [3] (I assume this is the final screen).

[1] https://www.nxp.com/products/processors-and-microcontrollers...

[2] https://puri.sm/posts/june-1st-last-call-for-librem5-devkit/

[3] https://puri.sm/posts/librem5-2018-09-hardware-report/
Yes, and that's just about the only time they'll do them. That's the problem.
That sounds horrible. I'd rather tell everyone that I can't rip their DVDs! :(
I'm glad they did. The "Who uses Tor?" page is still what I give to people thinking privacy/anonymity tech is only for crooks. I always point out it helps cops, folks fighting terrorism, journalists, and victims of domestic abuse. And that the only way it works right is if lots of people are using it so they can hide in the crowd. I add that crooks can use it, too, but they also use cars, cameras, cheap phones, and so on. Doesn't mean we keep those things public or under government control. These pieces together in the argument gets agreement or at least sympathy out of lots of people who media freaks out about Tor, etc.

https://www.torproject.org/about/torusers.html.en
That's a good point -- why aren't mining companies buying PAPRs for their workers? PAPRs are designed for difficult conditions like hot and damp, and at least in my experience, the constant flow of air over your face cools you down and is a lot more comfortable than a traditional respirator. Mining is a relatively well paid profession. Yes, PAPRs are expensive ($1,500), and depending on how often they need to be changed, the cost of filters can quickly add up, but even for a heartless corporation, wouldn't it make monetary sense to invest a few $1,000 a year per worker to keep your most experienced employees, avoid lawsuits, etc.?
> in the absence of someone keeping an industry honest

Aren't mines mostly unionized? Isn't that like the #1 reason for a union to exist?
> Spotify, which could view messages of more than 70 million users a month, still offers the option to share music through Facebook Messenger.

Not sure why the others needed it
I guess it depends on profiling real world behaviour. If you walk the list only a few times because long words are present, that's better than walking the list once and for each character, walking your set of words. Or if most words aren't a match early on, you'll cull the candidate set pretty quickly.

Yeah I'm convinced I wouldn't bother with something beyond my basic idea until I profile.
Is it possible to buy one of those phones? As in I pay and get a physical thing for the money in a couple of days?

I ask because I wanted to buy a Firefox OS phone and it was impossible. There were preorders and non-official compatible terminals, but the official, all hardware working, reasonably featured ones were impossible to get.
One Fifth of Los Angeles’s CO2 Rises from Lawns and Golf Courses