Hacker Newsnew | past | comments | ask | show | jobs | submit | more BiteCode_dev's commentslogin

Dns blocking is limited, very annoying advertising such as in video ones needs scripting to get around


Of course they want to. This way if I accept a cookie on one site, they can track me on all the sites without having to ask. It will make the ubiquitous google account unique ID even easier to set.

But I'm sure they'll say it's to lake shared login policies easier.


They already have that through fingerprinting anyway. This would just be a little easier.


On the other hand, you can inline everything into an html page and just ask the browser to open that.

An ebook, unzip, is rarely bigger than 1Mo, which is lower than what most page are today.


> An ebook, unzip, is rarely bigger than 1Mo, which is lower than what most page are today.

Oh no, we can't have that. Here are some "beautiful, performant and lightweight" Electron ePUB readers/organizers: https://www.electronjs.org/apps?q=epub


Here's an idea:

Rather than complaining about the Electron apps, write better cross-platform apps that don't use Electron.

I know it's fashionable to dog on Electron, but if it didn't fill a legitimate need, people wouldn't use it.

It's easy to compare an Electron app, that actually exists, with some imaginary native app that doesn't.

It's not so easy to find the budget and personnel to actually build dedicated apps for minority platforms. The choice generally isn't between "bloated Electron app" and "sleek native app". It's between "bloated Electron app" and "no app at all".


In the case of eBook readers, there's plenty of native software that fills that role in every platform, there's hardly a need for a cross-platform Electron ePUB reader.

I suspect Electron frequently fills a need for the developers, instead of their users. It's easy to deploy, cross-platform and stable, I give you that, but the users pay for it with RAM, disk, CPU and energy.

A single user might not mean much, but multiply that by the millions of Electron programs installed, that's the scale of lost resources that pay for the advantages of Electron.


> here's hardly a need for a cross-platform Electron ePUB reader.

If there's "no need" for them, why are people using them? How come you get to decide what other people "need"?

> I suspect Electron frequently fills a need for the developers, instead of their users.

It fills the need of the users to have actual apps they can install and run, rather than imaginary ones.

> that's the scale of lost resources that pay for the advantages of Electron.

People don't hand-write programs in assembly language any more, either, even though that means that you can no longer write a word processor that runs in 12K of RAM.


I see we can't meet in the middle on this issue.

I'm not saying all Electron programs are bad. VSCode, for example, is surprisingly good for many use cases, and being an IDE with many features, its resource usage is pretty justified.

I'm also not buying that people need software that only exists as Electron programs. Check the categories in https://www.electronjs.org/apps, there's even taskbar notifications and app launchers, do those merit running a dedicated browser?

It's not that users need "non-imaginary" software and Electron fills that need, it's that most users don't know about native and web frameworks, and they will install software as long as their computer can run it, even if better alternatives exist right now.


> In the case of eBook readers, there's plenty of native software that fills that role in every platform, there's hardly a need for a cross-platform Electron ePUB reader.

I see this sort of assertion pop up often, but it never is accompanied by specific verifiable examples of what those options are.

Can you point out a single example of said native software that fills that role in every platform? A single one.


I think you misunderstood my response. it's not that the same software works as an eBook reader on every platform, but that nearly every platform has native and high-quality eBook readers. Try and run your Electron application in a Symbian phone or an iPad, for example.


What's wrong with Qt (and such) ??

(For instance : VLC, Spyder...)


> What's wrong with Qt (and such) ??

Compared with simple html+javascript running on a webview, Qt is relatively hard to maintain and develop, relies on source code generations and processors to work, prototyping tools are subpar and undermaintained, has no support for centralized theming, it's basic support for component-specific theming is already CSS shoved in a convoluted way, its model/view take is absurd and very poorly engineered, and yeah there's the fact that it forces you to write frontend code in C++. But wait, it's not even C++ because it requires code to be preprocessed to generate boilerplate code.

And let's not pretend that Qt's widgets successor is already a markup+javascript combo that takes the bad parts of javascript and bundles it with the bad parts of a custom markup language.


Well developers that can use those are probably more expensive for one.



I'd bet that there are more people who knows and if you follow the law of supply and demand I think you can figure out the rest.

What is python qt support like for android and so forth by the way?


