skysight-inc/HackerNews huggingface dataset:
Thanks for the feedback!

I've spent a lot of time trying to add tests but ran into a ton of problems trying to get Jest's useFakeTimers and promises to play well together. I will take another crack at to see if I can work around the problems this time.

Not sure I understand what you mean by returning the promise directly?

Could you explain a bit more why using sets or linked lists would help with efficiency here?

Thanks I'll check out your playlist!
Anyone who has had discussions with such supporters in good faith would be aware that they are closely aligned on the central points of reform.
> you are aware that there is no "post 911 world" in 90% of the world, right?

Actually for the Western and Western-allied world this is wrong. 9/11 marked the begin of the dismantling of citizen rights in too many countries - from such relatively harmless things as stricter rules on flights and mandatory body searches to justifications for nation-scale espionage or, with the Brits, even allowing the government to lock people up for not revealing passwords.
I'm on the same opinion, once the device is mine I should be able to install whatever I want. What would happen if I couldn't install the software I want on a desktop device? I really don't get how apple has survived so long with such a tight leash on IOS.
I would agree with that. I think the verbosity arguments do have some merit. I normally write scripts with the ISE or VSCode with a plugin.

Also there are lots of extensions that you are kinda just supposed to know about e.g. dba-tools extensions.
Savaro Ltd:

https://beta.companieshouse.gov.uk/company/05841913/filing-h...

Is that the sort of outfit that you would order nearly 3000 tons of stuff from? They were registered as dormant. The level of corruption all the way through this chain of events is quite something.
Please do! I'd love some feedback or suggestions when you do :)
I'm confused. Wouldn't the likelihood of lying mean that the real numbers in Iraq are much worse, supporting the criticism of AlotOfReading more rather than less?
What I really dislike about this line of work is being "stuck" behind a desk. A van sounds even more cramped. I think a lot of us need to commute to maintain our sanity, hence co-working spaces.
Does anyone know the best directish train route from Amsterdam to Athens?
So the fact that I see someone as an idiot for "rolling coal" is responsible for the behaviour in the first place?

Yeah that totally works.
Note how many sources wanted to stay anonymous "for fear of upsetting Apple".

Apple knows they can end businesses with the click of a finger. That's what they tried to do by ending the dev license for Unreal Engine. And Apple wants everybody to know that they know. I'm almost certain that the Unreal Dev license revocation is a result of a similar email chain as what happened to Kindle - https://www.macrumors.com/2020/07/31/emails-apple-blocked-ki... - execs just thinking of a way to punish the company.

This, for me, is the biggest monopoly argument. Too much business success is hinged on Apple being happy, and they start to abuse this power more and more by tightening (the interpretation of) App Store rules like requiring in-app purchases etc.

IMO Epic is not the best company to challenge Apple in all this, but in American judicial system Epic may be one of the very few companies that can afford this lawsuit.
Part of Apple's security does in fact come from the curation process.

Access to private APIs for example is not preventable at runtime due to the way Objective-C works.

And the ability to change payment screens etc at runtime has always been possible. But Apple simply bans the developer and so instances of this happening in the wild have been basically non-existant.
How to Not Give a Fuck
This is a really great paper but I thought there was a general move to network-based models anyway? I recall it coming up during quarantine policy discussions.

Nice work though.

It seems more practically evident to me now than early on. In my area, the returning growth seems driven by medium sized clusters that are scattered geographically and aren't the same as what you might have thought early on, in that it's not spreading evenly in densely populated areas.
Make love, not war

The personal is political

We’re here. We’re queer.

We are the 99%

Black Lives Matter
That’s only partly true. Apple app reviews is also about stopping more shady dark patterns that are tricking the user in accepting something they in fact don’t want, that cannot always be handled by their capabilities system (think social engineering).

But I agree with your general point, it’s a smokescreen and even with other stores they would still have complete control over the system and security features.
anecdotal evidence here, but I grew up on a farm. I know exactly what ammonium nitrate is. Here in America the ATF does almost everything it can to keep you from storing or purchasing any more than a sack at a time unless you can prove youve got the soy or corn to feed with it.

a quick Wiki shows Agriculture in Lebanon is the third most productive sector in the country after the tertiary and industrial sectors. It contributes 3.6% to GDP and employs around 4% of the active working population.

Is it feasible for a subset of 216,000 people to steal this chemical rampantly over five years? absolutely. it never goes bad, and you can trade it with neighboring farmers almost like a barter system for things like seed, dung and tractor parts. Should you ever store it? absolutely not, but im willing to venture Lebanese farmers arent millionires and dont really care.

if just 300 people strated looting this chemical theyd only need 20 pounds a piece. theres 3000 tonnes right there.

