skysight-inc/HackerNews huggingface dataset:
That happens all the time, since Python is dynamically typed. For example a[10] gives an IndexError if a has less than 11 elements. So with static typing, we should restrict indexing to ensure that the number of elements needed are present, and remove indexing from general lists. But you wouldn't remove indexing from lists, that's one of the main functions...
Whether you are interviewer or interviewee, putting your ego before the goal of the interview is just going to waste the time of both parties.

I can't hire a person that can't restrain their ego for the duration of the interview and an interviewer that is focusing on anything else than figuring out if the candidate is right person for the job is causing disservice to everybody.
Shitposting / copypasta made Slashdot suck. Let's strive to follow the site guidelines which are geared at making HN better than Slashdot ever was.
> lesson learned

Did they learn a lesson, or just you?
I think you mean black sheep
I knew this rang a bell: https://www.youtube.com/watch?v=G9_l8QASobI (from Jan 2020).
Like 5G LOL. All knowledge and engineering is built on previous works of many others. Seems like Tesla and Apple have been successful there
So these functions get the same name then:

def following_index(i: Int) = i + 1

def item_count_with_free_gift(n: Int) = i + 1
That's true although the history I've read suggests that Eisenhower wanted to do the Interstate Highway system anyway and framing it as being at least partly about defense made it easier to get the funding approved.
Genuinely curious: to what extent is that because the numerator didn't grow enough, and to what extent is it because the denominator grew too quickly?
"something because the government says it is."

This is misleading. Gold was replaced by other assets, notably 'T-Bills'.

Basically, USD are backed by Government debt, instead of Gold.

To imply the Fed just 'says it is' is misleading.

Since 2008 a lot of the assets on Fed balance sheets are mortgages = notably, underwater mortgages bought by the Fed at face value from banks that were going bankrupt.

But I think the point about Gold->Other Assets is important.

Euros are backed by assets as well.

RMB is the major currency based on the magic will of one man, Xi, who can effectively control currency with the press of a button. We think that is 'bad' because money should be separate from governance, but they look at it differently apparently.

So imagine if Johnson, Macron, Trudeau, Trump etc. could literally decide how much money to 'print', to which banks it goes, and to whom the loans would be made, and under what terms.

This is they key limitation on RMB becoming a truly 'global currency'.

The article is a very worthwhile read though, so as to dispel a lot of conspiracy theories about banking.

Funny enough, there is a lot of shady activity in banking, but it takes a good understanding I think to make sense of it.
Those guidelines are absolutely crystal clear. You aren't even supposed to show the device at all, just screens of the required sizes.
Yes, because it's still happening to many people other than Greg Egan.
Stream Your Blog for Free – Generate Leads – Beat SEO
Do you have great content on your blog? We will stream it on our Ed-Tech platform for FREE for one year. Set it and forget it. Schools need industry content to enrich the classroom experience, help your community and yourself in less than 15 min of your time. email kathy@tiolita.org for more information
I don't care if it's not correct, I just like how "non-nominal" sounds.
> [-2, 1,5,-7].sort((a,b)=> a-b) works fine
Yea... Thats what that 30% pays for.
Ethical Investing, a Beginner's Quandary
And I am a beginner. Just some musings.

