skysight-inc/HackerNews huggingface dataset:
I've never looked deeply into this notification thing but people seem to conflate saving the battery and having only one notification server.

If energy used by firing up the CPU frequency plus the 4G radio to send some packet is the main battery drainer, why not just synchronize the poll of multiple notification servers?

The CPU will be waked up, a few data packets will go to a few notification servers, then in the common case of no notification everything goes back to sleep.

If it's the network that wakes up the phone when some packets are there (as WiFi energy saving does), if synchronized in time (NTP goog enough) it should also work and be energy efficient.

Probably naive, curious about real world measurements in this area :)
Yes. Start from the latest stable and don't look back

You can use tools like six to port python 2 to python 3 which should cover 90% of the code in small scripts
gasp

YOU MEAN THE SLAVE OWNER POINTED TO THE CURRENT LAWS TO DEFEND THEIR POSITION!?!??!

Well that worked out well in terms of their history, lmao.

Please, keep telling me how the site guidelines for a random website somehow protect you from the moral judgement of others, I'd love to hear more...
Can Masks Function as a Crude Vaccine?
> on Big Sur you can't even edit config files in /etc anymore, I've been told

Huh? I'm running the Big Sur beta and just edited my hosts file minutes ago.

I get what you're saying and kind of agree on some fronts but macOS has never really gotten in my way as a technical user and I can run whatever I want on it, I even dual booted Arch linux on this machine for a while. iOS is a whole different story though.
Toots Hibbert, a Father of Reggae, Is Dead
It is just a China thing. I learned something new today.

https://www.reddit.com/r/ios/comments/aib10i/in_china_ios_al...
The API example[1] gives several sources: USDA.gov, CATMINAT, PlantNet, GBIF, RBG Kew.

There might be other sources, but I don't know about all of these in detail, so I'm not sure. Several of those sources have their own APIs, I think this service's offering is joining everything together.

[1] https://docs.trefle.io/reference
>To finance such a station you need lots of threw-put

don't you mean throughput?
ML research positions like those at OpenAI are a completely different level than data science interviews.
Intel was the intended antecedent for "they". I should have been clearer.
If you use ios this gets it - https://apple.news/A4nS32jtOSd-V5o7UFvn4vg
> Having millions install some cool new notifications service without realizing it’s actually a battery draining service just multiplies those problems.

This is pure FUD reasoning though. You can’t say “no you can’t have that because it could possibly be bad trust me” without any evidence that it would be a major issue. The more locked down a phone is the more people need Apple/Google.
It seems doing microscale gravity experiments face similar limitations. We can't get good atomic scale experiments to even test most quantum gravity experiments. It's fun to read what's required for even milli-Newton experiments.
JS developers are entering a growing market that constantly needs dramatically more developers than currently exist. This is not going to be true for cleaners of restaurants in 2020.
I would recommend you to read up a bit more about China and India multiculturalism. Also read up on American demographics over time and how American success was not guaranteed until America started removing barriers.

America was a great country because we resolved to make it unified and not retain old world (European) differences. I don't see any such resolve today. All I see is a fantasy of some land occupied by white people. A fantasy that never truly existed in the history of America because America has always had diversity.
How is Meditations on Violence supposed to convey the brutality of life as well as the other titles?

My takeaway from it was that people are generally nonviolent, with a few (taxonomised) exceptions.

(My meta-takeaway from it is that poor intellectuals in the US have it much harder than rich intellectuals, but can still pay their dues and eventually make their own way.)
Should have been 2010 or earlier, with less breaking changes.

I expect the pains of dealing with 2vs3 to continue for few years at least, and that's with policy of avoiding and removing python were possible.
Maybe fairphone should focus on phones, and leave all other world problems (garbage, poverty, hunger, oil spills etc) to others - governments and non-government orgs.

Or just ask extra 50 pounds per phone and give it to these orgs.
Proper nan and inf support is by far the biggest trouble in my popular Perl library for JSON.

But it's easily done, just as extension to the standard. The standard lacks many things and has a lot of holes. Newer standards iterations also made things worse, not better. Bad, but still the best and easiest and most secure, if you ignore the latest nonsense.
I know, right? Elon musk has been launching 60 satellites just about every week. Throw one in there!
D works fine on microcontrollers.

I don't think anyone was going to write their fridge's code in Haskell anyway.
You are right, there's tons of Unicode documentation out there. The problem is how to use encodings in Python. What parts of the standard library are going to be OK with Unicode, and which parts are OK with bytes, and more importantly which parts reject bytes/Unicode?

