skysight-inc/HackerNews huggingface dataset:
I share @ezekiel68 feeling. Your solution to replace CLI parameters with code is a terrible idea...

1) CLI support is an additional logic in your program that makes no real work

CLI is a user interface, it does real work as giving user way to interact with your program. It's an interface.

2) Error (exception) handling with CLI is very poor. Another layer of (bad faulty) code is required to make it possible.

Like with any other code. That's why you should to test it (like any other code).

3) Scaling/extending is not as easy compared to programming language APIs (see example in the end)

It's much easier. At least to my wife, who isn't programmer, but can use shell.

4) CLIs are detached from essential code, which in most cases is disadvantage.

What cases?

5) Forcing users to use CLI means: stay away from my code, you’d better not work with it.

Why having CLI would have to force the user to not use the library (if it is intended to be a library, not a stupid tool)

To sum up:

API != User Interface.
API = Programming Interface.

Two different goals, two different sets of requirements. You can't just reduce one to another.
What about people who ARE killed as a result of police thinking they are anonymous and they won't be prosecuted no matter what?
True. But in the article, the full paragraph reads like this:

Perhaps this is where the use of * as the wild-card character comes from. I find regular expressions can induce swearing, occasionally.
The problem is that it is not for Apple to decide who are oppressors and who are freedom fighters.

Their have simple rules: no doxxing.

It is not black and white case.

> Or do you think that we should put corporations in charge of criminal justice?

Exactly because Apple is not in charge of justice, they apply these rules equally to everybody.
100 flowers[1]. Pure and simple.

[1] https://en.wikipedia.org/wiki/Hundred_Flowers_Campaign
Top Projects for Machine Learning and Data Science
So when somebody dox US policemen 'oppressors' it's a crime but Belarus should get different treatment? Typical double standards.
Compiled Delphi unit files include a serialisation of the symbol table.

Import definitions are not included. There's an import symbol for each import that has a pointer to the definition information which is updated when the used unit is loaded. This linking is fast, and uses a combo of three things: hash code, symbol name and symbol version. Hash codes in the Delphi compiler are cached in each symbol, so each symbol linked is a hash probe and a few string compares at most. The symbol version is a hash of its (original) definition. If there's a version mismatch, Delphi knows it needs to recompile the unit.

(I spent about 6 years working on the compiler at Borland / Codegear / Embarcadero.)
How about we consider any website accessible through Safari? Is Apple going to start blocking users from viewing those?
The original RISC was the IBM 801, in ~1975, or arguably even the CDC 6600 in 1965. It is hard to identify anything that originated in the RISC-1.
Mission to a Metal World: Psyche
Indeed there's the nuance that it's a war of the people against an oppressive regime - and Apple is ignoring this nuance and taking sides.
Being killed seems like a luxury compared to what might happen to you if one of these regimes want to arrest you.
For the love of god, you read tweets you don't consume them.

Please fight back against this appalling trend of word-wankery.
I doubt it. Maybe they crack down on an app or two when they feel like it but Apple aren't moving the needle on incitement.

Plus they make and sell communication apps subject to carrying the exact same sentiments. Content policing a chat app is asinine.
Regarding sleep: I wondered recently if Matthew Walker responded to the critique from here: https://news.ycombinator.com/item?id=21546850
It started with Alex Jones
https://t.me/durov/136

> Previously, when removing posts at Apple’s request, Telegram replaced those posts with a notice that cited the exact rule limiting such content for iOS users. However, Apple reached out to us a while ago and said our app is not allowed to show users such notices because they were “irrelevant”.

Fucking hell, Apple.

----

cough https://en.wikipedia.org/wiki/Nineteen_Eighty-Four#Ministry_...
This is cool!

I wrote a script that would try and automatically determine missing packages and their version numbers a while a go: https://gist.github.com/JosephRedfern/ef52916e70497bc9631d6e...

