skysight-inc/HackerNews huggingface dataset:
If the country is not stated, then it is presumed to be the US on HN? This advice is from another country, so check if it applies.

Take math extremely serious. I was TA for the math 101 module and out of 240 students, 140 registered for the exam with less than 40 passing. The big problem was complaciency. In the tutorial consisting of 20ppl students were probably ranking themselves, so I believe the thinking went like this:
"well as it looks I am as good as almost all the other fellow students around here, well, maybe except these 4 guys in the first row, they seem to play a different game, well nevermind"
Only these 4 mentioned guys passed. This is surprising for them, since in high school only the worst students failed.
If your college forces the distribution to a bell curve, then nevermind (but still the math at uni is a different game). Actually what we saw in the exam results was a double peaked curve.
People should also adopt the "five" vs "niner" idiom from aviation to disambiguate those two numbers.

Fun fact, the donkey that was the model for Donkey in Shrek was named Niner, and lived in Palo Alto.
It's not like Rust or Golang will magically save you either. I've been programming for a long time, C is my main language, so that's what I started using at the time and what I'm using still today. We worked a lot on performance and stability, so hopefully it won't suck nevertheless ;-)
Ask HN: How to Generate Animations Programatically?
I have a task to generate an animation programatically. There is one animation and a list of names, for which I need to generate separate animations.
What is the best way to do this? I'm thinking about creating the base animation (with sound) in SVG and create one for each name, then capturing the animation into mp4.
Since this is the first time I try to generate videos programatically, I wonder if there is a better way to do this.
> So I guess the problem is that I’m not convinced that the thought experiment generates objectively ethical outcomes, only subjective ones.

But that's also literally what it's supposed to do. It's a device to poke around and figure out your positions, e.g. are you into consequentialism or do you prefer deontology, are there circumstances that can change your position etc.

I often find people (not you, people in general) rejecting thought experiments, because they are not comfortable with their intuitive decisions and they feel that it will be exposed when they're forced to apply it to a hypothetical situation that does not leave them an easy out ("this wouldn't happen, I don't walk near train tracks, ever").
Bright spark – study physics free
Why you have to download and install Bright Spark – Study Physics for Free on your android smartphone or tablet?
⦁ It’s very easy to use so you need just to install it for free on your device and use it instantly.
⦁ Bright Spark team has developed the Physics Spark App based on micro-learning and need-to-know learning strategies.
⦁ Learners can compete with one another based on the scores they gain through exercises.
⦁ Physics Spark App analyses your failures while solving exercises to find out the reason behind them.
⦁ Learners have the opportunity to find many learning materials in different subjects to expand their knowledge within the desired subject.
⦁ Our developer team adopted the example-based learning strategy.
⦁ We are committed to including our users’ standpoints and feedbacks in all parts of the App. So, we have decided to grow the content chapter by chapter.

Features:
⦁ Easy to Use
⦁ Physics exercises with Hints & answers
⦁ Multiple options to learn
⦁ Beautiful Visual
⦁ Video & Text Tutorials
⦁ Physics Quizzes
⦁ Micro-Learning & Need-To-Know Learning Strategies
⦁ Latest News & challenges
⦁ Clean UI interface
⦁ An amazing way to teach different topics

Bright Spark – Study Physics for Free is a new refreshment in this popular app category. If you want to learn physics in a smart way, you'll love our free english physics learning game.
Download it for free now, and enjoy learning physics while having fun!

We are always striving to provide the best user experience for our players. We are also looking for your feedback, suggestion or recommendation.
Please, feel free to email us let us know from you so we can continue to bring you the best experiences and updates!
The article does mention that...
1. A large (and growing) chunk of the industry considers object oriented programming to be absolutely terrible, but that's what they'll teach you in college. Learn functional programming and data-oriented programming in your spare time before your mind has completely set into OO. Make each of the three approaches intuitive. It will be way better for you down the road, and it will help you actually evaluate which approach is best. There's a lot of dogma on each side.

