skysight-inc/HackerNews huggingface dataset:
What is truly native is debatable. Go has a runtime too. .NET has some AOT compilation to native code now and it has trimming so that it doesn't include things you don't need.

Go will likely continue to have a bit of an advantage for short-running processes, but .NET and Java are both likely to start getting into this space. Micronaut is advertising "startup in tens of milliseconds with GraalVM". Microsoft is working on integrating all the Xamarin/Mono/Framework/Core work into one .NET and there's a lot of great stuff there. CoreRT isn't going to be productized, but it's likely that a lot of the ideas will become part of .NET in the future. We've seen announcements about compile-time code generation which will help .NET avoid reflection in AOT-compiled scenarios.

Go is very successful for a reason, but Java and .NET aren't ignoring Go's advantages. I think there was a bit of complacency for a while. Java was the open-source statically-typed platform and C# was the Microsoft one. As new languages like Scala, Kotlin, and Go came on the scene, there was renewed interest in pushing Java forward and as Microsoft pivoted away from a Windows-first-and-only state of mind, there were a lot of areas to push C# into (with help from the Mono/Xamarin folk). AOT compilation is going to be important for things like iOS development and WebAssembly which both look like they're going to be big emphases for Microsoft going forward (they've announced how they're going to unify iOS/Android/Windows/Mac development with .NET 6 and Blazor seems like one of the more exciting WASM attempts).

Again, not taking anything away from Go, but I think Java and .NET will both be making strides in startup times and AOT compilation.
how many tokens are there?
I'm surprised there isn't more of this in the thread.
Google Research is a thing. It’s even cited in the article as a positive example.

https://research.google/
Show HN: TutsWiki, Collaborative Tutorials for the Internet
Problem: I was unhappy with the low quality tech content on famous websites like TutorialsPoint. We always come across some obsolete content, broken links, or bad practices on tech/programming websites but there's no way to fix that. It solely relies on the blog owners and sometimes they just stop keeping their sites up-to-date. Even if they want to, they cannot monitor each and every article/links/examples on their massive websites.

Solution: I made TutsWiki, an open-source website where people can review the content and modify it if they find any mistake in it.

How: Users can click on "Edit this page" button at the top right corner of each post. This will take them to the GitHub repository where actual content is present. They can modify the content and raise a "Pull Request". When the PR is approved, website content will update automatically.

Example: A CSV file that I used in my example program was broken. The original site which hosted the CSV file had updated the URL along with the CSV content. It was 3 years' old article which I was not monitoring but thanks to a visitor who found out about it and raised a PR to fix it. Link to PR (https://github.com/TutsWiki/source/pull/3/commits/4ea5ecfb9b634d9a0fc04b341e6f316d0a98a875)

Challenges: I cannot work on this project alone due to a full-time job and household chores. I'm looking for contributors. I also have to decide the niche e.g. whether TutsWiki should only cover programming articles/tutorials or be open to all categories.

Note: Users can submit new content which will be available on the site once it's approved by mods e.g. pandas tutorial series (https://github.com/TutsWiki/source/tree/master/content/pandas%20cookbook)

Website URL: https://tutswiki.com/
GitHub project: https://github.com/TutsWiki
Uhm. What if you could use this to produce code to improve ML libraries. Quite recursive or what.
There are so many reasons, but the main reason is despite making their money from ads, they are not only ad companies, they have many products.

Even disregarding the product reasons, research often makes these companies look good to both a technical audience and sometimes to politicians who value "innovation".
Related:

https://science.sciencemag.org/content/368/6492/760

>"Optical vortices on demand
Light has several degrees of freedom (wavelength, polarization, pulse length, and so on) that can be used to encode information. A light beam or pulse can also be structured to have the property of orbital angular momentum, becoming a vortex. Because the winding number of the vortex can be arbitrary, the channel capacity can be expanded considerably. Zhang et al. and Ji et al. developed nanophotonic-based methods for generating and electrically detecting light with arbitrary orbital angular momentum, a goal that has remained an outstanding challenge so far (see the Perspective by Ge)."

[...]

"By harnessing the properties of total momentum conservation, spin-orbit interaction, and optical non-Hermitian symmetry breaking, we demonstrate an OAM-tunable vortex microlaser, providing chiral light states of variable topological charges at a single telecommunication wavelength. The scheme of the non–Hermitian-controlled chiral light emission at room temperature can be further scaled up for simultaneous multivortex emissions in a flexible manner."

Opinion: If Physics needs its own grand unified theory, then certainly Light -- needs its own...

A careful codification of all of the properties of light and these properties' mathematical relationships with one another -- would be one heck of a starting step towards that eventual goal...
We’re going to have a brutal and arbitrary reduction of our population no matter what. It is surely already too late for birth reduction to be the instrument. Ecological collapse is upon us.
> And they are legally forbidden from telling on you to anyone, unless you're violent or suicidal.

