skysight-inc/HackerNews huggingface dataset:
Personally, I think this is a very effective deterrent in a system that no longer effectively punishes crime of $200 electronics. The only question in my mind is how to make it scale.

I think punishing bad behavior, even sporadically, is a moral good. It will in turn help people not do immoral things and make the world a better place.
Transphobia apart, this just seems to be another "Great Replacement" scare.
No, it's not that simple. The platform will start out hosting I.D.W. celebrities. But if it's an open platform and it aims to avoid "censorship", then the system converges on something like Gab, a place where those I.D.W. celebrities will not long feel comfortable calling home.
Path Tracing vs. Ray Tracing (2016)
8 Things That Will (Probably) Happen in 2019
> My code for Python 3.5 won't work with the Python 3.7 installation unless I intentionally port it to 3.7.

This statement is plain wrong at best and intentionally misleading at worst. 99.99% of Python 3.5 code runs unmodified on 3.7.

> At the official Python web site, their documentation is actively maintained and available for Python 2.7, 3.5, 3.6, and 3.7 -- because they can't decide to give up on the old code.

No. It's because some people still are on the not-latest version and still need access to the documentation. It's what every good project should do.

I stopped reading there. Too much wrong in too little text.
I'm honestly not sure, but even taken in isolation it's a convincing argument to me.

See [0] for some info straight from the proposal, but the gist is doing it this way makes it so that you never have to worry about name collisions for private fields. Subclassing, superclassing, and object "monkey patching" all can continue to work as-is with no changes, and none of them have to worry about the existence of private fields complicating implementations, and the classes with private fields can feel free to change and rename them as much as possible, even within patch versions of libraries, since they cannot impact any code outside of the class under any circumstances. That's a pretty powerful guarantee to give which GREATLY simplifies working with them.

If I want to extend the react component class, I don't need to worry that my `#component` private field is going to break if an update to the react component class adds their own `#component` field, or if a user of my library tries to do something like this:

const fancyObj = new FancyObj()
fancyObj.tag = Symbol('tag')

Which I'll admit to having used in some cases where I want to tag a bunch of otherwise identical objects which will be thrown into an array and then be able to easily pluck out the ones I tagged later. Without true encapsulation, that code above would break if they changed the private interface to use the `.tag` field internally, and I would have no idea because it is consitered a private interface and wouldn't need to be documented or maintained across versions.

[0] https://github.com/tc39/proposal-class-fields/blob/master/PR...
> What happens when Google implements its next protocol in Chromium? With Blink's market share, would they even bother with committees anymore?

They didn't bother for SPDY or QUIC. They were implemented in the browser, like many others features, before any committee. It's the committees though that decided to base their works for HTTP/2 and HTTP3 over theses.

The danger isn't on what they implements, because that's already something they do (and all others browsers do), but based on what they DON'T implements. What if they ignore HTTP3 and only use a new protocol they made?
10 design rules for developers
Maybe I wasn’t hardcore enough, but my youth started trapped in AOL’s walled garden. It took a long time to realize there was an internet outside of it.
So THATS why fish are so sparkly and shiny! Fabulous!
> Regulators have strictly less power than courts here when applying existing... regulation

I guess it's a matter of terminology, but I think there are at least some cases where this isn't true. Ex post facto legislation is permitted in civil law, but it's not something courts can generate in response to a case.

Regulators operating under administrative law can create ex post facto rules wholesale if granted express permission by Congress, which is of course new regulation. But even without that grant, they can create limited retroactive rulings when new interpretations are offered during adjudication. [1] We can debate whether that's 'new regulation' or 'new interpretations of old regulation', but the net result is that regulators are empowered to cover unforeseen circumstances in ways that direct lawsuits are unlikely to offer.

