skysight-inc/HackerNews huggingface dataset:
Except school never thought me how to learn. School learning was always an uphill battle for me and using schools ways of learning was a hindrance to me in uni and later life. I had to figure out for myself the best ways for me to learn, but unfortunately didn’t really have a good grasp on it until much later (after uni).

Hell, I was a somewhat troubled teen with problems and when I was about 14, I outright refused to go to school for a year and my poor mother couldn’t do much to make me go :/ BUT in that time, I taught myself to program, first in Visual Basic, then in python and finally I settled on C++. Sure, my knowledge was quite limited compared to what it is now after years of practical experience and a computer science degree, but that year of self study largely shaped my approach to life, exposed me to a lot of things just because I was interested, gave me drive and ambition and set me up for a career in software development.

I’m not saying school was completely useless to me, but it was a rather inefficient way of learning the things I do find useful.

In school, I hated most subjects like history, geography etc but nowadays I’ll happily Wikipedia binge for days on end learning about the finer points of other civilizations past or present (I’ve even started reading books on Sumerian tablets), chemistry, biology, physics, maths.. I’ve recently been binge watching YouTube videos on quantum mechanics...

Then there were things I really enjoyed while in school: English essays for example were something I enjoyed writing, but I got little encouragement or help in doing so and my passion for writing fizzled out...
Tell that to all the people oppressed by the right wing shitheads that are in power in so many countries.
Yup, my parents are retired farmers and they used a station wagon + three different sized tractors, shared with another farmer. Friends of them who were foresters used a Subaru Forester. Subaru makes actual workhorses, not two-ton shopping vehicles.
Python does have a lot of problems, but it's so far the most flexible language like English.

High level programming language is meant to communicate, not to dictate the computation. Python happens to be easy to understand by humans.
Values I put in place in my startup, Futurecam
Of course! I can't distribute iOS apps outside of the iTunes App Store, but I do have DRM-free, standalone versions of Angeldust for macOS here:

Itch.io: https://metagaming.itch.io/angeldust

Steam: https://store.steampowered.com/app/488440/

If anyone nows a way to distribute iOS 6.1+ apps that doesn't violate my agreements with Apple, get in touch with me :D!
Funny, we've just launched EssayMash.com yesterday trying to accomplish what PG writes about: further exploration into essays. We host monthly essay competitions on an important topic with $300+ in cash prizes.
That principle was bullshit anyway. There have always been multiple ways to do things, the one way was just whatever the elder Pythonista deemed to be pythonic that day.
Any studies that show an increased risk for psychosis after a single dose?
That's a basic human trait.
> Most of the reverse engineering was done by capturing the communication between the dongle and a Windows PC using Wireshark

Haha that's pretty cool
EssayMash, Monthly Essay Competitions with Cash Prizes
As OP noted, given the existence of type(a).__iadd__[0] `a += b` essentially desugars to: `a = a.__iadd__(b)`.

list.__iadd__ is (sadly) defined as something like

def __iadd__(self, other):
self.extend(other)
return self

So it's possible to have __iadd__ itself succeed modifying the list in place but then the "no-op" reassignment fail.

[0] like many data model operations there's really a bunch of fallbacks depending on what is and is not implemented
Imperative loop, maybe. But list comprehensions are a sublanguage imported from Haskell and looking like Haskell, so it's somewhat natural to be surprised by mutable variables here.
Hint: there's a handy icon in the top header (looks like "refresh") that allows to easily access the footer.
A restaurant is kind of the ideal use case for this though: you don't know what you want in advance, or how much it'll cost. So here's this magic card which means you can go in and never worry about being caught short on the bill.

Like, there was definitely a status element to it but I think that's overlooking some real advantages which were uniquely applicable to that experience.
This guy's metaphor completely and totally breaks down when he begins comparing today's space agencies to China and Portugal of the 15th century.

Apollo and the shuttle weren't caravels and galleons. To extend the aquatic metaphor here, Apollo was our most sophisticated floating log at the time, and the Shuttle was our first real attempt at tying some logs together so we could ferry supplies back and forth to a little sandbar (the ISS) we created 15 feet off shore. If we ever try for Mars, we'll probably be sending our first dug-out canoe.

