skysight-inc/HackerNews huggingface dataset:
Oh, I don't know yet. The remarkable does what it advertised for now, and I'm happy with such a basic usage.

However, if the company goes belly-up, if it stops supporting my device, if I get creative one day and have this awesome idea, I can implement it.

Of course, the Android ecosystem is quite open already, so this is a step-up from, say, a kindle. But having root access feels more like having the keys than sitting in a cab.

An idea I had for a while: draw simple schematics with the stylus, simulate them on the tablet with some SPICE implementation. Shouldn't be that complex :)
> A bit part of the appeal of pattern matching in other languages is support for destructuring, where you implicitly assign variables to members of a data structure you're performing a match on

I would clarify that to implicitly introduce variables.

Consider the following:

$ python3
Python 3.8.6 (default, Dec 28 2020, 20:00:05)
[Clang 7.1.0 (tags/RELEASE_710/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> def foo(x):
... return ([x for x in [1, 2, 3]], x, (lambda x: x+1)(x), x)
...
>>> foo(42)
([1, 2, 3], 42, 43, 42)

The list comprehension did not assign the variable x to 1, 2 and 3; it introduced a variable called x, but our original (argument) variable is unaffected (since the second result is 42). Likewise, the nested function doesn't assign its argument variable x, it introduces an argument variable x. Whilst this affects that nested function's result (we get 43), it doesn't affect our original variable, since the final result is still 42.

This match syntax seems to be assigning, rather than introducing, which is a shame.
"the monarchy should be abolished"

This is such a no-brainer, and I really don't understand why anyone anywhere in the modern world would want someone to rule over them.
I love moments like this where two people meet and share information about a shared thread in their lives, when they would otherwise probably never know. Good job hacker news:)
For better or for worse, this is nothing new. It is a symptom of the fact that the FSF and other FOSS organizations have displayed a fantastic failure of technical leadership for over 3 decades. The political leadership has not been bad, but if you go back and dig through the history of open source you will see that there have been multiple repeated failures by the supposed thought leaders to provide the equivalent level of technical excellence that is required to compete.

Making the lives of developers of free software easier has rarely if ever been on the list of priorities for many of the core projects.
Perhaps also worth mentioning is https://cloudoptimizer.io which has resource pricing for many cloud providers (not just EC2) and also has a way to filter GPU instances.

(disclaimer: my passion project, new version coming soon)
A bonus for writing strongly typed code and using a small/safe subset of python is that you can transpile it to languages like rust or kotlin
"pushing the environmental case when presented with evidence to the contrary"

Parent wants to push the "fixed gender" case instead.
NFTs are intriguing to me, but I empathize with the comments that there is no compelling reason to spend more for a 1:1 copy of a digital file...

I often daydream about each digital copy being slightly or significantly different from the "original", adjacent to what Jai Paul did with https://jaipaul.bronze.ai/, though it doesn't solve the replica issue, as people could continue passing around copies of the respective "version"
There is a method to the madness:

-d is disk (instance store)

-a is amd

-ad is both

-n is enhanced networking (ENA, or EFA on the biggest instances)
To be ashamed is human – and yet it harms us
Each of us has been ashamed at some point. We know that our sense of shame has to do with what others think of us and how we relate that to ourselves. But there is actually much more to it than that. Shame is related to a basic human need: relationships, love, and belonging.
What's preventing them from making their own tune, put it on cdbaby or whatever it was to get it into the content id system, and then issue copyright takedowns?

Similar to this[1].

[1]: https://www.youtube.com/watch?v=Mz14Ul-r63w
Take a look at flynt, a tool that can convert older string formatting code to the newer fstring style. I've found it very helpful!

https://github.com/ikamensh/flynt
"How about we take all their money and exile millionaires, billionaires, and the monarchy?"

The sooner the better.

I'm certainly not going to shed any tears if this happens tomorrow.
PureScript would almost fit :-). It would just need a modern Haskell backend but having a strict language built on a lazy-one is probably not the best idea :-).
No offense, but this form of government should be deeply embarrassing. I say this as a citizen of the USA, whose most-recent president was certainly no shining example of a world leader. But this state of affairs is far more embarrassing. And I mean this before whatever revelations are contained in the Guardian piece.

