skysight-inc/HackerNews huggingface dataset:
Incidentally, while it focuses on values that fit in machine registers, you might check out Hacker's Delight's section on computing "ilog10". In the second edition, section 11-4 is on integer logarithms.

If your target language is Python3, you have the "bit_length()" method of integer objects. Multiply by c ~= 0.30103 and then correct for being too low; superficially, it seems like this algorithm should work for extremely large numbers, at least to millions of digits.

As far as test cases, n10, (n10)+1 and (n10)-1 seem like good choices and as long as the underlying mathematical function is monotonic should ferret out failures. I could easily run my implementation for numbers up to 30,000 digits, but going to 300,000 digits didn't finish while writing this message.

log10_2 = math.log10(2)
def digit_length_clever3(n):
if not n: return 1
est = math.floor(n.bit_length() * log10_2)
low = n >= 10**est
return est + low
I’m not talking about legality, I’m talking about morality. What moral framework can we use to classify the moral status of unsolicited robo-calls?
Google maps zooming is horrendous. Loading of the maps is bad when you zoom in and out.

YouTube doesn’t load as fast on Firefox.

Gmail is sometimes slow.

Those are two big ones. So I have google signed out on Firefox and use chrome as simply the gateway to all things google.
Yup, there are a few EHR vendors that have some limited support. Intersystems’ whole platform is shifting towards have pure native support for FHIR. It’s still very rough and to into the weeds of things you sadly have to delve into that very old language (objectscript = MUMPS). But thankfully there bindings for more modern languages for it.
And if lenders based their credit decisions on the spouse’s creditworthiness, someone else would whine about that.

The sense of entitlement that’s taken hold of the world is dismaying. If you don’t like the terms Apple / GS are offering, then go somewhere else.
To me, Datalog looks like the ideas of Redux to their highest fulfillment. You have a single source of truth (a list of facts), and you have queries to ask questions about that truth, using the powerful and succinct language that Datalog is.

I hope more Datalog gains more interest in the frontend world, because it's about as declarative you can get – something that should go hand-in-hand with declarative frontend libraries like React. I hope that someone moves the frontend world further with an implementation in JavaScript. Datascript is a good start, but its size (80kb gzipped) and its JavaScript API can greatly be improved upon.
Filing a joint return in the US in no way implies financial unity. It just means your income is pooled for tax calculation purposes, that’s it (and only federal, you can often file separately in the same or different states). There are community property states, which NY is not. It gets hairy just about anywhere if a marriage is ended.
I did some research a few weeks back about why I have an apostrophe in my name. When the British conquered the Irish they started keeping records of the citizenry. The Ó used in Irish names to track descent was eschewed for O' in British record keeping.

https://en.wikipedia.org/wiki/Irish_name
Every company could become a 'tech' company
I work as a company that builds software to optimize dosing, and we have apps in a few of the major EHR vendors app stores. FHIR has been great for getting and presenting data - although I think true interop between EHRs using FHIR would be challenging, due to the large amounts of data and the (relative) complexity of each EHR. Despite everyone using FHIR, it does suffer from the same problem other specs like HTML do, everyone has an ever so slightly different implementation, and once it's been implemented, no interest in changing or improving it.
Yeah. He's a really interesting guy but he kind of falls into a category shared by John McAfee and Garry Kasparov of "interesting people with a lot to blather about."
Problem is that population growth in developing nations is continuing to be explosive which isn't helped by developed nations "providing aid" which interferes with the natural limitations on population growth (i.e. food ressources within reach are insufficient => population can't reliably grow).
As was brought up by markiplier recently this is extra scary because a ban here would ban you from Gmail, analytics, and any other Google service.

Could I be locked out of Gmail tomorrow for blocking an ad on a music video? It's not clear to me that the answer is no.
The key to surviving climate change is having the energy resources to do so. Resource depletion is happening at roughly the same speed as climate change is impacting us.

We do not live in a sustainable way. Nobody would seriously argue with that claim, but the implication is that our way of life is unsustainable. Extinction is a bit extreme but the way we live, our global civilization, is not one that can be sustained. We're showing absolutely zero signs of seriously slowing the pace of our resource consumption or waste production. Only time will tell what it looks like when we go from unsustainable to the consequences of that. But given that without hydrocarbons our biosphere can probably only support about 1 billion humans... we're in for a rough time.
Yes exactly! Since patient movement within a hospital is done primary with v2 and then hours or even days later a patient summary CCD might get sent across. Unless you’re dealing with encounter based CCDs. But those still aren’t live.
Having read Orwell’s “Notes on Nationalism” essays literally yesterday, his voice is quite forcefully poking my brain as I read your comment.

Orwell agreed that Nationalistic thinking was almost totally widespread through different peoples and times, but you appear to be saying that a “normal” amount is Ok which he would have fought passionately.