China and Portugal knew how to create decent and practical sailing ships. We barely know how to get into space, much less have anywhere near the technology available to exploit it properly.

And most importantly: THERE IS NO ONE AND NOTHING OUT THERE TO TRADE WITH. No developed resources and easily-available goods we can just pluck out of the metaphoric ground and take back. Everything up there has to go through a very complicated and expensive process of development before it becomes useful and profitable.

The better metaphor for the current state of space development may be if Portugal was the only human settlement in all the world, and its only watercraft were floating logs. The China vs Portugal argument might work in two hundred or more years, when we actually have the space-going equivalent of caravels and galleons, but for right now just finding a decent oar we can paddle with is quite an accomplishment.
Kyle Kotowick - The 737 MAX: Human Factors in Complex Systems

https://2019.webcampzg.org/talks/the-737-max-human-factors-i...
Truly Unique Bicycle That Walks
Your neighbor will be fine. The taxes start at 160 g CO2/km. The Vitara has between 121 and 172 g/km.
Pretty sure you just run the encryption algorithm in reverse - unpermute (split input into two halves and interleave), then reverse-map through the S-Box.
> Unfortunately, the Mac's error dialog could cause naive users to jump up out of their seat and run away from the computer in terror, because they though it was going to explode!

'''could'''?
Spirituality and philosophy are for people who can't get into actually important fields related to science, right?
I'm not convinced that we need huge proprietary time-wasters to have conversations with each other. There are circumstances in life when long TV shows may be fun and entertaining, but watching them shouldn't be expected. With my family, and random people met in places, I talk about real life that we have in common or wider societal trends. This can be instructive (about what people think) even if very light. I remember a guy complaining before an unrelated class that "computer people hunched over keyboards will take over everything". Little did he know.

You can say that real life stuff can be hot and divisive, but then pop culture can also. See how new Star Wars and recent blockbusters generated controversy and online culture wars. Handling people with opinions, and your own opinions, is a valuable skill nonetheless.

I am into music as well, as in listening to albums and records collecting, and am very happy that I don't have to know or listen to anything "mainstream" in particular. Free exploration is so much more pleasurable. I do share some of my tastes with people around me, but really a different little thing with each person.
The fact that there even exists an argument that an SUV makes sense for a school run is evidence that we're now living in the bizarro timeline.
What do you mean by "external encoding", "internal encoding", "secondary buffer"?
Recipes Dating Back to Inquisition Reveal a Family's Jewish Roots
I would say basically any cheap laptop where the hard drive is user replaceable so you can replace the spinning disk with a SSD. Doing that a cheap windows laptop becomes almost as fast as higher-end models. That 5400 rpm hard drive they put in cheap laptops are really the thing that makes them super slow.
I replied directly to you sighting the specific reasons this is non-performant in an RDBMS, and you simply ignored it.

There is also nothing to disbelieve about the system described in the parent comment. It a perfectly sound design pattern. It’s just not an RDBMS. It is a system that uses an RDBMS as an object store, and then uses external systems for enforcing ref and check constraints, schema definition, querying, mutation and consistency. If you’re just using collection of RDBMS to store objects, and performing all other operations in external systems, then RDBMS design constraints are mostly irrelevant.
Grip, a class oriented fork of a famous Kemal framework
Hah, I know, I meant to play your game. Thanks!
https://www.google.com/search?q=Twin+Primes+conjecture+was+p...
The warp drive warps time/space. For it to work consistent time and space would have to be consistent in the universe. When you press your accelerator you don't expect the same reaction going uphill or downhill.
An attacker would have to set such a flag before the binary was loaded, meaning they've already achieved code execution (and syscalls).

This feature is yet another layer of defense against remote exploitation of a currently running program (for example, a web browser). It complements things such as ASLR, stack canaries, the NX bit, ...
> In some cases they even decide on the colour of pupils' underwear.

Wow, Not to be judgmental, but maybe Japanese schools are a bit too strict...

