skysight-inc/HackerNews huggingface dataset:
Coding Assesment Tests Alternatives?
I've taken many coding assessment tests in the past; I've designed a few; and now I'm deciding if I should issue code tests to my own candidates. Here are the concerns I have with code tests.

1) Code tests are generally poorly designed - unless a great deal of time is put into developing them and with a clear idea of what the test is trying to ascertain.

2) Code tests are subjective - there are so many programming philosophy's and opinions out there that I don't think any two graders would agree on the quality of any piece of code unless they agree on exactly what the code test is designed to ascertain. In my experience, code test graders are just told to "give an opinion" on the code.

3) There doesn't seem to exist much research showing that code tests result in better employees. Please post them if you are familiar with some work I would like to give them a read.

4) It is easy to cheat on code tests - online code test taking services or having a buddy that already took the test are real threats to test subversion.

5) The question "How many good candidates am I also eliminating with my test?" is a legit question.
This is a reply to @lallysingh (sorry I'm replying after your post is too old to get directly replied :)

Re "The model is a data structure and the view is a series of functions on it."
This is exactly how I see my OO-based GUI programs.
The object I define is firstly a data structure. Then I want some operations/views on it? define methods on it.
That was but one of many options, all with pros and cons.

It does appear that there is a bit of room to move the gear attachment point outward. Internal stuff might need to be relocated.

A very nice solution is to fold the landing gear as the B52 bomber does, asymmetrically with one in front of the other. Internal stuff almost certainly would need to be moved around, and then doors would be required. The doors would probably fit, unlike on the original, so that would be a nice upgrade.

Boeing did add some fancy stuff (on the 737MAX-10 only) to lengthen the gear right before lifting into the air and then unlengthen it as it gets retracted. The nice thing about this choice is that there need not be any changes to the height of airport equipment unless the fancy mechanism wasn't used for the nose gear. So that helps: food/maid truck, fuel truck, baggage truck, jetway or airstairs, etc.

Another option is to keep the aircraft low. This of course makes it much harder to increase the frontal area of the engines while keeping the aircraft with a pair of under-wing podded engines. We can imagine playing with the definition of "engine", installing units that have pairs of side-by-side turbines that can only be operated or maintained as a complete unit. We can imagine a much higher engine mounting, with some of the bypass air flowing over the top of the wing. We can imagine moving the engines outward to give more clearance due to wing shape, at the cost of being less-capable of crosswind landings and being more difficult to fly straight when an engine is out.

Or they could just do a clean new design.
Google has it's own plugin that you can use to block results from search. I have been using it to block Facebook and a few other websites for years
https://chrome.google.com/webstore/detail/personal-blocklist...
That's a rather poor analogy. If you go and buy stocks you're buying a security that can be traded back to fiat currency at any point in time. That's... not what startups do. A better analogy would be taking out a loan for $100 with fuzzy repayment terms. If the ROI on that loan is negative, everyone would agree that you're losing money, investment terms be damned.
You are literally disincentivizing anyone making any company. Every company will have it's secret sauce. You're blaming Google for being "so good " that "it's no fair".
State Pattern in (Gaming) Applications – Similar to Finite State Machines
> quite spot on

> Nowhere in here is there a software problem.

I worked on the design of the 757 stab trim system, am trained in aerospace engineering, and am a programmer. I'm not a pilot. I am not explicitly familiar with the 737 stab trim system.

It is indeed at least partially a software problem. I had thought of two possible improvements: one is to limit the authority of the MCAS's commands to the trim, and the other is to not issue further commands if the pilot fights the trim commands. I read today that Boeing's proposed software fix includes both of those.
Exerting pressure on your palate with your tongue, which stimulates growth in the jaw and acts on the maxilla, shifting it forward and up over time.

I’d love to see some actual evidence of that, which isn’t in the form of online anecdotes and testimonials on sites dedicated to the concept, or weird-as-hell “incel” sites. Something peer reviewed, in a respected journal would be a stsrt, even if the results haven’t been replicated yet.

Because it sounds like complete nonsense, and looking at the sites discussing it only reinforces my belief that it’s crap. I’ve spent some time searching for even a scrap of what someone with a hint of skepticism would consider compelling evidence and found nothing. I did find some communities I never knew existed, and wish I could now forget. Suffice it to say that “incels” are a truly strange bunch, and gullible at that.
> 2.5 grams of msg for a 50kg person

MSG is slightly more dense than sugar, with a specific gravity of 1.6 and comes in a crystalline form that resembles sugar.

4 grams of sugar is about a teaspoon, and the same can be expected of MSG. They can easily dump half a teaspoon of the stuff into your soup or sauce in a restaurant, treating it like salt or sugar.

This amazing paper is valuable not just for its work on rats, but for its references.

It's also noteworthy that the researcher basically considers it a settled question that MSG causes headaches.

In this work, she isn't trying to answer the question "do rats get a headache from MSG".
It's probably insurance that pays your outstanding balance if you are badly injured or get a terminal disease or something. It's usually nearly impossible to claim and therefore a scam.
What from the article suggests that they are or aren't "upstanding and boring citizens", so what is the basis for your comment?

> Deandre Joshua’s body was found inside a burned car blocks from the protest. The 20-year-old was shot in the head before the car was torched.

> Darren Seals, shown on video comforting Brown’s mother that same night, met an almost identical fate two years later. The 29-year-old’s bullet-riddled body was found inside a burning car in September 2016.

How is that "random"?
The ones I've encountered that appear to bypass Firefox's "no you can't ask" setting are just rendering a mockup of Chrome's, well, chrome over top of the page. It's a pitiful attempt because the UI they're faking looks nothing like the browser I'm actually using (beyond rendering Chrome's UI in a page loaded by Firefox, they'll show Windows OS buttons when I'm using a Mac, or comically they'll do the reverse when Windows is still far and away the most common desktop OS).
That's 10 times the price of this service.
Yes, I have a friend who recommended it. He said 'Ignore the name'. Wow was he right. Its the most enjoyable podcast I have ever listened to.
I am gonna leave this here.
https://cirw.in/blog/bracketed-paste

It is not that "I think" it is objectively more efficient and easier to read, yes this has been studied before.
I agree that going too narrow increases scrolling and it's annoying. (Widescreens are a stupid trend)
Anything specific? I work there - would love to help out if you are still working on it
I get that this is snark, and I don't disagree with your point entirely (I recall some of the discussions after VW was found to be gaming emissions tests... there were definitely software engineers that knew exactly the consequences of what they were doing and did it anyway), but based on the discussion here and on the linked tweets, I don't see why software engineers should be shouldering much, if any, of the blame in this case.
It is C++ OOP, regardless of how Java does it.

Java is not the last word in what OOP means in practice, and is a younger language, which took many OOP ideas from C++ OOP libraries that were current when Java was designed.

In fact something like J2EE was a relief versus using CORBA or DCOM/MTS, kings of OOP boilerplate.

Or the surviving king of C++ GUI frameworks, Qt.

As for the STL part you refer to, the original one, containers / iterators / algorithms, it makes use of C++ classes, methods, aggregation and delegation, which are definitely OOP.

OOP doesn't have a rule that it is only OOP when all concepts are used in every single class.
I don't think it's about sending a message into the void and "hoping" that a compatible agent receives the message.

Rather, it's about your object not having to know who is handling the message, only what the message is ("what" in both content and type).

It's still up to you as the programmer to make sure that you have implemented the other objects to act on whatever message types your code will pass. Just like it's up to you to make sure the method exists in the target class when the caller tries to invoke it.

Later on, if you decide to swap out your logging infrastructure for a different one, you don't need to update all the places that called the old one. You just tell your new logger to listen for messages directed at Logger.
>> If the SSD fails, you can replace it. If the RAM fails, you can replace it. If the wifi card fails, you can replace it. If the screen fails, you can replace it. You can even replace the Trackpoint and the little rubber feet without much trouble. The laptop can be entirely disassembled with two Philips screwheads (#0 and #1). At no point do you encounter tape, glue, or pentalobe screws.

I am sold, totally :)
Tumblr rejected all things Yahoo, except the money, so the answer to just about anything Yahoo asked was either “no”, “get stuffed”, or silence and a note to David that he needed to escalate to Marissa.

On the other side the Yahoo services were so heavily integrated that it was hard to carve out any piece of them, and the few times we tried it was a slow and painful process because Yahoo’s piece was glitchey and unreliable outside of it’s home turf and the Tumblr engineers defensive and argumentative about everything and not willing to help.
Thanks so much : )
> That is such BS. Microsoft is making it increasingly harder to use a different browser on their OS. No mention of that. When they do it, "it's their OS, it's fair".

