skysight-inc/HackerNews huggingface dataset:
> All the performance critical code is implemented in C.

Isn't this why people like python?

Just glue together some libraries that someone else has written and then you write a viral blog/twitter post about your <insert trendy thing> that you wrote in just 10 lines of code?

Seriously is 't this the main reason people use it? I.e. it has a big library of stuff so it is easy for beginners and/or non-programmers to use?

I'm struggling to think of any other reasons to deliberately pick python to start something new in, although it is at least a bit more same now with types.
What are "ml" features? Do you mean FP features?
Show HN: I Created a Course on How to Create Your First Virtual Reality Website
I think you're both right.

I find it hard to imagine successful data scientists who don't know SQL.

OTOH, I find it hard to imagine (even though I've met some) successful data scientists who only know SQL.

I suppose it's necessary but not sufficient.
> It’s entirely possible that separated from the people they usually fight against, and isolated in their own platform, conservative voices, people who have made careers out of rhetorical conflict, will begin to fight among themselves.

The same is true for the left, isn't it? this will just increase the social bubbles we live in. Now instead of different recommendations and content shown in an app, you've got a different app.
I think that’s getting the cart and the horse back to front. If the fundamental substrate is math then to me that means reality is made of information.

I believe mind is a particular form of process on information, but that doesn’t mean all processes on information are minds. This IMHO is the fundamental error at the heart of panpsychism.
Azure Alerts – Secure Webhook – Azure Functions with Authentication
A friend reached out to me wanting to know how they can make their own virtual reality website. I looked around and found a few outdated blog posts, so I put this together to dump the basics of what I've learned working with WebVR websites since 2016.

It's a beginner friendly guide that walks through what a virtual reality website is made of and how to make your very own, host it for free, and visit it in VR!

I reached out to a few people already, but if anyone is interested I'd like to give you free access in exchange for an honest review. https://learn.metavly.com/
Well yes that’s always been true, but has nothing to do with the economy.
Similarly, in Ireland where we run 230VAC single phase, three phase 400VAC allows up to 22kW to be delivered, which is about to become extremely useful as we migrate to electric transportation.

Also, on safety, I don't know the statistics, but subjectively, electricity feels much more dangerous in the US because of the plug and socket design.
There is another side of this. Unemployment. Unlike 2000 or 2008, right now would be a terrible time to start a software business because jobs in software are plentiful, wages are so high. So you have to take out bigger loans with more risk and paying wages doesn't produce assets that can be put as collateral. It's a great time to find ways to utilize lower skilled labor somehow, but not for anything that needs top talent.
> country/federation that introduced the concept of self-determination doesn’t allow self-determination for its constituent states

Individual self determination.

If a local majority secedes every time it wants to trample on a minority, or in the case of the civil war, an oppressed majority, two things happen: one, politics devolve into fractured feudalism. Local elites have a mechanism for wresting absolute control. That, not the Constitution or a Bill of Rights or elections, becomes the basic unit of power.

Two, our two-plus century record of peace on the homeland shatters. Every election or court case found unseemly by a contiguous local majority prompts a Twitter and existential crisis. Foreign adversaries hammer the wedge and split the nation into warring vassal states and too-small-to-matter opposing countries.
Linux Command Line Authentication Service
Developed an application uses Typing DNA authentication services, a service that captures user typing pattern to authenticate the commands that a user wants to run and if verified then it let them execute them.

Demo: https://youtu.be/J__W6lRfKM0

Github: https://github.com/anmolss111/TypingDNA-Hackathon-2020
Hey black cat, I have some work in preprint for a NeuroIPS workshop, demonstrating negative results of different audio distances on pitch tasks. There is one particular w2v result I'd like your feedback on.

Do you mind emailing me? Lastname at gmail dot com (see my profile for my name)
Older models might have 2 lights. Some motorcycles might have only one.

"gives legal grounds for a traffic stop but doesn't really justify it."

What do you consider justification? According to the law and police regulations, it would be justified. Logic also supports the idea that if there is a law on the books, it should either be enforced or removed. In this case the law has the purpose (as almost all traffic laws do) of promoting safety.

"circumvent the default protection against unreasonable search and seizure"

How so? As I stated before, the law's purpose is to promote safety. Also, when you sign your registration card or driver's license, you are agreeing to obey the traffic laws. This isn't just some made up excuse to violate people's rights.

"can't we find a way to hold these people accountable that doesn't involve a face-to-face encounter with an armed officer?"

We already do this for some infractions like red light cameras (what a disaster) and speed cameras. It's possible this could be expanded further, but probably wouldn't be able to fit all driving laws or areas. Also, what's wrong with the officer being armed? This shouldn't have any negative impact on the stop and should be reasonable since there is a likelihood that the person could be armed too, which most of the time is not also not a problem.
Project Bicep v0.2 for Azure Deployments
I am not sure that letting people exist in their own self-validating echo chamber is a good thing.
Measuring DevOps
"free speech" of this type also doesn't really exist on the internet - because bots are a thing. You can't have a digital equivalent of a town square because whatever else you do, it's simply not possible to create in-person pseudo-anonymous supporters.

But on the internet, this is easy - it's a damn service you can buy and it scales on the orders of 1-to-1000 or (usually much more) voices.

CAPTCHA's don't solve it - because this is also a service - breaking CAPTCHA's by the hundred and supply account keys in bulk.

You simply cannot have a digital space which works like a physical one, and as such you cannot meaningfully not moderate it because human participants cannot out-pace bots and sockpuppet accounts. Facebook's entire, unearned initial trust was because notionally it solved this problem - people forget it was initially limited to student's with student email addresses at school's it knew. It was very much, initially, exclusive enough that it kept something of a lid on this problem.

The feeling about it has persisted far beyond the now non-existence of this mechanism.
You get some things wrong when designing a huge project ahead of time.
Who tf would pay to read this crap? Paywall
Exercise and sauna are truly essential for me and I happen to live in Finland so the latter is very accessible.

I notice how my mood goes down quickly (specially approaching winter) if I don't exercise even if other parts of my life are ok. It doesn't matter that I have some nice goals set, good books to read, side projects, nice games... I just feel very apathetic if I don't do it.

Oh yeah and no alcohol and definitely no coffee.
>It’s a magnificent tool for staying up to date with a narrow topic like a niche technology.

A blog/website with an RSS feed is even better, IMO. And for in-depth discussions traditional forums (or even subreddits) beat Twitter easily.
Twitter is the king of low-effort posting.
It's a bit like they're making a fantasy second reality where stuff like

>All of the mechanical “glitches” that took place on Election Night were really THEM getting caught trying to steal votes. They succeeded plenty, however, without getting caught. Mail-in elections are a sick joke!

is true. (recent presidential tweet). Not quite sure what the endgame is.
Yes, it’s probably fast enough to be perfectly usable.

The point here is that implementing new features will be impossible, because this relies on an existing implementation that is not in python.

It is therefore not a proof that arbitrary high performance applications can easily be written in python.

It is simply an example of how high performance applications based on existing implementations someone else had written in another language can be wrapped in python.
How does anyone learn this stuff?
It takes 10 minutes to have a website up and running with a service like Bluehost but getting an html page to run on ec2 is many magnitudes harder

Even after following the tutorial as closely as possible I keep running into unforeseen errors and this requires reading more old, incomplete tutorial that do not fix the problem or create new ones.

how do people learn this stuff. Something as simple has hosting an html page is way harder than I expected. or unstuck themselves. These tutorials are not working because they are either old or I run into problems not encountered. It is always one problem after another. Never ends. I'm guessing that companies that need ec2 hosting will pay someone to set it up? There is no way anyone can do it themselves
I've seen a lot more discussion of Ruby recently than in past years, and maybe I'm just finding what I'm on the lookout for, but either way it makes me happy :)
GP didn’t reply to your comment, they replied to mine. :)
11 cases is not an epidemic, it's an outbreak.

