skysight-inc/HackerNews huggingface dataset:
Coming to this late, but I am interested to know if your view is still the same as when you wrote this 13 hours ago.

I don't think you have really answered the question about the logical incoherence put to you in another comment [1], which was replying to this comment by you (now flagged, sadly):

> If a bunch of people are saying "this thing hurts me" and your stance is "well you shouldn't be hurt so shut-up".
> Yeah, you're an asshole.

Honestly, genuinely: my feelings are hurt by reading your comments here - I find it a bit chilling, it makes me uncomfortable. I'm a free speech advocate, and I perceive (rightly or wrongly) a frightening swing away from free speech values in the last few years, and your comment triggered uncomfortable feelings. Perhaps I'm wrong about this, perhaps my view is biased somehow. We could debate it, and maybe you'd point out something I hadn't considered, and maybe I'd change my view. But until then, the fact is, my feelings are hurt by your comments. And I'm definitely not the only one - there's more than a "bunch" of free speech advocates in the world who find this line of argument chilling.

As a free speech advocate, I believe you should have the right to say what you want, and that my hurt feelings should not prevent you from doing so. But don't you see the logical incoherence in your position? How can you argue that you are not an asshole under your own logic? (To be clear, I am not calling you an asshole, just pointing out that your own logic would seem to conclude that you are an example of one, while also containing the statement that you are not one.)

[1] https://news.ycombinator.com/item?id=31088745
winget is your friend, though you will find yourself living between Windows PowerShell and Git Bash most of the time.
> Canada accepts _at least_ 500,000 people per year through various channels, "temporary" foreign workers, international students (many of whom stay), refugees, and of course, normal immigration. And I am low balling that number. It could be closer to 1 million.

> When you bring in an entire large city worth of people, it stands to reason that this will cause massive pressure on housing prices. Now sustain that yearly increase for decades, and you have the problem we face today.

You make it sound like those people enter Canada and then just sit there doing nothing. Which is wrong.

As long as they're LEGALLY in Canada, I don't see a problem.

They're studying/taking up jobs or whatever, and they're also spending the money that they make in Canada, in Canada. This helps the existing Canadians as well. And some of them start their own businesses. That's how the economy develops. Money should keep rolling.

> There are 9 million people in Canada (a country of around 40M) currently living here on 10 year visa's. - Crazy!

What's so crazy about that? You should check the numbers for USA.

As for the 10 year visa part. From what I know, Canada grants B1/B2 visa with a 10 year validity for businesspeople and tourists. It does not mean they can enter and stay for 10 years. They can enter, stay for sometime (they have to state how long they intend to stay at the time of entry), and then they leave. Or atleast, the vast majority of them do. They have better things to do back home.

By the way, you might also want to look into Canadians emigrating to USA. Not that there's anything wrong with it. Just saying that it happens.
The Universal watermarks story is mostly in the past. The Spotify catalog has been cleaned up to the point where I rarely come across it. Here's a playlist I used to share at Spotify: https://open.spotify.com/playlist/3ZbRKMGb8nqXqZziwtC5ZY
Seems they've all been cleaned up except for the Elton John track.
My issue with Anime on Netflix is that the subs are often trash (non-issue if you watch dubbed versions of shows, the Cowboy Bebop dub is excellent for instance). It's sometimes sad that even though the show is on Netflix, I end up using fan-subbed versions instead since a lot more care gets put into such releases
The thread:
https://transmom.love/@elilla/108157666333644028
Show HN: Chalk.ist – Create beautiful images of your source code
I wanted to ask what the difference between Marmite and Vegemite was, but apparently the difference between Marmites of different countries is larger than the difference between Marmite and Vegemite?
It's interesting how the story seems to repeat itself over and over. There's a start up, they use VC capital to generate a fantasy version of their end product that can seem amazing because, for a time, it is free from the constraints of profit maximisation.

