Better HN
topnewbestaskshowjobs
Log inSign up

rizalp

26 karma · joined Jul 30, 2013 (13y ago) · 43 submissions

Submissions

comment 1y ago · link · parent

regarding dolphin mounted NAS storage issue, it could be due to KIO-Fuse location is not fixed https://invent.kde.org/system/kio-fuse/-/issues/18

comment 1y ago · link · parent

> Anybody know what the deal is with neither Oracle nor Microsoft trying to make it possible for VirtualBox and WSL2 to coexist without severe performance impact? What the heck is the issue that neither side knows how to solve? Or is there a deliberate business decision not to solve it?

Oh I thought your parrent post was asking general overview on why Virtualbox will have severe performance impact if WSL2 is activated. I posted the reason due to multiple abstraction conflicting with each other and there you go.

> Why VirtualBox couldn't be made to run on top of Hyper-V. You might as well tell me Linux apps can't be made to run on Windows because Windows isn't Linux

AFAIK it's already possible but still experimental on Virtualbox, also it's hard issue to solve, and have tiny ROI I suppose. And why would they spent time fixing this slowness that only impact some small userbase like you?

comment 1y ago · link · parent

Because Virtualbox and VMWare Workstation is Type-2 hypervisor, they run on top of the host OS (Windows), and not directly on hardware.

https://en.wikipedia.org/wiki/Hypervisor

comment 1y ago · link · parent

It's because WSL2 is using HyperV behind the scenes, and HyperV is a Type 1 (Native Hypervisor), running directly on top of hardware.

When you activate it, it also makes you host windows OS virtualized as well, albeit with native access for some components like GPU etc.

That's why all other Windows Hypervisor (Virtualbox, VMWare Workstation) will experience one issue or another when WSL2 is activated, because more abstraction is happening and more things could go wrong.

comment 1y ago · link · parent

For me, I just accepts the quirks and move on with other things in life.

comment 1y ago · link · parent

That would not be a sound strategy. Microsoft choose to make a OS a commodity, but not services and platforms, as part of the strategy to commoditize the complements like developer tooling

Commoditize your complements: https://gwern.net/complement

comment 1y ago · link · parent

Have you checked https://adonisjs.com/ ? Seems it follows the Rails / Laravel way of doing things

comment 2y ago · link · parent

thanks for informing this, will avoid fly.io at all cost

comment 2y ago · link · parent

I'm very impressed at his productivity. Really one of software influencers worth following

comment 3y ago · link · parent

So you replace annotation and di with callback hell, got it

comment 4y ago · link · parent

Here's hoping storage vendors (Backblaze, Wasabi, etc.) take note and sees this as worthwhile opportunity!

comment 5y ago · link · parent

tmpfs is mapped to filesystem, so if you need to have tmpfs mount in docker, the performance will be a lot slower

https://stackoverflow.com/questions/64401190/can-i-use-docke...

comment 5y ago · link · parent

By barter? By producing something valuable and exchange it through fair trade, and using sound money (not worthless currency)

comment 5y ago · link · parent

Alternatively using registry edit: https://support.microsoft.com/en-us/help/4072698/windows-ser...

comment 7y ago · link · parent

`java.util.ArrayList<E>` is not an abstract class, I don't know what you're talking about

comment 8y ago · link · parent

Why is JDK9 & JDK10 is quite huge 197MB? Much bigger than JDK8 which only use 75MB

comment 9y ago · link · parent

Agreed with that. Better use native port instead of WSL, as many tools, limited they may be, has better integration with the rest of the system

Case in point : cannot use Git on WSL with IntelliJ, Sourcetree

comment 9y ago · link · parent

It is flawed because the pool of currency is limited. What happen when our economy grows fast, but then there's not enough BTC to support it? Price will decrease and benefit the savers, sure. But then many people will prefer to save instead of spending, which will not fuel the economy

comment 9y ago · link · parent

Only if the US lost its Political Power. Currently the USD still holds its value because OPEC standardize on using it for the Oil Currency (Petrodollar), and early aggressive lending to the third world country with USD.

When electric cars become mainstream, I expect there will be a turmoil in the USD

comment 9y ago · link · parent

I don't agree with you

Bitcoin will never replace current fiat money as it is inherently flawed: price fluctuate too much, and favor early owner of it.

comment 9y ago · link · parent

I'm very much agree to this, especially the deflationary part. Current Bitcoin pricing seems to favor the early `investors`, and fluctuate too much. That is not acceptable for use as money, which must store a stable value for a long time...

comment 9y ago · link · parent

Does that mean your code repository is on CentOS inside HyperV, and use code editor from Windows to edit it?

comment 9y ago · link · parent

But Windows and Linux doesn't have Webkit by default

comment 9y ago · link · parent

> Then why not dev on GNU+linux?

So I can have sleep and wifi working properly and working 3D acceleration for Apps and Games.

comment 10y ago · link · parent

> My apologies. I didn't realise that you found it so difficult to take out your phone. I find it comes quite naturally to me - I was unaware that there were professional developers out there that struggled with it.

comment 10y ago · link · parent

In my perspective, this Linux subsystem are very useful for running server components like redis, or nginx which doesn't have official windows build. So you can develop server apps which will run on Linux prod, but develop it with Windows

comment 11y ago · link · parent

What's the difference between build tool, like gulp and deployment tool like Shipit?

comment 11y ago · link · parent

1. Users don't have the manual, and if they did, they wouldn't read it.

2. In fact, users can't read anything, and if they could, they wouldn't want to.

http://www.joelonsoftware.com/uibook/chapters/fog0000000062....

comment 12y ago · link · parent

I've using Js for quite some time, and the behavior of prototype chain and instanceof always give me headache when I'm trying to do simple inheritance...

For now, I'll keep using `_.create` to do Inheritance. Of course it means another library to keep using and more verbose. But whatever...

    var Person = function(){ User.call(this) };

    Person.prototype = _.create(User.prototype, { 'constructor': Person });

    var p = new Person();

    p instanceof User //true
    p instanceof Person //true

comment 12y ago · link · parent

Sorry, but why?

Why it is bad to do this with Microwave Oven rather than conventional oven?

12