skysight-inc/HackerNews huggingface dataset:
It does not verify your location beside if you check the checkbox.
Thank you for sharing your experience. I found this comment very insightful.
I occasionally suggest to people who complain on HN about the bad old days of table based layouts to do a "View Source" ;-)
Ask HN: Why is this C Programming Book Worth $674.99
what? i write most of my html
We have been using it at my company (100 employees) for 2 internal services for about 6 months with Google SSO. It has been working great. There has been 1 outage where it was down for a couple hours.

My only complaint is the security of it is not perfect. When you launch the tunnel, you declare the domain you want it to use. I can be any domain on the account and can't limit it to specific domains. It's a little dangerous if you have sensitive domains on your Cloudflare account that you don't want to use Argo.
> In modern democracies, this is not just theory. Ignoring a court's order is virtually unheard of.

This might be true for the older/western democracies. Sadly this is not the case in Easter Europe. As we say in Bulgaria - the law is a door in a field. You can go around if you want.
Is that really true? In principle, if many worlds is the case then you could have a super machine enact a powerful unitary transformation which transforms the state of the observer such that there is interference between the two copies of the observer.
"However, it also provides seekability, allowing individual files within the archive to be decrypted, in addition to seeking within those files"; I don't it's implemented yet, but the protocol seems to have that capability.
That would be part of it, but since was talking about inability to think in types I suspect they were taking aim more at things like excessively stringly-typed[0] code.

[0] https://devcards.io/stringly-typed
I completely missed that. How idiotic.
Minimally Sufficient Pandas for Programmers
Just an FYI to your last paragraph: The core indexing/ranking/storage components of Vespa are C++, and run in a separate process (no jni).

In my own attempt to compare the two, I found the memory consumption of Vespa was easier to predict and understand (there are formulas for it in the documentation).
You might be able to arrange something satisfactory with Blogspot using either Emporio or Notable as your theme.
This is a well written article, but holy cow did it take an awful long time to get to the point of "there is helium 3 on the moon."

Speaking of holy cows - since when has there been anti-moon mining sentiment among hindus? It's super weird that we're grouped with practicing witches in this article, and I tried googling around and couldn't find any information on Hindus being anti space mining. It looks like ISRO is trying actively to mine the moon, but that's sort of the opposite...
This sounds vaguely similar to Google's "BeyondCorp" initiative [1]. I wonder how the technology compares?

[1] https://cloud.google.com/beyondcorp/
We've fixed that now.
Poll HN: Who uses trading bots for crypto?
Who uses trading bots for crypto on centralized exchanges?

Reply with:

<bot_name>, <exchange_name>, <trading_pair>

For each bot, exchange, trading pair combination you have used

- - - - - - - - - - - - - - -

Here’s a list of some popular free and open source trading bots as examples:

Kelp: https://github.com/stellar/kelp

Gekko: https://gekko.wizb.it

Zenbot: https://github.com/DeviaVir/zenbot

Gunbot: https://www.gunbot.com

Hummingbot: https://hummingbot.io

And here are some paid bots:

Zignaly: https://zignaly.com

HaasBot: https://www.haasonline.com

Shrimpy: https://www.shrimpy.io/

3Commas: https://3commas.io

Cryptohopper: https://www.cryptohopper.com
Right, but at the moment there are dozens of old movies being reworked and dozens of old games being reworked and the volume feels like it's growing with new announcements all the time. Over the last 20 years I have only seen a few games remade to maintain compatibility, usually unofficially patched by fans or as open source homages.

I think this is being fueled by movie and game outliers today being able to achieve their first $billion in their first week. That outsized ROI on gaming, like movies, completely changes the calculus on what old stuff is worth today. FAANG will throw billions into making games as soon as their movie pipelines are sorted.
http://www.radio-browser.info/ designed as public radio DB, bus has a lot TV channels.
Why would you think that using auto would reduce the performance of your code?
Thanks for details.
Dark matter: fudge factor to accommodate a broken theory.
This wayback machine is from April 28, 2005. Me at the Zoo[1] is from April 23, 2005.

