skysight-inc/HackerNews huggingface dataset:
Realistically there is almost no separation between executive and legislature; the PM can order both what to do because they're the same party. And these days it's run from the Cabinet office.

The only limitation is the semi-independence of the civil service, which Cummings intends to erase, and the possibility of judicial review of really bad decisions, which may be curtailed soon.
I've been on both sides of the interview process and I don't agree. If you were a chef applying for job it wouldn't be unreasonable if an interviewer actually asked you to cook something (one famous chef would ask candidates to fry an egg).

I do, however, not expect any candidate to do anything we haven't had to write ourselves. I also let them look up Google/StackOverflow etc during the interview. They're also offered a beer but nobody ever takes me up on that.
This is super true. I was interviewing with a Startup once, and we had an initial screening, and they had a lot of work to be done with AWS, some APIs and data pipelines. My area of work. When we had a "technical" interview, it was completely algorithms focused. And the interviewer dropped a few anchors, which restricted my thinking, and caught me cycling. It was super obvious the call wasn't going great. Odd enough, they acknowledged, that I was one of their best candidates, and were surprised. I didn't get the offer. It was a job I knew I could've aced, but the questions they asked didn't match up to what they actually needed done :/
> we should note that iOS was the single most profitable platform for Epic, across all platforms

Almost 80% of Fortnite players are on console, so I very much doubt that's even remotely true.

https://newzoo.com/insights/articles/newzoos-battle-royale-s...
Do you think you can fight this out in court against Apple?
I like the coding challenge we designed for hiring where I work. A few things about it that work:

- It's designed to take about the same time as the round of interviews it replaces (half a day), and we clearly communicate how polished and complete we're expecting it to (not) be in that time.

- It's a lot like the actual work; if you enjoy it / are good at it, there's a good chance you'll enjoy / be good at the job. It helps make sure (on both sides) that the job is a good fit.

- But at the same time it's designed to be obviously not actually work we're going to use; we're not exploiting unpaid labor.

- There aren't gotchas to it. We review it with an eye toward "if my coworker showed me something they'd been working on for about this long to address this problem statement, how would I feel about their work," and do our best to express that.

- The rest of the application process takes the challenge into account in a positive way. I might have a conversation with you later to understand how you think about the problem you solved, but none of the interviews have to be gotchas or on-the-fly skills tests because I've already seen the kind of work you do.

- Everyone takes the same challenge, and it feels way more fair to discuss candidates based on reviewing how they do the kind of work that we do, compared to "X person has a cool open source repo; Y person gave a good interview answer to this technical question; Z person worked at an interesting place in the past." There's still some apples to oranges in comparing coding challenges, but much less than comparing one person's bootcamp group project open source repo with another person's reason that their best code is closed source but it sounds cool.

