HNHacker News
TopNewBestAskShowJobs

marcthe12

586 karma · joined October 25, 2018

Likes to create programs. Loves to be updated on the latest news and in General Knowledge.
submissionscomments
marcthe12··on The War on Upstart Fiber Internet Providers
Singapore is the best. Here they separated the fiber from ISP. So ISP just rent the fiber and a nationalise company does the fibre. This creates cheap high speed internet plans in Singapore since new isp do not need to lay cables
marcthe12··on Dynamic linking
You going to have to disable PAM which basically limits the the stuff you can install. Also qt and Mesa are designed to be static libs so expect token stuff. I have some ideas to solve thisfor long time but any solution is going by in from multiple places.
marcthe12··on Apple announces it will switch to its own processors for future Macs
I am frankly surprised they did not ditch opengl and carbon.
marcthe12··on Automatically download symbols and sources in GDB
Arch may do this as they still haved figured out how distribute debug packages.
marcthe12··on The Beauty of Unix Pipelines
find-xargs combo could have been better. It also prevents the case where you cross arg max
marcthe12··on Bhūribhirbhāribhirbhīrābhūbhārairabhirebhire
I am curious about Avestan. It is dead and sister of Sanskrt.
marcthe12··on Second-Guessing the Modern Web
In fact SPA in general are suppose to work around a single issue, sending a request will lose all your state and reload the whole page(If different content, downlaod whole html). Since most website have multiple routes this is an actual issue. You need to sync state with server for example. I think the solution will be able to say "all this route are the same site" to the browser and now browser can be able to allow delta update or store some variables. This will be perfect with html imports.
marcthe12··on Rebuilding our tech stack for the new facebook.com
I sometime wish iframes were more useful.
marcthe12··on Bootstrap v5: drop Internet Explorer support
And if you can polyfill, that is good way to drop support for ie11. Personally instead of support ie11 out of the box, have have create custom build or expect them to do polyfilling themselves. This way they can optimize for the remaining browsers.
marcthe12··on Bootstrap v5: drop Internet Explorer support
Anothe comment mention that the Chromium edge will have IE mode so maybe we will have to convince IT use that
marcthe12··on Bootstrap v5: drop Internet Explorer support
Not always. Some places use ActiveX or npapi. I know one place which the security system uses a java8 applet. The functionality has been remove from other browsers. I wish if MS provided a way on edge to run some webpages in IE. At least then we could isolate problematic webpages that use plugins while have rest run on edge.
marcthe12··on Bootstrap v5: drop Internet Explorer support
Personally I feel the correct solution for ie is to have stuff polyfilled and transcompiled by the user. So js libs, you also transcompile the libraries also and provide the polyfills.
marcthe12··on QUIC – Will It Replace TCP/IP?
QUIC seems to have encryption so something like SSH could come
marcthe12··on Show HN: SpicyPass – A free and open-source minimalist password manager
Can you link to the app
marcthe12··on Show HN: SpicyPass – A free and open-source minimalist password manager
Interesting. Just 2 questions, is there a way to sync it run on Android. Got nextcloud instance. Nice if it can do that. Since there are password I would need on the move.
marcthe12··on PostmarketOS Project Direction 2020
Doubt it. Frequency related laws mean it is unlikely any company would want to give the ability to modify anything that emit radio and microwaves.
marcthe12··on FreeBSD has removed GCC from its base system
Clang can't compile glibc which actually a bigger problem.
marcthe12··on The Bash Hackers Wiki
Shell has DSL like nature to it so sh actually is better any other language. But it is not easy to perform introspection or ffi. So basically issues develop when you call alot programs with pipe and environmental variables and you need to also have unshare or poll.

Like one program I had. Basically calling bunch programs in a pipeline but need to poll output of some shell async. C or python makes the pipe code complicated while emulating async Io with tmp is also complicated. In a few cases, is to have second program in python or c or perl and send messages over a pipe.

3. and 4. are helpful. JIT not so much since bottleneck seems to to be parsing rather than executing.

marcthe12··on A 2,500-mile radius in Asia contains half the world's population (2017)
Actually the Sahara Savannah is cause my an increase in temperatures
marcthe12··on Russia 'successfully tests' its unplugged internet
You have unlock the bootloader. The govt could easily ban that.
marcthe12··on W3C recommends WebAssembly
I wonder it's small enough to have the interpreter in kernel space
marcthe12··on W3C recommends WebAssembly
Just wow. I won't be surprised if doing something like that will break the os.
marcthe12··on Create-React-App 3.3
It's already happening but slowly. Mainly because of some high profile incidents regarding huge dep trees and dropping support of old browsers and runtimes which means usage of native APIs. Webpack 5 has half of webpack4 deps for example.
marcthe12··on Wikipedia Has Cancer (2017)
Yep. Even the RuneScape wiki owner forked their own wiki after Wikia became malicious in terms of ads. It even supported by RuneScape devs themselves. And even then, the original Wikia wiki is still competing on Google SEO after a full year. And this was a real niche. Imagine a big website.
marcthe12··on The Plain Text Project
That I believe in stuff like markdown. You usually need like 3 or 4 options
marcthe12··on Singapore tells Facebook to correct post under new fake news law
It's a mix. PAP are quite competent and has improved lifes greatly. On the hand there is the GRC concept that screw opposition. GRC are constitutcies which are worth multiple parliament seats. Only one was won by opposition and that was by a razor thin margin. GRC also make gerymendering easier and less obvious.
marcthe12··on Are We Wayland Yet?
Iwd is much better for WiFi.
marcthe12··on The Firefox UI Is Now Built with Web Components
Web browser have a massive NIH issues.
marcthe12··on Firefox’s Fight for the Future of the Web
Apple uses no Turing complete policy. So you also can't bundle a python or ruby interpreter in iOS. Its still anti-competitive but in a different area which is language and api. They are basically trying to push devs to use their native OS apis. PWA are also screwed up in Safari for a reason.
marcthe12··on Debian reconsiders init-system diversity
Systemd in my opinion is a great idea with bad implementation like polkit. It is needed as modern systems are dynamic so global system state keep changes various types of events suck device, path, socket, ipc calls, network, etc.

There are 3 ways to deal with this:

> Assume things are static or hack the support. Sysvint and openrc does this. It tends to hacky as you are create a static setting in a dynamic environmet. This is analogous to using synchronous api to deal with async operations.

> Create a monolithic suite of daemons which handle the state as internal api. Example is systemd and launchd. It tend to be feature creep as you can't replace internal component so you need to deal every use case.

> Have state daemon with each class of state and event is handle independently but a protocol to make sure state is share properly. No init I know of does this.

A great example is if you want do some recuring action on an external network drive. The service manager must know the program the has been run. the Timer program must know if the drive has been mounted. The mount manager must know the network is on or off. The network manager must know if the device interface is on or off. So there is complex dep trail which is very dynamic. the 3rd option is best but 2nd is a compromise and thats what systemd does.

EDIT: Fixed the formating

← PreviousPage 5 of 6Next →