skysight-inc/HackerNews huggingface dataset:
20 years later, I can still write an SDL app using just the SDL repo and my C compiler, with GL features and all the other bells and whistles that made me choose SDL in the first place. Its there, it builds, it runs.

There isn't a single Javascript project I've done in the last 10 years that I can return to and run again - they've all been borked by the eco-system. I dread the idea of even opening a package.json file to see what's wrong...
An argument that gatekeepers exist is no evidence that gatekeepers should exist.
I don't know if you are aware, but you are replying to the creator of D, so it's unlikely there will be many surprising features for him :)
They might have pressed some keys as soon as they opened Vim causing that message to disappear before they got to read it.

Or they might have been working on a file for hours before they want to quit it, so might not remember.

Or, they might not know how to enter :q. Entering it requires them to be in the right mode.

(I say this as someone who's used Vim for a number of years).
You've definitely got a point.
Hey, thanks! I am the author of this.
I am certainly thinking of writing about such dynamics. Also want to cover how lead investor dynamic plays out which leads to due diligence being passed on/skipped and other signalling stuff. Still struggling with the structuring of the piece though
Has anyone seen good examples of this for marketing?
"Why did you use julia for this project?"

"Right tool for the job."
At QuizUp, a mobile gaming startup, we did not have 1 per user but 1024 databases to be able to shard and scale. We needed pgbouncer to decrease connection counts and overhead. There was some extra pain, but managable. Postgres allows you to have this logical seperation on one database instance.
There's the New York Times own bestseller list itself:

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

In 1983 (as part of a legal argument) the Times stated that the list is not mathematically objective but rather editorial content.
I agree that the navigation is top notch in Vim. But after getting comfortable with navigation and general operation of vim, it opened up macros as a means of using it.

Then recently I've come to appreciate how well Vim composes with "it's just text" Unix tools and how being able to filter things to tabularise or sort your code is almost magic. All while keeping your edit history and not requiring any plugins.

It goes deep, but in a good way.

I guess what's also good is you can get a lot of value without having to go that deep
Multi-single-tenant actually makes it easier to do transactional schema upgrades because these operations only impact one customer at a time. No fiddling with middle-of-the-migration state.
printf was just an obvious example. Any function had this problem. You run, things work, and then under some condition the function you called called something else and crash. Or you try to add some functionality to a function in the system and suddenly the tasks crash because your edit used more stack.

The point isn't to dis this method. It's just to say it was frustrating with tiny stacks.
This sounds like a job for CouchDB with PouchDB in-client.
You'll need to configure replication per-db, but this can be scripted via cURL or wget, as CouchDB has a REST API.

That's precisely what this system was designed for.
Efficiently escaping strings using Cow in Rust
This is not a test, it is a list of paragraphs with opinions.
Then why do I never max out my home internet bandwidth? My home infra can handle it as I transfer files locally at 1Gbps but never find a use for this kind of bandwidth externally. In the last two years my home Internet bandwidth has gone up by 10x and I've had no new scenarios enabled from it.
It kind of made sense at the time, given the popularity of the Surface. The trend certainly seemed to be towards smaller form-factor, lower-power devices that sat nicely on the spectrum between a tablet and laptop.

Of course, that didn't mean they needed to completely overhaul the desktop experience though.
Obesity Is Contagious
Took a quick look at the case. I'm guessing some corp lawyer, maybe even general counsel, didn't have enough "real work" to do and needed to make a name for himself. Then it became a giant d* measuring contest.

Source: Went to law school. Never practiced though.
While I like SQLAlchemy a lot, it has to be said that it leaks like a sieve.

Personally I think the problem is not that ORMs are leaky abstractions, it's that they often pretend not to be. SQLAlchemy just leaks unapologetically, if you struggle with ORM you can drop right down to using an DSL to construct SQL or just write SQL directly without feeling like you have to fight the ORM and mess with undocumented internals you shouldn't be touching.
Formatting is a natural demarcation point for deferring to another thread as it can be surprisingly expensive.

You can create a workqueue where each item is a copy of the argument list and a const char* of the format string. Then your program will only take a microsecond or two to print (depending on the argument length) on the critical path.
tmux can be configured not to limit the window size since tmux 2.9, and it is the default since tmux 3.1.
Not really. A major difference is an Angel invests his own money, not someone else's like a VC does. So the incentives are different. The angel also sources deals differently and invests only in very early-stage companies (mostly at idea stage), so the risk-return picture is even more skewed.
Although apple.records would not be available to Apple Computer. Trademark classes will make this all more interesting.

In fact, they're the only good argument in favour of expanded TLDs that I can think of.
That's like asking "if there are still racists in the US, what's the point of the constitution - after all it clearly states all men are equal!".

Yes, there are still facists in Poland - does that mean the law was pointless? Of course not.

And of course I don't think I have to point out that you can be a fascist and not deny holocaust, so this law wouldn't do anything in that case.
Massive upheaval yes, revolution no. I would say there is a reasonable chance that the USA dollar will lose reserve currency status in the next 10 years. When/if this happens then everything will change - for an historical parallel look at Great Britain before and after the Great War.
The typical

for g of gameobject
g.update()
Analysts see China cloud as potential doorway to large market
> I wish desktop Linux had even a fraction of that level of backwards compatibility.

The compatibility is mostly at the level of the source code. You can compile linux programs from 20 years ago and run them. The only friction is that the compiler may print a few warnings. Binary compatibility is a moot point when you can recompile stuff so easily.
We do this for our wiki/intranet SaaS app. In our case we don't use it for all data in the app though, but rather for a specific feature. One of the blocks customers can add to their wiki pages are form fields so they can build custom forms. The app then automatically generates a corresponding database in the backend to store records for their form, using a separate SQLite db.

Our original idea was to allow customers access to their form db directly so they could even run custom SQL queries on it and so on. In the end we actually never used that part (users just view and filter their records in the UI), so unless we still need this in the future, one could argue it's.. just slightly overengineered. It works well otherwise though, and migrations aren't really a problem for us, because they're done dynamically by the app (when people make changes to their form). The scaling is also no issue as one db will always be small enough to fit on one server, so we can "shard" easily by file. So I think the only obvious lesson here was make sure you really really need it (and if migrations/scaling would have meant a lot of overhead, I don't think we would have even considered it).
When you record a macro you record the key presses to the specified register (e.g. "qa" records the macro to register "a"). A long time ago (early university years) I needed to do some codegen, which I implemented with a vim macro. But the macro was waaaaaaay to long and complicated to record once without making mistakes. So as you've alluded to, I wrote a "program" in a separate file which was all the key presses to generate a c++ class (including pretty print!) from a protocol definition. I could then yank the program into a register, switched tabs, and ran the macro :)