A democracy should not have a monarch. It's literally that simple, I think. Otherwise don't call yourself a democracy, and don't act like you are one.
Close but no, thinking vs doing.
I'm pretty sure OsmAnd renders all the roads, buildings etc on demand, which is why it's slow. It has to be able to rerender since it supports different styles, but it doesn't seem like it caches the results or prerenders adjacent tiles.

EDIT: performance issues seem to not be due to rendering the vector data[1].

[1] https://github.com/osmandapp/OsmAnd/issues/8370
What you've described is largely how the DMCA already works.

1. Copyright holder files a claim.

2. Platform takes down content, and notifies the poster of the content.

3. If poster thinks the claim is incorrect, poster notifies the platform.

4. Platform restores the content, and notifies the copyright owner.

5. If the copyright owner wants the content taken down again, they have to sue the poster.

If the copyright owner must swear that they believe their claim is true. If they intentionally make a false claim it is perjury.

All that's really missing is it sounds like you would penalize the copyright owner for being wrong about fair use regardless of whether they were wrong because they honestly thought it was not fair use or they were wrong because they knew it was fair use but lied about it.

Fair use is subjective and tricky enough that it is not at all uncommon for both side to go into a case expecting for the court to go their way.

Some major platforms don't follow the above, because they have decided to handle copyright using their own procedures instead of following the DMCA procedures.
Every big service has to honor DMCA takedown requests. In fact, every service in the US needs to honor them lest they want to become a party in a lawsuit for copyright infringement.
Strava even has their own fork of the OSM online editor iD[0], that uses the heatmap data to align (or "slide" [1]) paths to where people have been. I haven't used it in a while, it was pretty slow when I did and I don't know about licensing etc, but it looks like it still works. So if you want to add the trails you could try it out.

[0] https://strava.github.io/iD

[1] https://labs.strava.com/slide/
Yes of course; the source is the music copyright spirit that has been assumed by legislation over years.
A majority of private wealth is inherited (not earned as income) by the top 5% wealthiest households.

How is inheriting wealth creating value?
> They advertise to people from their infancy to their adulthood.

I grew up in Europe, my family had zero farming background, and even I remember playing with small John Deere tractor toys [0] as a kid in the 90ies.

[0] https://i.ytimg.com/vi/XOD3wPXwEy0/maxresdefault.jpg
It’s because HN is filled with anally retentive people who have no lives aside from monitoring posts on HN and downvoting based on whatever moronic criteria they thought up during their morning wank. Really have no idea why these idiots would downvote what I thought was a simple informative post but I’m guessing the average IQ of HN readers is steadily decreasing year by year and have now crossed the line into uselessness.
Salesforce declares the 9-to-5 workday dead, will let employees work remotely
> Utter bullshit.

HN is such a rare place on the internet. I am writing in good faith - let’s not fall so low as to speak like this.

The power over currency and the power over arms go hand in hand.

The “officially sanctioned” exploitation you speak of - who is the “official” in question? The sins you and I refer to stem from the monopolistic use of violent force by the state. “Wall steeet” is far from a free market, and so if the dollar, euro, pound, and other state currency markets
Before the changes resulting in 92 remaining in the House of Lords, hereditary members numbered over 1200. Once in a blue moon the Conservatives would mobilise basically all of them and destroy any opposition to a bill in progress
there's never a guarantee that anyone isn't corrupt, but switching from an opaque, land-owning monarchy to something like the German presidency which has the same function (mostly symbolic, but has some emergency powers), at least gives clear transparent procedures, is accountable to the public in formal ways, draws a regular salary, and isn't living off inherited wealth.

