skysight-inc/HackerNews huggingface dataset:
I work in a shop where there was a significant effort in a cross-platform library a long time ago, but that old code has been showing cracks and emitting creaks ("Hey, folks, guess how many debugging hours it took to find out that lambdas didn't work here, either"). Use of the standard library is frowned upon except when absolutely necessary, so there's no avoiding the thing. From time to time someone will joust at it and pull a particularly screwball section forward a decade or two, but on the whole the old stuff is just never going away short of a catastrophe. It makes onboarding interesting, and it makes you reflect philosophically on expertise that is valuable absolutely no place else.

I work on other projects, or on my own stuff at home, and I can breathe again. I don't always need reverse iterators on a deque, but dammit they are there if I need them.

However, I have been in too much C runtime code to be entirely happy. I've seen too many super-complicated disasters, for instance the someone who really wanted to write the Great American OS Kernel but who wasn't allowed on the team, and so had to make their bid for greatness in stdio.h instead. You learned to tread carefully in that stuff, the only good news being that if you broke something it might have turned out to be already busted anyway and no harm done, philosophically speaking, I mean.

There are no good answers :-)
Legal contracts are copyrightable too. I've learned this when looking for a basic tenants contract trying to save on lawyer's fees which seemed too high for such a standard document.
So not sure how legally safe it is to just copy such documents.
Ask HN: How does alternativeto.net make money?
How do they monetise.
Show HN: Find out who removed your JS from their website
I have had a good time with Cloud9, now part of AWS. I default to t2.nano and scale it up for large bursts of workload.
I don't like racist speech, and I would say that's true for most people. Now considering laws regarding hate speech or racist speech. My first biggest reservations about such laws is it gives a government a precedent to regulate speech. Moreover, precedents may expand in the future, so one must tread very carefully to avoid unintended consequences.

Secondly, human language can be quite nuanced. Speech may contain satire, irony, jokes, indirection, differences of connotation, and idioms. It may be hard determine if such line has been crossed. Applying such a law across a population is bound create some injustices by such ambiguities of human language alone. Let alone something someone typed on the internet and may have not proof read.

However, countries are free to do what they want. However, I don't like seeing countries request websites be blocked ect... Again it sets a precedent that government has power to do something, and generally governments expand powers they have. So limits on what governments can do are important.

About US and European views on speech. This is an interesting table. I would say the US is not far off. The averages for Europe are not what I would call a small percentage.

https://www.pewglobal.org/wp-content/uploads/sites/2/2015/11...

A company who has a presence in country should operate by the countries laws. However, for a global platform like Facebook it either means they must segment their site based off country or apply the most aggressive policy across their entire platform. Both of these have their problems.
Feedback is an important part of any successful product. For open source products it's even more challenging because of lack of funds and motivation. Hence I urge the community here to provide constructive criticism and feedback. Remember that the product is free and maintained by a a very small team who may not work on it full time.
If you've never read Andy Grove's book "High Output Management" then you are missing out. It's one of the only management books I'll ever recommend. Truly great practical advice.
Definition from wikipedia:

> An application-specific integrated circuit (ASIC /ˈeɪsɪk/) is an integrated circuit (IC) customized for a particular use, rather than intended for general-purpose use.

Is there anything more "custom" than an ASIC?
Nah. In simple cases like that, the compiler would always be able to optimize away an extra check, if such a check were present. After inlining operator bool and operator *, it would look something like

if (my_optional->_has_value)
if (my_optional->_has_value)
do_stuff(my_optional->_value);
else
panic();

and the compiler knows that the second if statement will pass iff the first does.

On the other hand, if the test is further away from the dereference, and perhaps the optional is accessed through a pointer and the compiler can't prove it doesn't alias something else, it might not be able to optimize away the check. However, that probably doesn't account for too high a fraction of uses.
What makes you think R or Python are bad at parallelism?
My experience is that both are very decent.
The 4 Burners Theory of Work-Life Balance
> It is directly antithetical to critical thinking.