But inevitably the screws have to turn, and even after reaching profitability they keep turning. Google starts putting lengthy ads all over YouTube, Amazon mistreats its staff and turns a blind eye to unscrupulous sellers, Facebook promotes anything which drives engagement even if it enables political extremism... And here Netflix is, driving away subscribers with rapidly increasing fees and declining content quality. Of course these are just some examples and there are many more even within those same companies.

I think maybe people are slowly but surely becoming more skeptical to this sort of behaviour. Whereas in the past maybe users would have stuck it out during these changes, they realise now that this is the turning point where the organisation is going to get worse for them rather than better so are jumping ship instead.
That has not been my experience.

Input validation or more broadly data integrity is just the first, obvious issue. There are things that can help with that like json-schema, openapi, graphql and so on, which solve some part of this at some level. Let's go for json-schema, which is the simple, focused data driven and pretty well designed. Great isn't it?

But it doesn't stop there.

You now have at least two libraries in different languages with different levels of support for the spec, so you need to settle on the lowest common denominator. That's just the validation part, now you want error reporting, which means duplicating logic again. You probably want to convert the schemas or at least the data structures they validate into something that your languages work well with, that's duplicated logic again.

Then you also need to somehow pull them in, build them etc. which is duplicated tooling around your language environments. Now you have version dependencies of somewhat the same thing in two different ecosystems with different versioning issues.

Whenever I said "duplicating" I really meant "solving the same-ish problem in two different ways", so "duplicating" is an euphemism here. It's a proliferation of accidental complexity and coupling.

Isomorphic code is not just a 1:1 thing. It's not necessarily the same functionality that you maintain on both sides (like validation) it's _all_ the other stuff as well, unrelated in terms of single features.

Aside from validation and data integrity - and the whole jungle of stuff that comes with it - you also need a bunch of fundamental data structures, network I/O, possibly routing logic if you're doing anything that's dynamic on the frontend and serves UX beyond just displaying text and images in a nice way. You want quick, optimistic feedback on the client, so you're coordinating more state and data, which means more duplication again. You might want to move stuff from the server to the client and vice versa, when you discover basic optimization issues.

Isomorphic code is _leverage_ to a high degree from tooling to standard libraries to knowledge, familiarity and mastering a language and ecosystem as a programmer.

If you decide to use a heterogeneous ecosystem you better have good reasons for it such as legacy code, specific powerful libraries and integrations you need to use or high expertise in a particular language that cannot talk to both sides.
I gave my microwave a soul with AI and it tried to kill me
They haven't for 5 years, why would they now? The work is just getting interesting...
> You can not build it in the USA.

Precisely. Asia is on a roll in this regard.
Journalists are not held to the same standards as everyone else, and this is not the first time nor the last time they will overstep their boundaries. Just because someone’s a journalist does it make their behavior correct or even just.
Ask HN: Current state-of-the-art for large scale code search?
Looking at large-scale, online code search implementations like https://github.com/search, https://cs.android.com, Azure DevOps Code Search, etc. - what powers these, in terms of algorithms and specific technologies? Are there any open source equivalents to these? What is the current state of the art in code searching of large, multiple codebases?
The SA branding looks almost identical to the UK branding. But the product is subtly different. The UK has a consistency and appearance of thick black treacle (molasses). The SA one is less runny with a more satin appearance. They taste pretty much the same, though.
It will connect to both. Big projects like this are typically built in stages and the central valley stage is being built first. The upgrades planned on the each end to support the rail aren't even done yet (e.g. LINK union station). There are a lot of people who live in the central valley already, and there is room for these regions to infill still.
Large infrastructure projects like this are paying it forward. They are a gift to future generations who will reap the benefit without having to pay for it, just as we have benefited from inherited infrastructure of our cities.
What it has to do with personal decision making?
Must be just me or an American thing, but imessage isn't used nearly as much here; probably because Android takes up 80% market share, so people stick to cross-OS applications like Whatsapp.
I'm probably missing something, but it sounds like using Warp has a bunch of downsides vs "just" creating a read only replica using logical replication and then failing over. Did you choose Warp only because of Azure's limitations or were there other reasons?
I would guess the entire Western hemisphere and 99.99% of the planet has zero concern for a Marmite shortage.
Thanks, I managed to model buying a house doing a one off expense. I think it might be useful from a usability point of view to put Buy a House as an item in the list of possible expenses as it is such a common goal for people. Anyway I absolutely love what you have done so I subscribed. Best of luck with this. I look forward to see how it grows!
What an excellent test case. Perhaps the Kiwi Marmite has a suitable function as "beginner's Marmite".
I think you alluded to it wonderfully: a small team with < 10 ppl will be fine with sharing knowledge and doing parts of the pipeline manually. The overhead of creating and maintaining a stable automation for edge cases quickly exceeds the time saved.