What's with the attitude? I listed Microsoft as an example of anti-competitive behavior. How did you get from there to thinking I'd penned some kind of endorsement of Microsoft?

> Google is not forcing anyone to install this browser nor does it auto install when you navigate to Google search.

The problem is that they're using (or used) their dominance in one area as leverage to gain dominance in another area.
Hackers Prefer to Strike on Saturday
Right, and then after making that initial assessment, I'm going to guess they didn't just stop walking, write out and sign the incident report and pull out the radio to let the station know that they were pretty much done here and there's nothing to worry about. No, I assume they walked up to it and got a more conclusive look at the body first.
It'd be great if there were usable non-Riot clients that fully supported end to end cryptography. At this point Signal has better alternative clients in Pyre.chat and Signal-Weechat than Matrix has, as the existing alternative clients are almost all MVPs missing major features like e2e.

The lack of a simple, common library is a real sticking point. Each client & bot shouldn't have to implement the baseline network protocol and then build e2e atop it, rather the clients should be focused on what to do with the messages after receiving them, how to display them, etc.

I say this as a daily non-Matrix.org user of Riot, the functionality of the Riot ecosystem on its own is good, but I'd be hard pressed to port my own Signal bots to Matrix, let alone build a featureful client in a performant toolkit (eg: Not Electron) for Matrix today.

