skysight-inc/HackerNews huggingface dataset:
> "Things look a lot better for the UK now that we have a government that actually intends to stand up for the country instead of delivering it gift-wrapped into the hands of foreign powers to do with as they please."

Well it sounds like the UK was not an active EU member when I listen to Brexiters. Just like if you had no power and influence on the system. What a joke. The matter is your leaders never read the manual to integrate Europe. Their mouth were always full of "I want my money back", "There cannot be a politic project, EU has to be a trade block" or "Let's have a cake and eat it". They never wanted to make the integration of UK a success. And moreover, the most moronic press in the UK has sold you guys that all your issues these last decades came from the EU, while most of the time, they came from your own gov.

About the death toll, if you have any doubts about the NHS numbers, just read others : how many people died this year during the pandemic compared to last year on the same period. Numbers might be worse than those of the NHS. Guys, your own PM is so stupid he caught it because he didn't want to respect social distancing... He is as smart and relevant as Bolsonaro. Imagine the consequences if he died...

And about the future secession in your own Union: many English express the idea they would be better off without the Scots. Any many Scots are fed up with England. Your future looks like a divorce. For, us French, this not only a mistake, this is a sin. The integrity of a country is sacred. If you give up your own land and destroy your union, it means that you do not deserve to be an important nation anymore. You are just weak and senseless. Soon, you are a prey.
> You'd need an open source GPS tracking app on your phone that has the rights to record and upload your location to a server whilst running in the background, then you need a personal server to store that stuff on,

Multiple solutions for this currently available on f-droid. simple and easy.
I've delivered some sessions with Connect. It has a very very nice implementation of dynamic rooms, but both it's UX and user interface are outdated.

The presenter ability for arranging the interface options for the session may look like a good idea when you think about it until you realize everybody wants to take their approach for it (different styles, different monitors, or even different priorities depending if the chat is being used or the interaction is done with the cameras).

Overall, I prefer any other tool (and I've also used zoom, teams, chime, and jitsi).
Are you referring to https://github.com/atlassian-labs/react-resource-router ?
I didn't mean it as slight against C++ template errors.

Java is my daily professional development. That's the baseline. And it's errors are not good as Rust's.

I often joke that IntelliJ IDEA is better programmer than I am. But in Rust, the same can be said of the Rust compiler.

The amount of suggestions, and explanations is stellar.
Everyone’s already moved onto using service workers to implement third party cookies. I know because we are using it in production.

-edit-

This is how we use it:

We have two domains.

Our main site `widget.com` and `widgetusercontent.com`.

`widget.com` contains an iframe from `widgetusercontent.com`.

We have a service that runs on `widgetusercontent.com/service` that is controlled by us, but it needs to be authenticated with a temporary credential (doesn't matter if it gets leaked) and cannot run on the same domain as `widget.com` since it also contains user generated content.

We used to embed the URL `widgetusercontent.com/service?auth=$AUTH_COOKIE` on `widget.com` and have the `widgetusercontent.com/service` set the cookie, but this no longer works because this is third party cookie and has never worked on Safari.

The solution is to load `widgetusercontent.com/service` as a blank page containing only a service worker. We ask this page to load `widgetusercontent.com/service/sw.js?auth=$AUTH_COOKIE`. The service we control returns a service worker with the auth cookie embedded in it, and is set to rewrite every request under `widgetusercontent.com/service/*` and inject the $AUTH_COOKIE into the request header.

I came up with this myself but I assume others would have as well.

I don't know if this'll work for tracking and other nefarious stuff ad networks use but this is a legitimate use case for us.

Yes it works in Safari. Cookies don’t work but this does.
1) availability of valid time for domain as-of queries

2) performance of ad hoc as-of queries

3) ingestion throughput (RocksDB is _fast_)

4) eviction/excision throughput

5) a lazy query engine doesn't demand so much memory (because there is no need to hold entire intermediate result sets at the same time), and automatic join re-ordering makes the Datalog inherently more "declarative"

6) use of protocols for modularity allows you to create a massive range of possible topologies to support the non-functional requirements of your host environment