"a week after the U.N. health agency declared the African continent free of the wild polio virus."

Why do you think the U.N. was able to declare the continent polio free in the first place? Because of strong wishful thinking? Or because of vaccines?

See, that's the thing that enrages me. Here we have an "epidemic" (it's not) that was caused 11 cases of polio - after the virus was eradicated on the continent with the help of the vaccine. An outbreak that wouldn't even be a blip on radar if not for vaccines.

For heaven's sake.
Reminds me of something I read in Roy Baumeister's book "Willpower" [0] about a explorer going on expeditions. No matter what happened, he kept shaving daily. The blade might have been blunt, he might have been sick, they might have been going hungry but no matter what, he shaved daily.

Edit: I was right about the source [0] and the explorer he mentioned was "Henry Morton Stanley".

[0] https://www.amazon.de/Willpower-Rediscovering-Greatest-Human...
Yes. I've found that maintaining synapse is a nightmare. Overall I like matrix, but I have rage quit running it multiple times over the years.

I have a 256mb vps. It is running inspircd, atheme, znc, bitlbee, ejabberd, mumble, biboumi, and xmpp.js. Plus some non-communication stuff. I ssh in maybe once a year? I have to actively remember to go check on it because it never gives me problems.

I have a 2gb vps that runs synapse. There is always something wrong. Using all of my cpu. Using all of my ram. Using a ton of network. Generally slowing down everything else on the vps. Sometimes synapse crashes or doesn't come back up after an update or reboot. I gave up trying to dig through the gigabytes of log files that are produced. Why am I out of disk space? There is a 25gb table in postgresql for synapse that is... I dunno typing events or something. Don't worry though there is an api endpoint that might fix it. Good luck. I have 5 users.

