skysight-inc/HackerNews huggingface dataset:
Ask HN: Teach Me Electron.js
I'm really interested in learning Electron.Js for cross platform apps, but the official documentation is a bit hard to follow.

Any help would be appreciated! Are there any good tutorials? Is it possible to "lockdown" the Google Chrome engine in our electron apps so that future chrome changes don't break our apps? What is the process of developing - how do we launch our apps, compile our apps, change them and re launch?

I'm such a newbie in this space, any help would be much appreciated.

I really believe in the power of Electron -- even though it can be bloated, it lets us use the power of web browsers in our development. It also makes it easier to transition to a full blown web app later down the track. To me, its amazing :)
If you're set on using vim slime is great. Basically you bring up the REPL in another tmux or screen split then you can just pipe your forms to it.

https://github.com/jpalardy/vim-slime

Here's a few previews for fun books I enjoyed, land of lisp and realm of racket by conrad barski

https://books.google.ca/books/about/Realm_of_Racket.html?id=...

https://books.google.ca/books?id=9apQfCRhvm0C&printsec=front...
Apple just wants a deal to be made with Facebook for $X Billion to keep that feature enabled. Just like Apple deal with Google to just keep Google as default search engine in its OS.
> It's definitely nice to have these skills but let's be real, you aren't going to use them on a daily basis.

I mean, practice for the job you want.

The majority of software jobs don't need this stuff -- writing frontend code, writing some backend services, mobile.... the type of work where you a) aren't building the platforms / tools everything is based on b) don't need the best performance, just need it to work OK.

But there are plenty of jobs that do need this stuff. Working on an OS, or database, or a product used by millions, or a large scale platform...
"Ideally" - that's the problem. I have half a dozen long tail side projects running right now on Centos 7, and a few still on Centos 6.

Do you have any idea how much effort it is to change everything over to "treating your servers as disposable"?! It's going to eat up a third (to half) of my "fun time" budget for the foreseeable future!
It isn't quite that bad, because the tests aren't independent. You end up with a few people who are disproportionately likely to test positive and can adjust appropriately your testing strategy for them.

And even if that wasn't the case-- you keep a few people home (them + close contacts) until followup molecular testing returns a negative. Yes, it's a big hassle-- you're "falsely" forcing 10% of the student body into remote learning, but probably better than remaining closed.
The fact that a majority of the comments are whining about the name really shows you the worst part about open source: the non-contributing but highly entitled part of the community.

If you don’t like the name, launch your own CentOS replacement. There’s no better time than now. If there’s one thing this project does not need right now, it’s armchair marketing experts.

If you do care about a viable CentOS replacement, do something. Contribute code, money or expertise. The last thing any new and vulnerable project needs is another “idea guy” or a new logo.
One disadvantage of "Rock Solid Linux" is that it shortens poorly. I think "Rock Solid" or "RSL" would be ambiguous. On the other hand I think "Rocky" sounds nice and unique (at least in this space).

Also I feel naming it "Rock Solid Linux" would be a bit gaudy or arrogant.
ya it's a slow burn, but I think the September '20 - September '21 period will end up seeing roughly the unit sales mentioned in their bet. Quest 2 is making a large impact.
It's funny that you say this because kindof "the" people who make jet powered cars are in Florida, not San Francisco: https://www.elainelarsen.com/
University Top Most Entrepreneurial Universities
Go compare the market cap of bitcoin with the money supply of some countries. Is it still a hobby currency then?
Isnt that the third section under "How to use" ?
This book is also in archive.org:

https://ia800700.us.archive.org/33/items/sketchy-lisp/sketch...
It actually did at one point; before Docket Desktop there was “Docker Toolbox”, which required separate virtualization software. The installer came with Virtualbox by default, but there were options to use Parallels and VMWare as well. This is probably what GP is thinking of.

I'm actually using a version of this setup today in order to run Docker on OS X 10.9.
Gustave Courbet’s ‘Origin of the World’, 19th Century’s most notorious painting
There's no need to mail tests to each individual end user.

