skysight-inc/HackerNews huggingface dataset:
Trouble is that many of these things are impossible to do correctly. Taking some of the items in the list quoted:

• Scrolljacking. The web doesn’t provide the APIs necessary to synthesise the effect of scrolling from mouse events.

• Context menu behaviour: a tricky one, because there are some web apps where it seems reasonable and useful to provide your own context menu, but where it is conceivable that items in the native context menu may be desirable also. There’s no winning move here. There was a web API to handle this properly, where you could add items to the native context menu (<menu type=context>), but only Firefox has implemented it (and the writing is on the wall for it). I have no idea why the others have scuttled this seriously useful functionality.

• Custom combo boxes: there’s a baseline of functionality (which most custom combo box widgets don’t cover properly anyway…), but beyond that each platform has its own subtleties that are not exposed in any way. If you truly want a custom combo box to feel native, you’ll need to sniff the platform and special-case. This leaves you open to getting things wrong in quite a few ways.

• Custom scrollbars: all the relevant APIs are async and these days typically debounced a tad, so that it’s simply not possible to guarantee that your custom scrollbar will match the scroll container on every frame—and in almost all cases it will be delayed by at least one frame.

(For the rest it is possible to do a flawless job. But it’s generally a much better idea to just not fiddle with things. I say this as someone who has made complex custom input controls and made sure they’re as close to perfect as is technically feasible without platform specialisation, but who definitely prefers to keep things simple. Oh, and I hate scrolljacking unconditionally.)
Brilliant!

I should have read more of your documentation. Which is very readable by the way.
> small things like syntax

This is no small thing. The expressiveness of a language makes the difference between happy productivity and tedious typing and swearing.

Nim is in the same ballpark as Python here, while many other languages require a lot of boilerplate.
I think all cmd should have a "tutorial", "doc", and "quickref" subcommands.

Eg:

git quickref

This will list the most commonly used git invocations and their affect

Git quickref chekcout

This will list the most common checkout invocations.

Git doc open your browser to an offline doc html doc, etc
Thanks. I wasn't sure how tk reply without being devisive :)
If it interferes with radio transmissions, an fcc (or equivalent for your country) complaint is in order?
Java has the possibility of maintaining ABIs as well. And I imagine that's what .Net assembles are about too.

I think you're heavily over stating reliance on libraries having stable ABIs as an anti-pattern. If a mistake is made in the ABI promise, can it get hairy? Absolutely. If you work on an application and are somewhere in the middle of it and need to recompile it to test a fix, do you want to wait for the compilation of the entire application to test it? Obviously not.
Aaah, good old Microsoft is back!
It's not directly comparable, since this Turing Machine is not a self-interpreter in the sense of interpreting arbitrary programs in a language of Turing Machines.
Because there aren't weekly bombings and kidnappings by politically left groups like The Weather Underground or Symbionese Liberation Army like there were up until the mid 1980's.
Meet people Zingr app During the Lockdown
How does social app ZINGR helped you to meet people during the lockdown?
Then let's ask instead, why use Nim over Pascal?
Hardly. Extending a piece of software requires generally extensive familiarization with the codebase, possibly ranging into millions of lines.

On the other hand, a well documented plugin or scripting system, which sits on top of the existing domain logic and is well documented and full of examples, generally is an excellent way to allow extending the base app.

The base app can be open or closed source. Without scripting or plugin system it's still a black box for most intents (as the time needed to study and change it would likely be too much).
It works only on Rpi 2, not on 3 or 4 (There is unofficial version running on 3)
Nim seems to be almost the anti-Go. While Go is all about simplicity and "less is more" [0], Nim's list of features [1] is huge.

Therefore, I think the two languages appeal to different sets of people.

[0] https://commandcenter.blogspot.com/2012/06/less-is-exponenti...

