skysight-inc/HackerNews huggingface dataset:
in my experience, pygame zero works well with 10 - 14 year kids.

i run a coderdojo and we have developed a system of cards that helps the kids creating a pong game with pygame zero.

in two hours of our weekly meeting, they manage to

- install the mu editor,

- create the game window

- download an image from the internet,

- put it in their game

- move the image around with the arrow keys

mostly by themselves.

loading the image is indeed one of the big issues they often face.
but i'm convinced that it will often be an issue anyway: kids need some mentoring there.

(really, you cannot rely on the fact that they will be typing the file name correctly or that they will put the image in a specific directory, with the right extension).

this having been said, writing a full pong is much harder as in scratch.
they do need some real mentoring for the further steps.

concerning your suggestion with yeso: for our setup, providing an image through the command line is probably not an improvement.

most of our kids are using windows or mac and we avoid forcing them to use the terminal during their first steps of "creating a game with real programming".

managing files is hard...
Spring Security for the logic and password storage. I usually build my own pages for password resets and logins
> you don't stop eating when you're full - you stop eating when you hate yourself...

>>If the number of all-you-can-eat buffets drops, it's likely because society is starting to advocate healthier lifestyles in my opinion.

The last one I went to gave me a stark realization of what was taking place, I got there with 45 mins left as I was in the same shopping center going hard on upper body workouts at the gym in order to build an appetite and decided an afterwork out steam was a good idea. They were slow paced with anything but my drinks as I was sitting at the bar--which were really reasonable, $1 tea, $4 generic sake! So I ordered several of each.

My apps (veg and shrimp tempura) were most of my meal, it wasn't until the last 8 mins left for Lunch order that they dropped off another paper menu thing, but I saw the people left in the restaurant and they didn't look healthy at all. Most were obese and possibly diabetic, they had tons of sugary drinks all around them alcoholic and non alike.