I've never seen evidence that strict discipline creates good humans. Last I checked modern pedagogy teaches us otherwise.
Thanks! A slight word of warning though, something that also came up during yesterday's livestream:

I've been really lucky to be able to successfully fulfill my childhood dream by making this game. But like Freddie Mercury sung: it's [not always] been a bed of roses or a pleasure cruise. I've sacrificed progress in other areas of my life to see this through to the end. I hope to catch up there starting as early as next year. Nonetheless I definitely wouldn't be the same without having taken on this adventure. I've grown so much as a developer, an entertainer and even as a person by creating Angeldust.
katana zero
Most SUVs on the road that I see in the UK look like they probably have less space than an equivalent car - and that's without abominations like 'sports' SUVs (which seem the most pointless vehicles every invented).
Yeah, current versions of Python feel like Guido and the rest changed their minds about what they wanted.
That's what's being done, the tax is based on CO2 emissions [1]. And this tax is symbolic as the sales of cars exceeding 172g/km (the tax threshold) are only 1% ( 10 000 and 15 000 vehicles in France) of the cars sold each year [2]. Indeed most SUV won't be concerned (Even a fat and quite luxurious SUV like the Audi Q5 is under the threshold) , and based on what I read only affordable "sports" cars will be.
Much ado about greenwashing.

Tax rates
173g/km : 12.552€
174g/km : 13.109€
175g/km : 13.682€
176g/km : 14.273€
177g/km : 14.881€
178g/km : 15.506€
179g/km : 16.149€
180g/km : 16.810€
181g/km : 17.490€
182g/km : 18.188€
183g/km : 18.905€
184g/km : 19.641€
185g/km and more : 20.000€

[1]https://www.autoplus.fr/actualite/malus-CO2-plafond-taxe-bar...

[2] https://www.lesechos.fr/industrie-services/automobile/le-sup...
> there should be one-- and preferably only one --obvious way to do it.

Yes, this has been one of the hardest balance to find. And believe me when I tell you the community tries very, very hard. But it's a difficult problem: making the language evolves fast enough, but keeping it solid and stable. Very difficult indeed.

> Python became a language that can be really hard to read now.

Not in my experience.

My job involve going a lot from company to company. I see a lot of code, from a lot of different people.

The way people write Python hasn't change much during the last 15 years.

In fact, I'd say because of Python 3, there is less cruft all in all.

You do have a few heavy stuff. E.G: asyncio or the type hints. But how many code out there uses that ? Very little. Mostly, the code that needs it.

Which is good. This is what we want.
> If you can find a new approach into a big but apparently played out field, the value of whatever you discover will be multiplied by its enormous surface area.
I'd almost consider this a subtle bug? None of the other += operators returns a value.
I think HN needs an obituaries section. I'm not kidding.
What if pessimists are less likely to engage in self-preserving or self-improving behaviour (because why bother), creating a self-sustaining negative feedback loop?
I think you can, but I wonder if it's possible to separate the positive role of religion with what makes it toxic, even in secular form.

In particular, I think one of most toxic aspects is exclusion. If a person doesn't conform to a certain set of ideas or lifestyles, then you're not welcome to participate in the community. In extreme cases, exclusion could even mean execution. Our history (and present) are full of examples of this, which is why secularism and separation of church and state are such important ideas.

But at the same time, this known conformity to a shared set of ideas is what creates such a strong community. Even if a person is a stranger, you generally know how to interact with them if you have a shared religion. This eases social interaction and helps create a foundation of trust in larger groups where you can't intimately know every person. In fact, the tighter you constrict what people are allowed to believe or how they're allowed to live, the less unknowns and the greater the benefit.

Of course, this creates some horrifying situations for people can't or won't conform to the rules of the community around them. An obvious example is homosexuals born into religions that don't see that as an acceptable lifestyle. At best, they spend their lives in a state of constant shame and self-disgust, maybe suffering under clumsy attempts to "pray the gay away".