It was a joke rather than a serious tool. Caught import errors and runtime errors and would install pip packages going back from most recent to oldest, until the script under test worked without error. At least, that was the idea —- I never really finished it.
I'll not be surprised. Apple always wants total control on their platforms. Obviously sometimes its plays against them.
Apple licks the boot every day.
Don't be so optimistic. Apple and Google are a duopoly to control mobile messaging (outside of China).

Not for me, I use a Linux phone (Sailfish OS) with no Google. Not for real activists (criminals in the eyes
es of oppressive governments like Chaina, Belarus, Russia, Iran, Turkey, ...) who will always find their way. But for 98% of any population.
Not everything is git. Subversion lets you do that. So does perforce. And of course Google's monorepo has its history in perforce.

Again... People making this claim that Brazil is so much better than monorepos seem to know a lot about Brazil but not much about monorepos.
Simple Steps of Real Estate Image Enhancement
> This isn't a simple question of censorship.

That's why we can't let corporations decide on that
Interesting, so they don’t sell any hardware to the Belarusian government for use in surveillance, communications, and oppression?

It sounds like their stance is to be amoral, with no purpose other than to enhance shareholder value, even if it comes at the cost of human suffering.

Ah, that would be a corporation.
Re: 2, IMO this is where makefiles shine.

When I got my start on Linux with Ubuntu (Breezy Badger IIRC) I compiled many (most?) of the utilities I wanted from source. When `make` didn’t “JustWorkTM”, it give very clear reasons why, and even as a noob I could usually correct the issue. Python , Docker, and NodeJS etc still leave much to be desired in that regard.
Yes, and a big mac also would be $24
> One journalist get arrested cause he had a camera

Do you have any source that mentions that case but also supports your assertion? Because if you don't then people can claim with the same level of honesty that the person you're referring to was actually an alien and instead of a camera it was holding a grenade.
Apple is a US company. If Belarus people want those channels, they should build their own device or get an android. I fully support apple taking action on violence and doxing rather than bending down to other country's people or apps like telegram.

If tiktok refused to take down doxing of officials in US, it would get banned.
Many people wouldn't have fuzzed such a simple parser...yet libFuzzer found issues that were fixed.

Parsing is hard folks. All parsers should be analyzed statically and fuzzed at a bare minimum.
The relevant piece is this: "Apple is requesting that Telegram shut down three channels used in Belarus to expose the identities of individuals belonging to the Belarusian authoritarian regime that may be oppressing civilians"

Exposing identities of individuals is problematic. There are examples of bad things happening when these kind of messages spread through messaging apps.
On the other hand, it doesn’t seem to be “oh no nudity” if a woman wears a very skimpy bra that only covers their nipples and fully exposes the rest of their breasts.
OpenSSL Key and IV Padding
Check out OwnTracks. It's a different approach, but it's also really nice. I use it as a poor man's GPS beacon on my motorcycle trips.
Apple gets high on their power. Toxic ecosystem and one to avoid.
Exactly. Yout goal isn’t to optimise the code, it’s to optimise the overall cost/benefit of whatever you’re doing.
If you don’t modify the original buffer then it can me an mmapped file..?
The Belarusian government has been condemned and sanctioned internationally. That hasn’t happened to the US - yet.
Okay so it was just the most popular RISC and not the original one.

So good job on that correction but it doesn't seem necessary to downvote me. I thought I had some interesting comments about the future of operating systems on RISC.
ha , i d say some apple fanbois are borderline violent
Allowing sideloading for Android makes Google much harder to control the platform. I’d not be surprised though if sideloading would be not allowed in the future.
How does putting an app on a third party app store (G-Droid for instance) allow it to ignore new privacy and security features?
Clarification there: I have a US-8 behind each TV, taking 802.11af loads to power. For the TV with an AP or something else PoE behind it, those switches can take in 802.11at and output 802.11af on port 8. The TVs themselves aren’t PoE...I’m crazy, just not that crazy :)
This surely isn't going to play well in the upcoming court case v Epic.
It works when where they are from is used as a counter-example. I may be jaded, but I often find people from the US say, "this would be impossible".

