skysight-inc/HackerNews huggingface dataset:
The really annoying thing is is that you can quite happily write shorter code in D than in Python and have it run as fast as C++. One of the reasons D compiles so fast is because of this - the compiler isn't even specifically optimized for speed.

Everyone seems to think that writing expressive code is slow, when really it's because Python is slow and C++ is a lumbering behemoth.

Python isn't even a high-level language, think about it - it's higher level than C but the capability it has for abstraction it gives you is really just interpreted C with classes.
Alternatively, is there a way to license music for streaming on twitch?

At least for professional streamers, that would make sense and it could align their goals with those of the music industry.
The main thing I like about smart lights is the concept of programmed “routines”. I have a large family so perhaps that makes it more beneficial.

Morning routines that run automatically:

- Turn on the bedroom lamps at a low dim level around the same time the alarm goes off. This provides a bit of light when you first wake up without being annoying.

- Turn off all exterior lights. Most are probably off anyway, but this catches any they might have been left on, or any that were scheduled to be on through the night.

- Turn up the nightlights / stair lights to 100%. In the dark winter months, this makes it comfortable to navigate from bedrooms and bathrooms without having to turn on the full hallway lights, which can be jarring and perhaps annoying to others who aren’t quite up yet. (A bit after sunrise these go off for the day).

- Turn on a few lights in the main living areas (kitchen).

Evening routines that run a bit after sunset:

- Turn on outside lights

- Turn on nightlights and stair lights at 50%.

- Turn on the bedside lamps at 50%. This provides a relaxing light level in the bedroom through the evening. Before the smart switches we never really seemed to use the lamps. (The hassle of walking to both sides of the bed and setting them at the right dim level I guess was just enough to prevent us from using them I guess).

Bedtime routines that run automatically:

- Turn off all but one exterior light.

The other thing I like is being able to control lights from my phone. When we are in the backyard playing with the kids on a late summer evening, we can turn on all the backyard lights without having to go back to the house. If the kids have left a bunch of lights on in the basement, they can be turned off with Siri “turn off all the basement lights”. I also like it from a security perspective “turn on all the outside lights” which would normally take walking all over the house to hit all the various switches.

I also have appreciated being able to add light switches literally wherever, with no wiring or holes in the wall. Want a bedroom light switch next to your bed? Peel and stick and you’ve got it, and from the outside it looks and acts exactly like a real switch. If you move the bed to the other wall one day, you just pull the switch off and stick it in the new location.

For a long time I resisted anything “smart” in my home. I found the added complexity more than offset any benefit. But with the lights, we can just use them as normal (all the switches look and act like they always did) but the automated routines add convenience and comfort while also reducing our energy usage.
Can anyone expand on the reason behind this recommendation?
Netflix consumption is 90% from recommendations page right?

So they could segregate every side into their own little recommendation bubble, if they have the content range for it. Seems to work for youtube.
You mean it's not a communist plot after all?
Parler also never had expensive real estate holdings in SF.
> it's not based on lies or misrepresentation. In each case the inciting incidents actually happened and in many we have footage.

To play devil's advocate a little: BLM's ideology (the core activists, not the average supporter) is based on a specific view of anti-racism — critical race theory. CRT is not the only way to think about race, and many would argue it's a bad way to think about it: it's illiberal, divisive, wedded to ideologically left-wing ideas about power and social relations, and not particularly amenable to evidence-based thinking. In fact, it could be argued that the CRT is a huge misrepresentation.

Furthermore, while each of the "inciting incidents" did happen, so did hundreds more involving every racial combination of police and victim you can think of. It is a misrepresentation to focus on a subset of incidents because it moves focus from the actual cause of the problem. It is not racist police. It is poorly trained, unaccountable, and psychologically unsuited police officers. You could drum every racist police officer out, make every one of them take the knee and attend endless mandatory bias classes until only dyed-in-the-wool CRT advocates are left, and these incidents would keep happening until training and recruitment undergo a radical change.