What exactly is the justification for having those tasks, if they're deemed necessary, executed by some hereditary, secretive, uber-wealthy family rather than by someone who is actually a civil servant?
Reducing the number of military veterans period would be a good place to start. The USA does not need a massive standing peacetime army/navy/airforce. There's a real human cost too -- we kill more of our own soldiers in accidents than in actual combat.

Cut personnel in each branch by half, significantly consolidate bases, and modestly increase pay for the people who remain.

Then, redirect the enormous savings to actually useful jobs programs. Build roads instead of running around in circles in rural Alabama/North Carolina for four years.
I've been using both professionally for a number of years, I prefer to use haxe when I can. Strengths of both need to be considered, to give an overview of why I prefer haxe:

TypeScript's main strength is its proximity and integration with js; it didn't seek to reimagine js, but build typing on top of it.

Haxe instead builds strictly typed ECMA language from a clean slate:

- Language features are simpler because it doesn't have to contend with legacy JS (importing a module is just `import X`, strings are always multi-line, `this` means current class etc)

- It's a hybrid functional language, so you can write haxe like you'd write TypeScript, but everything is also an expression, so you can use functional patterns:

// the switch statement is an expression and so evaluates to a value
var message = switch httpCode {
case 404: 'Not Found ($httpCode)';
case 200: 'Success ($httpCode);
case code if (code >= 500 && code < 600): 'Server Error';
default: 'Http Error $httpCode';
}
// even the for-loop is an expression
var array = [for (i in 0...10) i]; // array of Ints from 0 to 9

- Compile-time code execution removes the need for build tools – you can mark functions to execute at compile time, so you can do all your asset processing / DSLs / build-tool-fun as part of the regular compilation. (This is perhaps the biggest win over the traditional web stack for me; I _hate_ web build tools)