2. In my opinion it's cliche to say "social skills are more important than just the ability to program". Totally depends on what you're actually doing. If your job is to optimise server farms, they're going to pay you based on how many CPU cycles you save, not your ability to present to management. If you measurably reduce power consumption, you could be completely mute and it would be fine. You'll earn crazy money.

Play to your strengths. If you have poor social skills, find a niche where that doesn't matter. A good heuristic is whether performance is measurable. If it is, it matters less that you have trouble communicating it.

3. "Minor in Something Fun" is common advice & fine if your degree was cheap. It's terrible advice if you're going into $150k of debt. If something goes wrong in that situation, you're screwed. Minor in something that you can fall back on.

What if you develop RSI and lose the ability to type large volumes of text? That's the point of a minor, it's a backup plan. Life is unpredictable, when you have $150k of non-dischargeable debt it's much better to have a minor in "engineering" than "ultimate frisbee".
You have me beat by 20 years, sir.
Not necessary, std::map::map(&&) is free to move just the internal pointers and bookkeeping data, only dumb implementations would move the memory blocks where the map data is actually stored, as per ISO C++ requirements.
At least I've seen Machine Check Exceptions on x86 CPUs about L3 ECC errors on non-Xeon CPUs. I'd presume also other levels are protected.
Ah I just read through the code to figure this out, because I wanted to know what other formats exist. Should’ve checked the comments first. Thanks :)
Anybody can make Ozone, but how do you propose getting it high enough in the atmosphere?
Is this in danger of being undone by Trump's antics?
Ask HN: Why do $5 VPS offerings still have the same specs as 10 years ago?
2012: Digital Ocean (or equivalent) offered VPS's with 1gb RAM and 20gb disk for $5

2020: $5 still gets you at most 1 vCPU, 1gb RAM, and 20-50gb SSD.

Why is there no price innovation happening? Cloud offerings seem to be static, despite cost reductions and other progress.
I flew multiple aircraft in the same class and category while doing my PPL and had no problems. At this point there's old enough that's there's nearly as many differences between two C-172s as there are with a C-172 and a PA-28. Yes, it took me more than 40 hours but I blame that on scheduling, not the aircrafts.
In a sense, it doesn't matter if the patents are valid or not, but isn't the rule that you have to apply within one year of making the invention available, and shouldn't including it in a release count for that?

(Maybe that rule changed with the big changes around first to file and expiration based on application instead of grant date.)
Except that a hybrid rocket engine burning something like e.g. PMMA is also easy to throttle, and doesn't blow up like a mixed mist cloud of keosene/LOX.

Also, fire != explosion. The former is only hot, the latter has a tendency to throw shrapnel.
To me, they look like how I imagined the main alien structure in Peter Watts' Blindsight.
60 days severance is mandatory, due to the WARN act.

Interesting. Here in the UK the statutory minimum is something like 1 weeks pay per year of service, where a week is capped at around £400. It's ludicrous, but it's what companies like IBM pay when laying off workers. It's strange to see a situation where American workers have more protections than workers, well, anywhere else!
Not just redundant. "Over" means you're done talking now, so you shouldn't say anything else afterwards, even "and out".
Not the op, but I guess they meant the person with far more than average system design skills, but with an average 1 person budget for a hobby project.
If you insist on brotli compression, sure.

And if you don’t pay attention to your network costs, including CDN costs, sure.

There are always going to be cheaper solutions than AWS. But now you’ve got at least one piece of your infrastructure that is more likely to be custom built, with custom components, and possibly more difficult to maintain.

How do you compare those $332 S3 bucket costs against the thousands or tens of thousands of dollars you might be spending on the salary for your people?

You’ve got to look at the total cost of all your operations, not just a single line item.
Or you can add more blades. Of course, you eventually hit a limit no matter what.
For sure. Which is why in the early years I just did my thing. Win the benchmark battles and move on with my life. But then this whole React Hooks thing came about. And Vue Composition API. Even Svelte 3, and I was like.. there is a better way. I tried to convince those libraries of this but hit walls. So I just kept writing articles and demonstrating it. And here we are today. Some else posted it on here and for the first time I believe it is on the front page of Hacker News. Years later.
You can search here (or Google) there are all sorts of analytics about what does well when, but it probably changes with time and current events
Quick, get Elon on the phone!
It doesn't change the dilemma ghost for the guy that has to eject her, though.
A very computer-centric theory ;-). I think it has some merit, but there can be more factors.

I've also had the eye looking problem, and yes, it was uncomfortable and harder to concentrate. But now it I'm around 30 it has become quite natural. Not a parent, but what I imagine might help besides 'just trying to do it' is seeing the use and fun of eye contact:

* Explain eye contact helps people understand you are interested in them. Of course hopefully you have some real, friendly interest in someone ;-). Friendly listening to someone and looking at them is a good step to getting more familiar/friends.

* Maybe help her recognize more of the expressions in and around the eyes. It is a very interesting part of the face. And you don't have to look someone exactly in the eye to see most of it... Besides angry/sad/happy, what are the little signs that show someone is becoming irritated, lost interest or getting bored, is thinking, is messing with you, disagrees (but maybe too polite to tell), etc. Recognizing it in movies, and possibly imitating the expressions can also be a 'safer' step.

* It works two ways. You let others see more of you by looking them in the eyes. You have to open up in a way, can get more self-conscious, and thus uncomfortable. Looking someone in the eyes can make them trust you more, helps them see your intentions, if you really mean what you say, that you know what you are saying... But you may just want to start opening up some more with people you already feel comfortable with.

Still, eye contact is culture dependent. For me, what helped me were these motivations, and that I forced myself to have on estimate 100+ little wel-intentioned conversations with strangers per week (Jehovah's Witness).
Not sure what you were expecting: at the very foundation of WebRTC is SDP, which implies negotiation, and with endpoints supporting potentially different codecs, negotiation is very much important whether you like it or not. That's why the VideoRoom plugin does need to take that into account. I won't get into the discussion of how complex a fork is to maintain: I always hope people contribute back what they add (assuming it's generic enough to fit the project and not customer-specific), rather than keeping it to themselves.

That said, the vast majority of people don't really need to write their own plugin, or even customizing existing ones. What we foster a lot is leveraging existing plugins as much as possible, maybe combining them at an application level, and not reinvent the wheel, and it seems to work for most (it certainly does for us, for our own applications).

On the Lua demo, it is indeed a bit more limited than the C counterpart (we clearly didn't invest as much time on it), but I'd disagree on the "incomplete" part. All the relevant parts are there, and most importantly, it's supposed to be much easier to extend and modify than the C version. There's at least one big company we're aware of that's using it in production and is very happy with it.
From my experience, Qt/QML is way better for things like that.
I mean, the UI does not need to be responsive, does it?

Maybe they couldn't afford the Qt license.
This is cool --finished a deep dive of SwiftNIO all the way down to the IETF "TAPS" specification (ah, good 'ole Courier font, brings a tear to my eye).

Will my soul brother, the great chrome dome Werner Vogels, be joining the flamboyant users of the most advanced hair care products ever invented on stage this year during WWDC to announce new support of Apple? macOS instances that can be spun up and down from Screen\ Sharing.app? Xcode compile farms that work seamlessly with a new iPad Pro edition of Xcode? Apple-subsidized (so free) access to all AWS for developers? (oh, I can dream)

If not, then there's nooo way I would use Swift outside of The "ecosystem" (first time I've read that expression used inside of Apple's own documentation, albeit on a GitHub project), though I might use SwiftNIO back ported to iOS to do something cool with Multipeer and ARKit.
lol, either your reading comprehension is poor or your understanding of the '92 riots is... or both, I guess. That was a response to your question about what one could mean when saying "1992 will look like a joke", and I answered that question exactly. Do you not understand how usernames work?
This was already resolved favourably by both parts. This article is from April.
Choose between Formidable, Busboy, Multer and Multiparty for file uploads
How to create dazziling of social media posts
Hi everyone! I think in the time we all rushing and want to get results in a snap my last article is useful.
It is a complete insight about how to create dozen of social media posts in just 8 minutes. More than 80 posts in 1 hour.
Let me have your feedback about :-)
What about bzip2, and various other compression algorithms?

What about compression and decompression time, and CPU utilization? Do you look at single threaded or multithreaded implementations?

There are so many questions left unanswered here....
Reasoning about code. Creation of inscrutable bugs. Forcing to create convoluted hierarchy of data structures to work round the problems this convenient 'feature' created.

The kicker for me is it is perfectly possible to use Flex in a one-way data binding manner. Just wish I'd worked that out 13 years ago!
Snap CEO sends memo on inequality; calls for reparations to address injustice
Great move, hope to see such memos by other tech leaders.
Except that the real Dragon capsule has automated docking. The on-board computer does it.
I noticed personally that people who are attracted to power are also attracted to being a cop.

In my own school there was a bully who used to bully smaller kids together with his friend. Notice that he always needed his friend, and always needed the kid to be smaller.

Years later I saw him in cop uniform. My first reaction was WTF, but on second thought it made perfect sense.
Why's that? We wrote it to be functionally identical to the Lua plugin (the code base is the same), so engine and language apart they should behave pretty much the same way. Is there any known issue or limitation you're aware of?
Electric sparks make ozone, so clearly what we need is nuclear powered tesla-coil zeppelins to produce it in the upper atmosphere.
I think it's like the Shinichi Mochizuki mathematical proof.

If they can't play the game are they really part of it?

How do you know if you perceive true information?

I can tell you Magic Leap is a BS company and won't make any actual money. But so can lots of people. So is that 'information', the answer is no. Real information is when it will fail.
> take it easy and do whatever makes you happy

Great advice if what makes you happy also happens to be lucrative. I did this, and it was a huge mistake I'm still paying for 7+ years later.
How much of the development work is done by Qt the company compared to the KDE developers? Is a fork feasible?
I did not expect Stallman to offer such lame thinking.

> The reason, in real life, why killing someone is ethically different from letting someone die is that real life is full of surprises: the person might not really die.

Just like a cancer patient might always spontaneously get cured and you'd be an ass for cutting them open. Life is full of surprises, don't take action, ever!

> For real driverless cars, the trolley problem never arises: the right thing to do, whenever there is a danger of collision, is to brake as fast as possible.

Wow, why didn't anybody ever think of making the car just stop? Like, have we tried talking to the car and asking it not to have malfunctioning brakes? What if we offer the car a nice oil change later in exchange for behaving and not running people over?
I downloaded a .syx and loaded it into Dexed. About half the patches don't make any sound, but the ones that remain are pretty good. Various classic FM sounds in the Sonic the Hedgehog vein.
Janus only supports WebRTC, and WebRTC doesn't support MPEG out of the box (to be more precise, it's not in the codecs list any endpoint supports). Besides, streaming happens over WebRTC, not WebSockets: we only use WS as one of the alternative "transport" protocols for the Janus API, so just signalling.
You can't trust most people with a gun. That's the problem. Guns also bring tension to most situations. How often do you visit people with a pistol attached to your hip? Do they all go, "Oh, yeah, feel even safer now that you're here." Probably not - they're worried you're going to do something stupid and shoot them.

No one I know feels safer with armed police around and tensions frequently escalate with them around. We all go, "this man has a gun and could kill us - he will do it too because he knows he will get away clean and free."

Training isn't sufficient. If there are real consequences for police and it shows that they face the same consequences the rest of us do for many years - maybe then. But that day will not be for 10+ years. For now, it's much easier to say and act on taking away their weapons that are meant to kill people.
> while commercial developers of immoral proprietary software have been required to license the toolkit under a commercial license.

I wish free software advocates would stop calling proprietary software immoral. If anything, free software underlies and has enables the locked in, sever based, surveillance monetizing world we live in.

Back when software ran on your machine, you defacto owned your data because it was on your machine. Now, because the data is not on your machine, you don’t own the data.

Selling proprietary software for money is a lot less immoral than using free software to sell user data for money, or using scale to run roughshod over regulations which seems how a lot of software engineers are ultimately paid these days.
Open source sustainability: It's complicated
Pick one programming language and learn the hell out of it.

One way of deciding which language to choose is by surveying the top ten languages over the last 5 years and comparing it to the most common language most of your courses will be taught in. If your school is teaching Pascal or COBOL, the survey of relevant programming languages will help you avoid making the mistake of learning a “useless” language.

Then pick a nice tome, (I personally use the Deitel series) and just go through it faithfully for the next few years of college and after until - and this is the important part - you complete it.

You want a book with complete examples - not snippets of code. You have to type out these examples and have it run. This works in the skill of being able to write complete code of up to 200+ lines without breaking a sweat. A very valuable skill to have going into your senior year and the first few years of work. You don’t want to learn this on the job.

Learn the fundamentals of the language(loops, conditions, etc), learn data structures and algorithms and then learn to create GUI applications. Learn networking and databases. Learn everything in that one language. Again it’s important that you pick a general-purpose language to learn. You are not picking a language for its speed or unique characteristics, you simply want a language in which you can do everything.

And after all this learn to make simple games in that particular language or any other broad projects that you find interesting. I recommend game programming because it usually brings every part of the language together in one application, helping to keep your broad skill set sharp.

I’m also going to throw in a schedule you can use. Ideally aim for one week to complete a chapter, meaning a minimum of 2 hours every other day within a week. This weekly consistency will probably set in after your first year but if you stick to it, I can promise you from personal experience that you will master programming.
Deutsche Welle press team getting shot at in Minneapolis
How was it resolved, sorry?
I did something very similar for handling webhooks (but can also be used for anything else), check it out at https://github.com/adnanh/webhook

People have used it in various segments, from actual deployments on push, to home automation, someone even wrote a guide on how to control the Xiaomi Robot Vacuum using the Amazon Dash button :-)
Dude, just let him have his fun and stop with the needless negativity. You don't know what the future holds and being rude for the sake of being rude, says quite a bit about you as a person.
I quite liked The Changelog's interview with him too: https://changelog.com/podcast/201
The $5 droplet used to be 512MB of RAM not 1GB AFAIK
Observability: Profilers vs. Tracers
+1 for Physics. It's not easy, but you'll be learning some very powerful tools for thought and modelling complex systems, so totally worth it.

In case this is help, here is a short printable tutorial on mechanics fundamentals: https://minireference.com/static/tutorials/mech_in_7_pages.p...
which is a condensed summary extracted from the No Bullshit Guide to Math & Physics a short book on mechanics and calculus. You can see an extended preview and sample chapter of it here: https://minireference.com/static/excerpts/noBSguide_v5_previ...
Without trying to be funny, perhaps you should use a camera then and not a phone, to take photos? You're already in the realm of your device doing many more things than "the thing".

As for scanning automatically, no camera app based scanner I have witnessed performs any action in response to finding a QR without user input. Of course this could still happen accidently or by the QRs content finding some vulnerability.

At the end of the day, I think QR scanning in the camera is the obvious solution to non-hacker-news-browsing-people, and to make it go mainstream it needs to be accessible.

In spite of the above, I still agree with you, and use a barcode scanner from f-droid myself.
Basically in the US companies with 100 or more employees have to give 60 days notice before doing a mass layoff. If they don't give the notice, they can give equivalent severance instead.

UK has notice AND consultation requirements.

https://www.gov.uk/staff-redundant/redundancy-consultations