Better HN
topnewbestaskshowjobs
Log inSign up

vmfunction

383 karma · joined May 9, 2023 (3y ago) · 239 submissions

Submissions

comment 3y ago · link · parent

>> Gold standard fell apart because it was a bad way to manage currency in a modern industrialised society

Gold market is heavily manipulated by big player such as Chase, or if you go back far enough by city state like the Venetians.

Having a gold back currency is just a insurance against the central banks to not just print money too erratically. If you look around the US, several states have already created bullion repositories. Not to mention countries such Russia, China, Germany have being repatriating gold for quite some times now.

comment 3y ago · link · parent

It is what Deno is doing, by putting what traditionally known as the middleware on the edge with a db (localStore). Essentially emulating the browser stack in some ways. Be very interesting to see different kind of code sharing amongst Deno edge nodes and browser.

comment 3y ago · link · parent

it is also about why are you there. Both friends and I have had manager that are decades younger than us. Wasn't really a problem. Depending what if you want to deal with meetings, C-Level people, or just develop software at your job.

comment 3y ago · link · parent

Don't know about now, but many versions ago, Android Studio, just doesn't not start in OpneJDK. It is mainly the UI my guess is. It requires one to install OracleJDK to work. Don't know if it is still the case or not. For most headless stuff, I would image there shouldn't be any difference.

comment 3y ago · link · parent

>Not specific to rust, but I think asynchronous programming in general is a hype.

Hmm, wasn't the whole point of doing things in event loop because it way out perform thread-based architecture? Like when Nginx way out performs Apache? On a single core CPU of course.

Edit: It is not that event-loop is better than thread-based, just in a web server scenario it just perform much better.

comment 3y ago · link · parent

Sounds like Reddit need to have a RSS feed or rethink their business model. Maybe Reddit will just be a type of social benefiting site that doesn't rely on a business model. Don't know what the VCs that funded them will think though.

comment 3y ago · link · parent

Just wonder if the the reward for security bounty would increase such as 1 - 10 million dollars to match the black market, do you think it would attract more serious security researchers?

comment 3y ago · link · parent

> From the point of view of the software, running a bunch of instructions in sequence, you do get stale values. You can have two threads wait for a signal, then both read a value, and both get different results. You can have a thread set a flag after it's done editing some values, have another thread wait for the flag, and then after waiting it sees the edits as still incomplete.

Isn't that implementation of semaphore? I would imagine that should already being done in the CPU implementation?

comment 3y ago · link · parent

wow a lot of big files, maybe they should publish it over WebTorrent

comment 3y ago · link · parent

>What we lost is just this

>``` const someInitializedModule = require("module-name")(someOptions); ```

That can partially be done such as:

import {jason} from 'https://example.com/foo.js?name=jason

On the script site use: const url = new URL(import.meta.url); console.log(`${url.searchParams.get("name")`);

comment 3y ago · link · parent

yes, RingoJS is also using CommonJS, but yeah CommonJS was mainly for Node. However, now we have standard from import that is part of ES standard. Would rather be using that now that most runtime and browser has implemented it.

comment 3y ago · link · parent

what about "green threads" that is not managed by the OS like https://tokio.rs ?

comment 3y ago · link · parent

> Though it could also make sense to horizontally shard them over regions. that is assuming the user who are editing the document are in the same geo region. How one shard the db, would depending on some internal stats of figma and how the applications are used.

comment 3y ago · link · parent

I have tried for a client who wanted to install open source app in server with sandstorm about 3 or 4 years ago, it is just very slow at the time. Hope they improved that since.

comment 3y ago · link · parent

Would beg to differ. Many people would love to a e-ink display (no color needed). It is better on the eye, and saves battery, and you can read it in the sunlight. It is not good for watching video, but I'm sure I'm not the only who don't like watching moving pictures on small screens. Most ppl just want to read and send text.

comment 3y ago · link · parent

Well with the kind money that agency has, they can buy the whole world several times over. Amazon is good example. Just give them a gov contract, and all the sudden company don't have to be so profitable in their daily business anymore. And guess who will Amazon beholden to? their day to day customers whoever is giving the big contract?

comment 3y ago · link · parent

with $17B, we can literally 3D print a bunch of micro housing. Seems like money is still wasted in Bureaucrat, red tap and some kind financial fraud.

comment 3y ago · link · parent

for sure not suggesting using E4X as it is, JSX has evolved a lot from E4X. For example, as small implementation such as https://nanojsx.io would be a good start.

comment 3y ago · link · parent

pretty sure JSX can be work into the ES standard. As E4X was part of JS before 2014.

comment 3y ago · link · parent

that is what gets me, why did the file get to 20g? At that point just ship a SQLite file.

comment 3y ago · link · parent

unless node convert to Rust, the future is Deno or rust based approach. The main reason to NOT use node is the who C backend.

comment 3y ago · link · parent

The syntax is more like mithril.js, think would just stick with that or go with solidjs.

comment 3y ago · link · parent

what is interesting about that is when I saw solid.js performance chart, it is the closest to vanilla js in terms of performance.

comment 3y ago · link · parent

1.1% seems like slap on the wrist or cost of doing shady business. 20% would be more appropriate, then again this seems like political discussion between US and EU.

comment 3y ago · link · parent

can imagine that in Berlin, but a city with 10.000 people?

comment 3y ago · link · parent

Hmm, it's a shame that Little Javascripter is not mentioned: https://www.crockford.com/little.html That is really the only positive reason to use JS.

comment 3y ago · link · parent

The fact that it takes so long to transition to IPv6 and like many other obstruction to technological/social progress are economic and business gain for a certain small group of people and organisations.

comment 3y ago · link · parent

JS does have thread.

Worker on the client side:

https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers...

Server-side/nodejs: https://nodejs.org/api/worker_threads.html#worker_threads_wo...

1
45678