skysight-inc/HackerNews huggingface dataset:
Also I shouldn’t have to say this but all of the current JavaScript applications have already been written. Switching a large production codebase to a new framework does not dovetail well with modern dev practices, amplifying the pain of doing so.
This comment is about 7 years out of date.
Rust gaurantees (except in unsafe code) that off-by-one errors will never lead to reading or writing from outside of safe memory bounds. You can still call `unwrap` on a out-of-bounds vector index and get a panic (panics are considered safe since they are memory safe), although you should not be using unwrap in ways that can panic in production code.
Maybe they should use a faster db like nosql

/S
I avoid Medium and Substack, questionable content quality plus some odd patterns always baiting to sign up or subscribe to something or whatever.
So at this point the archaeological record shows Negritos and Pacific Islanders reaching Taiwan then heading south/east from there - potentially tens of thousands of years apart. Negritos made it as far as Australia. Pacific Islanders made it as far as California.
Western media in most western countries isn’t state controlled, and so heavily influenced by public sentiment, not the other way around. Russia never really had a chance in the war of public opinion in the west: whenever they attack other countries they are just assumed to be the bad guys. But really, being the aggressor in most of their incidents is not a good look.
Can the Smell of Weed Harm a Newborn Baby
Exactly.

We're all better off when smart people can build something new, that advances the frontier of what's possible, and release it to the world for free, without committing to support it forever.

It's nauseating when lazy commenters parrot the same, worn-out arguments to tear down legitimate innovation.
Show HN: Gig – CLI Tool for .gitignores
Hey HN! First time sharing a project with ya'll.

Created this tool because I had to always refer to gitignore.io when creating/appending .gitignore files.

Built with Go and has the text files embedded into the binary so it's less of a hassle for others to use. Comes with completions as well.

If anyone else has this issue hope it helps and always open to feedback. Thanks!
> Although on systems like Fly where you attempt to build one container to run an app, it’s a bit overkill.

I never used Fly but hosting a web + worker combo is common in a lot of tech stacks and with Docker it's really common to use 1 image to drive both containers with a different command. If Fly doesn't support that then I'd suggest hosting things elsewhere. Docker Compose and Kubernetes supports this no problem, it's a really basic / day 1 use case.
Sixty symbols did a video on spooky actions at a distance coinciding with the Nobel prize this year for the same thing.

It explains why we can show that it cannot be hidden variable / immeasurable initial state that causes the randomness.

Basically we can change the probabilities of experiment B, made on particle B, by changing the experiment we do on particle A.

I suppose that entanglement could still live in a deterministic world. E.g, given initial state/variable and interaction with entangled particle A, B will behave so and so. I’m sure you could work out a number of initial states for A and B and how each set of states react to each other, that could give the same proportions as the probabilities mentioned in the video.

But given that initial states cannot be measured, is it really a better explanation?

https://youtu.be/0RiAxvb_qI4
This is the way. Being able to make a website, PWA, cross-platform desktop app with Tauri, mobile app with RN / Quasar / Svelte Native / Cordova, or a standalone cross-platform executable with Deno is invaluable. Edge functions / cloudflare workers / Deno deploy, or even embedded js runtimes are all first class. As a typescript dev I feel like I can do almost anything, and UI is cake with Svelte and the other great web ui frameworks around JS. Not to mention the incredible ecosystem and the top-tier DX with PNPM and Vite. I feel spoiled when the possibilities are limitless and the tooling / ecosystem has it all!
Just want to point out: creating, maintaining and hosting a blogging platform costs time and money.

The interests of anyone who wants to use a blogging platform without directly sharing those costs are very unlikely to align with those paying the costs.
(I think it can be done, but will probably be very inefficient and susceptible to being out-competed for attention.)
Check out openmptcprouter.com works excellent!
I did see that, but it doesn't explain it terribly well. Radar is a different use case of higher powered pulses versus sustained tx/rx, multiplexing vs not, and so on. So there's overlap, but they aren't exactly the same. Some deeper explanation that showed what, exactly, radar did to make regular telecom practical would have been more satisfying. "Cheaper klystron amplifiers" or "higher selectivity receivers", etc.
Perhaps the more interesting page is:

https://antmicro.com/blog/2022/08/running-rust-programs-in-s...

More about Rust and the architecture. I know Renode of its RISC-V meetup presentations, can't say I was impressed favorably.
Aren't pages in a buffer pool usually in a different representation than the on-disk format?
Solidworks or Fusion. If you need free, FreeCAD.
Yes, the shift of consumer computers from command-line only to graphical interfaces would have been bigger than the Wizard of oz moment where the movie transitions from monochrome to colour.

I contrast this to Meta VR's comically atrocious demos and wonder what happened.
Check out openmptcprouter.com works excellent, currently connected using it and two home connections.
Ask HN: How to learn to sell?
Hey HN,

