Better HN
topnewbestaskshowjobs
Log inSign up

bArray

7,485 karma · joined Mar 14, 2016 (10y ago) · 2,314 submissions

Why jump in one pond when you can dip your foot in many?
Submissions

comment 4y ago · link · parent

I go further - if you want me to interact with your content regularly, add an RSS feed (or some other notifications system). I will _not_ remember to check your website on a regular basis, no matter how good the content is. Almost all of these JS websites do not have an RSS feed.

This all reminds me of the days when a whole website was an Adobe Flash application. It wasn't good then and it isn't good now.

comment 4y ago · link · parent

> You are an extreme minority, and often any other visitor to a website who "looks like" you are malicious.

Not really, a significant amount of the world browse the internet with a bandwidth marginally better than dial-up. A significant amount of the world browses the internet via something barely passable as a smartphone. A significant amount of the world do not have < 200ms ping.

> Why would anyone invest significant engineering time to placate a userbase that's far far smaller than Internet Explorer 10 usage?

The sort of person that can run a website and use a JS framework should not find static HTML a 'significant' effort. It could most definitely be automated.

Other points:

1. Increase accessibility. JS users will not be affected by not having JS. Your random JS will not always render the same. That CDN you link to might not be accessible everywhere.

2. Decrease bandwidth. Instead of just the content (and a little markup), you now have to load content + JS.

3. Decrease computation. The majority of the world accesses the internet through some device running on a battery. Instead of forcing all of those people to render your site individually, it makes tonnes more sense to render it once on the server end.

comment 4y ago · link · parent

Yeah, Snap is the reason I will be moving away from Ubuntu. Mint in my opinion can suffer some of the same issues and they will too have to address the Snap issue sooner or later (as they use Ubuntu packages). Something Debian or Arch based sounds nicer by the day.

The Snap sandboxing sounds great until you realise it means you can't access hardware reliably and sometimes you can't access files. Snap likes to randomly update and restart stuff you are actively working on. Ubuntu are too heavily invested into Snap now to walk it back.

Additionally, I hate Gnome more and more by the day. It's a slow buggy mess and is not worth the bells and whistles for this amount of unreliability. Gnome randomly crashes after over a month of up time.

When you see the Gnome blog updates, you only see updates regarding the Cloud, IoT and business interests. The Ubuntu Desktop seems to have taken a back seat these days.

comment 4y ago · link · parent

These requirements sound very similar to something like LoRa, would be worth checking out stuff in that space too.

You could quite viably fetch the latest article from an RSS feed in this space, or reply to an email, even with minimal compression. The less technical the solution is the better.

I would definitely suggest to have some commands built in and have the ability to poll the current state of your service to ensure it's not being abused, etc. You also might need a human the other side to reboot it occasionally, so make it very simple to get back online.

comment 4y ago · link · parent

I know that Rust seems quite powerful, but after years spent invested into learning C-family languages (C, C++, Java, Javascript, etc) it's just a pain to learn.

I've not personally spent much time in it, but I hear the biggest complaint is still the compiler support/performance being somewhat random. Can anybody here speak to that?

comment 4y ago · link · parent

> 2 performance cost of a managed language like Java

It can be a lot worse too. Java lacks the ability to have really compact data structures and can not lean in too much into the hardware acceleration without becoming incompatible. You can't exactly set `--fast-math`. Shame GCJ got dropped.

> strcpy in C is Turing complete

Not something I've heard of - is this an abuse of Unicode?

> most code has to portable to at least x86 and ARM (often both 32 and 64 bits) so assembly is out…