I just ate like 10 pieces of nigiri (like 1/6 of the sushi I normally could put down at most ala-carte places if I'm really hungry) because I realized that this behaviour of excess is not sustainable let alone satisfying--I left oddly satiated after my tamago-yaki, regardless of the amount I ate.

Because as you said, most of the time you go to these places you eat until you have a sense of loathing about what you've done to yourself.
Yes, Dargavel Village is well underway

http://renfrewshire.gov.uk/dargavel
http://www.dargavelvillage.co.uk/

There's various warnings coming out from residents and neighbours already, such as terms of home purchase including being prohibited from growing food for consumption for the next ten years, being prohibited from digging more than a certain depth down, etc

You drive down a typical Scottish new build street, with modern homes on one side, and 2 meter high fences with 'Danger, keep out" on the other side.

But neighbouring Bishopton is an extremely sought after dormitory village, and Dargavel is built with that in mind.
Anybody with large amounts of cash. If you don’t use digital banking, they can’t trace your spending easily and that becomes something close to enough evidence to Civil Asset Forfeiture your cash.

And I don’t like your argument because there are always a few extreme dummies who justify the policies at airports, so I don’t think the “all smart criminals will avoid detection” is strong enough to mean we should just drop all screening.
The executive orders?
"... but impossible to use domain-based adblock like pi-hole since both ads and content are served through the same Google domain."

However, ads and video are not served through the same Google domain.

Further, the ads are not served unless Javascript is enabled.

As such, aside from user comments, it is easy to retrieve the non-video content without retrieving the ads. Just use an HTTP client that ignores Javascript.

Javascript is not needed to view video from the domains that serve the video.
I was thinking about it. I saw, after I commented that you added an SVG export, but did not have time play with it. I'll definitely have a look. Thank you!
The problem, as I said, happened inside an exception handler; if we had written tests for that error case, they might have passed if it had thrown a UnicodeDecodeError instead of an IOError or whatever it actually was throwing.

In defense of Satellogic, it never would have gotten off the ground using traditional risk-minimizing aerospace engineering practices. And it's arguable whether the software in question was "mission-critical" — the mission did continue, after all. My efforts to raise the bar on software, process, and documentation quality were not appreciated.
If you choose to profit off a common brand you also have to live with the fallout of that choice. You can't use the Redis name only when it's convenient and say "but that's not real Redis" else.

Those "Redis" named products were open source and now are not.
Amazon employees conduct defiance of company communications policy
> SQLite IS A FILE FORMAT with a really nice library for reading/writing to that format.

You keep repeating that, but it is just not the case. SqlLite is the name of the library, not the file format. Just see the definition on Wikipedia:

> SQLite is a relational database management system (RDBMS) contained in a C library. In contrast to many other database management systems, SQLite is not a client–server database engine. Rather, it is embedded into the end program.

It is really that simple.
Yeah, by default redirects to root URL for EU users.
Rust also gets this right: Every string and every string slice is guaranteed to be a valid UTF-8 sequence. If you slice a string at invalid UTF-8 boundaries, then – depending on the operation – the thread either panics, or None is returned.
I'm confused.

Can somebody explain who's more corrupt ... cryptocurrency touts or Wikipedia editors?

Talk about the pot calling the kettle black.
you might want to have a look at python play: https://github.com/replit/play

the same goal as pygame zero but with a very different approach.

and no WIDTH and HEIGHT variables...
My order-of-magnitude detector went off at "0.02 million", it's 0.27 million, which still makes your point

https://www.wolframalpha.com/input/?i=1.6+million+2020+dolla...
War by Other Means – Syria's Economic Struggle
Markdown Editor Built with NodeGui – Demo
While I wouldn't call the Gulenist movement a cult, they certainly engaged in conspiracies. The irony was that their infiltration into the army and civil service was supported by Erdoğan earlier, as a counterweight to the Kemalist establishment.

Turkey is the country that the term "deep state" was coined to describe. I don't know what to believe about the so-called coup.
> I'm thinking next time we go out we'll try and get the same thing and split a plate. .. and then tip as if we ordered 2 plates because I feel guilty to the server. Hah.

The server isn't the one making the food so no reason to feel guilty, splitting an entree is normal, but if you really want to help out the restaurant (assuming you do this often and at the same place) order more drinks from the bar or preferably a bottle of wine for the table.

That does more for the entire staff, than just the server who quite frankly earns way more than they provide to the operation.
I was just being honest that there are still some unforseeable difficulties, as well as mistakes that I have made. I think any operating system can present challenges that are difficult for novice users. That's why we have user groups, tech support, and repair services.
You'd probably use a custom workflow backed by lambda functions that interact with your api: https://docs.aws.amazon.com/cognito/latest/developerguide/co...
I use bcrypt to hash the user password and then store it in a database. When the user wants to log in I use the compare function of the bcrypt library. If the hashes match I set a session cookie.

I suppose if I worked on projects that wanted to support OAuth I would use Passport.js, but I don't know how much I would trust the any but the largest packages for that.
The total entropy of all the stars, 10^82, is 2^270

I love this, because the useful 256 bit string (2^256) is only 43 characters long in base64, and to get to 2^270, it is only 45 base64 characters.

I was just playing with this on Thursday, January 9th 2020 because I wanted to predict how many bits I needed to address every atom in the observable universe, which also just so happens to be 10^82. I use this example to depict the power of cryptography.
But see also /u/gwern's excellent writeup on these dramatic images: https://www.gwern.net/Hydrocephalus
This talk from the last DEF CON is good, there's stuff on confusing face, body and numberplate-reading NNs in various ways.

Kate Rose - Adversarial Fashion Sartorial Hacking - DEF CON 27

https://www.youtube.com/watch?v=jVcGZ_Ak4NI
No. There is very little overlap in technology and definitely no overlap in the teams at all.

Google’s instant messaging landscape is shit, but that doesn’t mean their email isn’t decent. And those two products have more overlap than self-driving cars and a voice assistant.
Well, no. But maybe he could have. He died young from a seizure that I'm guessing had something to do with his injury, and he famously became a complete asshole after his injury.

But that said, wikipedia suggests that he began recovering his social skills in the years after his injury. Perhaps if he hadn't died young, he could have returned to some sort of normalcy.

https://en.wikipedia.org/wiki/Phineas_Gage#Social_recovery
Combine it with a data-safety oriented systems like ZFS and your only issue will be downscaling storage without downtime (though that can also be worked around, if in slightly less safe manner, by putting ZVOLs on thin allocations on SAN)
> Discovering Which of Your Friends Are Discriminating Assholes

It's sad how something as simple as a different color can get the worst out of people
Thank you for sharing your experience!

What are the cards you mention?

Are you saying that writing a full Pong in Pygame Zero is much harder than in Scratch? I'm not sure what you mean by "harder as in scratch".

I was pretty impressed with the Pong game in 5'30" in https://www.youtube.com/watch?v=KoWqdEACyLI when I first watched it, but I suspect it might be pretty intimidating for a total newcomer.

And, yeah, I wasn't suggesting that you should pass filenames on the command line to simplify debugging. It's just that that program is an image viewer, not a game, so taking the filename on the command line is what it does. If you hardcode the filename and rely on CPython's prompt finalization, you can reduce the program to four lines, which is less even than PyGame:

#!/usr/bin/python
from yeso import *
w = Window('hello, world', (406, 220))
w.frame().copy(read_png('admu_shell.png'))
while True: w.wait()

That does have a loop in it, though.
Here is a case of a woman missing her cerebellum who also showed less effects than expected:
https://www.newscientist.com/article/mg22329861-900-woman-of...
Sandworm: New Era of Cyberwar & Hunt for Kremlin's Most Dangerous Hackers (2019)
I agree with the other commenters that victim blaming isn’t called for.

Also, I think you severely discount how many other people in this world don’t trust banks. It might be worth actually asking the question about _why_ and what experiences they had which might make them distrust such a massive industry. Putting your money in a bank is far from a zero risk proposition. Hell, putting your assets in a safety deposit box is also risky[1].

[1] https://www.nytimes.com/2019/07/19/business/safe-deposit-box...
Another thing to bare in mind, for those who are rolling their own, is how you caress those passwords from the DB.

The common approach is a simple DB SQL select. But that then means if your web server gets exploited an attacker can dump the entire password database.

The safer option is to write a stored procedures to return or modify that table and set permissions on that table so even your web app creds can’t directly query the password table. Then your web service only has access to check a single password, rather than downloading every hash on the DB.

If you can also offload the encryption/decryption and hashing then that is another step forward too.
meta: this is one of those achievements where unsubstantial comment policy is really going against human nature. my initial instinct is to just type 'holy shit' and a line of exclamation marks.
Quick and Small Drawing
Thank you! I'm trying to reign in the scope to make it useful sooner, and I'm always looking for help:

http://www.oilshell.org/blog/2019/12/09.html#help-wanted

If you don't have time, maybe you know a programmer who does, and let them know :)
> Humans can shift their viewpoint, but cameras can't.

Seems easy enough to automate
At that point, just use an actual programming language instead of a shell...
I've taken such trains more than once, much more than once, and never actually encountered anyone who who talked on the phone at all hours of the night. You're right, it might happen.

As or border crossings, in the old days I would give the conductor my passport in the evening and get it back in the morning. Not often nowadays, thanks to the Schengen agreement. But no border guard has ever woken me up. (Edit: For scale, I think I've entered ten different countries on night trains, no idea how many trips in total.)
Django-allauth provides templates, the ability to login with email, and other functionality that drastically improves the UX over what is included with Django auth. Django auth is still used on the backend.
> only if you go deeper than a foot or so of water

So, basically what any adult does when they go on the sea?

Though it seems sharks are especially attracted to surfboards , making the surfers a notable target.
There is no difference between OS level global state and framework level global state. Students and teacher are free to create clean abstractions on top of any global state. Why are we tolerable to OS boundary and not tolerable to in-process API boundary?
I'm not sure exactly what I'm imagining or how it would work, but reading this post I can't help thinking some kind of Wikidata integration could be really interesting.
The pans I recently bought came with warning about proper temperature ranges.

FWIW, William-Sonoma says theirs do too: https://blog.williams-sonoma.com/is-nonstick-safe/

I’d bet most people don’t read the directions for their pan, and if they do, they’re probably not measuring the temperature of their pan during use. They’re probably just trying not to burn their butter or smoke their oil, which happens around 200c anyway.

And you might have another reason to worry about that food fried at 200c+: many foods cooked at high temperatures themselves form carcinogenic substances.
> The problem, as I said, happened inside an exception handler;

Ah, I missed that bit. Still, that sounds to me like a problem with Python's attitude in particular, and with the attitude of many (not all) dynamic programming languages in general, and not so much with a problem of Python 2 vs 3.

> In defense of Satellogic, it never would have gotten off the ground using traditional risk-minimizing aerospace engineering practices.

Having worked for several years in the traditional space industry: Yes, I totally get what you're saying. In fact, the paperwork-heavy quality assurance we have to satisfy, which is more concerned with formalities than with actual hardware/software quality, probably would have missed that case as well.
Here's some more color on that: https://news.ycombinator.com/item?id=22157587

The summary is that I "left space" for types, but they won't be Python types, for several subtle/philosophical reasons.
Bodybuilding–The Facts You Need to Know
I read that as redHat and re-read the heading a couple of times thinking what !
New NY resolution spend less time reading about tech
Interesting to hear, I've only recently tried out Android Development and the Emulator that comes with Android Studio worked like a charm at full speeds
Wide open banking: PSD2 and us
What sciencemag quotes,

> It suggests they had a “most recent common ancestor”—meaning a common source—as early as 1 October.

what the quoted link says,

> The first case symptoms was recently reported to be December 1, 2019 5, although WHO has previously reported this as December 8, 2019 1. The estimate from BEAST is in agreement with these dates, giving a median date of December 2, 2019. This date is also consistent with prior phylogenetic analyses using fixed rates of the evolutionary rate of 2019-nCoV.
I hope that something viral just happens for your brand. Here's how to make brand impressions happen, in any case.
The comment was made about 4 months after Ian Gibbons committed suicide [1] (which I suppose caught some bad publicity).

[1] https://en.wikipedia.org/wiki/Ian_Gibbons_(biochemist)
Gives a cert mismatch warning (with a Cloudfare cert) and then show 403 / Forbidden.
Depends. Spending years researching security and finding as many possible attack vectors and accounting for those, plus, building tests for the situations will make for a very hardened system.

More eyes on security, can also mean a short time of eyes by a single person on a single problem - missing the bigger picture. Adding to the problem, security researchers are very few and very busy (I've hired). They don't have time to look at open source code, unless there's a possible reward (that's big enough).
Sorry you have to go through this. It can definitely be disorientating even for the people who stay on, as they loose colleagues.

But this is part of work life essentially, it's rare that you'll spend your whole career without being laid off. In my experience there was enough "political" movement in my company to tell why certain people were laid off.

Don't let work define who you are. Take this as the next chapter in your career where you develop and mature as a person and as an engineer.
I'm still surprised that the industry barely knows about ClickHouse.
Very few times I had the impression the be adopting a game changer technology and that's the case with ClickHouse.
We only currently use it for analytical purposes but it's been proven that it's very valid solution for logs storage or as time-series DB.
I already have in my roadmap to migrate ElasticSearch clusters (for logs) and InfluxDB to ClickHouse.
I agree with your stated goals, but I'm less convinced Go gets this totally wrong. It has the nice property that a string is a string is a string -- a slice of bytes. The only exception is raw strings which as part of source code are defined to be UTF-8.

So, while there's a tradeoff in elegance I do think it's logically very simple. I do think the Rust approach for example is more "correct", but it's also tedious to work with and I think the ergonomics matter (can't speak for swift).
> we'll extract the good parts out into something simpler

It's already been done and couple solutions exist: docker swarm, nomad. Depending on your stack complexity level.

The problem you've described arises when you try to use the wrong tool for the job, e.g. you're trying to use kubernetes for simple projects with small teams without dedicated OPS and SRE teams.

When you have large and complex infrastructure (e.g. GitLab) with complex networking and balancing level where the kubertenes like tools bring the most value you actually win by making your ops team work like a uber drivers (a little bit exaggerated) making standard decisions in standard environment. You just check the licence (certificates) and your infrastructure just work. No need for customised solutions anymore.
The hole was only 14 inches across at the beginning, and grew larger as the flow eroded away the surrounding rock. I remember reading elsewhere that it took a few hours for the lake to drain.

The drill had penetrated one of the lower levels that protruded further underneath the lake, not the top of the mine as one might assume. This gave workers on the upper levels more time to evacuate. The fact that it happened very early in the morning might also have helped.
Show HN: Tourfinder, Cheap options to your favorite artists' upcoming concerts
It is not “share icon” though, it is a general action button that contains everything you can do with the object presented.
From 2009-04-28. No activity on that bug, or on the bug it duplicates ('file' misidentifies a Postscript file as a Haskell file) for many years.

Any news since?
> (1 2 3) is syntactic sugar for (cons 1 (cons 2 (cons 3 nil)))

Not really.

(1 2 3) is a list in Lisp.

(cons 1 (cons 2 (cons 3 nil))) is code to produce a list.

if we have

(append '(1 2 3)
(cond 1 (cons 2 (cons 3 nil))))

The first is a literal list and the second one is code, which produces a list at some point in time - maybe at runtime.
They both made billions DESPITE their technology choice, and both systems had to undergo a serious rewrite later. There are dozens of other projects out there almost noone ever hears of because they turn out to be a disaster and are cancelled (I was consulting a few such cases which ended up in court, because developers were not able to deliver the product with the required level of capabilities and performance, despite using their preferred, but seriously suboptimal technology). Or they are even a business success but then their users are constantly cursing while using them. Users are often not the same people who buy software, so sometimes you can make business success despite technical inferiority of the product. Marketing often beats technical features.

> You must be very immature to think these are not technical reasons

Sorry, but this ends the discussion for me. I thought we were discussing on merits, not ad hominem arguments.
Demo: Native Emoji Search Widget Built with NodeGui and JavaScript
Not really, REPLs (all the way back to the first Lisp environments) are much more than most shells born on UNIX.

Even the best ones like Fishshell, are somehow pale to the scripting environment from Lisp Machines/Interlisp-D, Smalltalk transcript, XDE and Oberon UI scripting.

Function composition, interoperability with the OS APIs, inline display of graphics and data-structures, and just-in-time debugging.

That is how it should be.
Let me put it this way: Being able to distinguish groups is not enough. The core of the theory is that these people have a fundamentally different underlying reason for feeling female.

I'll keep this study in mind, but without more context it doesn't seem to show a difference like that on 90% of the parameters. With more numbers maybe it would... but I don't have them.

I picked those questions because they showed some of the strongest statistical results. But they also have a very obvious alternate explanation that needs to be tested.

Especially because:

"Transsexual participants were categorized as autogynephilic
or non-autogynephilic based on their scores on the Core
Autogynephilia, Autogynephilic Interpersonal Fantasy,
Attraction to Feminine Males, and Attraction to Transgender
Fiction scales."

This desperately needs a comparison where they apply the same technique to the biological female data.

(Though that the last one is really tricky, because maybe a better analogy is "waking up as a woman, as usual, hooray" fiction and that's far too bland and common to be a genre.)

> It reproduced the results of the academic study despite the creator of the amateur survey having no knowledge of it. That's some pretty convincing evidence in my book.

Convincing of some overall trends. But the theory is much more than that.

> Also, do you have any studies that show that the majority of cis women would be considered autogynephilic?

No, I haven't spent that much time on this subject before to the point of digging up studies.