I am a solo founder that just finished writing code for my project (MVP) and am ready to find clients.

- for the sake of the question, my clients will be small physical businesses. Think, Family Doctor's Office, Local Cafe, Small barber, etc.

I will be developing a blog for SEO purposes and doing other things to promote my business online. However, I believe the key to success here will be "Cold Sales". I have never done that before. So, if you could recommend a book, a blog post, other online resources, or you just have a random advice that I could learn from, I would be very thankful.

Suffice it to say I will be starting out ASAP, even though I don't know anything. I believe practice is the best teacher. However, if there are any resources that could help me get up and running quicker that would be awesome. Thanks a ton in advance.
> It doesn't matter whether quantum uncertainty is ontological or epistemological. What matters is that the outcomes of quantum measurements are fundamentally unpredictable for the entity conducting the experiment. It doesn't matter whether the information generated by the experiment was pre-existing or somehow magically came into existence by wave function collapse or whatever, what matters is that the outcome is not predictable even in principle. And so it doesn't matter what mathematical model you put underneath this unpredictability. It can be axiomatic, it can be chaotic, or it can be a cosmic Turing machine computing the digits of pi. It doesn't matter because one of the things we cannot know, even in principle, is which of these hypotheses are correct. It's a non-scientific question.

Thanks. That was actually really insightful. I never thought about it like that. It's beyond the scope of science and what models are for. We'd be switching purposes at that point. The tools only do what they are meant to: predict; it doesn't make sense to them for to do something else (unless we specify that new purpose), especially when we do so as if we're not.
Attend local events. Buy books. Try a new language.
Well, the issue is that since our tools already give us arbitrary power over what the user sees, then of course the developer has to opt-in to either using a subset of tools (e.g. some animation API that the OS can toggle) or implement the override like in TFA.

I don't really think you can force people to use a restrictive animation API (and nothing else) since it would have to generalize over all animation needs. Meanwhile, on iOS, SwiftUI is very far from generalizing over all needs—as an example of what a restrictive set of tools might look like. I don't think it's even possible, and the imperative kit will always have to exist.
Has anyone seen any open hardware optical RNGs out of interest, for high bandwidth generation?
I sense deflection and an attempt to change the point being made above your response.
It’s particularly unethical to promise a badly thought out goal that cannot be meaningfully achieved in the interests of drawing out financial support for a longer period of time.

I am reminded of the person who called their intimate partner “tomorrow” because they never came.
Yes. Is it a BETA you have to OPT into, sign an agreement, keep your hands on the wheel etc...
Europe plans to launch a quantum encryption satellite in 2024
Very well breakdown of recent changes and highlights. Thanks for share it!
You're describing small systems being scaled up millions of times. It reminds me of the doomed and misguided Ocean Cleanup Project. Where would you grow all this algae? It would take a great deal of area (easily multiple thousands of square miles) because it relies on photosynthesis. You can't build it at sea, because it would be destroyed be storms.

The crushing rock works very slowly - that part of the carbon cycle takes ages. Any significant speedup of that would also be an environmental disaster - again too much rock crushing, and it would have to be spread over large areas.

Even worse, this will all need to be done in an already deteriorated planet, with almost assuredly worse political stability and real economic output than we have now.
[I work at Firebase, but opinions are mine]

First and foremost I appreciate the time you spent putting together the article. Feedback is a gift and always welcome.

I'll address your main point: Firebase and GCP.

Over the past decade, developers have consistently turned to Firebase as the fastest way to take their idea to market, thanks to an innovative client-first model and a singular focus on developer experience. Our goal is to provide a comprehensive and "opinionated" platform that just works, saving considerable development and maintenance time.

We consciously build some of our services on top of GCP primitives like Cloud Storage and Cloud Functions. This allows us to best apply our team in continuing with our mission, while also making sure that our users never outgrow the platform in any dimension (security, scalability, compliance, etc).

You bring up excellent points as far as our UX and better integration opportunities. My goal is not to necessarily push developers to GCP. The way I see it is that both platforms serve users with different use cases and preferences. Some will use one over the other, and many will use both.

I would love to continue the conversation and I hope you don’t mind if I try to reach out.
> VMs don't magically appear or stay on the Internet. What costs you 5$ month uses hardware, Internet networks, and let's not mention virtualization technology

I run dozens of $5/month VMs. You'd be surprised what you can do with one.

> You can try throwing a piece of paper up in "the cloud" and see how long it stays.

Is that a question?

One answer of mine would be along the lines of "up 126 days, 9:19, 1 user, load average: 0.00, 0.00, 0.00", picking one of mine completely at random.

Of course you're welcome to pay for AWS/Kubernetes or whatever software [over-]engineering fad rocks your boat.