With a well-designed challenge the benefits on the hiring side are really obvious (we actually have a basis for comparing applicants that feels somewhat related to the work they're going to do), but also (I hope) we've managed to make a better process for applicants without expanding the time they're spending.
I'm sorry you had to experience that, I know how you might feel :(

That data structures and algorithm book and course is the root of so much distasteful smugness in the tech world, it's really bizarre.

[Edit]: It's almost like it was the first course we found very difficult so we should that imprint of challenge on everyone else.
Ask HN: What Are the Options for DevOps
I've got a startup and want to start things off right with good CI, CD, etc. It's a really standard stack with React front end and Python (FastApi) backend. I'm wondering what options there are for getting things up quickly. Though it's not my forte, I'm sure I could set things up in ECS/EKS, create a pipeline running through Jenkins or whatever, but I'm wondering if, given that mine is a really standard setup, if there are recommended services out there which will do this in just a few clicks so I can get on to building the project.
Problem solving skill is a must.
Not saying to cram the algorithms. But using those in your approach shows the ability of the candidate's efficiency and quickness in solving them.
Thank you I can't believe this had to be said explicitly.
Technically, if all values in the array are the same value X, and the target is 2X, you can't do better than O(n^2), because just writing writing all valid solutions is O(n^2).

If you can create a new array containing indices to the original array, sort the new array, and use two pointers starting at the beginning and the end of the sorted array to find a solution, it takes O(n×log(n)) time. It is not necessary to assume that the solution is unique, assuming it is okay to simply write one of the possible solutions.

If all values are between 1 and k, and you can make a k-sized array, you can find a solution in O(n+k).

No matter what you do, you can't get better than O(n).

The important thing is that there is more than 99% chance you will never have to solve this problem in your job; and even in the case you would, there is 95% chance that the O(n×log(n)) solution would be acceptable regardless of whether it is the best possible or not.
I'm smelling a great "Show HN: Using GPT-2 to create comments for a post about tech interviews" submission :)
But how sure are you that you didn't leave any money on the table that you could have recouped?
VMware Cuts Pay for Remote Workers Fleeing Silicon Valley
If you have been doing a 1040EZ “most of your adult life”, you probably need a financial planner.
The anti-trust claims that succeeded against Microsoft involved Microsoft forcing other companies to ship IE instead of Netscape. The coercion of third-parties is really where the anti-trust violations came from. Microsoft also held 95% of the operating system market at the time which was a big factor in the outcome.
At which point it's super easy to identify in code review and slap the developer on the wrist.

I find these arguments that posit incompetent / ignorant developers as a hurdle a bit strange. If they are going to incompetently handle errors wrong when explicitly forced to handle them I can't even imagine how poor their code will be without any assistance from the compiler, and it seems awful to think that you will have no way to identify such poor handling on review - you're going to have to look up every function they call and check if it can return an error or not manually.
* conda constructor *
https://github.com/conda/constructor

Conda installers like miniconda3 and miniforge3 can be built using the conda constructor package. It offers some more customization than is available with conda-pack but you can build an image of a similar size as the one you describe in your article.

If you want to use vanilla docker, I think you need three stages in your build.

Stage 1: Build the installer.
Stage 2: Run the installer.
Stage 3: Copy /venv from stage 2.

I think if you use buildkit you might be able to use a mount command in your RUN statement and get it down to 2 stages but I haven't tried that yet.
He meant "write two loops" when he said "loop twice". It seemed obvious to me that he meant that but I can see how if you're used to more unambiguous language it could be confusing.

Yeah, you just do it in O(n²) worst case because the problem is O(n²) to find all pairs that match because there can be O(n²) pairs.

However he meant one pair here too. Pretty easy to solve. Did it in under 30 s in Python on my broken cellphone. If there are multiple pairs, just replace return with yield.
Obscuring Jon Hamm's Penis Is a Victory for Fair Use
> There's just a few ways to progress, and advances are always better.

Some games do have at least randomized tech trees. Pandora: First Contact, for example. Fun write up, thanks for sharing.
It's not boilerplate. It's part of the contract of using the code underneath - Potential error-states are part of the prototype and you have to deal with that just as much as you have to deal with the fact that argument 2 is a String.

Don't want to? Throw it on up the stack, but do so in the knowledge that your program will fall over at the first problem.

And even that is better than carrying on with (for example) a null that then trips up some random bit of code later.
I really wish Apple would allow third-party payment processing. All their rules around in-app purchases are overly complex and oppressive. I really believe that Apple is stifling innovation with these insane rules and monopolistic practices.
I find these people reveal themselves almost immediately when we start talking about their projects in any depth.
Recycling, like wearing a mask during a pandemic, is just too boring a solution for most of America.

They'd rather put the effort into coming up with a story that makes everything someone else's fault even as they pay the price for their own idiocy.
There's still a thriving market for Windows software.

There's even a quote from Bill Gates in which he dismisses someone (Facebook?) as a platform, because the amount of revenue they skim is usurious.

He specifically cites Windows as a platform model because they could have absorbed far more rent from their developers, but chose not to.
I mean people here in HN, probably most of us here have the same credibility , this person said

"The problem with this logic is that every company is going to set up their own App Store. Microsoft, Epic, etc. Then for every app that I use right now on my iPhone I would have to source from several App Stores. It will make my experience very cumbersome.
reply"

And this is proven false since the Google Store is still very popular and I don't see people having to source 5 apps from Google store, 5 from Microsoft, 2 from Apple, 3 from Adobe. With the Epic the situation is clear, this giants are asking too much just for hosting your application and the small guys had no chance to fight this , lucky for the developers Epic started this and as we can see from this article Apple is backing down one step here, other step a month ago ...
I like to think of the higher level as creative problem solving.

Are they (me in this case) going down rabbit holes? Are they painting a clear picture? Are they communicating that picture? Are they suggesting edge cases? Are they minimizing bloat? Is it too complicated? What are the most important aspects of the design in their eyes? Can they argue for them? Do they understand where a piece fits and if not, do they understand that something has to go there? Can you both step back and definitely outline a logical flow?

There's not always one solution, but the approach counts.

Lower level is logical problem solving.

Can they reason the problem space? Do they start naively? Can they iterate? Can they optimize? Can they explain each of these steps for future iteration? Do you understand what they're writing? Would you work on that code yourself?

There's not always one solution here either, but 90% is getting a naive solution that can be optimized by taking a second look. I feel that the naive should be found in 5-15 minutes and you can spend the rest of the time talking about how to optimize.

I know I'm rehashing what you probably already know, but at a certain point interviewers are just playing games.

If you've found someone you want to work with who can also reason about problems in a timeframe you see fit, well... that to me looks like gold.

I like these questions because that's how real systems are going to be built.

Take-homes are great, but there is just so much effort wasted in the process if the product can't be understood.
In my company, "team lead" is definitely a management role: an entry-level one, but still management. For technical tie-breaking we have a different position, "tech lead".
I feel like sensationalist news like this doesn't belong here? Or at least the conversation that stems from it will ultimately be uninteresting/ sheerly bitter argument? (I'm hoping I prove myself wrong here)
Crates.io is run by a couple volunteers, they (sadly) don't have the time to start playing cat-and-mouse with squatters.
> where you simply think about what pleasant sensory experience could you introduce right now to make you feel better and then you do that quickly