I don't think it is.

Yes, it can get some people to just lash out in response.

But it also often forces people to think critically about how to convincingly justify their own standpoint to counter the provocation. This can be particularly useful when a viewpoint has "won" to the extent that people just blindly adopt it without understanding why.

It does have it's problems in that it is hard to predict, and there's a risk that measured reactions gets drowned out by shouting, so I'm not going to claim it's a great approach, but it has it's moments.
How is that different to this?

if (my_pointer != NULL)
do_stuff(*my_pointer)
Thanks. The most interesting parts of the text behind the second link:

"AT&T did not offer an answering machine to its customers until the early 1950s—and
prohibited the connection of recorders to public
phone lines until 1948, when consumer pressure
became too great to resist.
Why the delays? Upper-level executives at
AT&T, Clark says, feared that if recordings of
conversations were permitted, customers
would be less willing to use the phone system.
A slip of the tongue recorded during a business
negotiation, for example, could be fatal to a deal.
Also, some AT&T executives estimated that up
to one-third of all phone calls involved matters
of an illegal or immoral nature." ... "Surprisingly, according to Clark, the managers "paid far more attention to the question of
trust and image" than to potential profits. That
was a reflection of the public-relations problems AT&T was having as a result of New Deal
antitrust investigations." ...
"When the Bell system finally began offering answering machines to its customers in 1951, they
were built not by AT&T but by an outside contractor."

I am still not aware of the mobile phone which allows one to easily record a conversation, even if today it could be easier than ever to implement that feature.
There is no bad PR, huh
You were without a question dealing with an incompetent border officer in that case. Finnish ID card issued to a Finnish national is a valid travel document to all EU countries, to all Nordic countries, and to Switzerland. Additionally, for the citizens of all Nordic countries, no official travel documents are required to other Nordic countries in the first place. There is only a requirement to "be able to prove your identity on request" - for which a driver's license would usually suffice.

See: https://www.poliisi.fi/identity_card/use_of_the_identity_car...
Only in 'Merica!
How easy would it be to "hook into" Svelte's compilation pipeline so that users can create their own optimisations? I ask that because I work in a huge codebase with many layers of component abstraction and performance is starting to take a hit. For example, most of these components:

<Box flex flexAlignItems="center" marginTop={5}>
<Heading level={2} caret="down">
Profile info
</Heading>
<Media>
<Avatar id={avatarId} size="small" lazy />
<Media.Block marginLeft={2}>
{displayName}
</Media.Block>
</Media>
</Box>

would be compiled into their simplest forms:

<div className="flex flex-align-items-center margin-top-5">
<h2>
Profile info <span className="caret-down" />
</h2>
<div className="media">
<img src="https://www.cdn.com/avatar/{avatarId}" className="avatar-small" lazyload="on" />
<div className="media-block margin-left-2">
{displayName}
</div>
</div>
</div>

I believe the technique is called "component folding". I tried to do it with Babel but it's a real pain.

Thanks for putting so much work into exploring alternative ways of making the web faster, because, at the moment, it still requires an immense effort.
Put on my noise cancelling headphone. Basically, this is a nice way to say do not disturb.
If you're going to London you would normally fly direct over the pole from LAX/SFO, not stop in NY as well
The $billion figure is clearly designed to draw attention to this case. Would it have made it onto HN if he'd been suing for $1000?

And, rightly so, in my opinion. This is the tip of a totalitarian iceberg - would any of us be content with being declared criminal by a computer?
Some people here are saying that this is bad because the victim is asking 1bn, that it's a publicity stunt.

Well, it better be a publicity stunt! You can't change those stupid behaviors of facial recognition without such bad publicity. I hope they make as much publicity as possible, and maybe some money (but he won't get 1bn, that's not the point).
What does starring on GitHub accomplish? Isn't it just like a bookmark?
In Europe I routinely fly without being ID'd. I just present my mobile boarding pass to the scanner, and go through security. Anyone with my phone would be able to get on board.