So technically speaking, someone did upload something. And 5 days is actually really 5 days...

Which brings the question - what is the second oldest YouTube video still on the site? Who is the “also ran”?

[1] https://youtu.be/jNQXAC9IVRw
I will probably include this implementation in a repository of mine called "forest". You can check it out here https://github.com/xorz57/forest
Or you could copy paste it and open a pull request with additional features!
One of the main arguments of the global climate change deniers is that switching to renewable energy would destroy any chance of developing countries to build up their energy networks and escape poverty.

That's mistaken. Thanks to continuing declines in the price of solar and wind energy and also storage batteries, renewable energy has become for many places cheaper than fossil fuel electricity generation. And in fact the global loan and investment community as in the last couple of years realized this and has decided to stop financing coal generation plants.

What we are going to see in Africa is similar to how countries there leap-frogged past landlines and went straight to mobile phones. African countries are going to start building renewable energy facilities on a mass scale, and besides that many villages will simply install their own local fields of solar panels.
> zero unexplained gunshot-like injuries in Canada, the United States, and Western Europe over a ten year period. I find this hard to believe.

If this was a thing, it would presumably be constant throughout history, even before guns were invented. Heck, you'd see it as cause of death in fossilized dinosaurs.
A friend I know who can code circles around me depends on it everyday. Your desire against it is no sole excuse to label it “bloat” when it sees real-word usage and has value to others than you.
I would love to contribute. Ping me if you get the repo setup.
An Hipparchus (c. 190 BC - c. 120 BC) estimated the distance to the Moon in the Earth radii between 62 and 80 (depending on the method he used). Today's measurements are between 55 and 64, so it was quite good.

https://en.wikipedia.org/wiki/Hipparchus
This is the problem I've got at my current job. While I try my best to write code in a way that it'd work many years ahead, the lack of scale requirements and relatively freedom I've got on my own decisions are double edge sword most of the time. Would love to work in a large shop with more senior people than am.
Forgive me, I don't recall reading about this act in your guidelines - what does detaching it mean? I can still see it in the original thread even when not logged in.

Also, for my own record, do you consider this discussion inappropriate to the subject of natty 404 pages? Asking as I kicked it off.
I read an autobiography of a forensics pathologist recently and he spent a lot of time obsessing about the shape of wounds (to the point of upsetting his family by stabbing their Sunday roasts so he could inspect the resulting wounds).

[The book is "Unnatural Causes" by Dr Richard Shepherd - strongly recommended even if it is just a wee bit gruesome in places.]
But thats public. Many people want privacy. But yeah you can also have a private account.
It is probably too much to hope for that the exfiltrated data includes tax returns for the country's kleptocratic elite. Bulgaria has the worst corruption in the European Union.

Seeing just how little tax is paid by the rich could start a movement for change. Then again, it may simply be seen as a sad confirmation of what everybody knows.
Totally agreed. I wrote up my thoughts on this recently: https://blog.0x74696d.com/posts/mise-en-place/
It sounds as though the compiled binaries optimize the compute portion, which the interpreted php code was taking 10 secs to run. It's still likely running as a cgi process, that is as a fork/exec in a separate address space. If you're using mod_php or one of the many php engines available for modern web servers, you're already enjoying a scalability and execution time improvement over standard cgi. Except with compute code, apparently.
Just want to say Sandstorm's idea is AMAZING. A huge fan! :D
I've been looking a collection like this, but for startups/sites/internet companies.

Something that would have Facebook's[0] and Snapchat's[1] source code.

Or even something that would have Staffjoy's[2](a startup that shut down then open sourced their source code).

[0] -> https://gist.github.com/nikcub/3833406

[1] -> https://github.com/JonnyBanana/Snapchat-Source-Code-Leak