It's a different story altogether if there are multiple teams etc that are supposed to utilize the same pipeline
Agree. Text files work perfectly, until you need the remote access to the data.
Under what circumstances can you leave California and not pay Californian tax?
I don’t like the taste of salt and actively avoid things which taste salty, I guess I’m an outlier here lol
Lost? Past? The Windows world still runs on this stuff, and there are still plenty of people who know how it works and make money from knowing.

That said, MS have unintentionally (I think) done a pretty good job of scrubbing the internet clean of useful information about it by breaking all their links multiple times. I keep a personal copy of some things, such as Matt Pietrek's classic two-parter "An In-Depth Look into the Win32 Portable Executable File Format", lest they disappear completely while the technologies they describe continue to run the world.

Edit: MS only appear to have part 2 of that article in their archive, and it contains broken links (of course). Both parts can still be read at [1] and [2] and remain as relevant as they were the day they were written

[1] https://bytepointer.com/resources/pietrek_in_depth_look_into...

[2] https://bytepointer.com/resources/pietrek_in_depth_look_into...
I know what it means and what is supposedly meant here, but I think it is quite funny that a very distinct homonym can very well be the same in these instances.
The effect size is also tiny in absolute numbers. With a base rate of 0.004 and a relative risk of 1.28 it would take what, 1000 people reducing their intake to prevent one case of cancer?
I don’t think it’s as black and white as that. The original railways in the US and in most of Europe were developed privately AFAIK - then in many cases the infrastructure was later nationalized - and in some cases subsequently privatized! More recently much of the mobile telecoms infrastructure was developed privately. Earlier it seems that much of the fixed line network globally was developed publicly.
Thanks for the tip, I tried that. It might be a bit faster, but in my tests, it wasn't significant, and it still enumerates all system threads which means that it becomes slower the more threads your system has.

A truly fast and documented solution is using PssCaptureSnapshot, it can enumerate only threads of the target process. It uses NtGetNextThread under the hood. The downside: it's only available from Windows 8.1.

Using NtGetNextThread is not only fast and available from Windows Vista, it also allows avoiding race conditions - what happens if a new thread is created after the snapshot is created? A snapshot returns thread ids, what happens if one of the threads is destroyed? What happens if the thread id is reused (unlikely but possible)? I believe all the benefits I'm getting by using NtGetNextThread are worth using an undocumented function.

See also the research that I linked in the blog post:
https://github.com/diversenok/Suspending-Techniques#snapshot...
It is funny that they are imposing such a ban. They hardly have a tech stack which is remarkably exclusive. I can understand if such moratorium is at program manager, architect level or upper management, but regular software engineering is usually pretty meh for all of them.

Usually, all the mass recruiting companies are terrible employers. Software engineers leave them for upward mobility & better challenges. They are more of a foot in the door for young aspirants to accumulate some experience points in resume. I can't fathom why would sane people trade one sweatshop for another.
Ahhh.. Berlin-Brandenburg...