Totally maintainable /s
> There's a significant subset of people that cry the loudest of censorship only when it comes to communities having a stance against racism, sexism and homophobia.

That's your own bias speaking here, HN is pretty vocal against all censorship or community hijacking efforts. It's just that in nine cases out of ten "a stance against racism, sexism and homophobia" is used performatively and in bad faith and few people here buy it or bother to pretend that they do.
> If someone is succeeding, who cares whether they know Awk?

I'd 100% agree with this (and the following) statements. I think what rubs commenters the wrong way is that the article seems to be almost celebrating the ignorance.

It is of course a pure conjecture on the readers' side, but I think that's mostly what people object to. Not knowing things is OK. Being proud that you get paid despite not knowing things is not accepted in a subculture that prides itself on self-improvement.
However since this is a NYT article, the NYT bestseller list may be relevant:

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

In particular the first paragraph under Controversies
Interesting factoid: David Bradley implemented the CTRL-ALT-DEL “three-finger salute” to aid in debugging the original IBM PC way back in 1980 so that he and the development team could soft-reset the machine without needing to endure the slow POST procedure every time.

Apparenly he first considered CTRL-ALT-ESC but rejected the idea because it would be too easy to accidentally press all three of those keys if somebody/something mashed the left-hand side of the keyboard, so he replaced ESC with somethin on the far right (DEL). His criteria were keys that that wouldn’t cause a character to print on the screen.

Seems like the implementer of Task Manager picked up wjere he left off and chose CTRL-ALT-ESC anyway. Whether it’s some kind of homage, a coincidence, similar thinking constrained by the three finger salute having already been taken, or something else, is anybody’s guess. I’d really like to know how he came up with that key combination (and whether he considered that it could be accidentally triggered more easily than CTRL-ALT-DEL though by this time BIOS calls could be intercepted thanks to 386 Enhanced Mode and therefore you wouldn’t simply instantly reboot your machine).
What? Zoom is literally the only solution where I've send a link to people with almost no experience regarding computers and it just works.
Now this a valid reason to give your kid the surname of a brand. To get rich quick. Too bad that this also limits employment options in the long run (can you imagine Google to work for Amazon?)
Very interesting! A real time saver!
Drawing Nature, Science and Culture: Natural History Illustration 101
It really sounds like you haven't fully grasped the concept of freedom of thoughts if you think that something "should be done" about wrongthinkers.

People acquiring and holding wrong ideas is entirely the point. Because otherwise you need to have an entity deciding that an idea is wrong and should be suppressed. Do you trust Google with that power? Do you trust Facebook with it?

The only trustworthy judge of an idea is reality and its consequences.

Some people think that 5G causes coronavirus? Let them ban 5G from their towns, from their countries. Other countries will not, and after a few years they will not be any sicker and be a little ahead in technological infrastructure. The 5G-phobics will eventually give up, or worst case, they will die of old age and their children will learn.
No surprise there. Wikipedia predates most sites of comparable traffic by a good five years.
You seem to have missed that the financial sector has not left London
> Why would someone do this?