(I am not a lawyer, but...) a move like this looks like an invitation for a Chenery II action, if one is was even needed. The SIPC didn't want to issue brokerage-account protections for a "Checking & Savings Account", and whatever the SEC said to Robinhood produced a very swift change of tune. I suspect it was something like "if we go into adjudication and say magic ampersands don't change your issuing rights, every court in the country will back us up".

[1] http://www.minnesotalawreview.org/wp-content/uploads/2013/02...
Does no one have auto indentation in their editors? Every so often I just select the block of code I'm editing and auto indent it, which matches indentation with semantics without me having to think about it. Annoyingly impossible to do this with python since indentation is semantics. It also results in copy pasting of code being 100 times harder in python than other languages.
The fonts render correctly - they are slightly large, however, and there is an absurd amount of space on the left and white sides of the page.

There's a strange sort of parallax-scrolling effect where some items actually hang off the side distractingly.

It looks more like an example of funky design rather than something designed for readability.

This is all IMHO.
> I also feel like picture/children ebooks books don't make much sense…

Have you seen this two books?:

https://bubblin.io/book/abcd-animal-book-by-judith-neumann/1

https://bubblin.io/book/ladakh-by-satie-sharma/1

I've personally read Judith's book on animated ABCs to toddlers in our community. In general, I'd want to optimize for attention span when it comes to kids--Bubblin helps with that. Most importantly, kids are already on the iPad, so it makes sense to go take it where they are.

Thank you for sharing the beeline technique. We can probably provide it as one of the layout template options! :-)
GCC Spectre V1 Diagnostics and Mitigation
I cannot believe I know this...but the location on the map is actually the McCallister's house from Home Alone, in Illinois, Mark lives in California.

I looked it up a few months ago...and I recognized the google map as soon as it popped up on the video.

https://goo.gl/maps/1sytkJCxFqn
I think you're speaking more about event-sourcing than CQRS. CQRS is a generic concept that's only about separating writes from reads. It's useful paired with event-sourcing but on its own it does not suffer these specific drawbacks.

Another problem with event sourcing is that there is no easily definable concept of a "field" that can be read from and written to using a named address (contrast with a SQL table column identifier). For a given aggregate, you'll have a single command service that writes a set of "fields" and an unbounded number of query services that receive a copy of that "field" from the event stream and can transform it in any imaginable way. Your "field" may be renamed and moved around through its journey from your command service's API request body to your event's serialized form and to your query service's internal data structures and its final resting place on the query service's persistence data store (mongodb or SQL table or whatever).

To identify a field, it's best to use its writable address, and you'll need to come up with your own identifier namespace and naming convention to represent those addresses.
I appreciated the last person's reaction: to check out the mechanism.
GPS is just there to give an approximation of the location. He has videos of where the box was thrown.. We even see the lady throw it in the garbage..
Quite. Skilled engineers are making the right decisions 90%, 95% of the time when it comes to these soft-skills of design and architecture. But it's that 5% error-rate that builds the technical debt that the project inevitably has to pay down. And if too many contributors have too-high an error rate, the wheels come off, design intent is abandoned, and mystical approaches become de rigeur (a la "This code doesn't do anything but it crashes if we remove it!")

Crucially, decreasing that error-rate has a disproportionate benefit on how sustainable the things you build are. The rock-solid tech lead isn't going to shock you with her choices. In fact, she'll probably bore you by erring on the readable and easy-to-understand side of things.

Eking out that 1% improvement really does take reading these books, thinking about them, thoughtfully trying to engage with them in your own work. So much effort for such a small improvement -- but this small improvement in one's own skills pays off exponentially in the work.
It seems extraordinarily harsh to punish the recipient for the bad practices of the delivery service.

Is there any legal jurisprudence about this? It feels to me like the delivery service should be responsible.
I agree with a number of the author's points. For me personally, the biggest single issue is the scope by indentation. I know some folks like this, and think it is good to restrict single functions/methods to less than a page in an editor ... but I personally do not like a language imposing such opinions on me. It makes, IMO, reasoning about the code your reading, even if it fits in a single editor page, very ... very hard.