[2] -> https://github.com/Staffjoy/v2
These are fun. We have one in a home and the kids absolutely love it. Completely impractical but definitely adds something to the home. Nice party trick for folks too.
It’s geolocation is 100% reliant on what the user’s mechine reports as it’s location...
That's exactly what I mean.

The "Er.. " makes it sound like you think it's a counterpoint.
There's definitely parts that are awkward though. I can't see the context of your comment in my reply as it's on a completely different page for example. HN has never really been a great UI though, it used to be a massive set of nested tables that didn't render properly on a mobile, it has some tiny fonts and hard to click buttons, and has unliked comments just less accessible by lowering contrast.

It's good enough to read the content and the content is the vital part, but I wouldn't point to HN for a good user experience (beyond the content and lack of dark patterns).
I think it's possible but it's hard to execute well.

I tried 4.5 years ago with https://vivavlaanderen.radio2.be/ - disclaimer: the experience isn't great on mobile (design issue, not tech) and the JS/HTML is massive (it was my first JS project ever, so I messed a bit with Webpack etc).

One of the tricks I used is partial rendering. If you click an artist page (the square/rectangular people photos with a name) and have JS enabled it'll first only render the header, then add a few body items, then the rest of the body items. Since we used a horribly inefficient handmade Markdown to JS thing with a renderer in old naive React it took way too long to render them all at the same time, it'd easily lock up the browser for two seconds on a large page.

Another ridiculous thing was to preload enough data to render the top part of every single artist page while you're on the homepage. A complete waste of data, but otherwise navigation would need a request before being able to render something useful and that defeated the point.

I did pay a lot of attention to making it feel like real navigation though. Almost any meaningful interaction modifies the URL, and the site is practically fully functional without JS. Navigation and Cmd-clicking should all work perfectly. Including scroll positions handling. SEO worked really well too.

So for a classic website format, to make client side rendering work, you need:

- a URL for every view change, with regular old <a> elements that have those URLs as href.

- server rendering that actually handles all of those URLs

- something that restores scroll positions on navigation

- phased/batched rendering on click if your initial new view doesn't render in say 100ms (basically faking progressive rendering)

The development experience was a bit frustrating back in the day, and I don't think it paid off. Which is why for the next project (https://www.klara.be) we decided to go back to server rendering, but using React on the server. Some parts of the page (like the coloured box top right on desktop) are rendered as a skeleton on the server, and then React on the client reuses the same exact code to make these parts interactive again. Partial universal React basically, and it worked very well. I think klara.be feels like a nice and snappy site and it was way easier to develop for.
I think auto won't have any run-time performance since type deduction happens at compile-time.

Also read this https://stackoverflow.com/questions/19618759/c-11-auto-compi...
What is the best alternative still supporting UTF8? Yeah, sure, if you only support ASCII input you could use std::array<std::unique_ptr<Node>, 128>.

