skysight-inc/HackerNews huggingface dataset:
The full quote of that premature optimization trope is this:

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%"

People often ignore that second half.

> "I mean how many live on a 10 Mbps home connection with high latency yet they make perfectly fine calls."

I'm not sure I agree with 'perfectly fine', people just suffer through things being terrible because they don't know they could be better. Latency on a 1:1 call is bad, but tolerable - things get a lot worse as you move towards group interaction (dealing with group video chats often because of covid it's clear how much worse this is than in a real life room).

It's not premature optimization to get the latency down when that's probably the most critical feature tied to usable performance and better experience, arguably everything else should be lower priority.
Thank you so much! Can you please recommend some subreddits that I could get some feedback from?
I don’t get the lying angle. Apple could have told Epic that they would terminate the feature on their side at the given date, Epic would prepare for that, but in the end Apple goes back on that decision.

Epic’s story stands, and Apple effectively didn’t do anything to stop the feature.
That's pretty amazing. We used to have a Harmony remote like 15+ years ago. Best remote we ever owned. Great at controlling everything, including the original xbox for dvd viewing.

Then they went and updated. They artificially limited the number of devices a class of remote could control. They moved more "features" into the display of the remote which made them harder to use and reduced buttons. The quality went down, and the the newer remotes stopped being able to accurately control all my devices.

I now sit with 5 remotes on my couch's armrest instead of one harmony. They had the best universal remote and they ruined it. If I were more of a hardware guy, I'd start a competing product that added the required sensors as a dongle to your phone.
That's not the same thing at all. Hello uses the webcam on your computer to try and recognize which user is signing in to the computer. FaceID uses a combination of camera, IR, and depth mapping to determine whether the user is a live person signing into the system and paying attention to the device. You could trick Windows Hello with a piece of paper with a picture printed on it.
Well, it is a cyber fraud startup. They didn't lie about that.
Carl (Car Game for Reinforcement Learning)
That's an $1100 part which I consider "very fancy".
Personally, I rarely use refs. I think they have more use when creating general-purpose libraries for Vue.

You can also just call "toRefs()" on a "reactive()" object though.

Refs are also useful if you want to destructure a reactive object without breaking the reactivity, scroll down just below this:

https://composition-api.vuejs.org/api.html#torefs
A great many of his posts are like that! I recommend all of them.
The defacto version was in Ruby:

https://shop.jcoglan.com/building-git/
My apologies if I've come across as islamiphobic, I have no problem with Islam itself or its followers. I would feel the same way about any other religious inspired law. For context, I'm gay, so my very existence is against many religious systems laws. That part is pretty easy to hate right?
I don’t know what to say other than that the world doesn’t work that way. When agreements are made there are mutual obligations. If the US doesn’t mind China protecting its industries by blocking American companies, then they have no incentive to let up on their restrictions. Expecting them to explicitly go against their own interests only because the US “leads by example” is ridiculously naive.
Apple Keynote Event Inspiring Innovation
This post is hosted on Dropbox's Paper product, which allows for publishing by 3rd parties (anyone with a free Paper account).

This post does not have to do with Dropbox engineering, which I do not believe uses Actix. But Dropbox does use Rust quite a lot - their storage layer and sync engine, among other things, are implemented in Rust.
There is no reason to suppose that. If Epic gets its way, companies like Epic with large war chests will end up running stores. Amazon, Google, and presumably the stores that Phone Carriers will pre-install are good starting points.

Presumably the Facebook app will integrate a store and the apps will provide telemetry without asking permission.

Users and developers will have to contend with all of them.

There is no reason whatsoever to suppose these will be better than Apple’s approach, and plenty of history to suggest that it will be worse.

Who did you have in mind? Perhaps there is someone I haven’t thought of.
How would you suggest they go about moderating content (assuming they should)? They currently have an army of human moderators who are emotionally scarred from seeing terrible images all day long - and of course, those images were public on Facebook until reported by someone.
> one that violated the rules of the App Store, not Apple

This is an invalid comparison because Apple cannot, by definition of them writing the rules with the ability to change them whenever they want, violate the "rules" of the App Store. Phrasing it like this implies that "Apple violating the rules" is even a possibility.
plz link.
Wasn't panfrost used by Puri.sm the libre 5?
Is it compiling under the stable compiler though? I tried switching compilers to try out Rocket and it just didn't work out very well for me, compiler errors everywhere that I couldn't seem to find a reasonable answer for. I'm not a fan of switching to anything that isn't considered stable unless I absolutely have to.
> Weirdest thing is how they moved the address bar to the bottom of the screen. You can put it back to the top of the screen but it's like - why?

As someone with a larger phone, this has made things 100x easier. Previously, the address bar was out of reach with one hand.

Personally, I'm really happy with all of the changes.
I think it would be news to a lot of countries that they're owned by the US.
They violated the rules of the iOS App Store, this is the Mac one. In fact, it effectively blocks them from releasing it as a direct download as well.

This is likely going to be a significant mistake from Apple in hindsight.
Hey! Thanks for taking a look at remoty! Can you please share what's the worst thing about this tool? What makes it so incompatible?
I'd only ever used Caddy for a hobby project a few years ago. Just recently I needed something quickly for a reverse proxy. I looked at traefik because I'd heard a lot about it and quickly came to the same conclusion as you - too rich. I thought I'd have a look at the docs for the new-ish Caddy v2.

After a bit of reading, I was shocked that I had set up a reverse proxy with just a single 2 line "caddyfile":

subdomain.mydomain.ltd

reverse_proxy 127.0.0.1:5000

For my humble use case it couldn't be any simpler.
Did I misunderstand the article? I thought it said you were REQUIRED to have a certificate in order to operate...

Edit:

For most Sharia fintech startups, MUI certificates are not only commercially advantageous but legally required by the Financial Services Authority of Indonesia (OJK), the state financial regulator. Other areas of the Sharia digital economy, like halal e-commerce and umrah sites, travel-booking platforms for Islamic pilgrimages, do not require this certificate.

So yes for fintech, maybe for ecommerce in general?
>Oculus Quest, which has gone a long way towards democratizing VR

The irony of seeing this in a comment thread about how Apple is draconian and overstepping their boundaries is laughable. Oculus Quest is doing the exact opposite of democratizing VR. They're selling the people themselves.
think of the scrubber bar on youtube videos. why cant i literlly grab and move it instead of the weird pinch mouse control?

EDIT: Sorry, I was typing the above in VR using my controllers. (Honestly!)
Sorry, yes it came across as judgemental. I guess it's because food, especially lunch, is such an important thing in my life, pretty much the highlight of the day, it just makes me a bit sad when it's not the case for others.
What is cruel is I am having to file bankruptcy because of this.
The visual quality of the Index is hard to compare to the Quest.
If you'd like to support the development of this engine, the author has a patreon https://www.patreon.com/mrdimas

Unfortunately, Github sponsorships is not available in Russia.

Also, there's a discord channel dedicated to the project https://discord.gg/xENF5Uh
It feels like the major environmental cost is in the manufacture of new devices.

If software were properly optimized, I wouldn’t need to upgrade my machinery. We’d need one fewer open cast mines to dig out rare earth metals. Less shipping. More recycling.

(Related, but tangential to web dev: device repair.)

I have no idea what I’m talking about though. I come to this site to find people who do.
I was just explaining the poster's point. Personally, I think that most data produced/collected by social networking applications is worthless. All of these draconian privacy laws that have been passed, in my opinion, are nothing more than political theater and make little to no difference to 99.99% of the population. GDPR, for example, has produced nothing more than lots of annoying popups that nobody pays attention to, and billions of dollars in fees for compliance consultants. I can understand the government banning people that have security clearances from using certain apps, but blanket banning an app seems like an overreach.
This would be the right approach, but a multi-year one.
I will have to give it another try then if that's the case, good to hear the experience has improved. I think what my issue was when I tried it was the docs was out of sync with the version mentioned in the readme and so it became more confusing trying to match things up to a functioning application.
That's because the protocols, standards and the browser are made by an adtech company. You may propose an anticookie feature, but it will be ignored. You may even implement it yourself, and you will be stonewalled by the maintainers of said browser.

I don't think cookies are a fixable thing. The US administration actually wants an extensive global surveillance system and it lets the big4 implement it. In some sense, the big4 is the public extension of the US intelligence that operates within the "national security" framework and thus it can ignore laws and regulations.
Yes.

I guess, I want a browser history UI that's better integrated with tabs.
I get it - the act of staying away from your phone is taking up cognitive capacity. And if you're addicted, the constant reminder to check also takes cognitive capacity. Sex is no different - if you're single, or married and you want more sex than your significant other - believe me, sex will reduce your available cognitive capacity. The constant thought of how do I get more of it (single or married) I'm sure does more than your smartphone and probably the smartphone is just a tool to the idea of getting more sex.
It's one agreement and Epic violated it.
If you were planning to get a new phone in the next year, buy it today while you can still install WeChat. On that note, off to the Apple Store...

EDIT: I wonder if we'll be able to get around these restrictions while traveling -- Visit Canada for a weekend, download WeChat, and come home? Android users can just sideload apps in any case.
It’s not just what you eat, it’s when you eat it
The order doesn't specify blocking of traffic, just peering/CDN-like services
I don’t understand that about Apple. They’re able to hire the best. And the best people don’t get emotional. Apple’s heavyhanded actions against Epic have the image of an emotional, irrational, vengeance-seeking person at the helm.

The best lawyers working at Apple would (I assume) direct Apple’s management towards the best course of action - including keeping the company out of any legal trouble.

I don’t know a fraction of the things Apple knows - but from what I do know Apple had zero rational reason nor cause to do anything beyond pulling Fortnite from the App Store for breaking the rules (fair-and-square). Everything - and anything - beyond that in a high-profile case like this runs a tremendous risk of PR backfire. In their position as custodians of their walled-garden that needs to attract developers to generate revenue Apple needs to project an image closer to Mister Rogers than Mister Burns.

Apple doesn’t need to be petty or combative - it they’re the /good guys/ they sure aren’t acting like it. As I don’t know all the facts my mind is racing to speculate a reason for their capriciousness and I come up blank.

If Apple’s playing some long-con to screw-over Google, perhaps by announcing some surprise 0% fee for IAP for “good citizens” on their platform or some alternative scheme then they’re going about it very poorly.

I agree with the other GP posters that at this point Apple is actively doing harm to their own platform by both scaring-off major software publishers like Epic and reminding the rest of us devs that Apple giveth and Apple takeawayeth.

I imagine a progressive EU state will pass legislation prohibiting walled-garden owners from abusing their position to extract excessive rent - and from inconsistent application of their own review guidelines, which will have a viral effect within the EU’s single market - which will severely mess-up Apple’s strategy because within the EU single market the rules mean that Apple cannot decide to withdraw from a single country that it doesn’t like but not the rest of the single-market (but before people point out that Apple is a US company remember that Apple’s tax-advantaged Irish corporation is central to their worldwide operations).
Can't you still communicate with Whatsapp, Telegram or the myriad of other communication platforms?
I will assume good faith, and point out that cancel culture's main weapon is Facebook. That's where they gather all their outrage and yield it against their perceived enemies.
I think this needs a (2017), here is a link to a PDF - https://rady.ucsd.edu/docs/faculty/aGneezy/Published%20Paper...
Rust with WebGL is pretty seamless today.

I wrote a game for a gamejam using Rust, Wasm, and WebGL without any engine: https://kettlecorn.itch.io/wonder

It makes use of ‘glow’, a Rust library that lets you write regular OpenGL code that runs across desktop, mobile, and web: https://github.com/grovesNL/glow
The benefit of doing “O(n) routing” is that you don’t have to do complicated things so that a certain route gets more precedence. Real websites often have legacy URLs or one-off URLs for marketing, and being able to give these routes higher precedence by placing them higher in the route list is just easier. It’s also easier to reason about the router testing each route in sequence rather than attempting to understand how it assigned priority based on some leaky heuristics.

> if you are using this sort of flexibility your URL structure is too confusing anyways

A lot of the time, we don’t have a say in URL structure, unless we’re happy to break old URLs all the time.

Also, can we not use Big-O notation for quantities which never break 10,000, let alone 1,000. The cost of checking all the routes in order is going to be negligible.
I feel like this applies to just about anything that compels us to pay attention to it (TV, video games, etc...), albeit in different ways depending on the media.
I feel like we're talking past each other. There are two truths here:

* total energy intake and expenditure are the only things that really matter for weight loss

* for some foods, there is a difference between the nutrition info listed calories and the metabolized calories

Which implies what you're saying. If you play with your diet you can potentially keep the nutrition info listed calories constant while reducing your "real" energy intake.

This feels like semantics because all you're really saying is that commonly understood nutrition info is inaccurate (which is true -- hell nutrition labels are allowed by the FDA to be off by 20%). In a perfect world with perfect information counting calories would be counting metabolized calories. But unless you're raising cattle on narrow diets the problem ranges from hard to impossible for real food. So the normal calorie counts that dieters use acts as a proxy and if done right, a rough upper bound.
Putting the browser (and other tools) inside a workflow box seems long overdue. That alone is genius. It's a key principle I've been leaning toward as well, though with a somewhat different target as to projects and scale.
"If I didn't do it someone else would" is a bit of a straw-man argument and rarely actually true. But to be fair Twitter exposes and presents some of the same problems. I'll admit it's a very hard problem because for Facebook to actually try to fix itself would, by necessity, also reduce its ability to generate revenue. I hate the "decentralized" bandwagon but in a case like this, providing something less centrally controlled would most likely be a huge improvement, but that itself is a very difficult problem too.

Or, to put it succinctly: it's a people problem, and people problems are hard.
I keep my smartphone in a different room when I’m working from home. When it’s on my desk, even covering it with a piece of paper helps.
No, I'm not going to waste keystrokes and increase noise for lazy people. Convince physicists to write force_gravitational instead of Fg, or functional programmers to give up concepts from abstract algebra, and then I'll reconsider. Until then, RTFM just like you do in other fields. curl is so common you should already know what -s means and if not, well, RTFM.
It's not a 1:1 comparison. The point is the phone company can and does take steps to prevent misuse of their network.

Would you prefer it if social networks went straight to bans for rule infractions?
No disagreements there, but adaptations that are advantageous for the population as a whole won't necessarily spread through a population.

https://www.lesswrong.com/posts/QsMJQSFj7WfoTMNgW/the-traged...
Too much! This is a job for a doctor. Lol!
> I am curious if he ever experience boredom working on Vue.

I was curious about this too when Vue 3 overshot its release estimate and then he started working on Vite, which is a build tool.
It's very common for malware to use services like this:

1) To host secondary payloads

