skysight-inc/HackerNews huggingface dataset:
Since this started by citing me, I feel somewhat obligated to defend my guidance.

I stand by it.

In an ideal world where apps are totally regular and load is equally balanced and every request is equally expensive and libraries don't spawn threads, sure. Maybe it's fine to use limits. My experience, on the other hand, says that most apps are NOT regular, load-balancers sometimes don't, and the real costs of queries are often unpredictable.

This is not to say that everyone should set their limits to `1m` and cross their fingers.

If you want to do it scientifically:

Benchmark your app under a load that represents the high end of reality. If you are preparing for BFCM, triple that.

For these benchmarks, set CPU request = limit.

Measure the critical indicators. Vary the CPU request (and limit) up or down until the indicators are where you want them (e.g. p95 latency < 100ms).

If you provision too much CPU you will waste it. Maybe nobody cares about p95 @50ms vs @100ms. If you provision too little CPU, you won't meet your SLO under load.

Now you can ask: How much do I trust that benchmark? The truth is that accurate benchmarking is DAMN hard. However hard you think it is, it's way harder than that. Even within Google we only have a few apps that we REALLY trust the benchmarks on.

This is where I say to remove (or boost) the CPU limit. It's not going to change the scheduling or feasibility. If you don't use it, it doesn't cost you anything. If you DO you use it it was either idle or you stole it from someone else who was borrowing it anyway.

When you take that unexpected spike - some query-of-doom or handling more load than expected or ... whatever - one of two things happens. Either you have extra CPU you can use, or you don't. When you set CPU limits you remove one of those options.

As for HPA and VPA - sure, great use them. We use that a LOT inside Google. But those don't act instantly - certainly not on the timescale of seconds. Why do you want a "brick-wall" at the end of your runway?

What's the flip-side of this? Well, if you are wildly off in your request, or if you don't re-run your benchmarks periodically, you can come to depend on the "extra". One day that extra won't be there, and your SLOs will be demolished.

Lastly, if you are REALLY sophisticated, you can collect stats and build a model of how much CPU is "idle" at any given time, on average. That's paid-for and not-used. You can statistically over-commit your machines by lowering requests, packing a bit more work onto the node, and relying on your stats to maintain your SLO. This works best when your various workloads are very un-correlated :)

TL;DR burstable CPU is a safety net. It has risks and requires some discipline to use properly, but for most users (even at Google) it is better than the alternative. But don't take it for granted!
Is there a way for multiple people to simultaneously share their screen with each other
For people wondering why this is bad: Let’s say you have a DNA test that’s 99.9% accurate. If you find a suspect through normal investigative means and then test his DNA and he matches, you‘ve almost surely got the right guy.

If you geofence the crime scene and test/Ancestry-scan the 10,000 people who went through the crime scene that day, you’ll get a DNA match for 10 innocent people, and a lay jury won’t have the statistical fluency to understand how the two scenarios are different.
Challenging the FBI in court is not in violation of US laws.
Show HN: [Stream-Ripper] IceCast/ShoutCast stream ripper
Ok. How do they verify your identity? LetsEncrypt generally does DV (domain verified) certs only. I guess the equivalent of that would be verifying you control the email address. At that point, what is the practical benefit of S/MIME over DKIM (ignoring encryption)?
Where and how did you aquire this knowledge?
The engineer should rather reply that the boss would go to jail.
"I've noticed that when software lets nonprogrammers do programmer things, it makes the programmers nervous. Suddenly they stop smiling indulgently and start talking about what “real programming” is."

The reason it makes programmers nervous is because these tools enable you to do dangerous things without the required knowledge of where your no-code tools should end and yes-code solutions should begin. Most programmers have their horror stories of spreadsheet based solutions that have morphed into an unmaintainable monstrosity containing arcane business knowledge in undecipherable form.

The closest analogy I can think of is plumbing. You don't need a plumber to hook up your lawn sprinkler; You just use your no-plumb hookups and you're done. But I'd be VERY worried if someone decided to use garden hoses to hook up their new bathroom!