As someone who works with multiple languages across multiple environments, the author's comments on the installation ecosystem are on point. Though, these critiques are better directed at the packagers of the distribution. I'd given up on getting current, correctly built versions of Perl, Python, R, Octave, etc. from packagers/distros, and simply build my own in a separate tree[1]. Most folks now do this in user home directories, but I still personally like the system level availability.

FWIW, I've found that Julia[2] is a far better Python than Python. You have all the advantages of a JIT compiled language which does parallelism/concurrency well, has an awesome FFI to simply use external libraries, etc.

[1] https://github.com/joelandman/nlytiq-base

[2] https://julialang.org/
True of most "X Sucks" discussions. I used to do a lot of ColdFusion. A mention of that would elicit the oh-so-clever, "I'm sorry...." A little digging found they either had never written a line of CFML in their life, or they worked on a project back in 2005 before they added numerable features, and before many of the frameworks and tooling that a typical developer would use.
I'm pretty sure I've seen people doing dumber things for little money. That said, I don't think it's staged.
Here's a discussion:

https://www.longviewoneducation.org/why-does-jordan-peterson...
So-called war-core clothing is hot during these anxious times
Question about Chrome, Google and China
Say chrome gets 95% market share and Google finally returns to China.

Google's stock price soars due to increased Ad revenue.

What stops China from mandating worldwide censorship. And certain additions to chrome for Google to remain in the Chinese market?
Don't worry about the petty thief, they are smart enough about minimizing their own risk.
What if somebody was driving and while it opens he has an accident and is dead and/or kills somebody? What would happen?
I had to once code a ‘wheel of fortune’ UI, that simply revealed trivia in random order. You had the perception of control: you could set a speed for the initial spin and see it gradually stop – as if it was adhering to physical laws – on an item that you haven't seen yet. The same item never came up twice. You always got to see all items on the first try. It was so easy to trick the mind into thinking you had control.
This needs careful consideration if you ever decide to do it. Depending on the local criminal culture they could exact revenge. Then also know where you live and can do a lot worse things than taking a package. Police might later be involved but it might not be worth it. You are dealing with people who have no qualms stealing so it's not too crazy to expect other rash and illegal acts from them.

I can also see some intrepid crooks suing for glitter damaging their eyesight permanently or some other bullshit claim. Some attorney or DA might decide to get free publicity and see if they can swing a "injured by booby trap" case.
You are exactly the intended use case. If you write a bad review every time the system will soon ignore you. If you seldom write a review but bad is the only kind you ever write, each will carry some weight after a significant "cool-down period".

In other words, we successfully encode the difference between "wow, juhzy only complains when its really bad" vs "ignore juhzy, they complain about everything." This vs. the more naive and destructive "5 bad reviews and you're out" we seem to do too much of now.

I suppose it should work the other way too. Someone who always "5-stars" everything should be ignored as well.

The point is that the system right now seems to have a negative bias and is able to do so because of a glut of providers which it burns through like an expendable, renewable resource. (Which morally sucks because they are real people with real lives.)
TIL, I'm a "neonazi". I'm Asian.
It most definitely is GPS _and_ Wi-Fi SSN triangulation.
> The design is subpar in my opinion

Are you a mechanical/electrical engineer? Not trying to be hostile, but what would you have improved?
> If only it were possible to buy stock in these phrases...

Quite. If I'd bought stock in that logical fallacy site that was doing the rounds a while back HN would've made me a billionaire by now.
The main bullet is:

> And, according to The Washington Monthly's sources, flying the shuttle will cost more, not less, than flying those old disposable rockets.

It is explained in the sections titled "Economy at any Cost" and "Turn Down the Volume".