Then it's often interesting to point to various places in the world where in fact, the thing is possible.
>Few real world scenarios have clients sending queries back-to-back without any gaps in between.

I would have thought so too until I saw our app in production run 1000s of queries in a single domain operation.

It's not the highest quality codebase I've ever worked on to say the least.
My understanding is that the Julia community is quite interested in having SIMD via e.g. AVX “just work”. I recall reading this post on it a while back: https://juliacomputing.com/blog/2017/09/27/auto-vectorizatio...
The Bulgarian example in the language section tells a story of a security guard in a warehouse who is pretending to be on post but is in fact secretly eating meatballs behind some crates.
I made two apps and an extension. They're all gone because I got tired of the work it required to just keep them in the store. Every few months, I had to upload a new type of image preview, or confirm that the app didn't sell cigarettes in South Ossetia, or some other pointless update. The code was the same, but the requirements kept changing.
Listing some I know of: linux windows macos freebsd redox fuchsia ios android(sharing the kernel but sufficiently different from linux) chromeos plus many more experimental but available os
I was always under the impression that Germany is exceptionally cash-centric and credit-averse.
Wasn’t there some kind of rule that bad guys in TV shows cant have iphones?
Types and features of outdoor security equipment
So the solution would be to block that channel on Apple devices? And maybe noting that Apple made them block it.
I think the PDP-11 is about the most elegant modern architecture. The 68k was obviously inspired by it but it's a lot more complex than the original.
Lol, word, that makes a lot more sense. Thanks for the clarification! : )
> Get Syria, Iran, Palestine and Israel to sign a peace agreement, now that would be an accomplishment.

Did Obama do that? Then why was he given the Nobel Peace Prize? See that is why I said it is a joke! You guys have different standards for Obama and Trump. With Obama, he literally did not do anything and was given the Nobel Peace Prize. Even he was shocked when he heard it. But Trump did much more good than Obama and yet he hasn't been awarded. It is a joke!

Obama literally launched 12 new proxy wars during his entire tenure. Trump hasn't launched even one. Most US Presidents have been involved in some War or the other. Trump pulled troops out of Syria and Afghanistan. That is an accomplishment in itself.
It is interesting that people don't think that their western governments are oppressive too. In fact they are slowly adopting techniques used in China and other countries who try them first. People are the same everywhere. They want power and those who take pleasure from harming others get to find their way into governments.
> I am not saying thet I expect Tesla to do so

Why? Did they suddenly engineer themselves into a new type of corporation that doesn't drop its ethics at the first opportunity?

I have nothing specifically against Tesla, but I fully expect them to simply do whatever if they are incentivised by the right profit structure. The "best" corporations have disappointed me in this manner, no shame on Tesla for existing, but that is what it will do, given the chance.

"Tesla" is not your human friend that you can talk to or appease in the hope that it won't do what is its nature. Talking into the void won't tame it.
You've got to just hope that Apple realizes how bad this would blow up in their face if they worked with police in Belarus to identify democratic protestors, especially given their emphasis on "privacy" in their marketing.
> So an achievement by POTUS, yes. But let's not oversell it.

Redirecting you to my comment here:

https://news.ycombinator.com/item?id=24737337
If they allowed this channel to continue existing, that would be bad precedent, for example, tomorrow they would have to allow some other channel doxxing US police officers for racism or something.

I think Apple moderating Telegram is bad, but if moderation exists, closing this channel is a consistent thing to do for them. Same rules apply to everybody: no doxxing allowed, and Apple does not decide who is terrorist, and who is freedom fighter.
You must be kidding right? If not how do you explain the overwhelming rejection of evolution in countries with a majority Muslim population like Saudi Arabia [1], Turkey [0] or even "moderate" ones like Malaysia?

I come from Malaysia and I see how evolution as a topic is studiously avoided in school curriculum.

