skysight-inc/HackerNews huggingface dataset:
Nope not really! It is large, but you don't need to understand the big picture. Explore!

I'd either start at a query entry point, or find the email delivery path or something. Or skim through the files and see if anything catches your eye. Or invent a question for yourself - how does X work (for some X), and see if you can find that part of the code.

Wherever you start, explore around a bit then go deep. See if you can understand for yourself how some small, interesting part works (by tracing out the various structs and function calls). Understanding how the whole program fits together is a separate skill - but don't worry too much about it.

Personally I fell in love with the code in src/lib/memarea and mempool. The way dovecot handles memory pools is super clever. There's also lots of src/lib-X directories, and they're reasonably self contained if you want to skim that list and find something more focussed.

If you haven't read much code before and dovecot feels too big and scary, start with something smaller. I can also recommend reading the sourcecode for git or the code for redis. Oh, and if you do, do yourself a favour and checkout one of the earlier versions of those projects. The lines added early in a project's life are usually more succinct and important compared to lines added later on. So earlier versions are usually better reads. When I read redis, I think I read the code for redis 2.0 or something.
Lol, women and maths don't work together. In her head 2/3 = 75%, because she never actually tried to understand fractions and only memorized them. Women are good at memorizing, not at understanding.
I can also pull iostreams, CORBA, COM/DCOM and more recently UWP cards if you like.

Being around long enough, the meme writing Java in C++ just rubs me the wrong way for something that was already common several years before Gosling even thought of Oak.

As if C++, alongside Smalltalk, and all those enterprise object modelling methodologies and books, weren't to blame for the widespread of that way of programming.

When Java came into the scene, those C++ and Smalltalk developers (and enterprise architects) migrated to it, and kept doing what were already considered "best practices" by then.
Sorry if I was unclear, I wasn't asking about a GUI. I mean how do you interface with it as the user? I assume it isn't just something you launch and forget about given your description.
It's including compilation time and memory too, which I would consider a major flaw in the benchmarks game.

If I wrap things in a function and run it a second time in the repl, this is what I get:

$ JULIA_LLVM_ARGS="-unroll-threshold=500" ~/julia-b00e9f0bac/bin/julia -O3 --check-bounds=no

julia> include("nbody.jl")
run (generic function with 1 method)

julia> @time run(50000000)
-0.169075164
-0.169059907
2.044478 seconds (294.25 k allocations: 12.599 MiB, 8.89% compilation time)

julia> @time run(50000000)
-0.169075164
-0.169059907
1.867936 seconds (12 allocations: 1.750 KiB)

So, the second time there's no compilation overhead, just like in Rust, C, C++.
There was, you could buy a disc that contained the book and do a search.
You probably follow a religion that came from some Arabian desert. There’s no way that would happen if multiculturalism wasn’t a historical reality. It’s not something woke people invented.
You might say that, but in reality it used to be a per-parcel threshold (£15? maybe) which is now being reduced to zero.