[1] https://nim-lang.org/docs/manual.html
It might have been smart to use someone other than CNN, but I'm not sure there's any fact checker in the world that Trump would have accepted correction from.
Hmm, PoE support on the Rock Pi 4 seems to be a hat just like the rpi 4.
Whisper Platform
If you don't want to think about thermal throttling ever again, get one of these:

https://www.seeedstudio.com/ICE-Tower-CPU-Cooling-Fan-for-Ra...
> The most common treatment protocol is a single psychedelics session assisted by 2 therapists (preceded by a few therapy sessions and some follow-ups).

Ketamine is approved by the FDA for depression and also has a history, albeit shady, of being prescribed off-label at IV clinics. This is far more common than psychotherapy while taking medication and much less expensive too.

> If you follow the evidence for the most researched treatment protocol, this would involve a session every year or half-year.

In this small survey 60% of patients returned once a month or more for maintenance infusions.

A Survey of the Clinical, Off-Label Use of Ketamine as a Treatment for Psychiatric Disorders https://pubmed.ncbi.nlm.nih.gov/28669202
EDIT - got excited as because I misread and brainfarted GB and Gb and below is what followed - sorry for that folks:

Interesting as Samsung developed a 8GB LPDDR4 memory chip back in 2013 - https://news.samsung.com/global/samsung-develops-industrys-f...

Looking at Micron (who probably tickd the box on price to make this happen), they can do 16Gb modules. So that may well happen. However the power aspect as already indicated from the 4Gb to 8Gb, considerations will prove more interesting.

Biggest gain though is more focus upon 64bit, which goes hand in hand with that extra memory.
You sound like you're talking about literary interpretations of ancient aphorisms.
Paradoxical dynamics of SARS-CoV-2
Is the data scraped? What is the tech stack?
Product team pitfalls (comic book story)
I think autocomplete and sub commands can help a lot with discoverability.

I don't want to praise the Google Cloud CLI, but one nice thing is you can do something along the lines of

$ gcloud <tab>
-> list of services you want to manipulate
$ gcloud servicename <tab>
-> list of action you can do to service
$ gcloud servicename actionname --help
--> detailed information on how to apply that action

It isn't perfect - you don't get this behaviour out-of-the-box with every shell - but it is a lot better than reading a man page with a list of a million flags.
Show HN: An app to solve patient backlog problem
We are at MVP stage so would love to get feedback.

There is huge patient backlog problem in developing countries with pretty bad doctor to patient rations. We want to explore if this is an interesting problem to solve and would users really use our service. Please share what do you think.

Thanks.
Basic.css – Classless CSS Starter File
In Haskell typeclasses, it's the type of the parameter that is implicitly passed, not the parameter itself.
Yeah, however there was talk that getting the nukes out of Turkey would not be easy, especially if Turkey would not cooperate.
Interesting! These sites reminds me of the various scenes that flourished around the nettime mailing list and the net.art movement[1]; and it also reminds me of the Web 2.0 days when microblogging sites such as Jaiku and others where popular.

[1] If anyone wants to know more about it, see https://en.wikipedia.org/wiki/Net.art
though if I think about it tech iliterate probably won't have at home Wi-Fi network, neither will pay for unlimited mobile data, so these will be quite pricey video calls
The idea of someone swiping it and literally walking off with your company in their pocket is a bit funny.
Interesting.

I was a fan of intercooler and used it in production more than once but for some reason I could never get my head round the dependency functionality and ended up just ignoring it.

Intercooler works beautifully alongside Django and Django Rest Framework and I look forward to trying out htmx.
I've been actually posting in a few telnet BBS, as well as some SSH forums as of late. I love the small web. I love the freedom of anonymity. I grew up in the 2000s and also got into web design through notepad and hand written HTML. I do have a squarespace website but I'm thinking of just going to neocities and start over with some plain HTML one.
He has made citations. It’s literally on the White house website for anyone to see. He has also tweeted it out several times.
Labeling and providing context on objective propaganda is not censorship; it's a "use it or lose it" responsibility.