[0]: https://www.npr.org/sections/parallels/2017/08/20/540965889/...
[1]: http://blogs.nature.com/houseofwisdom/2011/05/saudi_arabia_l...
> If you do develop on mobile you probably already know all of it way better than I do.

I don't, that's why I ask. And are these conditions only for being placed in Apple's/Google's app stores?

> You are free to read up on their relevant documentation.

I imagine there's a lot of it - I was hoping you'd spare me the effort.
Keith Peter's, Bit101, has a really good YouTube channel about this topic. Also 2 blue 1 brown comes to mind.
When looking at Apple's ads and knowing that it is a US company, I kind of expect that in my oppressive post-soviet country I can get a glimpse of power of US constitution and that they won't bend under demands of third world dictators...
s/Belarus/Hongkong/ and get 1,000 points.
It's not. They don't allow NSFW apps on iOS even if it's user generated. They have to make it explicitly opt in with significant restrictions.

Apple can do whatever they want on their platform. I wouldn't want to be involved in something illegal such as above when using an app on iOS accidentally.
One way my country "tramples on its citizens' inherent religious rights" is that priests here must, just as for the other professions, have degrees from accredited theological studies.

Not only does it free us from the more radical sort of bomb throwing islamic fundamentalist extremism, it also frees us from the more radical sort of female curve covering puritan fundamentalist extremism.
> The Daily Mail has the journalistic integrity

Now that's a phrase I never expected to read!
Logic suggests that we should evaluate the Great Barrington Declaration on its own merits, rather than conflating it with the climate debate.

Furthermore, if we suggest that private funding of climate skepticism is illegitimate, then we should also question the validity of the state/supranational funding of the warmist program. Just as private actors may have a profit incentive, technocrats have an incentive in promulgating a technocratic regime. Additionally there may be 3rd parties positioning themselves to profit from the aforementioned regime of regulations.

Hopefully reasonable people may be able to agree that a profit motive isn't necessarily evil. Similarly, government/supranational institutions and the individuals within are not absolute in their nature. Blanketedly tarring and feathering the outcome of a program or research simply because of an implied profit motive strikes me as illogical. Additionally it is hypocritical in the context of potential technocratic conflicts of interest.
"Labor in the top 1% is still labor"

I have an issue with this. By some definition, of course. But there is still something very different about the kind of labor which goes on there. Class, opportunity, connections, access to capital, and access to political influence further entrenching their position. It's almost like the nobility of yore.

I find pointing to the 1% labor as some kind of redeeming quality of the system, is instead a distraction from capital vs labor. For the regular labor to have a chance to enter the top 1% of labor, is just as much of a pipe dream as them falling into Big Capital.
Apple prohibit them from saying that Apple made them block it because it's "irrelevant". So they must censor those message without any info to the user so the user won't know Apple is oppressing them.
> Some of you would be ashamed of the choices you make in typed languages...

Any examples?
OPSEC critique of the Michigan Governor kidnap plot
I would be surprised if this were not a demand from the Belarus government, threatening sanctions on Apple, possibly with Russian support.
The Belarus government can just block the App store entirely and may, if Apple does not comply.
Surely international law should decide that, and right now the international community very clearly sees the Lukashenko regime as the bad guys - they have been sanctioned, not the protestors.

If the US government is sanctioned and called illegitimate internationally, then again, doxxing those oppressors is fair game.

It’s either that or you let it fester into a shooting war, which is admittedly far more profitable than civil unrest.

So actually, Apple is helping out international criminals, against international precedent.
Static analysis is a minor part of Rust compile cost. The main cost is from optimization, as well as from redundant work caused by monomorphized generic code or custom macros.
Your ‘97? That’s 23 years old...

My 98 BMW 316i never had issues
The argument I've heard is that it will exist anyhow, but make the players identify themselves.