Maybe they regard it as a hobby side project. Or maybe not everybody wants to attract public attention to all of their activities.
I hate it when blogs do this. Does it hurt to put the full word in the title (or at least first paragraph) instead of the initials? It took me a relatively long time to understand what the article is about when I was reading it.

I don't know about you, but Venture Capital is not the first term I think of when I hear VC.
That's true, but pretty tautological as far as being an explanation for homelessness goes, it is also true for every other place.
> Historically, successful revolutions were organized around a larger structure, a party usually.

French revolution was massive confusing clusterfck of fighting parties. The same goes for Russian revolution where there were like five armies fighting against each other.

The fall of soviet union was also not about single larger opponent party building power.
We do that where I am. I think it's been in place for about twenty years - certainly more than a decade. We're on MySQL/PHP without persistent connections. There have been many questionable architectural decisions in the codebase, but this isn't one of them. It seems quite natural that separate data should be separated and it regularly comes up as a question from potential clients.

Each client's db is a little different due to some more questionable decisions (e.g. different features can result in different databases turning on, and most tables will have variable names). But it's not really any harder to write code that says "`select identifier from features_enabled` -> derive table name -> `alter (derived table name) add column baz`" (actually, nowadays we have an inhouse database migrator that does that for us, we just say "the table abstractly known as `foo` should have columns bar, baz, quux" and the migrator says "for this client, they have the feature uses_foo enabled with the identifiers A and B, so A_foo and B_foo should both have the columns baz, but do not; I will add it after `bar`".)

Perhaps it has discouraged us from seeking to use persistent connections. But that is not the biggest inefficiency in our system at this stage.

If I was designing the application from scratch, I think I would want a static schema, but database-per-tenant seems fine.
How Fear, Groupthink Drove Unnecessary Global Lockdowns
It compiles to Chez Scheme. It's written in Idris 2 (self-hosted).
I suspect the author had moved on from MS by the time XPSP2 dramatically restricted security privileges in Windows.
In case you've never heard of them: https://microsoft-informatica.com/

Yes, they were here first.
All the hand-wringing over the difficulties of js just doesn't seem to track with the reality I live every day. I've been hiring engineers for years and by far the most common skillset comes in the form of contemporary js framework knowledge, especially among juniors. Ask them to debug a native app build and they panic like the output on the screen is hieroglyphics instead of a log of useful information that they can leverage to solve their problem. Many times they're so confused they won't even google the errors because they can't distinguish the error text from the compiler info logs, and that's working with swift/kotlin, I can't even imagine what things would be like if we had any c or cpp projects. This stuff just isn't that hard.
Good point, Lispy languages with sufficiently powerful macro systems can do this. This is part of the reason, why no language committee deciding on backwards compatible changes to the language is needed to develop such a library.

I don't know enough to say whether this would be possible in Rust.
I'm a detective
100 startup ideas, from VCs and Founders
What will replace it as the reserve currency? The other options are not particularly strong. In fact, the COVID situation has only made the dollar stronger (as a reserve currency).

https://www.cnbc.com/2020/04/29/why-the-us-dollar-is-still-c...
As it has .js extension, beside typescript, it maybe flow.js script that require babel transpilation as well.
Hacker Noon: Join a remote spin-off of a successful JavaScript conference
Also have thousands of MSSQL databases, but with significant investment in tooling it really is transparent from a feature development standpoint, and our feature toggles are dirt simple.

Another comment suggested doing queries across so many databases is challenging, and it's just not, we have both adhoc query capabilities across the fleet and a traditional data warehouse...

Now, trying to make additional infrastructure changes is challenging, but the architecture is robust enough to solve all the immediate business needs.
Hey, I am the author of this.
Fair point - I should've been more thoughtful. Will keep in mind :)
Do let me know if you found it useful otherwise.
Clear-Window Surgical Masks Are a Lifesaver for Patients with Hearing Loss
That’s why Theresa May was offered cakes during a meeting, as a joke “they want to eat their cake and have it”
Android’s IPv6 Is Still Broken
One would say Compilers is a multidisciplinary subject and I think it is fine that some parts (e.g. parsing) might be boring for some, and some other parts (e.g. optimizations, codegen) might be exciting :)
A Perfect Laptop for Coding, Gaming, and Zooming
Nice explanation. The LP and GP parts feel a little wonky though

>they don't run the VC firm (hence the term 'limited').

It’s from the concept of limited legal liability more than who runs it.