A year (maybe 2) ago I gave up on federation and I'm just running synapse with sqlite. There are a lot less but not zero problems.

I've actually considered the idea of trying to set up bifrost to log into my xmpp server to use biboumi to connect to bitlbee running purple-matrix so I can join the matrix and synapse rooms on the matrix.org server using my matrix.org account. That fact that I've even thought that is insane. As crazy as it sounds I really do (sorta) actually believe that it might be more stable for me.
All the reasons you list are indeed reasons to use Python, but none of them require performance critical code to be written in C.
It must’ve been my imagination all the times that Twitter, Facebook, YouTube, etc banned conservative accounts the same day. Several times.
Although cPython and Redis hashtables are both implemented in C. cPython's open addressing based hashtable[1] is far superior to the simple chaining based hashtable[2] in Redis. Python's performance is heavily dependent on the performance of its hash table implementation that it has been optimized over and over decades now.

[1]: https://github.com/python/cpython/blob/master/Objects/dictob...

[2]: https://github.com/redis/redis/blob/unstable/src/dict.c
Sorry to hear it. One technique that might be helpful is to imagine a point in the future where things will in fact be better and how you will look back on this as just a period that really sucked. It also helps to think of another difficult period in your life and how that one was also followed by a much better period.

Also try to remember that the pandemic and the political rollercoaster are a shared burden. You are not alone in those.

It's easy to get into a cycle where negative habits perpetuate themselves. Try to reorient your daily habits by setting one small goal a day and achieving it. This creates a positive feedback loop and reinforces the idea that you are in control and that you have agency and can effect change.

Lastly I would recommend daily exercise of some sort if you are not doing so already. Anything that provides a bit of an endorphin blast can help break a negative thought cycle. Even if just for a few minutes to start.

Small building blocks like these will reintroduce positive and optimistic thoughts back into your mind.
What if there are ten variants, all with slightly modified wording, allowing knowing immediately who leaked it?
Speak to a same person regularly about other than work stuff, even if that person is a stranger on internet. Colleagues does not count.
Go for a run. Doesn't need to be fast - just a gentle jog for 20+ mins will do. Enough effort where it would be difficult to talk in full sentences.