There isn't a viable ecosystem outside Riot/Synapse currently, which makes it feel like Matrix is just a self-hosted Slack/Hipchat solution with just Riot as usable clients. IMO there needs to be diversity in the Matrix ecosystem just like the Fediverse has with Mastodon, Pleroma, PeerTube, PixelFed, NextCloud, Rustodon, etc all inter-operating in a sane, functional manner.
You can email support and they will find the purchase. Or if you can dig up the email from the purchase, the download links should still work.
When a programmer today tries to understand what Kay is saying, they usually get caught up with decades of intellectual structure labelled "object oriented programming." You need to go back to the influences he's pointing at as instrumental and see what the words meant in the zeitgeist of the time. And you also need to tease out what parts have become implicit in our own zeitgeist and what haven't. Then you need to figure out what implications the sum of all the parts that haven't are.

This isn't an issue just with Kay. It's true for basically any intellectual structure you care to engage with. The definition of "gene" in biology is a similar case, but that's a rant for a different time.

For example, when he says dataless programming, he points to a couple of papers. For example, Balzer's "Dataless Programming."[1] Go read the abstract. It's talking about the algorithms part of the C++ Standard Template Library and the idea that you shouldn't have to rewrite your program just because you're changing from an array to a linked list.

But that's not all. Add "the cell/whole-computer metaphor would get rid of data, and that "<-" would be just another message token." That is, why stop with the Standard Template Library? A program made of assignments, loops, and conditionals is as much a formal object as a linked list. Why should we have to rewrite it when the "data structure" is changed from running as a traditional program on a single core messing with registers to having its state stored in a distributed tuple space and steps in it being executed by workers that pull them off a queue?