For example, I coded along in Python 3, not changing and IO handling for the longest time, but when I Tried to use the gzip module I suddenly had to learn a whole bunch more knowledge about Unicode. I looked around for about 10 minutes for a some sort of best practices guide, but ij lieu of that just mucked with encode/decode functions until it worked. I don't know if I did conversions at the right spot, or where the guidelines are for changing between bytes and characters, but it didn't matter for my data at the time and o had a deadline so I couldn't really justify spending another hour at the time to figure it out.

Maybe I'm just trying to justify my behavior to myself, but I think this sort of problem solving is the norm. I tend to try to adopt best practices and educate myself more than the other programmers I have worked with, if not more, and am the one introducing flake8 etc. to code reviews, so I'm not the worst sort of programmer, though I certainly wouldn't claim to be top-tier either.
Ok great if it is possible. Like I said I didn't try it myself. I don't have my testing Mac due to lack of office access.

I was told by people on ##apple on Freenode that on Big Sur it's no longer possible to change flags in /etc/ssh/sshd_config for example. But as long as this is possible it's fine. For me that would be a dealbreaker as in work we're not allowed to have SSH daemons with password auth and they often scan for them.

PS: I believe (also need to test) that on models with T2 chip you can boot linux but you can't access the internal SSD then. This is really one of those things where I'd want to see an override.

It's really hard to test right now :( I have a pile of test MacBooks but they're all locked in the office.

But even on iOS.. It's too locked down IMO. I don't use it for this reason, for one I need full NFC access for my Yubikeys (OpenPGP mode). I really miss stuff like that.
I would like to donate to wikipedia, but it isn't possible in my country.
I believe there have been visual/radio detections correlated with LIGO detections. I couldn't find a more authoritative source, but did find at least one reference in a Popular Mechanics[1] article.

[1]: https://www.popularmechanics.com/space/deep-space/a28631/neu...
The Five Temptations of a CEO
GCM doesn't work in China, so the Android ecosystem there is very different from the world.

Before manufacturers come up with there GCM alternative, each apps actually have there own service to handle push messaging. It is fine when the number of apps is small, but drains a lot of battery when it gets larger. So manufacturers started to introduce some aggressive strategy to kill background processes to save batteries, but it also makes small developers' app less usefull. It is because apps from big corporations usually get a pass, while others will be killed. Now, as far as I know, manufacturers have their own GCM alternative now as an alliance.

So I think even if you don't have it, you eventually need one, because it is too inefficient to let each apps handle this by themselves.
Related (Android):

https://dontkillmyapp.com
Funny to see “saving battery” in scare quotes. People actually do care about that! And they care about that a hell of a lot more than getting push notifications from the LAN.
I remember renting "The Peter Norton Programmer's Guide to the IBM PC" to the local library. I was very impressed as a teen and I was using DEBUG to create programs under DOS 3.3, taking note of labels and addresses on a notebook until I switched to A86 assembler from Eric Isaacson. Great time.
When JS is done.
Sure. I would have rooted my phone 2 years ago but I have my employers apps on it which don't work on rooted phone. :/
The second season of The Wire comes to mind; perhaps longshoremen are wary of digitization because it would threaten their 'supplemental income.'
I struggle with this whenever I think about it. On one hand I agree with all of the points you make. But on the other hand, it didn't have to be this way. Python 3 has been out for 12 years now. If people hadn't dragged their feet on converting the mess wouldn't be nearly as large as it wound up being.
Indeed. They haven't announced any dates for the next stable release, but looking at past cycle I think we can expect python3 to be the base python within a year, being conservative.
$100 is actually a really big deal in developing countries and lower-income areas. How many of us started working on software to experiment with for free growing up? Arbitrary cost barriers like this are honestly an impediment to learning, and in my opinion, even harmful to Apple in this case. Why wouldn't they want more people to learn iOS programming and Swift programming.
Yes. Unless you specifically need to work on legacy code, start with Python 3.

IMO you should consider simultaneously learning mypy and Python type annotations. Python with some typing is a vast improvement.
Hot tip:

If your public views conflict with your private practice, it invalidates your public views, not your private practice.

You cant be in favor of a law in a public forum and then repudiate it from a personal viewpoint
Cool!
Maybe HN could add a feature that hides your own like-number (in the top right corner) so that even the last remnants of "gaming" your likability can be eradicated from HN? (at least for those who then do hide their number in their config options)
edit: o wait, there's already a discussion about this :)
Dozens of AmazonBasics products reported as dangerous, many still on the market
I’m going to be honest. I have many times said, “users are stupid, if we don’t make this obvious they won’t get it”.