OT fun fact about Germany:

While doctors (including psychologists and psychiatrists) are legally forbidden from disclosing what they learn in therapy, other patients in a group therapy setting aren't, and are even required to testify about what you said in therapy.

https://mein-bvvp.de/vvps/Schweigepflicht_1.pdf

https://mein-bvvp.de/vvps/Schweigepflicht_2.pdf

That's why I would never agree to a group session here.

It was the subject of a petition to the Bundestag some years back, but the Bundestag didn't see any reason to act.
For usage of "setting up a basic desktop for day-to-day use", to use nix to just mundanely install a list of packages:

What I have is a "myPackages.nix" that I symlink into ~/.config/nixpkgs/overlays https://github.com/rgoulter/dotfiles/blob/22ebe20a820a1adf64...

After installing nixpkgs tool, I can then run "nix-env --install --attr nixpkgs.myPackages" to install that.
> I think the short answer is that boxes and wires actually become harder to manage as the software increases in complexity. The "visual is simpler" idea only seems to hold up if the product itself is simple

Why? Can you give concrete examples of this? I see this sentiment a lot but never any particular examples.

When you start off with a prototype in a text-based language for something "simple", you don't extend it by continually adding in more and more input arguments and more and more complex outputs. You breakout the functionality and organize it into modules, datatypes, and functions.

Same thing goes in a visual programming language like LabVIEW. When you start adding in more functionality to move beyond simple designs, you need to modularize. That reduces the wires and boxes and keeps things simple. In fact, I liken well-done LabVIEW to well-done functional-code like in Racket, Scheme, F#, SML, etc., where you keep things relatively granular and build things up. Each function takes in some input, does one thing and returns outputs. State in LabVIEW is managed by utilizing classes.
That can't be cost efficient compared to alternatives can it?
Working for me, can you add more details?
new exploit:

> using a 0day kernel vulnerability from @Pwn20wnd

https://twitter.com/unc0verteam/status/1263260302713524225?s...
One can use different providers for DNS and domain registrations. I use Cloudflare for the former and Dynadot for the latter.
Because they want smart people, but they’re ad companies.
> It's not efficient for large scale things.

> You will always need non-visual languages to do things in a featureful and scalable way.

What is an example of a system that you have developed where things broke down with a visual programming language?
I see no macabre at all in these statements. I don't think anyone was talking about taking away the right to live from 90% of population. It is enough to limit number of children born and population will naturally decrease.
Seems to be an issue with Fastly's Australian servers.
>> Instead, make sure that every SQL operation in your app is using the QueryContext / ExecContext interfaces

I've been wondering if this is indeed a best practice or something that should be used only when necessary. Should every database query really abort if the connection to the client fails?

In addition, if you follow this advice you now need to check if the returned error is context.Cancelled which warrants an HTTP 400 response.
All working fine in India.
GitHub, stackoverflow, Reddit down – 503 - Australia
Funny, I was able to install it (for use with pytorch) just a few days ago without a hitch.
In aircraft engines, turbocharging is commonly used to maintain manifold pressure as altitude increases (i.e. to compensate for lower-density air at higher altitudes). Since atmospheric pressure reduces as the aircraft climbs, power drops as a function of altitude in normally aspirated engines. Systems that use a turbocharger to maintain an engine's sea-level power output are called turbo-normalized systems. Generally, a turbo-normalized system attempts to maintain a manifold pressure of 29.5 inHg
Yep. And of course... 'killall'. If you come from GNU/Linux, never use that unless you've read the man page :D

Linux: "killall sends a signal to all processes running any of the specified commands."

AIX: "The killall command cancels all processes that you started"

So, if you're root... good riddance to your system!
Us and Them: 20 printers endlessly spew AI-generated political tweets (2018)
Say you do for sake of argument. It has shellfish on it and you are allergic. Can we reverse the exchange and create more value?

We could also take a bite before exchanging again.