Let's keep the context of this label around the post on mail in votes "would be a free for all on cheating, forgery and the theft of Ballots" in mind. This is attacking democratic constructs with goal of subverting it. There is no ideas to improve the very system that the current steward of our democracy should be owning .. just throwing mud to cement power.

Twitter has to try to provide context to these anti-Democratic government broadcasts or least it loses any notion of private free press. I.e it might as well be state run if it does not have the freedom to structrue the presentation of platform participation.
Among other things, Nim is programmable using templates and macros and very powerful at that.

Also it's faster than Go on most benchmarks.
Just started investigating it, but I'm not really a front end guy, just forced to get my hands dirty during some MVP prototyping. If you find good resource or have good/bad experience, please do post about them.
> the UK was not ever a real member. It opted out and demanded exceptions for everything. Unfortunately, the EU had to be built around the UK, not with it.

There's a tendency among hardcore europhiles to blame the nasty british for all questioning of the European ideal, as though if it weren't for perfidious albion Europe would be of one mind.

This completely ignores both the deep euroscepticism felt by many people across the EU(which European countries tend to just ignore instead of being so hasty like Britain as to actually have a referendum - and if a referendum must be held, just have it again and again until you get the right answer...) and also ignores that other countries have differing opinions to France and Germany too.
What is the business model for DuckDuckGo? (2017)
If you took this to an unrealistic extreme, where 100% of all jobs are automated, every cent of profit flows into the hands of owners and shareholders, and there's literally no job that labour can take, that's clearly and obviously worse. The flipside, where efficiency is at it's lowest, and every single product ever is hand-crafted with a tremendous amount of labour seems obviously bad too.

Of course, those are both ridiculous extremes - the answer to what balance is healthiest for an economy I'm sure is immensely complicated. I'm just saying that efficiency doesn't come without costs, and we shouldn't design our entire economy completely around the interests of shareholders of major corporations.
I think you are being dishonest and therefore impossible to change your mind.
Seen a lot of non sense but the op's model is right up there.
See "Can I post a job ad?" in the https://news.ycombinator.com/newsfaq.html Monday you can add the job to the whoishiring list.
I don't know – Robert Bringhurst's Elements of Typographic Style is excellent.
Reminds me of the ADE651 fake bomb detector[0]. At least people will not die because of this.

[0] https://en.wikipedia.org/wiki/ADE_651
Well, the obvious issue you're missing here is the fact that the steering wheel is on the right/wrong(heh) side, hugely limiting the potential for exporting your second hand cars elsewhere. Even then, I do know about a few successful businesses, where people have been exporting cars from UK to Poland, moving the steering wheel to the other side, and yet still making money in the process, the value of second hand cars is so much greater there(in the UK a car that is 6+ years old is basically ancient, in Poland that's still considered "nearly new").
I don't think you should use Twitter or Facebook anyways if you're concerned about the free flow of information. They censor stuff and try to make walled gardens. I'm not sure what the good alternatives are... I've heard of confederated Twitter and Facebook clones but they all suffer from losing out on network effects.

If 4 companies control the internet, having the government restrain from censoring them doesn't fix the problem. What do you think we should do? I'm at a loss here.
Yes. If nothing else, the calculation of that immutable data may be costly enough to motivate not calculating it multiple times. Hence you want to treat it as state. But that doesn't mean you want to expose it to the user of the class which may have a nice simple interface of cheap operations after the init is done.
For the docs they are faking server side (view source starting line 138 )
That also looks interesting.
Nice project. The code is well written.
Selling tin foil as specialist EMF limiting wallpaper would be more honest than this device and yet, there will be people out there who will buy this and what's more, some of those will believe it works whatever you tell or show them.
Hi! This was already asked before, but probably my voice would be heard: do Jamkazam team support Linux? Currently we're using Jamulus for practicing, but I would like to compare it with Jamkazam. Unfortunately, some of our members are *nix guys.