(I've not looked into this deeply) - It should in theory be possible to offer translation from one architecture to another, but I guess it is much more effort than it is worth.

Seems like if you could translate your assembly into LLVM equivalent assembly (or just use it directly), you could then build for the target architecture [1].

[1] https://stackoverflow.com/questions/7773194/is-it-possible-t...

comment 4y ago · link · parent

> I own a fairly big media in France and we have been covering the conflict [..]

Very interesting to hear things from this perspective. I assume it is non-mainstream? (I would ask for a link, but I cannot read French.)

> It also reminds me the Covid [..]

This has for sure made me more weary. Off-topic conspiracies today quickly become plausible theories tomorrow. I don't expect sources to be unbiased, but I do expect to be able to consider multiple perspectives.

> Last but not least, like any individual I do have biases of course. But I am very wary of people who also have biases but who might have hidden motives and skin in the game.

Who fact-checks the fact-checkers? A large unaccountable 'authority' deciding what information you may or may not consume is _exactly_ what we are trying to avoid. Absolute power corrupts absolutely.

> That's why, I am also leaving DDG.

Don't get me wrong, I've enjoyed DuckDuckGo for years. If there is some reversal or this change is somewhat moderate, I will consider staying with them. For now I am just considering alternatives.

comment 4y ago · link · parent

I mention privacy and speed as an alternative ideally also offers these things.

I don't have a bone to pick with them, I have been a long-term user and promoter of their service. Perhaps the result of the suggestions here is that they are still the best option available.

comment 4y ago · link · parent

> This isn't about silencing a political view, cancelling an unpopular opinion, or whatever. It's defending against a deliberate attack from an oppressive regime.

This is your opinion (not one I disagree with in this case) - but it's besides the point. I don't want DuckDuckGo to filter/sensor based on "politics of the day". I don't mind them tagging results.

> Search engines already have to do a lot of tweaking, for instance to defend against SEO spammers.

Sure, but there is clearly a difference here.

> Anyway, answering your question, I use and like Ecosia.

Will check it out, thanks.

comment 4y ago · link · parent

> Compare to spam-filtering in your email: when you remove the noise, you get a better signal/noise ratio.

And lose important emails. I don't mind my emails being tagged as "probable spam", but I should be the one to actually delete them (unless it's unbelievably low quality spam).

> There is no such thing as political-neutral information.

No, hence wanting multiple sources.

> And if you believe that you alone, as an individual, have all the resources to efficiently filter out political manipulation in the information you receive then you're probably very close to the QAnon bunch.

I don't want somebody to make that decision for me. How do we know DuckDuckGo have the resources? How do we know they don't 'rank' suggestions based on other political events?

Obviously we have different opinions about exactly what we want from DuckDuckGo, that's okay. I'm not against DuckDuckGo adding a tag or rating to indicate what they believe the trustworthiness of the source to be - I would even appreciate if they distinguish between cnn.com and cmm.com (fake example to make the point).

1001.

Ask HN: Alternatives to DuckDuckGo?

42 points · by bArray · 4y ago · 53 comments

comment 4y ago · link · parent

> When the second COVID vaccine doses opened up, all of the slots were full. It turned out that the website’s backend had an API, so I wrote a script to poll the API every 60 seconds or so and watch for cancellations and notify me so that I could get an earlier appointment.

I imagine the hacked together COVID vaccination websites were already under quite a high load. If it's anything like unoptimized WordPress websites it's doing a database query each time and I really hope the API wasn't being shared by healthcare providers. The saving grace appears to be that the script isn't shared.

I guess this is a reminder to be careful when sharing scripts that rely on other's services (especially important services). Cache when possible, poll minimally, etc. Recently I found out that Ubuntu doesn't cache DNS queries by default, which I discovered when I got temporarily blocked from a DNS server. Good job I didn't share that script!

comment 4y ago · link · parent

> [..] Britain was a generous country but it needed to maintain checks on who was arriving.

This seems obvious. The EU may be willing to accept absolutely anybody who shows up, but this is just basic border control. Just ask Germany how accepting over a million Syrian refugees without checks is going. That is an ongoing mess that gets very little publicity.

> The British government has been condemned by charities, opposition lawmakers and France after its insistence that refugees first acquire a visa meant some Ukrainians have been stuck in the French city of Calais, unable to enter Britain, and provoking a diplomatic row.