But I agree. Major infrastructure -roads, trains, electricity/energy, water, high-speed communication- should not be privatized, because they should simply work. And be maintained. And get upgraded on time. And they all involve planning time frames that span tens of years.
No, I'm not assuming that a brokerage will have information about every transaction, I'm assuming that brokerages will have information about many transactions. It would be worthwhile to simplify tax filing in those cases even if there are other cases that do not get simplified.
UK Marmite wasn't runny when I was a child.
I have spent couple hours trying your product, it's pretty damn good! Couple remarks:

1. It would have been great if I could make other variables used in Monte Carlo simulations than the market. It would allow one to model uncertainty. For example, an event could happen following a random distribution (kid arrival, move between 3 and 5 years), or a future salary could follow some normal distribution, etc.

2. The main dashboard for a plan is GREAT. UI/UX-wise, considering the number of dimensions to factor, I find it surprisingly simple to iterate over a plan.

3. Having the option to show expenses on the main plan chart would be great. Expenses are a big part of optimizing personal finances.

4. The plan comparison may deserve a different UI than the simple plan analysis. Seeing differences on the right is not completely intuitive.

5. I'm currently living in France, and we have some accounts with no amount limit but with an annual transfert limit. For example, you cannot add more than 20K€/year to the account. I believe it's currently not possible to set a cash allocation such that it maximizes transfert amount/year instead of overall amount.

6. Related to 5., but we cannot withdraw from that account without paying taxes until retrieving, then it's tax-free up to some amount per month. Maybe similar to a 401k. But it's impossible to set that up on a custom account.

7. I have set that model up, still in trial, but now I'm really scared that my browser might bug or hit refresh by habit and loose everything. The find the saving feature to be really harsh. It'd be nice to find some alternative so that it can be saved, and maybe retrieve it after subscribing? Or limit the number of parameters/events that can be added to the model? Or show in much simplified mode. In my case, I'd like to show my partner and discuss it before subscribing: I want to make sure it contains enough features needed to model our finances.

Really good job overall, I'll certainly follow your work!
If the intensive computing is GPU use a lambda machine might be a good choice.
The professional (T series) line of the Thinkpads are my go to.

I've been running ubuntu 20.04 for the past few years. You can have hot swap batteries and an inbuilt SIM slot if you choose. Not sure if the fingerprint is working (I didn't select that option) but everything else works flawlessly.

Side note: I have been maintaining an Ansible playbook for years now that sets up my developer workstation. I do know Ansible already, but I think it's a worthwhile weekend project if you are starting from scratch. You just need to be consistent and have all changes go through Ansible.
That’s more or less how trademarks usually work and people generally seem happy with them.
"Not hammering the crap out of the SD card" needs to be a standard use case that people should think about.

There's so much software out there that has problems that come up in exactly the kinds of scenarios one would be likely to want the app for to begin with.

Maybe Red Hat or someone should have a checklist of common edge cases that people should try to be sure their app works under, if they have resources to do so.
Waaay back, I thought Bitcoin was a cool technology, and convinced some friends of mine with businesses to accept it. We had a lot of fun with it - it was really cool to pay for your beer by scanning a QR code and seeing the transaction come through this public, distributed, tamper proof ledger, like magic, with no need for money, banks or any of the other financial infrastructure we're used to.

Sadly, the "crypto space" was quickly invaded by hordes of people who never really cared about the technology itself, how it works and what it's actually useful for. (and what it's not useful for)

These people, who know nothing about it, and for years had dismissed it as a joke, suddenly began to talk about it very seriously as a very serious "investment" in self-proclaimed "expert" capacity.

You know the type of person I'm talking about! We've all seen them, and most of us can probably count one or two amongst our friends.

The potential for cool applications of blockchains is still there, but so far it seems to me cryptocurrency has mostly just been abused as a vehicle for crazy, baseless manias, and little to no meaningful application.
Both Europa Clipper and JUICE seem very exciting, though!

https://en.wikipedia.org/wiki/Europa_Clipper

