skysight-inc/HackerNews huggingface dataset:
> At my workplace we use Python 2.

You’re probably aware of this, but at the odd chance you aren’t, Python 2 end of life is 2020. You really should be moving to Python 3.

> Go does this.

There is a lot of love for Go and Rust on HN, but unless your region of the world is significantly different than mine, then chances are that there won’t be a Go or Rust job in your lifetime. I’ve only ever seen one of them mentioned in a job opening for my entire country, and that was as “nice to know” for a c++ job at Google.

I’m sure Rust and Go are truly excellent languages, but that doesn’t really matter for most people, if they never manage to see any adoption outside of Silicon Valley.
I would love to see ghost touches messing up the industrial touchscreen and wreaking havoc on the machinery.
> It's one of those super common game design wisdoms like 'let your your player jump a few frames after they've left the platform, otherwise it'll feel bad' and it's applied in most jump and runs because it's the right thing to do and then you get one of the most critically praised jump and runs of all time like super meat boy which uses exactly zero of these common wisdoms and instead just works with proper and tight game design.

Can you give examples of games that implement this, where jump and run is also a core mechanic?

I've only seen this in Dead Cells, co-creator of which argues that the game wasn't supposed to be a jump and run in the first place.

It makes sense SMB wouldn't implement these crutches as it's literally the whole challenge of the game.
With Congressional Blessing, Space Force Is Closer to Launch
Agreed. I really don't understand all these buckets filth being poured on Python in this thread.

It's a first language I worked with in my life that just clicked with my brain and doesn't just drain me.

I would take a Python job over a Java/C/C++/Go/Rust any day.
There's some languages that could pull me away from Python (Nim, Crystal) but they're nowhere popular enough to move wholesale to them.
It's using the Symfony framework which is considered very secure as it's one of the top open-source PHP frameworks on the web.
As a fairly new rustacean myself, I can confirm that the pre-syntax examples are incomprehensible gibberish to me. The bits with `await` are much simpler to make sense of.
I'm pretty sure this didn't exist in the 80's and 90's ...
Could HK declare indypendence and join taiwan?
This got me thinking about my own situation.