- Smaller code output, haxe performs static analysis optimizations and dead-code elimination (see this example https://try.haxe.org/#4Baa5, taken further here: https://github.com/haxiomic/vector-math)

- Target other server backends like PHP or Python, which is handy if you're writing a web service and want to use libs from other ecosystems

- The compiler is many times faster

On downsides when compared with TypeScript:

- Is it can be harder to use js-centric libraries like Vue, which make use of JavaScript's `this` behavior in their API design (in contrast to libraries like three.js which are more traditional)

- Haxe does not consume .d.ts files directly but they can be converted to haxe files with the dts2hx tool. This works for many libraries, but isn't yet perfect. For complex libraries like React, it's best to use a hand written haxe-react project (e.g. https://github.com/kLabz/haxe-react)

- Haxe's type system is more strict than TypeScript's, in TypeScript you can perform complex type operations but to achieve the same in haxe you need to use compile-time macros. This is primarily an issue when using existing TypeScript libs which make use of advanced type expressions (which if too complex may become 'any' when translated to haxe)
Thankfully Python has avoided switch statements. Hopefully pattern-matching will take the place of if/elif/elif/else chains, or dereferencing dictionary literals (e.g. `{case1:foo, case2:bar, ...}[myVal]`)
> and ending up with an apex predator...

https://en.wikipedia.org/wiki/General_Atomics_MQ-1_Predator
> Why does the intent of the person making the argument matter? The argument stands on its own merits or it doesn't.

That attitude might work for arguments like mathematical proofs, but we're talking about social policy here. It's too complex for that kind of certainty, so trust and good faith matter.

Also your argument was essentially like this: the Soviet Mars 2 probe failed to land on Mars. So did the Soviet Mars 2, 3, 6, and 7 probes. Therefore, NASA shouldn't try to land Viking 1
on Mars, since governments have been shown to not be able to do that kind of thing successfully.

> OK, let's run with your example....

> That's essentially what's happening. Nobody alive in the US today owns a slave, nor were they a slave. You can spend literally forever talking in circles about the effects of history on people of present day. Yes, things like slavery, Jim Crow, and redlining had bad impacts on black communities. Do we spend forever talking about it? No. And who gets to decide when the wrong has been "righted", anyway?

That is not in fact what's happening today, which is why the response consists of social policies like affirmative action instead of stuff like garnishing the wages of the descendants of slaveholders to repay the descendants of slaves. I even alluded to that.

Another way to look at it is the wrong wasn't solely committed by the individuals involved (e.g. slaveholders), but by the government and other institutions that enacted policies like slavery and Jim Crow. The government and those institutions still exist, and have the responsibility and ability to take corrective action.

Running with examples is like running with scissors; they're both bad ideas that can turn to serious errors.
The issue was not the breaking changes, the issue was that it was done poorly. In particular that v2 and v3 code could not coexist in the same project.
That’s completely incorrect. There are only 802 seats. 92 are hereditary. https://en.wikipedia.org/wiki/House_of_Lords. Just because you have the heriditary title of Lord, it doesn’t mean you are a peer of the House of Lords
My most recent project makes liberal use of `f"""..."""`
That sounds good til you realize then you’d have released a huge number of highly trained, radicalized, disgruntled militants into the population.
The disbanding of the Iraqi military by the US occupation comes to mind.
I'm not saying we should exactly replicate this system, I'm saying that a more basic version of it produced a cultural boom.
"The Crown plays a useful and vital role in the Westminster system."

What role does it play that an elected official isn't better suited for?
What’s wrong with the OOP syntax?
They don't. They're referring to a famous proverb.
Stability. The monarchy has been in charge for so long that getting rid of it would cause turmoil.

I'm not saying it's a good reason, just that it's a reason.
And this, btw, is the KEY to show that if MS decides to be evil there's a LOT of motivated players that would happily step in with a new platform and take over.

The fact that Apple is trusting MS with their source code really should tell you that your open source project will be fine. What you'll want to watch out for is when these other competitors decide to abandon ship.
I get that too. A couple of things that have helped me with that are a version of "Getting Things Done" (gets tasks out of my mind) and genuine solitude. By that I mean don't read anything, watch anything, etc. No inputs, just your own mind. Just sit there and zone out a little. Nudge your mind with reflective thoughts like, "What's important to me? What do I want out of life? How do I feel lately?" Meditation emphasizes stepping back and not putting judgment on things like that, which I think can be healthy, but this is kind of the other side of the coin and helps get a little more of that closure you're talking about.
JD is widely used in French vineyards and BOA. As are Renault, Fendt, M-F, Fiat and Lamborghini.
There are quotations people complain about and ones that no one recognizes.
Obviously not.

If you are playing music to yourself, and someone films you - you are not infringing - the person filming and uploading is - possibly, though that's more questionable.
Fine with me, I just think they should just stop pretending they have a democracy.
I like Locus maps a lot. The UI is a little busy but once you get used to it you appreciate it because it really is a work of love.
That's no good, in the Soviet Union corruption only lasted for 5 years until it was replaced by the new one. https://en.wikipedia.org/wiki/Five-year_plans_for_the_nation...
It seems to be the new way to say it. I've known both as AuthN and AuthZ but AuthR picked up for some reason or another.

In the same vein, it seems like a lot of people aren't too aware of the "identity" space so there's a whole lot of re-inventing the wheel with external sources not realizing something already exists.
>Cambridge Analytica used the Facebook API to ask users to share data about them & their friends. Stupid users agreed to that.

Stupid users aren't allowed to say yes to share personal information on their friends. Only the friends are. That is how it should be. An API should never give access to other users data than the one who agreed. Luckily because of GDPR they now can't, though the same rules were there in most of the EU already so it was always illegal at least some of it. IMO the rules should be even tighter and the punishments harsher.
Dictators absolutely don't have absolute power either - they have to juggle it with the military, the private sector, and so on, at the very least. In practice, the concentration of power between a dictator and a monarch is very similar. There are monarchs that hold a lot more power than the average dictators, and dictators that hold a lot less power than the average monarch (Marxist-Leninist states such as the USSR or China have their dictator share quite a bit of power to the Politburo, lower cadres, and so on, for example).

In general, monarchies pretty much have had the absolute maximum of power concentration possible without disastrous consequences.
Python doesn't have block scope. This can lead to some surprising behaviour:

x = -1
for x in range(7):
if x == 6:
print(x, ': for x inside loop')
print(x, ': x in outer')

This outputs:

6 : for x inside loop
6 : x in outer

For consistency, I think it makes sense for match to behave in a similar way.
That's how Europe got the crusades. Knights were in large part a response to raiders from the steppes and fjords, and when those raids slowed, the protectors turned into gangsters that needed to be sent on a fools errand.
“When winter rolls around, the gorillas simply freeze to death.”
Perfect Virtual Hands
As I stated in another comment, higher pay would be reserved for people recognized as practicing musicians by their peers. They could also earn money via performances like they do now, but they would be guaranteed a standard of living so long as they stayed current. For example, playing for free in a coffee shop, publishing videos on YouTube, producing sheet music, logging hours of practice etc would count towards currency.

The idea being that society is richer for having cultivated talents and art regardless of whether a random person on the street is willing to pay for it.

For your drawing, I guess it would depend on if you met the criteria of being "a practicing artist" by a rubric devised by artists. There might be lower or moderate levels on that scale that would e.g. cover supplies for talent development or initial forays into full-time practice.
Thanks, i learnt a lot from that experience (my first job, sole developer, figure out a solution and get things done etc.). It was on those old monochrome visual display terminals and instead of using system specific languages/toolkits i hit upon this solution and it worked out.
I believe that under copyright law playing music in this manner constitutes a "public performance" which, unless explicitly authorized by the copyright holder, is a copyright infringement by the officer. Couldn't this backfire with copyright cases against the police?
I know how the DMCA works. The problem is step 2. Step two should be "platform notifies possible violator that claim has been made". The platform should not be punished for leaving the content up. Right now, under the DMCA, if they leave the content up, they become liable. That should not be the case.

Furthermore, YouTube et al don't follow the DMCA. Their process is outside the DMCA, and starts with automated enforcement on behalf of the copyright holder, with no recourse for the potential violator.
The Reality Czar
How much do you pay for looker?
> inevitable that somebody gets turned into a manager making arbitrary decisions, and everybody else just silently checks out

:100:
Sure people came up with all kinds of explanations but the most accepted ones speak of deficient Aggregate Demand. Low aggregate demand can almost tautologically be seen as the flip side of too high demand for currency.

"We buy newly-produced goods with money. A Keynesian recession is an excess supply of newly-produced goods, and a deficiency of Aggregate Demand. In a monetary exchange economy, a deficiency of Aggregate Demand, and an excess supply of goods, is an excess demand for money. Money is what we demand goods with."

https://worthwhile.typepad.com/worthwhile_canadian_initi/201...

I would argue that an excess demand for crypto tokens is quite similar, especially if it gets to the point where companies are stockpiling them.
> This while we have elephants in the room such as packaging.

There is a part of me that wonders, at this point, if basically every new addition to the language itself is secretly just a medium for procrastinating on figuring out what to do about setup.py.

I'm not as down on this PEP as some other seem to be, mind. It's just that, when I think about my actual pain points with python, this language addition starts to look like a very, very fancy bike shed.
Police should not be allowed to abuse copyright in this way. They're not playing the music out of some sort of self-expression, they're playing the music for the express purpose of tripping copyright filters, thus increasing the likelihood that otherwise legal livestreams and VODs would be muted or deleted.

I hope the RIAA comes down hard on this. Just as hard as they came down on Napster, tbh.