Now. Am I really saying that they users are stupid? Of course no. Saying that a user is stupid is just an assertion to say that you really have to design as if users were highly incapable of inferring complex mechanics or interactions, because the reality is that there’s always a subset of users that legitimately won’t get it.

I get what the author is saying though. Referring to a user as stupid is derogatory, but when I have personally used that phrasing I always include myself as part of that group of users. I don’t know anyone that uses it differently.

It’s us collectively as software users that we are stupid. It’s not a direct insult to an specific user or cohort of users. It’s just a token to assert that your software should be “stupidly” easy to use.

If someone has used this phrasing beyond it’s rhetorical meaning, then they don’t have the empathy to design software. Simple.

I just believe that nobody uses this phrasing to personally insult another person, and that we shouldn’t be focusing in such small trivialities. Designing software has more complex ethical implications than trying to poke holes at your communication style.

Again. Most people that use this phrasing do it to assert a point. I don’t think I have ever seen this phrasing used in anything formal. This is just a desk phrase to say that a particular thing is too complex. Seems really unnecessary to even argue around this, honestly.
Yep. BTW an easy way to use more recent versions of Python (and multiple different versions) is to use a version manager. I like asdf which is multi language (and multi database)

https://asdf-vm.com/

The Python plugin is at

https://github.com/danhper/asdf-python
Technically there is a workable solution somewhere close to what you describe, and it should cost tiny extra power usage vs the fully centralized design.

But imagine you are a company running one of the big mobile platforms. You could invest effort in the APIs and OS behavior to do this, and the payoff would be loosening your grip on the ecosystem. Tough to justify to those watching the ROI.
Lots of companies finance themselves by debt or stock offerings, this being especially relevant in distressed situations. There has to be a buyer on the other side. Short selling, even if not accompanied by short reports, is visible to market participants.
It doesn't allow you to send custom notification though. I am using GSConnect on desktop btw.
Wow, this resurfaces memories when conservative boulevard publications and parties in Germany turned people to fight Google Streetview in 2009 for "privacy reasons" and everyone fell for it and blurred their house. Today, everyone I know who blurred their house hates on Streetview pictures being close to useless because they haven't been updated since 2009.

Google just didn't update them after the mess they had to handle in Germany. And why would they.
A better model for thinking of users is to realise that they are not stupid, just busy and distracted. From an app point of view you can count yourself lucky if you get even 10% of their attention at any given time.

Users aren't thinking about your app when they use it.

That person in MSWord isn't thinking about the ribbon bar. They are thinking about how to address that new prospective customer.

That person in Excel isn't thinking about cells either. They are thinking about whether Robin in R&D is going to get the figures for Q2 to them in time.

Users have tasks to concentrate on. They don't have the attention left over to deal with your app's crappy UI.
> Yes, users are fucking dumb. I use to work help desk for a number of years, and the stories I could tell...

That sounds like textbook selection bias; users will usually end up at helpdesk only when they're out of their depth.
> Ex-Google boss Eric Schmidt: US 'dropped the ball' on innovation

... yes, by:

* Letting capital become concentrated to an incredible level, especially in the tech sector.

* Degrading public education through under-funding, privatization (and perhaps problematic pedagogical approaches).

* Allowing infrastructure and welfare services to degrade, contributing to many people being saddled with "life overhead" that inhibits their disposition and availability to innovate technologically.

* Encouraging US residents, in particular students, to become saddled with large amounts of debt.

and I could go on.

Now, it's true that federal and state investment in research has dropped, but Schmidt seems to be focused on getting what amounts to indirect government subsidy for R&D.
There are around a million names for plants, but due to changing scientific hypotheses, limitations of science and communication centuries ago, new technologies (DNA sequencing etc) and so on, over 600,000 of those names are synonyms for other plants.

I was going to give the synonyms for Solanum tuberosum L., the potato, but it has tens (maybe hundreds) of them. Look at the bottom of the infobox: https://en.wikipedia.org/wiki/Potato
Design out waste in household electrical goods
Nothing really, if anything VLAs have proven such a mistake that Google lead an effort to remove all instances of VLA use out of the Linux kernel.

Also the amount of UB descriptions just increased and are now well over 200.

Annex K was badly managed, a weak effort as you say, given that pointer and size were still handled separately, and in the end instead of coming up with a better design with struct based handles, like sds, everything was dropped.

ISO C drafts are freely available, I recommend everyone that thinks that they know C out of some book, or have only read K&R book, to actually read them.
I'm building a webapp to help stock investors
I'll probably be finishing it within a week or two.

The reason I do it is because most people out there gamble rather than invest.

What people don't understand is that when you buy a share you are the proud owner of a fraction of a company.