TL;DR: i do not think this is being used to make explosives.
Since getting a dog I’ve learned dogs and cats both run a degree or two hotter than we do — 38-39 C as against our 37. Noticeably adds to the comfort level, even if there’s only one under the covers.
This is a bad argument that comes up over and over.

You could use the exact same logical framework to argue against labor laws because employees willingly enter into the bargain.

It's easy to see the ends of completely unregulated capitalism with company towns, company scrip, and the oppression that comes with it.

We've had this history - we don't need it again.
> Unfortunately, since Brendan Eich left it's being downhill. I know I'll get downvoted to pieces, since this is Hackernews, but so be it.

I would have upvoted you, but as requested, I downvoted you instead.
Fully automated affiliate marketing system to generate a fulltime income online
Also, keep an ear out for what he says between the songs. The introductions are often as witty as the songs themselves.

(It's tempting to recount some here, but I think it's better to hear it from the man himself.)

Happily, although he hasn't performed in decades, Tom Lehrer is still alive today, at the age of 92.
I'm divided.

As a programmer, I'm as happy as a pig in mud in the low-level innards of my computers and operating systems, and like that I can get at them etc. That's why I have linux on my desktop.

But 'open' systems don't work out well for 'normal' users. Remember the viruses and trojans and instability and all the rest of the Windows days, or Android?

I want my parents and friends and everyone else to use an iphone because its hassle-free and secure.

Do we really want 'unlocked' iphones? Actually, the idea of having to help someone who wants me to 'just look at the iphone and work out what's wrong' scares me.
Spreadsheet error led to Edinburgh hospital opening delay
We all work enough hours per day being super serious. I was auditing a mega big bank ones (top5), talking to the head of their PMO, and he offered that we sit in some comfy chairs (armchairs) instead of the typical office chairs. Then I said with a "Spanish Inquisition" voice "put him in the comfy chair" and the guy laughed so hard he was drooling. Best-pre-closing-meeting-ever. Others were just staring at use (probably have never seen this magnificent piece of TV).

I take that these witty comments are a similar thing to this serious and thought-provoking forum.

All in good spirit with high grade and good quality (I like me some Monty Python humor).
No, you are completely right. Android has a back button in the main UI. Even better if the gesture navigation is activated. The browser does not need to copy that.

But Firefox Preview had a bug where often enough the back functionality did not work. I hope that is fixed, if not that might explain some of the complaints.
At least in the US, to be fair, they don't really take your money but rather the bank's money. Credit cards tend to be much more lenient and generous with fraud protection (among other benefits) in the US than in some other countries in which I've had cards.
I guess the issue is that, like with evolution, the marketplace of ideas does not necessarily reward the ideas that people would think of as "best", but selects for fitness in other ways.
But TikTok is Chinese and therefore bad. At least that is what the orange man tells us.

Surveillance capitalism is an American invention, China just copied that.
Urban Dictionary can say what it wants, I saw many signs in protests, in media coverage of protests, and on social media with All Cops Are Bad and zero with Bastards. Both in first hand experience seeing with my own eyes the messaging people who are saying it and through various means of showing someone else's message.
The over-26 ones are still worth comparing, but it really depends on your trip then. (i.e. if you plan on using a bunch of not-highspeed trains, but want to be flexible and thus not book fixed low-price tickets early)
Analyzing global Covid reporting accuracy with Benford’s Law
Having spent a lot of time in poor areas with heavy gang presence, the people I know tend to not be gleeful or chummy about the police, but they understand they serve a purpose and want to keep the peace in their neighborhoods. When you have police helicopters going over your house at night on a regular basis and every window on every house has bars, you have a very real, visceral connection with wanting to be safe. They understand that some young people get mixed up in gangs, and want to help them. Part of that is in keeping the peace. Especially when you have rival gangs shooting innocent people randomly in the streets just because of the color of their skin; the color of the skin of the rival gang. I can see how people in those areas would be hesitant about abolishing the police, or even drastically reducing numbers. You just want to raise your kids in peace.
Difficult to believe, but I sure hope it is real! It would mean a substantial leap ahead for mankind.
> Microsoft is starting from a negative perception amongst a lot of engineers, and unless they can provide some sort of killer reason to use .NET technologies

Yeah, as stated above, I used to build on .NET back when WinForms was king. ASP MVC wasn't fun to write, Rails was a blast.

If you haven't got C# experience, I can understand the apprehension.

History repeats itself and almost definitely MS will get it wrong again for .NET, but right now, the money is good and the tech is interesting if you're into web tech and C#.
<wild speculation>

AGI is not the same as human intelligence. It has the generality of human intelligence but since it isn't restricted by biology it can scale up much easier and can achieve superhuman performance in pretty much any individual task, group of tasks, or entire scientific or technological fields. That's pretty exciting.

</wild speculation>

<reality>