Orwell wanted us to contend with the Nationalist inside us, and push them out. Just as we wouldn’t accept a “perfectly normal” amount of racism, don’t accept Nationalist feeling as in any way healthy.
Except he didn’t say that, and many others commenting had opposite results. Nobody knows the reason for the difference.
I think you have two options then:

A) (if possible) migrate away from the services you mentioned.

B) lock-in deeper and deeper with the biggest advertising company on the planet.
Backend is all MUMPS. Frontend was for a long time coded in Visual Basic 6.

VB6/MUMPS stack is... not ergonomic to code in.

Epic is easy to hate (it's everywhere), and for good reason. However, the alternatives are not obviously better unless there's been some radical innovation. There are definitely systems designed for a particular piece of a hospital (ex, ER, or labs, etc) that are probably better than Epic is, but when it comes to having one system for the entire hospital, they're all pretty bad.

The main problem is that the customer is not the nurses, it's the legal/financial/administrative side.
The learning process considered in the paper is more like a pretest before each class, and the lesson just reveals the correct answers.

If you get 100% on every pretest, you're probably not learning anything new from being told the answers.
Last time I plead innocent for a speeding ticket, the clerk asked me to sign a blank form, which they would later fill in for me (!!!!).
I checked the original list [1] and it's a fun read; however the following is absolutely true in my experience:

> 30. Software with version numbers ending in '.0' are buggy and you should wait until the next release.

[1] https://www.netmeister.org/blog/cs-falsehoods.html
Ask HN: YouTube threatening to shut off API access to my language learning site
For the last two years, I've been working as an indie developer on a language learning app called www.captionpop.com. This project uses the YouTube API to help language learners study foreign languages. It's gotten pretty popular, especially with English learners.

The primary feature of CaptionPop is that it allows users to watch YouTube videos with multiple subtitle languages at once. It also allows users to bookmark subtitles, and create study flashcards from video snippets.

YouTube has been doing an audit of my use of the YouTube API for the last couple of months. Right now, they are saying that I am violating their terms of service by interfering with the functionality of the YouTube embedded player.

The following lines in the ToS were citing in my violation:

Policy #: III.F.1.a (YouTube Look and Feel)
API Client must not change or interfere with user interfaces in YouTube Applications unless you have obtained YouTube's prior written approval

Policy #:: III.I.6 (Additional Prohibitions)
API client should not modify, build upon, or block any portion or functionality of a YouTube player.
https://developers.google.com/youtube/terms/developer-policies

My position is that I'm using the IFRAME API as it was intended. I cited the IFRAME API reference and a IFRAME API demo that would seem to imply that this type of functionality is encouraged
https://developers.google.com/youtube/iframe_api_reference
https://developers.google.com/youtube/youtube_player_demo

They don't seem willing to budge, and are threatening to turn off my API access in a couple of days.

I am posting to HN to seek advice on the best way to proceed with this situation. Also, if there is anybody at YouTube that could help me out, I would greatly appreciate it.

It would be a shame if I had to shutdown CaptionPop. It has helped a lot of people with their language learning journey and I believe it is a positive contribution to the YouTube ecosystem. Any advice appreciated!
That’s not a bad answer (“things that undermine trust in systems are bad”) but when generalized, can lead to undesirable results. For example using your axiom, undermining trust in a corrupt and harmful system would also be bad. Like for instance, speaking out against a repressive government regime.
If devotion to a local city or tribe is the same, then why is the Federal government at loggerheads with California over environmental regulations and immigration, and California is at loggerheads with SF over zoning policy and homelessness?
My WTF moment was when the chinese firewall was compared with laws forbidding to put private citizens data in foreign clouds. Digital nationalism, sure.
Yea let's actually make the C++ edition playable first. Have you noticed how the cursor acceleration is actually like a joystick? I play on a computer for a reason, I don't want console nonsense creeping on me. Same goes for the whole UI. Also no linux version.
I think we met at a few events towards the end of my time in Singapore. Definitely have a decent number of mutual friends.
> Until humanity has figured viable massively scalable long term power storage solutions we will always be at the mercy of natural phenomena (time of day, wind speed and direction etc).

I would argue we just need to make sure ongoing power needs are met - ie we can always turn the lights on. This doesn't need "scalable long term" storage - although pumped hydro, batteries, thermal salt all work well - it just needs sensible grid design so the needs at any one time are met by available power sources.

This above is obviously a "harder" problem than to just have a few big power plants you can throttle on or off but not that much harder and we already have the technology and knowledge - if not the political will - to do it.

> Additionally AFAIK "renewable power sources" don't have the necessary power density to make them viable as humanity's exclusive power source.

This is flat out wrong. many communities already exist exclusively on renewables.
Again, it comes down a lot to privacy, especially in response to the growing inclusion of governments in our digital life.

-Alternative to Gmail: ProtonMail (https://protonmail.com/)

-Alternative to Google: DuckDuckGo (https://duckduckgo.com/?t=hk)

-Alternative to Dropbox and GoogleDrive: Duple (https://www.duple.io/en/)

-Alternative to Whatsapp: Signal (https://signal.org/)
No, not really. There's a "Windows" version for Windows-based desktops that can co-mingle with the other C++ versions, but the main version of the game is still based on Java, with the features being ported to the various console versions shortly after. The Java version remains the only way to play Minecraft on Mac and Linux, for example, and it's also where pretty much the entire modding scene lives.

It's a little complicated from the outside looking in, since the base game is very similar on the surface, but there are major technical differences between the platforms that would make true cross-platform very difficult.

EDIT: The Minecraft Wiki has an excellent overview of all the various platforms. Check out the sidebar on the right for a breakdown. Generally, the "Bedrock" edition is what's on most consoles that are still being supported, and I ... think it has cross-platform multiplayer support? I play on PC so I am not super familiar with the details on console.

https://minecraft.gamepedia.com/Minecraft_Wiki
So people who are famous? get a higher credit limit probably?
It's not filing a joint return. It's holding all the assets in joint accounts. So they have equal ability to withdraw.
Welcome to China. You Probably Can’t Buy Anything, Though
Why everything has to immediately be about discrimination? If it is always giving lower number to a member of the couple that earns less regardless of sex where is discrimination exactly?
Yep, our global fusion plant in the sky.
It also allows a group of people to choose, to some degree, to live life in a certain way.

Thinking negatively of other countries is not necessary, but if you personally choose to be my guest.
> First non-U.S. access of any kind to the "internet" was in 1973, though physical access continued to remain heavily restricted for years.

One could argue that the current "Internet" based on TCP/IP has only existed since 1983, and the 1969-1982 ARPANET was a different internet given it was based on a different and incompatible protocol stack (NCP).

"An internet" is just any network which connects networks. In that sense, there have been (and may yet be) other internets running other protocol stacks. "The Internet" is a particular internet running a particular protocol suite (TCP/IP), and defined as such the Internet began operation on 1983-01-01.
Recommended Computer System Simulators
I am wondering if there are any computer system simulators that can run software on top of it, can mimic the characteristics of real hardware (for example, simulating the performance characteristics of a 5400 RPM hard disk and a 300MHz Pentium II at exactly that speed) and provide real-time performance statistics for the simulated system? The computer architecture doesn't have to be x86; it could be any 32- or 64-bit system such as PowerPC, SPARC, MIPS, Alpha, Itanium, ARM, RISC-V, etc. I understand that emulators such as QEMU exist, but I don't believe these emulators provide the simulated performance or the performance monitoring tools that I need.
I just run super alpha quality software all the time so that the “.0” release seems like a breath of fresh air in comparison.
Of the many examples of China's influence on Australian universities in the article, this one is most egregious:

Heng Tao Shen, who helped build the totalitarian surveillance architecture used by the Chinese government to monitor Uighur Muslims, also holds an honorary professorship at UQ. In fact, he developed this technology while working at UQ with government funding.
You know it's really easy to test a black box for bias right. This isn't something you have to speculate about like a human's bias.
Is there any reason Postgres or other projects could not adopt tokudb's solution?
Microsoft: Defender ATP is coming to Linux in 2020
Misrepresentation is a commonly agreed upon morally bad thing (i.e lying). But spoofing is an issue seperate and apart from robo-calls, even if the correlation between the two is very high. So we still need to figure out what, exactly, is morally bad about being robo-called. And the answer can’t be related to spoofing, do not call lists, or whatever, as these are not related to the essence of what defines a unsolicited robo-call.
Suppose you're at a rock concert. You hear several string instruments, drums, maybe a keyboard, and a voice or two all together at the same time.

What reaches your ears is continuous differences in the air pressure. That's more-or-less a single changing 'amplitude'. From that, your brain can pull apart the fundamental and overtone pitches from each source ... and sort them out so you can identify each one. Amazing technology ... almost indistinguishable from magic!

These days lots of people haven't seen audio on an oscilloscope ... which shows changes in amplitude with time. Look at this video. You'll see that at each point in time (left to right), there's ONE amplitude, whether he plays one string or more.

https://www.youtube.com/watch?v=Dd5dgajeIOA
Attibuting any specific catastrophic event to climate change is hardly possible, though. Arguably, climate change is already playing a role in conflicts around the world. The arab spring (and therefore the ongoing war in Syria) was partly triggered by discontent over food prices, which are of course closely linked to the local weather and thus climate change. Here's an article that explores this is some more detail:

https://www.globalcitizen.org/en/content/conflicts-affected-...
This is exactly the sort of thing that bites. It totally breaks your functional pipelines: now you have to thread everything through `array_values`. Ew ew ew. No thank you.
Racism and nationalism seem extremely dissimilar to me.
Woz and DHH both seemed to think filing jointly should be determinative or at least relevant.
Analysis of Salk life sciences inventors and their inventions
When you mention their level of wealth, it also makes me consider their fame in the tech industry and it makes me wonder what the absolute credit limits are. They may be unusually high; and they may have gotten them in part because Apple knew who they were. Maybe their wives were treated fairly and they weren't.

Say DHH got 10K USD. Then his wife got 5K USD which is really low for someone with the assets she can likely claim. But let's say he got 1M USD and his wife got a mere 50K USD...kind of a different story then.
Angela Merkel, unilaterally and without consultation of other EU members or even other German parties, and possibly unlawfully declared that 'all are welcome'. What she meant was 'Syrian refugees' - surely this is fine - but in practice, the millions that came, and are still coming, are from a variety of places, mostly economic migrants, not refugees, and not from Syria. Germany has since started rejecting most refugee applicants, and only a minority of said rejectees are actually going home, creating a tremendous social problem for a country that doesn't have the faculties at all to deal with it.

Angela Merkel later regretted the statement of course, because she was bewildered that so many came from so many places.

Moreover, most EU nations are happy to let Greece and Italy deal with very serious issues (Italy faces large scale migration from Africa and Greece from Turkey) and fend for themselves, which is problematic in such a union.

This has caused very severe political problems in both countries, with the rise of an actual Nazi party in Greece, and some really nutbars politics in Italy as well, with the rise of the Far Right and 'anti elite' parties which have seized power.

I don't agree that migration wasn't a serious issue for most voters: Migration, Healthcare and the Economy overall are now the big issues in politics for the next long while. I think pensions will be a big thing if and when they start falling apart.

The EU is only very slowly catching up on the issue, particularly trying to get nations to 'share the burden' of migrant allocation but also the cost of border protection.

My feeling is that the EU is decades away from being able to manage the issue, and that is materially to this day only operationalised at the national level, which really defeats some of the ideological aspects of the EU such as 'freedom of movement' yada yada.

All of this is reasonable fodder for Brexit to the point wherein it 'broke the camels back' so to speak - were the EU to have a good grip on the problem, i.e. able to bring in refugees and sort everyone else out while maintaining humanitarian terms ... Brexit would not have happened.
What Learning to Sail Taught Me About Building Software
The U.S. is 230yrs old. Time for a Bill of Democracy
A small network will likely have identical setups. Plus I pointed out directly the one case of ip tracking being useless. Clearly there are other way to track an individual computers. But your counter argument is irrelevant regarding in my limited scope reply
There is also https://www.minetest.net/. It's fully open source and free, and although it is written in C++ it has a Lua modding API with many mods.

Minetest itself is just the engine with basic functionality such as terrain generation and basic physics. Mobs, and other things are added via mods. Mods can be installed manually or in-game from https://content.minetest.net/.
Only if you believe popular opinion.
Orwell also was a sectarian anarchist and socialist who had contempt for any form of authority pretty much solely based on personal experiences in the civil war in Spain. I recommend reading Asimov's critique of 1984 who addresses this.

Nationalism is simply the decision of a group, 'the nation' to constitute its own interests and to determine its own laws and rules, not automatically tyranny.

The idea of a global internet is inherently anti-democratic because it excludes the option that nations determine in a sovereign manner what cultural values or laws or rules apply to their communications infrastructure. Given that cultures and laws diverge drastically on speech, religion, privacy and almost anything else it was only a matter of time until conflict would arise.

Up until now it wasn't really a global as much as an American internet anyway, the difference is just that other countries are catching up and reasserting themselves.
Great. So where's the test? Because it sure hasn't occurred in the case mentioned by this article.
Pagedown[1] leverages paged.js to create reproducible scientific documents. It's still a little rough but I prefer it to fiddling with LaTeX templates.

[1] https://github.com/rstudio/pagedown
Woodie Guthrie had a label on his guitar that read "This machine kills fascists." I was naive once. I thought that the internet was such a machine. But instead of a tool for decentralizing power it's becoming a tool for centralized power to wield control, to enforce conformity in ever greater detail.

What would a tool of actual decentralization look like? It wouldn't be something that helps us communicate or brings us closer together, because those things evolve into instruments of control. It would be something that divides us into separate ecological and memetic niches. The only example I can think of is a multi generational space ship.

We're in a race between diaspora and social lithification. I wish I thought diaspora was the better bet.
I used to think its roots lay in some kind of biblical fetish for armageddon. I have no qualifications in this area though so this is just my armchair-psychologist theory.

Oh that and often weird racism about how many people live in poor countries.
Where did he claim NY is a community property state?
> Nationalism isn't normal, countries are a completely artificial construct.

So's this laptop. What's your point?