The tests could be manufactured locally and picked up in bulk by the end users from centralized locations.

But even if they did have to be mailed to the end users in the hundreds of millions, that's not exactly an insurmountable challenge.

Just a little while ago hundreds of millions of people got mailed ballots and plenty of other information so they could vote in the Presidential Election. That's not to mention all the junk mail each of us gets every single day.

Look at the massive effort put in to the Manhattan Project and the Space Race. There's no reason the government couldn't have done something like that for mass testing, and saved hundreds of thousands of lives and trillions of dollars.
It's a really good point; what really got me was Facebook being impossible to remove from my Samsung device (S8+) without rooting. Likely due to their tie-up with Oculus. I find the uncannily appropriate ads being served fairly disturbing, and an invasion of privacy. It's going to be a real challenge transferring data and settings though...
Again, this depends on field, but a lot of academic hiring, at least at the level of faculty, is about branding of sorts, of building up a story of them being on a meteoric trajectory of genius so brilliant it can't be contained by fate or circumstances of any sort. I've read it referred to as the madonna-whore complex, which is quite accurate. It's hard to explain unless you've been on the side of faculty hiring, but it's very much about looking like the next super-Einstein-Nobel Winner in a room full of people who will never attain anywhere near that much fame (but who think they have), in a scientific process that is really about incremental contributions anyway.

What a brilliant way to describe it. But I must add that industry has the same problems. I work in big tech and we have people who are brought into leadership coming from a hot startup because they are perceived to be John Galt figures, and they turn out to be unqualified status seekers.
Wikipedia: Don't Be High-Maintenance
GitHub kinda sorta recommends HTTPS instead of SSH in a few places, e.g., https://docs.github.com/en/free-pro-team@latest/github/getti...
All this is true, but when I look at undergrad curricula for other engineering disciplines I don't see this stuff either. And the software engineering courses I did have in undergrad were terrible.
That’s the definition of clickbait.
Cough cough masks.

Took my parents a bit to 180 on that one.

I sent them N95s in late Feb and they still don't really wear them (though at least they wear basic fabric masks). At first they told me 'those don't prevent covid - i heard might make it worse.' I tried to explain what n95 technically meant to no avail.
Not only is the name just three letters long, it's git backwards, and the acronym text-mode interface for git. Simply perfect.
Nope. On and off for the last 30 years, in all sorts of media. It just never sticks.
A browser with 10 add-ons is as dumb (if not dumber) than a browser with no add-ons.

A browser backed by a company committed to open-source and privacy is as dumb (if not dumber) than a browser backed by an ad company.

Dear god stop over-reacting. Open source communities are so toxic. Can't believe you actually typed these words into existence.
That is your subjective opinion, one lots of people in this thread happen to disagree with.
The lifecycle is at its worst at this very moment and is about 10 years (the last moment you could have made a GTK 2 app before 3 released).

The price of backwards compatibility is keeping backward design. Microsoft stated a few times that they couldn't keep the exact interfaces of Win32 without leaving security problems inherent in the mis-design of original interfaces. I have no idea if they intentionally broke the interfaces, but Wine is sometimes more compatible with old win32 than windows.
> I don't think so.

Octave has "toolboxes", they are called packages: https://octave.sourceforge.io/

I don't have extensive experience with Matlab's toolboxes, but my impression is that most toolboxes without graphical interface (e.g., optimization, signal processing) have an octave equivalent with the same function names and mostly compatible. What is missing are the "gui" toolkits like simulink, the circuit stuff, etc.
It sounds like you work in an industry that doesn't strictly require frequently delving into foundational theory in CS. I do believe it would be a mistake to conclude its useless, however, as there are many other industries that do need it, and people who are not in touch with the theory probably would not be competitive in those industries.
What are resources you reference the most in this kind of work?
FreeBSD, I'm Coming Home
Got a link to proof of this?
PS2 emulation on Xbox Series S and X
Gotta love the fuel tanks. Exactly how they stood on the shelf at the hardware store.
> The thing is, I also recognize that while it is already an incredible achievement, it's still probably 5-20 years from hitting its iPhone moment.