7) benefit from the RocksDB roadmap (or other embedded KV storage - see LMDB / rocksdb-cloud)

8) absence of a prescriptive data model

On the flip side:

1) absence of a prescriptive data model (though transaction functions can give you equivalent power)

2) API maturity

3) lazy caching of data at peers (vs Crux' fat nodes, though again, see rocksdb-cloud for one possible resolution)

4) query features: multiple data sources, lazy entity API, other niceties

There are definitely things still missing from both lists :)
https://telegra.ph/
Would You wear / make your family wear this device to monitor body temperature?
I would think that narrow channel prevented spreading of the energy of the wave, making it easier to get large waves in the Gulf of Mexico.

Think of blowing out through a straw. The airflow at the end of the straw is a lot stronger than when the straw wouldn’t be there.
I disagree with the premise. "Readability" is an excuse people use for writing slow code. It's not an inevitable tradeoff.

Like, most of these people are not saying, "we could do this thing which would speed up the app by an order of magnitude, but we won't because it will decrease readability." They have no idea why their code is slow. Many don't even realise it is slow.

My favourite talking point is to remind people that GTA V can simulate & render an entire game world 60 times per second, 144 times on the right monitor. Is that a more complex render than Twitter?

Computers are really fast, it doesn't take garbage code to exploit that.
> Ruby isn’t designed for a team of 200 programmers where you don’t trust some of them.

Never mind a team of 200, even on a team of one person I don't trust myself! That's why I'm using typed FP. I don't trust myself not to make clumsy errors. I don't trust myself to be disciplined and write all the tests. I don't trust myself to not design a naïve architecture which I'll have to do a huge — and dangerous — refactoring on later.

This is why I'm not using Ruby/Rails any longer.
Would you mind expanding the `ULP` acronym you’re using: if it’s so fundamental to understanding this, I’d like to know what it is.
So it is pretty intuitive to use. But when I tried to export, it asked for sign up. So I signed up and I was taken to the dashboard where I couldn't find the story I was working on till then. :(
"Engines" like common logic written in languages like C and C++, using in-house toolkits where RenderButton() or ShowDialog() would do the right thing on each platform.

Apparently a forgotten art.

As for VMs, I am all for stuff like React Native, not for packing Chrome with each application.

Not only it shows laziness where Web == ChromeOS, bloats the applications and is yet another way for turning everyone into Chrome developers, bye bye Web.
Quiet fans and vents:

https://www.imore.com/sites/imore.com/files/styles/larger/pu...
Authy supports symmetrically encrypting your OTP codes with a password which is fine IMO: https://authy.com/blog/how-the-authy-two-factor-backups-work...
Yes aegis !
How was it debunked? Chinese have claimed these are just prisoners being transfered. The reality is that china is a secretive state.

This person has found the video location:
https://twitter.com/Nrg8000/status/1175353408749891584
The assumption here is that you will spend more CPU cycles in your rails app to hit the ceiling of the DB than you will with a performing rust app. So even though you will have the same upper ceiling of scale, reaching it will require less compute and therefore money in your api layer. Whether the difference is significant enough to balance developer FTE depends on the org.
I use AndOTP which allows you to encrypt, export and import the OTP database.
Perhaps, just a thought, that is because it's not intended for brainwashing as that term is usually used, but simple behavior modification. The difference being that it's not about inducing belief in the content of propaganda, but constantly underlining what beliefs it is acceptable to demonstrate outward compliance with, while other avenues demonstrate the cost of non-compliance.

The brainwashing doesn't happen to the people that are directly subject to it, but to the ones raised in an environment surrounded by people who, if they aren't true believers but are still around to be seen as models, have been cowed into behavioral conformance.
The very first link in the postedarticle describes how authorsolved all your points. https://blog.luap.info/how-i-track-my-life.html
Surprise, surprise, another Google service bites the dust!
Is that your complaint tech hiring ? How about your family thriving on the shoulders of others and then treating those "others" as inferior. Incarcerating them more, not letting them vote. Your concern is passing am interview. You are oblivious to what countless other youth of color face every day..
Except that eBay uses a particular auction model where by extending the time doesn't matter much.

If you bid the most you would be prepared to pay for something - you don't pay that price - you just pay enough to beat everyone else.

If you bid in a genuine way there's no pipped at the post situation - you just weren't prepared to pay more.

Now there are some secondary psychological effects, like a high price bid so far might increase bidders willingness to pay more, so there may be some advantage to bidding later, but overall there's less of a problem than it initially appears.

Perhaps bidders just need to be more honest with themselves about how much they were really prepared to pay.
Patching Windows code will break updates and will definitely be flagged as risk. You would have to black hole the IPs on the router, as even Windows Firewall might not have the authority.
Accounting practice generally allows / requires rounding to some quantum value at each operation, like $0.001– The issue with using floating point for money isn’t that it has errors, it‘s that those errors don’t match the ones you get when using a paper ledger.
It depends on the content of the HTML document but I agree with you.

I tried running the algorithm in Chrome. It output much shorter XPath than one copied from Chrome Developer tool.

e.g. "//*[@id="rso"]/div[4]/div/div[1]/a/h3" => "//*[contains(text(),'(text of the element)')]"
Thanks! will try
Looks cool!

Meta: How is this under "Ask"? Are these paid submissions?

Answer:

- Generate a grammar of a natural language. Generate against a grammar + other models to generate text/code.
- Generate proteins/RNA

- Generate lattices/materials

- Generate objects in pure maths: knots, planar graphs, polynomial rings, solutions to diophantine equations, error-correcting codes

- Generate "neural nets" deep learning graphs, and see what they do, and see how they work as starting points for different tasks/trainings
Totally agree, just shocked that people are interested to watch such things
“I can’t be bothered to do anything properly. It must be a problem with Rails.”
https://animockup.com/ ?
Cool. Are you by any chance in materials science? Or oceanography?
I made a bookmarklet for Firefox that opens the HN discussion in a new tab (if there is one) and offers to submit if there isn't. It's very quick and dirty but it does the trick.
It opens the first result from the search API, can be modified to open all of them if you want.

javascript:(()=>{const w=window.open();fetch(`https://hn.algolia.com/api/v1/search?tags=story&query=${encodeURIComponent(window.location.href)}`).then(a => a.json()).then(a=>{const c=a.hits.filter(b=>b.url===window.location.href)[0];if(c){w.location.replace(`https://news.ycombinator.com/item?id=${c.objectID}`)}else{w.confirm('Not on HN. Submit?') ? w.location.replace(`https://news.ycombinator.com/submitlink?u=${encodeURIComponent(document.location)}&t=${encodeURIComponent(document.title)}`):w.close();}})})()

Interestingly I had to open the tab before getting the search results, it seems there is an exemption to the popup blocker for bookmarklets but only synchronously.

Edit: It seems the backticks mess something up in HN formatting. Code here: https://gist.github.com/llimos/ee818bcb3060adc8469f4978c654a...
If I want to iframe a website that doesn't want to be iframed on my browser so I can make some quick local tool, how do I even do it now? Previously I could just nuke x-frame-options and the CSP headers and that's all accessible via extension hooks but cookies aren't easy enough to do that way.

Like, go ahead and try iframing linkedin.com, with x-f-o and CSP nuked it'll work on Firefox today but not Chrome. Even trying to intercept the cookie doesn't work.

I wish there were a way to just easily turn this stuff off so I could manipulate my user agent more easily.
Honestly, this article reads like blogspam.
The outcomes will also give them a heightened sense of nationalism and feed into the idea that the West is just out to get China and Chinese people, which the media plays up quite a bit.

As an American, sitting down next to a European on vacation for more than a few minutes is never fun. Once they inevitably ask "Where are you from?", they follow it up with a lecture on American politics before I can even finish my sentence. It's tedious and it's nothing new.

It's probably way more frustrating for people having to listen to their boss lecture them at work about how screwed up a country they've never been to but you've lived your whole life in is. You're not in a position to just politely say "bye" and never see them ever again without any consequence. You certainly can't speak up against them because they're in a position of authority.
My apology, ULP stands for "Unit in the Last Place".

The simple explanation is that an ULP is defined as the difference between two consecutive floating point numbers, which means it isn't a fixed value.

Another "intuitive" explanation, is that if you increment the binary representation of a float, the difference between the two numbers is 1 ULP.

(I'd explain more, but I have to run to a meeting! More info on Wikipedia: https://en.wikipedia.org/wiki/Unit_in_the_last_place)
Only Europe for now.
I love how big the numbers are in recent versions of Firefox. On my crappy work computer that can barely run Notepad++ I am pulling 1.8 billion ops for getElementById and getElementsByClassName. The performance gaps:

* getElementById vs equivalent querySelector is about 1000x.

* getElementsByClassName vs querySelectorAll is about 250,000x.

* On Chrome getElementsByClassName vs querySelectorAll is only about 426x.

This is a micro-benchmark. In the real world that disparity would magnify almost exponentially with the number of nodes in a given page and the frequency and depth of access requests to the DOM.
Show HN: Want to lose weight easily? Check this out
> The EAD was quite clear. Trim back to normal with the electric trim switches, then shut off the trim.

I don't see that wording anywhere in EAD. Only the quoted weasel worded sentence. It's your interpretation post-crashes and their analysis that they were supposed to do exactly that in exactly that order. Or do you have some other quote? The mental model the pilots were trained to was "if the electric doesn't work, switch it off, trim manually." The MCAS changed that to: 1) electric will work, but MCAS "invisible ghost" will pause to confuse you that the controls work and only then undo whatever you managed to do. 2) There's only one position in which turning off the switch was safe, under their circumstances -- switching to manual trim outside of the "normal" was a practical death sentence, also nowhere written.

So, as far as I see, not only your "clear" sequence was nowhere written that clear, the mental model that the pilots had to have changed completely, but without training, and the safe procedure to escape was figured out only after looking at the logs of two crashes.

That it is "clear" to somebody sitting in the armchair with the crash logs and having all the time in the world to think about it after all that happened doesn't mean that those who survived had such clearness, just that they had luck.
> stop making joint venture with government agencies.

Good point, I don't know they have JVs with government agencies before, had to do some research on this.

> get rid of its internal committee of the Chinese Communist Party

This is hard, if not impossible, if you meant "党委" ("party committee") or "党支部" ("party branch"), because CCP demands any organization with more than 3 party members SHOULD have one. ("should" should be interpreted roughly as the same word in RFC Requirement Levels) And just like they usually have no problem if people chose to deny joining the party but may hassle you forever if you quit, if you try to shutdown an existing "committee" it would be seen as hostile.

That being said, most of the mid-to-large-sized startups are actively ignoring these requirements until being forced, because apparently even if you are required to do so, you have to go through a hairy application process. And the "committee" in most corps (including mega corps) are essentially an empty shell, a symbolic thing to make CCP happy, so corps usually have no motivation to change the status quo.

Yet CCP do extremely care about these symbolic stuff, it is even forcing foreign companies to do this, IIRC Disney agreed to do so.
Show HN: New Cloud Storage with Privacy First Approach (Treasure.Cloud))
Is Rails still (I have not used it since 2016) incredibly hard to migrate after a couple of years? I have java/spring, asp.net (core) and php (no framework) in production and I can upgrade after a decade not touching and everything still works. I had Rails upgrades after 1-2 years that were absolute nightmares. I'm not sure about other people here but I really don't want to suffer through that 'for fun' while I don't have to. Speed of developing is not so much faster that I would take this for granted. But maybe things changed.

Edit; it was a question, what's with the downvotes? It used to be bad; I'm not the only one saying that. It's normal (Laravel, Node etc have it as well; it's fast moving).
GSoC Reports: Enhancing Syzkaller Support for NetBSD, Part 2
Luke 16:10-11

> 10 “He who is faithful in a very little is faithful also in much; and he who is dishonest in a very little is dishonest also in much.

> 11 If then you have not been faithful in the unrighteous mammon, who will entrust to you the true riches?

It's right there in the gospels, plain as day, and yet I agree with you that there's far too little thinking like this in the world, even among people who claim to be "Christians".
I didn't think of it that way, but sure! I was thinking more...who is happy in whatever they are currently doing: current "role", self-employed, indie maker, side project, research, parent, carer.

I guess the most obvious focus to me was "current full time regular paid employment", but I didn't want to limit it, so thanks for your suggestion!

I think it would be cool to hear stuff like, "I'm taking care of my son, who's six and home-schooled. We live in remote Alaska and my partner works in oil and gas, that's how we met. We used to alternate fly in fly outs, but now we've decided to do longer stints taking care of our first child. I'm loving seeing how he views the world, and the home life I make with him."
All My Pronouns: How I learned to live with the singular they
I believe you can still self-host if you want. I don't understand how can you be disturbed by offering a cloud service to host your passwords could be bad to switch. I'm happy sub of 1Password and i self-hosted my passwords before for a long time.
GMail has gone downhill massivly since it first started. I Can read the entire contents of a mail and go back to inbox and it still shows the email as unread. Closing the gmail tab usually comes up with a prompt saying it's busy and am i sure i want to close tha tab. I would consider it as an example of how not to write a SPA these days
I'd greatly appreciate if any of you can explain how such a trade happened in layman's terms. Every time I try to look various vocab, I end up getting deeper into the glossary of hyperlinked words on investopedia and totally lose sight of the bigger picture.
I was hoping you could help me think of more uses.... :D haha
Governments have a hard time making people wear a mask that can save their lives and the one of their families. I can't imagine forcing them to stop eating meat being a solution.

And if you stop eating meat yourself there is absolutely no guarantee that it has any impact at all. If enough people do it they may marginally decrease the demand for meat and lower its price but for this price some people will start eating more meat and the net result is null.
> Good - 2FA is the responsibility of the user and resetting it kind of invalidates the security it helps bring.

Actually, no. This is a terrible idea.

Think about the psychology of what you are telling people: "You have two choices - one is normal security, which you use on 80%+ of the rest of the internet, and one is 2fa which you only use on the annoying services that badger you into it. On the first one, if you lose your password you can do a password reset. On the second one, if your laptop and phone get fried in a rainstorm / car crash / act of children, you lose access to everything forever, no recourse and no recovery. And by the way, we totally encourage you to choose the second one... "

Yes, online services that store credentials and backup passwords mitigate this somewhat, but they also add an attack vector via keyloggers, or make you dependent on the third party's security measures.

And I probably don't need to point out to the HN crowd just how badly internet services are moving towards no-recourse solutions to petty problems to save money. Yet another one doing this is not a good thing.
"I recognize that no human is fallible, so I use tools that don't assume infallibility"
There's the family plan which offers up to 6 members an account for a great monthly price.

https://help.dropbox.com/accounts-billing/plans-upgrades/dro...

With Dropbox Family, each member of the plan has their own Dropbox account. A single person, the Family manager, will manage the billing and memberships for the entire Family plan.
> game changer

Absolutely, and the quantitative analysis is just stunning.

In 2018 all of humanity launched a total of 111 payloads into space (out of 114 attempts). At around 5t per launch, that would be 555 tons.

Starship is supposed to have a payload to LEO of > 100 tons. So 5-6 launches would handle all of that, by weight.

But SpaceX says their goal is to fly these up to 3 times a day. So let's assume they can do this 300 days a year, that would be 900 launches per year. If they have a half dozen in operation, that would be 5400 launches per year. Of 100 tons each, or 540 kilotons. That's 1000x what the whole planet launched in 2018!

In other words, the entire current launch capacity of the whole planet is 0.1% of the capacity of a fleet of 6 active Starships.

And they're building an assembly line for them.

"Game changer" is absolutely right, but doesn't really convey the magnitude of the change. It's truly astounding.
Can we change the link? This is much better.