It's not 100% ID-free though: AFAIK they are permitted to check ID, and they do it randomly.
Only an American would do this...
This, it seems like the Overton window is moving in one direction.
You wouldn't be writing this trite opinion if you were inside a jail cell getting meatpiped in the intestine because a Silicon Valley behemoth made a booboo.
> with well design class hierarchies

:eyes:
It’s amazing to see this and the similarities to my Amiga VA2000 graphics card that I did many years later, but I swear I didn’t see this before. VA2000 did HDMI output and some very basic 2D acceleration. It’s now sold out.

I just completed the PCB design for ZZ9000 (firmware is in beta already), a bigger follow-up based on ZYNQ and using the ARM cores for some graphics and general purpose acceleration. It will be open sourced as well.

Do you think there is demand to spin an open HD framebuffer+ARM card for other platforms as well?

ZZ9000: https://shop.mntmn.com/products/zz9000-for-amiga-preorder
VA2000: https://github.com/mntmn/amiga2000-gfxcard
Maybe try Canvas Defender instead. It serves a random canvas, and maybe that doesn't trigger so much.

Within a few years, I wouldn't be too surprised if they'll be printing GPS trackers on packaging ;)
This has nothing to do with startups, or established companies. Any time the distribution of your data changes, your models need to be retrained. The model can degrade even if the input data improves, e.g., if your geolocation feed had a high error rate before but has suddenly gotten much better you need to retrain the models.
A look into the type_traits header reveals that is_standard_layout is implemented with standard C++.
How so? I don’t see how it compares political freedoms, personal freedoms, or economic freedoms. Maybe there is a specific one for politics you know of?
All those general things you can do in R as well. Maybe not as well developed and widely used as the Python counterparts but definitily there.
> I've never bought (individual) stock before but I'm sorely tempted to buy some of this a few days after it becomes available. Absent some Theranos-level fuckery, I expect that these guys (and their competitors) are going to be huge.

Same for myself. I think this industry will be massive. Never bought individual stocks before. I don't know where to start.
Imgbin – Database of millions of free transparent PNG images
This is essentially corporate swatting that resulted in the victim being charged with felonies in multiple states.

A harmless offense? really?
That is really sad. I read few books from him about design of distributed system.
There's 3 things to keep in mind: taste/flavour, structure, and visual.

These [1] by "The Vegetarian Butcher" come close.

[1] https://www.devegetarischeslager.nl/producten/informatie-ove...
Japan has a similar setup but without the age restriction. they are called Social Apartments.

https://www.social-apartment.com/eng

I've considered living in one but the prices are not any lower and sometimes even higher than renting my own apartment. Maybe if I knew they had a community organizer that planned activities most days I'd consider paying the premium.

Some apparently have a theme like "musicians" so you have people the jam with and they have practice rooms.
Senegal Introduced a New Blockchain-Based National Digital Currency
„Apart from a clean history...“ is a pretty strong caveat.

Our times are seeing a breakdown of trust. News media, companies, and politicians are considered corrupt by default. Yet trust is the single most important ingredient to organize a complex society.

Those advocating to “trust no one” always have complex theories on how some organization’s incentives are corrupting them: “they only want to print the news that benefit their advertisers” etc. But such accusations are easy to make and essentially impossible to prove if you just discount the evidence that is historic behavior. Scientists are also just “in it for the money” even when they have tenure (global warming), charities “have their own motives to exaggerate”, and so on.

If NPM turns to the dark side, the impact on any individual user of their repository is likely to be minimal, and barriers to switching to some other repo are minimal. So at least from the users’ perspective, the downside of extending them a bit of trust seems to be limited.
> There is only a requirement to "be able to prove your identity on request" - for which a driver's license would usually suffice.

