skysight-inc/HackerNews huggingface dataset:
Yeah, I think that article has a misunderstanding of how evolution works.

Copper may well be impossible to develop a resistance against, but it’s not due to the mechanism above. All anti-microbials also destroy their enemy cells, but for some, it’s possible for a random mutation in the population to provide resistance to the antiseptic.

So the question is: is copper like alcohol and fire? Or is it like antibiotics and other more “nuanced” antiseptics?
> It has taken more than 4,000 years, starting from the first love letter – carved in stone for a Sumerian king in the 8th century BCE – to crack the code of love.

Comes off a bit self aggrandizing. Still, time will tell if this method really works
Been running a hackintosh for more than a decade, but had to install windows 10 after a long hiatus (for a family member's computer) last week. It installs, I press start and there is an ad (or something) for Candy Crush there? Like seriously? UX is overall a mess. I couldn't even manage to disable updates (to do them manually). I do 3-4 month long computations or uninterrupted data collection sometimes, how is that supposed to work even with auto-restarts and all?

I use Linux for all server stuff but man, macOS spoiled me for desktop.
Nice!

I added an issue because the flags of Switzerland and Vatican should be a square.
WebSite Auditor Keyword Map
I did not know about this, thanks for the pointer. Tons more at https://en.wikipedia.org/wiki/Antimicrobial_copper-alloy_tou... and https://en.wikipedia.org/wiki/Antimicrobial_properties_of_co... and https://en.wikipedia.org/wiki/Oligodynamic_effect
It's easy enough to implement correct API usage semantics in a program of any size.

If you need to rely on RAII in order not to screw things up, then it's an issue with the coding style or the application design. That's what needs fixing. Not the language choice. You got it backwards.
I wonder if we will see this being used in professional sport?
Also, there really are a lot of people that are just that unapologetically racist. I see a few people commenting that they don't think that actually happened. Ask just about any brown person if they believe that would actually happen today. I bet most would say that a comment like that isn't surprising at all.
> Unfortunately our current go build model hasn't followed solaris/macos approach yet of calling libc stubs, and uses the inappropriate "embed system calls directly" method,

Go, as of version 1.12,uses libSystem in Darwin to make syscalls.

1. https://golang.org/doc/go1.12#darwin
No, it doesn't take more or less physical stamina. Like factory work, it varies depending on location and the job for the day. Factory work is hardly ambitious either - most folks know that is a dead end job that isn't going to go anywhere. I've found more chances for this stuff in retail.

Most folks don't do retail for fun. Those that do will also do a number of other part-time jobs for fun or whatever reason. Most folks working retail, though, are doing it to eat and pay rent. Sometimes having a flexible schedule is necessary. A great number of places have chances to move into management, sometimes moving out of poverty wages.

None of this means the folks aren't ambitious or motivated. You simply don't recognise it as such because they are doing what you consider to be a "lower" job or not doing enough to meet your personal criteria.
Darwin/macOS has the same rules as Windows and the BSDs--syscalls are private API--and it's extremely popular due to iOS. Linux is in fact the odd one out here.
But regular GCs DO run at the end of the program, so my question was, why don't they just skip the final cleanup.
Micro-frontends are indeed a solution looking for a problem as others have noted. They remind me of the ball of mud that was Java portlets.

No team(s) wants to maintain a SPA written in multiple frameworks. If you truly must, embed a component written in framework X into a component in framework Y.

The embedding of components is a good way to re-factor your way out of having multiple frameworks and migrating towards a single framework. We've been doing this successfully at work where we're incrementally migrating our AngularJS + React SPA to Vue one component at a time.
No, I mean that in Far Cry 4 they literally copied most of the characters and repurposed them for the new skin of the same game.

I mean, yes - they had more weapons/new animations/etc, but the quality of the experience suffered.
PD is in the patent, so it should be publicly available.
Because I run noscript. Mostly, when a site requires javascript for static content, I just hit back and move on.
Neat... although I can't help but wonder what would happen if the structure catches fire. I mean, would the entire neighborhood end up smoking it secondhand?
While true, the company was founded in July 2003 and Musk joined in February 2004. The first Roadster prototypes were revealed in 2006.

Acting like he hitched his flag to an already successful company is disingenuous.
For sure static types are no silver bullet; no one in this thread is claiming otherwise and anyone who is making that claim is wrong. And of course various languages like Haskell and Java and C# have a productivity toll (although I’ve heard the latter two have improved considerably since I last used them), but I think almost none of that is due to static types intrinsically. Haskell’s productivity toll is due largely to its insistence on functional purity, bizarre syntax, inaccessible and jargon-laden culture and documentation, and general lack of attention to practical concerns. Java and C# suffer from an abundance of boilerplate, a large feature matrix, a bunch of baggage from an era where inheritance was shoehorned into everything, and similar “enterprise” cultural baggage (“IAbstractBeanFactory”).

A good counterpoint is Go. Despite being far more familiar with Python (it’s my professional/work language), it’s static types actually help me write correct code more quickly than I can with Python. Your mileage may vary, but I think anyone who has given Go an honest shake will find that it’s at least in the same productivity ballpark as Python. Note that this isn’t considering tooling or deployment, or performance where Go specifically excels over Python (and also often due to static types).

Of course, with sufficient investment in testing, you could get the same confidence with Python that you get in static languages, but writing tests is a productivity cost as much as boilerplate or a pedantic compiler. And with static languages, I often find that I can write fewer tests for the same confidence (in fact, I often prototype in Go and backport to Python).
The plan for containers on Solaris, after rejecting injecting libc from the host, was to have users rebuild all containers after OS upgrade. Windows has to virtualise containers with an incompatible OS version. It is definitely less convenient than Linux.

OpenBSD does have somewhat different constraints and they seem to think this will work for them.
I've used 1Password for this in the past. Maybe you should ask they switch to that?
People still play Second Life?
Right! I found it: https://news.ycombinator.com/item?id=19188205.

Thanks for remembering!
The issue described in this post is the same issue that drove me to stop using IRC and XMPP.

I’m all for open protocols and interop, but I’ve had an online stalker since dialup (Winsock). Building a system where anyone can message anyone is the same problem in each system.

Anti-spam is not the solution. Harassment (and spear phishing) issues will not be solved by anti-spam.
Are you a perfectionist?
I don’t think that’s true. Everything takes ~20 seconds to index my machine. I think Everything reads NTFS file table directly. Maybe you didn’t give it Admin privileges?
100% of the spam messages I receive on various platforms (Especially IG) are fake women personas so I'd say their example is pretty spot on.
> This latter property is important as it means that no mutation can occur

I am extremely sceptical of that statement.

Edit: google for <mutation copper resistance> shows papers that might be relevant arguments that support my skepticism.

In context we are talking about microbes that are developing unbelievable resistance to high concentrations of alcohol: “The alcohols essentially shred the microbes' outer membranes, causing molecular mayhem and the germs’ innards to leak out. In high concentrations, the alcohols are quickly fatal.”
> What would be the security concern with allowing syscalls only from preauthorized (ie msyscall(2)) regions

Who preauthorizes them, and what prevents more from getting added?
I don't know. I was dismissed the next day. Never got to see how the trial turned out.
> what roughly is the half-life of antibiotic resistance in populations of bacteria?

That's almost certainly gene specific.

Think about human resistance to Malaria: there is a pretty strong downside.

There are probably other resistances humans have that don't really have an active downside aside from enlarging the genome.
If you're on Windows, Auto HotKey is the ultimate tool for automating day to day little things that are hyper specific for your daily work flow. For everything else there's Bash / some scripting language.

You can end up with really big quality of life improvements from having a bunch of little things whipped up to solve your problems.
One interesting thing for you may be Class-Data Sharing feature that keeps already parsed class data across restarts and can re-use it with other JVM instances running same code. It also allows JVM to share these data in memory with other JVMs running on same host so in some use cases it can both speed up startup time and save memory.
There's some precedent for chopping out the GC for short-lived applications. DMD, the (self-hosting) D compiler, does this, effectively using a push-only stack for the heap, never doing anything akin to freeing memory. [0]

In modern GCs, allocation is already as fast as can be (pointer-bump allocation), so I imagine the only win in chopping out the GC is that you don't need to initialize the GC (it's otherwise roughly equivalent to simply terminating before the GC needs to be invoked).