Ironically, by getting acquired by a giant company, Quest development was set back by that many years.

The real problem isn't technology or even adoption, it's that people who work at giant companies suck at making games.
Flash was easy to avoid unless you needed certain sites for work or for school; I kept it disabled by deleting some files starting about 2006 or 2007. HTML5 on the other hand is impossible to avoid unless you want to restrict yourself to a few familiar sites. And web fonts are getting harder to avoid because more and more sites are using them to draw icons and other small UI elements. For people whose tastes are sufficiently like my own, the web has been getting worse.

I used lynx as my daily driver for most of the 1990s and through 2005. In contrast, these days it is impractical for the average person to use a browser that is not maintained by an organization employing many hundreds of full-time developers. This dependency on money (to pay the developers) limits a person's options.

I never wanted to be able to replace my desktop apps with apps that run on the web, so I don't consider web apps to be compensation for the constant stream of annoyances (e.g., the moral equivalent of pop-up windows asking me to give the site my email address) that HTML5, web fonts, et cetera, enabled.
How easy is for an untrained person to use it?
Maybe it's better now, but there were a lot of packages available in Leap that weren't part of SLES. It's been a little while since I've last tried SLES - still super happy with Leap 15.2.
I'm someone who went from using Linux, to macOS, to Linux again. Developing on macOS leaves a lot to be desired when coming from Linux, especially when it comes to using Linux containers.

While Linux may one day boot on the M1, there's no video drivers, and developing them without documentation is a monumental task that probably won't ever happen. Apple deprecates macOS support for Macs after 5 to 7 years, meaning that you probably won't be able to use Linux on the M1 after Apple stops supporting it.

For that reason, I won't be buying an M1 Mac.
no, it questions it
Usually I'm looking for something specific and question whether books will be much help. Eg., I have some salsa, sausage and lentils what can I turn them into type searches.
I don’t understand the downvotes. This reply has a lot of factual information (I certainly learned something) and gets everyone closer to the truth which is what’s important at the end of the day.

The original post reads like “a person who got rich through patent trolling is now spending money on cute projects”. The true story is more like “a person who got rich through a startup acquisition and a decade at Microsoft is now investing in patent trolling and spending money on cute projects”. In my mind there’s a big difference.
Bells of the Web [video]
>The culture--and even language--of many local communities has been transformed against the wishes of their native inhabitants

>Numerous organized crime syndicates headquartered in the new immigrants' home countries have gained solid beachheads of operations.

I thought the answer would be "racism", it usually is.
>If there was a massive government initiative to manufacture such tests and subsidize them so that everyone got them every day this pandemic could be effectively halted in very short order, even without a vaccine.

Provably false, since over the past 10 months we've seen people all along the way going to parties, restaurants, rallies, airline flights...all after having tested positive. Mooks and celebrities, it hasn't mattered.

Your false assumption is that strangers care whether anybody around them dies a painful and lonely death. That's before you even get to the practicality of isolating people who test positive, or to isolate themselves, especially among science disbelievers, Christian congregations, and 2nd Amendment activists.
> Great, another Linux distro...

It is less a standalone distro and more a free version of Red Hat Enterprise Linux.

> Nouveau glitches.

Then why are you using it? As much work as people are putting into nouveau, they have to work more often than not against NVIDIA instead of with. If you want a system that works just use the proprietary driver.

> Why can't people just band together and create one good Linux distro for the desktop.

In this case? commercial interest, people used CentOS in production instead of buying Red Hat Enterprise. So the people in charge decided to make it useless for that. Now we have Rocky to do the same, just with people in charge that are not financially connected to Red Hat.
Happy to hear they are making progress, but I would caution people on being an early adopter.