2) To exfiltrate user data

3) In some cases even to coordinate commands to payloads
Just going off what I remember from when async started to stabilise,
see the top comment on this reddit thread. It may be be fixed by now or simply just allocated memory instead but many were commenting on it at the time.

https://old.reddit.com/r/rust/comments/cych6a/async_performa...
Magic Wormhole is a security disaster. Do not use if you have other options.

1) By default, authentication key has only 16 bits of entropy. (I wish I was making this up…)

2) There's no good UI to make the key stronger: you can either use, say, "--code-length 16", which makes the receiving code ridiculously long, or provide your own code with "--code", in which case it's visible to other local users via ps(1).

3) Between "wormhole send" and "wormhole receive" on the other side, anyone on the Internet can attempt to intercept the transfer. Conveniently, you can list all currently valid channel ids (nameplates).

4) If the interception succeeds, the attacker can immediately run "wormhole send" with the same code, so that the intended side wouldn't notice anything is off.

5) If the interception fails, the attacker still ruined the transfer. (DoS)

All of this would be fixable, if not the maintainer's bizarre insistence on using weak crypto.
I have wondered about this for a long time. Seems like I hear a lot of anecdotal hyping of intermittent fasting, but this is the first study I've seen on oscillations of metabolites and genes.
How would that help if posting conspiracy theories and misinformation (other than libel) isn't illegal?
And yet firms collect individuals together to extract the surplus profit from them for those in power.
You're using a silly grammatical error to gloss over the entire point of my statement. Apple obviously can't violate their own rules. That wasn't the point. The point was that the impetus of the situation was Epic, not Apple. Epic willingly chose to violate the rules and that kicked off the whole situation. If you want me to rephrase the statement, then here: "Epic was the one that violated the rules of the App Store. Apple didn't start the chain of events that caused this situation. Epic did."

