Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 6y ago · link · parent

My problem with those two is the damn C++ API. I’ve used both in the past, but I’ve moved on from C++ for desktop applications to greener pastures but these toolkits’ APIs are a pita to use via ffi.

comment 6y ago · link · parent

It’s literally linked to from that page, just not ready for release: https://github.com/microsoft/react-native-macos

comment 6y ago · link · parent

The latest Xamarin is no longer mobile-only for Windows and might potentially fit the bill here.

comment 6y ago · link · parent

It’s called out for being vague in the notes for further experimentation at the end.

> pour low vs. high: I believe the point of the “high pour” is to avoid any extra mixing/disturbing of the gel

comment 6y ago · link · parent

Many science fiction writers who envisioned generations born and passing away on spaceships making their intergalactic journey to their new home world would disagree.

comment 6y ago · link · parent

Let’s hope the public sector isn’t the model that the software industry is following.

comment 6y ago · link · parent

> client-side technologies like React have a pretty clear advantage that explains why they're popular: for the people that are tasked to make websites (i.e. us, HN readers), they're easier to work with and they save us time. It outweighs all the end-user-facing cons by a lot, because companies need us, and our salaries are expensive.

As a developer that started off with client applications going on two decades, this is the attitude I despise most about the modern web, the frameworks that power it, and the developers building on it.

Developers serve the user. The user must always be the primary beneficiary. Forgetting that is why we have this bloat, terribly frustration UIs, inconsistent UX, poor accessibility, and everything else that plagues software development today.

comment 6y ago · link · parent

See also unpoly and intercooler, which are more powerful and intended for more fine-grained usage.

https://unpoly.com/

https://intercoolerjs.org/

comment 6y ago · link · parent

> than say writing your code with ES Next or React

Say again? One is a framework, the other is an updated version of the language that can be transpiled to ES3 for (non-mathematically) provably identical results.

comment 6y ago · link · parent

Why was a Twitter post to the download link posted?

Better link (still useless but at least contains a screenshot in addition to the same download links): https://discourse.ubuntu.com/t/ubuntu-unity-remix-20-04/1596...

comment 6y ago · link · parent

That’s true. I suppose there’s not much else they/we can do and the 86% represents the status quo even after their efforts.

comment 6y ago · link · parent

That’s entirely orthogonal though, isn’t it?

comment 6y ago · link · parent

It would be insanely improbable for independent life to have formed separately in such close proximity. The odds of that are entirely dwarfed by the far more likely panspermia scenario.

comment 6y ago · link · parent

I was agreeing with you until

> And this most of the times does not happen too.

This rubs me very very wrong. There is no maybe in data integrity. Redis wasn’t designed to be ACID and shouldn’t be treated as such just because “usually” it doesn’t lose data “under the right circumstances.”

If a sysadmin uses an RDBMS with relaxed fsync, they know what they are getting (and durable writes is not one of them, no usually about it). Same for Redis.

comment 6y ago · link · parent

Funny story. We suspended a middle schooler earlier this year because he was heard using that word in close proximity to a black teacher. When approached, he swore he had stubbed his toe and cried out n*r in agony. The disciplinarian and I were discussing it and I was adamant that we could forgive his using any other verbiage, up to and including sob or the f-word in that context, but that I could never in a million years believe that anyone would use that particular slur after stubbing a toe or getting a paper cut.

comment 6y ago · link · parent

You can’t even install a GUI without getting every web browser, mail client, office suite, and more under the sun.

comment 6y ago · link · parent

You’re not getting it. You don’t need any intermediary framework or library to store state in cookies from the backend. You can do it without executing anything on the client. With LS, you are forced architecturally to execute code on the backend and in the browser just to accomplish the same thing. They’re incomparable.

comment 6y ago · link · parent

I’m sorry, but as I have proven the two are not equal in complexity (among other things) then any future inference based on that assumption is void, most especially your assertion that the only reason people aren’t using LocalStorage over Cookies is because they’re somehow “afraid” of JavaScript.