Oh that does not play well with addiction logic haha
I agree that it's probably a manufacturing cost issue, but I disagree that a draw that long is necessarily difficult to perform. One can buy extruded aluminum in various shapes, in very thin wall thicknesses, in lengths measured in meters or more. At a previous job, I semi-regularly worked with aluminum angle with about about 1mm wall thickness, several feet long. And note that the length of a typical energy drink is something like 2/3 of the length of a Pringles can.

Now, I doubt an aluminum Pringles can would need 1mm wall thickness for sufficient strength to deal with the usual rigors of being handled by a minimum wage shipping or shelf-stocking employee. However, I will concede that something with say, the typical .01-.02 wall thickness of a soda/beer can may be harder to produce with a workflow of cutting can-lengths from a large piece of extruded stock. Depending on how the stock was cut, you risk crushing it. At that thickness, you'd do better to stamp the final can size & shape from crude blanks. Now, at high enough volume, it could be worth it to in-house the can-stamping operation; beer companies are an example. I could see Pringles having enough volume to justify in-house production of their cans.

But I don't think a .01-.02 wall thickness would be enough for a Pringles can. Yes, soda cans are strong enough to endure shipping and handling, but most of that strength comes from the fact that their contents are under pressure; significantly moreso than a pringles can, I'd bet. Witness how easy it becomes to crush a soda can once it is opened, even when it is still partially full. So .01-02mm wouldn't do. I'd guess .1-2mm would, however. But at a 10x wall thickness you're using 10x the material if my math is right, so an all-aluminum Pringles can with a .1mm wall thickness would cost at least 10x to produce as a soda can of equal length.

So yeah, manufacturing cost issue is probably at least one factor. But I'm willing to be wrong about that.
> My golden rule for technical interviews is that, "Every step, conversation and question must be pertinent to the day-to-day of the role." While this may be obvious, I am sure that many hiring managers are still expecting candidates to arrive at technical interviews with Computer Science books memorized. This form of technical interviews should be made obsolete.

Here's the core of the article right here. The "regurgitate LeetCode-style problems" interview fails to be relevant to the day to day of pretty much any SWE job (unless, maybe, you're applying to work for LeetCode, and one of the duties is to create solutions to problems in under 40 minutes, without outside resources).

Take the author's golden rule and layer on a structured interview process, and now you've got an interview process that will be more predictive of whether a candidate is a good hire than any "throw a random engineer in a room with the candidate and have them answer random algorithm problems" type interview. Even better, since you have an actual process, you can tweak it to be even more predictive of a good hire.

Why don't companies understand this?
Some are variations but some are just more obscure. They definitely get into very specific greedy algoss or things like prim's/kriskals/tarjans. which can be pretty much hit or miss based on if you've seen it or not
There's so much hate for "whiteboard interviews" and "interviewers focusing on themselves rather than the candidate" and all that on HN, but what if...this is actually what works for some companies?

Some people want to work on super challenging problems with technically brilliant coworkers. Some people treat a poor performance not as a humiliation, but as an opportunity to understand how much they do not yet know.

What if you want to attract candidates like that? Ask them tough questions, don't tailor the questions to their strengths, and have the interviewers show off how smart they are (even if they're not, it's easy to appear smart when you have all the answers). Pay good money and have high prestige so that you get plenty of quality applicants for every role, because you're going to miss out on many of the good ones, but you will attract some of the brightest and most driven people.
> The reduction mechanism used for scheduling processes, though crude, is also still much lighter-weight than Go's approach.

I'm not sure how it could be lighter weight than what Go has implemented natively at the machine level, instead of in what amounts to a bytecode interpreter. If you have any links, I would be very interested to read more.

> I've worked a bunch in both, and Go really doesn't compare

I respect your experience, so it is probably a failure of imagination on my part that I simply can't imagine how the BEAM tools could be that much better. I haven't had a problem with a rogue task (or really anything else) in production with Go where I was unable to figure out what was going on extremely quickly. The tooling has been amazing for me, unlike basically every other language I've worked seriously with. The YouTube talk certainly didn't do the BEAM tools justice if they are that much better.