https://en.wikipedia.org/wiki/Jupiter_Icy_Moons_Explorer
South African here, our Marmite is more liquid than paste, so probably in line with UK Marmite.
Final, FinalFinal, FinalFinalFinal ;)
> I'm glad pure javascript is fast enough for your needs.

In this case, the bottleneck at 9 million LoC is not CPU cycles but memory usage. That's where I am considering pushing down into WebAssembly, but whatever function-inlining optimization V8 is doing, it is probably still faster than the overhead of JS<->WebAssembly function call. I have no doubt WebAssembly will edge out again.

> Merging concurrent changes. (Like, merging a long lived branch). This currently involves getting fancy with a B-tree. This is fast enough in rust. It would be orders of magnitude slower in javascript.

I guess my point is why do you need balanced trees? Is this a CRDT specific thing? Can you implement CRDT with just an array of lines / gap buffer?

> Undo support. When you hit undo, you need to ignore any more recent typing from other users and just undo the local user's last change. This is subtle.

From my understanding, the whole point of CDRTs or any command-based design is express changes to the state as the delta. In which case, you only have to stack / remember the set of commands and not have to store the state on every change.
I'm not sure if this overlaps with the data structure choice, other than implementation details.

> And, sure, Javascript's Array is pretty fast. But if you ever need something more complex than Array, your performance will suffer massively. Personally I feel much better writing this code in rust + wasm.

I was just looking into TypedArrays. From my understanding, the JS runtime will use a HashMap or DoublyLinkedList if the array elements are homogenous. In the case where the JS runtimes know it is homogenous, they will fallback to those TypedArray / fixed length buffers that are "continuous" in memory. So on the JS side, Arrays can be as fast as TypedArrays thanks to the compiler. Consequently, in some benchmarks they will effectively be the same.

The question is whether the speed of a native array is faster than the speed of a TypedArray such that it pays for the WASM<->JS overhead. And I guess this depends on the application and the access patterns of that interop.
Ha, this does sound awesome. Are you guys hiring?
A quick announcement on Ars Technica -- the Lambda is nVidia CUDA, Linux beast laptop with very nice Razer design.

https://arstechnica.com/gadgets/2022/04/razer-designed-linux...
This also irritates me. A lot of people treat chat as a live conversation. To be fair, it is somewhere between a phone call and an email, as it can work both ways.

I usually ignore chat messages that just say hello, until they bother to say what they actually want. Unless I feel like actually chatting with them of course!
Some of us were using JAVA Applets to make async requests ;)
> PIP Item 1

It's spooky how you knew I'm a failing AWS employee!
Depends on the people you hang with.

I'm currently at devconnect in Amsterdam and it's full of people who care about tech.

Really nice a crowd and even a bit more diverse than the rest of IT.
Just here to say that besides the good points that the author makes in defense of Crypto, I also support wholeheartedly its right-libertarian roots, despite the negative connotation it receives in the article.
Second hand ThinkPad T series gets a lot of bang for the buck (maybe not as good as they used to be, but still good, repairable, generally upgradable and very available as ex-enterprise machines). Good matte displays, good hinges and great keyboards.

Don't sweat the battery, they're removable, upgradeable to larger ones if you have to go a longer time on a charge and easy to replace. For the change left over from $2000, you can buy lots of them!
Yeah, right I understand that. Radio back then was formative stuff that one never forgets.

Radio is by far the most effective electronic medium to keep one company, it's more intimate than any of the others - it's not only the broadcast program per se but also the fact that the announcer is talking to you.

I've still two Sony ICF 2001D receivers, in fact I'm looking across my room now at one. As FM, AM and SW RXes they're second to none outside a proper communions receiver.
Just a tip for anyone thinking of trying marmite for the first time, it’s strong stuff you are supposed to spread it on thinly, not dollop it on like jam.

Hot toast, a thin spread of real butter that melts into the toast, then a thin spread of marmite.
> Despite crypto’s unquestionably right-libertarian roots

I had trouble reading beyond that in the second sentences. You can’t just retroactively assign a political affiliation to the origin of an algorithm application.