It's questionable whether the above is possible at all. In all likelihood none of us will see anything even remotely close to this in our lifetimes. We're currently so far away from it that we don't even know how to get started on solving such a problem. Nobody is currently working on this, despite how they're advertising their work.

</reality>

I guess what I'm saying isn't that AGI will be underwhelming, it's that it won't exist at all, at least as far as we are concerned.
Wrong. You can find examples of this behaviour right across the world, regardless of race. Doesn’t make it right.
$100/year is peanuts. It’s a relatively token amount, designed to discourage “non-serious” players, like a minimum bet.

It certainly doesn’t make them money. It just helps to ensure that the people who do use their developer services are ones more likely to generate the revenue that does make them money.

This is something that Apple’s development community is known for. There’s fewer of them, but they do make money.

I’m not weighing in on the issue on either side. They each have quite valid arguments, and I’ll deal with whatever comes out of the scrum.
Lack of type safety and design with no regards to performance.
All the supporters I have talked to are in favor of "reform", yes. The specifics of what exactly it means to "defund" the police varies pretty significantly between supporters though -- some say "obviously we still need police but maybe try sending in a social worker for the homeless guy who is lying unconscious onthe ground" and others say "defund means entirely defund, as in abolish, I mean what I say" (I'm assuming that is the slogan in question, but not entirely positive because the post I was replying to was vagueposting).
How to diagnose OOM errors on Linux
Look MacOS

They do block "unidentified" apps by default but you still have the option to run it anyway (after a series of warnings maybe)

But you can still run them

And I think it can be a start
Locked by default and unlocked if you want it.
One argument that I think deserves extra scrutiny is the idea that extra app stores can be “optional”.

The reality is that developers would have a strong incentive to go to the most permissive App Store, and users will follow. Users will also underestimate or ignore risks. You can dismiss that by saying it’s the user’s responsibility, but I think that’s just an abdication of good systems design.

I’m not saying that Apple has the perfect model - it doesn’t - but the trade-offs are not as simple as we might like.
No idea why you're getting downvoted, but it's the truth.

The current state of WebAssembly is an MVP as a compilation target for a C/C++. There's still a long road ahead [1] and various browsers are in various stages along that road.

And yup. It has nothing to do with UI. That one you'll have to solve that yourself, regardless. And it doesn't help that WASM is its own sandbox with a tiny little window into the rest of the browser.
No, because if Iraq's real numbers are worse, than we are not in their same range.
I poked a similar project a while back. If I can just as easily have understandable, easily debug-able JavaScript as output target, I believe that’s preferable. Particularly where extreme performance is not a concern.

Tools like GopherJS, Elm, Dart and such output JavaScript no human could reasonably interpret. WASM seems logical for them. TypeScript outputs very human readable JS (for the most part) and WASM seems to have little virtue.

As someone who learned JavaScript in the late 90s / early 2000s reading websites code, outputting readable JS feels like giving back.
It's as if the entirety of computing would be better off today if Microsoft had been broken up back in 2001, and the world wasn't forced to suffer through decades of windows stagnation.
Because you're not their target market. Their target market don't want to know about the technical details. They're not nerds like us.
Access to private APIs is also impossible to prevent in screening since it’s trivial to obfuscate
> It's time to get with Scandinavian countries and privatize post.

mmmmkay,

> PostNord Sverige (formerly Posten AB) is the name of the Swedish postal service. The word "posten" means "the post" or "the mail" in Swedish. In 2009 it merged with its Danish equivalent, Post Danmark A/S, forming PostNord AB, a holding company that is jointly owned by the Swedish (60%) and Danish (40%) governments.

People depend on postage just like they depend on water or electricity. It would be far better to privatize military as it make no money at all!

USPS as a governmental institution was attack by politician trying to destabilise it so then they can spew this BS that USPS is not profitable - it was until shackles were put on them.

This patter is so overused that by now I would hope people get an idea of it.

Take a 'non profit' service institution, its doing too well for private business to compete completely with it.

Hit institution with new management change laws, cut funding.

Lament how awful given institution is, how old and outdated.

Surely this brand new company could do it better, faster.

Lets sell institution and give business to those new companies, they know what they are doing.

And we will spend that money on filling pockets of contractors building roads we bombed abroad... ups i mean parks, lets build parks.

And what is the outcome of that? American healthcare 'system'.
> I don't know, I like having a back button on my browser.

What's wrong with just using the Android back button in the browser? I find it quite intuitive to use.
Unfortunately this will not change the situation if Africa that much. As the Malthusian Trap is still live there and the cause of the great divergence between the first worl and the third world.
That's just state tax. It's on top of federal tax, which at programmer wages is 32%-37%. At the top end you're paying close to 50% total.
The carrot and stick ... it's complicated.

Some people will respond better to one or the other. Also, the carrot of 'feeling good about yourself' has many nuances.

An anecdote:

We used to live in a village that had a few kilometers of semi-rural 2 lane road leading to it. Even though this road was outside city limits, it had many driveways and side streets on it so the speed limit was 50 km/h. At the time we had 2 cars, one regular family car (VW) and one luxury car (BMW).

I always drove at the 50 km/h speed limit. However, when I drove the VW 70% of drivers would overtake me, while when I drove the BMW nearly all drivers would fall in line behind me. This was consistent over years, and extremely obvious once you noticed it. Apparently people are influenced by the behavior of others, but how that influence is achieved can depend on subtle factors.

Another example: For decades there where 'informational feel good' campaigns trying to get drivers to stick to the speed limit on the town's ring road. Decades without any result. When finally a plethora of speed cameras were introduced, the speeding problem was solved in a few months.
Having 3rd party stores will be net negative for me as a user.

Currently I have trust to Apple, if I am or my kid charged wrong or tricked into some subscription etc, I have proof with experience that Apple will fix it.

Now let’s say if we have many stores, some stores will try to be smart, will make exclusive deals, force people to install their stores to maybe play a one popular game.

As a user I will end up with 10 stores on my phone, each has my billing information, if I have a problem, not I need to go to that store to handle.

Oh than X app will decide to move from store A to store B, then he needs to move all subscribers there, good luck :)
Assuming it's similar polling to the UK there are all sorts of weighting and balancing to get truly representative samples within a margin of error.