However, I say phooey to that! If you know what you're doing, a $5 VM is really good way of publishing content for cheap.
Hi @boomskats, kudos for your recent work on obsidian-remarkable!

My current workflow is pretty suboptimal (manual desktop Remarkable.app to extract/export notes as pdf -> obsidian vault fs) and I was stoked to set up your plugin. Unfortunately it looks like it's not yet compatible w obsidian v1.0.

I created an issue https://github.com/cobalamin/obsidian-remarkable/issues/9
in hopes of confirming it's not just me. Happy to help debug if I can.
OAPIv3 (fully spec'd/schema'd REST+JSON APIs) is nice, and the generators are important, yet as many point out "not always that great".

There's an alternative technology: GraphQL, which has generators too!

Here a PoC of mine demo'ing an architecture in which the backend is very low code (mostly due to Hasura), and most of the app's code is in the frontend: an Elm app with generated type-safe Elm-bindings to the GraphQL backend.

https://github.com/cies/low-code-backend-dockered
I like the look of Crystal but lack of decent tooling and slow compile times put me off.
I've seen public sector organisations where FOI laws have been used by salesmen spamming to determine technology infrastructure to pitch their product.

It's not why FOI was created or motivated. There is genuine need for openness but this sort of thing just tasks already underfunded and stretched departments with work that distracts from providing core services.
To be fair, the Mac alternative at the time was "Don't do that." DOS and the PC (and add-ons like expanded memory) provided a bunch of ways for sophisticated users to do things that weren't quite possible with stock configurations. (Basically there was memory between 640K and 1MB that could be used in various ways but it required the right incantations.)

My general recollection from being a DOS power user (and developer) and a very sometime Mac user in that era was that Macs were less likely to be "problematic" but when something did go wrong, you had far fewer tools and observability to work around the problem.
If the latter requires you to do your own mini router to handle each verb separately, then yes. It greatly improves readability and reduces boilerplate to have the ability to have one handler per path x verb
Random people never cared about Russia's past attacks of Ukraine or Georgia until they were instructed/programmed to care about it this time.
Privacy commissioners urge governments to 'axe the fax'
Ah yes. I've had my eye on that as well!
What is that good for in other language if your day job is in C?
I was curious about this very thing. At first I thought this was a really cool thing she was doing. I think everyone should be rewarded for their hard work, research or discoveries.

I guess I can't say I'm a fan of the way she went about this though, after reading some of what she's written:

Her comment:

"The problem is not that she’s not notable, or that @Wikipedia editors are a bunch of sexist trolls waiting to jump on the bio of an impressive scientist"

Seems to be in reply to this comment:

"There is a lack of significant independent coverage. Getting an award from the local YWCA does not help her meet any notability criteria. As a for notability as a scientist, my search in Google Scholar found a grand total of 1 citation of papers she has authored or co-authored. Just because she works for the government doesn't mean she can't publish papers (and she has), the only restriction is if her work is classified. Her participation in the discovery of element 117 appears to have been very minor. Her name does not appear in the Oak Ridge publication "The Discovery of Element 117". Her Oak Ridge autobio says her part of the discovery of the new element was to "contribute ... to the purification of the Bk-249 used to help discover Z=117". Sounds like a very minor role in an undertaking involving a large number of people. I don't see convincing evidence that she is notable as a scientist or meets WP:GNG. I agree with the others who cited WP:TOOSOON as an issue."

This is all found on the wikipage that was part of the original article:

https://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletio...

Which I honestly find pretty reasonable. If you were to make a Wikipedia article for every college professor, we'd have a pretty bloated Wikipedia, lol.

That said, I really do hope that maybe we could focus on quality vs quantity. I don't doubt that there are 1000 people out there deserving of a Wikipedia page... I also don't doubt that perhaps some of her examples don't really qualify, given Wikipedia's guidelines.
Consider this: you're doing server side rendering whether it's JSON or HTML fragments you're sending across. They're just different serialisations of the same data. The problem that SPAs were meant to fix was that each update of the page meant a full rerender under the classic model rather than just rerendering those bits that had actually changed.

You're still going to be able to take advantage of those client machines to do rendering, but the difference is that with HTMX, you skip serialising JSON, so your clients aren't stuck doing unnecessary rendering. The load on the server is barely different, but the client has less to do.

Now, if you're doing an awful lot of data manipulation on the client, that's a different story.
> marching orders ... and a public that was bored

Who knew that when the Russians actually start attacking the west, some of the people who prided themselves in fighting communism are suddenly doing their best to undermine anyone who opposes Russia.
There is a trend that when a goal can't be achieved directly, people try to push it through some other channel. In this case, accessibility can be mandatory in some cases (by law or specification) while "don't be an asshole to your users" is not.

It's hard to tell for sure where it's just a happy coincidence and where it is a pretext to make it either more appealing or to force people to do it under some other requirement, but you see this everywhere