Not all tasks require "real programming", and rightly so. But there's a world of difference between what no-code and yes-code solutions can (and should) do. These people are called professionals for a reason.
Wasn't Edgar Allen Poe earlier?
Thank you very much for this! I am sorry that I did not know about it sooner.

Anyway the question for HN - is it too "late" for a person to consider career change in 33? To clarify, I am not in IT business, my formal education (and job) is in business administration, however with recent and important changes in my private and work life, I am considering to bite the bullet. Initially, I considered back-end development, but actually Linux sysadmin might be more appropriate for me.
I've been writing C since the 1980s. Sorry, this book is not just bad but astonishingly bad.

Your examples are just wrong. "Returning" has a very specific meaning in programming. An expression does not "return a value". A pointer very very much does not "return the address of a memory location".

The code example given was utterly awful. If you cannot see why that code example is almost guaranteed to cause problems, you might not want to continue in this discussion...
> For the younger readers out there: These are not USB devices and you can't text your friends or watch TikTok videos on them. I know. Crazy.

Makes me remember this open day we organized a year or two back at work. We had some floppy disks laying around and this one kid pulled his dad's jacket and told him that we had 3D printed save icons here.
We haven’t lived through a big password manager leak yet. But a password manager gives the list of usernames, passwords and websites. This kind of compromission is probably worth a million dollars per user. That’s a lot of data in the same vault. Just saying.
This is why a lot of C people do one definition per line for any non-trivial variables.
Hi - Dev Advocate for LaunchDarkly here.

There's the local cache feature mentioned by shoo below, but more simply, there's also a fallback in the flag eval function, which looks like:

flag_value = LDClient.variation("flag-identifier", context_object, fallback_value)

... where fallback_value is the value to be returned if there's nothing else available.

As for DIY-ing it, I wrote about the pros and cons of rolling your own here: https://launchdarkly.com/blog/feature-management-platform-bu...

(TL;DR: Sure, you could build your own super simple one in a few hours, but it wouldn't have most of the features that make feature flags useful, and why bother when there are open source implementations already?)
But that doesn't mean it's understandable!
If I may ask, did you mean that scissors and a nail file are the most important tools for you, or the other way round? Because, going by descending priorities, I would have listed these items almost in the reverse order :)
Who knew The Future would be so unergonomic. I detest that mouse.
The binance article is confusing. It says transactions can be reordered, but not reversed. The reality is that someone in control of 51 pc can change the history (because that is what is required to reorder transactions) .
Anonymous enough that it doesn’t prove you’re innocent, but specific enough for the FBI to use it to identify you. Awesome! /s
Only similar with Chinese loan words. Native Korean and Japanese words are not similar. Although the grammar is somewhat similar
As the others already said, it's the old way of declaring the arguments type.

But I think it's good to know other pitfalls:

- The "default" return type of a function is int

- A function that does not use void to tell that it takes no argument just have an undefined number of parameters

See this example: https://ideone.com/GfwS4O

You could in theory use the address of a local variable (allocated on the stack) to access the arguments passed to the function directly on the stack.

But this is just madness... Or is it ? Isn't C just assembly with a "nicer" syntax ?
Is this different from or better than Jitsi Meet? Not intending to criticize the effort, just curious if I should switch my goto choice of video conferencing software.

https://meet.jit.si/
Cuanto (YC W19) Is Hiring a Founding Product Designer
I don't think it's a matter of penalties being light really, if the EU hits too hard it'll just turn into a trade dispute. I think the much more likely attitude is "what are they going to do, build something better?" which isn't really an unfair mindset given germany, and more broadly Europe's, dismal history with competing at this kind of stuff.
Looks like they also have a newer 'NanoPI NEO3' version. It comes with USB-C for power, USB 3.0 (Type A) for data, and 1/2GB RAM options. $20-25 depending on the RAM choice.