With Go, I actually get really nice GUIs to look around the running Go process and analyze the situation, instead of just an interactive CLI session where I have to craft my own commands to find the top tasks and such. The Go pprof tools also work as an interactive shell (but for analysis, not for remote arbitrary code execution), but I would rather just have the flamegraph in front of me 99% of the time. I fully admit that I've never had a chance to use Erlang/Elixir/BEAM in any meaningful way, but I have tried to understand what they offer, and I haven't seen the compelling magic that some people talk about.

Now, if someone is running a Go service without the HTTP pprof server running on some port that they can access, then yes... it wouldn't even come close to comparing to what BEAM offers when you have the option to connect to a running BEAM instance.
ISPs applaud court’s dismissal of incumbents’ appeals over CRTC wholesale rates
This, so much this!

If it sounds crazy, it is because you're not a BS artist yourself, so it is hard to put yourself in that mindset. I have friends who fall into this category, and they would be the first to admit they bullshited their way into FANG
I want a GPT-3 trained on HN - if it can look at your title and generate basically your content/comment, don’t post it. Similarly, if it can look at the comment you’re replying to and generate essentially your reply (let’s say in top-5 most probable), don’t post it.

Edit, love the irony that both responses are about GPT. Point proven?
>obscure your security posture as much to yourself as to adversaries

Almost barfed from sheer intensity of tech corpobabble.
Its for blocking 0-days dummy!
I write a lot of Java, and like checked exceptions. The problem is rather the opposite, basically all of the concrete exception classes that you might think to use (e.g. IllegalArgumentException) are unchecked!
You shouldn't be getting NPEs at random. And if you want to protect against them, just catch them.

Your "neverthrows" looks to me just like a different way of expressing try/catch
Yeah, I'm pretty sure that statistic includes every Forest Service road on the books.
The movie The Florida Project depicts this community
> It works well enough on the web without tons of scams

What web have you been using?
I think it's an imprecise way of saying that AlphaZero isn't given the game rules, so it doesn't know the difference between legal and illegal moves, and also that before any training it would evaluate a caputure no differently than any other move.
Apple isn't even trying to pretend that isn't not abusing antitrust anymore .
Excepting circumstances where China could be affecting regional shared resources (e.g. damming a river -> drought in neighboring country, for example) is this not just based on willing participation?

I don't understand what exactly it is that is being 'allowed' that should be forbidden.. if China exports to foreign customers is it against moral sense to not allow in foreign business?

Also, I know of a certain country that relies heavily on its ability to sanction countries from effective participation in the entire global market..
Perhaps because the complexity budget of trying to get checked exceptions right is so high that no one even bothers to try. Once you find yourself able to just return values representing an ADT, then why bother? If the point of a checked exception is that the caller should try handling it immediately, then just return a value like IO<T> instead of return T but maybe throw IOException.
Found this little gem on my $55K Model Y
“Why I Fear for Taiwan”
https://www.xda-developers.com/fake-android-location/

https://www.xda-developers.com/how-to-fix-device-not-certifi...
Thank you for the answer. It seems that it dates back from before I started reading fanfiction, so I wasn't even there then.

It's true that sorting through the low quality fics on ff.net is complicated. Though I appreciate being able to leave a positive one-liner as a review (when it's negative, I usually try to elaborate a little more).
That's a worthy idea to learn. I've actually found it quite trivial, which means I'm either too smart or too dumb to understand it. That MDP diagram reminded me of the Feynman's path integral model of electrons: the double slit experiment looks as if electrons take all possible, within constraints, paths and the interference image is the sum of them. Except that in the MDP diagram, parameters of the two slits can vary, within some boundaries, and that varying changes the interference image, so the question that MDP answers is "how the interference image can change if we vary the slits parameters within these boundaries"?
http://www.internetnews.com/blog/skerner/30-years-of-tcpip-d...
Are individuals taken to court over it for "misusing" their Macbooks?
OmitStackTraceInFastThrow has caused so many headaches in debugging production issues, and each time now the answer has been to just disable it. The real answer is to stop trying to abuse exceptions as a form of general control flow.
* conda-docker *
https://github.com/conda-incubator/conda-docker

I haven't done as much with this one yet, but it's interesting in that it claims to be able to do much faster builds because it doesn't actually use the docker engine it just manipulates the image files. I think it's pretty neat but I don't have much experience with it yet and I think it might not fit as well into normal workflows since it's not using the docker engine. I could be wrong though.
I don't think that's the point that was being made - Steam is optional not because the content on it is games, but because the content is PC games - i.e. content where there's no obstacles to distributing it yourself, or through other stores.

Any game developer could at any point opt out of using Steam and accept payments on their own site, or go through another store. Most developers don't bother because Steam provides enough value to make it worthwhile.

It's impossible to determine if this is the case with the App Store since competitors don't (and can't) exist.