I don't know if that is reasonable to say, or if it is like talking about "trickle-down economics".
Telegram is Apple's own platform? Are you saying Apple is involved in something illegal by allowing Telegram to distribute software through the App Store, since people use it to dox Putin-aligned police in Belarus?
Many other brands have similar rules on using their stuff, nothing special there.
And I've never done a double entendre with just formatting! Is it italicized because it's the title of a periodical? Or because I'm incredulous?

Yes.
Unfortunately, I doubt anyone would care for longer than a week. The privacy angle is irrelevant to most of their customers.
I doubt Apple fanboys even know about Belarus, after all the media is pointing them everywhere but where actual tyranny, injustice and oppression occurs.
I remember reading a Desmond Morris book that put forward the theory that female human breasts developed, unlike those of other animals, to mimic the sexualised female bum and encourage the missionary during sex.

The theory is that this aids with conception.

...and as for you going topless in public, actually we do care; nobody wants to see that. ;)
Google sues me for using the word “droid” in my company name Orpheusdroid
UK government has an embarrassingly long history of spreadsheet horror stories
In that line of thinking, isn't Apple the boot? Or even the person wearing the boot?
Indeed. I eagerly await the day reason reigns supreme. Imagine! No more Reagonomics, anti-vax, flat earthers, birthers, pizza gate, qanon, powerpoint, climate skepticism, creationism, 9/11 truthers, Bell Curve, etc.

https://en.wikipedia.org/wiki/Brandolini%27s_law
> Apple can do whatever they want on their platform.

Actually no they can’t much of the world has laws to prevent such abuses of power.
Do you know why nudity is censored but other things like violence or other abusive behaviour not so much?
Probably target- and minimum- android version requirements in the manifest, which affects available APIs. IIRC they get bumped up again next month.
No. Apple just doesn't give away free stuff for the bad guys. When producers enquiry apple if they can get devices without cost, apple only gives them for the good guys. If the bad ones should be seen on camera with iphones, the production has to buy them.
Add another European, wtf you talk about? For one, this is not SV eating itself issue, this is America eating itself and going into dangerous state.

Second, if America eats itself, impact on Europe will be negative. There is little Europe has to gain on this and a lot to lose.
Learn how to build a simple chatbot app in Python
What we can understand is partially a product of how good we've become at teaching it.
C/C++ object files (and shared libraries) can include DWARF info that effectively gives you the same featureset as Pascal "parsed headers".
BBC might be worried about copyright issues of they duplicate and self-host Facebook content without a license. I am not sure if this is the case, but I would expect media publishers to be especially guarded when it comes to copyright.
Apple is no relevant party in this conflict. This should be a case between the people who are allegedly being doxxed (who go to the police) and the alleged doxxers.

This stuff Apple does is what happens when someone gets on a power trip. What they gonna do next, attemp to censor forums available in Safari?
Gates and the Gates Foundation have hired numerous PR firms for various issues. Google it.

If you seriously think that one of the richest men in the world doesn't do the same thing for the sources of his wealth, I don’t know what to tell you.
I hate everything about this comment.

first of all, low/high levels have a cause. if it's nutrition, yeah, you're right, just measure and correct.

but you come to the conclusion that's nutrition with zero evidence supporting it, and that's annoying as hell, because it's basically shunning the door for people with real conditions that could live 10x times better if only someone would have used a more rigorous method of inquiry instead of 'just nutrition lol'

it doesn't have to be complicated, but it still have to be rigorous.
As a programmer I’m mostly measured on how fast and not buggy (in that order) I can ship. No one is profiling my code or asking O(wtf) it takes.

So from crap import * is pragmatic and practical. Short term at least.
> countries with huge natural resources

Can confirm. That's why Russia is sliding down scientifically. People gravitate to where money and prestige is, and when you have money squirting from the ground, that demands (and receives) disproportionate attention. Another side effect of this is that it suffocates technology and innovation by both depriving it of investment, and by shaping the tax structure that excludes the possibility of survival for most non natural resource businesses unless they cheat on their taxes. It's a complex problem without a clear solution. Only Norway has been able to manage it well so far.