This is the first time I've tried to put words to this idea, so I may not be expressing it well or hitting the truth quite right.
Extensive discussion yesterday: https://news.ycombinator.com/item?id=21858962
Using Windows as Web Developer
Python 3 supports typing. The integration with VSCode is also nice.

The following is valid typed code and my personal favorite WTF:

def func() -> int:
return True

Because: https://github.com/satwikkansal/wtfpython/blob/master/README...

I understand the decision that was made in the python 2 era.
Nowadays Boolean shouldn't be a subtype of `int`.
It goes against the zen of python:

- Explicit is better than implicit.

It actually happened because I was using the new walrus operator (which I like).

def calc(input: int) -> int:
return input // 3

def func(input: int) -> Iterator[int]:
while input:= calc(input) > 0:
yield input

*edit: code layout
Hobos have Hieroglyphs for comunicating things about an area
+1 to Katarina & Aggelos for creating and sharing this with us!

I often need graphics like these and my design skills don't match Katarina's so I am really thankful you give us the right to use the work in commercial projects as well.

Have a great time with your beloved one's and hopefully some awesome food :)
Lessons Learned from Launching on Product Hunt
They probably didn't, because back then the kid would be allowed to go to school on their own.
Indeed, reminds me of :
One day In 1939, George Bernard Dantzig, a doctoral candidate at the University of California, Berkeley, arrived late for a graduate-level statistics class and found two problems written on the board. Not knowing they were examples of “unsolved” statistics problems, he mistook them for part of a homework assignment, jotted them down, and solved them. (The equations Dantzig tackled are more accurately described not as unsolvable problems, but rather as unproven statistical theorems for which he worked out proofs.)

Six weeks later, Dantzig’s statistic professor notified him that he had prepared one of his two “homework” proofs for publication, and Dantzig was given co-author credit on another paper several years later when another mathematician independently worked out the same solution to the second problem.
With the new walrus operator you dont need indents anymore. You can write everything in one line in an array:

e.g.

y=0
for i in range(10):
x=i+1
y=y+x*2

can be written as:

[y:=0] + [[x:=i+1, y:y+x*2] for i in range(10)]

The square brackets are the new curly brackets.
Yeah, let's bring down one of the few candidates who is actually treating climate change seriously with a bunch of nitpicks. Nevermind Bernie Sanders and Elizabeth Warren wanting to shut down the entire nuclear power fleet.
I think Python’s direction changed when Guido moved to Dropbox. Suddenly he was working on a million-line Python codebase, and started working to make the language more suitable for programming in the large.
The real WTF here is that you are getting a power output from thee ^ operator, when it actually does xor. Indeed, I've never seen JavaScript mix up operators :)

/s
The title is a duplication of effort from the message. Devs just write a good message, generate a perfect title from that and the context of the commit itself.
> And beyond that, this simply is a misconception and myth perpetuated by uneducated people. ADHD patients calm down when they take Adderall because they’ve been on it for years and have a tolerance.

Hmm I have to disagree here. Even with my first dosage of Concerta (Methylphenidate) on no tolerance, I started feeling calmer. Like a lot of the chatter in my head got muted and I stopped jumping from thought to thought like a pingpong ball. This experience matches with other friends that have ADHD.

On the other hand when I give them out to friends for trying more often the other person ended up not being able to concentrate due to restlessness or wanting to do a lot of things at the same time (kind causing similar things that it gets rid of for me)
My Scientific Attempt to Write Like GPT-2
HTTP: //Thesupplementcop.com/Boostx/
BoosTX Review
Are there any side effects on it? :
Alpha Testo boost is absolutely facet effect unfastened as it's miles an organically composed product and incorporates no aspect that isn't of the herbal category. doctors have tested them properly earlier than use, which tell us that this product is absolutely natural and genuine. additionally being medically certified, you need no longer worry at all earlier than using it.
how to use? :

http://thesupplementcop.com/boostx/
https://www.youtube.com/watch?v=CaMdn0ZVQBM&feature=youtu.be
https://ideas.woocommerce.com/forums/242671-free-plugins/suggestions/39310480-http-thesupplementcop-com-boostx
HN isn’t able to render two adjacent asterisk, so I had to make do.
THIS. So many people don't realize that true innovation cannot come from existing data.
Even more fundamental is the nonlocal/global stuff required in order to avoid declaring your variables. Many people are surprised by what this snippet does:

