skysight-inc/HackerNews huggingface dataset:
I know. But for me personally, the `io::Reader` and `io::Writer` is still not comfortable enough. Mainly because it's return values, `io::Error` to be specific. Because I found that in many of my cases, predefined `io::ErrorKind` is not enough for me, this results my abuse of `io::ErrorKind::Other`.

In Go, `error` is an interface that can later be asserted, so I can return any `error` then deal with them as late as I need.

This gives me ability to write some complex `io.Reader` and `io.Writer`. For example, an `io.Reader` that can Decode data stream, and returns both CodecError and IoError when it encountered any.

In Rust, if I want to write a similar thing, a HPACK decoder that returns both `io::Error` and `HPACK::DecodeError` for example, I need come up with another `Result` type that wraps both errors. This can sometime be tiring and makes the code inflexible (As one simple change to the `Result` may effect the entire call chain up and down).

BUT ... Maybe it's Go's fault, it treats me too well, make me want something that I cannot have for free (performance cost) else where.
What's the point of this requirement? Python doesn't have "the one" either, does it mean its not web ready?
adding some simple mapping to decide what to display would not add much size to this lib.
I Took My Barbie Doll to Colorado
Break Key
The summary of the study the article mentions and links to doesn't show if the trend is an average of some sort or if it's the result of a more self-selecting sample region.

Unfortunately between that and only having first-hand local culture knowledge, I am unqualified to speculate in a meaningful way about the differences in culture and environment.

Also, just because a trend is increasing does not also mean that there's an underlying masking effect or that there isn't overall convergence. Ideally at least similar studies would be performed on a global basis if a global comparison is occurring.
If its important enough to put in on boarding, its important to have it handily available through easy to access means during regular use.
Well people often argue that part of the reason we're making this planet inhabitable is because there are too many people on it, so they have a fanciful notion of moving some of those excess people to another planet. which is sort of nonsensical.

However spreading your species across two self-supporting planets makes a planet ending catastrophe less likely to destroy your species.

The knowledge gained from any large engineering/science project is often applicable in unforeseen ways, although I have to think it should be easy enough to see how doing a trial run making mars habitable might translate into ways to save the Earth from becoming inhabitable.
Detecting the Magnetism of a Single Atom’s Nucleus
C is not used in the embedded space for 'political' reasons but for the fact that in contrast to C++ you have full control over what your program does and don't have to worry about when certain functions get magically called and why the size of your two-int struct is suddenly way larger than the 64 bits you expected it to be.

Sure, this is all a matter of 'using it right', but from my experience many developers in the commercial embedded space are not programmers by trade and this learning those intricacies is a real hurdle for them.
Or update packages?

NPM land is the only place I really have to be wary about package versions, because otherwise, even when following 6-months old tutorials you'll end up with nothing working due to breaking changes between library versions. And there are just so many dependencies to keep track of...
I am surprised that Google Photos does not have a "find similar images" feature. Even a basic one such as this k-means stuff would be useful to me.
(2011). But more relevant than ever, seeing as "too many assholes" now includes small asshole entities with bot armies. I think Anil's declaration that it's a "solved problem" is a bit optimistic as well. Youtube and Facebook have some variation of all his recommendations implemented, but they still get overwhelmed by all the negativity.
I bet the end users are not setting up the phones themselves and the younger people doing the setup skip all of the prompts except WiFi.
> These days OS threads are a totally viable option for building highly concurrent network services on Linux. Spawning hundreds of thousands of threads works fine and is fast enough for most applications.

I don't agree. If you're at the point where you need to handle such large numbers of concurrent threads, my own experience and online benchmarks clearly show it is not fast enough. Why are none of the top performers on the TechEmpower benchmark using a thread per connection? The simplest answer is that that can't or they would, since it would be a waste of time to reimplement so much in userland.

More anecdotally, I have been unable to get my Fedora laptop to spawn more than a few tens of thousands of threads before the kernel tells everyone that "resource is temporarily unavailable" to any process that attempts to spawn a new thread or process until the offending process is stopped. I've googled the issue extensively, tweaked countless knobs, and come up empty handed. I'm certain the Linux kernel can spawn more threads than that, but my point still stands that it is nontrivial.

In theory, that's a great perspective you presented. However, the async interfaces into the kernel exist for very real reasons.