The main argument, which was shown to be correct, is that NASA inflated the launch volume in order to amortized their huge fixed costs on an unrealistic number of flights.
We can pretty much launch anything now without physical human interaction in space. The ISS needs help guiding things into place but tech is getting better so it will not be long until the resupply ships and modules can be automatically guided into place.
uBlock Origin is reporting that it's blocking scripts from facebook.net and google-analytics.com as tpxl mentioned in a sibling comment thread
In addition to sibling comment, a real-life example is the GPS constellations. A single GPS satellite won't do you any good, but two or three (or better yet, six or twelve) will pinpoint your location. So the US DOD, et. al., threw a bunch of them up there at once instead of just one.

And perhaps not just the military. Iridium wants to replace their constellation of satellite phone satellites? Is next week okay?
If the OP has been using a low-quality DVD drive, I recommend using an Apple SuperDrive, since he mentioned Apple.

They may not have all the latest whiz-bang features, but they are rock solid, and are USB powered. I have two at home, and use them to rip DVDs, and have never had a failure in I don't know how many years.

New they run $79 from Apple. Or you can get a used one off shopgoodwill.com usually for around $15.
106: KubeKhan, KubeCon, Etcd, Licenses, Securing Kubernetes, JFrog, More
My girlfriend routinely asks questions with convoluted grammar and gets a relevant response much of the time. I'm always amazed when it happens.
You don't want to read all input into memory first.
Advent of Code Python Solutions, Explained
>And people will just send them to their friends instead of targeting package thiefs. "Pranked you bro!"

No need to wait for that, it's already a thing:

https://www.ruindays.com/

Some have sent far...erm...shittier things in the mail:

http://time.com/3634443/cards-against-humanity-poop-black-fr...
it would be cool to see the source for the project, like what triggered the cloud uploads or how the gps data was mapped
I assume they mean things like

* Thinking like a programmer
* Planning projects
* Working with others
* Time and project management
* Setting up your environment

etc.
It depends on on what type of fiction you like. If you're into fantasy with hard magic systems[0], I highly recommend anything by Brandon Sanderson. The narrators for the Mistborn and Stormlight Archives are pretty good.

I can also heartily recommend the first 5 or so Artemis Fowl books. They also have a great narrator.

[0] A hard magic is very understandable by the reader and can be used to resolve conflicts. Personally, I love them. See https://brandonsanderson.com/sandersons-first-law/
Emergency situations. "Sir, we found your wallet...", etc., etc.
This was a great article about a concept that every self-professed intellectual (or wannabe) should be taught, surprised it got so little traction here
This just seems like survivorship bias. An algorithm / tool / technology tends not to remain in use if something that is both more elegant and more efficient is available. Therefore, if you survey the well known options you'll see a negative relationship between elegance and efficiency. It doesn't imply a general relationship nor does it preclude the discovery of an approach that is both more elegant and more efficient than anything available today.
More high-level skills like "people" skills, "conversation" skills, and things like that. They're not specific to individuals or individual languages but are general and more about concepts rather than specific examples.
Your delusion is that you associate everyone on these platforms with the alt-right because some of them are alt-right. The reason alt-right flock to those platforms is because they are de-platformed elsewhere. This does not make the non alt-right people on those platforms suddenly become alt-right.

And the reason "alt-right" and "racist troll" mean nothing is because they are used so liberally where they do not apply, and a few minutes of investigation would conclude that they do not apply. Consistent incorrect usage of language applied to something that it is not makes them lose their meaning.

A solution to the "adhering to free speech" would be to allow free speech on platforms, and make it clear what is or isn't allowed on the platform, instead of using vague terms like "hate speech", which could be literally anything that some person finds undesirable.
https://www.bollymeditube.com/2018/11/how-to-get-chubby-chee...
That doesn't make it obscure.

MtGox wasn't a secret. It was relatively well known and covered in the news, and I don't mean tech news. 2011, maybe 2012, was when bitcoin entered the public lexicon and it's only become more and more ubiquitous since.
You can claim that it’s not the most common or most plausible view, but that doesn’t make it so.