Perhaps the DMD example isn't quite the same, though, as it's possible its GC has slower allocation than pointer-bump.

[0] https://www.drdobbs.com/cpp/increasing-compiler-speed-by-ove...
Yes, it's hard in both sides. I'm one of those people who got good grades in high school physics (I was able to solve problems), and still thought that satellites were kept in orbit because "there's not gravity" (or is too small). And I was genuinely interested in learning.

Part of the problem is the lack of time. Both teachers and students need to cover all the topics in one semester/year, and it takes time to assimilate and integrate the knowledge. Add to that that as student, you don't know what's important, even when you're told so, if you're told at all. That's why we can hold contradictory models in our minds. They're good enough to solve some problems, but conceptually wrong.

I think that a possible solution would be to keep the grades open. You get a B in physics-101, since you got a flawed model in your mind, you got to physics-201 where new experiences show the problems in your model and force you to correct it, and now you prove you achieved a knowledge that deserves an A.

I know, that proposal it's impractical, and time consuming, but I think that's how most of us really learn.
I love 10 (as far as Windows goes). 8 was a flop, but in my opinion 10 is a slam-dunk. It is to 7 what 7 was to XP. Other than the annoying thing where your profile has to be tied to an online account, I don't understand why anyone is still holding out.
Creating a subreddit to test an idea has gotten more attention than I thought
Hey,