You can't tell what a stock is gonna do, especially not by a chart of it's price.

But you can tell if a company is a good company by looking at it's yearly profits for the past 5 years.

So, yeah, I'm creating this micro web app that will collect data on over 10k stocks than process that data an create small digests on each stock.

Digests like "Oh, it's been consistently profitable for the past x years. But it's overvalued based on P/E" etc.

I'm building it half for fun & practice, half to see if there's a demand. So that's why I'm posting about it here. To see if somebody else would be interested in such a thing.
Yeah but the tools for building the docs wouldn't be included in a binary package?
Is there any programming language that's "done"? I feel like any programming language that's "done" is closer to "abandoned" than the developers saying "the language is perfect now, there's no need to add or change anything".
I imagine without restrictions on background working most people's phones would be busily mining cryptocurrency by now.
Or.. it might not. Perhaps it's a small thing. Something we overlooked, an edge case. It happens you know.
On the flip side, even though I have a 5 GHz capable phone, I always connect to the 2.4 GHz band because the range is better.
My statement was not disingenuous. She opposed it after they finalized the text, so it doesn't matter what she wished it had before it was finalized. It also matters when you're researching that you look at the date, because she was pro-TPP under Obama but anti-TPP as a candidate

> Then, last fall, once the 12 participating nations announced they had finalized the text after years of negotiations, Clinton said she opposes it -- citing its lack of a crackdown on currency manipulation and provisions to extend pharmaceutical drug companies' patent protections in poorer countries.

And in here words during a debate:

> "I did say, when I was secretary of state, three years ago, that I hoped it would be the gold standard," Clinton said at an October debate with Sanders. "It was just finally negotiated last week, and in looking at it, it didn't meet my standards. My standards for more new, good jobs for Americans, for raising wages for Americans. And I want to make sure that I can look into the eyes of any middle-class American and say, 'This will help raise your wages.' And I concluded I could not."

Source: https://www.cnn.com/2016/07/27/politics/tpp-what-you-need-to...
I have a similar question.
How can a system be truly closed ? It’s always interacting with the stars and galaxies through their gravitational fields.
Similarly, and closer to your question) the spent energy can only be Generated through a chemical or nuclear reaction (both of which should lead to a loss of mass, which will be impacted by the gravitational fields, making it a non-closed system), or by gathering energy from outside The system (solar panels or other technologies), thus making it a non-closed system

What am I missing here ?
> So, to me,the dominant effect here is less demand for air travel->fewer flights. Fewer flights means less carbon emitted. Any knock-on effects seem to pale in comparison because air travel is so carbon intensive.

> If fewer flights is a "second order" effect here, I'd struggle to name anything that is a first order effect. I don't really think this is what the person I was responding to was talking about when they mentioned second order effects. But if it was then I question the usefulness of the terminology.

I'm confused; I don't see how your interpretation arises from what I laid out.

I'll see if I can rephrase and clarify.

The first order effect is that less people are flying specifically because of the pandemic. This doesn't immediately result in fewer flights because air schedules are meticulously planned in order to maintain specific routes, which is why oftentimes at the beginning of the pandemic many planes were flying almost entirely devoid of passengers. In essence, the airlines were hemorrhaging money because their flight schedules were planned months/years in advance by anticipating certain flight loads, and all of that was turned sideways in less than 6 weeks.

The second order effect is that airlines start factoring in the risk of a protracted outbreak with no foreseeable end and therefore start making longer-term strategic decisions adjusting to the sustained (years-long) impact of less flights being booked. New routes, canceled routes, different purchasing decisions for planes, different decisions around how to equip those planes and for which classes of clients, folding some operations in some cities altogether, consolidating operations, etc., and these changes will likely result in airlines having to extract more value from the fewer passengers who do have to fly....

> ...which loops (to the OP's point) back into keeping more people from flying as a third-order effect.

...and therefore potentially contributes towards sustained reduced impact on the environment due to less flights being flown globally, greater fuel efficiency of new jets, and less fuel being burned as a result of both.

Hope this helps.
The whole Python 2 vs 3 thing turned me off when the split first happened when it was “Python 3000” back in, what, 2008 or so. Every time I‘ve had to do something with Python since then there has inevitably been some sort of incompatibility issue that popped up, although it’s been quite a lot better these past few years.

It always left a bitter taste in my mouth and I always feel like I’m fighting with Python every time a project comes up where I have to use it. There are so many other languages that are a pleasure to use and I’ve always wanted to like Python, I just feel like I’m cursed to always find Python needlessly annoying.
Several Alt-righters have been kicked off Patreon.