This is how travel works right now between the UK and Ireland, hence why it's such a big pain point in regards to Brexit.
The platforms entered murky waters the moment they decided to recommend content rather than just show you content from people you explicitly chose to follow.

They should be held responsible not for their content, but for whatever they’re recommending (and thus tacitly endorsing) for people to watch.
Correct. What other's are missing is that the court will consider the financial compensation independently of the actual reason for the suit.
Wow! If you insist on having a floating bar at the top of your web page, this sort of scrolling progress indicator should be mandatory.

(Also, I learned about menstrual cups due to your enticing reference to the progress indicator which tipped the balance in favor of clicking though to the article.)
Flexible Slide Layouts for Modern Markdown Presentations
> All of the drama around the npm firings has sparked an interesting discussion in the JS community: does it even make sense to trust a for-profit corporation with the world's supply of JS?

Don't we do the same with other companies such as RedHat?

How open is NPM's infrastructure? Can it be forked?
Has anyone here used Cinelerra recently? I tried to use it about 5-6 years ago and had a lot of problems trying to install it. But it did seem pretty good feature wise.
12!9!(4!3!)³
Kubernetes Mail Server
Anonymity? They get their own Wikipedia pages and personalised conspiracy theories. Even “mere” multimillionaires like my first boss after graduating got that plus endless personal fan letters.
In Netherlands they make a copy of your fingerprint for your ID card (EU-wide) or passport. The copy of that fingerprint is deleted after it's stored electronically on your ID card or passport.

There's no need to store a copy of e.g. the fingerprint anywhere else. Just sign the electronic data on the ID card/passport.

Everyone here seems to assume that having biometric data on the passport means that there's a database somewhere, while that isn't needed.
JFK does seem quite dated when comparing to most European capitals, or large Asian hubs.

There are some high-standard modern terminals in the US too though.
So I've started to build a mail server which uses postfix, dovecot, opendkim, mostly database driven stuff for user accounts etc. It's almost ready and has maybe some documentation to write. But I wanted to hurl it into the internet abuse machine and see who hates it or loves it the most.

Awful feedback is welcomed. Advice is appreciated. Pull requests are loved. But how to fix stuff that is clearly broken, is amazing!

Do your worst...
For (4) and (5) set IdentitiesOnly as well as Identity (IdentityFile or IdentityAgent). This tells SSH that you've specified the exact identity you want used, not just a hint at an identity that might help.

Note that having "trouble with active firewalls" is a sign that the security posture is garbage, those aren't "authentication attempts" the SSH protocol explicitly has a step where the client proposes authentication keys it's interested in trying WITHOUT authenticating, counting each such key as an "attempt" is like counting up how many keys a person has in their pockets and arresting them for attempted burglary if they have more than ten different keys.
This needs to come to some far villages in Nepal. In many villages, women are banished to small, cold huts at the outskirts of villages to remain - alone, shut in, and forbidden to go outside - until the end of the period.

https://www.nationalgeographic.com/photography/proof/2017/03...
No, I don't really even know any women who have IUDs, much less any who have IUDs and have tried menstrual cups unfortunately.
How does the block work on a technical level?

Did they just nicely ask Facebook to geo-IP block their whole country, and Facebook agreed voluntarily?

Is there some legal process, where Facebook's under threat of having money/property in the country seized and/or employees in the country arrested if they don't comply?

Or are they doing it without Facebook's assistance? Do they have government-controlled routers that can blackhole specific DNS queries or IP address ranges? Or put their ISP's under threat of some legal process to implement the same?

How do we make the Internet more robust against the specific attack launched by the government? Or should governments always be able to shut down sites they don't like, when they judge it necessary?
Tesla built its own chip to replace Nvidia
It's not ok what happened to the boy, but even 1 million would be way WAY to much of a compensation (more like $10K would be enough), so I hope he looses.
> People were flying without any photo ID until just a few years ago

And how well did that end up?