There is something about it that kinda resets the brain and it can be quite meditative.
True. Bad economy is a skillset/industry based thing. I wouldn't characterize tech workers as being in a bad economy right now.
Ask HN: Which tool do developers use to manage Users/Groups on Production Linux
Do the developers manually manage the users/groups and their permissions by running manual scripts on each of the production servers or are there any specific products/tools which they use to achieve this goal.
Wrong on all counts here.

The author (and most FOSS maintainers), as they explicitly called out in their article, are making the software for themselves, and making it open source because it's the nice thing to do. It follows that any bug that doesn't personally affect them is not something they need to care about.

There's no greater good of "caring about fixing bugs" here. To quote the MIT license: the software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement.

You were warned.
We already do this for speed cameras and red light cameras (a disaster). The main problem with just sending a notice for other things would be providing proof of the infraction. And even then, there would still be situations where the the is a safety concern that would be better met by stopping the person (stuff like DUI for example).
> This may surprise you but the vast vast majority people are joking about the likes of the lizard people.

Exactly. Today's social media is a humourless place. No-one can take a joke, or perhaps even see one.
> While I feel bad that you had people treat you without respect, I don't think turning issues off is a sign of a serious project that should be used by many people in production (even if the project itself is nearly a work of art).

For some people, this is a good thing.

> You don't have to resolve all open issues but closing an issue tracker the outright signals "I don't care if you have problems and I do not intend for this software to be maintained in any sense of collaborative fashion here on Github". Above all, such behaviour signals to me that there is only 1 person making commits / merging PRs and they are kind of tired of OSS (which is fine, by the way).

I think it's more nuanced than that. It's perhaps more "I care if you have problems only if you have put in the effort to try and fix them. Then we can work together on getting it fixed for everyone".

"Issues closed, PRs welcome" is a perfectly reasonable way to run a healthy project.
Can someone list productive smart lighting features?

I mean: I get smart heating. I get smart ovens. But smart lighting? I can't think of non-gimicky functionality that can be solved by a occupancy sensors.
Is there a way to save comments on HN? This is worthy of a save.
Historians actually point to Vietnam as the point when the average American gave up on their government.

Once that happened, the government gave up on the average American, allowed middle class jobs to disappear, and spent more time joining global virtue signaling parties and subsidizing bombs in Yemen than fixing lead pipes in cities.
It has no effect unless it lowers the SNR too much and errors can't be corrected. Try wrapping RG6 a few times around a thick, active AC line. I saw that a few times back when I was a field tech.
No more trending topic suggestions. Apparently nothing happens in burundi which is great. It also stopped suggesting me local politicians but i m not sure it's related
Isn't it management's task to reign that in? Aren't they responsible?
Well put - I'm going to start using this analogy myself.

The only people who matter to a project are contributors and customers, and mostly the former. A smart maintainer invests 100% of their energy into this group, and 0% into the leeches. The software will obviously be better if you invest your time and energy into the needs of people who give back to the project.
I'm not one for comprehension, but are you stating that if China prefers to have Biden at the helm, and if he wins that they colluded to get him there? Quite the gymnastics friend.
I’d rather take the humble exploratory academic than a cocky programmer. Just as an example he writes:

“ Unfortunately many programmers, due to their lack of experience, of some knowledge of computer architecture(s), or of an in-depth understanding of the task they are given, spend countless hours by making life harder for themselves in the name of marginal performance gains, often trading many other conveniences (such as type safety, garbage collection, etc) too.”

And then he himself doesn’t use type safety making the text very superfluous. As others have brought up he then uses pythonwrappers for the heavy lifting. It’s just a very shallow thought process that you are supposed to hammer out in the university.