Do you plan to work on Linux support?
Thanks!
Did you even click on the nytimes article or nbc article? It literally proves their statement is wrong. I think it’s impossible to change your mind when you aren’t willing to read it.
> Surely at least some people would know electronics need electricity.

If you buy into the conspiracy, then electricity is probably some kind of dark magic to you.

EDIT: They actually have you plug it in to charge it periodically or expand the protective field.
Absolutely. Now realize the entire economy is a sliding scale of quackery from completely quack-a-scamtastic to fairly sober. It's just a question of the weighting of that spectrum.
Hold on... do you know what Section 230 of the Communications Decency Act is about? Do you know what protections it gives to companies and what happens if you're treated like a publisher?

>Something that republicans selectively forget

ok... Go tell it to a Republican then.
Ah - like the old University of North Texas gag: https://www.chemicalcode.com/litmus-week-29-2/cunt-mug-unive...
Because the “integration” never existed and it failed the populations when they needed it more. Also, unrelated ex. Search what happened to peripheral economies when Germany wanted to sell Siemens trains to China.

Europe is not a country and the ones that insist it to be are high society politicians who like to pretend they are above the populace.
If they curate the content, they're responsible for it. If they are then accused of political bias or censorship (as with the case that triggered all this), can they be sued by the commentor whose comment they removed?

Once they've curated a conversation (removing comments) are they responsible for the ones they didn't remove in that conversation as it's implicit approval?
The MIT license expressly allows for shitting on software though. In fact it's allowed for anyone, not just megacorps.
How good frameworks looks like?
It does not; it's a sticker on an USB stick
Similar experience here for wikimedia. Unbelievably unprofessional.
Nothing stops you from doing OOP with state that is immutable once initialized though. Likewise, nothing stops language designers for enforcing that in their OOP languages. You are arguing against a strawman.
Why not considering Switzerland? Have relatives that moved to Berlin and they are not happy anymore there.

Denmark/Norway/Iceland/Sweden should also be on your radar also Netherlands/Belgium.
Space Settlements: A Design Study (NASA SP-413, 1977) [pdf]
I use a VM for the few cases I really need to interact with a JS-ridden site, which reverts to a clean state when closed. This should be doable by most HN'ers, we're supposed to be technically savvy.

But another way when you need not have to use the site to put pressure on the site by not bothering with it if it breaks without JS. Enough people do it and they will get the hint.

Or actually talk to the site owners and ask them - I have done this with a small publisher.

Or if someone post a link to their JS-requiring blog/site on HN, ask them politely to make it usable without (I do occasionally).

If you want to fight back, you have to pay the price. It's a pretty small one for me.
You seem to be talking at cross-purposes with everyone else in this your comment and your grandparent comment.

The point that is being made in the article and by everyone here is that the keywords “monospace” and “sans-serif” allow the user to customise what they want it to mean, whereas specific font names like “Helvetica” don’t let the user choose to use their preferred sans-serif.
See above. Intercooler will continue to be maintained.
Much clearer.

That's a faster reaction to a code review than I used to get when I was doing them 'in real life'!
Can you link invertor/charger/battery, would be interested for some hobby project of mine (not solar powered)
You are comparing apple to oranges :)
alpine and stimulus are frameworks (doing all sorts of stuff: css animation, data <-> objects, etc) while htmx is a library focusing solely on ajax.
From your list, the only similar project to htmx is intercooler-js, but... htmx is actually the new version of intercooler-js (both projects by the same author).
It's so depressing how low the bar is, for regulatory frameworks.

Maybe it's totally co-opted by industry incumbents, and serves as a moat against competition. Maybe it's about electoral politics. IE, the problem is stifling of specific voices supportive of Trump... or the opposite. We can't even hope that it will be designed logically to serve a principle or goal.