I would wager that most people have never bothered to ask the question because morality is useful either way. Even if your claim is true, most people also believed common myths like the earth being flat at one point, so that’s hardly a compelling argument.

I’m not saying morality has no place, only that it’s not a physical reality and you can’t point to a list as definitive proof of what is and is not moral.
He mentions that he used that address on the package too.
I'm guessing it refers to moving something out of a loop, which in Python often requires only an indentation change. In most other languages, it requires moving the code to the other side of a brace, or perhaps adding a brace. If braces were considered whitespace, which is not entirely unreasonable when talking about Python vs. other languages, it would be much harder to come up with examples. Drawing a blank right now. Anyone else want to try?
Makes sense, those satellites are well past their scheduled lifespan.
Hof van Salland – Luxe Vakantiehuis Nederland
> I don't think dependent types are the future of development, but instead I'd bet on refined types

> ...

> lookup : (a : array) -> (n : int if 0 <= n < length(a)) -> whatever

https://en.wikipedia.org/wiki/Dependent_type: "In computer science and logic, a dependent type is a type whose definition depends on a value."

In your example, you are using a dependent type: The type of n depends on the value a. So your refined types are dependent types, but possibly restricted in some way. Can you explain the restrictions you have in mind to clarify (and motivate) the relationship between full dependent types and your refined ones? Is it something purely syntactic like "linear arithmetic only" (as I believe was the case for Liquid Types, at least originally) to ensure decidability?

Edit: Even the very first sentence of the very first paper about Liquid Types (the base of Liquid Haskell) talks about dependent types: "We present Logically Qualified Data Types, abbreviated to
Liquid Types, a system [...] to automatically infer dependent types precise enough to prove a variety of safety properties." (emphasis mine)
Anyone can file a police report.

The sender and the sender's agent (shipping company) own the package until it is delivered. That's why the sender insures it and insurance payments go to the sender.

But often it is more complicated than that, because there's a commercial contract between the sender and the recipient that also has to be taken into account.

I'd call it a legally grey area, with the commercial sender often likely filing an insurance claim and re-sending the lost merchandise.
> Looks at web developer job postings
> Notices almost all postings want some proficiency in some framework (usually React/Angular)

Will React and Vue survive? Has knowing Jquery been absorbed into knowing vanilla JS? All these questions...
Booby traps are not "innocent". What happens if you stop responding and paramedics are sent to your property? They get paintballed because they approached your porch at night when there should have been no visitors?

What happens if you put a car airbag in a booby trapped package, and someone steals the package and brings it home. Then later that day their child or spouse finds and opens the package not realizing it was stolen. Boooom, an airbag in their face and they're seriously injured.

We don't need a world where we're surrounded by booby traps. It's a disaster waiting to happen because there are countless edge cases that people wouldn't consider.

We're quickly moving towards a future with door bell cameras and facial recognition software. We also have more parcel lockers showing up in different cities and neighborhoods where you can have packages safely delivered, available for pickup 24/7. These are better alternatives than setting traps.
If they're not copy-protected, try gddrescue; it logs what it's read, and it can resume. Try another drive if you can. And, I know it sounds odd, you can rub your finger against the side of your nose and then across any scratches on the shiny side.
Reminds me of that one quote attributed to everyone under the sun:
Honesty, if you can fake that you've got it made.

https://quoteinvestigator.com/2011/12/05/fake-honesty/
His early history of Perl is at odds with my memory. In my memory, perl was pretty great with not breaking old stuff. Even the pretty amazing feature set added between perl4->perl5 seemed a natural evolution to me.

https://en.wikipedia.org/wiki/Perl#Early_versions

(P.S. yes yes perl 6 went kookoo crazytown, but that's not what he was talking about.)
But you could do the same with "_".

I think the feature is good but couldn't they find a different character than one used for comments almost everywhere else?