Happier?
Agree. Right now they are aggressively enforcing rules, but the rules are not producing a high quality bar.

Apple needs to decide if they want the App Store to be carefully curated like an Apple retail store, or broad like Amazon.com. Today they're squeezing the quality while ignoring the shit; it's so backwards.

It really feels like there's two teams with different priorities.
Wait a minute, small successes still exist. There are orders of magnitudes more objects available to purchase than two decades ago.

The success of mega projects (iphone, etc.) creates a massive supply chain (mostly in China) of people putting things together in different ways to make random stuff.

E.g.: http://www.arcadeguns.com/index.php?main_page=product_info&p... I was just looking at this to turn our entire wall into a shooting arcade with Aimtrak lightguns to help kill time during the winter pandemic.

This was not possible ten years ago.
Running an old 8-bit design at a very high clock speed would probably consume more power than a slower clocked ARM chip which could process as fast or faster due to the higher complexity of the chip. Using an old 8-bit design only makes sense when the computing requirements are extremely modest.
> 1) Why should an unsigned ballot be considered a vote? Why is it being reported as though its conspiracy?

It shouldn't be counted. But it does show that there is some "unreliability" in mail-in votes, in that people can't follow the instructions and forget to sign it.

> as though its conspiracy?

Well, it is Politico
It seems they are trying to have a safety and/or privacy story for each new feature that increases platform lockin. It's a brilliant PR strategy to have deniability on each anticompetitive action. But they have revealed their hand with things like app signing on MacOS not being just for security.
Chinese people use WeChat pretty much exclusively. If you want to talk to someone there, it's WeChat or nothing. You can still make phone calls, but that's not how most people communicate these days.
The Apple-defense being pushed here seems to be that all Apple agreements are one Apple agreement. Ie, if you have an issue with Apple in one are of business, that Apple-as-a-company can retaliate in any other area of business.

It will get interesting if it extends to (although I can't image it would) "Epic violated our App Store rules, therefore we were forced to disable Apple services usage from all of their Apple devices. Unfortunately for security reasons Apple devices are unable to function without those Apple services".
Bevy right now has little to show for itself besides a somewhat clean ECS api.
I’ve deployed a number of applications using Ember’s (Octane) and will continue to use that over React, Angular, and Vue for as long as these other frameworks continue to prioritize fp zealotry over getting shut done.
> They’re able to hire the best.

They are probably fairly able to hire the people they want the most, that is, the best from their perspective, sure.

> And the best people don’t get emotional.

Perhaps that's how you define best, but not what Apple filters for or intends to filter for.