I'm not saying regulation (or better legislation) isn't necessary. Twitter set out to be the "public square" and succeeded. It's a privately controlled public square. This is a problem for democracy. It's no joke either. Twitter & Facebook can and have been the launch point for elections, revolutions, coups and such. "It's their site, they can do what they want" is not, IMO, reasonable.

On a related point "platform monopolies," are a well established problem, and we've even had some court ruling to that effect. Courts are narrow though. Legislation is the only way to establish principles.

This should be a "step back and think big picture" situation. Establish principles that guarantee freedoms, media diversity or whatever the goals are. Instead, the debate will be dictated by electoral considerations... on both the pro and con side. I doubt they're even thinking past the immediate election.
Visiblity of fact-checking is within Twitter's private domain to control. It could be a separate post, shown above everyone else's. It makes little sense to make special laws micro-managing technical designs of private platforms.

That someone blatantly bullies people and lies on such a platform, would get anyone else banned or at least posts moderated. Lying/deception, defamation and "hate" speech is not protected speech. Some of it may even be punishable by Law.

Twitter still has the option to ban the president. This is not censorship either. Prudent moderation is being performed daily on many social platforms.

Maybe it is time to review the power of social media platforms (so I do see your point).

Though, I suspect a prudent review would end unfavourably for bullies, trolls and liars, at the very least for unprotected speech and especially speech violating established Law.
Hey Microsoft, whenever you do this, you lose all the goodwill you've built with developers. You have put me back in a buying position where I'm now thinking: how can I cancel my paid GitHub & Azure accounts?
We do have data hiding in functional programming, even if we would not have modules, which we do, we do have type classes, and for example in OCaml you can hide constructors if that's your jam.

It's not like when I use a sorting function that the implementors couldn't swap it out for a caching one or a parallel one.

One of the amazing things I remember is changing an int to a float in a very well used "struct" that was touching thousands of functions but because the functions in Haskell usually so extremely general I didn't have to change a single other line (Number type is heavily used and doesn't incur an extra performance cost, which it very much does in Java).

In fact we can be even more precise or loose in what assumptions need to be made via dependent types in functional programming languages like Agda.

I encourage you to take a look at any popular Haskell-framework to see how it's done in practice.
After akovari and tom_mellior's replies I now have to resist the temptation to rewrite a bunch of scripts in xonsh or yatta or I'll never get them finished.

:-)
s|on x86 desktops|on x86/x86_64 Linux desktops|
I am glad I am using Qubes OS, which isolates usb devices from the rest of the system.
Brilliant tool ! I started to put all my notes there. However I cannot figure out how to display a note at the bottom of the screen (below another one as in the featured page ?)
> If you use a vanilla C++ style class then the class definition is in the header. All changes to the class require a recompilation and break the ABI of the class.

definitely not all, only things that change the layout. adding a non-virtual method does not break ABI at all for instance.

> Contrast with C where you would forward declare a struct in the header and pass that around while the definition is hidden in a .c file. This means changes to the size of the structure don't matter because all calling code ever sees is a pointer. (True data hiding!) It's called an opaque pointer and many many libraries use this pattern. e.g. libcairo.

Does this have a point in 2020 ? Good modern practice (c.f. Rust, etc) is to ship LTO'ed mostly-static binaries. Such hiding is only relevant for legacy things such as what Linux distros obstinates themselves in doing for their userspace - hopefully in a few years everyone will switch to snap / flatpack / appimage to finally reach a sane application distribution model on Linux.

I'd definitely say PIMPL is 100% an anti-pattern in every possible case. It forces more memory allocations, and makes it much harder to hack your way out of things when it's 3AM and everything is crashing and you have 5 minutes to fix things before heads start to roll.
Two things come to my mind:

- this is basically an ignorance tax

- sometimes I wish I had no conscience, I would be much richer
> Go tell it to a Republican then.

That's what I just did.