Edit: well, of course you could break up the UTF8 string in bytes and stick with a `std::array<std::unique_ptr<Node>,256>` structure. Is this how people do it (supposing normalizing the string is not an option)?.
I remember once I had to access the benefits page (Workday) at my employer but I was in a remote location (the middle of the Greenland ice sheet) with a slow/high-latency connection and the required page just would not load properly (presumably the client-side navigation wasn't robust to a slow connection...). I had to VNC (slowly) to a computer in the US in order to fill out some shitty HR form.
Don't make money. :) That will keep wall street permanently at bay.
Client-side rendering/navigation makes sense when you have high ratio of markup to content, or fixed content to changing content. In the olden days people used frames for such fixed navigation stuff etc, but I think we can agree that it was not all that great of a solution.
My years-old iMac runs Windows 1904 just fine, and about three years ago Defender stopping thrashing my disk to death. I’m not sure what they improved but clearly it’s a lot more at peace with itself. I’ve made a point never^ to expert user pebcak it, and last April’s update was quite chill and this April’s as well. I did a pass at install time to remove apps I don’t plan to use. The most dramatic things to happen have been an EFI bug in Windows back in 2017 that I had to workaround^^ and when I found that PUBG’s uninstaller left some stupid DRM thing behind years ago that I had to extract manually from the 1904 updates logs to find and remove earlier this year. It just works, otherwise, cloned forward through three Macs to date! And if it can work on an iMac without powershell drama, then surely it can work on any normal PC.

^ One time I cloned it to an SSD and tried some fancy ACPI patching to hack eGPU support into my old hardware, but I ended up deleting it because it offered no improvement over “boring stock install” after days of work.

^^ There was a Windows update in 2017 that assumed your system has only one EFI bootable partition, and would panic if you had 2+, so I taught myself how to hide the rescue partition from Windows to avoid a reinstall.
You seem to have a misconception of what `auto` entails... It just means "deduce type from the right-hand side of the assignment statement", instead of having to type it explicitly. Doesn't make your program dynamically typed or runtime typed all of a sudden.
For many sites transferring HTML works fine. I'm surpirsed that MDN would be implemented with client-side-rendering.

On the other hand I've had the pleasure of working with both Meteor and Elm thae last few years. It was the first time I had fun implementing client-side code. The resulting apps cannot be reproduced with HTML generated on the server. Often page switches in those apps don't take a round-trip to the server because the data is already loaded and can be rendered right away. Meteor also does incremental rendering by design. So the parts of the data you already have client-side are displayed right away while the rest is being loaded.

It is more work to get it right because you have to reproduce functionality the browser would do for you. But often you just don't want to do a full page load and then fetching and patching the right HTML snippets to update parts of the site gets messy real quick.
This is an old C programming book. I'd like to know what's so special about this book?.

It's not just 1 seller that has high prices, there are different sellers, selling it for $600-$700 and on abebooks I've seen a $1000.

Am I missing something here?
Without doubt, the "hacker style" code example is the better one in this example -- if equipped with a suitable comment ;-)

We will always need "hackery" people because they are the ones who write groundbreaking codes never seen before. It's not so much a question of writing assembly but of being able to master the math and the abstraction. That's why functional programming is still a myth for the majority of programmers ("designers"), who still stick in 1995s OOP world. And that's why the security world will still be ruled by people who understand the systems. Hackers.
It'a not that bad, it's easy to add a new digital signature to Bitcoin (the hard part is developing one that's accepted by the community). Most of the money can be consolidated to less UTXOs. The problem will still be that we have no idea when the current signatures get unsecure.
UWaterloo CS488! Some of the funnest 200 hours of my life. Here's what I produced 17 years ago. Kind of embarrassing next to your slick work! http://www.danielbigham.ca/raytracer/raytracer.htm
Detaching just means it becomes a top level comment instead of a reply to its original parent. The main reason we do that is when a subthread is off topic. Especially if it's a generic tangent like JS vs. no-JS, which gets repeated often.
HTML needs to be split into two: A spec focused on dynamic applications using JS and components, and a spec specifically focused on documents, CSS and hypertext.

The fact that in 2019, we still don't have standard browser features that let us create rich text documents in a WYSIWYG interface is ridiculous.

We've ended up with a dozen editors all producing slightly different markup, workarounds like Markdown and AMP, and browser engines that are so complicated even a massive company like Microsoft finally gave up creating its own.

This isn't about technology at this point, it's about standardization. We need to have a simple tag which marks the beginning and end of textual information, with massive restrictions on what tags are used and the JS and CSS in that section, so that a simple, standard and ubiquitous editor can both read and write hypertext 100% the same while still including all the basic functionality of a common word processor, like fonts, colors and sizing.

This isn't a technical challenge on the level of WebGL, web sockets, HTTP/2, media extensions, etc. It's just a matter of specifying a subset of functionality for a specific use-case, standardized for the sake of simplicity and interoperability.
Because it's faster. If you don't have to download all the content again, force the browser to re-render everything, then by design you just get the new content from the server faster, if you have to download anything at all. The idea exists since the introduction of AJAX.

Furthermore, you don't lose state, which makes things much more simple.

Imagine a simple image gallery. You just update the <img> tag, update the URL with the history API and everybody is happy. If you were to navigate via links, you get the same behavior.

Of course shitty implementations exists and you only notice the bad ones. If done right, you don't notice that it's happening at all.

Lastly but most importantly, context matters! It's not a silver bullet, but it can be really useful.
Interesting. By the time I looked at it while I was an EIR at Accel it was definitely not a dating site and that was early 2005. My assessment was more of a soft-porn / piracy site :)
Write code that is easy to delete, not easy to extend: https://news.ycombinator.com/item?id=11093733
I'm already well aware of this. I'm asking why the OP thinks otherwise. It's not outright impossible to make it affect performance [1] but I'm trying to see what the concern is.