It's a tech preview only and don't screw yourself by thinking you will be able to just jump into your usual workflow without issues.

Good luck docker!
Download: https://desktop.docker.com/mac/m1preview/Docker-AppleSilicon...
Setting up shop under a new name can be stomach-churningly daunting. Best of luck to Gregory and the rest of the team.
When Google’s Artificial Intelligence Goes Homophobic
You wanted Apple to add container support to the OSX kernel? Hah. I wonder if the virtualization API that Apple is pushing performs better than Hyperkit.
Or that foreign agents can roam basically freely in those (and basically all) countries?

I'm totally on board with accident/malpractice from shitty construction.

But implying or outright saying the CIA used a weapon on their own employees is crazy - without actual proof - especially to write out on HN.

Sure as pointed out below the US has done - and probably is - doing stupid things. But I really don't buy testing a WEAPON without consent
>Therefore, the best form of government in the real world may be a benevolent dictatorship.

So what happens when your dictator changes their mind? What ensures they stay 'benevolent' and what recourse do you have when they don't?

"Power tends to corrupt, and absolute power corrupts absolutely."

-John Dalberg
Godbolt (CS61C should probably have a Godbolt lab.)

Coursera Fundamentals of Parallelism on Intel Architecture

Emphasize STL, Boost, OpenMP, MPI, NUMPY, containers, ...
... if docker ran “natively” it’d mean using kernel hooks provided by xnu, which means you’d be able to run another instance of macOS in a container.

How is it so many people use docker but have zero fucking clue about how it works?
How Influencer Agencies Find Millions of Micro-Influencers
Facebook's Quest 2 is an impressive piece of tech.

One of the biggest reasons to be skeptical of VR taking off is that Facebook is one of the major players. Between the login shenanigans and their anti-competitive dealings with developers, they have an opportunity to single-handedly tank the industry.
I think they only meant "that long". In other words, not for 5+ years without an upgrade. Not that you shouldn't run them at all.

Not everything can be highly ephemeral or a managed service, so running servers yourself is totally okay like you said.
If the number of people tried who try to transfer money between banks tried to do it on the bitcoin network, you would be waiting months for the same transaction that is taking you a couple business days with banks.

On top of that, you'd also have all the additional risk and liability of dealing with potential fraud and uninsured institutions.
Happy to hear your alternate policy proposal.

If you were mayor of the City of Los Angeles, what would you do differently, and what would be your justification to the citizens for your policy?

Do you feel the policy you outlined would be judged to be significantly better than the current policy by the majority of voters of the City of Los Angeles?

If so, how much better, and measured by which metrics?

Do you feel that there would be pushback against your policy by City Council, Public Health Officials, Public Safety Officials, or other key stakeholders?

What would be the risks if your policy was wrong and you had misjudged the situation? What would be your contingency plans?

If your policies are workable, let's get them concisely outlined and email them to some key interest groups so that they can start getting them out to the public and key stakeholders.

Do you have experience in Public Administration and Public Health? If you're an epidemiologist or city official, your credentials will give your policies more weight and your knowledge and experience will be highly valued since it likely takes into account a variety of 'Chesterton's Fences' that a layperson wouldn't have considered.

Even if you have no knowledge of the field, you might have some great ideas.
Too bad people can't make cupcakes for themselves.
Lightning network will also scale to millions of transactions per second and consume much less than each Bitcoin transaction.
Honestly, 10 years is a long time for a server. I would be honestly surprised if a server lasted 10 years.

But I agree I also get the tone of "servers should be cattle and not pets, just kill them and build a new one". Which can also be done on bare metal if you're using vms/containers. It seems like most people forget these cloud servers need to run on bare metal.
It's too bad I refuse to buy a vehicle without a decent warranty.
Tactics trainers:

https://lichess.org/training/

https://chesstempo.com/chess-tactics/