Moderate right-wing people don't oppose or fear "anti-racism" or the support it receives in the corporate world because they are racist, but because they think i) It doesn't work and can't work, ii) it's a bad diagnosis, iii) it leads to socially damaging second order effects.
Could you not say the same thing about men?
"Laws" like this are overly simplistic. There are some nasty people in the world, but not everyone is like that.
Why should anyone believe an oligarch, who has been the embodiment of top-down influence, wants "the people" to direct how society operates?

His version of "bottom-up" is heavily funding astroturf campaigns as well as more populist groups through which he can control what they do.
> So far I'm quite happy with the SaaS approach as I'm able to prioritize my effort on improving the product for customers who support it via paid plans.

Note: the two approaches aren't mutually exclusive. You may even find that the folks who prefer to self-host the open-source version are leads to even more lucrative on-prem enterprise plans.

The hard part to think about is segmentation of features between the open-source/free tier and the paid plan/enterprise versions.

Of course, this is all becomes dramatically easier if you decide there is no difference feature-wise, and the differentiation is solely in volume of use and level of support.
It has also been proven more and more true as time goes on - i.e. the FBI's recent report that Rudy Guiliani was targeted by Russian intelligence to feed disinformation to Trump: https://www.washingtonpost.com/national-security/giuliani-bi...

Not to mention this essentially public attempt at it from 2016 which for some reason everyone laughed off as "a joke": https://www.nytimes.com/2018/07/13/us/politics/trump-russia-... (footage of the moment included in the article).

Literally the only reason "oh it was just not true" is a prevailing bit of logic is because no one in power has cared to do a single thing about it, or even so much as announce that it's in no way acceptable.
X as a service seems easier at first because complexity is hidden, but it's not going away.

Old boring stacks can still go a long way for small/medium projects.
It seems like Nordic recommends their fork (NCS) which is ahead of upstream and contains more examples and support. I feel weird managing multiple zephyr and west instances...
"No, I think there's a big difference between an echo chamber constructed by algorithms that push content upon you without your consent or knowledge, and an "echo chamber" constructed by yourself when you actively curate and trim the media you consume."

What is the difference?
What Zigbee switches are you using?
The trick is not to read the tweets of the people you follow, and not to follow the people you read, necessarily:

https://lee-phillips.org/howtotwitter/
I agree with this.

If you write an application in Python that spends the majority of the time in C-based extensions – for example if I were to write a differential equation GUI using numpy and pyqt – then I think it's still valid to say that I wrote the application in Python. In fact even most of the standard library modules are written in C (e.g. zipfile, io, sqlite3) so it's hard to avoid this. You could say that no program is ever really written in Python but I don't think that's a useful point to make.[1]

But if you write a load of C code that's very specific to your application, wrap it in a Python extension, then call it from Python, then I don't think you could argue that you "wrote it in Python". If someone happened to have written that application-specific extension module for you then the situation is not materially different.

([1] A more useful motion is whether your code is vectorised. That is, if you want to do something with a data structure (e.g. mutate each element, find an element, do matrix multiplication), do you have to loop over the elements in Python or do you make a single call into a library that does the looping in C? Either way you're still ultimately going to be calling C code, if nothing else in the Python interpreter itself, but the distinction is obviously still important.)
This is accurate. The difference this time are the absurd levels of hype we have to deal with.
It would make more sense to just tax them..
My background: I am a tech architect/manager on IoT projects who designs and helps develop analytics systems. I do some basic data modeling in my role, but defer to experts to build a better model once we find some area of interest.

The actual skills of light programming (R, Python), data literacy/manipulation and some basic modeling (statistical/machine learning, Bayesian methods, time series, etc) are useful for many job roles, and I think will be considered basic skills for college graduates in the near future. This isn't new - operations research, particularly Six Sigma and quality control, have used statistics and some light programming to solve business problems for decades.

By itself, I don't see Data Science evolving the way promised by schools and boot camps. Most of the positions named "Data Scientist" (at non-tech companies) are really just senior business analysts; I work with a group of them at my company and 90% of their day to day is just extracting and analyzing various reports for other managers and directors. When an interesting (and potentially lucrative) business problem does come along, they usually outsource to a specialized analytics firm and the data scientist helps coordinate that project. (If you have a good data dictionary, a clear outcome in mind, and some basic knowledge of the field it's relatively easy to outsource the advanced work.)