[1] Like by taking the approach that results in a cast, e.g. here: https://news.ycombinator.com/item?id=20493263
Can someone screenshot the page? I'm getting "permission denied" followed by a redirect to google sign in.
I think that your response is overly accusatory, especially given that I think "grouping related data (and functions, if you're using OOP) together" is only one aspect of thinking in a type-oriented way, and not always necessary.

A perhaps simpler, perhaps better example: Floats are lossy, but transactions in currency cannot be. An inexperienced developer might make the mistake of representing currency values as floats, while a more experienced developer would know to use some sort of BigDecimal. But the more experienced developer is still making a fatal error. Currencies have units, but BigDecimals do not. While BigDecimals can be added together, it is not meaningful to add Dollars to Euros. A developer who is "thinking in types" will define a numeric type for Dollars and a numeric type for Euros that cannot be added together.
It's usually more of an issue with simple carbs, ie monosaccharides and disaccharides. Starch isn't one of them.
> The browser has to download the entire document to construct the DOM

Actually, the browser can construct the DOM for the first part of the page while it's waiting for the rest of it to download. Like, if the browser starts downloading a page and it sees this:

<body>
<h1>My Cool Website</h1>
<p>Hello there

...it can add the <h1> element to the DOM, since no matter what comes after this in the HTML code, the <h1> will always be first on the page. (It might actually be able to add the <p> tag, too. I'm not 100% on the details.)

A cool demo of this is https://harmless.herokuapp.com/main , a JavaScript-less chat app that works by holding the connection open (essentially never "finishing the page load") and sending new chat messages as they arrive.

> CSS in the head tag all has to be downloaded and parsed into the CSSOM before the browser can make smart decisions about what to render.

That's true, but in this case, the CSS is already present in the browser cache, so it doesn't need to be re-downloaded.
Perhaps? The people in the thread seem fairly convinced that's not what it says. When I read it, I see "... all data for the open file descriptor named by fildes is to be transferred to the storage device ..." So, in the event of a failure in the underlying hardware, the data may have been transferred, but subsequently an error has occurred. I don't see how the sentence obliges the implementation to transfer multiple times. I'm not an expert though.

In any case, the problem is with the attitude and how opinions are expressed, not the exact state of which opinion is being expressed. :) Also, it is plainly not "entirely clear" since we two apparently reasonable people disagree on what the sentence means. So even if the person is right about what was ultimately intended when the spec was written, they are still incorrect in their view that it's clear what POSIX says.
It happened once therefore it happens quite often is not a great argument
I haven't examined their corpus. But actually the worst articles aren't particularly relevant. On HN we're interested in the good articles. Bad sites sometimes produce good articles, and those are the ones we want here. Conversely when a good site produces a bad article, we don't want it here.

Going by article quality rather than site quality works well for HN and has been this way for a long time. We have various penalties for various lower-quality (for HN) sites and various ways to override them.
The Rise of Cryptocurrency and Blockchain Ecosystem in MENA
Who are you: Princess or maid? Find out what is waiting for you in 5 years
It's probably not the network round trip or the actionable content making reloading the site so slow. It's almost certainly tracking scripts, unoptimized database queries, and unoptimized assets.
Thanks! If only we could have figured out how to get people to pay for it...