https://www.chess.com/puzzles
Yep, we use NSSM as well, it does the job.
I strongly suspect that VR will take off once it can pass through facial expressions, gaze, and other body language with high fidelity. At that point it will probably be substantially better than normal videoconference, and will take off extremely quickly (first for business meetings and perhaps social gatherings; then for virtual worlds)
I agree, don't get me wrong. But look up every single thread on CockroachDB to hit HN, and there's an inevitable subthread of people whinging about the name.
This is true for the most part. But having the CS knowledge allows you to create much more efficient solutions once at scale.

I've personally revamped core parts of a product at previous companies to be over 1,000x more efficient just by applying some CS principles. This translates to $100K/mo+ in savings for a company that is at scale.
Out of curiosity, which post is that? I cannot find it.
Good call, Wacom is doing exactly that:

https://developer.wacom.com/en-us/wacomvrpen
Try Echo VR, Population One, Blaston, Hyperdash, and Walkabout Mini Golf. There's no real advantage to being in the same physical space to any of these games, but they are all great multiplayer titles.
It’s sort of ridiculous to suggest moving house and family is “quick and easy”. Most likely her house was only affordable because it was in such a polluted area. Many areas in London are like this unfortunately - walls completely covered in soot from diesel vehicles. They simply need to ban diesel in the city.
My advice to beginners is to not stick with one opening, but to play them all. Include wild openings like the Kings Gambit and Danish Gambit, as well as strategic openings like the Queen's Gambit. You will be out of 'the book' very quickly, and that's actually good. You'll be learning to play, rather than recall.

Another piece of advice: Study endgames before openings. Learn about K + P vs K, the elementary mates, (K + 2B vs K, and K + N + B vs K). Then keep going. I have had to 'finish off' opponents in tournament conditions with these combinations of pieces.

Lastly: Best chess book ever: Winning Chess by Fred Reinfeld and Irving Chernev. Of the dozens of chess books I've owned, this one is head and shoulders above the rest. All about middle game tactics, and mating patterns.
Totally interesting! Kind of similar mindset to nuclear weapons it seems being open about our capabilities; if you attack us, we attack you as a deterrent.

But that doesn't seem to stop Russia who doesn't give AF already under huge sanctions, or non-state groups like ISIS
I have not seen much mention of alternatives to RHEL besides Oracle Linux.
Another excellent alternative exists here: https://scientificlinux.org/
> Therefore, the best form of government in the real world may be a benevolent dictatorship.

“Dictatorship” is a form of government. “Benevolent” is a hoped-for personal characteristic that is separate from the form of government.
How's this work? In VR, the teacher can't see the kids' faces or other non-verbal communication.
“The loudest mouths are often attached to the idlest hands.” - ancient open source software proverb

(It’s not ancient. I made it up. But it’s sadly true.)
Most of what "capitalism and capital investment" have done for the Internet are the things I, and many others, hate about it.

The original protocols and specifications still lie at the core of most of the Internet, and the infrastructure was, in large part, paid for by government subsidies to the telecom companies, the full terms of which many of them never fulfilled.

Even if one could realistically claim that "capitalism and capital investment" made significant positive contributions to the modern internet, the idea that any significant amount of those contributions would not have happened without the utter failure that is "trickle-down economics" doesn't hold water, either.
Can’t believe I missed that, thanks
The conclusion of this IQ vs job perf paper is “it’s complicated”, but essentially every meta study they cite is pretty unequivocal that IQ predicts job performance. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4557354/#!po=0.... The only room for doubt is in confounding effects like the fact that people with higher IQs are likely to enter more mentally difficult professions.
He definitely isn't a Michelin star chef, technically he isn't even a chef. A chef runs a professional kitchen at a profit, he runs a research lab. I'm sure he's an excellent cook but I don't think he's even worked in a restaurant with a michelin star, let alone been the head chef at one.
yes, one of the concerns with large scale bioreactors is the cellular shear due to extreme turbulence, and mechanical force from stirring and recirculating.

this is a phenomenon that reduces yield and functionality, but should not be mistaken as a sterilization procedure
Good looking charts, interesting you show declines