It’s like saying “the reason people don’t use apple juice to make mimosas and continue to use obsolete oranges is because they’re irrationally afraid of apple peelers.”

Do you see how many things are wrong in that statement?

comment 6y ago · link · parent

That’s not how it works. You can’t just gloss over needing to use JS as if it were merely a different language that compiled to the same bytecode. I’m not talking about complexity in terms of the number of frameworks or libraries you need to install. I’m talking about actual, measurable complexity in any objective metric you choose such as in terms of the number of distinct system, layers, hops, components, layers, etc you need to go through. There’s no comparing reading an http header included in the first lines of each and every request with the extremely brittle and objectively complex approach you are talking about.

JavaScript is absolutely not intended to function as a core part of merely making authenticated web requests between the browser and the server. I’m saddened by how often I need to explain this.

comment 6y ago · link · parent

Yes, as a matter of personal survival: never resist arrest.

As a matter of conscious and principal though, passively resisting arrest should never lead to your execution. Acknowledging it’s not the case and thereby personally making sure to comply with the police does not make it “right” for this to be the norm.

comment 6y ago · link · parent

I’m guessing you’re a frontend guy. The two are only comparable from the frontend, if you’re developing a traditional app and want to use LS instead of cookies, it is certainly embarrassingly more complex as you’re forced into a JS intermediary to channel info between LS and your backend.

So, no, certainly not equal complexity.

comment 6y ago · link · parent

In an enterprise context, round trips (on the intranet) are cheap.

comment 6y ago · link · parent

Am I missing something or did the definition of static website change? AFAIK a static site is one that has no backend and you can throw on S3 or whatever. An ASP.NET project is pretty much the absolute furthest you can get from a static website.

comment 6y ago · link · parent

That acquisition happened a blink of an eye ago, in the grand scheme of things. Things don’t change that fast, especially when you have the sheer amount and scope of DevOps and integrations that MS has. With the possible (but even then still unlikely) exception of greenfield projects, there’s basically no chance that anything but open source (or soon to be open source) MS projects were hosted on GitHub.

comment 6y ago · link · parent

Previous discussion for reference: https://news.ycombinator.com/item?id=15838270

comment 6y ago · link · parent

It’s more nuanced than that. As Gov Pritzker made public, states are having to bid against one another for PPE and driving up prices significantly because it’s every man (or woman) for themselves. He publicly castigated the federal government for not centralizing the acquisition of resources (which isn’t the same as footing the bill as they can allocate the materials (acquired at whatever better cost they can negotiate as a single buyer then) to states based off of population or need, ands charge them for them if they like.

comment 6y ago · link · parent

It’s hard to believe that every nation with an airforce doesn’t already have some sort of protocol in place about what to do if you see a flying object not flying any known colors that you cannot hail on radio.

Edit: unless they all do dating back to the Cold War, and it’s “shoot first, ask questions later.”

comment 6y ago · link · parent

In my experience, a lot of projects start off with shared tenancy (using a tenant id discriminator in the database) and eventually migrate to completely separate schema for each tenant (i.e. a separate “installation” of a single-tenancy app for each tenant) to avoid security and architectural pitfalls.

Once you’ve done that, you don’t have to worry about forgetting a `WHERE tenantId = foo` somewhere and leaking data. The actual code is shared (i.e. not installed separately or in separate processes) and you would simply use your dependency injection or equivalent to resolve the DB connection contingent on $user’s validated claims.

“Networking” or sharing entities across tenants becomes harder this way.. but purer/cleaner. You essentially create a federation layer and communicate across instances via a hard code wall (via network requests to yourself and an API) rather than “in memory” which is less efficient and requires a lot of boiler plate, but it’s going to be what you’re going to end up doing anyway.

comment 6y ago · link · parent

No, I didn't mean ZFS in particular when I said that. See for example how long it took to get Debian to allow non-free drivers.
1
126127128
277