Still no idea about right or wrong.
As someone who uses TF/PyTorch/JAX and numba for their day-to-day DL work, I've been watching Julia's post-hype developments in this area intently. Julia has probably the most vibrant ML ecosystem of all the non-Python languages (remind me when someone has implemented a transformers library for Arraymancer [1]), and absolutely smokes Python in certain niches (e.g. neural ODEs and more under the SciML [2] umbrella, I'd argue Python is "lagging hard" there). Numba can work for speeding up simple operations, but is rife with limitations that prevent optimizing more idiomatic Python code and is an absolute pain to debug. Likewise, trying to decipher or even catch errors from deep in the C++ bowels of most modern DL frameworks is an exercise of frustration.

Python may still be the best language for non-cutting edge deep learning, but we ought to consider whether we've overfit our algorithms to the limitations of the current system [3].

[1] https://github.com/mratsim/Arraymancer
[2] https://sciml.ai/
[3] https://news.ycombinator.com/item?id=20301619
There are millions of people currently living who were born in the Soviet Union and about 0% of them identifies or is identified as “Nationality: USSR”.

I think what matters is whether the existence of an independent country is contested. No one contests non-existence of USSR but Tibetan case is not closed.
No, the developer did not mention Touch Bar in the release notes, and the app has no specific Touch Bar features.

Nothing about Touch Bar is required in the App Store guidelines.
It provides context but also emphasizes a particular perspective, that the subject "should have" or maybe "would have been expected to" announce what they were doing more prominently.

The whole question of what is or is not news necessarily takes a certain perspective, though, so I guess this is always going to be a gray area.
Is your argument that nuclear energy makes nuclear weapons more likely? If so, could you please elaborate? Decline of U.S. nuclear energy did not affect its capacity for building nuclear weapons, has it? Nuclear bomb decline was caused by treaties, with not a thought dedicated to "but how will they be built?", right?
No code review since you only upload a build. The reviewer usually runs the app and pokes around a bit. You can provide them with test logins if it is an authenticated app. They have certain things they look for (errors, payments not through Apple, etc.)
The web isn't HTML-based only: it is increasingly Javascript based. In fact, there's a surprising number of sites posted to HN whose entire HTML is a reference to a script that requests some Markdown to render.
From a few days ago:

https://news.ycombinator.com/item?id=24312478
Market share in this case is only one piece of the puzzle. Even if they make up 22% of market share (globally, it's 60% in the US), iOS usually makes it up in number of paying users.
And worse still, using a nerve agent would draw a lot of unpleasant international attention. Why risk pissing off your large northern neighbor when they’ve been trained to ignore more normal types of violence you commit every day?

Look at this forum, the delivery of explosives via drone is consider an interesting novelty, not something that any other country really should do something about. Narco-terrorism is the norm in that part of the world, and we’re clearly used to it.

The first time a cartel uses an honest to god weapon of mass destruction, the response would be very different, with some serious calls for America to invade and sort the issue out itself. While it’s far from obvious if America would (or should) do that, why risk it when they’ll just totally ignore everything else?
> A worldwide forum discussion among dozens of creative people out to one-up one another on clever strategies for killing another human may well put an effective idea in front of someone who might put it into practice.

You mean writers forums?
Most feature phones available right now are pretty much the same, and they rely on rocker buttons and arrow keys for navigation, which he can't or won't pick up.

Right now he has a Nokia feature phone (which has virtually the same user experience as his older off-brand feature phone), and even that is too complicated for him to properly learn how to use.
Machine Learning Project Checklist [pdf]
Where have you been for the past few years?

No-one bothers actually making products these days, before spamming HN and similar sites with articles about them. All you need is the germ of an idea and a Kickstarter page and you can start taking pre-orders.

Kerrr-chinnnggg!!!
This tweet shows the following evaluation in JavaScript:

[6, -2, 2, -7].sort();

The result comes back with this unexpected set:

[-2, -7, 2, 6]
I agree this was indeed announced prior to the Epic Games event, but Apple chose when to remove their developer account. Apple absolutely had the leeway to remove an app violating their terms (which at that point, the account is no longer violating the policy), but not close out the entire account. The choice to do that was punitive, because they really want Epic to roll back the change for revenue reasons.

I am not sure "they sued Apple" counts as a "legal reason" for blocking the app. Not giving Apple a cut of sales isn't illegal.

(Note the judge during the TRO hearing felt both companies were being stubborn here, as whether Epic removed the payment method or Apple allowed the app, the winning company to get back their monetary impact upon the conclusion of the case. Keeping the app off the store is "making a point" more than actually protecting any revenue on either side.)
How on earth can it be a monopoly when it has the market share it does?

I wish people would stop conflating Apple as a monopoly - their have their own platform (one of many widely available) and many people choose to use it.

Do I agree with all their App Store behaviours? Obviously not, but it doesn't make them a monopoly. They're not 'abusing' their power - the App Store has always been this way. It's a way of delivering sand boxed apps that fit guidelines.

Apple aren't going to stop you downloading an app off the internet and running it on your mac anytime soon.
Reminds me of a common review trope: "When it comes to X, people either love it or hate it, I'm somewhere in the middle"
Millions could die if Trump listens the adviser he hired from Fox’s green room
Yep, I've been hearing a lot of issues like this for the past week. It's definitely an issue with their internal test servers, and even though hundreds of different apps are having the exact same issue, they keep insisting it's the devs fault...
I didn't read enough of the post to get the context, but...

You might often want to write less than a full block. In that case, if you always erase, you have to read the full block to ram, make your change, then erase, then write the full block. If you write byte by byte, that's a lot of erase cycles. So you add a check to see if the bytes you want to write are already in the erased state. But it's not much more work to check if the desired state is attainable instead of just if the current state is erased. Isn't it just if Current & New == New?
Shadowrun Collection for Free
It brings to mind all sorts of positive things they could do only as the final arbiter of the only marketplace.

As Tim Cook said it's not all about the bloody ROI.

For example, they could require that the models depicted in app store screenshots are visibly diverse in all locales.

They could require a certain level of screen reader or even color blindness affordances.

They could require that the ultimate beneficial owner (UBO) of the software be listed on the app store page.

Disclose which companies' telemetry software ships in the SDKs of the apps. List their UBOs.

Require apps to disclose their in-app marketing budget. I guarantee you this would correlate strongly negatively with app quality.

Many radical ideas.
I can see where you're coming from but I don't see how this is monopolistic. Apple wants a consistent brand and doesn't want to confuse the consumer. Would it make sense to have a Huawei device plastered over screenshots?
> The grocery entity and the banking entity need to be separated

Quite a few of the grocery chain cards here in Sweden have accounts backed by chain-owned banks. So at least here, the separation is not all that great.
In general does anyone know if its a good time to look for a new dev job? I was really going to move this year, but it seems sensible to wait. Just sucks to see friends with RSUs going up in value so quickly.
One thing I’ve noticed is that although eg; investing in R&D and STEM education in China has skyrocketed in the last 5-ish years in practice tech there still doesn’t seem extremely polished and talent coming to the US has been iffy on average (with the exception of the very top talent which is still excellent).

A good proportion of Chinese research is still rampantly fraudulent and of the legitimate research only a small fraction ends up being truly innovative. This implies a low return on R&D investment.

The same applies to software projects. At least in the OSS world you rarely see quality projects coming from China nowadays. The ones that do are almost always from companies with a US presence. Perhaps collaboration is difficult?

Re: Face recognition— this is something that is so clearly going to be used as a tool for oppression yet when I speak to those currently in the mainland they sing its praises in dealing w/ COVID. We will see how the cards fall when COVID is over. My guess is you won’t see ethnic Uyghurs living in mainland China 15 years from now.

Of course, every time a post about China comes up someone goes “oh but the US is the same”. No, it’s really not. The US has its fair share of issues with domestic spying and definitely some degree of repression but we still have a free and open internet, open discourse is permitted, and tools like strong encryption are widely available and even assisted in development by the government (eg; Tor).
Except approximately a million App Store screenshots blatantly violate these guidelines.
We think we are creating a softer and kinder world, but the opposite is true. If a guideline is actually an order, what's an order?
3D face: fast, accurate and stable reconstruction
I believe they run a bunch of automated test on an internal test server, maybe some parts get flagged and re-tested manually if I had to guess.
Apple has created for the first time in all history a walled garden of pure ideology, where each worker may bloom, secure from the pests of any contradictory true thoughts.
> Yet the Germans get along just fine with steins of half litre or full litre.

Good for them.

> In Australia, standard beer glass size varies from state to state -- here in NSW we have a schooner (at 425ml) or if you're after something smaller, a middy (285ml).

I know. You can buy a yard of ale in the UK at participating outlets. None of that has any relevance to whether a pint is more convenient than a litre. A schooner is more convenient than a litre.

> Using metric does not mean you need to always and only drink 1 litre of beer, drive at 100km an hour, constantly stoop so you're 1m tall, etc.

I'm arguing against dogmatism, not for it.
I believe there are two ways of friction/problem:

- such created by accident weather it's because of suboptimal rules, vague formulation or reviewers give mad with power

- such created intentionally to control the platform in all reasonable and unreasonable ways

I believe Apple does try to fix or lesson the burden of the first for the benefit of everyone including them.

But they won't do so for the second reason where you most likely still get a no even if they are acting unreasonable.

At the same time they now can point to this and say "see we are all fair" even if they are not.
So what if we build it in the middle of the ocean?
It helped that there was a whole campaign propped up by the fossil fuel companies to demonize nuclear.

Don't get me wrong - I think there are issues with nuclear - primarily the waste heat - generally ruins the rivers or other local bodies of water even assuming radioactive waste is contained.
Counterexample here, I started working with William Stein in 2006, contributing to Sage Math. As a math student, I actually learned these skills (including source control, unit testing, peer review, etc in addition to high-performance algorithms) as an undergrad and continued to sharpen them through my grad career. True, I was seen as an oddity, but my skills were valued by colleagues and I took every opportunity I could to teach in computational summer programs.
> they paid more to get those insights than they were worth!

> They were forcing ML in to places it didn't (and may never) belong.

I find that I spend a lot of time as a senior MLE telling someone why they don’t need ML
I was once rejected because my one-window app didn’t have a Minimize button...for a game...that primarily runs in Full Screen. Other rejections were at least as pointless, every time leaving a bad taste in my mouth and making me wonder why they wasted as much time as they did.

The breaking point for me was when the reviewer refused to allow my minor update in because it “crashed” in an unreleased minor OS update that I literally could not acquire at the time. I removed my app from the Mac App Store the same day and haven’t been back.

It is a petty, pointless, and infuriating experience, which wouldn’t bother me so much if it wasn’t abundantly clear how much trash still makes it into the store and how inconsistent they are. I recommend that everyone use the “suggestion” box to suggest removing App Review entirely.
The US is oddly concerned about race. I remember the first time they asked me about my race filling a form. WTF? How should I know? Also the categories are so arbitrary, I ended up picking other and be done with that.
There are plenty of people wanting to emigrate to the US legally, so it's a win-win for the country.
It's only a matter of time.

However, how will the robotic plances integrate with existing voice-based air traffic control? Would there be a new digital channel, or the planes would it use an on-board voice recognition and synthesizer?
Well, yes and no (althought the question is a bit open).

It's more or less beta quality, and very primitive. It's discouraged to be used with Rails, so I'd be inclined to state that "we didn't get it yet".

I'm also personally skeptical that the unusual approach (invoking a whole C compiler in a separate thread) will stand in the long term - but that's my own take.
Agreed. For almost 10 years now we keep hearing about these wonderful new batteries that are just a couple years away.

Posted from a Li-ion powered device.
More than anything from Trump's mouth
The funny thing about this theory and it’s speed of light proposition is that fails to explain why things are observed to travel faster than light.

https://www.google.com/amp/s/www.sciencealert.com/faster-tha...
"Default" means someone being unable to do the thing they're supposed to do. If your opponents don't turn up to a darts match, they have defaulted, and so you win "by default".

You can just about support the computer sense by thinking that a default choice is used when a user has failed in their duty to make an explicit choice, etc. But it is a bit of a stretch.

Of course, by now, the computer sense has fed back into broader usage, so it just seems like a perfectly ordinary use of the word.
It is not about how often they come up but whether you can think in an abstract way on a convoluted problem.

Think about IQ test which shows some abstract puzzles that have no connection with the real world. They are part of the test because they provide measurement points on tasks that require different types of abstract thinking without prerequisite knowledge.

Again, it is not possible to verify you have all the necessary knowledge for the job, nor would it be useful (no candidate knows everything for the position and if he did he would likely be overqualified).

I of course ask questions that test candidate's knowledge in the most useful areas, but at least part of the interview I want to devote to finding out how smart he/she is on abstract tasks that don't require some special knowledge.
An update to a Mac app I was working on was rejected because it used some permissions. The reviewer claimed those were not needed but, not only those permissions were needed, previous versions of the app had those same permissions.

We sent our comments to the reviewer and never got an answer back. A couple of days later we appealed to the review board and the update was accepted in a matter of hours. Not sure what happened there. Our guess was that maybe Apple was testing some kind of automated process that failed.

I don't remember the details, but we were using UDP features in the app and the permissions were related to being able to receive and send UDP packets.
> The lesson here is ultimately all technologies suck, but you have to find the variety of suck you're willing to live with.

Alternative view is that they all have their uses and if you choose the right one for the use case, it makes your life easier, not harder, especially once you get to know it well.

It helps if you know what do you want. Not a single one is good at everything.
It isn't an abusive monopoly position basically by definition: Apple is not a monopoly in any market that they participate in. There is tons of competition in smartphones, laptops, etc.

The problem is not one of monopolies - the problem is that a set of private companies - including Apple - control critical digital infrastructure. This digital infrastructure is required by almost all other companies and people to function, yet it is in private hands, and they can do with it as they please.

Imagine if all roads were owned by a small number of private companies, and you would need their permission to use the roads. That is what is happening in the digital world right now.
Why would Apple want screenshots in the iOS or Mac App Store that show devices that cannot run iOS or macOS? Would Sony or Microsoft allow PS4 or Xbox devices in their respective digital store listings? No way. You should either provide screenshots without a device or show a device that the application will actually run on.

Honestly I would say it's pretty lazy to provide screenshots depicting a device where the app can't even run.
It's the inconsistency that makes me worried every time app review takes longer than a day. And then that dreaded message "New Message from App Store Review Regarding xxx" arrives, for something that has been in the app since 1.0.
Maybe they broke up?
You know Apple has fallen far when 'Apple isn't worse than Sony or Microsoft' becomes a popular refrain.
It is not obvious that you need to include comparative function for a straightforward numerical sort ?
How many developers are going to miss that ?
You misunderstood. The screenshot shows a store selling the MS surface.
Amazon Wins FAA Approval for Drone Fleet
No new features, it just fixes bugs? Bugs being broken existing code.

This was a big complaint that DHH was making for the Hey email app.

Hey couldn't push a new bug fix update in the timeframe it took to mitigate an existing complaint regarding outside subscriptions. So they had to keep a buggy app in the App Store in the meantime.
I would give up everything if someone could give me a completely consistent universe. For example if everything I came across was automatable via SQL I would take it.

All the time wasted not solving my problem on e.g. linux, filesystems, config files, bash, docker, kubernetes, rest, git, programming languages ...
I'm french and yes "steak tartare" is quite common in restaurants (mostly in what we call "bistrot"). There is often a raw yolk on top.
Sorry, I somehow missed the sentence about feature phones in your original comment.
Forget the Snake Oil. Snake Blood is where it's at. Hoo-rah!