Interesting, because Calais has been an awful mess the French are still yet to deal with. It's not a sudden issue, it's an ongoing crisis. The EU rules are that they must apply for refugee status in the first safe EU Country, and the last time I checked, France does not border Ukraine.

> Scotland's First Minister Nicola Sturgeon said Britain was not doing nearly enough. It should let refugees in and deal with the paperwork later, she said.

Scotland gets very little immigration comparatively and ultimately doesn't have to deal with the enormous mess that large amounts of uncontrolled immigration creates.

comment 4y ago · link · parent

I've worked mostly on back-end stuff and "works for me/this" is asking for trouble. Making sure it builds is literally the minimum review you can do. You learn whether it actually compiles and whether it requires changes to the development environment.

comment 4y ago · link · parent

Better yet, it should learn from your manual corrections and the patterns you commonly mistake.

One thing I do that confuses them is putting in extra letters I think should probably be in there. Like 'pherosious' instead of 'ferocious' (Firefox recommends 'heterosporous' - because that's closer!).

comment 4y ago · link · parent

> The Times made a heat map that ignores the human cases and just plots the stall samples (I’m not totally sure why would you do that?), and then the finger points really squarely at a specific stall that sold live animals.

This would ignore the fact that testers would over-sample points of interest. If you got some positive tests in some location, you concentrate your probing there. You would need to also display the probing density.

Unfortunately I cannot see all of the article, it's not ideal that pay-to-read articles are posted here.

comment 4y ago · link · parent

I'm stilling waiting for proper stand-alone "smart watch phones". I don't think the form factor has been figured out yet, but I'm sure there is one.

One way I imagine it being possible is with a detachable watch from the strap via magnets, meaning it can be interacted with without holding your arm up and also recharged without removing the watch strap. The move towards removing ports helps the idea and improve IPS rating (as it did with smartphones).

The only real question is screen size. I'm still not convinced by folding displays, but it could be a possibility. The main requirement for a larger display is an on-display keyboard. A flip/slide-out keyboard could be interesting, especially something that types as nice as blackberry devices did [1].

[1] https://gadgetynews.com/wp-content/uploads/2010/09/iphone-ke...

comment 4y ago · link · parent

Exactly this, you get access to a dedicated target audience at a really competitive price point. I think a lot of small podcasts/newsletters will happily accept 100 euros for a small slice in their media. Add some artificial urgency, such as "sign up now with code X you get a Y% discount". FOMO is powerful.

Depending on the nature of the product it might be worth getting somebody to do an (honest) paid review of it. It both gives you an impression of how somebody is interacting with your product and gives you exposure to their audience.

Either this or rethink your packaging entirely. If it's pay to play, consider having a free tier. Make sure you are only charging your proper rates to those fully invested in your product.

comment 4y ago · link · parent

> In five years, it will be metered by the nanosecond to end users. This is not only predictable, but inevitable.

The only people working at nanosecond precision are likely to want a long-term project budget to allow for budget planning.

> [..] specifically MS Office for business and Avid Pro Tools for film, will be metered in seconds, rather than distributed in a sales or monthly subscription model.

Businesses have budgets to manage, and those are typically allocated on the order of months or years. Not only this, but the seconds interacted with these pieces of software would incentivize users to keep closing them, breaking workflow.

I suspect we will see more license pools shared at companies for expensive software, with the possibility of pulling out additional licenses on-the-fly at an additional cost.

On the other hand, an industry that may want per-minute billing is lawyers, who typically bill their clients per minute. That said, it's hardly worth the effort and is just considered part of the operational overhead of an employee.

Metering hardware by the minute makes way more sense though, as is roughly correlates with wear. Things like electric scooters now charge per minute. But this is essentially the taxi model and this is obvious.

comment 4y ago · link · parent

This is clearly advice for civilian people who intend to fight in any case. There is obviously a threat to life here, so each person is empowered to make decisions based on this knowledge. I would add to defensive strategy:

1. Communications - Ideally a radio, or visual (i.e. hand signals). This way you can ask for help, supplies, or warn people of an oncoming threat. The better your communication, the better you can coordinate your efforts.

2. Choke points - Not just for vehicles, but also for personnel. Ideally you would have some advantage over the choke points, such as height. You are unlikely to have a long-distance advantage over a trained soldier.

3. Disable infrastructure - As the thread suggests, bridges, roads, trains, paths - anything you find useful, your enemy also finds useful.

4. Identification - Ideally you need to be able to quickly identify one another, and potentially somebody who is not one of you.

For offence strategy:

1. Petrol + <censored> (search engine) - It is possible to make a highly flammable substance that sticks to anything it touches. This is highly effective against personnel.

2. Burning barricade - For pathways or alleyways that cannot be easily blocked off, start a large tire fire. This location will essentially be unpassable until the fire is extinguished. Tire and oil fires are notoriously difficult to put out.

3. Sabotage - Sabotage resources the enemy may want or need (but make sure your allies are aware of this). Food/water can be poisoned, fuel can be contaminated.

4. Weapons - Don't waste time aiming too much. Fire in the location of the enemy and move location. A single shot, then move to a random location. The goal is to make them take cover and remain in cover. If you can, coordinate it such that as one person/groups moves, the others provide covering fire. You will need a lot of ammunition, even if you are highly conserving it.

Tactics to be aware of:

1. Flanking - If you are successfully holding an enemy in a location, they or other support are likely trying to flank your position. Know all entry points to your location in advance and have exit routes planned.

2. Large weapons - If you have an enemy held in a location and they are not able to flank you, the other option is using a large weapon. This could be a tank, launcher, air support, shelling, etc. Ideally you retreat before this happens.

General points:

1. Food/water - You will not operate for long without these. At least 2 litres of water a day and at least 2000 kcal a day. Ideally 4 litres of water and 4000 kcal.

2. Sanitation - You need to maintain basic hygiene. Disease will make you ineffective incredibly quickly. Shit when you need to, a common mistake is to wait for days for a toilet to be available.

3. Medical supplies - Ideally you have some medical supplies on hand. Most likely injury is to be shot or hit with shrapnel, most penetration wounds will not kill you. Blood loss is your greatest immediate concern to deal with.

4. Morale - Make sure people are paired up at least - long periods of solitude are awful for mental well-being. Be prepared for nothing to happen for a long time, then lots to happen all of a sudden. Maintain alertness and always assume the enemy is watching.

Best of luck to you all.

comment 4y ago · link · parent

I think 128 bit computers will come around eventually, despite it having been declared that 64 bit is "enough". Some pressures may come from:

* Memory addressing - As the article suggests, addressing large amount of address space. Not just RAM, but disk control on the bit/byte level (something solid state drives may enable and new filesystems may take advantage of). There may also be applications where you want an etabyte disk as low-speed RAM.

* Multi-byte processing - accelerating instructions like AVX have shown the power of processing multiple bytes at a time. One can imagine that wider registers would accelerate these processes and would allow for multi-byte processes to happen in parallel.

* Gaming/simulation - We have seen quite a few examples where physics in games and simulations have broken down due to the inaccuracy of `double` for large values. I believe Minecraft physics for example used to become extremely unstable near the world border.

* Hashing - With `int32_t` and large amounts of data, you will see a lot of collisions. `int64_t` is lesser, but still likely. `int128_t` is rarer but still possible. `int256_t` (`long long` on a 128 bit processor) would be highly unlikely. Being able to compare hashes in just a few clock cycles would be awesome.

* Custom instructions - When programs can define a custom instruction to speed-up computation, 128 bits, or 16 bytes, could even be enough to contain the custom instruction and the payload.

These are just things I've noticed. I imagine there are others too. The prediction of 2043 is still quite realistic, I wouldn't be surprised if we beat it.

I was quite disappointed to see many Linux distros give up on 32 bit support because it was too much effort to support. It probably points towards some crappy code that is highly dependant on the platform.

comment 4y ago · link · parent

> Instead, she takes out her phone and texts a password and a request for money.

How many times do people need to be told that their assumptions about mobile phones and security are completely wrong. Phone numbers can be reallocated (sim jacking), all communications can be intercepted (by design), smart phones are not themselves secure - especially an older/cheaper phone.

> A few minutes later, she meets a man with a cellphone and receives cash from him [..]

I imagine there being some issue with meeting random strangers.

> Agents function like an ATM: You go up to them and give them cash to get money deposited in your mobile money account, or transfer money out of your account to get cash.

This requires a lot of trust. The entire point of having banking infrastructure is to remove the need for trust. Like crypto, with no oversight, how do you know your local 'phone bank' is not a rug-pull?

In general I think that whilst on the surface this system seems great, it actually makes an incredibly vulnerable group of people even more vulnerable.

(Slightly less related, but still worth discussion.)

If you think being "unbanked" is only a problem for less-developed Countries... What if the reason you don't have a bank account is because the government froze your account due to you supporting a peaceful protest [1]? What if your government decides your social credit score is too low to allow you to have financial services [2]?

[1] https://www.cbc.ca/news/politics/ottawa-protests-frozen-bank...

[2] https://nhglobalpartners.com/china-social-credit-system-expl...

comment 4y ago · link · parent

In 2021 Tescos employs 367,321 people [1] with a revenue of $75.022B (~£55B) [2]. Assuming employees are paid £8.91 an hour [3] for about 30 hours a week, for 52 weeks, is ~£5.1 in wages alone. ~10% of their revenue (at least) is spent on wages alone. A significant proportion of the remaining ~90% revenue will be spent on produce, transport, stores and other operational costs.

In 2020, Tesco chief executive Davis Lewis was paid £6.42m [4], which the article points out "is 355 times that of the lowest-paid average employee". If we take £3m away from him and 'share the wealth', the other 367,320 employees get a bonus of £8.17 per year, or an extra half-penny per hour.

So, you have £3m to spend to increase company turnover - do you give each of the low invested interest employees a half-penny for their efforts, or do you give the chief executive manager £3m and motivate him to increase profits?

It sucks, but it really seems obvious where the money has to be spent. I imagine the situation with Apple to not be much more different.

[1] https://www.macrotrends.net/stocks/charts/TSCDY/tesco/number...

[2] https://www.macrotrends.net/stocks/charts/TSCDY/tesco/revenu...

[3] https://www.gov.uk/government/publications/minimum-wage-rate...

[4] https://www.theguardian.com/business/2020/may/13/tesco-chief...

comment 4y ago · link · parent

> I get twitter feeds by RSS.

I didn't realise it was capable of serving RSS! It still puts you at the mercy of Twitter's API support and a random host to not interfere with the original message...

> For Youtube, reddit is also possible, might be for spotify too.

I don't use Reddit (HackerNews is as far down the internet rabbit hole as I want to go), but I know Youtube still allows RSS (just about). They have been slowly but surely removing the feature though. You used to be able to export all of your subscribers as OPML, now you can't. There used to be an easy way to find RSS feeds, now there isn't. I suspect before long they will move to remove them entirely.

comment 4y ago · link · parent

> My wife’s family is Irish and I spend a lot of time there. Their Dairy Milk is much creamier, much like their milk. I think their blue top “full” milk is much closer to the old “gold top” we used to have here in the UK.

I wouldn't be surprised if it is creamier if they source their dairy locally. I miss gold top milk! I always try to buy butter from Ireland too, it tends to be richer in flavour.

The insanity of the current situation in the UK is that there is a sugar tax (I once got sugar-taxed on a sugar free drink), sweet snacks have been suffering from shrink-flation (or inflation if we're talking about a freddo), and yet, for all of these efforts there is still an obesity crisis. If there is going to be an obesity crisis anyway, it might as well be from nice food.

I noticed that Guinness is by far the best when you buy it in Ireland. Mainland Britain is second best, and then it seems to get worse the further out you get. There is not a nicer beer than a fresh hearty Guinness.

comment 4y ago · link · parent

> For All Things, the big challenge is handling temperamental chocolate in India’s hot and humid climate. Besides the risk of the chocolate melting on delivery, moisture can also compromise its quality, meaning that the company has to maintain just the right temperature in its kitchen. But on particularly humid days, especially during the monsoon season, production simply has to stop.

One thing I have noticed is that Cadbury in the UK is different from Cadbury in other Countries. I suspect they alter their recipes for the target climate - Cadbury in the UK melts if you look at it the wrong way, whereas Cadbury in Australia/NZ tends to do better in heat. Also they tend to have factories closer to their target destinations and they seem to have some trouble exactly replicating the conditions - perhaps background temperature, altitude, humidity, etc, also play a role.

Cadbury (UK version) is perfectly serviceable: it's sweet, milky/creamy, melts in the mouth and is relatively smooth. Some other chocolates may be better, but Cadbury is hardly bad at the price point. Contrast that to some cheap Lidl chocolate for example and it tastes rough and unblended, like all the components are there but they never came together.

comment 4y ago · link · parent

The problem is, RSS is not compatible with a few popular models:

1. Closed platform - Places like Spotify, Twitter, Facebook, etc, are dis-incentivized to help you consume content unless they can get you trapped in their UI with your logged in account.

2. Web as a program - Tonnes of people are trying to replace websites with 'apps' and replace programs with the web, neither of which lend themselves nicely to being RSS friendly.

3. RSS popularity - Very few people (compared to the majority of the web) are consuming RSS. Most users will be using Chrome/Firefox/Safari/Edge only. They get their notifications by keeping tabs open or via push notifications.

I think the way forwards is to normalise RSS by rebuilding it into the web. I've often thought about what and RSS-based social media may look like. It's a shame Open Graph [1] didn't use more RSS functionality.

[1] https://ogp.me/

comment 4y ago · link · parent

> His total remuneration package was worth $98.7m in 2021, compared with $14.8m a year earlier. Cook’s pay was 1,447 times that of the average Apple employee, according to a filing disclosed in January.

So what's the argument here, that he should be paid less, or that the average employee should be paid more? One would expect the CEO _always_ get paid more than the average employee, a large difference does not mean inequity. For example, if you are the CEO of a supermarket, where employees are paid just above minimum wage on average, the CEO would likely be getting _much_ more.

> In January, it briefly became the first company to be valued at $3tn, it became the first $1tn company in 2018.

> Last year, Cook took home $3m in salary, and received $82.3m in stock awards, $12m for hitting targets, and another $1.4m for air travel, retirement plan contributions, insurance premiums and other contributions.

Sounds like excellent value for money. The stock awards mean the better the job he does, the better his payout. They also come with strings attached (as Elon Musk learned when trying to cash-out). They also have other strings, for example with John Schnatter, who I believe was forced to sell off a majority share in the company he built [1]:

> In addition to preventing him from accessing information, the corporation also implemented a "poison pill" strategy in order to limit Schnatter's chances of buying back a majority stake in the company.

[1] https://en.wikipedia.org/wiki/John_Schnatter

comment 4y ago · link · parent

Is there a way to bypass Spotify entirely? I don't want to create an account on their crappy platform. I looked for something a while back, but couldn't find anything... I imagine they embed fingerprints into audio to squash any such attempts.

To podcasters: Using an exclusive platform affects your discoverability - the thing that allowed you to grow. It's a privilege to have people spend 1 hour or more listening to what you have to say - you literally cannot buy that reach.

comment 4y ago · link · parent

> The blackout caused major disruption to aid efforts following the disaster.

Speaking to a friend, apparently they currently use expensive international calls to coordinate efforts, limiting them to audio only.

In terms of immediate issues, they have been struggling to get enough drinking water to the islands as they usually get it from collection systems on the roofs, which are now contaminated.

An internet connection is just one part of the puzzle.

1
333435
78