This is where his math background really comes in. For a mathematician, the algebra of structured programs is the same in kind as the algebra of numbers or the algebra of sequences of numbers or the algebra of topology preserving mappings of a space. What Kay was trying to get at was a way of letting you write an expression in such an algebra and be able to bind it to whatever instantiation of the algebra you might want, including ones that don't exist yet.

To do that, all the pieces of your language have to be of the same kind, whether they be numbers, lists, types, or loops. And here's our big delta from "everything is an object" in familiar languages to what Kay was talking about. In Ruby, Python, JavaScript, or Java (let's ignore Java's primitive types for now and pretend boxing is all smiles and rainbows) the only things that are objects are the things that were values in structured programming languages. That's why Kay doesn't see these as object oriented.

Also, consider his comment "I don't know of any type systems that aren't a complete pain, so I still like dynamic typing" against this background. It suddenly feels a lot more reasonable. A type system for this kind of work is basically pointing Kanren at your expressions and writing a logic program to reason about your domain. Then, next week, when you change the algebra substantively, that logic program might be almost unchanged or may have to be almost entirely scrapped and rewritten.

[1]: https://www.rand.org/pubs/research_memoranda/RM5290.html
While I agree, it's important to note that the reason for all three of those improvements is billions in subsidies + exploited drivers. If Uber rides were not subsidized, they actually followed employment and licensing laws, and drivers actually accounted for their total expenses properly, the cost we be pretty close to what taxis charge, number of available drivers would decrease, and wait times would increase. The things you and I like about Uber a direct result of unsustainable economics.
Huh, thanks. That's a respectable opinion.
> A runaway won't stop when you hit the trim buttons.

Depends on what causes the runaway. If the autopilot goes berserk, the trim buttons will override it (if I recall correctly, it's been a long time).
Artificial intelligence is changing science
I started using anki too late. Repetitive vocabulary learning is a must. Start using Anki from the beginning.
I'm surprised they've made it this long. They shut us (eHow/Demand Media) down pretty quickly once we hit a certain point. Image search needs its own panda update. Also part of the problem is Google no longer direct links to images so now sites are fully taking advantage of it.
> and every object can call the pass method of any other object. It's up to each object to decide for itself what it will do with any given message that it receives.

It's a horrible programming model, though. We should be glad this is not how most languages work.
Most of the time you can inspect the element and get the url to the actual image.
Automatic braking is optional. Braking lights aren't.
I am totally all for spewing MSG on everything, but it might not be best that you're secretly adding msg to foods you serve a bunch of people without their awareness. Not that I agree with their stupid world views but if someone wants to believe that MSg is bad for them, then it's their choice. I think we should not accidentally or deliberately serve something to someone they might not prefer to eat.
What's wrong with nfs v4? It was quite a bit faster than the alternatives last I checked.
It's all substantially more complicated than that, though. 46k is abject poverty in San Francisco, but in Des Moines, you can probably live pretty well. You can't just take the average income bracket of the US and ignore cost of living.
HTML-Based Indented Markup Language for Ruby
What an odd setup. I very much want to read a Uses This interview of you. I imagine it would be similar to Joey Hess: https://usesthis.com/interviews/joey.hess/
Ruby to me seems to follow this description rather well. The "cells" in close vicinity are the objects in ancestor chain. If the "closest cell" - object's class - can't respond to it, next further, which is its parent, will be given chance and so on. Also you can ask object if they know how to respond with `respond_to?`

It's a bit more involved than that - modules can be included and prepended. In a sense "re-arranging the which cells are close and further". Also `method_missing` can be implemented. Beautiful in my opinion.
For most AWS services it would be fairly difficult to cause multi-region damage by mistake.
Sugar and wheat are the worst combo for me... I'm very conscious about my food, and MSG isn't on my black list (I live in Asia)
Why would you ever want this kind of uncertainty in-process? If I have an object that lives in my process and I want to call a function on it, I rely on the compiler to tell whether that function exists or not. If it doesn't, why would I ship with code that will never work?

If we're talking remote calls, sure, there is never any guarantee that the recipient has that method, or that it's even listening anyway.

All of that to say that that whole discussion between function call or message passing is a waste of time and irrelevant in programming.
What about secretly adding salt or pepper? How about olive oil?

If you're cooking food for people it's not common to get pre-approval of the ingredients beyond asking for any dietary restrictions.
Not sure you've "proven" it's MSG though. Warm up some chocolate cubes, sprinkle msg and sandwich the cubes so it's in the middle. Then ask an SO to randomize and give you chocolate with or without msg every few days without telling you and note when you get headaches. My initial guess is that doing this 6-9 times you should get sufficient signal (if it's indeed true that MSG absolutely gives you headaches Everytime ) to fairly conclusively prove it.
does calling MSG "yeast extract" work too?
I saw a TV program which claimed to be disproving MSG allergies/reactions. The science in it was terrible, though - they served one of two meals to a bunch of people claiming allergies, one of which had artificial MSG added and the other, 'placebo' meal had a seaweed extract added which contained naturally occurring MSG. Then they proceeded to deride the people who showed allergic reactions to the "placebo" as fakers, despite it containing the exact chemical that they'd claimed a sensitivity to.
US Detects Meteor Explosion
Off topic, but is it just me, or do you also dig the simple text format of the website? -- so easy to read!
> If you go and buy stocks you're buying a security that can be traded back to fiat currency at any point in time.

It depends on the stock. But there are lots of types of investments. None of the rest are referred to as "losing money" until it's clear they lost money. The act of investing is investing.

> If the ROI on that loan is negative, everyone would agree that you're losing money, investment terms be damned.

My point is that it's too soon to say what the ROI is for Uber's investments. I remember lots of people lamenting the "losses" that Amazon had year-over-year, before they realized that it was actually a wildly profitable set of investments that the company had made, creating one of the largest companies in the world.

No one is playing an investment term semantic game here. I'm simply expressing how silly (and misleading) it is when people refer to businesses investing in things as "losses" before they ever know how those investments play out. You only know how an investment turns out when you know how the investment turns out, not when the investment first starts.
Why would you want messages to span the entire screen?

https://ux.stackexchange.com/questions/108801/what-is-the-be...
> I see this question as a serious career choice and if I don't do well as a manager I eighter waste time that I could spend on working towards my promotion or just get frustrated.

I've stayed on the IC track since I really don't want to deal with HR issues, but a lot of the other things greenyoda's listed are part of my job as well.

Promotions as you get higher in the IC track depend more and more on leadership. From what I see eng manager is like five roles, depending on the makeup of the team may be shared between tech lead and product/project managers(i'm infra focused so i dont get product managers). My manager and I are basically peers, and we split a lot of those roles up, but by doing both you can better understand why a manager is doing the thing theyre doing. If you really hate it, the skills you learn managing will still be extremely valuable as you move up higher up and not be a waste of time, whether it be empathy for a coworker's position, being able to sub in where needed on your team, or learning the bureaucracy outside your team to be able to push org/company wide tech initiatives forward better.

I'd suggest trying it if youre considering it, especially at a large company - I imagine there are a lot of experienced managers there who can provide mentorship, as opposed to a small company where many manager have little experience.
Try a non-Kroger/non-Safeway owned green grocer like Rainer Farmers Market, they generally have tastier veggies and fruit (along with stuff you don't get at chain stores) as that is all they deal in.

Limes are way cheaper at green grocers too, I swear its a Seattle thing where the large grocery stores know your only buying limes to go with your liquor, and thus charge obscene prices :c