https://www.friendlyarm.com/index.php?route=product/product&...
It's the closest I'll get to Crocodile Dundee rugged person shaving with a knife. :)
I don't think throwing ARIMA without the proper knowledge would be enough. AR is evident, but I and MA will be unjustified assumptions that take away from the meat of the subject.

Also you might need to get into Panel Data methods when you are evaluating more than one stock
>Value when transacted $NaN

and nothing of value was lost
"The first board without GPU is planned for Q4 2020, following with one with PowerVR GPU in 2021.".

Ah, how quickly we forgot the GMA500/Poulsobo chip.
As well as bullshit jobs there is a bullshit economy. This part of the economy is based on wants rather than needs. As soon as it became unsafe to participate in we collectively decided it wasn't very important at all.

This is the economy based on conspicuous consumption but there isn't much opportunity to be conspicuous right now. Nobody knows whether I'm wearing designer clothes at home or lounging around in my pyjamas.
CPI is inherently flawed due to basket of goods methodology and consumer substitution for cheaper/different alternatives than in the past when prices to their current basket changes. For example average housing spend could be steady while people get smaller homes and CPI would not reflect that. Likewise with lower quality food by some metric or other.

So much like how the S&P/NASDAQ has a bias for growth because losers are swapped out for winners, the CPI basket has a negative price bias as expensive goods are swapped out for cheaper ones.
Are you talking about hiring professional software engineers full-time from other countries? I think that is actually plausible and I've seen it work at multiple companies. Buying services from a "offsourcing" shop on the other hand - always a complete disaster or literally more time managing them than to build it yourself.
I used one of those mice. It was horrid in almost every way. The worst part is that the click had such a low activation force that if you rested the weight of your palm on the mouse it would click, and the side grips were poorly placed. Classic Bay-area "you're holding it wrong" arrogance in design.

However, I have to say that despite that first extremely unpleasant experience with Apple peripherals I actually quite enjoy using my Magic Mouse, and the touch-sensitive surface is one of the more interesting innovations in a field that's largely been stagnant and where most "innovation" seems to be high-DPI lasers and RGB LEDs.