I would also challenge you (if you're bored) to write a C, C++, or Rust program that spawns 1 or 2 million threads that do nothing but sleep for a very long time, and write a similar program in Go. See how the two compare in how long it takes to launch all of the tasks, and see how much memory they use. Ideally, you would also use, say, Rust futures + tokio and spawn a million sleeping futures to compare there too, but futures and tokio aren't the most intuitive or well documented things yet, in my opinion.

I've done similar tests in the past, and OS threads are not a lightweight resource.
> hidden functionality

Easter eggs?
just wait.
The World’s Fastest Growing Economy Has the World’s Most Toxic Air
If you check the timestamps, I actually posted this before writing my reply to you elsewhere in this thread, but the post was killed immediately. Maybe HN has a naughty word filter banning people from mentioning MoviePass in threads about YCombinator startups.

Dunno why it came back, guess some other users thought it was informative enough to vouch for.
Not only that but it's possible that life surviving in the presence of oxygen might be a rare occurrence as far as life goes. One of the reasons terrestrial life is mostly aerobic might be because we're all the very few survivers of the Great Oxygenation Event which killed almost all the life on earth. If something like that didn't happen in the history of evolution in other planets, they might not have evolved to ingest oxygen.
It's amazing the extent that Chinese crap covers in meeting product market demands. I could see why some people will just chance it on cheap electronics like a Chinese GoPro when the real thing is already expensive and may be 4-5x the price. But what's infuriating is when obscure things like fake ear plugs and knock-off lighters get delivered to you because it's so unexpected it becomes nonsensical. Lower value discretionary things are now prevalently faked to the point that it makes you wonder why the hell would someone go through the effort of manufacturing and shipping a product that brings in such a small profit after fees and expenses unless millions of items were being sold. In the end, sellers supplying cheap crap through Amazon now have a huge market in reach, Amazon makes more money from more transactions, and customers are stuck hoping Amazon will still provide proper support and refunds for legitimate purchase issues.
I'm okay with Claudia being banned from the page. I still would like to not get reminded every time I set down my mouse on your site...
> help people to get the job they want rather than selling data to companies

I think that's better indeed. If the model is to sell data to companies, it may feel to the user that you're telling companies which companies they're interviewing with, etc.
Yeah, there are so many crazy benefits just by naming your file `.ts` and writing vanilla JS. People can go as lightly or as deeply as they want once they understand how tsc works.
For what it's worth, your grandparent comment didn't ask any questions, particularly about potential downsides of migrating to TypeScript. Perhaps there is a different comment where you asjed such questions?

In any case, happy coding
I know a few people who - even after trying - can't make "force touch" work properly. I love it and try to show them. But they can't seem to make the effort to learn it.
Set theory is a foundation for modeling abstract structures. Category theory is a foundation for modeling abstract structures together with structure preserving relationships between them.

(Once one has identity relationships then in fact the structures themselves can be disregarded and one is left with a study of simply structure preserving relationships.)
Not if you do it in an Apple Store, at least in my experience.
I used to love https://en.wikipedia.org/wiki/Kneeling_chair as a kid.
Why I started blogging? (And Expectations)
I enjoy coding in Rust, and I think it's a step in the right direction, but I'm still looking for a general purpose programming language which model IO/State effects the same way languages supporting functional programming do with pure functions. Haskell monads are not granular enough. The closer thing I've seen is Purescript, but still is not general purpose enough. Solidity's "pure" annotations are a step in the right direction, but I'm speaking about something much expressive. Also, it should have a Rust/C-like syntax in order to be able to be mainstream, but I'm happy with Haskell-like syntaxes.
Having actually asked this question of Steve Jobs at a town hall for interns (& having worked at Apple later as a full time employee) and it is 100% in the DNA of Apple to try to make things intuitive without needing to reference a manual. There's a reason they don't include anything more than a getting started guide. That a manual exists and is high quality isn't proof that they intend or even expect the typical user to use it. A lot of it could also be for SEO purposes so that if you're searching for a question the top hit could be directly from the manual rather than a random blog post.

I have a feeling they also rely on less tech savy users buying in-person at the Apple Store where their sales staff can do whatever custom 1:1 training is required.
Indeed -- interop works _very_ well.
His argument is that a man who always walks with crutches will have his legs atrophy and that writing is a crutch for memory.
Do you guys have any feedback on my blog, or what I should change/fix?

* font

* spacing

* colors

* add more projects to the projects page? (should I include the dead projects too?)

* write extensively(hobbies,childhood,job history,current status) on about page?

* add a share to HN and Reddit buttons?
Plastic particles found in every human subject of international study
Why try to help sub-Saharan Africa before solving problems in the Western world.
> Sargon of Akkad and CountDankula joined UKIP and are out there speaking out about their brand of alt right/lite YouTube politics.

I must say, I'm not so sure it's the British liberals (Sargon) and former unironic communist comedians (Dankula) who are pushing "alt right" politics on YouTube.

To quote Sargon of Akkad in an interview published a few hours ago: “After the 20th century, liberalism is the only [political] ideology left standing with any moral credibility. Communism and fascism have both failed catastrophically, and the worst human disasters in all of human history were because of continental collective ideologies like communism and fascism.”

Given that the alt right is basically defined by a respect for that same continental collective ideology (ethno-national socialism), it seems that Sargon of Akkad is a tremendous critic of their ideology, not a purveyor of it.
> I highly doubt we will stop the government from

Self-fulfilling prophecy.
That what was said to the populace. In reality, first gen beidou sats already had functionality to provide atomic clock signal and advanced station keeping. The accuracy was quite lower than from leo GPS sats, but still.

The explanation that beidou 1 was a glorified, super expensive satellite pager, with navigation functionality as an afterthought does not hold water. This "explanation" came much later than the commencement of beidou 1 project.
How Much Cash Should a Small Business Have? – SlickAccount Blog
> In Rust, if I want to write a similar thing, a HPACK decoder that returns both `io::Error` and `HPACK::DecodeError` for example, I need come up with another `Result` type that wraps both errors. This can sometime be tiring and makes the code inflexible (As one simple change to the `Result` may effect the entire call chain up and down).

Well there's stuff like error-chain to take care of the boilerplate...

Also, I believe you could define the equivalent of Go error in Rust as a trait and box it (ie. a trait object). It could be used much the same way as in Go with the additional benefit of Result being a sum type. I'm personally not a big fan of this approach but I guess it might work...
We are creating a platform called 100. So, if the user sees a Wifi with 100-something, they know its our platform and can access it by entering 100.here in the url. So Johns bar would call it 100-JohnsBar, a salon would call it 100-TopSalon...
HN is a weird place, so weird I was downvoted for being excited about the future.
What a scary thought... leaving TS and going back to JS.
Not a grad yet but I'm level 15 of 21, currently doing an internship at ford.
As for 42 it's not for everyone, you have to be a self starter and you have to be driven.
I came to the school because I wanted a place that would help focus my studies, I think that if you can relate to that you would do well here.
There's another side of the medal. Merchants that are trying to sell anything on Amazon have to have some positive reviews, otherwise their product will not be sold at all, even when the product is great. I guess that here two factors contribute, the product is being outranked by others, which have good reviews, and users not trusting such products.

I totally see how in this chicken and egg problem merchants would choose to buy some fake reviews.

Now, add the problem of lack of transparency in reviews, i.e. there's no record of rejected legitimate reviews, no record of removed reviews; and now you have a dysfunctional system. No one is happy about it, but it degrades both quality of Amazon and trust in it.
c9 helped when I was back in college. The desktops there were locked down with preinstalled tools. c9 was better than what the college had, and I didn't have to worry about saving my work. Once I was home I could sync the changes.
Don't bother trying - its not possible in todays political climate for people to be enlightened as to just how much damage has been done to the world by the 'intelligence' community. The CIA is the #1 source of conflict and trouble in the world - but American citizens have a very hard time with the self-reflection required to see this fact. This is by design: their society has been engineered to allow the secret spooks to rule, comfortably, without interference from public policy makers.

Time and again, we see the CIA, and other of US' TLA-agencies, directly causing world turmoil - and yet a blind eye is turned, because "at least its our guys doing it", etc.

The world would be a much, much better place if American citizens paid more attention to what their spy masters are doing in the world. Secrecy is the lynchpin of all corruption: the fact that American's worship their secret-keeping institutions as beyond reproach, the reason we have so much turmoil in the world.
I think nobody is saying WASM is better than a „native platform API/ABI“ at solving all problems. It‘s simply a (potentially) viable alternative for scenarios that are way more common than everyone thought at first. And in some situations, it‘s the only solution (e.g. you won‘t get native APIs on the Web).
Seconded. I keep going back to the modern JS world every couple months, because either the job or a side project requires it. And I still can't get used to things.

I still remember my first attempt, years ago. I shopped around for front-end frameworks, and picked Ember, which was in vogue then. I proceeded to create a default "hello world" with ember-cli, only to discover the newly generated project had ~70k files in 150k folders. I bailed out immediately and went back to jQuery.

The situation in Node-land is much improved now, but I'm still uncomfortable with so many moving parts you have there, all constantly changing, which can - and do frequently - break at any moment. And just when I think I finally have things under control, my professional front-end developer friend comes out and says, "no no no, you're doing it wrong; throw out library X and use Y instead, add webpack, and while you're at it, use Yarn, and here you have this config which adds a newest linter...".
> But, why fixate on turning one planet into “habitable” while we do the opposite to the one we are already on?

Because we will eventually turn this into an inhabitable and will be needing a new one, you stupid. :D

But seriously, "saving the planet" makes us less likely to expand (expansion needs some gradient where the new place has something better than we have here), so why would life want that?
That could readily explain the drop in IQ for younger siblings: Their older brother clued them in on this detail.
Next-gen Jira
Or option 3: Bloomberg is was fed false information by the US government to cultivate distrust of Chinese sourced electronics. Not a bad tactic if you want to prevent Chinese infiltration in sensitive industries while also using it for political and economic leverage.
Harassment of woman led to sucker punching of good Samaritan at startup's party
You are likely to be eaten by a grue.
Remember attribution.
I'd call this the Will Riker chair.
There were no other desktop workstations at the time, Solaris and Windows didn’t exist for years.
I'm looking into building a state-management system for React with Pyodide. Yes, it might add 3mb to the downloads, but that should be acceptable. It will probably use some kind of asyncio work-alike which will use Web-Apis to perform what asyncio normally does.
Online metronome
Ask HN: SaaS subscription management with plugins for different payment methods
I am looking for an app opensource or paid, which let's you accept different payment method on site like wire transfer or bitcoin and credit card and many other like options.

Is there any such opensource system or paid application you know? How do you handle multiple payment methods in your apps?
I find the font suboptimal to read, and the loads of bold text doesn't make it easier. The line breaks seem strange, some lines are a lot longer than others. It looks like every comma is followed by a line break?
Everything I Knew About Reading Was Wrong
Our product is designed for people who ARE LOOKING for local info. For those who arent, the business can set it up so that it works seamlessly - the way you stated it.

But in some instances, such as restaurant ordering system - it may be more convenient to order from your smartphone directly. In that case its useful.

Another use case that we are already having is - event translation. The attendees WANT the live streaming - so they join the wifi, go to the local webserver and get the streaming. If the local server is not there, the sound quality is sometimes poor because the same signal is coming in parallel to all the users from a remote server.

In short, its designed for people who ARE LOOKING for local information.
Why do all coffee shops look alike? The End of Authenticity
> A decade ago you just downloaded a library and put it in the folder you were writing in.

And you run software by downloading a .zip, unpacking it and executing the program in that folder.

I miss the times when both development and use was that simple. And it was what, like 10 years ago?
Some of their practice does suck, but it does work nonetheless since nearly everyone end up finding a decent paying job after graduation. You could find bad things about the public institutions too (some people complaining about coding on paper, outdated etc).

As I said "This kind of discussion will end up being the typical (French) disdain between people learning engineering in the public schools v/s the ones learning in these "practical teaching" private schools and vice versa."

At the end of the day, both ways work. One is free if you fit the public education.
Google? Are you sure you're in Vancouver?
Yep, Big Dipper as part of Ursa Major translates to something used as a wine vessel about 2 to 3 thousands year ago.

https://en.wiktionary.org/wiki/%E6%96%97
Buzzfeed! My trusted news source!!! /s
Maybe bell bottom pants will come back in fashion!
> The gold standard here is Undo. You have to shake your iPhone (or giant iPad Pro) to undo an action.

The most useless of the bunch, maybe that's why nobody even bother to mention it?
I think the big part of the problem is that people don't know what their device or software can do and what is possible to do with it.

Once you show people how to use a certain feature they get on quite easily.

Insane amount of productivity is lost because a lot of people don't feel comfortable with their digital tools and think they have to live with whatever default settings are.
> Not necessarily received, but at least seen them and verified that the described thing actually exists. If they don't even have a single frigging photo that they can show us (up until now they have only shown CGI renderings that they fabricated themselves showing how it might have looked), then that seems to imply that they haven't done any due diligence.

I don't know about you, but I certainly couldn't get a photo of the motherboard of a dev server I work with every day, let alone take a reporter to go take a look at it. That doesn't mean I don't have accurate information to base a story on, and it doesn't mean someone else can't corroborate that information.

Reporting isn't about gathering physical evidence, it's about gathering and cross-checking testimony and documents. If credible people in the government and an NGO testify that there was a poison gas attack at a certain location, a reporter can legitimately write an article about it. That reporter isn't going to sit on the story until they go to the attack site, collect samples, and sent them to a lab; nor should they.
What ever happened to those things? Seems like they were everywhere in the 80's and then they all disappeared.
Randomized inflating bladders under your toe and heel, change your shoe type as you walk!
I used to subscribe to this kind of simple genetic determinism.

I've since had cause to pursue a path in life in which I've become deeply aware of the other influences on intellect, cognition and judgement, which include the emotional environment (trauma, abuse, chronic fear/anxiety) and the nutritional and chemical environments.

From researching this topic extensively over several years, I'm confident in the belief that even if embryo selection were to help at all, it won't help enough to overcome these other factors.

Conversely, there’s a lot than can be done to help people improve their cognitive ability, regardless of their genetics, by altering these environmental factors.