Same for GP - generally just a legal shell. practically it doesn’t really do the stuff the article implies. The actual running of it is usually in a third entity (again to separate legal liability). And the carry sometimes goes to a fourth.
Would be interesting to hear what about it it is that makes it a bad thing - unless it's just the fact that it's a single project?
PureCSS Gaze
8 actionable strategies to do more with less in a post-Covid world
Thanks for shraring! It’s great advice! Mind elaborate on the single replicated db approach? Curious what the replica’s role here that makes a project scale.
I believe the concern was that they retained the missile (and probably disassembled it or shared it)
The Coronavirus Pandemic Turned Bill Gates into a Fake Villain
Immutability is an implementation detail with no inherent value. What we actually care about is referential transparency, encapsulation & tracking of effects, performance, abstraction, thread/type/memory safety, etc. The State monad in Haskell is implemented without mutation, but presents an API with mutation. The ST monad is implemented with mutation but presents a pure and referentially transparent external API.

It is fair to say that functional programming is primrarily in favor of immutable data structures because it is simpler to implement them efficiently in a setting where referential transparency is the default. Mutation (meaning referential intrasparency) is just more complicated, and we need heavier machinery to structure it nicely. We may use linear/substructural types, uniqueness types, regions, etc for this purpose, but here are a number of choices, and the picture is not as clear-cut as with plain pure lambda calculi. Just remember that mutation is not bad by itself, many functional programmers are often happy to speed up production code with mutation, it's just that it is usually more complicated to structure nicely.
It is written with Idris2 as the article mentions.

It produces/translates to Chez Scheme code.
A quick skim and I agree.

However...! Them things that are most valuable are often[0] least quantifiable. Sure "Technical managers who build trust" is probably completely unquantifiable but if you work for people who are willing to mess up your work, it's very bad indeed.

I worked at a place that used source control (we all do now) but oh hell, the boss could not help pissing about weekly with the project's aims, growing it every time, no clear direction, etc.

It's a bit like code comments then, the value of which can be indisputable. Perhaps require 33% of your code to have comments? Seems like a metric! Now how valuable is that when enforced? Some programmers will do little more than paste code lipsum. We want quality comments - and now we're back to subjective. The best stuff is.

[0] That needs some thinking about which I haven't done.
Your comment is like walking into a computer shop and getting angry when the store asks you what PC you want. The article even mentions venture capital at the top of the article BEFORE the first paragraph - no reason to get angry from your lack of knowledge.
No offense to anyone, but this image wraps up how JavaScript, HTML and CSS looks from my (outsider's) perspective:

https://www.desktopbackground.org/download/1280x1024/2013/02...
If I knew this I wouldn’t be posting in HN :)

China is the obvious answer, but I have this feeling that some sort of synthetic currency (not bitcoin) will be created to fill the void.
Yeah, but then you still have the same problem of ecosystem divergence. (In addition to the fact that I don't like using unstandardised features in the first place...)
The EU breeds corruption by giving away money to élites who are not accountable of their crimes
I wish I could upvote this more than once. Their conduct on HN proves this was not a case of "rush" and "churn" resulting in ignorance of consequences. This was simple greed and the decision that the profit from screwing their users would outweigh the backlash. The only reason they backpedaled is because the backlash turned out bigger than they expected. They're not sorry and they will fuck you again the moment they decide it's worth it.
Just having a voting system doesn't feel like it's enough. And there are many different styles of voting, some which seek to reflect a broad range of view points and others which seek to give strong executive power to the majority. The Democracy Index measures several factors such as trust in public institutions, governmental checks and balances, and having a culture which respects democratic principles.

[0] https://en.m.wikipedia.org/wiki/Democracy_Index
Oppenheimer’s Letter of Recommendation for Richard Feynman (1943)
How to Submit Correctly on HN?
Can you explain me how to submit correctly on HN?
I created 2 posts that did not appear anywhere (still invisible)
I did another try with the prefix "Show HN" but still without success.
I don't understand.
Is my account blocked?
Is there a rule I don't follow?
"elephant in the room" refers to something that is huge but that nobody talks about. Everyone agrees with the fact that marxism doesn't work, and everyone talks about it, so I don't think we can call it an elephant in the room. there is far less discussion (especially in the US), about the impact of the US sanctions

the same discussion applies to venezuela
From Hackathon to $20k MRR
Well... If we cut too much carbon emissions it's a relief we can count on such engines to fill in the void. ;-)
Quick Introduction to Mesh Shaders (OpenGL and Vulkan)
I would be interested to know what is driving you to consider this approach?

For example, I imagine one database per account would make it easier to provide your customers with a flexible reporting solution.

Most of the reporting solutions available do not have good support for row level security.
You're welcome, glad it was useful.
Good idea, I will do later today
Some of the masks with a clear panel are visually inelegant, which could be a barrier to uptake. Perhaps that will improve.

Also, what’s the plan when you cough or sneeze and the inside gets spackled? It’s a problem for cloth masks too, but at least it’s not visible.
I have never heard of batteries in this context.

Can someone explain what he means?