skysight-inc/HackerNews huggingface dataset:
This is making rounds on every clickbaity site in the world. The article is always incomplete.

Apparently Switzerland did write down a plan for how to handle a real energy crisis. It has like 4 levels (from what i remember about the original piece of news), from "expensive electricity" to "we really seriously don't have enough energy input for the current consumers and need to shut something down".

The part about not using electric cars is at level 3 or 4 of bad out of 4.

Going to press the flag button on a HN post for the first time since I've started reading it.
I am also working on JS client-server multiplayer implementations, and I've gone with WebRTC for the transport and a state-based communication (instead of events). The primary reason is to avoid desyncs, which is in my opinion impossible to avoid with JS because of the different JS engines and platforms that the game will run on. If you're expecting determinism when playing across mobile ARM, desktop x86, desktop ARM, and any combination of these, then the only way to achieve this is to use fixed point math and reimplement the behavior of JS primitives such as arrays and hash tables. It might be worth it for you and the game you're making, but for fast action games this is not needed, and just sending state to the players should work well.
This is full of misdirection and half truths.

It is true that transit policy is a choice but it is one largely driven by economics. There is also an element of personal preference. Public transit is not pleasant or flexible.

Believing that the US would become eurplope or Asia if not for transportation policy is simply untrue. There are some regions that could adapt but the ones most likely to benefit from and use mass transit already have it and barely use it. The simple truth is our cities and geographies are different.

The tradeoffs you gloss over are likely to be much lore significant. They start with the tremendous investment required to add these where they don't exist and end with the mix of economic and quality or life impacts inherent in this type of travel.

EV do not drop total emissions out of the gate. Most start with a higher carbon footprint (and environmental impact) than ice vehicles and do not break even until more than half way through the expected life cycle. You do get some gains after break even but those benefits are mostly on relocation rather than reduction and are reset when the car hits battery replacement. I like EV's but they aren't the panacea they're presented as and come with their own problems.

The bottom line is that the automobile for all of its flaws represents complete freedom of movement not offered by any other means available to the average citizen. And you want to do away with it.
It may be an important component that movies have moved to a “corporation per movie” model. There are other structures on top of course, but the point is that making a movie often starts with the incorporation papers being filed.
I'm a fourth of the way in. Your outlook is fully alien to me. We die when we die. This struggle for X more years of life is at best vain.
DocuFreezer Download converting an Adobe PDF document, Word document, Excel spreadsheet, Outlook e-mail, PowerPoint presentation, HTML page, Photoshop image file, XPS file, text file, or JPEG image to another format is usually not a problem. But what if you need to batch convert many files and don’t want to repeat the same operations over and over again? Free file converter DocuFreezer can save your time every day. Get docufreezer free download with crack.
Not to mention every public charging post has a data connection to meter things; I wouldn't be surprised if private ones do too, at least the higher capacity ones. Regular plugs won't, but they're very slow charging relatively (and thus won't have as high an impact on the grid)

I mean one thing they could also do is just lower the max charging capacity, or shape it according to current capacity.
Funny, I have always enjoyed his work, but also considered him a stuffy reactionary. I was reading an article about Eric Gill who by all accounts was a terrible person, but that was converted into a reason to boycott his art. I think we need to hold the person and their art as two different things.
Yes, increasing costs (artist- and technical) even more in post production.
Man, you are way too afraid dude.

It's YOUR internet connection. Who's going to ban you for opening ports and running a server? I've been doing it with comcast for 20+ years.

Maybe not all my server traffic goes through port 80 or 443, but my server is also my torrent seedbox which is high traffic and just another port. WHATEVER.

My server is just a Windows 7 PC in the living room with no monitor, no keyboard, and no mouse. Only connected power and ethernet. I remotely control it with RealVNC and it's extremely stable. The only time it goes down is a power outage because I don't use a UPS.

I use it for a website (nginx/let's encrypt), Jitsi Meet, Mumble, Ventrilo, FTP, proxy (8080), and of course torrents. Not afraid of port scans.

I use a couple of DDNS domains that I give people but I can disable the public one I give to people and change my IP any time I want.

NOT VPN. NOT Cloud. NOT VPS. NOT pay monthly to someone. You can do it all yourself for free and have been able to for decades. Quit being so scared, cell phone generation.
If they really cared about this niche market I think they would need to rethink the problem. A lot of the important rendering is done in rendering farms (AKA cloud these days).

So build a two part design: a rack form factor with a storage fabric and a lot of processors combined with a super mac studio for display and control, all connected with 10 GB. The investment would be immense compared to the market (not just in hardware but with the end user tools) and hard for most companies to develop software for.

The only upside for Apple with this approach would be that their cloud back end could benefit from this development.

It's the classic Innovator's Dilemma: I don't see this market being worth investing in at all for a company like Apple.
Listen, I don't agree with the "words will never hurt me" thing but trying to argue that by denying the utility difference of a broken arm is a lost cause for them.

Someone who's decided that the mental and physical pains and debilitations are wholly separate, especially here, will probably want cited studies and actual scientific evidence that the psychological community no longer believes that. Until that is presented no amount of semantics is gonna work.
...right because universal credit is a benefit target at poor people. Almost everyone who is on universal credit will receive a rent subsidy too (add it up: employer subsidy, landlord subsidy...everything is subsidized). The main issue with UC is that it is too generous and significantly reduces the incentive to work (and btw, UC was introduced specifically to increase the incentive to work and get rid of structural unemployment...it did the latter but has failed totally at the former...all we did is give employers a wage subsidy, and it didn't actually lead to more productivity or more anything).

No, it isn't. Because labour is not a substitute for a machine, you can get rid of a worker for a machine but a machine doesn't vote, can't riot, etc. You still need to feed and clothe a human. The UK has, literally, millions of people who need work and will be unable to support themselves with the economy at the current size. I don't know what the solution is, but we won't be able to grow our way out of this (we tried in the early 2010s, it didn't work, we tried in the 2000s, it didn't work). One issue is that we spend massive amounts of money on subsidies but don't invest in skills (a lot of the problem today is with older people...so improving education won't work there).

The scale of the underemployment is probably ~5m people...in a working population of 32m...it is far bigger than people think AND we are bringing 1m people a year into the economy whose fertility is significantly higher...it is a very big problem.
Then what do you use in a UI to label something “disabled”?
Yeah, even in the example from the README, something seems a bit off, although I can't put my finger on it. But I wonder how the animation would look if the subject turns its head...
Don't make your goal to be accurate state across the internet. Game making is all about lies, cheats, steals, and fudge.

In this situation you can stream movement waypoints from remote clients and lerp between those waypoints locally to simulate movement. If latency is low enough you can make predictions about the next waypoint and it won't look bad when you're wrong.

If you're PvE, you're done. Nobody needs to know precisely where their teammate is as long as the game feels fair. (The AI players on the other side won't complain.)

In PvP the opponent will complain, and they're also a customer, so you have to do something about it. This is an entire technical discipline within gamedev if you want both accuracy and player freedom.

Don't be afraid to let technical constraints guide your design. If you don't want to spend your life building remote physics validation or latency-aware consensus algorithms, make your players interact with the world via clicking so you always know exactly where they wanna go next. One of the super powers of being a programmer + designer combo is making trades across disciplines to maximize your output.
I did this for a bit. The main issue was that air intake on my older model was through the keyboard, so clamshell mode was inadvisable - not sure if that’s true of the newer models and M1 should run cooler.

If you’re wiping it and installing Linux it’s like any other server, but if you’re running macOS you’re open to a wider spectrum of vulnerabilities that wouldn’t normally apply (desktop software). Your apps could also have vulnerabilities that expose access to personal credentials, etc (e.g. filesystems, apple id) depending on your setup.

You can insulate yourself a bit with tunnels/proxies to expose specific services (e.g. cloudflare, ngrok).

I had a lot more peace of mind buying an old, cheap computer, raspberry pis, and eventually NUCs.
For anyone confused: https://xkcd.com/221/
This intrigued me, and I believe that I've found a solution that's slightly faster for this AoC problem. It's achieved by keeping a running tally/counter for the last 14 characters (benchmark in comments).

https://gist.github.com/zegl/1ce3064c8049fa1b99c1dd202d78588...
It'd be helpful for others if you clarified whether you're asking a question or making a statement.
Ah yes, lower wages and higher rents, exactly what every country needs right now.
I wouldn't be surprised if AmigaOS was tightly integrated with its custom chipset (denise, fat agnus comes to mind as a colorful name for some of these), making it a lot more difficult to port it to x86.
Businesses can change, too. My credit union[1] recently made a web site change causing me to no longer be able to log in. The new shiny red login button they probably paid $millions for an incompetent developer to provide does nothing when you click it (desktop Safari). I vetted the old site which worked perfectly, but now it doesn’t. I’m working on moving my business elsewhere.

1: https://www.techcu.com/
Thanks for sharing, looks really nice. Way less verbose and more intuitive syntax than PlantUML. Also seems to drop some vestigial UML aspects, like those default icons in the top right of PlantUML boxes (although I don't really grok UML). Title is somewhat ambiguous, since PlantUML is open source as well.

I have a standing Google alert for UML threads, because I've been looking for a long while for a good resource on what makes a good diagram. Not how to make it or what to make it with; like a Tufte for diagrams... Anyway D2 seems to make it easy to make clean diagrams.
I find that the bigger engines give you much better equipment to succeed with multiplayer. I think smaller engines avoid it as it’s easy to declare it out of scope and therefore avoid the pain.

Also, a piece of advice I once heard that resonated with me: you either make a game engine or a game. Never both.
Eh, that almost feels like a strawman argument. Pre-Musk Twitter wasn't worth $44b either. By normal metrics, it only needs to be profitable to sustain.

It might be more accurate to interpret Twitter as a luxury good (from Elon's perspective). Similar to how other billionaires build lavish yachts.

With that being said, there is no argument for his purchase or subsequent actions being construed as a viable investment strategy. The whole debacle looks like child's tantrum.
No this kind of thing is called an audit and law firms are typically involved.
I'd rather be beside a Lithium mine than an oil refinery.
I'm assuming you're talking about lockstep/rollback network model, since it should not be an issue for client-server with proper client prediction/interpolation.

The biggest source of these inconsistencies is Math.sqrt(). You need to implement deterministic version of sqrt() and that should fix 99% of your issues. Hit me up if you need some additional pointers.
Anyone that has hooked up a external drive to an M1 or M2 based notebook knows why: the performance of external devices dropped off a cliff with Apple’s own silicon.

Not to mention single external support…

Consumers Pro users are likely to look aside on the external IO issues, but it’s doubtful that actual studios would.
What Child Is This?
OpenAI Integrations (beta)
Realm-Specific IP
Disclaimer, I work at Monada, the company behind wing

I completely agree with you, a language that considers cloud development as a first class citizen must embrace something like open-telemetry for distributed logging (spans, traces, metrics, logs). When you log something or measure something in your code it should always be part of some distributed trace. We want to embrace this thinking for localhost development and allow our customer to choose their APM provider when they deploy. In a sense we don't see a difference between a cloud resource that is called logger (can be implemented by DataDog, New Relic, Coralogix, etc) and a cloud resource that is called a Queue (can be implemented by SQS, Redis, RabbitMq, etc...)

Also, as you mentioned, because in practice all the `inflight` (https://docs.winglang.io/concepts/inflights) code is async by nature, the language should wait for any API call to be resolved (e.g. "await") by default, deferring an API call is the exception
They don't have much of a cloud back end at the moment though do they? Thought they used Google.
It's also wrong, because someone can have been incarcerated without having been convicted.
Sioyek
Seems unbelievable how they'd fumble the title when they could just as easily have called it "secrets scanning" and it would be OK.
The track was wet and it's common practice to warm up tires before racing or drag racings.

This number on a street legal (or technically soon to be street legal) car is insane. That 1.4 includes rollout compare that to a Tesla Plaid which does it in 2.3 seconds (the 1.99 seconds is only possible if you exclude rollout).

The McMurtry Spéirling broke the Goodwood hill climb record this year.

https://youtu.be/5JYp9eGC3Cc
> No matter what you do, your estimates will never be accurate.

> When estimating, a different estimate usually means there is a conflicting understanding of what needs to happen.

If all estimates are inaccurate (they are), then two estimates for the same job would be expected to differ, regardless of any conflicting understandings.

The author's view seems to be that estimating is generally best not done. I had hoped there might be some tips on how to make better estimates, or how to use estimates better. Everyone hates estimating, because of the risk of being hoist by your own estimate; but sometimes estimates have to be made, and then it's best made by you, rather than by your boss or sales-dude.

A long time ago I was taught Function Point Analysis. The job is broken down into "functions", which means something like deliverables: screens, reports, inputs, processes etc. Each function scores some number of points; you just add up the points. The number of days per point depends on the coder's velocity and the estimator's bias; given a history of estimates, the estimator's bias can be calculated, and the coder's history yields his velocity. There is also scope for fudge-factors, to account for e.g. complex processing.

In addition to an estimate in days, this process also yields intelligence about your coders and your estimators.

[Edit] Part of the goal of FPA was to facilitate making estimates based on just a functional spec, with no detailed design.
I don’t know about Raspberry Pi, but I went for the familiar Intel/Linux setup: mini-ITX computer, fanless, similar to Intel NUC but bought off Alibaba, 4 GB memory, reasonable 256 GB SSD, 4TB WD passport, synced to my OneDrive account. I replaced big noisy NAS setup with this and it has been great and working for many years now. I do not host any public facing web server though and connect to it only through VPN (being hosted on the same computer).
Everyone isn't going to switch over in 1 month or even 1 year. There will be a slow progression. We never have "doubts" that the grid can actually handle the demand when for each new 200+ person development we build. I'm sure there are places that need upgrades but they'll get them when they are needed just like when we put in a new shopping center and have to add new infrastructure.
I'd argue when the demand is predictable you should never rent, ever. Even with cloud services for example, if you have a very predictable amount of usage you're better off "buying." Whether that means reserving instances or bare metal obviously depends on you, but my point stands.

Renting is most effective when you're unstable - like moving around a lot, or are renting places that would otherwise require a lot of upkeep without a commensurately low purchase price.
Yes, this is the penultimate step before blackouts. Other steps in the same category are: Heating limited to 18C, maximum washing machine temperature of 40C, restrictions on opening hours for business, etc..
Code Confessions: Share Your Hardcoded Secret Horror Stories
As a native speaker, I am also unaware of any other meaning.
Eh, I disagree. The Mac Pro market is a tiny niche. I’ve been doing iOS and macOS development for more than a decade and I’ve never met someone with a Mac Pro, so I’m pretty skeptical of the idea that the macOS platform is in any way dependent on a tiny fraction of (mostly corporate) users being able to use macOS for their 8k video editing workflows or whatever.
Opera browser on a Hackintosh.

When I went to the site it had no ads on it thanks to Opera's built in ad-block.
I'm sure you could find it on Google Scholar. I'm not your personal googler.

My wages disagree with that statement. But hey, we can't all be 10x.

Did it ever occur to you to think about why people use scripting languages or what advantages they have over regular programming languages?

Of course not, you are used to statically typed languages and are blinded to the idea that there are other ways to develop software.

I'm guessing you did a search for sources to backup what you are saying and found out pretty quickly that they don't exist.

Static typing in Python is a practice based entirely in common ignorance not reality.
I've watched those videos, and they're always super upfront with "this video was sponsored by the Gates foundation." I don't see a problem here.
It's the headache of having to find another place, and moving everything there. I bought a house so I wouldn't have to do that.
This is one of those vice-style articles where they came up with a pithy title first, then sought whatever they could get to support it.
I think your presentation is a bit unrealistic. If these things happen, they will probably happen a bit more covert. I agree on your premise: that the government has an incentive to get more and more control over its citizens, but I am more afraid for the trump-type governments using tools like "the protection of free speech" against their political enemies and using the blocking of electric cars to block their political enemies (as it is more usually rich left-leaning people that own electric cars). I was also against the lockdowns that were done by most western governments. But your fear for this kind of oppression is -I think- a bit overblown.
>What I see is the Stanford IT department’s internal guidelines on language that should be avoided on its own websites and code.

Stanford is a university. One of the most well known. Universities set the general tone in many areas of life (through tuition, scholarship, participation of professors and students in public discourse, and so on), and what they have as "internal guidelines" serve to legimatize and broadcast such guidelines and the need for such guidelines outside of it too.

If not for anything else, for the obvious reason that the very role of a university is to teach and shape the minds of young, impressionable, people.

It's exactly a university that should promote free speech, and be above mass hysteria about words. They can very well have internal guidelines of some terms to be avoided - just not silly ones that show a total giving in to BS.

And of course, we can stick to a narrow reading of this, and see it as an isolated, unrelated to anything, list of internal guidelines, or we can see it as part of a general trend of something seen everywhere, and discuss that.
Yes its called your iDevice/Mac etc. Trusted Circle devices are all security keys
Look at popular media. "who is master" is everything. Who is up and who is down. Who dominates and who submits.

It's a topic very dear to our hairy little monkey hearts.
But who's is going to do this? Who's going to push this change?

They keep getting even more money every year, and they won't stop just for the good of humanity.
They do not have to retire in UK either, right? You can take your nest egg and move to SE Asia?
>So I have no need for these fancy password generators :)

There's nothing fancy here. On password fields browsers have an auto-fill. Your method requires more effort compared to it.
It’s pretty much present in every modern car, but in a non paranoid world, what will probably happen is the police will just stop them on the road
I believe you can right click in any type=password field to bring it up with the heuristics didn’t detect it as a new password field.
He's gonna be pissed off when he finds out about that.
My personal opinion is that in the “old days” when people were experimenting with HFR (The Hobbit?) there was actually a visual loss simply because exposing the frame for less time let in less light which led to a slightly flatter colours and lower dynamic range.

Now that we can do HFR in software, we’re not bound by that limitation.

I might be wrong though: I’m not in the movie industry, I just enjoy them.
I'm fairly certain that I'll never be able to "retire" in the conventional sense.

It may be that I'll be forced out of my career somewhere around 60 or so (I'm currently 40) due to ageism. However, I'll probably just have to pivot to a different career at that point.

I'll have savings and investment money to live off of, but probably not enough to sustain a reasonable quality of life until I expire. And everything I'm paying into Social Security will probably end up taken away by the government for some concocted reason or other before I can use it. So, that means I don't get to retire.
Show HN: Textra – extract text from images, PDFs, and audio (Mac CLI tool)