You should think about free ways to test out your ideas before syncing money or time into them. I actually was trying to find beta testers to an encrypted file transfer platform for businesses ( https://www.notion.so/incryptfiles/incrypt-it-5825dac60f4e42a0b4245394570cb4e3 ). Trying to get people to sign up was a bit slow because I was posting it in a few different areas of Reddit and other social networks.

We really thought it made a lot of sense to reward those willing to spend their time testing out our project when it launches, so the idea was to give testers lifetime access to the paid tier. A perk that could actually be worth value in the future if the project was a success.

So that got me thinking, why not create a subreddit with that premise and see what happens. So I created https://www.reddit.com/r/BetaTestersNeeded/ with the idea that people could post their beta projects and offer unique perks that would be a reward for beta testers. Within 3 days, more than 500 people joined the subreddit.

So my recommendation is to think of free ways to try and test your idea without spending a lot of money. It may turn into something bigger than you thought.
Well, there was also the MC Shell, you can get a copy from here (in case you get an attack of nostalgia and have a VM or a spare old-old machine available):

http://reboot.pro/topic/752-mcshell-a-shell-look-a-like-to-m...
> But regular GCs DO run at the end of the program

Which GCs do that? I'm not aware of any.
In 2018 iRobot sold 1.08 billion dollars worth of Roombas with a 50% gross margin.
And apparently tons of entities throughout the county just went on with budget increases to the tune of 4.4 million from one year to the next and no one anywhere asked any questions... it seems almost unbelievable that everyone just didn’t notice or noticed without questioning any of the numbers. It might have been caused by a single error but the effects and shortfalls where widespread and significant.
And so what? founding a company is the easiest step (a little bit of money and paperwork). executing to make it the world leader in electric mobility is what really matters. So your point is really irrelevant.
I worked at a place where coding was not my job (it was technical support) but I wrote some scripts that automated some stuff. It was handy and everyone liked it.

Then someone in the process changed things that the scripts did not understand.

Management came running to me upset that this thing I automated didn't work. Being technical support managers most didn't understand (not all but most) that when you change things you need to tell people before the day of and they were quite upset with me.

I had saved them enormous time over several years ... but the result was I really just kept doing the same job I always was, not rewarded, and then the day they changed their processes without telling anyone they got upset with me.

My incentive to automate anything for them ever again was gone.
Dynamic languages can be strongly typed. Meaning a dynamic language can have better type safety then a static language.
(I'm not speaking for any of my current or past employers, just for myself, and how I've seen this play out. One employer being a telescope impacted by Starlink, and the other being SpaceX, I want both sides to succeed.)

First, astronomers know that satellites can disrupt observations. They've known for a while, and have had to deal with things like flares from Irridium satellites, which were probably when these problems were first taken seriously. (It was a design defect where shiny panels would reflect the sun in a very efficient way).

Astronomers use all sorts of image processing, because satellites aren't the only noise in the picture. The CCDs have to be kept cryogenically cool, and there's all sorts of electrical noise as well. There's not a lot of photons being collected in the grand scheme of things, so dealing with the noise floor is a real problem. There are all sorts of ways for removing tracks. And don't forget weather!

Now, that being said, even I was confused why this would cause a problem. The satellites are in low earth orbit, so low that they won't be able to reflect the sunlight, since they are in earth's shadow. Only during twilight and dawn will satellites be in the right position to reflect the sunlight back to the ground off of some panel.

Now, these are not prime observing hours for many people, since it is still not as dark as it could be. So most people point into the darkest parts of the sky (up) rather than at parts where there is still twilight (like nearer the horizon).

But for some types of observations, like near earth asteroids, you want to point into the evening sky to look for them, since that is one of the places you want to look, and the sky conditions should be good enough. In these pictures you'll get streaks of light as the satellites pass through.

Even if there is no light reflecting, these satellites could occlude a distant star or galaxy momentarily. You wouldn't see a streak as much as the light would go away and come back. This would affect how bright you see the star, since over the time of the exposure (let's say 30 seconds) you'll collect less light while something is blocking the light. This can also make it a bit more tricky to look at variable stars, where the light gets stronger and dimmer naturally.

