Better HN
topnewbestaskshowjobs
Log inSign up

funcDropShadow

1,291 karma · joined Mar 27, 2019 (7y ago) · 868 submissions

Submissions

comment 3y ago · link · parent

The text editor needs to be able to load large without needing x times more memory than the size of the file.

comment 3y ago · link · parent

> they wouldn't help with the resizing latency

Could'nt you avoid resizing by massively over allocating in the first place? A decent OS, hint Linux, would only map pages to the allocated memory pages once they are touched.

comment 3y ago · link · parent

That improves only the storing part of the UI, not the accessing data part. And you can still not define keyboard shortcuts.

comment 3y ago · link · parent

Thanks for your work.

comment 3y ago · link · parent

> It mostly shows that gov. funded research grants are broken and just fund echo chambers.

No, it shows there are weaknesses in the government-funded research grants. But it is far from clear which other system would be better overall not just in this case.

comment 3y ago · link · parent

My understanding is that almost all side-effects of mRNA covid vaccines originate in the fact that the body produces a part of the virus. If that part of the virus can damage the body, so can the vaccine. This is the mechanism for the myocarditis after vaccination. But it also means that the probability to get myocarditis from an actual infection is much higher because of the exponential growth of the real virus.

If that understanding holds up against scrutiny in the future, mRNA vaccines are an extremely safe and capable platform to deliver vaccines.

comment 3y ago · link · parent

> As another note, the mRNA platform has a few concerns that the viral vector vaccines do not.

E.g. the target patient might already have a good immune response to the vector hull. I.e. the patient's immune systems would destroy the vaccine before it can do its work. One of the vector vaccines against covid did use two different vectors because of that. But repeated usage of the same vector might decrease its effectiveness.

comment 3y ago · link · parent

Yes, the production capacities do exist now. mRNA vaccines have proven relatively safe and effective. That should motivate pharma companies to invest in them.

comment 3y ago · link · parent

> But it's a big leap to go from "Pharma is driven by profits, therefore they should be put under more scrutiny" and "Pharma is driven by profits, therefore they are injecting us with 5G-enabled nanobots to enable mind control by the Council of Rome"

They are put under way more scrutiny than other industries. Or where is the FDA equivalent demanding phase I, II, and III trials for so-called self-driving? Or imagine a pharma company embracing the slogan "Move fast and break things."

comment 3y ago · link · parent

Dependabot should sign it's PRs with a gpg signature. And web interface could get support to check those signatures. That is way more trustworthy than a random green flag in some web ui that changes all the time.

comment 3y ago · link · parent

> Isn't chemo tolerated differently in different patients?

Chemo subsumes a large number of different medications. What they have in common is that they are basically poison, and you hope that the cancer cells die faster than you. The effects differ wildly between different treatments and patients.

comment 3y ago · link · parent

> Still, totally fine for pretty much everything I’ve needed it for.

Try writing non-trivial multi-line bash snippets for Gitlab CI in yaml. These change your opinion very fast.

comment 3y ago · link · parent

You mean the "sufficiently smart compiler"?

comment 3y ago · link · parent

What? There are ads in macOS settings? I've never seen that. I guess the question whether to buy a maxed out macbook pro or a frame.work 17" has been answered.

comment 3y ago · link · parent

According to this article Bill Gates seems to reduce solutions to the climate crisis to actions that reduce the CO₂ contents of the atmosphere in the short-term fast enough. Let's say one, two, or three decades from now. Under that assumption planting trees may be complete nonsense.

But planting trees has other effects than capturing CO₂ from the atmosphere. It can be an effective measure to counter secondary effects of the growing CO₂ contents of the atmosphere. Forests do protect against soil erosion, i.e. against growing deserts. Forests provide shadow to the soil, i.e. they help keeping water in the ground. Dense forests create their own micro-climate. Thereby they help mitigate the effects of climate change. Projects that plant new forests in Africa can provide hope that not all is lost, compared to just let the deserts grow.

So, claiming that planting tree is complete nonsense to combat climate change is complete nonsense to me. But on its own it isn't a panacae either.

comment 3y ago · link · parent

In theory yes, in practice no. When you store a future contract end date in seconds/milliseconds/microseconds since some epoch. You will do that with tz database version x. A few year later some admin updates the tz database. Now you have to remember if you have to reencode your timestamps or not. To do that correctly, you need to store the version of the tz database that was used, translate it using that version to a "human-readable" date and translate it back to the the timestamp with the latest version of tz. If you don't do that you will experience silent data corruption.

comment 3y ago · link · parent

Perhaps in total, but I am not sure that is true per person.

comment 3y ago · link · parent

There is another caveat with swipe in languages that write some words capitalized. The prediction fails to capitalize correctly in the middle of a sentence. The overhead to edit the word to the correct capitalization is so large, that swipe doesn't feel useful at all. A menu entry or gesture to capitalize the selected word would be really handy.

comment 3y ago · link · parent

Me and anyone who read https://noyaml.com/ .

comment 3y ago · link · parent

That is one example, why I have the impression that MacOS is gowing downhill for advanced users for several releases now.

comment 3y ago · link · parent

> Yeah the hold and drag interaction model sure looks fancy but isn't very ergonomic.

I beg to differ. I find hold-and-drag menus faster to interact with when using a mouse, trackback or a touchpad. But it is possible to support it, while not requiring it. On button down the system enters a state where one of three things can happen.

1. The button is released. Then the menu should togle open and wait for another click and relase to select an entry.

2. The pointer moves more than a threshold. Then the hold-and-drag behavior is initiated.

3. 50ms or similar pass and the hold-and-drag behavior in initiated.

The last case is to avoid flickering in case somebody has a slow click and release cycle.

This or similar behavior used to be (still is) default behavior of many desktop UI toolkits.

comment 3y ago · link · parent

> At any rate, it's a lot better to use precise time timestamps, as a single integer of seconds/miliseconds/vibrations of a caesium atom>

No, it is not always better. If you want to store when a contract is going to end you don't want care how many milliseconds are between now and then. You care that it happens exactly at midnight of the last day of the year. Not an hour earlier or later. Even when politicians intervene between now and then.

comment 3y ago · link · parent

If you want roads as metaphor. Here it is: Roads profit those who are based along the road. A road between cities A and B profits those living and doing business in A and B more than anybody else living in a third city which is not connected to the road. That is just a matter of fact not a deliberate design decision to exclude someone.

The Horizon research framework exists to make it easier to form research projects across a set of countries. Everybody from a thirdparty country is at a disadvantage. But that is not because they, somebody in Brussels, wants to exclude someone. It is because the thirdparty country didn't put in the work to align it's local rules to the rules of the treaty.

comment 3y ago · link · parent

David Agans' book "Debugging" has a chapter called "Quit Thinking and Look". It is quite old by IT standards, but I cannot recommend it enough.

comment 3y ago · link · parent

Could anybody show some example queries and answers?

comment 3y ago · link · parent

> And also the menu bar is a massive violation of the "controls should be obviously linked to the area they affect" principle,

On other hand a menu bar at the corner of the screen has an infinite size if you are using a mouse, a trackball or a touchpad. But it's size is finite if you are using a touch display. Let me explain what I mean with infinite size. You can overshoot arbitrarily far when using the mouse and you would still be inside the menu, since top of the menu is the screen corner.

While writing this, I've noticed that in a maximized Firefox under Gnome this isn't true anymore. There is at list one line of pixels above menu. When you click on them nothing happens. Therefore I cannot overshoot anymore. Another failure of modern UIs.

comment 3y ago · link · parent

No.

comment 3y ago · link · parent

Dev tools of a browser are not what a power user focused browser would need. Think more about being able change keyboard shortcuts. Being able to execute small custom scripts that do stuff with tabs, windows, and pages. Yes I know browser plugins and bookmarklets exist.

But why do bookmarklets run with the security context of the currently opened page? I have one self-written bookmarklet to capture the page title and url into emacs for storing it there. Firefox asks me every time I click on that bookmarklet on a new origin (domain, protocol tuple) whether I want to allow that. With no option to avoid that. I have written this piece of code myself I want to use it to enhance my workflow. There is no need to treat it like any javascript hosted on a CDN, or on a Facebook server.

comment 3y ago · link · parent

> We didn't stop giving power users extra power. We gave power users more power.

No, most software today is designed for the use case that you have never seen the software before. That is implicitly enforced by the way most companies do A/B testing. The experiments show a new part of the UI to an unsuspecting user without any upfront knowledge that they are part of an experiment. Therefore the variant that has the lowest hurdle for the most common case of the most common user is optimized. So it is basically ignored that people tend to learn how to use their tools.

Learning to learn your tools is even made harder by constantly changing UIs. Reading documentation, following tutorial, watching introduction videos is basically useless for a software that will change whenever a product manager needs to complete an increment for his KPIs.

comment 3y ago · link · parent

But somebody has to know k8s administration.
1
111213
29