st1x7 had the best advice below -- learn the basic methods and then apply them to your field. If you google "agriculture iot research papers" you'll find tons of examples of people using sensors for data collection and then analyzing the data to improve some process.

TL;DR I see Data Science melting into other roles, but the basic skills/data literacy are useful for almost everyone.
I agree with this approach. Most people who don't want to do this cite the effort required, but you shouldn't have to put a lot of effort into a polite refusal - you can literally just create an email template or some other copy/paste mechanism to simplify the rejection. It shouldn't take that much longer to refuse in this way than it would just deleting it, and then possibly having to deal with continued pokes.

And who knows, if you actually _do_ refuse with a note about $very_high_price as an alternative, they might just buy!
They did:

https://www.nasa.gov/image-feature/sept-14-1966-gemini-xi-ar...

"On Sept. 14, 1966, the Gemini XI spacecraft is tethered to an Agena target vehicle. Gemini XI command pilot Charles "Pete" Conrad and pilot Dick Gordon are maneuvering their craft to keep the tether taut between the two. By firing their side thrusters to slowly rotate the combined spacecraft, they were able to use centrifugal force to generate about 0.00015 g of artificial gravity."

Why this is not being used now ? I guess because it was not seen as a priority for Apollo and followup (US) missions as they usually took just two weeks at a maximum. Health effects of microgravity have been also understood in more details & how they can be overcome for the short flight durations.

With the ISS & missions lasting half a year (and longer for some crews) artificial gravity would indeed be more useful, but hard to pull off for a big permanent installation like the ISS,
that needs to maneuver to accept spacecraft while also providing reasonable microgravity environment for experiments.
The data science professionals my company has had on staff have been a joke. It’s similar to the wave of inexperienced developers hired in the late 1990s; employers didn’t have the skills to prove that the contractors didn’t know what they were doing, so a ton of money was poured in with big dreams.

Part of that is that they don’t understand what we do and weren’t trained. They other part is that the business was just told they needed data people.

What businesses need today are to understand what they’re interested in first, and then hire people with proven experience and knowledge to accomplish those goals.

Having a PhD in any applicable subject in addition to sufficient practical knowledge of data science, machine learning, and AI would be a substantial plus for a niche position in the industry, a non-profit, or even in finance.

Don’t give up.
Live Coverage of the Launch of NASA's SpaceX Crew-1 Mission
I have to admit I rather like the sound of 'rustafarians'. Yo màn. Be safe. Take care of your lifetime, maaan.

I would join the movement, except I suspect I already have.
I try to go to the range once a week. For one, it gives me something to look forward to all week. Two, it's an outdoor range, so I can get some fresh air. Three, it's a hobby you can really deep dive into that isn't computers, so it keeps me interested. Four, somehow it's a good release valve. I always feel a little "high," and very relaxed driving home. Not sure if it's the boom, or the focus, or what.
This hack seems to be missing a whole bunch of redis functionality that makes redis suitable for production workloads (clustering, persistence just for start). And I wonder what performance would be like once all that stuff is added in.

Still, nice and easily readable program - great for education.
I think you hit the big ones, I’d add:

1. meditation/self-reflection (could even be journaling)

2.talking with friends/family