(I'm not trying to prove a point, just curious how the logic extends)

edit:

Wait, by your refusal, is value lost or gained?
I just did this for a simple project. I indeed noticed that the startup time was extremely slow. The subsequent run-time was faster though, although still not that fast. So something interesting was going on via a per-terminal session basis.
I shall heed.
Oh that's right, they lock you in a hospital and then afterwards make you pay for it. A jail is kind enough not bill you for their trouble.
And the great thing about ncdu is that you won't have to traverse the filesystem again and again as you narrow down where the disk is going, if you don't already have a good guess.
Would you please not start posting flamebait like this (and https://news.ycombinator.com/item?id=23255098) to HN again, so we don't have to keep banning you?

Your other comments with this account seem great.
Why would that be a better arrangement than, say, universities?

The main issue with corporate research is that it's not easy for them to capture the output; it very quickly leaks into the public domain, despite patents. So why bother?
Proof that "Some brains are neurologically misconfigured and prone to chemical depletion or lack receptors for it (ex: serotonin or dopamine)" and that this is the cause of depression.
Sideload apps?
Yeah, they posted this https://status.fastly.com/incidents/pv9wjdx0scvp
Go in random store and pick random notebook / phone.
An AI like this can hold a hell of a lot more information in its head at one point than a human. Each decision it makes is based on way more context, it can manipulate the problem using much more information, much faster. The problem is that it can't think in abstractions.

If AI gets to the point where it has a reasonable understanding of the shape of the data & the basic spatial manipulations being applied (not far off IMO), I'd expect it to be waaaaaay better at discovering certain types of new algorithms than humans. It can handle thinking about algorithms that have millions of independently moving parts in a way a human can't.

Humans have the edge deriving algorithms that require a sequence of high-level steps on an abstraction. "Do this, then we get a thing, then we do some stuff to the thing, stretch it, squash it, massage it." AI sucks at that, it doesn't think in the same kind of flexible abstractions.

But imagine if you build an understanding of how the code will be compiled & how that will interact with the cache into the AI. That's very difficult for humans because you can't think about all those mechanics at once, we have to focus on one at a time. An AI that really gets it? I could see it writing a better sorting algorithm for a specific, complex datatype than a human could, or at the very least having the competetive edge because it can do it basically instantly.
Hi, I mainly work with React and Node with a little experience in vue.js as well. I can review.
Even if it's one bucket, isn't it still vulnerable to the same attack you describe? If you push the latency to the edge, you'd know how much is yours and how much the bucket's. Even if it was randomized you could still figure out the window of the added noise with enough sampling and you're back to where you started. I don't see a way out, other than if someone really wants to avoid these types of attacks, then using a VPN is the best bet here.
Over here (Belgium) in the second and third week of the (light) lockdown the color of the sky was a kind of warm blue I only remembered from childhood. I think it was due to the absence of daytime flights.
This is pretty bad faith. It is very unlikely that you're responding to Hitler, of course no one is suggesting we murder 90% of the world's population, that is unspeakably evil.

But, with magic, imagine we had every technology we have now but with only 10% of the world's population. It _would_ be incredible, you could fly all over the world to your heart's content, your neighbor could buy a big diesel truck, and your friend could all the sushi they could ever want, and the world wouldn't notice. There would be immense open spaces, untouched, able to be enjoyed and the permanent residents, the plants and animals, wouldn't be perturbed.

That sounds pretty appealing to me, maybe it doesn't to you, but that is what someone is talking about, they aren't gleefully suggesting genocide. Now, how would we get there without magic? If I were king the first thing on my list would be educating children, specifically educated girls have many fewer and later children. Other things that drive birth rates down? Increasing quality of life, access to healthcare, and a strong social safety net, none of those things smells like bad things. I hope the next time someone suggests that you assume they mean doing those things over murder.
However, you can use synthetic firmlinks to define arbitrary root-level paths that _are_ writable.

See `man synthetic.conf`

No, synthetic.conf only creates directories or symlinks. If it actually created firmlinks, the problem would probably be much smaller.

The problem with symlinks is that some builds use realpath. If /nix was a symlink to e.g. /usr/local/nix, this would result in /usr/local/nix being used in this builds. This leads to various build problems [1] and can result in the wrong paths ending up in binaries. If this happens on a builder, the resulting binaries are not portable between macOS + Nix machines.

So, instead the only way to get it currently working is to use synthetic.conf to create a new top-level directory and mount a APFS volume with the Nix store there.

If Apple actually allowed creating firmlinks with synthetic.conf, the Nix installation would be drastically simplified. /nix could just be a firmlink to e.g. /usr/local/nix, since realpath does not report the actual path on firmlinks.

[1] https://github.com/NixOS/nix/issues/2926#issuecomment-559989...
Though hopefully using them less, at least?

If you’re sufficiently worried about COVID to switch from public transport to a car, why would you use it to travel into an office every day?
> Humans are exceptional at adapting, and our brains are brilliant at filling in the blanks

This is exactly the problem. Our adaptive machinery can adapt to the wrong stimulus and get stuck in that. This is called "reciprocal narrowing" and is the mechanism that sustains addiction. I'm not saying videochat is necessarily the wrong stimulus or has an addictive potential, but being able to adapt doesn't mean it is the right thing for us in the long term.

> felt my social needs sated (if not my physical needs, specifically sex). ... because it's really no more a simulation that how our brains translate vibrations and light waves into sounds and pictures in the first place

This sounds like a reductionistic, cartesian model of what is going on. It assumes something like "Stimulus gets in through my senses, interpreted through my consciousness in my mind and I get what I need" or "my relational needs and my physical needs are mutually separable". Cognitive science experiments show us existence of phenomena like "blindsight", in which there is stimulus processing without possibility of conscious awareness; "implicit learning", in which there is learning without conscious awareness. In other words, our conscious awareness of what is going in is not necessarily a good indicator of what is actually going on, nor if our long term needs being actually met. We don't know if we can delineate relational and physical needs (here by physical I mean physical presence, not necessarily tactile stimulus) or to what extent we can reduce relationality to vibrations and light waves going through our auditory and visual systems.

I want to make it clear, I am not saying videochat is bad, I've spent my whole week videochatting and feel like I've met certain relational needs. But it is nonetheless a simulation, and I actually can feel tired and lonely even after a day full of videochat. I don't intend to equate both, and I want to be careful not to displace the real thing with its simulation when the opportunity arises to be present in person. Just like I need to be careful about diet coke and hyperpalatable fast food not confusing the hell out of me to the point of replacing real, long-term sustainable nutrition.
I am curious what the author thinks about the same problem in pharma/biotech.

On the one hand, they are kind of _forced_ to do research in one form or another to power the pipelines, so clearly corporate research is still alive there.

However, given the pathetic track record the industry seems to hace, and arguably complete lack of any real innovation (almost all of the drugs in most pipelines are just antibodies or their variants), some form of corporate research rot seems evident here as well.

One problem I see often on pharma side is that it's revealing when the CEO of the org is not a technical person. GSK recruited the CEO of L'oreal as its new CEO. TBH I can't for the life of me figure out how someone who sold lipsticks can make decisions on which preclinical trial has the highest chance of success in a human being. If the CEO of a company is not fundamentally versed in the fundamental technology they make can the company actually be successful?
But nowadays private interests can cross international borders with ease, while governments cannot.
I like how the car industry is hoping based on a once-in-a-hundred-year pandemic response. Gives me no confidence for their long term future.

If people are getting by without a car now, I wouldn't think this situation would make them rush back into owning one. For one thing, if you don't have a job to go to, then you don't need one and probably have better things to spend your money on. And for another, and as a member of a 4-person, 2-car family, a car is expensive to buy, expensive to run day-to-day, and expensive to maintain, which is a reason some people have re-arranged their lives around not needing one. Thirdly, the purchase of a new (to the person, not necessarily brand new off the production line / ship) car, where I'm from anyway, is announcement-worthy; it's a date-on-the-calendar circling in red pen event. There's an excitement about the new 'you' that you're going to be seen as on the road. This gives the act of the purchase of a new car some intrinsic value and a bump in personal 'brand'; a dopamine hit. That whole schtick doesn't exist when you have to buy a fucking car to avoid a virus. It's a begrudging purchase, and all the expense that goes along with it will only increase the resentment of the requirement; the reminders of dealing with traffic, the hassle of getting petrol (not even necessarily the paying for it). All these will be reminders of why they avoided car ownership and will see them re-pursuing that option ASAFP.

If there is a bump in car ownership, as that article states is the case in China, then I'd be tipping there'll be a bump in second-hand car sales within 12 - 18 months.

I've been saying for the last five years that my next car will be electric. The last couple of years I'm questioning how I can arrange things so my next car is a bike, or my feet, or a scooter, or anything smaller, cheaper, and less hassle.

Something else to file under obvious, but not until you think about it: I donate plasma once a month or so, and in chatting to the people that work at the blood donation centre, they were saying that they now have too much blood, too many donors. With less traffic, there are far fewer major trauma incidents as a result of car crashes. Normally blood donation centres always need more. It's a good situation to be in, but also unfortunate because it's going to eventually settle back to where it was before. Traffic where I am is almost back to normal.
Reference? That sounds like an apocryphal story to me. It is incredibly hard to break the wings off an airplane.
Many turbo cars can do this too. The turbos are not sized to the bare minimum to make rates powe at sea level, so they can compensate.

His is one of the reasons why turbodiesels are valued for hauling. They can still make (near) rated power across the Rockies, where an NA engine might be down 30-40%
Thanks for the explanation. This really does makes sense.
Of course it is up to the application to decide case-by-case.

Just keep in mind that if your query is started by a user request, but does not need to terminate in the context of the user request that triggered it, you can move the query to a separate goroutine and decouple it completely from the triggering user request.

Also, aborting a query is safe: the transaction gets rolled back, removing unwanted side effects. You cannot do harm by cancelling, bu you can do harm if you don't cancel.