I would say that astronomers definitely knew about these problems, since they have to deal with all sorts of similar problems, but the pitch didn't get fevered until people saw the first set of Starlink satellites and just how bright they were. SpaceX moves a lot faster than astronomy.

As for SpaceX not thinking about the astronomical implications of Starlink, I could believe that. I think most of them were more concerned with if it is possible rather than the implications of doing it. As much as I would think the two fields would know more about each other, I find they are very different and run in different circles it seems (launch vehicle industry vs astronomers), so I could easily see not much cross pollination between the two. For example, there were lots of NASA astronauts and air force people visiting SpaceX, but I don't remember one astronomer (not that I met everyone).
This is a good solution, but only for transitions, you should strive to get rid of the older one as soon as you can develop. But at least you have an incremental path rather than a big bang at the moment you need to switch and that can be a huge advantage. Another HN'er here did a port like that on a pretty big website and nobody was the wiser change was happening until it was all done.
Interesting Features in Programming Languages
Even after looking at the examples, I have no idea what this software does, what problem it is supposed to solve, for what I would use it, nor what the input and output are supposed to be, nor any of the examples, which are not self-explanatory to me.

The live demo doesn’t work on my phone as well. It only shows the jsfiddle header and menu but no content.

The only thing I’ve understood that this is about parsing and extracting URLs and possible typos.

For starters, what does the first example try to achieve? What does the input syntax mean? How do I interpret the output?
RaboBank, here in New Zealand, translates to something not really nice in Brazilian Portuguese (rabo means tail, but is common slang for ass/arse).

Bunda, jewel store in Australia, literally means butt in Brazilian Portuguese (not slang).