(I'm old enough to remember when companies including Amazon shipped CDs from Jersey/Guernsey to the UK, since they were outside the EU but not "foreign" for the UK. https://www.independent.co.uk/money/spend-save/cheap-cds-and... (2005). The UK retains its collection of Annoying Edge Case Islands. A hilarious side effect of the deal is that the extremely British island of Gibraltar is now in Schengen!)

It can't easily be done "per company" because it has to be a process applied by customs to each parcel individually as it enters the country.

This is, after all, what all the "taking back control of our borders" stuff meant: more forms.
Is this entirely true? Isn't the UK now trading with Europe at World Trade Organization tariffs? Or was a better deal made? The EU has trading agreements with a significant part of the world. See this map for example: https://trade.ec.europa.eu/doclib/docs/2020/december/tradoc_.... If the UK is now trading at WTO rules they would be worse off than all those countries that have an agreement. Eyeballing that chart about 50% of the world would have an easier route to trade with the EU than the UK.
Julian Assange Extradition Hearing Live
Thanks for sharing - it takes a lot to share these sort of personal experiences. I've definitely been there, too.

Aside from all the good and valid comments about reducing scope and shipping an MVP, I'd like to raise another point which may be controversial (or even wrong), but still worth raising:

Would it have been different if you had used Rails? A few of the problems you mention (rich text editing, validation, and to some extend, pdf exports) are very easily solved in Rails. Take rich text editing: It's literally a couple minutes to use ActionText. Or validations / forms, there's really not much work to do. PDF exports are also not too hard via wicked_pdf [1] if you're okay with fixing some formatting quirks later on.

I've seen both worlds by writing tons of JS / React code myself, and at that time (2016-2018) those problems were almost an order of magnitude more time-costly to implement in SPAs. I remember react-router.. not great memories.

Of course, all the points reducing MVP scope still hold, but.. if you could have had all those features (nearly) for free, would you be at another stage now? Who knows.

[1] https://github.com/mileszs/wicked_pdf
Economic growth would slow down because it would be based purely on productivity gains rather than productivity gains and producers/consumers base growth (and automation would likely have a big part to play in that).

But that would not necessarily be a bad thing as that would force to indeed focus on productivity growth and growth of indicators per capita instead of overall indicators.
> IOW, just like in the standard prisoner's dilemma, choosing to act is less about increasing your potential gains than it is about limiting your potential losses.

You seem to be assuming that the potential gains are limited to current players of the game in this comparison.

It's possible that Coke, Pepsi etc. are all losing more money on ads than they're gaining in market share against their current competitors and in increased sales. But that doesn't begin to address the question of whether advertising is a net loss.

For one, the advertising also serves as a collective moat against new competitors, which could enter the market and eat up both Coke and Pepsi's market share. Maybe their biggest gain from it is that a bankrupt soda company from the 80s didn't replace them, and that a similar company today wouldn't have room to enter the market.

It also doesn't account for more complex effects like a net increase in sales for all companies in that market. E.g. maybe Rolex, TAG Heuer etc. all benefit in the long term from expensive watches being seen as fashion accessories.

If Rolex stopped their advertising spend one month and saw little immediate change, then TAG Heuer etc. might follow suit. But both might only experience the real loss years later as "luxury watches = must buy" faded from the psyche of their current and potential customers.
Thank you for sharing. This will be my default url shortener from now on. Simple, fast and customizable.
Awesome! I was looking for something like this when trying to play a local multiplayer game via the Internet in an early lockdown.

There are, or were, no good turnkey solutions for this. Twitch and Youtube have 5-10s latency, which is often not good enough. Mixer promised (and presumably delivered) ~1s latency using the FTL protocol you use, but they had a wait list of a couple of days or weeks, and of course now, they don't exist anymore. Even Steam Play Together, ostensibly built for this purpose, wasn't low latency enough in my limited experience (this really surprised me, so maybe I'm doing it wrong).

The easiest solution, use the share desktop function of whatever video conference tool, almost works, but they universally seemed reduce the frame rate, which is ok for presentations but unsuitable for games (also, no audio). My solution was to output OBS to a virtual webcam device and use Jitsi Meet. A bit roundabout, but it worked wonderfully.

Ideally, I'd forgo the DO droplet, and just run everything locally. 20% of a small droplet is even less of a modern desktop computer's CPU. Which leaves upload bandwidth for broadcast, which depends on your connection and how many people you need to be able to stream to.
Apparently the VAT changes apply to everyone and are quite problematic.

To give a bit of context for those who didn't handle this kind of thing by themselves: VAT used to be handled as part of customs check. In practice that meant that if you were selling to UK (or other EU country) from outside customs union, you'd send your shipment as usual and only attach declaration of contents, and the buyer (importer) would pay VAT and necessary customs fees if applicable.

The new regime apparently requires the seller to setup VAT registration in UK, properly process VAT on their side, then transfer it to HMRC (UK tax agency).

This is a HUGE difference and big burden to both exporters and importers. Yes, importers now don't need to handle VAT - but they are still on the hook for customs fees, and now they have to worry not just about "did the other side file customs declaration right", something moderately easy to fix when it goes bad, but have to deal with "we can't import unless the seller effectively set ups half a company in UK"
If there was a way to “playback” the REPL and store it for later, then it would be possible for the subsequent users (or even the same user) to see how the person using the REPL got to that point. It would not be a replacement for documentation, but it could be in addition to documentation or even a starting point.
Thanks, edited the article.
Apple has an active team editing OpenStreetMap and their maps use OSM data in many countries. I see them making edits in my country regularly (they tag changesets with “#adt” so they’re quite visible). More info on the OSM wiki and their GitHub repo:

https://wiki.openstreetmap.org/wiki/Apple

https://github.com/osmlab/appledata/
And I’m trying to tell you that this overly simplistic response ignores pragmatic real-world solutions that let people accomplish hard things even with multiple constraints.

It is in fact possible to have effective and privacy preserving contact tracing at scale.
It looks like you’re saying that apple’s and google’s solution can’t be used for privacy abuse.

Could it facilitate implementing one? E.g. could a country push for changes to how the solution works within a given location?
> why be different

Because, although everyone understands passwords, they have security and customer experience issues:

- Users choose easily guessed passwords and get hacked.

- They use the same passwords on multiple services and get hacked.

- They forget passwords, requiring an email reset, so they need to access their email anyway.

- The service doesn't need to store and manage passwords.

Every authentication method involves tradeoffs, and the service has to decide which set of tradeoffs they prefer. Personally, I prefer passwordless logins, but I understand why they're annoying for some.
> The freedom of people movement changes are much more concerning though.

I'm keeping an eye out for the first "person who has lived in the UK blamelessly for more than a decade is deported" story. I'm also wondering how patchily the parcel enforcement is going to apply to aliexpress and friends.
I was facing this problem when selecting a backup strategy for client machines. Servers are one thing where i can rely on them to be always running, but clients go off grid occasionally.

As for restic, yes it's available on Windows, but has a serious speed degradation when datasets increase above 2TB, mainly due to chunks being 2-5MB, where Borg uses 400MB chunks. And we're not talking a 10% slowdown. It's to the point where prune operations on repositories >2TB can/will take multiple days to complete.

For clients, I evaluated multiple solutions, one was Duplicati (https://www.duplicati.com/), and while it appears to work well most of the time, it sometimes stops backing up for no apparent reason. Backuppc also looked promising, but doesn't (didn't ?) support source encrypted backups.

In the end i ended up with Arq (https://www.arqbackup.com/) for Windows and Mac clients. It works reliably, and checks all the right boxes.

For servers i was initially really hooked on restic as it allows backups over HTTPS instead of SSH, but the performance issues were a showstopper.
Thanks for the recommendation - looks like you meant "The Biggest Little Farm". https://www.imdb.com/title/tt8969332/
For me the problem is that you hide URL's that I can click on and have no idea where I end up. So I block all url-shorteners as a principle on my pi-hole.
You write GLSL, which is a shader language. Specifically, in this case, you write code that determines the color of a pixel given its coordinates (and some other input variables).

On Shadertoy, they use WebGL to create a little rendering pipeline that in the simplest configuration renders two triangles to form a rectangle, using your GLSL code. Since it's WebGL (should be supported by all modern browsers, mobile included), that code is executed directly on your GPU.

In more complex Shadertoy scenarios, you can do multiple passes where you render to different buffers and then use those buffers as textures in other passes. One of the uses of that is keeping state between frames, which would not be possible in a purely shader-based system otherwise. For example, if you have some sort of player character you move around the world, you may use one pixel to store the position, another to store the rotation and so on. Or you can use the image output from the previous frame as the input for the next frame to compute IIR functions, simulate cellular automatons and so on. I think by now you can even render to cube maps and multiple viewports (for VR).

There's even a "sound" shader you can write that is called once and then renders a waveform for one minute and then plays that back while displaying the regular shader.
On Windows some scheduled tasks are scheduled to run whenever the system is idle, and seem to stop running when the system is being used again (e.g. by opening a task manager). Maybe the same is true on Mac.

This behavior does make one think of malware. It's frustrating when the core features of an OS thwart user monitoring and control, even if inadvertently.
I like the finish to this article -- a call to action (rather than to discovery). Reminds me of an old quote, attributed to Henry Ford: "Most people don't recognize opportunity because it's dressed up in overalls and looks like work."
VAT threshold is 135 GBP per parcel, and you're on the hook for full VAT handling plus whatever time it takes probably overburdened (thanks to stupid decisions by politicians) civil service to register you plus all the setup and training to handle VAT on your side.

Also consider that the onus is on the exporter, not importer now. Which also means trouble for importer as they have possible issue of "our supplier doesn't have the VAT handling done, we don't have any viable alternative"
The biggest change is that now the person shipping (or a marketplace if they use it) has to be VAT-registered and pay VAT directly to the government, rather than it be handled by the courier/shipping service who would collect it directly from the recipient before releasing the package to them. I think it's a pretty significant change to how third countries work, especially if they only occasionally ship to the UK.

The EU are adopting the same rules in July, and I'm not sure why we didn't harmonise the introduction date with the EU.
Black Mirror feels like prior art here...
I would bet good money that if you told Linus in late 1991 that he’d spend his entire career working on his “side project” and that it would be the major OS powering many billion and even trillion dollar new tech companies, and running on several billion battery powered and wireless networked pocket supercomputers in 2021 - and that he’d be some sort of software industry messiah - he’d have laughed at you (and probably viciously evicerated you on a public mailing list for your stupidity, like he is wont to do...)
Torchdyn: A PyTorch based library for all things neural differential equations
I feel we're only on the start of that paradigm shift - the possibilities are woefully underutilized at the moment. The impatient me is saddened by this, because it'll probably take an extra decade or two before the potential is meaningfully realized.
> an ever-greater portion of the television audience has HD widescreen televisions staring at them from across the living room, and that they feel notably oppressed if all of their entertainments do not advantage themselves of the new hardware. It vexes them in the same way that many with color television sets were long ago bothered by the anachronism of black-and-white films, even carefully conceived black-and-white films.

"oppressed", seriously ?!

Is this actually backed by some studies, or is this just the rationalization behind marketing pushing widescreen to be seen at the point of 'progress' ?

For my part, as a new viewer, I'd rather have the original vision even if it's in 4:3, rather than an unknown quality 16:9 one…

And speaking of black and white films, I have seen a recent one named "Cold War" (a love story, actually), and 15 minutes in, had completely forgotten that it was B&W…
You need to buy traffic for it.

So you can calculate the "cost of acquisition" - how much you need to spend on advertisement in order to get a new customer.

And based on that you can figure out whether you have a viable business.
Show HN: Whaler – a visual disk-usage analyser for Docker images
We signed an 11th hour deal which means we trade on the same terms. We've lost freedom of movement for some tenuous benefits.
Just outside of the Old Bailey in London and the decision is imminent.
The UK has zero business complaining about unelected rule-makers while the House of Lords still exists.
It's just the usual end of post that I use. I've been blogging for quite some time already; more as a relaxing activity than anything; I do like sharing what I learn about.

I do try to monetize what I write, but it won't make me rich anyways ^^.

The book doesn't distract me from the startup project; it's just another project, to which I dedicate two evenings a week and a few hours during the week-end.

It's important to me for other reasons; mostly the will to share what I do know about, and the need to think about something else.

I couldn't work on the startup project also during those evenings/week-ends. I don't want to be in burnout state just because I was able to pour in more hours each week.

Question of equilibrium. Maybe I would've done that ten years ago, but not today.
Phones track location so yeah a government could always try to force companies to hand over location data, but that issue is orthogonal to this solution.

Their Bluetooth implementation makes it harder for governments to request more problematic location data, because a solution exists that doesn’t require this kind of data.

The existence of this solution reduces privacy abuse risk.
Thought I'd drop my xmas project in here: A visual disk usage analyser for docker images.

I have regularly found Disk Inventory X to be illuminating when fighting congestion on my macbook, but when it came to de-congesting Python docker images there was no similar tool.

Unlike Disk Inventory X and other similar tools, Whaler works from the command-line both on local dirs and images. It is built using modern front end tech: D3, Canvas, React, making it portable to all platforms including headless environments.

I have tested the tool with directories containing up to 500K nodes which should be fine for most Python Docker images. Beyond that it may chug/crash.

A live demo of my CI environment is https://treebeardtech.github.io/whaler/
2020 United States federal government data breach
It works, but honestly it needs a visual update because it looks very err... hacker-ish?
Sorry for late reply. It is happening sometime, reload page can help.
This is a complex question. Pricing is how you capture the value that your product creates for your customers. Probably the best book on pricing is Thomas Nagle's "Strategy and Tactics of Pricing Profitably. https://www.amazon.com/Strategy-Tactics-Pricing-Growing-Prof... Mark Stiving's Impact Pricing is also quite good https://www.amazon.com/Impact-Pricing-Blueprint-Driving-Prof...

You have not supplied enough detail to suggest an approach. You are welcome to contact me for a no cost office session to walk around the particulars see https://www.skmurphy.com/blog/2016/08/01/skmurphy-office-hou...
I just replied to a vanilla job posting, no mention of remote work, and waited for them to call me back. When they did, I said I wanted remote only and they agreed. So yeah, just ask.
I don't think the location aspect is what is important to the government, rather it's the "who met who, and when" aspect.
Harvester: Open-Source Hyperconverged Infrastructure (HCI) Software
On the Mac, Safari has that built in, if you get an SMS (delivered to the same Messages app as iMessage), the browser knows about it and you just select "Use 1234 from Messages".
Exactly. Also I remember some company trying to do that (not sure if before or after the Black Mirror episode)
i'm using this approach for a project (for a customer) where they don't want their users sharing their login details (username/password) with others. so it's a way to keep some control over who is accessing the system. the assumption is that people won't share credentials for their mailbox with others.

email is still mostly sent as plain text over the internet, that's certainly a downside.

email delays haven't been a problem in practice for us.

we also send users notification emails with links going directly to the right page, automatically logging the user in. i would like that from other services as well, as i'm browsing with ephemeral browser containers. having a clean browser environment triggers some website (eg github) to verify my login with a unique code sent by email. that indicates email delays aren't a showstopper in practice at big scale either.
Ah, so to rephrase: We'll encounter alien life, so unlike any life that we currently know, that it'll be, well, life as we _don't_ know it?
Why did you choose those two variables out of dozens of others?

If it's 'control' then why is birthrate high in many dictatorships? If it's apartments, why is birthrate decent in many ex-soviet countries full of apartments?
"It looks like you're grieving. Would you like help with that?"
Yes, it's mentioned in the review, but there are no details given. I doubt that Octave suddenly started supporting either of those features.
The case I've heard regarding british exports to EU involved something that could be relatively easy to get, as it was known that UK would be out of common VAT and customs union at the time, and is mostly related to personnel mistakenly continuing to issue invoices "business as usual".

Now, the import VAT situation is totally bonkers, and I'm really dismayed about how it's apparently going to hit us in EU too in June (media didn't give a peep about that one)
Going Indie: 2020 in Review