Looks like it was added with Qt5 (which itself uses Python 3 rather than Qt4's Python 2).


For sore reason Firefox still doesn't support MIME HTML (.mhtml) even though Thunderbird does ?? (.eml)

https://tools.ietf.org/html/rfc2557


But what could I do when I try to convert some big epubs (like dictionaries, over 6MB) to a PDF?

Calibre seems to use all the memory after some time and then it starts to use swap memory...


Does pandoc work?


Why would you want to do that ?!?


Work for administrations.

Be very nice. Solves their problems. Just don't tell them the time it really took you to do so. They will be happy.

Source: I had several administrations as clients in the past. They loved me because I explained everything clearly even to the less tech saavy of them, was very nice, and had a solution for everything. I loved them because they paid me for very easy work I could do blind folded when I needed to rest between hard gigs.

Just remember if you do only that, it will be soul crushing. But you have your hobbies, so you should be ok.


Wouldn't that be amazing if the universe developed more and more characteristics as you look for them? Or even, that it's pushed to create something when you do?

Infinite playground.


Godel kind of proved that about Mathematics.


That sounds wild, do you have a link where I can read more about this, or is wikipedia fine to learn about it?


https://en.m.wikipedia.org/wiki/G%C3%B6del%27s_incompletenes...

TLDR: you can have a mathematics that always gives true answers (but that cannot answer everything). Or you can have a mathematics that can answer every possible question (but some answers are wrong, you do not know which). Choose.

This dispaired mathematicians of the early 20th century, who had hoped to create 'one mathematics to rule them all'. Of course you can have several disjunct mathematics, each one for the problem you like.


Oh, cool!


Axioms are the foundational assumptions from which formal systems of mathematics are built. Some systems of axioms are unable to prove the truth or falsity of some statements within that system. But you can add such statements to your set of axioms to form a new, larger formal system, which in turn has other indeterminate statements, and so on, thus building, in GP’s terms, an infinite playground of mathematics.

Book recommendation: Gödel, Escher, Bach by Douglas Hofstadter.


If there was a single force in the beginning, there might be more forces branching out in the future of the universe, who knows.


One big selling point on vue is that you can just use a tag script and map a vue object on your regular HTML page.

Ne need for build steps. No need for html in the JS script.

It feels like JS from the 2000, simple and light, but with reactivity and speed.

Of course, once you need it, you can just use the awesome ViteJS to get your backend build with SFC files.

This makes vue scale up, but also scale down, which is equally important.


In a lot of countries, yes.


Maybe one day we'll have pills to have total recall for a few hours, wouldn't that be cool for exams and learning languages ? I much prefer that than a chip in my head which the silicon valley seems super keen on selling me.


My memory is generally terrible. One discovery that was alarming, encouraging and disturbing at the same time is that I do appear to have some form of nearly total recall buried in there somewhere.

Unfortunately it only surfaces in one way. If I listen to a podcast while I’m doing something, then listen to that same podcast again within a week or so, I will have regular, intrusive visual recall of exactly what I was doing the last time I heard whatever passage the podcast I was listening to. The recall is synchronized down to the word with the podcast, and is vividly detailed and colorful and includes some sensation of feeling as well.

It’s weird and cool at the same time. One of these days I’d like to do an experiment where I videotape myself listening to the podcast, wait a week, then listen to it again and record myself describing what I see in my mind to test how accurate it is.


Oh definitely, making one part of the brain work together with the other part will help me remember either of those when I do one ore the other at later time.

For example, I occasionally play Pubg Mobile and while I do it I ikte listening to some podcasts on a topic I do work. When it comes to apply something that I learned from the podcast I will can have a recall on where exactly I was in the game when this particular topic was discussed.


I've noticed a sort of similar thing, though not nearly as vivid as what you describe. What I find is that listening to a song will trigger very specific memories of the place, time and feelings that I was experiencing when I first listened to that song. Or if not the first time I heard a song it will be from when I was listening to it regularly because it was new to me at that time. When this happens it's always especially vivid and compelling memory recall that is unlike any other I've experienced.


That's sort of fascinating- it reminds me of how the ancient romans used to memorize long epic poems etc (walking around and making visual/spatial associations, then recalling their travel to recite it later. I might be butchering that a bit but that's how I understood the method)


I think you might be referring to the Method of loci [0].

[0] https://en.wikipedia.org/wiki/Method_of_loci


I have the same, but notice it more with audiobooks. An entire year can go by and I will get a flash of where I was at a precise moment in the book exactly as you describe.

Something similar was as a teenager: I could remember when/where I learned or first heard a new word. Sadly that ability has been waning.


Reverse it? Watch video and check if you can remember the podcast?


That will be interesting! Will definitely try if i actually pull this together.


This is cool. Will try it.


I never noticed or attempted to prime it. Just go listen to some episodes that you’ve listened to recently and see what happens. It’s not like rolling a projector when you hit play, it’ll fade in and out most likely.


Or a pill to erase specific parts of memory. You could see the same movie over and over again. In fact, you could cancel your Netflix subscription.


You could A/B test with a single person!


Making the absurd "drill, exam, forget" process flawless? That would be so sad to see.

Instead, the material+process should be adapted to support long term memory. We know how to do it, already have spaced repetition and mnemonics, sadly teachers mostly ignore them.


Imagine having product related flash-backs, this is the advertisement of the future. Hackernews coloured menue bars, trigger a urge to buy Fanta.

The power of the market compels your good idea to turn evil.


Reminds me of the book "There is no Antimemetics Division" where they take mnestics so they don't forget entities with antimemetic properties.


Wouldn‘t that just make these exams (more) pointless? Non scholae, sed vitae discimus ...


Total recall would be quite bad, every little irrelevant detail would be stored.


That's what I was thinking. Like playing a piano with the sustain pedal held down the entire time.


Django fan here. You are not. Several frameworks exist to satisfy several needs and profiles.


Besides, he may just have friends that are not on whatsapp or messenger. What is he gonna do, ghost them?


As in, having them followed by "ghosts" to report back to him what they're doing, like he's doing with the rest of us? :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: