skysight-inc/HackerNews huggingface dataset:
> ; could exit at 1, but then it doesn't handle 0x2
Switching to a New Tech Stack
One of the interesting things about this fish is how it was represented like a duck-billed flathead fish before this videos. Is not easily recognizable in famous scientific books like the Clofnam, for example. It was like discovering that Tyrannosaurus Rex had an elephant's trunk.
RSS may seem like some obsolete technology. Yes, it has its quirks and issues, but it also allows you to get the new content without using social media. Not everyone uses them or even likes them.
Bingo. Rather than assuming that someone just didn't have a good doctor and then gave up trying, I would actually guess that most people with treatment-resistant depression who are actively seeking treatments (such as ketamine or rTMS) have gone through many, many doctors and many, many treatments.

For many people with major depression, this isn't something you can just think your way out of or face your way out of. There are biochemical factors at play. Just like someone with diabetes can't exercise their way into a working pancreas, someone with major chronic, major depression can't just behavioral therapy their way into treatment.

Can behavioral therapy help? Absolutely. Is it going to be enough for people with hard to treat cases? Absolutely not.
The one I've got I suspect :)
A true TIL!

Will this also work with messaging apps (e.g. Whatsapp) or only on the phone/sms app?
You could also keep using Alexa and add a do-it-yourself privacy enhancement called Alias: https://www.instructables.com/Project-Alias/
Fron an engineer's point of view, it's impressive how technically simple this is (author is basically assembling preexisting common building blocks)
Yet how great the added value is: it opens a whole new way of blogging
Why only Windows and Linux, but not macOS?
We just pushed a follow-up post[0] to talk about why the hell we thought this crazy exploit thing might be a good idea. (spoiler: Log4Shell is actually forcing companies to deal with tech debt via dependency hell)

I'll finishing writing up the technical explanation tomorrow and publish that in a separate post. For now, I'm after some much needed sleep!

Good night, y'all. :)

0: https://www.lunasec.io/docs/blog/log4shell-live-patch/
... while sacrificing features like auto-complete, shell awareness (Git branch and other doodads people love to put in their prompt), and persistence (screen/tmux/mosh).
When my herpes started interfering with my daily life. And my lips always bother me every damn day. I remember going to the hospital when I was around 25 years old cuz my whole lips were burning like hell. And a nurse came to the waiting lobby and said sorry there are no doctors here. So I had to go back home. My lips were burning like hell and I felt so uncomfortable that night so I turned to the internet where I found a Dr Ortiz the Nauturopathic. I don’t know what would have healed me from this virus if not for the product. I took a comprehensive STD blood test last week again and everything came out negative ,thanks to Dr Ortiz https://www.facebook.com/DrOrtizthenaturopathic
SVE hardware has been made of unobtainium so far. Graviton3 will change that pretty soon though.
It seems to me you are talking purely from a hedge fund kind of viewpoint. Of course they’ll be using primary sources of data with real time predictive value.

But for the layman outside of the industry or even someone trying to learn the ropes it’s useful? Also to get a conceptual understanding.

Like … history books are useful.
I’ve been in a similar boat to the grandparent. The issue with the government (and more broadly government workers) isn’t that the work isn’t “exciting” or some such.

It’s a cultural and institutional resistance to change or improvement and the rewarding of toadyism and punishment of innovation.

I firmly believe the government would be “better” in some ways if it was forced into transparency by managers being allowed to fire for abusive reasons, rather than the psychological torture they regularly inflict on high-quality employees that don’t tow the line. Instead you either leave of your own volition or you are cowed into silence, becoming complicit in a general miasma of less-than mediocrity.

Brain drain is a natural conclusion, but only helps people who are both smart and motivated. Folks who are motivated and not smart get crushed and folks who are smart and not motivated get pushed intentionally into irrelevance.

The federal government is the most toxic employer there is, and they gaslight you about their toxicity by being so willing to assign you to BFE and let you languish rather than firing you, as if firing is the worst thing that can happen. Amazon is a well known toxic environment for tech workers and is a massively better work environment for an engineer than the federal government.
Yet every year I onboard new grads on very c++y projects with no restrictions on features used and they manage just fine.
This is such an exaggeration and fearmongering typical for Germany...

Get vaccinated or not. I am vaccinated and don't think unvaccinated people are a threat to me, that is ridiculous. We had triage for decades in every flu season, we reduced intensive care units just this year, we had state funded incentives to reduce them. Institutions get money to scrap a bed. But you wouldn't hold leaders accountable for that anyway if you can point a finger to some alleged health threat that is people that are not really content with the situation as well.

Nobody is stealing your freedom aside from politics driven by the fearful and yourself.

If you really believe that we would have Christmas markets if we had 95% vaccinated, I don't know what to tell you...
>Seems like it could create a lot more code with less re-usage, since every widget has to manage this themselves.

It might create a bit more code in components, agree. I think this is a fair price for the all benefits it brings.

That said, the total amount of code might be even less (no action-creators, reducers, etc.).

Also declarative nature of the libraries makes the added code very easy to follow.
>My computer has disabled and neutralized Intel ME.

So why don't you make that the top priority before Qubes? Isn't it essential to make sure every user of Qubes does the same? Locking the screen door without locking the front door isn't at all secure. Do you expect the people worried about an email to flash the BIOS with an clip connected to their Pi or Arduino they programmed first? Its a sales pitch that ignores bigger issues. Most people from that pitch if convinced will have a false sense of security when the real threat is an ever present backdoor that can be hacked.

>Qubes PVH virtualization has no practical effect on performance. Qubes works great for me for everything that a non-sophisticated user would want, except games. RAM is cheap.

People like to play games, not everyone has removable ram or multiple slots, and if it has no practical performance effect, what computer do you have? I bet your computer isn't a generic dual core that most people have. You said it has no GPU acceleration, which a lot of browsers use, so it wiil be much slower for most people.

>Any serious privilege escalation which happen every month on all other systems.

Again, what real world threats? You say serious, but these threats are not serious, if they were, you wouldn't need to convince anyone to use qubes. There are not real issues, BSD servers that don't update or reboot for years wouldn't exist if there were actually any serious threats. Windows has automatic updates, Linux has quick patching, OSX had a bunch of RCEs corrected and no hacks. You fail to name a single concrete threat. Its cool if you want to run a bunch of VMs, but on a laptop that you need 32GB of ram, that depletes battery life more, and for some vague "serious privilege escalation"? Its a hard sell, better to suggest it as a remote desktop that you can control with a thin client.
How to Use WooCommerce Development Company to Increase More Sales
> Revolutions like the French one led to terrible consequences in the end, mostly because people didn’t know what they were doing, and they just made it up as they went along. But we don’t live in a world like that anymore. We have countless examples of ideas from other cultures we can emulate and know at least the direction they would push society. At least that’s my humble opinion.

This sounds like a classic sort of "those were the bad old times, but now we live in modern times" argument. How should I know when facing a problem whether we live in the modern times when solutions are well mapped and I should copy someone else's, or the bad old times (relative to that problem) when solutions are poorly understood and/or implemented and I'm better off with gradually exploring the possibilities myself?
None of this stuff is necessary on wayland. All wayland compositors so far use libinput, so multi-touch support is great out of the box.
The view of the European Union (aka German Green Party) is that Nukular Energy is not renewable or desirable. https://www.dw.com/en/fact-check-is-nuclear-energy-good-for-...
Is it fast enough for first person shooters in the browser? That would be both awesome. hosting dedicated servers in a browser hehe
> Sure the shell might have looked amazing like a browser but why

So you don't need to copy your config to the remote server, like XXH does.

So you can still edit your command when your wifi gets spotty.
>What happens when a depressed person forces themselves to do things that are associated with not being depressed?

I’ve been in both sides of this question and, at least in my experience, its like wondering what happens when a tank of gas ignites itself. The activation energy just isn’t there. The thoughts are, but the spark isn’t.

I used to think this was just an analogy in my mind, but we’re an electrochemical beast and what does our brain actually *do* beyond selective catalysis.
Well I would like to point several things out.
IF Assange would be Chinese, he would have been shot or vanished using "reeducation camps".
Please don't forget that the SCMP is a newspaper owned by the CCP and unlike Western Media directly owned/controlled/influenced by its editors.

Yes, the handling of this situation is deplorable, but nothing is perfect.
This case is a good example of "Fuck with a bull and you get the horns.".
It does not matter if that bull claims to be a fascist in communist guise as is common in China or if this bull is of the Western persuasion.

This situation rings true with a quote from a philosopher.
"The East will not usurp the West when it is better, but when the West is at is worst"

Nothing against competition, but the situation in Beijing conjures up images of the 1930s with me.

//Edit: Please also note, that it hinges on a decision, do we treat Assange as a journalist, then, if he acted responsible, he should receive the protection of the law.
However, if this decision is not made in favor, then there is no protection and laws do apply. That, however, is a matter for another discussion. Together with prosecuting war crimes. We shouldn't conflate issues and keep a level head discussing and call out propaganda for what it is. Especially in the age of onmipresent misinformation and stoking of resentment in the nations not kind to dictators and fascist cuddly bears.
I've been using it regularly for 7 months, still love it.

I have my internet stranger group of friends who are always around for chat. But also love listening to music rooms when I want to discover new stuff.

Essentially I use it for radio as a socially deprived remote worker.

I also created a bot that can talk and speak in rooms that leverages GPT-3 for a bit of fun -> https://lordajax.com/post/Omega-Clubhouse-GPT-3-bot/

There are Figma and live Javascript coding rooms, where everyone gets on and has open access to the same playgrounds. Get's chaotic but generally everyone self organizes.

Nothing really compares to Agora/Clubhouse audio quality.

Footnote: I am a "socialite" and love to talk to new people often.

==== ==== ==== ==== ==== ==== ==== ====

Made a Clubhouse room -> https://www.clubhouse.com/room/MwrYA8YQ

Edit: Sitting in an empty room for 40 minutes now... proves the thread I suppose aha - will wait patiently

Edit 2: Got 1 person so far

Name a vegetable when you come up so I can kick non HN people.

==== ==== ==== ==== ==== ==== ==== ====
I've never really been a fan of synchronous online experiences, so I didn't jump on it. Even group video calls with friends can be tedious.
Thanks for sharing. The UK Gov design system is a delight for my aging eyes.
My server had 80kbyte bandwidth and doing very little in a much slower time.

Kernel patches were not on top of my head 15 years ago.
My doctor wants to get me on esketamine and insurance will cover it -- the issue we're having is my doctor is 2200 miles away and I have to take it under supervision (we're looking at who we might be able to partner with to try this). I'm hopeful I'll be able to try it in the new year.

I'm really glad Wellbutrin worked for you. When I tried it ~20 years ago (as a young teenager), it worked well for me for a few weeks and then absolutely did not work anymore. But that's the beauty/pain of SSRIs. There are a million of them and they impact each person differently.
Has anybody done a comparison with Aspera yet?
> trading is learning how to manage risk

Obviously everyone remembers the time a team of gifted nobel prize winning mathemeticians cracked the formula, managing risk better than anyone who had walked the earth before.

So magnificent were the gainz that they imploded under the weight of all their brilliance, and were bailed out with the help of the federal reserve.
You may find that actually making this code to use data from user-provided data will make the code look quite unnatural and I doubt it would be accidentally written.

For example:

>>> user_data='{print("helo"}}'
>>> print(user_data)
{print("helo"}}
>>> print(f"{user_data}")
{print("helo"}}
>>> print(f"user_data")
user_data
>>> print(user_data.format())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyError: 'print("helo"'

Maybe there's some other way to express this bug?
> And there were still people going with early USB sticks between offices which was after floppies and writable CD's. <

Not in the 1990s there weren't, no – because USB sticks didn't exist yet. The first patent was filed in 2000.
https://en.wikipedia.org/wiki/USB_flash_drive#History

> and most of the Windows installations never are exposed to the web at all.

So you don't update them ever? That is not a good plan.