- Some hostile "optimization" ideas by airlines getting nixed by safety arguments, certainly not at all influenced (/s) by the humans working at those regulators not wanting other humans to be subjected to that

- Animal rights activists using climate change as the main argument because it's a more popular topic now

- People trying to ban technical terms like "blacklist"/"whitelist" claiming the goal is more precise terminology

I'm sure there are plenty more examples.
> You'd be surprised. I've had countless battles with (junior-wannabe-senior) devs who wanted to use a different framework simply because it is "fast". When you point out that this project will be a huge success if it has 10 req/s, the usual answer is "well it doesn't hurt", when it truth it does - if nothing else, because it diverts discussion from important matters (like consistency of the company's tech stack) to irrelevant ones.

I think that we as an industry don't have the best hindsight.

I'll use enterprise Java as an example of a few common situations:

- sometimes we go for Spring (or Spring Boot) as a framework, because that's what we know, but buy into a lot of complexity that actually slows us down
- other times we might look in the direction of something like Quarkus or Vert.X in the name of performance, but have to deal with a lack of maturity
- there's also something like Dropwizard which stitches together various idiomatic packages, yet doesn't have the popularity and tutorials we'd like
- people still end up being limited by ORMs, which can speed up development and make it convenient, but have hard to debug issues like over-eager fetching
- regardless of how fancy and "enterprise" your framework is, people still make data structure mistakes (e.g. iterating over a list instead of using a map)
- if you've written a singleton app (runs just on a single instance) that's monolithic, your background processes will still slow everything down

And then, people wonder why it's hard to change their enterprise codebase and wave around their hands helplessly when their app needs at least 2 GB of RAM to even run locally and answering some simple REST requests needs close to 20 seconds and the app does about 2000 database queries to return a relatively simple list with some data.

When people should think about performance, they're instead busy "getting things done", when people should think about "getting things done" they're busy bikeshedding about which new framework would look best on their CV. And we even pick the wrong problems to solve, given that many (but not all) of the systems out there won't really have that stringent load requirements and just writing decent code should be our priority, regardless of the framework/technology/language.

I remember load testing a Ruby API that I wrote: on a small VPS (1 CPU core, 4 GB of RAM), it could consistently (over 30 minutes) serve around 200 requests/second with database interaction for each, which is probably enough for almost any smaller project out there. Doubling those resources by scaling horizontally almost doubled that number, with the database eventually being the limiting factor (which could have been scaled vertically as well). And that is even considering that Ruby is slow, when compared to other options. But even "slow" can be enough, when your code is decently written (and the scale at which you operate doesn't force your hand).
Maybe not .net, but I've worked on 3D graphics in the browser and can say with confidance that rewriting your app in C or C++ could see orders of magnitude perf increase over JS.
https://standardnotes.com/
The first book is my all-time favorite programming book. I was disappointed by the second one, though. It didn't hold the same charm and wonder as the original.
>For example, you could perfect growing algae and let the algae extract energy from sunlight on its own

Yes, we only need to produce more fertilizer than we ever have and keep doing that year on year forever.

>as silicate is weathering it will naturally extract CO2 and the question is how efficiently you can powder rock.

We only need to mine an Everest worth of stone each year for a millennium or so.

Yes. Such achievable goals.

The only ones that come close to being reasonable is dispersing aerosols in the upper atmosphere and reducing the sunlight that reaches the ground directly. That has the problem that we need sunlight for such pesky things like photosynthesis.
Is this not what you mean: https://www.youtube.com/watch?v=7H8o_-7bKIU? I really doubt it's as fast/accurate as a trackpad even if you master it. This tool looks to be as fast as a mouse if you master it in many situations. But you would need a direct comparison by skilled users for each to be sure. I just don't see how a mini stick will ever beat pressing two buttons.
Fable of the Dragon-Tyrant(Animated)
That doesn't have anything to do with it, classical physics (for example gravity) exists independently from us.
The problem is that (HN) sentiment is generally lagging behind reality -- usually many-many years. There are still tons of comments on HN that refer to the evil Micro$oft as if 2022 MS was the same as the 1991 MS (while it is 'just' a large enterprise cloud company), etc. When anti-<some company> comments peak on HN then the company is usually already very different.

So if you're betting on a product / service, then relying on Internet sentiment is generally a bad idea.

Analogy: the best time to buy a car from a specific manufacturer is when everyone knows that the manufacturer is only producing crappy cars. Because that's when they're likely doing everything they can to rectify their reputation. (And the other way around.) Examples: French cars manufactured around 2010 have really good quality (especially the PSA models), because they produced crap around 2000 so by 2008 everyone knew that they should not buy a Citroen. BMW's from 2008 have incredibly many quality issues as BMW's reputation peaked around that era, so they reaped the profits that they could (and this was all based on the all-around great cars from a decade earlier).