[ / / / / / / / / / / / / / ] [ dir / animu / doomer / egy / hkpol / jenny / kohl / strek / vichan ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 379321600b2258b⋯.png (100.77 KB, 937x466, 937:466, Untitled.png) (h) (u)

[–]

 No.1058178>>1058404 >>1058815 >>1059046 >>1059394 >>1060366 [Watch Thread][Show All Posts]

[http://archive.fo/b023H] https://hacks.mozilla.org/2019/04/pyodide-bringing-the-scientific-python-stack-to-the-browser/

What could possibly go wrong?

Also since when did mozilla.org replace their favicon to a communist star?

 No.1058179

nothing special in that. you can already run gentoo in the browser if you really want to.


 No.1058180

>using SJWfox

<ever

Heh, what could possibly go wrong OP?


 No.1058181>>1058198 >>1058905

How is this any better than Jupyter notebooks?


 No.1058196>>1058247

People should only make websites consisting of pure XHTML and CSS.

There is zero need for continual browser improvements aside from adding and removing some image format parser every 20 years.


 No.1058198>>1058199

>>1058181

>How is this any better than Jupyter notebooks?

Jupyter notebook have to make a round trip to the server for every calculation. For example, if you have a 2D plot with a param slider, its ridiculously slow and laggy. It also requires sandboxing and ideally, user authentication, due to the potential for web users to run arbitrary Python code in the server via the web interface.


 No.1058199>>1059190

>>1058198

Adding to this: Jupyter Notebooks also use an interface which is inappropriate for non-programmer data scientists; they often will shy away from using it, preferring their Excel macros. Making a Python stack available as a client-side lib will allow for a conventional website interface.


 No.1058214

File (hide): 224f3be17b57091⋯.png (5.59 KB, 651x82, 651:82, 1555629877.png) (h) (u)

hmmmm


 No.1058217

>It’s also been argued more generally that {Python not running in the browser represents an existential threat to the language}[some youtube link which is probably a talk by someone insufferable as this article's author]

LOLL


 No.1058218>>1058229

Is it true that Firefox got rid of their add-on repository as well?

If so I'm glad I have older backups of the browser and add-ons that I use.


 No.1058229>>1058630 >>1058651 >>1058656

>>1058218

Sort-of, it's more that the new QUANTUM-based browser isn't compatible with some older add-ons, but many of the most beloved are already ported over.

The real shame is that they are getting rid of the Pageshot function next month. It was such a unique and useful feature.

Now I just use Waterfox since it's just pre-QUANTUM Firefox but with security updates.


 No.1058247>>1058677

>>1058196

Defend your position.


 No.1058311

How about these useless fucks fix their broken piece of shit software before they add twenty new useless features?


 No.1058404

>>1058178 (OP)

>What could possibly go wrong?

You could possibly be useful and make an extension that runs youtube-dl in the browser?


 No.1058630>>1058651

>>1058229

I thought that they were only removing the upload part of the screen shot tool?


 No.1058651>>1058668

File (hide): 23e13a7339d4b15⋯.webm (964.11 KB, 1120x720, 14:9, say-hello-to-mister-god.webm) (h) (u) [play once] [loop]

>>1058229

>>1058630

SJWzilla/Firefag doesn't want you alt-reich far-right national socialist extremist frogs to archive anything. It's a shame that there isn't any good browser anymore. All browsers are either botnet or you are forced to use links/lynx. Terry was right. Networking was a mistake. Ring-0-only, no networking and 640x480 VGA and 16 colours is the way out of suffering.


 No.1058656

>>1058229

>The real shame is that they are getting rid of the Pageshot function next month.

Are you retarded?

https://pageshot.net/

>Page Shot has been renamed Firefox Screenshots and is part of Firefox 56+. If you are using Firefox 56 you'll see the familiar button. If you are on Firefox 57+ you'll find Screenshots in the URL menu


 No.1058668>>1059275

>>1058651

>implying Lynx isn't perfectly serviceable for a fair share of sites


 No.1058677

>>1058247

Why do I need to defend it?

There are forms which can send stuff to the server and the reloading afterwards makes sense because otherwise you can't see your own post.

It's very simple and way faster than any Javascript form of doing this.


 No.1058678>>1058681

All of the double post issues that occur, are also because of JS fuck ups.

And have I already mentioned the memory leaks in all browsers related to Javascript?


 No.1058681

>>1058678

there is no double post issue. its just retards spamming their shitty thread that no one cares about so they post it again until someone posts a reply to him


 No.1058815

File (hide): 4e68d171f8e93ee⋯.png (75.17 KB, 400x300, 4:3, mozilla.png) (h) (u)

>>1058178 (OP)

>Also since when did mozilla.org replace their favicon to a communist star?

That's the old logo they used before Firefox.


 No.1058905

>>1058181

This isn't the same at all.


 No.1059046

>>1058178 (OP)

Thats kinda cool I guess. I'll take a look at it some time.


 No.1059190

>>1058199

You could probably write a more efficient Disassembler in excel vb than in python.


 No.1059274>>1059503

>picolisp interpreter smaller than the average webpage

>port it to js.asm and give it access to dom and websockets

>bam, imperative, functional, oo paradigms using lisp plus native database functions and inference engine

>bam is the sound of the pc getting pwned anyway, but you can't have everything


 No.1059275

>>1058668

if my layout doesn't work in lynx it doesn't get implemented.

JK i prefer elinks.


 No.1059335>>1059361 >>1059377

>Putting it all together, to load Pyodide in your browser, you need to download:

>The compiled Python interpreter as WebAssembly.

>A bunch of JavaScript provided by emscripten that provides the system emulation.

>A packaged file system containing all the files the Python interpreter will need, most notably the Python standard library.

>These files can be quite large: Python itself is 21MB, NumPy is 7MB, and so on. Fortunately, these packages only have to be downloaded once, after which they are stored in the browser's cache.

Of course Mozilla didn't add Python as a supported scripting language to Firefox, nor did they create an interface to allow separate scripting languages. That would make too much sense. Instead, there's some bullshit about needing a 21 MB interpreter and a "bunch of JavaScript" and a fake filesystem.

There's no reason a browser couldn't support different scripting languages and combine JavaScript, Python, Lisp, Perl, Ruby, Lua, and so on into one page and share the GC and variables as much as possible. That's how it would work on a Lisp machine.

The UNIX way forces every program to handle everything. The browser has to have the capabilities of an OS and handle everything itself because UNIX sucks. Some browsers even have their own video codecs instead of automatically supporting whatever is installed on the OS. Going further, there's WebUSB and having to write a garbage collector to run in a browser that already has a garbage collector. WebUSB sucks because web apps become dependent on the entire USB spec as well as tens of millions of lines for a browser. Now instead of drivers that provide an abstract interface for different kinds of physical hardware based on their purpose (like printers), hardware companies will be forced to be compatible on the hardware level because UNIX weenies used their interface directly. It's like SoundBlaster compatibility on DOS all over again, but worse. It goes against the whole purpose of having drivers.

This is the same anti-modular bullshit over and over again. This anti-modularity goes to the very core of UNIX with C, fork, and pretending that all devices are either typewriters or tape drives. If these web browsers were developed on any OS other than UNIX, scripting would be modular. Look at all the languages supported by Internet Explorer automatically via WSH. Why do these bloated browsers with 100 MB libraries have a worse design than 90s Internet Explorer (or 80s Lisp machines or 60s Multics)?

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

Once one strips away the cryptology, the issue is control.
UNIX is an operating system that offers the promise of
ultimate user control (ie: no OS engineer's going to take
<feature> away from ME!), which was a good thing in its
infancy, less good now, where the idiom has caused huge
redundancies between software packages. How many B*Tree
packages do we NEED? I think that I learned factoring in
high school; and that certain file idioms are agreed to in
the industry as Good Ideas. So why not support certain
common denominators in the OS?

Just because you CAN do something in user programs does not
mean it's a terribly good idea to enforce it as policy. If
society ran the same way UNIX does, everyone who owned a car
would be forced to refine their own gasoline from barrels of
crude...


 No.1059361

>>1059335

Browsers implement certain video codecs because they don't want to assume that the native OS is supporting those codecs by default.


 No.1059377>>1059394

>>1059335

>unix-hater claims unix is complete opposite of what it is just to be able to shit on it

Talk about pathetic. UNIX philosophy is "do one job and do it well", not "do everything". That's why you do shit like pipe data through hundred different programs before you get an output.


 No.1059394>>1059397

>>1058178 (OP)

>the issue with JS is it doesn't have operator overloading

heh

>>1059377

what someone says is totally meaningless compared to what they actually do.

Otherwise we are seriously in Unix has never been tried territory.


 No.1059397>>1059404 >>1059406

>>1059394

Actual implementations of Unix already do implement the philosophy that says "Make each program do one thing well."


 No.1059404>>1059407

>>1059397

>actual implementations

hmmm


 No.1059406>>1059409

>>1059397

>Actual implementations of braindamage are braindamaged

yes


 No.1059407>>1059420

>>1059404

You don't believe OpenBSD and DragonflyBSD and OpenSolaris are an implementation of Unix?


 No.1059409


 No.1059420

>>1059407

Do any of them look like this?


add2(a,b);
add3(a,b,c);
add4(a,b,c,d);
add5(a,b,c,d,e);
add6(a,b,c,d,e,f);
add7(a,b,c,d,e,f,g);

Instead of this.


add(argc, argv[]);

because I'm going to have laugh at their philosophies otherwise.


 No.1059503

>>1059274

This please.


 No.1060366

>>1058178 (OP)

Couldn't you have python scripts to do whatever you want on a host pc that doesn't have noscript?

Python can create bash and batch scripts to create a new user and to open a port. This just seems like a bad idea.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
38 replies | 3 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / animu / doomer / egy / hkpol / jenny / kohl / strek / vichan ][ watchlist ]