3. Small pleasures (brewing that perfect cup and sitting somewhere quiet and enjoy it, taking the dog for a spin around the block in the evening

4. Limiting your news (e.g. just read the Sunday edition) and social media intake

5. Limit non-work/non-essential screen time

6. Go to bed and wake up at reasonable hours (don’t stay up late or sleep in a ton)

7. Eat healthy - don’t over eat, cut the processed foods and sugars, eat more green vegetables etc.
Furthermore startups aside, there's a subset of people in tech who are convinced that, if you know how to turn on a computer, you can quit your job today and by the end of the week you'll have five competing offers for $300K+. Which really doesn't represent reality for the vast bulk of people for all sorts of reasons.
Yeah, if you know the bug is there, it's often easy to write around it. Even completely ignored issue queues are useful.
Vaccines with mRNA (Pfizer and BioNTech's COVID-19 vaccine being an example).
It's like a wave, but different.
You should at least mention your policy of not accepting any bug report/feature request in the "contributing" section of the readme. It's fair enough but at least say it, because it's not the norm.
I’m sure you could invent any reason if you needed to, given this is a political question rather than a purely economic one.

For example, while I think of Apple as just a luxury goods company, the fact they make high-end phones means they are an obvious security target for anyone who wants to hack high-value individuals in general. I can easily believe some would want to take it into government ownership just for the increased government oversight opportunities alone, even in a liberal capitalist society.
Am I depressed? No. Was I depressed? Maybe. I don't know if I've ever been depressed. But, there was definitely periods in my life where I felt miserable for a long time (6 months to years). During these times-- I was listless, lack motivation, and had typical symptoms for depression. However, it never crossed a threshold where I would call it depression. Mostly because I still felt like I was in control. When I didn't get out of bed for the day, it wasn't because I literally can't. I was just being lazy as shit. Of course, that fueled my sadness for a while because I would think I can fix this, but I'm not. Thus, spirally deeper.

Eventually, I had enough. I decided not be sad anymore. I'll never be Bill Gates, Bruce Lee, or any of my heroes. And, people in the third world can never all the opportunities I have. So, I decided it doesn't matter my situation. There is always some miniscule, tiny thing I can do to improve my situation. I started waking up earlier, journaling more, and stuck to these habits religiously. They became my anchor. Now I'm in a much better place. To everyone who is struggling. I hope you find your better place too.
Sounds like this is less about whether RoR was the right tool for the job and more that no one other the implementer was familiar with Ruby/Rails (and maybe not even them).

This might mean that this wasn't the right tool _for your team_, but it's not a comment on what jobs are a good fit with RoR.
Well, wall street loves Sundar and hates Larry.

(Well, hate is a strong word)
Physical health, I would clarify. Those behaviors are not healthy at all and it's certainly not the phone's fault, as much as I would like to take a free shot at Apple.
Because it's quite hard to get more modern and powerful processors to work with a mainline Linux kernel and because of this, these processors are only working with Android.
Oh but wait!! I was wrong it wasn't the HCL and masks after all.

You're right about hitting a subject they cared about..that's right now I remember it was HB's laptop story that brought about the bannings.

Check and Mate I guess. Good luck sorting that mess out, hopefully You get a few weeks rest after the Georgia runnoffs before the campaigns start up again but I fear the media has found a cash cow in political outrage and will be milking it for every drop from now until the endof time(or twitter).
my opinion:
z-wave for lights only is not efficient - it mainly can give you dimming capability, no control over warm/cold lights or even color. plus everything is an unfortunate combination of wiring and rf. zigbee based lamps like hue or others are much better here.

however, for controlling things like heating or blinds I find it very effective in combination with sensors. It is quite simple for everone to do simple things, like setting schedule based target temperatures. and reasonably simple for a dev to do complicated things, e.g. to control blinds based on exact position of the sun around the year. plus you can always use actuators that work without the base controller, so the base controller is just an option.
You’ve run popular apps on the scale of Twitter? It’s left ambiguous, but personally or with a team that’s much smaller than Twitter? That sounds very impressive. Can you share more details?
That very much depends on the issue in question. Most of them are pro-gay rights, for example, because that is either a win or neutral for people they care about but if you’re talking about issues which have a direct financial impact (tax rates, corporate liability, privacy or workers rights, etc.) you’ll unsurprisingly find big differences. When you look at the money that the big tech company PACs spend it tends to skew towards whoever is in power or promises the least regulation, like most other industries.
The Python zipfile module is actually just that, Python. It performs well enough, with compression zlib is the limiting factor anyway.
I understand all the noted mathematics. Any suggestions for references on learning quantum theories? For most materials, I get stuck as they use notations unfamiliar to me in spite of me being familiar with the underlying mathematics.

Thanks.
Indeed, UTP5 is more or less crosstalk immune within for practical uses, STP5+ moreover so.
She addressed that specifically - did you read the whole article?
It could happen, but it doesn’t happen nearly so often. I’ve had to mute one of my best friends on Twitter, because his posts are just filled with toxic bile that I’ve never seen reflected when I talk to him in person.
Completely agree. Most of the criticism I've seen comes from people who don't have a good grasp of the platform or tools, or haven't adapted their style to the "serverless mindset".

There's definitely a new technique I've had to teach myself in order to build serverless systems effectively. Today I'm getting great results from the approach.
Show HN: Ordinary Puzzles – Progressive Web App Game Built with React Native
https://www.cato.org/blog/twitter-alternative-they-can-keep-...

To be clear, it makes sense to ban fake accounts proporting to be well known people and people breaking the law.

Banning anyone with views you dislike and anyone paroding conservatives is where it gets censourous.
Source: https://www.cato.org/blog/twitter-alternative-they-can-keep-...
uvloop also unfairly lets Python take credit for concurrent request handling performance too though, no?
You mean the story with an implausible chain of evidence that somehow winds up at Rudy Giuliani. This Rudy Giuliani: https://www.washingtonpost.com/national-security/giuliani-bi...

The one intelligence agencies are in fact definitely claiming is being targeted by Russian disinformation?
I believe all those concerns were put to rest once the modularised design of the phone was taken into consideration.

https://news.ycombinator.com/item?id=24596248
Really? I see people being banned for mocking conservatives, doesn’t sound free:

https://mobile.twitter.com/mmasnick/status/12777231528946810...
That's not fair. You picked an upside and compared it to a downside. That's like saying Google helps information flow, and farmers just want to steal your taxes as corn subsidies.
Yes it works! SMS and MMS are supported via the application Spacebar. The application got a lot of improvement last months. https://www.plasma-mobile.org/2020/11/12/plasma-mobile-updat...

Calls are also working fine.

The only "exception" being one carrier in the USA does not seem to work with ofono (the underlying framework) yet, but that issue was also with the previous UBports edition.
Hi, author here!

Copying my comment from the previous submission[x]:

This was a quite common criticism over r/Python[0] as well, saying that using C modules and then benchmarking "Python" with C isn't fair.

Perhaps it was my wording that caused this confusion, for which I am sorry, but I never meant to compare "pure" Python with C. The point I am trying to make is that, Python with C extensions can be as considerably[1] performant as C code for network or memory bound tasks.

[0]: https://www.reddit.com/r/Python/comments/awav6k/pydis_a_redi...

[1]: It's of course controversial whether 60% throughput is considerable or not.

[x]: https://news.ycombinator.com/item?id=19293590
I'm so confused why he didn't just go Phillips Hue?
This is going to sound a bit weird, but if I am in the middle of a moment of deep despair then eating something with hot peppers snaps me out of it. Something like Tabasco on popcorn, or Buffalo wings. Or sometimes just munching on sandwich peppers.

It doesn't really "make me happy", but it can remove that deep depressive feeling. Or if I'm in a good mood, it can kick-start an intensive programming session.