skysight-inc/HackerNews huggingface dataset:
> Why or when would I want to use BSD over Linux?

When you're tired of churn. Network interfaces are still configured with ifconfig (including all of wireless interfaces). When you want to see network statistics, and open connections, that's still netstat.

It's a lot of effort to run proper head to head tests, so I don't know for sure if FreeBSD is faster than Linux, but I've rarely run into bottlenecks that I can blame on the kernel as opposed to hardware limitations (or, more frequently, application bottlenecks).

Edit to add some bottlenecks I recall seeing that are related to the kernel.

1) on FreeBSD, loopback is a lot more real than on Linux; packets traverse the full tcp stack. This can cause issues if you're running TLS in a separate process and you want millions of user connections to the host. Tuning helped, but ultimately, using UNIX sockets, or running TLS in the real server process avoided the bottleneck.

2) I ran into some disk i/o bottleneck upgrading from FreeBSD 10 to 11 that I couldn't figure out. Because our company was acquired and the affected systems were being moved to a totally different environment, I didn't have the time to debug. Basic parameters were write heavy pattern on UFS with many SSDs (6 or 12), latency got really bad.

3) The tcp data structures are not setup well for outgoing connections. You can have millions of inbound connections no problem and accepting connections is pretty much only rate limited to what your application can handle, most likely limited by a crypto handshake in modern protocols, or memory used. But outgoing connections are going to bottleneck on locking/touching the global tables, even if you're using RSS tables. Unfortunately, I don't remember the numbers, but like tens of thousands of connections per second. Getting RSS alignment helped (but it's tricky, the client program has ro compute the rss hash and bind before connect), and putting in a modern hash function and using more of the connection parameters in the hash function helped, and changing how connections are checked helped a lot, but it could use a good refactor by a core networking person. That's not to say they've done poorly, the last time this had major changes was about 20 years ago, and everything works pretty well, until you hit connection rates that would have been inconceivable at the time. This was for an HAProxy service.
Shared Hosting Plans Up to Free Free SSL (HTTPS) More
But: 99% of software projects are made by solo devs or small teams, and shooting for scalability in its many dimensions from the outset has doomed many a project from making it out of the door. (Or hobbled them enough that the "happy problem" of scaling is never encountered)
Needs More Blinky
Libraries don't execute either, unless someone wraps them in an implemented program.

And this is about copyright, not patents, right? Oracle has apparently already lost the patent case.
Discord privacy policy:

In an ongoing effort to better understand and serve the users of the Services, we may conduct research on our customer demographics, interests and behavior based on the information collected. This research may be compiled and analyzed on an aggregate basis, and we may share this aggregate data with our affiliates, agents and business partners. We may also disclose aggregated user statistics in order to describe our services to current and prospective business partners, and to other third parties for other lawful purposes.

For example, they could do sentiment analysis on corporate chat, track it over time, and see which companies show patterns indicating trouble. Then they could short the stock, buy put options, or suggest to their "current and prospective business partners" that low-ball acquisition offer would be appropriate.
How on earth did they verify a 30k long number is prime?!?
Try beginning a problem towards the end of the day that you look forward to finishing and solving the next morning. That will create positive anticipation. That way, you can’t wait to get started. It can be something trivial or more difficult.
That is a sad comment, I learnt a lot from OPs article.
As long as they don't alter the search results to give those links an advantage, I have no problem with them using affiliate links. It makes them money to absolutely no loss to me, right?
GOES-16 covers America, if I see it correctly (currently on mobile, sorry).

Does anyone happen to know if there is something comparable for the other side of the pond, e.g. Europe?

I tried to search ESA, but haven‘t found anything (again, on mobile, so that might be the reason).
That's a good question.

The first thing that came to mind for me was the bad, namely Toyota's unintended acceleration debacle some years back.[0] If anything this illustrated (at the time) a woeful lack of any proper software engineering practices at Toyota that was to some degree indicative of a larger problem across their entire industry. No doubt this was due in large part to Japan's corporate culture and their admirable-yet-deleterious work ethic.

As far as the good, the first place I thought to look was Hideo Kojima's games, namely their engine technology. The history of the Fox Engine[1] and in particular the Decima[2] engine appears very interesting. Kojima games are almost always bleeding-edge with respect to rendering technology.

There's of course Nintendo. I had a friend who worked in software QA there, and there wasn't much good to say about it. That said, it was some years ago and one person's experience in one location.

Japan used to be a leader in robotics, though I'm not sure how true that is anymore what with Boston Dynamics in the spotlight in recent years.

To answer your question however, my guess would be no, probably not—Japan is likely playing catch up right now in terms of software practices. The Japanese development teams and researchers that do output quality, I'd imagine they just use common sense good practices recognized internationally. Namely: hire high-caliber talent, pay them well and don't overwork them. Quality usually follows regardless of any specific methodology.

That said, it'd sure be really cool if they were harboring some hidden gem software practice that the rest of the world could learn from!

[0] https://www.safetyresearch.net/blog/articles/toyota-unintend...

[1] https://en.wikipedia.org/wiki/Fox_Engine

[2] https://deathstranding.fandom.com/wiki/Decima
Challenges of real-world reinforcement learning
> * A declaration of instructors’ pronouns and a request for students’ pronoun preferences. - Asking for students' pronouns is good practice and the professor should use them if provided. It is unreasonable to demand that professors provide theirs. It should be understood that if pronouns are not explicitly stated then individuals wish to go by their biological pronouns.

I must be misunderstanding this. If I were teaching a class, am I really expected to solicit every single student for what their preferred pronouns are?

I'm fine with people's pronouns, but it is so rare, how does it make sense to ask everyone?

I actually know a trans person, and she told me that she hates how some people are constantly drawing attention to trans people.
But Firefox (and Chrome) on iOS are using the Safari rendering engine right? Or did that change?

Also, he said ‘default’; Siri etc still opens Safari or iOS Maps instead of Chrome or Google maps even though I never use Safari or Apple maps. You cannot change that or can you?
> The way you want think this man should cleverly manoeuvre out of people thinking he's behaving badly is by being deliberately malicious?

Sure. When people are trying to sabotage his courses by continuously injecting their political, highly leftist and non-CS-related agenda into it, his response should be as malicious as humanly possible.

What's next? Should we let flat-earthers dictate how we teach science?
Man, you've brought back memories from school when I tried writing recursive Java code that spawned a new thread at each recursive call. Suddenly, a program that used to execute in seconds pretty much locked up the whole workstation for five or ten minutes before I killed it.
Deploying ML Models in Distributed Real-Time Data Streaming Applications
This is the advice I give early stage startups... don’t waste cycles learning the AWS stack, and getting locked in. Just pay for a cheap VPS, and scale it vertically as you grow. By the time you outgrow vertical scaling you should have the revenue or funding to figure out your at scale architecture.

You’d be surprised how much you can handle with a single beefy VPS or dedicated.
We evaluated using it at work to replace App Engine Flex and unfortunately it was not ready for our use case:
1. There is no liveness/readiness check nor a way to move the traffic between versions, so you'll have downtime at every deployment
2. The only way to rollback to a previous version is to redeploy, no support from the web interface
3. There is no way to SSH to an instance (not so important)
4. You can't connect to Google Cloud MemoryStore (hosted redis)

Scale to zero + instant deploys would make cloud run a great candidate for staging environments deployed on every pull request but it's not quite there yet.
Now I’m even more confused. That sounds completely different from copyrighting an API.

Why shouldn’t a company be able to copyright the implementation? That’s the work they did.
Automating Lead Generation/Email Crawling with Python
I'm feeling a little sensitive right now about your use of "you". It feels very direct, hostile and threatening to me.

I would appreciate it if you could rewrite all your HN posts to exclude the use of "you" and rather use alternate grammatical forms.

It's not a big job really, so you shouldn't have any possible reason not to comply.
That's what the market wants. Too many buyers who don't care about what's under the hood
Building an Image Downloader with Multiprocessing in Python
In my experience Google is a lot better if you don’t know what your searching for (the search “movie head box” returns the movie Se7en in Google and some old movie called “Head” on DDG) but infuriating if you do, as it will provide 6 ads, 8 different “answer boxes” and then link to low quality spam sites below that.
... or you just deploy it on any VPS or bare metal with dokku installed: http://dokku.viewdocs.io/dokku/
How Slack Ruined Work
Yeah those will be losses...If it closes at $1900 then will have $900k in gains from exercising but it looks like it cost at least $1M
Interesting I'd assumed the recent outbreak (https://www.health.govt.nz/your-health/conditions-and-treatm...) was due to a drop in vaccinations, I stand corrected.
Yea honestly a jockey'd horse is hard to beat, since the human can pace them. Wonder how wild horses would fare a human chasing them to exhaustion.
I can understand the desire to increase productivity, but I often think we too easily try to combat our nature. For example, I tend to be very unproductive for a lot of the day and then have bursts of incredible productivity during which I do more in an hour than many do in half the day. I tried to fight that, but realized that the way my brain works is I map things out in my mind in almost an unconscious way, I mull over ideas (also semi-unconsciously). This is followed by a burst of productivity. This works for me and I've come to realize I don't need to fight it.

But since I'm aware of this, I've changed some things. For example, during my "down" time, I try not to get get too deep into other mental pursuits, I avoid dealing with things that might cause stress, etc. Basically, I try to ensure that when I'm ready to switch to productivity mode, my mind is clear and I'm ready to work. I'll even try to do some things that are arguably productive, even if it's not productivity towards my main work goals, for example reading documentation or guides on new tools I'm using...that kind of thing. Nothing too hands on or deep, but something that does make me better at my work.

I think you need to accept that's how you work and admire the diversity of creative/productive/mental "styles". Actually, you said it yourself! "I often need around 30 minutes of wasted time to make my mind to actually start working." What's the problem then?

So I don't really have direct advice for you. If it just takes you 30 minutes in the morning to get going, so be it. Have a coffee, do some reading while you ready yourself mentally for work.

The other variable number of distracted periods during the day is probably the bigger (or only) issue as I see it. For that, I'm afraid I don't have much advice, but maybe some of the points I made above are relevant.

EDIT: one way to think about it, perhaps, is that whatever your brain needs, it's going to get one way or another. You can't just ignore it indefinitely. Like, if you just tried to use sheer willpower to stay focused when your mind is begging you for a little break, you might be able to delay giving into that for a bit (which might actually be fine), but make a mental note that you're feeling the need for a break and schedule to take that in N minutes or later that day - basically at a time during which you reasonably feel it might be less problematic to be in your less productive mode. Point is, rather than trying to deny your nature outright, you can use your knowledge of yourself to reduce, what you perceive to be, the ill effects of your style. So plan around your tendencies instead of trying to ret rid of them.
Digital sleuths unravelled the mystery of Iran's plane crash
Do you have evidence that race is used? I’m almost certain that would be illegal.
Well perhaps I'm the one that's confused then.

> Why shouldn’t a company be able to copyright the implementation?

This is what a software license is - software licenses are, to my knowledge, just a form of copyright.

The question here is if the API is copyrightable, not just the implementation. In my opinion it is, the API is, as you say, part of the work they did.

Honestly I feel like I have to be missing something. Articles like this exclaim that there is a consensus among programmers that I'm wrong, so I feel like I've got to have misunderstood.
People don't like answers thank make them think, they need easy answer, use B but not A and that's it.

Totally agree with you, the author of the comment is absolutely right. The question couldn't get better answer.
Make Your Own Bubble in 10 Easy Steps (2013)
Man, don't be so harsh to yourself, your circadian rhythm won't change just because you want so :D I spend 1 hour each day in the same way, from 7am to 8am, and I bet there are a lot of people doing so. Instead of trying to make each single half an hour "productive" you can just be human and let yourself be adapting to waking up at 5am. If you can't but think it's a waste, avoid needing your analytical brain for something like chess and prepare breakfast for your kids, write poetry to let yourself go and drop into emotions, or dedicate time to some small housekeeping duty. All the time we live is somewhat "wasted", it's just as meaningful as we assign value to it. Don't stress yourself too much, people living in the countryside one hundred years ago used to live by the the sun, and they had so much time to "waste" that you wouldn't think possible, and I don't consider old farmers "lazy people" just because of that.
You have confused the branch with the release.
What is the API going to look like?

Maybe just a simply array with the list of services to be shut down in the order provided? This should be enough for hobby and smaller projects, bigger projects will have plans/people in place anyway.

It is not that they can't do it - we are talking about a company with insane technical ability and resources. It is just that they don't want to do it.
Isn’t that a bit like saying cars don’t drive unless a driver gets in them?
Nope, original English shows. What's frustrating is that my wife uses subtitles for learning how words are spelled, but the words spoken aren't the same as the ones written!
Any particular law does not exist in a vacuum. It exists within the context of firstly the constitution, and secondly all other statutes and previous court decisions.

Supreme Court justices have the authority to determine the constitutionality of a law, and they have the authority to determine how a law should be interpreted in a given case (with essentially unlimited discretion for applying their own judicial ideology).

However, they have no authority whatsoever to determine the social merit of a law. The legislature has the sole authority to legislate, and the constitution prohibits either of the other branches from usurping that power. It is far beyond the jurisdiction of the Supreme Court to determine the merit of a law in any way other than its constitutionality.

Anybody who expects the Supreme Court to act as a safe guard against otherwise constitutional law, that they simply don’t like, is undermining the separation of powers detailed in the constitution, and will be sorely surprised when they find out that’s not what the Supreme Court does.
Looks really cool, but this statement

> Nota approaches identifiers much differently than any other language.

is not actually true. Goldman Sachs have an internal language, Slang, which also allows internal spaces in identifiers, and where identifiers are case insensitive. I believe it originated as an MIT research language so probably there are others with a similar approach.
Voices. Music. Emotions. Whimsy.

Try this episode of "The Memory Palace": http://thememorypalace.us/2012/12/dreamland/

That's four minutes twenty-five seconds you might find not wasted. And none of the information in it is likely to be useful to you whatsoever.

I listen to podcasts while I'm doing the dishes, cleaning the floor, cooking, tidying the house, sewing patches, reseating the heatsink onto a GPU. No need to be driving.

Pop songs are usually an incredibly inefficient way to consume information too, but I listen to those a lot. I wonder if you do.
What are the image errors?
This reminds me of a parable I like.

A man once asked Mozart how to write a symphony. Mozart told him to study at the conservatory for six or eight years, then apprentice with a composer for four or five more years, then begin writing a few sonatas, pieces for string quartets, piano concertos, etc. and in another four or five years he would be ready to try a full symphony. The man said, "But Mozart, didn't you write a symphony at age eight?"

Mozart replied, "Yes, but I didn't have to ask how."
I don't know, is it? I don't like analogies.

This comes down to what is and is not copyrightable. 'Code', whatever that is, very obviously is copyrightable - hence licensing. 'APIs' are now being separated from code by Google to support their claim that they did not violate Oracle's copyright.

To me, if I write a program under license X, it is strange to me that someone can reimplement my program's API under an incompatible license Y. To me, that violates my license, and software licenses are enforced via copyright protection.
It's about demographics. Whatever demographic is being caught cheating is probably also a "minority" demographic not exceeding in academia, making the school "look bad" for "not being inclusive enough".

So for the school to be "more inclusive", more of that demographic needs to pass. And then we just have to stop catching them while cheating.

This is typically the error where people force-optimize for the numbers asked alone, instead of thinking about what they can do to make those metrics appear naturally.

And as usual the results are just bonkers.
Just tried it out with a German show I watch. I think the issue is that the native language subtitles (English for me) can have subtly different literal translations than what might be on the screen in the original language. So while the English subtitles can convey the same meaning, the word-for-word translation is going to be off. This is fine, really, and any language learner is probably already aware of this.

Otherwise, the implementation looks great. Easy, simple to use and intuitive controls. The running list of subtitles on the right is nice. To your point about playback speed, maybe it's just me but I like the challenge of trying to keep up with the foreign language and it helps with developing my listening skills (I also really don't want to watch children's shows). I think the ability to toggle the Auto-pause more or less solves this problem, at least for me. Would still like a Firefox extension though. This will be the only instance in which I use Chrome.

Edit: Hmm reading the other comments here, maybe this is actually a problem with the translation itself? If non-native speakers are noticing instances where it's off it seems there might be a quality control issue.
Indeed, the market for food is more fragmented than that for a large video audience. That's why it's a screwjob by Google. And it's a good reason to break Google into pieces.
We always see the anti-Oracle/FreeAPI’s regards this story, but I’m curious who out there is on Oracles side in this? Are there any other major players or even small ones that people know of that would like to see Oracle win this case ?
I don't think people are defending the service just because it's free.

We simply cannot expect something to be had for free without making money to support the service. Unfortunately, one way to monentize the service is to sell user data.
News flash: it's not 1975 any more. Real human beings use computers, and name files, all by themselves. Some real human beings even have apostrophes and spaces in their names, which they often like to use in the names of their own files. Welcome to the future.
guarded_open_np guarded_close_np change_fdguard_np

https://opensource.apple.com/source/xnu/xnu-4903.241.1/bsd/k...
Make a cane which changes in length every 3-5 minutes via a small internal piston.
> A person who believes that the gender gap in computer science is solely because Men and Women are different is not the sort of person I want teaching

So you don't want people who deal with facts and science to do teaching. Gotcha.
Mac OS 8 and 9 were licensed to 3rd parties under Gil Amelio. That all ended, and the clones as well, when Jobs came back.

NeXTStep (or perhaps more correctly OpenStep) > Rhapsody > OS X. None of that was licensed to 3rd parties.
In that case you could just proxy requests via low income countries to get a cheaper service?
Somebody has to pay for a climbing gym that will impress potential student candidates.
I'm on Google's side professionally because it affects my livelihood directly.

I'm on Oracle's side dogmatically because I think there's nothing in the law that says they can't copyright an API.

I'm on neither side personally because I think this whole case is a massive failing by the law to adapt to new use cases.
I like to put U+00AD aka &#173; aka &shy; invisible soft hyphens into my long file names and variable names, so they break correctly when displayed in formatted text.

https://en.wikipedia.org/wiki/Soft_hyphen

Margaret­Are­You­Grieving­Over­Goldengrove­Unleaving­Leaves­Like­The­Things­Of­Man­You­With­Your­Fresh­Thoughts­Care­For­Can­You­Ah­As­The­Heart­Grows­Older­It­Will­Come­To­Such­Sights­Colder­By­And­By­Nor­Spare­A­Sigh­Though­Worlds­Of­Wanwood­Leafmeal­Lie­And­Yet­You­Will­Weep­And­Know­Why­Now­No­Matter­Child­The­Name­Sorrows­Springs­Are­The­Same­Nor­Mouth­Had­No­Nor­Mind­Expressed­What­Heart­Heard­Of­Ghost­Guessed­It­Is­The­Blight­Man­Was­Born­For­It­Is­Margaret­You­Mourn­For.txt
You are definitely not lazy! It takes me a good 20-30 minutes in the morning to get situated once I’m at my desk. Sometimes that time is spent just reading email and catching up, sometimes it’s checking HN, sometimes it’s messing around on my phone. But I don’t feel guilty about it because I’m paid for results and not my time in a seat, and sometimes I need that time to just chill and collect myself so I can keep getting those results. As long as you are getting your work done on time I wouldn’t worry at all about this.
Are you hosting the database on the same instance? Also, how are you doing automatic backups?

Thanks