Certainly Windows is more vulnerable to malware, but it's not that bad. I rarely use it at all, but with some current antivirus installed, a 3rd party browser (that is, not IE) and so long as you don't download anything from dodgy sites, it's fine.

As far as Linux on the WWW goes, I've been using it for this since the late 19980s with beta versions of the Mozilla Internet Suite. Nothing new here.
Alasco | Munich, Germany | Senior (Python) Engineer | Lead Engineer Backend Python | Frontend Developer | Head of Engineering | On-Site | https://www.alasco.de/en/

We are a Munich-based StartUp that helps construction companies complete projects on time and budget. We digitize the processes in construction planning and execution by offering a cloud based workflow platform.
Starting from Germany, we want to take on the world. We’re looking for Senior Python Engineers, a Tech Lead, Frontend Engineers.

More at https://alasco.de/en Our stack: django/python + react/bootstrap on AWS. Our company language is English. We’re 100 people right now, wanna be the 101st? Reach out to schuon@cs.stanford.edu (Founder) or jobs@alasco.de!
The cost of Ariane 5 rocket is below $200m, which is a rather small fraction of the overall budget of $5-10b. If the main reason for the huge cost is to make it so lightweight, why didn't they go with more capable heavy-lift rockets to cut some R&D costs already? At least, Delta IV Heavy seems to have a significantly larger max. payload [1]. The JWST was still in re-planning phase as of 2005 and Delta IV Heavy was already operational at that point.

[1] https://en.wikipedia.org/wiki/Heavy-lift_launch_vehicle
That's an extra line of boilerplate. If someone for some reason wants uglier and longer code then can still use interface{}
If the Moon was 10x as far away from the Earth as it is now then that would still be closer to Earth than this probe ever was to the Sun.
In your mind, do hosted wikis and KBs like Stack Exchange, Wikimedia or Confluence address the discovery problem? If not, is there anything close?
Interesting, this feature may only be for touchscreens because two-finger swipes are registered as scrolls on Wayland. This will indeed need further work.

What does work though is two-finger pinch gesture to zoom in/out of a web page.
The wikipedia definition talks about terminals in the general sense of the word as in "something where some interface connection terminates."

In that strictest sense of the word, even an RDP client onto a windows desktop is a "terminal".

As the article points out itself however: The colloquial semantic meaning of the word, aka. what is usually meant by it, is TEXT TERMINAL.

And btw.: Even for a fully featured RDP client, I wouldn't accept a size of 200+MB. The one I use at work is barely 4MB.
Ask HN: How to achieve the best performance possible in a web app?
What is the best technology stack to use? What workflows or laws to apply? And any other tips and tricks for performance, without removing functionality or other compromises. TIA
I hear what you're saying, but why make one language look like another when that other language is more suitable for those purposes (graphics and deep learning)? Isn't Python the go-to language for deep learning? It's probably better to stick to that one, because the field itself is hard enough already - learning another language on top will just put people off.
Isn't that the point though? The implied meaning of Chesterton's fence is simply: Understand the root motivation that belies a rule/norm/etc before you contest it.
After society collapses, how much will silver be worth? It's not useful for a lot apart from decoration. Food, clean water sources, construction metals, tools, etc will be far more useful.
The author of flask(and a lot more python stuff) goes a bit into detail here[0].

And as pointed out by another commenter my scenario is imaginary because user input needs to be passed to a f-strings. But I did update my original example with a tested `exec` because then you can import modules.

I do see my imaginary attack as low effort for a grey- or black-hat to automate and weaponize.

As mentioned/asked by parent, will we see mini renaissance of format string vulnerabilities, and I believe the answer is yes.

[0]: https://lucumr.pocoo.org/2016/12/29/careful-with-str-format/
yes, it works for whatsapp; note that it does bypass Do Not Disturb, but won't make any noises if you've turned the phone to silent or vibrate.
If there was no requirement for vote secrecy, it would be easy. The conflicting requirements between verifiability of results and secrecy of the vote is what makes it hard. I wrote more about this here: https://www.attejuvonen.fi/thesis/
No offense to the log4j devs.