Where the system is weakest is in the questions asked, as explained by Yes Prime Minister

https://www.youtube.com/watch?v=G0ZZJXw4MTA

I can't see the tables gallup produced to make their claim, without those I can't see why it's of any interest.
Doesn't it make more sense to look at this work as proof-of-concept for what the Kotlin compiler could do automatically?
There are quite a few providers that make this very easy to do. Apple isn't one of them.
> "For this post, I’m going to take artificial general intelligence (AGI) to mean an AI system that matches or exceeds humans at almost all (95%+) economically valuable work."

One doesn't have to be "economically valuable" to be considered intelligent. Think of philosophy majors, for instance.

Now, imagine an AI that could replicate the intelligence of a 6 year old; it wouldn't be "economically valuable" at first, but it would keep learning, year after year, until it exceed humans.

Wouldn't that be a prime example of an AGI? Or would it only be accepted as such when it matched or surpassed humans "at almost all (95%+) economically valuable work"? What if it decided to pursue a degree in philosophy?

When it happens, we will be way past the first AGI, and entering the singularity.
As I always comment on threads like these, one of the supposed benefits that make hyperloop cheaper than rail is lack of expansion joints. The tube floats axially except halfway between each station where it is fixed. There's only one sensible in between station (Red Deer), putting each section of tube at 75km. If steel and assuming -40C to +60C temperature range (taking a guess at the tube's temperature on a hot day), you need +/- 27m for thermal expansion at each station. This needs to somehow maintain a vacuum seal and is also where you are boarding people, presumably through airlocks. Sure, there could be solutions but I don't find it credible that the feasibility is higher than a train.
And so if there is a need to increase bandwidth there could be an engineering decision to either go with faster links or more links at the existing speed. Faster links has the extra cost of involving more expensive test equipment, more links does not. Strictly speaking perhaps engineering decisions should not consider cost and that's one for the bean counters, but I don't think that's the reality for smaller teams where those two worlds merge.
> companies that have these byzantine ownership structures that shield the actual owners and profiteers from identification.

The spice must flow my friend, the spice must flow no matter what.
I would argue that "engineering" and "scale" are different concerns.

Engineering is about building and maintaining things fit for their purpose.

A bridge that only needs to last for one year is designed very differently than a bridge intended to be used for twenty years.

In the case of software, that means (a) building what your users and business need; (b) designing software that is easy to change; and (c) delivering enough scale to meet your expected needs for the current business cycle.

For a new startup, you can probably get by with a Rails app on a single Digital Ocean droplet, with plans to scale horizontally. For an established business, you might have a large data warehousing operation running custom C++ code across multiple datacenters, of which the web frontend is a tiny (but important) part.

Good software engineering makes the steps between "New Startup" and "Established Business" as painless as possible, with a minimum of additional overhead.
Since many people here are not discussing the actual article, let me copy-paste the author's conclusion:

> It's not so much the volume of interactions Black Americans have with the police that troubles them or differentiates them from other racial groups, but rather the quality of those interactions.

> Most Black Americans want the police to spend at least as much time in their area as they currently do, indicating that they value the need for the service that police provide. However, that exposure comes with more trepidation for Black than White or Hispanic Americans about what they might experience in a police encounter. And those harboring the least confidence that they will be treated well, or who have had negative encounters in the past, are much more likely to want the police presence curtailed.
Incoming credit card v6 fiasco?