Remember "back in the good old days" when 30+ highjackings a year was normal?
OWASP Cheatsheet Series V.2
What would be a better name (more broad than “dopamine cash cow”, but more specific than “a vicious cycle”)? Consumerity?
They also offer a AWS marketplace AMI with a REST api, so you can do video editing server-side. https://www.openshot.org/cloud-api/

I have not seen any other product offering such an easy solution for serverside video editing.
Check the prospectus for your local college/university for weekend or night classes?
The domain is flagged as malicious by ESET:

https://www.virustotal.com/#/url/e4accf1e046c8266168b9038763...
How exactly have they failed? They are making more money now than they ever have.

They are behind on tech right now, but they are still the global CPU juggernaut.

Failure isn't a label I would attach to them.
Personally, my belief is that a completely unvetted, uncurated list of links is not very useful. Maybe others may differ.

It would be more work but I would much rather look at a list of curated services that are also affiliate links that tell me why they are good and maybe a pros/cons/alternative-to-x table. If I am looking for a completely uncurated list I could go to stacksocial and search for the word lifetime. A short 1-2 sentences would at least tide me over as to what the product does.

It is less about the fooled, but more that quite a lot of that list is garbage software, the kind you see included in adware installers as trials - like the PDF converters, the lying VPN providers that won't actually last a lifetime, I'm trying to find a list of deals that specifically removes these.
this is a necessary step forward if we want to create a borderless union where you can't trust your neighbours.
Well they are creating a new database, from old datasets(that live in separate databases).

so technically you are both right. Also having it centralized allows for new features(fast cross-country lookups for example)
The tech specs of AGX Pegasus say they're 130 TOPS[1]. Or am I misunderstanding something?

[1] https://developer.nvidia.com/drive/drive-agx
> The copy of that fingerprint is deleted after it's stored electronically on your ID card or passport.

Do you have hard proof for that deletion step?
Meanwhile in Europe, we've been using this at passport control for years
No, this is not "just" a merger! Prior to this latest crap, the databases were separate, including separate access controls, on a "need to know" basis.

Now a shitload of agencies and their agents across the EU, including in untrustworthy countries like Poland, Hungary and Austria, can access all the sensitive data in one place.

This is NOT good.
I tried this. It’s junk. So much slower than a boarding pass scan.

I’ve seen good setups for this like at the UK border. This is not the same.

Almost everyone got rejected and got looked at by staff, especially black people who the machine seemed incapable of recognizing. Children? No chance.

I get it, there are privacy concerns which should rank higher, but you don’t even need to pull them out here. This is just useless bad tech.
I tested a few Chromium browsers today with privacy features and the translation feature is disabled. I will try raw Chromium - I'm curious how buggy it is to run it straight off dev.

Epic: translate is disabled
Iridium: 403 on using inline translate
Chromium: 403 on using inline translate

API key errors abound. After wasting way too much time I went back to Opera and finally found inline translation with this extension: https://chrome.google.com/webstore/detail/google-translate/a...

Now everything is well. Thanks for your tip however!
I already have a scrollbar indicating the position in the page. Now I have two indicators, which seems a bit much.
You better explain this than I.
Offline in the browser (part 1): Detection, AppCache
TIL. I was under the impression they were a lot less permissive outside a commercial license.
Calling this suit a publicity stunt trivializes it and makes it sounds like there's no value beyond getting some publicity. I don't think that's true. This is using the legal system for privacy activism in a positive way. Making corporations understand that there's potentially a very real cost to acting on false positives could be a good thing that actually moves the needle on our right to privacy.

Just imagine if stores knew a false accusation based on nothing more than facial recognition could cost them millions. They'd have to put in more effort than "The computer said you're a criminal". That would be great.
Offline in the browser (part 2): Service Workers
Can you explain if you have any difference than MaxMind? Seems you just use their database and proxy the result?
Why did you select these particular countries, especially Austria, as an example?