But I am wondering from a developer's perspective, it should be the first thing to do in my opinion.
> The maintenance therapy with ketamine (from twice a week to once in two weeks) appears to be a promising option, although the evidence to firmly recommend it is insufficient

https://en.wikipedia.org/wiki/Ketamine#Depression

> The approval of esketamine for TRD by the FDA was controversial due to limited and mixed evidence of efficacy and safety.

> In January 2020, esketamine was rejected by the National Health Service (NHS) of Great Britain.[41] The NHS questioned the benefits of the medication for depression and claimed that it was too expensive.

https://en.wikipedia.org/wiki/Esketamine#Depression

It's too early, and it's for treatment resistant depression.

So yeah, unless you're a doctor/neurologist and know the protocol for validating drugs, it's not really worth listening to the pseudo science advocated by drug users who also encourage taking psilocybin/LSD/MDMA as a silver bullet, and constantly talk about pharma conspiracies. "Listen to the professionals" is a better advice.
Agree. There are applications where widgets approach would not bring much benefits.

Let say, applications with lots of UI state (state that doesn't exist on Server).

Also not sure how it would work with realtime apps.

It's the same with every approach, the are always exceptions from the rule.

That said, I see the benefit of this approach for the majority of UI apps, which heavily rely on Server data.
Apple is storing recorded voice data and sharing with 3rd parties - https://thehackernews.com/2015/03/apple-siri-voice-data-shar...

For awhile, they did so without even allowing the users to opt-out. This is a terrible suggestion if privacy is what you seek.
I've built a few vector search engines too, so this was an immediate red flag: "Brute force takes 12 seconds / query on 1 million vectors of 768 dim".

No, a sane brute-force search (via BLAS) that size should be a ~200ms / query. I.e. SIXTY TIMES faster!

If they (Faiss?) got this wrong, what else did they get wrong?

I understand researchers want to showcase their "best and fastest" approach, so they fudge the baselines. Approximate search can be genuinely useful – orders of magnitude faster than (even non-fudged) brute force, and using less RAM too.

But as a user, tech stack complexity is also a consideration. Because the trade-off is not only "speed vs accuracy". Brute force is a trivial algorithm, easy to implement and maintain with no corner cases. It has completely predictable data access patterns (linear, sequential, fixed response time, 100% accuracy). It supports operations (update, range, dynamic k-NN) that complex indexes struggle with.

So if your dataset is tiny – and anything under 1 million counts as tiny – do you really need to maintain an external dependency of fancy data structures and approximate algorithms?
How I Review Pull Requests
I’ve never really watched Star Trek either. Now my impression of it is that people watch it for the same reason that they watch The West Wing;[1] to fawn at the Leadership and Decorum of the Wise men (and women!).

(Probably not though.)

I’d rather interact with cosplaying nerds than with those haughty-taughty process and procedure geeks.

[1]: I of course have not watched that, either.
These charts should have the y-axis start at zero. As they are now, I have to convert the bars into numbers, then mentally compare the numbers, which defeats the point of charting them graphically.

Though I guess I can compare the confidence intervals visually :-P
Don't let the paranoia overwhelm you. A lot of your conclusions regarding this man are bordering on delusional. You might be catching what he had.
> Good, now we just need the ability to declare function parameters and return values non-nullable

But that's already possible, just declare arguments and return values as values instead of references. I mean you'll get the zero value if you don't use those functions properly, but those won't cause nil pointer dereference errors.

I mean, it's a tradeoff between performance and developer competency. To be harsh, I think nil pointer dereferences are developer error, not a flaw in the language.
Job market is probably hotter outside the US now. Corona really encouraged remote, which encouraged not just outsourcing but full time remote jobs.
> all we need is sugar syntax for early return on error -- like more modern languages such as Rust and Zig have -- and Go may finally be pleasant to program in!

Can you provide an example? What's wrong with `return err`? That's a very explicit early return on error, no magic or language features (= added complexity) needed.
>Outsourcing labor to China has diminished the US so much. It is like the Heroin of economics for Americans.

Whose fault is that? China's for taking the deal?