I've been living abroad in various places for a few years now, and I feel like if someone were to vandalise the flag of my home country in an act of protest I don't think it would trigger much of an emotional response in me at all. No more, probably, than someone vandalising the flag of my sports team (that's to say, not much).

I wonder where this emotional attachment to tribal symbols starts and ends. I haven't done much at all in my life (voted a few times, otherwise just lived within the system) to create my home nation. It's just the part of the world where I happened to be born.

Even if I had fought hard to change my country and later become proud of what it had become, I would question whether someone defacing a symbol of that country would trigger an emotional response.

Am I alone in this? Is this tribalism something which is usually considered innate or learned / forgotten?
It's not though? If your goal is to avoid having your every move online tracked by companies hoping to earn money from spying on you, what Stallman does is one of the few strategies which work.
Unhappy customer asked to sign legal agreement not to write a bad review
No, there's a module system now: https://blog.golang.org/using-go-modules
While I use more than just Python in my work, it remains my go-to toolset for a range of tasks. For instance, Python offers the best interactive programming experience of any language today. You can step through code flow and inspect values with great ease. This is particularly valuable during prototyping, as you are getting a handle on interactions between your application and third party dependencies. Further, as designs take shape, you can quickly assemble a proof of concept and learn how to address a problem or design. Python can be used with little or any inheritance. Adopt a compositional style. You can assign types. You don't need to use all of its bells and whistles if you don't want to. This allows you to use Python in a way that streamlines it for porting to a strongly typed, high performance language such as Rust, should the need or desire to do so ever arise.

The Python community is truly global, hosting local events in hundreds of countries. So many talented, helpful people have been dedicated to the language and community over a very long period of time. Look at its ecosystem on GitHub to get an idea of how that manifests. Questions about how to solve a problem are often a single search away from being answered on Stack Overflow, Google groups and countless channels on Freenode IRC. Python conferences are a great place to learn and connect.
Which means that we should act as if we have free will, since no other approach is reasonable given our perspective.

Interesting to note that the Bible implies something like this paradigm, since it describes God as having total control of the universe but also says we have free will.

When you first encounter that pair of ideas in the text they seem contradictory, but further reflection eventually leads many to some variation on this idea.

I don't believe it's the full picture of free will and predestination in Christian theology - just think it's interesting that it fits with this perspective that would have been quite non-obvious to its authors (at least in regards its relationship to modern physics).
"Will be" is a bit strong here, more like may be. The European counterpart to the FAA expects it take well into next year.
OWS failed to get a seat as a reward for their protests because they had no one to give a seat to.

Otherwise, a protest at that scale generally results in political power of some form being ceded — but how can you do that for a disunified, leaderless movement?

That’s ultimately what brought them down as well: they took on every issue, so accomplished nothing — and eventually fell to infighting as people who wanted to advance racial and gender issues disrupted the movement by seeding conflict between members.
Sounded promising, but the design itself put me off instantly.

It embodies everything that is wrong with modern web.
Python 2 support ends in less than 5 months. They extended the deadline 5 years ago.

I’d say deprecation has been initiated.
To make a different audio analogy: When they graph the input vs. the optimized control values, it looks a lot like the ringing artifacts of a low-pass filter. A low-pass filter removes high frequencies from an input signal. Since there are physical limits on how fast limbs can oscillate, maybe that’s part of what makes it look more natural.
But it’s the CCP that’s been pushing changes. If they just stopped pushing for changes between Hong Kong and the mainland, they would largely (if not entirely) placate the protesters. The CCP is the one rocking the boat!
This was what I was wondering to. I'm still learning about the ins and outs of Linux.
> so the concurrency/parallel issues seem fairly moot.

Python has the GIL, so true parallelism can only be achieved with basically cloning a process X times the number of processors on a computer and inter process communication.

Go doesn't have this problem.
We kinda need a browser extension that will show red in top right corner if the current page has NSFW words or maybe when we use right click on the particular word it already highlights being NSFW preventing the said experience.
There are all sorts of sources of pain. I think the wealthy more often have toxic family dynamics. And speaking from personal experience, those early feelings of social exclusion, of shame, are extremely hard to shake. I'm on the left and I care about everyone, so much it's painful to see the world the way it is.
Hmm? Lots of ailments do just get better if you leave them alone. That's probably the case for the majority of things that people go to the doctor for. If your knee hurts, you may as well wait a few weeks to see if it gets better before you start running a bunch of tests.
Exactly -- one of the blog posts on the page they link to has a "3 Month Anniversary Survey"
I've been following them for a while.

The community communication has lot's of room for improvement. For example the mailing list is down for over an year. The website is not really updated. All communications happens p2p over eMail or is not logged like the IRC. This is frustrating.

Their roadmap did not work out because no plan survives contact with the enemy. From what i gathered J4 and J64 were targets in which there was not so much interest. (The customer demand was for J1 and even smaller ones from fabs who want to add it to their library.)
They actually made it past J2 since J1 is available here https://github.com/cr1901/jcore-j1 . Note: this is hosted by a community member not J-Core itself.

The past development model seem to have been: Develop solution in house for client at SE-Instruments, ask if they can open source it later.

There was a push on #j-core on Freenode for a new source release last week but nothing has materialized yet.
Samsung are big offenders for this, putting the Peel TV remote on their phones, which can't be uninstalled. Recently, the app was updated to put advertisements on your phone's homescreen. Completely unacceptable
FWIW, I got the travel promotion.
There’s More Than One Way to Fight Monopoly
I’m sure if concessions were made, the protesters probably wouldn’t be as likely to do such things. Would you be willing to meet them in the middle?
People who make the rules aren’t going to want to change the status quo. Getting money out of politics is hard and I would argue it would be hard to treat it as the first step. Removing the two party system is an attainable goal prior to removing money from politics. Those in control could believe it is acceptable to have the will of the people more accurately represented through a majoritarian voting system.
That has nothing to do with chemicals and everything to do with machinery. Modern tractors and air drills can easily plant well over 1000 acres a day. A modern combine will harvest 300+ acres a day. In 1870 it took a man with a scythe and a woman following bundling sheafs to harvest an acre a day. That's a 600x increase in LABOR productivity due to machinery. None of this has anything to do with chemicals or land productivity.
You'll never get perfect behaviour from even a military, let alone a barely cohesive group of random protestors. Requiring that for allowing concessions is just pretence.
Show HN: Babashka – a sprinkle of Clojure for the command line
Incredibly, you seem to consider the process of granting equal rights to women “undermining the position [of men] in society”.

If this isn’t what you intended to imply, then the only other reading of your statement suggests that you think men have not historically held almost all positions of power in society—which, demonstrably and obviously, they have.
https://www.theatlantic.com/sexes/archive/2012/11/america-is...
Why Conspiracy Theorists Will Never Believe the ‘Official’ Epstein Story
There is a J1 release: https://github.com/cr1901/jcore-j1
> Kolmogorov randomness. A string of data is Kolmogorov random if, for a given universal Turing machine, there is no program shorter than the string that produces the string

I know nothing about this field, but it strikes me as wrong intuitively. Say that I have a certain amout of data. I can find specific patterns on it (for example, a chain of 10 ceros) that are compressible (0*10). For a large enough amount of data, that can save me enough space to include a program that can print the decompressed string in less space than the original string, thus implying my original string wasn't random - but we've then reached the absurd, because it is perfectly understandable that randomness could create locally compressible substrings.

What am I missing?
I consider it a must that code should be correctly indented, no matter the language. What I have issue with is relying on whitespace to represent scope etc. With .sass files I've had too many occasions where moving the content around between editors has completely borked the file, and without braces it's tedious to correct the indentation. This is mostly the fault of text editors trying to be "smart" about indentation, and failing miserably, but it's a pain I'd rather not exist.
Two features we're proud of with our Shopify app
The Dispute at the Heart of Cosmology
Apple is not overvalued. It's P/E is actually very low considering the amount of cash for R&D and the potential for growth they have at hand.
Currently it's bound by a lack on entrepreneurial imagination on part of its execs but has a sure future nonetheless.
> They deliberately design new proprietary adapters, eschewing already popular and capable standards, in new devices

They have one proprietary connector across all of their products that they sell, and that’s Lightning. Lightning is seven years old, was launched at a time when the alternative would be the god-awful microUSB connector, and all rumours point towards it being phased out completely for USB-C in the next couple of years.

The hyperbole helps no-one.
'..but no reasonable person would conclude that a fizzy drink would be made from girders.'

I remember the ad and did believe the claim at the time. I was pretty young then though, maybe 5 or 6?
Neat, i've been following them for years but never saw that one!
Irrelevant nitpick: pretty sure you're thinking of XKCD, not Dilbert.

https://www.xkcd.com/221/
This looks great, but it is very specific to the needs of the author. Which makes sense, if I have my own itches to scratch I should send a pull request.

I won't, because my information is already organized, but these are the features that people interested in the project should know offhand:
1. Contacts are divided between those with phone numbers and those with email addresses. You cannot have a contact with both a phone number and an email address. Or multiple phone numbers / email addresses.
2. There is no export, not even CardDav. So you cannot import the phone numbers into your phone, or export from the phone to this system. Or sync between them.
3. I pretty much stopped there, as those are showstoppers for many use cases.

Note that this looks like a great project and I am not detracting from it in the slightest. But it is a system specific to the OP's use case, not a system for everybody.
This is simply piracy. Nothing to be proud of or show to HN
i suppose that's a fair assessment to make, but for me personally that isn't how I define a God, as there are several deities within older mythologies and religions that weren't exactly omnipotent (and even mortal ones such as the ones in Norse mythology). to me, the only real quality that endows one with the aspect of Godhead is the abstract concept we refer to as "divinity", or rather some intrinsic separation of the creator from the created, as it were. now, certainly, if some higher order lab tech created the simulation, you could argue that they are indeed separate from it, and in having the power to create it, they do have the power to modify any aspect of it, but I still don't believe that imbues them with any sort of divinity. as far as I can see it, they could likely just be the same as us: a simulated being under the purview of an even higher order of complexity.

but ultimately the point for me is that I just don't believe in "gods". it's not that I don't believe that the archetypes and characters introduced by mythology could never possibly exist, it's more that I don't personally believe that there is any intrinsic difference between us and them other than just the order of complexity upon which our experience of life and reality is founded. i believe more that the idea of "God" is more akin to the sum total of all information within a given "system" (be that system a universe, multiverse/omniverse, or some even further abstract concept); not so much a demiurge or some active participant, but rather an emergent phenomena that manifests as a synthesis of all of lower orders of complexity beneath it. this does not imbue the Godhead concept with any sort of special or separate nature, in my opinion, and in fact if anything, implies that divinity in and of itself is more just a specific modality of consciousness detached from the ego and the perspective of I-ness
Here in Munich, I am about a 5 minute walk to three different beer gardens in my neighborhood. A half-liter mug of beer is usually about the equivalent of $4.00. At some more famous Biergarten I think the prices maybe are a bit more expensive, but not even like London or NYC prices.

At one, we can get fresh-made pizzas for about €10 that'll feed two hungry people or more not-so-hungry people. At one we went to last night, I got a savory strudel with a salad that was a full meal for less than €8.

I would have a pretty hard time spending $70 including meals for my whole family unless I was going to get stone-faced drunk. We go out to the local Biergarten a lot here, because I can get a beer or two for myself and my wife and we can feed the kids some tasty food all for around €35-40. And we get to socialize with others who are doing the same thing. At many there are playgrounds where the children can play and socialize with each other on their own.

It's a very humane way to live.

I would definitely be sad if we lost all of our neighborhood beer gardens.
This is wrong in terms of the web space. With the modernization of PHP and the emergence of Laravel, and continued evolution of Drupal and Wordpress, I don't think PHP has ever been this dominant in the web stack. Django is an also-ran.
Show HN: TimeSnapper for Mac is available now
Previously I told HN about the beta for TimeSnapper on Mac and many of you signed up and contributed feedback and suggestions during the beta, or responded with helpful comments in that thread[1].

TimeSnapper is now available in the Mac App Store, here:

https://apps.apple.com/us/app/timesnapper/id1456327684?mt=12

Thank you very much to the 'Show HN' readers who helped us get here today.

[1] https://news.ycombinator.com/item?id=19698363
Blackboard is awful. When I was at uni, I actually wrote a scraper to auto-download my course content so I didn't have to use the Blackboard UI. It's upwards of £100k/year too. Definitely a market ripe for a competitor!
Everything I've seen on the Taycan compares it to the Model S, but I think the Model 3 Performance is the better comparison. It looks like Porsche will win on handling and Telsa on price with acceleration and range about even. If you want a track car (or a Porsche), you'll buy the Taycan. If you want supercar acceleration on a budget but keep it to the streets, you'll buy the Model 3.

As for the headline, I think Betteridge's Law applies here: no. The Taycan is a niche car that doesn't directly compete with the S or the 3 but increases interest in battery electric vehicles overall. That's a win for Tesla, in my opinion.
Agree. Clicked on a couple of books and these are clearly pirated.
If all "randomness" of the universe rises from a one extremely long bit string which has been created once from the source of true randomness, the bit string could contain unimaginable number of zeros only and it would be still random. For example, Lotto numbers 1,2,3,4,5,6,7 may be completely random.

Kolmogorov complexity works only if we have a big sample of random numbers, but we do not know if we have such in this universe or not.
I work for a 35 person startup with hq in the valley. We are 10ppl here in Mexico (gdl) and the rest are up there.

There are numerous start ups that have setup shop here (humanapi, scalable press, grainchain, brightcove, wizeline among many others).

Given the time zone closeness and culture similarities, it is normally a win-win situation.

My company even moved someone from India who lost his H1B to work here. Apparently it's easier.
>But despite this mounting evidence, many are hesitant to take the meat-free leap. Gidon Eshel, a research professor of environmental and urban studies at Bard College, contends this attitude is largely because people question whether their meals would still be nutritionally sound.

Hmm, I'm not too sure about that. I'd say the number one reason is that people like meat, don't know about its impact on the environment and wouldn't care if they did, and are creatures of habit. The typical net-junkie is fully aware of South American land-clearing and bovine methane emissions but most people don't even remember the 1/10th rule about calories moving up the predation level scale.

Ultimately that rule is going to be the only thing that changes a lot of peoples' minds, because it means that with time something like an Impossible Burger could be significantly cheaper than a real meat burger.
Technically he's wrong, and you are right, in that there are package management systems for C++. Practically, your being technically correct does not matter.

No package management for C++ is popular enough for C++ programmers to avoid all the hardworks of manually managing packages, because there are always some (or most) packages you rely on not in these package management systems.

pip, for all its shortcomings, does include almost all of the Python packages you ever need to use. That is a significant different in practice.
I've worked in so many languages and environments in my career and Django/python/virtualenv has to be one of the least painful. I tried Rails which is very similar but feels "inside out", a good friend of mine loves Rails and hates Django and has the exact same feeling about Django.

That's kind of my point, you may like other environments better, such as React/Node/NPM but that doesn't mean Python is a horror show.

I'm quite enjoying Go though.
Well, thanks. Good thing is Bing's top results are not all AMPs. Yet.
"Works in Chrome" is definitely becoming the new "Works in IE" unfortunately. If you check the /r/firefox subreddit, there's usually a post crying about how a site only works in Chrome which is frustrating. [0]

[0]https://www.reddit.com/r/firefox/comments/c3tq22/whats_with_...
The Capital One breach proved we must rethink cloud security
Were argos around back then?
> The phone knows that the battery is a genuine Apple component, because the battery cryptographically identifies as one.

But that’s not the error. The error is the health is unknown.

To be a devil’s advocate: How do you know the health of this first party battery is good? For example, maybe it wasn’t stored properly.
I've written a lot of JS/TS over the last couple of years, and I've found that even though it may just be syntactic sugar, async/await is a major win in both how easy it is to now write async code, and how readable the code is.

Generators got us close to that, and it is a more generic feature. But over all the code I've written, I've only had one solid use case needing generators for something other than what's covered by async/await. Having a specific syntax that covers 95% of usages is very worth it in my opinion.
> "nice to know"

So true. There are tonne of Python, Java and other legacy software jobs compared to Go.

I am probably gonna have to learn Python (which I think is better than existing legacy technologies) because of this though I am not really interested.
it's nice to see that there is someone else who more or less understands my conception of determinism existing on a spectrum that can directly be mapped the the order of complexity that one is describing :)
I meant Always use Private browsing checkbox.
At this point Github needs a "report" button for repositories. I feel bad for all those authors that their work is stolen and shared liked this.
Consider that 10 years ago Ruby and Python used to be spoken about as a pair, with Ruby being the more popular one. Now Ruby is rarely heard about, JavaScript has eaten it whole and only the bones remain.