Modify the README to just say: I wanted to scratch an itch so I built PoC for a Redis alternative, and it would have been an amazing achievement. Now? Not so much.
A perspective from a backend developer who is spoiled from working with very good programming languages:

> Why isn't React still using `createClass()` and mixins? Why were ES6 classes and hooks invented? Why did JS add arrow functions and `async/await`?

Sorry, but all of these are mistakes. I predict that hooks will not survive the battle of time as well as react as a whole will. Arrow functions are mere syntatic sugar, but async/await was a mistake.
Why on earth would you put a demo front and center that shows your software doing a terrible, terrible job?
I had to accept recently that anything trying to emulate Twitter will suffer from the same problems. I wrote about it: https://kyefox.com/2020/09/17/mastodon-shows-its-stripes/

Since then, my favorite instance was killed by a bunch of irony-poisoned instances ganging up on it to convince others it was a toxic hell (projection!) and defederate from it. The instance was basically dead within a week as people migrated off to avoid losing contact with friends on the fediverse.

https://twitter.com/DamienGranz/status/1314710715635204103

It's not much different from people ganging up on someone on Twitter to report them into an automated suspension.
It’s sad because these companies had a very easy solution to activate once we got in the season.

Simply limit how far something can go viral. Let any family photos take precedence. Let at most 1000 people view any news article, and shadow ban the rest.
It's a constitutional republic / representative democracy. Republics and democracies aren't mutually exclusive. It's certainly not a direct democracy, but that doesn't make it not a democracy.
I was also 12 and found a magazine (ala SciAm) which had a small program snippet to compute a number in it. My buddy knew enough to tell me that it was Basic and my computer came with QBasic.

I didn't have anyone else to ask, didn't know about any computer clubs (and didn't think to ask). So I got very familiar with the built-in help. Spent hours looking through the help until I found the one I needed.

Didn't help that I started learning English only a year before, so had no idea what most of the help said anyway. I vividly recall spending a week figuring out how to loop indefinitely. Finally I got to "while". Was so pleased when it worked.

A bit later my buddy got a modem, and with that BBS access, so he downloaded snippets for me and programming articles, and things accelerated.

On the bright side, finding and reading documentation is now one of my strong points. Hanging on IRC I could usually help others within minutes with libraries I'd never even heard of, simply by diving into the documentation for a bit.
I really don't think Twitter's problem is "not right-wing enough". Woke Twitter hasn't produced any great thinkers, because the core concept discourages it. Conservative Twitter would be the same. In fact, modern conservatism seems to mostly be paranoia.

If I was going to make a social media platform (I know, this is YC... it's not my sphere of interest but maybe it should be), I'd rate limit everyone to one post per day. I'd also ban short (<500 words) posts. Lincoln needed 250 words, MLK 400, you're not as good an orator as either of them and you can, and therefore should, provide citations in written media. Readers can freely highlight unsupported claims, and annotate - annotations need to be accepted by the author to be visible, but highlights do not.

Let's encourage thought, research and yes, silence. Listen first, then only say things if they are worth taking a long time to say.

Making money off this is left as exercise to the reader.
The fruit-juice drinkers, nudists, sandal-wearers, sex-maniacs, Quakers, ‘Nature Cure’ quacks, pacifists and feminists are all behind Big Vitamin D.
Basically, this is the structure that the GDPR mandates: the data controller (entity that processes data on behalf of the customer) is liable for data security breaches, regardless of whether the breach occurred at themselves or a third-party data processor.

Eventual fines will also be shared by them, and the ratio will depend on how diligent the controller was in selecting and auditing their data processor(s). Exactly because it's too easy to outsource your exposure risk along with your customers' data.
Personally I think we all lose in this situation, the community included. E-mail should always be an option.
Thank you.

If that's the case, why did the bioweapons expert I cited, think that DIY bioweapons don't carry great risk ? What's the missing piece, the thing that when DIY guys or terrorists gets a hold over, we should start to really worry ?