a = 0
def f():
print(a)
a = 1
f()
f()
Good follow-up question! As for the read state, you're already golden in the sense that you only read data and don't update it. If a chunk needs world or entity data from a neighboring chunk—or even halfway across the world—you can just follow pointers there and you know the data is available and accurate.

For the write state, you're absolutely right that entities will need to transition between chunks. The server looks up the destination in the "active chunk set" I mentioned and then uses per-chunk std::vector<>s guarded by a mutex to push "migrating" entities. This requires a mutex since multiple CPUs/cores/threads/chunks can be pushing entities to the same destination chunk. These mutexes largely have zero to little contention.

Does that answer your question in an acceptable way?
Wow that first paragraph is an explanation I never heard before but nails the concentration part of ADHD
That's pretty much how protectionism works in the EU: tax sectors where local manufacturers are weak, by means of "environment" protection taxes, "quality" standards and so on. Meanwhile, east Europe is full of used German cars which pollute heavily and are a danger to public safety. Governments in some countries tried limiting imports from that country, and they have been punished by the EU. But the EU has "high standards" when it comes to non EU vehicles.
Trouble with "stage" is that is collides with the "stages" in "multistage programming" - so you're kind of adding to overloading in another field! It's also a field that has lots of applicability to the front-end space (eg. server-side rendering, Svelte, etc.)
It's windows and not the hardware. I've never seen an issue with android though, so I'm not sure what you're talking about there. In that case it has been hardware, both Samsung and Google, usually with overheating chips. I still prefer the Android world though, I find the products more intuitive.
Who do you think sells to consumers?
The licence itself is fine. Calling that licence "open source" is what's questionable. It's almost like taking a term laboriously established by others and claiming it your own.
LSD is used in ridiculously minute quantities, with standard doses measured in micrograms (millionths of a gram). It's astonishing enough that this can have a profound effect on the brain, but it's highly unlikely to cause physical damage to larger organs like the heart.
science is for people who can't get into the real important field of life, like spirituality :P
I agree that it's not a large suv is not needed, but ford, fiat and some others don't. They are stopping making smaller cars and making more suvs because 1: they make more profit, 2: customers want them and 3: profit... the customer want part is kind of silly since if you wanted a mondaeo (medium family sedan) and now it's not for sale, only option is an suv. All these stupid cross overs are there for money making.
I've heard the idea that somehow "front-loading" doesn't work. For one thing, it does. I have done it, repeatedly. I have rarely heard people have success without devoting a lot of time on "front-loading".

You have to learn the grammar rules somehow. If you want to do it through assimilation, as supposed to somebody telling you how it works, well, that's possible but takes a lot longer and is more error prone.

I'm not saying you shouldn't do "output" exercises. I'm just saying that in order to learn information, you better receive it somehow. And you can receive that information either in an orderly fashion ("front-loading") or in a random incomplete fashion. You can't guess your way through language learning.
Both you and Exuma: thanks for the down to earth answers! I'll give it my best shot.
The depressing thing is this type of kiasu parenting actually takes the child further away from success. Children learn through play. A good technician doesn't make a good inventor and let's face it the people we remember as successful are all in the inventor mould.
What do you think each(), map() and filter() do ?

But even without that, I'm not saying they are comparable. I'm saying the same API will use explicit anonymous callbacks in JS and something else in Python (decorators, subclassing, protocols, generators...). I'm saying that the same API will use __iter__ in Python and something else in JS (type conversion, proxy object, explicit method call...).

E.G, this is a Python pattern you'll find in contextlib or in pytest fixtures:

@somekindofregistration
def foo():
print('code that runs before')
try:
yield
except Stuff:
print('Error handling')
print('code that runs after')

This uses Python iteration mechanism to run code at 3 different times in a life cycle.

While in JS, you would pass 3 callbacks.
How to create an app like TikTok