Not really a brand I think, but the Tintin character also means male genitalia in Japanese. (it's also common in Brazil to toast with drinks saying "tintin / chin chin" because of the sound that glasses make, which gets a few jokes among the Brazilian-Japanese community.)
Yes it has been shown that having successful friends will make yourself more successful. Putting your kid into a school for rich people will more likely lead to rich friends later on.
This is the #1 reason I don't use Ebay much any more.

When searching on Ebay, I use a sort of binary search on page numbers. The algorithm goes like this:

- Set number of results per page to the maximum allowed, 200.
- Scroll through results on page 1. Item I searched isn't found?
- Scroll through results on page 5. Item I searched isn't found?
- Scroll through results on page 20. Item I search is found?
- Scroll through results on page 10. Item I searched isn't found?
- Scroll through results on page 12. Item I searched isn't found?
- Scroll through results on page 15. Item I searched is found about half way down?
- Scroll through results on page 14. Item I searched is found about half way down?
- Scroll through results on page 13. Item I searched is found about half way down but it's spares & repair only?
- Ok, I can begin *really* browsing what I'm looking for from half way down page 14,
and expect the density to increase with each page.

The process is restarted with each new search query, so it takes quite a long time to hunt for things worth buying if I haven't decided exactly what I want, and that's why I don't buy much from Ebay any more.

But if I had to infinite-scroll to get to the first useful result at item #2800, for each search, it would take so much longer.

I'm pretty sure Ebay could improve this UX by segmenting search results.
Be careful. It’s really difficult to back out of that link (at least on mobile).
ljsyscall for example calls into the libc syscall() wrapper. Most ffi type APIs can’t generate assembly for calling directly.
I fully agree, but I still think it's good that people learn how to code. Why? Because it's good to know a little bit -- just a wee little bit -- about how computers work. And while you could just get a good description from a book, nothing beats hands-on experience, which is easy (and mostly fun, initially) to get when it comes to coding.

I think of it as learning a little bit of math or science -- good for your general understanding of the world, and how the thing that is your interface to most of the world operates, it's basic functions and limitations. It's even a bit like learning civics or economics -- as code makes more important decisions every day, a naive yet fundamental understanding of omgow these things work among the general population helps a lot. Everyone should learn how to code a little bit as part of a general education. If you want to do it professionally, then yes, learning problem solving and automation is the way to go.

And it would be nice if people practiced a tiny bit of debugging, so we could see fewer horror tales from tech support.
I wish I could upvote this many times. This "just so" reasoning about evolution is basically pure pseudosience, and yet it is so prevalent in so many books, seminars, videos of today... It's like people assume that if they just think up of some reason that would losely make some vague sense and use some of evolutionary terms, if there is a way to picture a mechanism that they are describing and if that mechanism in the picture would have some evolutionary mechanics - that it automaticallt means that it applies to reality, to our physical historical evolution and the exact way that it played out; that they understand the evolutionary traits of those behaviors/qualities...

It's like they think that just because evolution itself is basically a status quo in the scientific community, then any other random preposterous bs argument that you make about it, or just use the evolutionary terms in, would somehow automatically by association have as much predictive power/internal coherence/pure basic connection to reality as the evolution itself. It's a disgrace this is so prevalent nowadays... It is a clear sign that whoever writes the content is no real scientist.
Unless I'm missing something, the only reason you'd run a GC cycle on termination is to invoke finalizers.

If the platform doesn't feature finalizers, or if it is known that they've not been used, there'd be no point at all.
And then there was paypal.
MIT EECS Department Reconstructed to EE, CS and AI
Now if they would just compensate jurors atleast at minimum wage. The current rate barely pays for the daily public transportation costs.
The valid reasons for M:N threading are reducing syscalls on goroutine spawning, and avoiding the overhead of the kernel scheduler on context switch.
Alternative question: really fast and SEO optimized personal sites?