skysight-inc/HackerNews huggingface dataset:
Though, keep in mind that some of this stuff (most notably the [...arr] syntax) won't work in old browsers if you make a web project (IE 11 is a big offender here). See https://caniuse.com/ for a useful source of info on what will work with what for stuff like that.

If you do web stuff (and you don't want to just say "no IE 11" - some people, and even some big companies, do that!), usually the easiest way to handle stuff like that is to use the newest syntax you're comfortable with, plus a tool like Babel that will produce a "time travel" version with older syntax that will work in all browsers.
Yes and these days it's mostly s/book/wikipedia/
In traditional media, there are different rules for public figures than there are for private citizens. I think the same thing should apply to Twitter. Verified accounts should not be able to block anyone.
Oh definitely I agree. Gotta find that middle path.
Yandex Has Less Than 48 Hours to Tackle Piracy or Get Blocked
Puting it as “government” makes it very political.

I think that more often than not the people pushing these decisions follow an idea of what most people would agree with.

For instance even if a regulator deeply believes eating babies is OK, they wouldn’t push a law in that direction, understanding nobody would back them up.

They would still be biased and try to limit punishment on baby eating, but there would be enough other people countering them.

In a way, if nobody resists or succesfuly rejects a proposal, I’d argue that proposal goes along what society accepts as valid, even if if asked in a poll a lot of people would disagree with it.
I first thought this was a joke, but he did indeed.

"At the age of 12, he wrote a dictionary on physics. By 13 or 14, he had written three books on particle physics. They have not been published." https://en.wikipedia.org/wiki/Stephen_Wolfram#Early_life
Well, most people aren't going to make their own chips any time soon... so you have to buy what is available and cellphones are getting more restricted/locked down everyday in the name of security (they are getting closer to what they used to be before Android came out)... not sure if that answers your question though.
> It's like a lot of the classic civil liberties scenarios, like how the "ticking time bomb scenario" can justify torture...

That's all good, but we still have a bomb to find. If we say censorship is off the table of acceptable methods to combat Nazis, what are our tools? I'm going to stress again that I haven't seen any convincing argument that a passive approach will work here. The arguments all sound great ("Just ignore them and let them fizzle out!") but I'd like some historical precedents to look at before I can believe that's true. Additionally, the passive approaches don't mention that these groups are active and recruiting. They have plans and playbooks for radicalizing more members. I feel it is legitimate to worry that they will continue to galvanize and grow in power unless we stop them. But I am open to hearing alternative solutions to censorship, as long as they are more thought out and convincing.

> If you don't actually let racist people say overtly racist things...

I've got almost the same question here. In your ideal world, how do we respond when someone says something racist? Do we ignore it? Do we try to teach them why they're wrong? Do we denounce them and call it a day? These are serious questions.
[re:] louis l'amour...
https://en.wikipedia.org/wiki/Louis_L%27Amour
https://mastodon.social/@HackerNewsBot

Mastodon is always chronological.
Not much ground for them to stand on on the first point. Any chrome extension does exactly the same thing they complain about.
> The only qualitative information presented here are the statistics

Do you mean quantitative?
Because smart pointers are a different way to code. It is not a drop in feature that makes your code better without any design change.

In all examples you can't really argue. All these things are common patterns that require ugly hacks to work in traditional C++. Modern C++ made them the way people would naturally write them, and they don't involve self imposed restrictions or performance overheads.

The chrono stuff is a bonus, not included in the main 7, probably chosen because of the author personal experience. But I understand that if you work with code that involve a lot of timing, it can be a godsend. Time unit mismatch can be incredibly frustrating, I've experienced it myself both as the culprit and as a victim.
Usually you'd create a dynamic library that interposes a function, so you don't have to much around with using a debugger. This way you have a persistent modification that's much more resilient to changes caused by app updates. Exploit writers generally have different goals: their thing only really needs to work once, and only with the current configuration, since usually the bug they're relying on gets patched in the next version.
People who care about security* are acutely aware of the potential damage an extension can cause, that’s why browsers have been increasingly locking down what extensions can do, and locking down installation mechanisms.

All browsers have invested significant effort in technical controls designed to prevent malicious apps from installing extensions automatically.

That said do end users misjudge the safety of extensions? Maybe: I would guess that people who would not download and run random binaries could be convinced to install an extension - essentially the user is judging an extension as being safer than a regular download. But that assessment is not wrong: an extension runs in a much more tightly constrained environment, is theoretically at least marginally more vetted than a random download, etc

* not talking about end users who care about security, but rather the engineers ensuring that a platform is secure and robust.
My point isn't that parallelism isn't possible with tapes, but, rather, that it not comparable, due to cost, at same order of magnitude or two.

> Even with drives, if you get too elaborate of an enclosure or JBOD, you're looking at thousands too.

This actually supports my point (except the "too", which is misleading). One can reasonably expect that $2k-$3k enclosure to support 16-44 disks for that price [1], compared to a tape drive's singleton.

[1] Full-featured Synology NAS with 8 drives is under ~$1k, for example, while a CSE-847E1C-R1K28JBOD holds 44 drives for $2800.
I went to the Amalfi coast recently. It was mind-numbingly crowded, except for the abundant hiking trails, which were virtually deserted and gorgeous. Back in the city the horde was queuing to eat at the Tripadvisor-recommended shit restaurant and taking selfies at "the attractions". It seems to me that they largely missed the whole point of being there.
Looks like an OpenBSD version of Docker.
Guys, I think you should ALL calm down and stop playing SJW. He simply stated that he doubts the kid wrote the code. Since when having a doubt is considered BULLYING??? Did he insulted the kid? Did he used a slur against him? No. He expressed his legit and reasonable doubt.

So please turn on your neurons and stop playing mother hen and SJW ok?

Being skeptical is a right we all have to take advantage of and since it has been made in a respectful way, there are no reasons why attacking the user in the way you all did.

This politically correct thing is slipping thru your fingers and out of your control of you REALLY and SERIOUSLY think that expressing a legit doubt is considered an act of bullying. Ponder about that.
> Are you suggesting China is on track to commit genocide against an ethnic minority because they established reeducation camps?

Yes.

> A better example of the next tier is the gulags, you know, actual work camps... mass murder is quite the leap.

And the Nazi camps weren't actual work camps? Well, okay, two of them were gassing facilities with nothing else, but all the others were built to extract labor from prisoners. Most started as quarries.

Once you've rounded up people into camps crowded enough that they are unable to protect themselves from their own shit, they will die in large numbers. It's that simple.
As another viewpoint from the other responders here; we decided not to have kids and no regrets 20 years in, quite the opposite. Luckily where we are from it does not have as much stigma as in other places as most our friends do not have kids.

I think it is important to make up your mind (with your current significant other; another relation might swing your opinion, it happens a lot); I know many people where one of the two wanted kids (usually the woman but in some cases the man) and that ended up badly after getting kids; sometimes a long time after, but when you get older you notice this 1/3rd divorce thing is real and with those couples the fights (I sat on the embarrassing end of dinners at friends...) ends with something like ‘but you took away my youth’.

Too many people still have a baby to save the relationship; maybe it works for some, but it didn’t for the people I know anyway.

As for a burden; I know people get a lot of satisfaction from kids. If I had them I would be full in as I do with everything. Probably so would you. It is more important to think of your future plans and ambitions maybe; my wife and myself are people with a lot of plans, always had those and we wanted to execute them. I do not believe in having kids and then having them raised by the nanny and boarding school. Children simply did not fit; if we would have had ‘an accident’, we always said we would have kept her/him and would’ve had a second one and change our planning to ‘settle down’. Accidents did not happen and we were free to follow our planning and not ‘settle down’.
If your security depends on people not using browser features, maybe don’t use a browser then. Ultimately, if your security depends on the client being unmodified, you basically lost. You can make it harder for an attacker, but that’s the problem DRM tries to solve (and consistently fails to)
Ask HN: What is a typical vendor loan percentage in an European MBO
I am about to sell my 50% in my company in a Management Buyout. What is a typical percentage for such a loan?

PS. this deal is in Europe.
In any case, it probably is not worth likely legal costs and effort should the other party take legal action. It is one thing to theorize about legal implications, quite another to risk livelihood etc to put it to test. Defending against action takes time and money which amounts to loss in many cases even when you are successful in court.
i only made it to like the 3rd audio sample and this is honestly and genuinely unbearable. great job capturing that feeling. good work.
Public officials would be fine blocking people on their personal accounts as long as they draw a clear line between their personal and official accounts. Trump ran afoul of the law here because he didn’t do that.
I'm going be a little blunt here (so , sorry for the skeptical review).

I think we're still stuck with "network hairballs" dealing with large gene/gene or protein/protein interactions. The video is very pretty ... but has little actionable information.

The workflow is impressive and the navigation ~appears~ to be quick but I have no idea what the nodes and graphs mean.
> There have been plenty of internment camps and political imprisonment which didn't involve mass genocide

Very few, if any, not tied to detention of those with some connection to a specific external enemy power in an interstate war; which is, to be sure, not to justify, say, the WW2 detention of those of Japanese descent in the US, but there are critical differences from the Chinese policy at issue.
News media dramatize situations for views. There is, in life and in business, always a current problem(s) of one sort or another... it's when existential emergencies are vigilantly remediated and replaced by trivial "first-world" annoyances that life or business is good.
> I'm quoting Tesla's CEO

Ah yes, the famously practical and emotionally stable CEO.

You might be interested to know that the last Tesla crash in California was pretty much directly caused by lack of LIDAR
My intent is less "code structure", and more "most of the pieces you need to make a Node project also work in the browser". Imports/exports and Parcel would get liamilan most of the way towards being able to do...

if (window) {
document.write(...)
} else {
console.log(..)
}

...and have it just work, without having to write everything twice.
Hacker News has a "karma" system and a public profile that you can tie to your identity. We even have "celebrities"–or at least, well know posters. Plus, as others have mentioned, it's a fantastic way to waste time.
Legally, they do not, of course. But it's generally considered rude to do something like that with zero warning.
I fail to see your point. I too keep travel pictures with stuff like tickets, flyers etc. The purpose is not to build a brand or show off but to better remember the experience later.
except to the extent such restrictions are prohibited by applicable law

...and here is the key. AFAIK reverse-engineering for interoperability is protected in the EU. IANAL.

As a long-time user (and developer) of web filtering proxies and related software, I also say you should fight this, because it otherwise sets a bad precedent.

Viewing the source code of a webpage is not a crime, nor is changing bits in the memory of the hardware you own.

Also, I know it's too late for that now, but sometimes it's better to be pseudoanonymous when releasing software that you think is somewhat in the gray area.
The reason I don't use SQL enums is that I often can't tell exactly, how many and what values there will be when designing the database schema. Over a period of a few months an "enum" can grow from three to a dozen values, and writing an SQL migration each time is kind of a PITA, to say nothing about merge conflicts. In comparison, writing a validation on the application side is easy.

Am I missing something?
It's great to be writing code at 12 if you want to write code, and clearly this kid has a talent for it, but that doesn't detract from what all the other 12 year olds are doing. So long as they're happy and safe to do what they want to do it's all good. Growing up is not a competition.

Also, while it may seem great to learn early, I've worked with people who didn't write a line of code until they were in their 50s and they were far better at it after a few years than I am despite having 20 years more experience. Some people have a gift. Others have to really work at it. Sadly I'm in the second group. :)
The biggest problem with this strategy is it isn't idiomatic to refer to someone by their full name in many contexts. However given its simplicity, and cultural neutrality, a single full name field should be the default choice IMO.
I'm normally pretty good at this, but I don't get either part of this. What's potentially offensive about a Mr or Mrs Fread? And what's WAF here?
Could this be implemented by doing a google image search for whatever the user enters. Then show the average color of each image.
But is that an evolution of Jazz, or is that other genres picking up its legacy? I mean, Latin influenced a lot of languages, but it's still dead.
> When VCs [...] walk away, that is a really bad sign for a company.

VCs eventually need to post cash-on-cash returns to their LPs if they want to raise their next fund. It doesn't matter if they think the company can do another 10x or another 100x, eventually they just need to exit their positions and mark the book. Now granted maybe it's a sign that they don't think the business will do 10x in the next year, but that doesn't have much to do with the scale on which the business will ultimately succeed.
Hi James!
Have the same problem and basically have my whole life. When I do finally get in the zone I get a lot done but getting there is nearly impossible. I've thought of trying some nootropics to help because its probably my biggest issue and I've tried most other things, and drugs sound easier if they work.
Or maybe allows tourists to have more disposable income to spend, not having to divert it to paying for travel?
Good tips if you want your code to fail randomly on older devices.
Personally, I'm on the fence with enum types... I've just seen too many times when someone thought an enumeration was final and then later it had to be modified or we needed alternative ways to reference it other than a plain string conversion.
Create a live logs dashboard for Laravel
critical review is important, you shouldnt feel cowed against a rational argument, if we all agreed with each other then the first idea that occured would be accompanied by mutual consensus then we would snap to a halt and go nowhere with no variation or innovation
u stoopee
Selling home made DMT
I think it is good he's learning to do the loops by hand first. It's good to have an understanding of algorithms first when learning to code.
A lot of the same pieces falling after one another, sometimes 4 in a row. For deciding which pieces should appear, you should create an array with the 7 unique possibilites for pieces and then shuffle the array and go through all the 7 randomly-ordered pieces before doing the same process again. This guarantees all pieces appear consistently.
Ask HN: Have you ever audited or debugged telemetry code?
I'm not the OC, but my understanding of the context is within an integrated circuit, possibly within a multi-die package, and as an alternative to smaller unit sizes.

> is it an electronic component, that will consequently influence the smooth operation of the circuit?

So, it would be this.
Latex balloons deflate due to helium permeating the latex. IIRC this is proportional to the difference in pressure between the inside and outside of the balloon. (Because the rate is proportional to the difference in pressure.)

The balloon isn't going to deflate completely; eventually the pressure on the inside and outside will equilibrate. The balloon doesn't return to its original pre-inflated size because, I suspect, of some amount of irreversible deformation of the rubber as it stretches when inflated.

But anyway, balloon helium is quite pure, it's typically "Class 4" or "four nines" so 99.99% pure. At the local gas supply place, balloon grade and the stuff used for welding shielding gas are the same thing. While a lower purity might be fine for balloons, it presumably isn't worth it to them to either dilute it with cheaper gas or maintain separate product lines.
Oh I understand the legal implications of doing so. It is possible to both understand something and be disappointed at the same time.
Some times you know a value won't change that frequently. We use them for things like AWS regions we support. Sure AWS may add a few new regions a year, even if we supported all regions though we'd only be at 18. The validation on the application side assumes you never go around that validation, and the reality of data is that it's very possible to do that without a constraint on the database. Of course you can go too far with them when they don't make sense, but they're at least worth considering.
Yeah, I’m not sure higher-level abstraction is right for Go either—like I said, I do think the tradeoffs in the generics design are ultimately reasonable, given the design constraints.

I guess it’s those very constraints that get to me. This is going to sound harsh, but I believe the goal of “simplicity” is already very nearly a lost cause for Go.

The language is large and lacks any underlying core theory, with many features baked in or special-cased in the name of simplicity that would have been obviated by using more general constructs in the first place; the language is not simple, it’s easy for a certain subset of programmers. Adding convenience features here and there and punting on anything that seems complex by making it an intrinsic has led to a situation where it’s increasingly difficult to add new features, leading to more ad-hoc solutions that are Go-specific. This leads to the same problem as languages like C++: by using Go, developers must memorise details that are not transferable to other languages—it’s artificial complexity.

A major source of this complexity is inconsistency. There are few rules, but many exceptions—when the opposite is more desirable. There are tuple assignments but no tuples. There are generic types but no generics (yet). There are protocols for allocation, length, capacity, copying, iteration, and operators for built-in containers, but no way to implement them for user-defined types—the very problem you describe with contracts. Adding a package dependency is dead-easy, but managing third-party dependency versions is ignored. Error handling is repetitive and error-prone, which could be solved with sum types and tools for abstracting over them, but the draft design for error handling just adds yet another syntactic special case (check/handle) without solving the semantic problem. Failing to reserve space in the grammar and semantics for features like generics up-front leads to further proliferation of special cases.

Virtually all of the design decisions are very conservative—there’s relatively little about the language that wasn’t available in programming language research 40 years ago.

I don’t mind writing a bit of extra code when in exchange I get more of something like performance or safety wrt memory, types, race conditions, side effects, and so on. But Go’s lack of expressiveness, on the whole, means it doesn’t provide commensurate value for greater volume of code. But it could! None of these issues is insurmountable, and the quality of the implementation and toolchain is an excellent starting point for a great language. That’s why I care about it and want to see it grow—it has the immense opportunity to help usher in a new era of programming by bringing new(er) ideas to the mainstream.
Ask HN: Have you read Sir Richard Branson's autobio?
What did you think? Is it a worthwhile read? Did you get new value out of it?
Oh wow, when the dog started barking - amazing. This is dead on!
> and this is the tie in, releasing said information on his personal twitter account. Now this is normally fine based on RegFD but he has blocked people on twitter and RegFD is very clear that information can't not be disseminated in a way that isn't available to everyone at the same time.

How does that work when the account is public and can be read by anyone (presumably including any blocked users) by just not signing in?
*lightning
The issue from my (admittedly little) experience is that it's all about edge cases and reliability.

It's easy to make a demo with cameras only but to deal with the countless unimaginable edge cases, you need LIDAR.

The other factor is that you need damn near six sigma accuracy for ML algos for robust SDCs, and while it's theoretically possible to match LIDAR with cameras and current DL, it's impossible to do so with the needed 99.99 percent accuracy for autonomy.
+1 for not recommending build systems
There’s no reason on earth why anyone would consider having their money returned plus a mil a “bad investment,” even if they are a VC looking for 100x unicorn returns.
Who's to Blame for Voting-Tech Problems in AZ's Primaries? Bureaucracy, Probably
Saw a demo of this last week. Cool Tech!