The ability to use touch gestures on the mouse itself (i.e. 3-finger swipe on the mouse's surface to switch workspaces, 2-finger swipes for browser back/fwd navigation, scrolling, etc.) is pretty awesome and not something I've seen anywhere else. I'd never depend on it for getting headshots in counterstrike but for desktop mousing it tracks okay and the battery is quite good.
Doesn’t look too secure.
Jitsi is built to run with a server managing the call. This is peer to peer, it appears.
US, Taiwan seek 'like-minded' democracies in supply chain shift from China
KeepassXC is the kind that can not leak, giving passwords to third party is insane.
>It's pretty obvious that Google is trying to kill the web.

Won't it mean then that Google kills it self ?
They made swiss army knives look disposable! Congrats!
Not too late.
Professional experience in anything technical/analytical/complex would keep your mind adaptive enough to deal with computer systems and work effectively with others.

On that note, programmers used to consist of mathematicians, engineers, and scientists, until there was a growing shortage of programmers, at which point project managers, accountants, and other comparable professionals trained to become programmers. [1]

1. The Future of Programming - Uncle Bob Martin
https://youtu.be/BHnMItX2hEQ
Right but when 30% of the time they're about to eat a broken lightbulb or drop a bucket of paint on themselves it's hard to let (the checking) slide when you're busy.
Data taken from the Pitchbook tool.
The report was prepared for a client from Europe - I see no problems with the euro.
Korean gets about 60% of its vocabulary from Chinese: https://en.wikipedia.org/wiki/Sino-Korean_vocabulary

This is why many of the words sound Chinese (and a particularly old version of Chinese).
I switched from being a math teacher and union official to web developer at 35 and have loved it!
I actually quite liked the Puck version that came with the first Bondi Blue iMac — Not super precise, but great for smaller hands.
And that's how we get flat-earthers.

There is a line between crackpotness and groundbreakness which sometimes is not visible even for deep experts in the subject (though to be fair most of the time you only need high-school science to debunk most stuff).

The reviewer should have been more explicit "this guy doesn't know what he's talking about" rather than "don't publish this book"
As someone who was mining bitcoins in the very early days, like one every few hours, bitcoins has many flaws. The biggest issue is when you lose your password, you cant get your money back, over time there will be an increasing number of bitcoins that dont go anywhere, just like Satoshi doesnt spend theirs. When looking at it from a different perspective of watching network traffic at 5 eyes level, I also think of the makers of Tor, these "tools" may have the popular misconception for being secure, but now I just look at them as a 5+x eyes intelligence tool.

Here is a challenge to test this theory, computer hacking is illegal right, but satoshi's identity remains a mystery, they cant prove their identity in a court of law, so hack "his" bitcoin account and move his bitcoins to another bitcoin account. "He" will have to come forward to garner the help of the authorities to get his bitcoins back, ergo we will get to find out who Satoshi really is!

Put it like this, as an exercise, it will be interesting to see in court how "he" proves his identity. Do you see the problem?

Whats that Thomas Pynchon quote?
Do Progressive Web Apps have a future?
In this example with Google, the higher ups might reject this idea, but only because the measure would have a net negative impact on their own bonuses: pulling the cheap drinks would make 0.3% of employees move and the execs won't get bonuses because retention rate is a metric the company owners look at.

I see execs as a blind force of nature that does everything possible to enrich itself within the constraints set by higher ups. If the company owner hires an exec and gives him a task "give me more liquid assets by end of year no matter what", the exec will liquidate the company, because the constraints were loose. Same with those sleazy VPs running the facilities: SVPs set very loose constraints (likely intentionally), and got the rather expected result.
I run a web service with email validation, and a nontrivial number of users' validation emails bounce with a request to click some link to pay some money in order to email the user. Sometimes I get the same responding to support requests from users.

I suspect these same users wonder why such a large fraction of their online interactions/signups don't work...
Don't be silly.
Do you think that the option you proposed does not take into account the (global) context. For example, me: I don't use GIMP, not a beautician, it's Saturday evening.
I don't see the problem at all, Korea and Japan are doing just fine. All that's changed is that a lot of people lost their stomachs and bought into the idea that the old methods don't work. The result of this 'peaceful' (creating vacuums is handwaved as inevitable of course) attitude has been needlessly protracted scenarios that waste everyone's time.
You may also want to check out Magic: the Gathering. On a high level, Master of Magic is a quite derivative game, being a clone of Civilization and ripping off MtG's spell system, especially the color wheel. But it stumbled into accidental brilliance. Tech tree in games like Civilization is notoriously bland and padded with insignificant techs. Because the whole research in MoM was made out of discrete spells, every single research step gives you something tangible! It's amazing. Another bit of accidental brilliance came from low RAM of contemporary computers. It caused the world to be split into magic planes - Arcanus and Myrror. They just couldn't manage to fit the whole world into RAM at the time!

Another single player game which can give you a lot of fun is Shandalar. It takes place in MtG setting and is an RPG game.
Same answer as "is it too "late" for a person to consider career change in 22?"

Make sure it's a career in something you actually like and can foresee to some degree of confidence that you can continue being interested in, and honing your skill in, for a while.
It still needs a server to relay the webrtc peer discovery stuff, at least by looking at server.js ?
Top most popular JavaScript frameworks in 2020
Couple of honest questions to you (or anyone else reading this who thinks along the same lines).

Firstly, are you saying anyone who happened to be born in China is complicit in e.g. the crimes committed against Uighur population and thus doesn't deserve to be able to legally buy an Apple phone in their country?

Secondly, if Apple exits a non-free country, do you expect that to improve the situation? Make the country freer?

In China this would leave the population to local tech, which is pretty much owned by CCP and subject to its every whim—as opposed to Apple’s cooperating to the degree required to not break the law.

What's the benefit to be had here?
The follow up mouse with the scroll ball was much better - scrolling is useful, and it could be configured to have left and right buttons making it useful for people who know what a mouse is :)
(I'm a Developer Advocate for LaunchDarkly.)

Both of these are true. See also my reply to the parent comment - you don't even need a local cache, since all flag evaluation calls should include a fallback value.
Larger brain need more time to propagate waves, so smaller brains have advantages. Also, with age our brains become more convoluted, which makes wave propagation even slower. Fly sees world at 400Hz, human: at about 16-20Hz.

Try to play games, which requires fast reaction and deep thinking at same time, and speed of your brain will increase a bit.
insight 10

relevance 0
It's actually not bad, but it's even better if you couple it with a simple waist circumference measurement (adjusted for sex, and for ethnic background in some circumstances).
Fun fact: the author of this article now works at Apple in the Design team https://www.instagram.com/mnmllymnml/
IIRC, if you want to fly through US airspace (say, to land an international flight in the US), the airport you are leaving has to comply with US airport security rules, so the rules are pretty standard everywhere.
My problem always was, hanging out with people from work - we always ended up talking about work during the evening. Sometimes cathartic but work also kind of creeps more and more into your free time.
I switched to IT at 40. Doable. But Swede so a lot of options like paid paternity leave, tuition free university and so on made it easier.
Up to how many participants P2P WebRTC video calls work well in browsers?
I'm a working parent and I don't want to go back. The hideousness of commuting has been brought home to me, all the time I spend away from my kid shown up for what it is: wasted. If I have to quit and find permanent remote work somewhere, I will.

Ultimately I don't feel responsible for the careers of the juniors, and feel they're being used as an excuse - the main thing about the cities is it's possible to meet people you want to meet and do anything you want to do. This includes tech groups, which provide social and professional opportunities. I've been to plenty myself, and wonder if it couldn't be the mainstay of progression and networking now.
You're forgetting

Not even exposed in the UI -> no one would ever complain about it
Experienced freelancers won’t work for the rates you’re willing to pay judging by the platforms you’re looking at and are likely booked up far in advance. There isn’t really a market opportunity because good people who have work don’t want a third party platform inserted into their business leeching money.
Amazon Alexa for Residential lets the voice assistant power apartment complexes
The K-Shaped Recovery
The promise and potential of synthetic assets
Had the Magic Mouse, it eats through batteries like mice eat through cheese and got a bit annoyed with it, changed for a cheapo Logitech or Dell mouse, used that for 5 years, then bought an entry level Steel Series gaming mouse which is better in almost every aspect. Then ditched the 2011 Mac @work for a Linux box.
As far as I know, the promotion to word size (now 32 bit) still happens. Also if you have more than a fixed number of params (defined by the platform ABI), parameters are still pushed on the stack. You can't push 8 or 16 bit values on the stack. The stack pointer is always a multiple of 4.

The interesting thing is that with K&R C a function declaration/prototype is optional. That means you can call a function that the compiler has not even seen. Mismatches in parameter/return types (which are optional and default to int in declarations as well) are normally not a problem, because of the aforementioned promotion. If you have the declaration, then the compiler will at least let you know about wrong number of arguments.
Trump administration weighs blacklisting China's chipmaker SMIC
As someone that has been in this position (manager in the UK) I have to agree and think you have summed it up perfectly.

However, it is occasionally successful and those (admittedly rare) occasions have been some of the most rewarding experiences of my career.

I also don’t think that what you have described is necessarily a bad thing. As long as the manager goes into it in good faith and genuinely tries to understand what the problems are and to help solve those problems then the process works well for everyone - either they improve and become a happy and productive employee or they leave (voluntarily or not) and can seek a position more suited to their skills or personality.

Most of the times I have been through this the person involved was perfectly capable of doing the job but they just didn’t want to for various reasons and putting them on an improvement plan helped them see this and they move on themselves before they were forced to
We moderate HN less when YC is the topic, but that's such a lie that moderating less still means banning the account.
Thank for building and making it available for everyone for free. Sorry about your health. I hope you feel better.