skysight-inc/HackerNews huggingface dataset:
Personally, I've done interviews where I ask a few toy algo questions of increasing difficulty, in a language of their choice. The first question is trivial and screens out candidates who can't code at all. The more difficult questions are more to see if they can communicate clearly about code, and performance / complexity issues, and how they respond to questions and feedback on their code. I don't care that much whether they can solve questions 2 and 3 perfectly, but they should be able to come up with something.

If they pass that I would devise a longer interview suited to their CV. I expect a senior to be able to answer architectural questions and / or talk intelligently about architectural decisions they've made on past projects. If they claim experience in a job-relevant domain I would ask domain-specific questions, if not, the expectation would be that they would ramp up, and I would stick to more general questions.

So the point is to avoid wasting time preparing and doing longer interviews for candidates who can't even calculate the average value of an array (or worse, hiring them), and get a bit of an idea of their ability to think and communicate about code.

I'm honestly not very confident this is a good approach but that's why I did it.
I have yet to deploy either in the classroom and haven’t really looked into where to begin. My hope is that when I start researching this I will encounter a “lock down social features to prevent bullying” checkbox, hah!

Today’s repl.it based lesson went amazingly well, yet again!
I'd actually point the finger at Java itself, though I imagine the editor didn't help. Java's type system is (IMO) about as cumbersome and unhelpful as they come. A good type system should be minimally obtrusive while preventing lots of programming errors (both when writing code and, perhaps more importantly, during maintenance by a different person a year down the line).

For languages with good type systems, I'd recommend something like OCaml (or maybe F# - I know it's very similar and probably has a better ecosystem but I haven't personally used it).

Elm also seems decent - it's designed to be pretty simple and has JS interop but it doesn't have good tooling. Typescript is an alternative that has an okay type system but pretty quality tooling.

I'd recommend staying away from Haskell even though it's commonly recommended. The type system is quite complex and its use of monadic I/O makes writing "real" programs, even toy ones, difficult for many people. If you want to learn Haskell, I'd say start with OCaml/F#/Elm. Those are all very similar and will let you learn the fundamentals of ML-style programming before diving into Haskell-specific details.
It is hard to believe there are people who have such little understanding of reality.
Funding brings the police to the negotiating table faster and harder than some years-off change in law/precedent or union contract negotiation. That is as valuable as the actual defunding.

The right has defunded programs they couldn't abolish for years. It's a tried and proven strategy.
And we have the right to blast them on Twitter for taking open source code and slapping their own license terms on it.
Aim-7MH Sparrows and AAMRAAMs have a home on Jamming feature which works because jamming is directional and continuous. Unfortunately with moving targets, home on radar is difficult. You only see the radar when it is pointed at you and a scanning radar you will only see blips. Also you can't get range and bearing so lead targeting is difficult.

An anti-radiation missile may be able to home on a target that is using a Single Target Track mode. However it would have to ride the beam in and would still have trouble with terminal guidance if the target is cranking left or right. Also in that case, the enemy already knows where you are.

The best passive tracking system I know of is the R-27ET which uses thermal tracking and is best against targets facing away (cold) to your plane. This is usually paired with an Electro-Optical or FLIR system on the plane for target acquisition.
what evidence is there that more police reduces crime?
we got a sentry.io alert of an error, we think this may be you. filed a bug: https://github.com/garageScript/c0d3-app/issues/244
Attach an Apple USB keyboard to your ESXi host and you’re good to go.
The per launch cost to refurbish the shuttle + new tank + refurb boosters was more than five separate fully-expended falcon 9-heavy launches.
This is a great book I just read about this very subject: https://www.amazon.com/dp/B07TD6FVHG
Are police really responsible for most violence (murders / robberies etc) in the US. If so it would seem better supervision would lead to a huge reduction in those crimes.
I think if the current crisis has shown one thing it's the disconnect between the stock market and the economy.
Isn't this a perennial complaint? Didn't the invention of cell phones come to pollute our lives with more noise than ever before? Yet we tolerated it, because of the benefits and desire of people to use them.

Every technology goes through a period of societal decision whether to tolerate the downsides (even very broadly distributed, vague downsides) compared to the benefits created.
Rbx.fyi
Especially when you watch the press conferences you can practically see the mayors’ puppet strings being pulled by the police chief standing next to them. Chicago was exactly the same. They know who the real power is.
> This write-up outlines some of the implementation details of the lite text editor. At the time of writing this lite is version 1.06.

Can the title be changed to reflect the fact that Lite is a text editor. As it stands I can't tell and have to click through to find out.
100% agreed. This is my big fear about the shift to remote work: it can deeply exacerbate organizational pathology.

For what it's worth, I've worked with a couple teams that were remote and great at this, so it's not impossible. One was a small startup. The developers had worked together in person for years and were really well bonded. Once they added in some remote pairing, it was fantastic. The other was a Mozilla team where they put a lot of emphasis on close collaboration. Between the two, I have a fair bit of hope.
I would say it's more that your experience is with Java. With Java, proper IDE support is pretty important, but mostly just because it's so verbose and clunky.

If you try something like OCaml, you really don't need any special editor support (though it's still nice if you have it).
Surely the racial swipe is not necessary here and doesn't add very much to the conversation
For sure salaries don't compare but that wasn't the question. If you want to maximize salary then you probably want to work for FAANG and go through the interview process.
If an insurance policy covers all physical damage perils and riots are not mentioned as an exclusion, then riots are covered. It's not like physical damage coverage itemizes every possible source of damage and those that aren't listed aren't covered.

I'm literally not understanding your claim, so it seems like we are indeed having significant difficulty communicating. Because of the way contracts are written, I think your claim is pretty close to obviously false.

Concretely: if riots are not covered, it is overwhelmingly likely that the contract will be structured as "physical damages are covered except as listed below" listed below: "riots are not covered"
I considered including a price tag (... and comes for only $6990 ), but decided against it for being too thick. I also think that using /s markers kinda kills the idea of sarcasm.
did you type in a username / email with an uppercase letter? that's the only issue we've discovered so far with the signup process.
A way to get around this: https://medium.com/@jainmukesh/slow-browser-1-hack-to-speed-...
https://www.pbs.org/independentlens/films/peace-officer/
Frankly the fact that education is only 4x the budget of the police force is depressing in itself.
Elon Musk calls for Amazon breakup
The violence was not out of control last night.

Case in point the video above showing hundreds of police officers surrounding peaceful protesters. I am offended by the massive waste of resources.

Case in point news helicopters not filming looting (as they would rather do) . The only thing left to film that night was the true protest. Made so so clear in the video above. The abuse of power if you can't see it you're blind.

This proves the curfew was ordered under false pretenses. And demonstrates a complete lack of judgement and common sense by law enforcement.
You can install "moby-engine" (docker-ce 19.03.8) from Fedora repos instead, I think docker doesn't care about repo for fedora as they lag few months every release.
Yes, exactly. Defunding the police seems really short sighted. Maybe reallocating funds; less equipment but more personal with better training? Maybe revising some of the manuals?

I hated the cops when I was a kid. I saw friends get stuck with hundreds if not thousands of dollars in fines for pot. But those laws have started to change, and that's more important as far as rights and equality go.

Police shootings have been going down, and most police departments want body cameras because, in the past few years, they've shown how many police shootings were entirely justified (a lot of criminals, both black and white, and really dumb).

I no longer hate the police today. I even know a few and talk to them and really, I think more police should be encourage to just do stuff in their community and get to know people.

This current era is an interesting situation, because the police do not have the actual manpower to defend all affected areas. It's being covered in a political blanket and doused with a healthy dose of propaganda and outrage, and that really should not dictate practical policy.
This is a good example of an area where the far left and the far right are in total agreement. The far left is obvious, but the far right people also love the idea of defunding the police. It sets back the gun control agenda because without effective police the arguments for gun ownership become immeasurably stronger. It sets back the feminist agenda because it means women will have to depend on the men they know for protection, unless they are willing to carry and use a gun.

And that's barely scratching the surface. The number of higher order consequences of defunding the police are mind-boggling. Insurance costs will obviously skyrocket for one, if policies even continue to be offered at all. Seeing a market opportunity, organized criminals will certainly step up their classic protection rackets. The wealthy will have to spend slightly more on private security, but obviously that doesn't really bother them. And of course if all that money is instead sent to minority communities, well I guarantee there will be some kind of struggle over who gets control of it.
Give the people what they want. Cut the budgets and reduce policing. If this is truly what the people want, then on their heads may it be.
I don't believe there are any other groups, besides law enforcement & politicians, who have have unilateral or near-unilateral power to investigate and clear themselves of crimes, so I don't think this question makes sense.
Hmm, dunno how that happened .. maybe its better now?
And for a non-IT person.
They also have an API, which is what the GP was asking for.
> History itself justifies precisely nothing.

We're not saying it does. We're saying that when you can tell right from wrong, but you make a selfish / pragmatic choice, that you will be on the wrong side of history. Because we're optimists. We think in the future, people will be better able to tell right from wrong.
Police chiefs are also elected.
That's quite the range though. If somebody breaks into your house and you have the ability to leave through the back door, would you be required to do so and would be charged if you didn't, a fight ensues and you kill the person? What if they walk out with your computer, can you try to stop them, knowing that it will escalate the situation to what is likely life-threatening?
Police are paid well, especially if you count benefits, OT pay and pensions. Their jobs and benefits are also protected by very strong unions. If you compare police pay with the typical pay for important public servants like firefighters or teachers, you'll find police are doing just fine.

See https://www.ziprecruiter.com/Salaries/What-Is-the-Average-Po... for some loose numbers, you can find similar numbers in many other places. "Several cities in California have average police officer salaries above $100,000, including the highest in the San Jose area"

It's possible paying "more" would improve the quality of police officers but how much more do we need to pay for them to stop shooting people in the eye with less-lethal rounds that aren't meant to be fired directly at people or from ranges less than 10m?

Police budgets keep going up and somehow the violence hasn't stopped. What's the price threshold that fixes it? LAPD was looking at another big boost to funding this year after multiple funding increases over the last decade.
Read what my proposal was and stop beating the strawman (i wont attribute this to malice as you clearly havent read any of it).

With my proposal law enforcement can access to the unencrypted data far less that they can do it now (under the rag) and when they access they are under scrutiny of judges while it prevents corporations accessing it.

Maybe do take time to think about what country is, what government is and to who it serves, what corporation is and to who it serve, maybe ask yourself what the law enforcement is and who does it serve, if you dare go into further, what if there would be no law enforcement? Do you have the muscless for that?

Or chuckle mindlessly on. I think your whole statement is demanding advantages in system where someone else takes care for you to allow you to not think about dissadvantages.
Pollution May Be Down, but Carbon Dioxide Is Soaring
Yes let's de-fund the police. I am sure that will have no impact on future police recruitment or their general sense of appreciation for that matter. Which I am sure will have zero impact on their willingness to put their lives on the line when they are actually needed.
Women Who Code virtual workshop on Apache Kylin
In real life, yes. With children, no. It’s harder and you really have to go out of your way to make it safe from day zero.

Much as I would love to have them run into problems which I could turn into “and the real treasure we found was the friends we made along the way” teachable moments for them, they generate far too much strife for each other without already.

Any additional tools to facilitate the social chaos of teenage life would be surplus to requirements.
As this seems to mediate consensus building, this also reminds me of:

https://www.wired.co.uk/article/we-will-see-the-rise-of-civi...

https://www.wired.co.uk/article/taiwan-democracy-social-medi...

Especially having a global social media network with linear discussion maxed on 280 characters seems to be one of the most efficient ways to reach disagreement.
AMA: Where can we learn Threat Modelling?
I tried one random site and the performance and SEO were much worse in the optimized version.

Oyato Optimized Results: 28 perf, 89 SEO

Original Site Results: 34 perf, 96 SEO
These sort of things get very tricky. Years ago in college me and my team was building an operating system and we were 100% sure we found a GCC bug. It turned out to be a gdb bug (we were disassembling with gdb) instead that made us think it was a GCC bug, but it was actually a bug in our code. Very subtle.
Numbers the article lacks. In 1993 the LAPD budget was $555m, or $985m today. The proposed budget for next year was $1860m, almost double. The population of LA has increased about 15% in the interim but the number of reported crimes fell from 80k/year to 30k/year. The real-dollar cost per crime reported has gone up more than 5x.
And core.async, bringing go blocks, channels, and parking semantics to Clojure

https://github.com/clojure/core.async/
Let's apply that "few bad apples" logic to the police force as well.
I think "docker" is an ambiguous term nowadays.

Depending on your point of view, it could denote a container, or source control, or a sort of makefile.

To me it is a reproducible recipe in 43 lines of Dockerfile text.
What I don't quite understand is the article is arguing that left and right can't even agree on the facts and both are wrong. But when I look at the examples they are both wrong, but way "to the right" on the facts.
AMA: DevSecOps versus Secure SDLC
Why is OSSFuzz using an unreleased compiler to test things?
Poe's law is especially strong with Apple, /s is definitely needed unless you go over the top with praising the price.
A collision can eject debris into higher orbits.
My personal view is that police should maintain their qualified immunity, because unfortunately sometimes the use of force is necessary to enforce the law. However, they should also have a duty of care toward citizens that overrides that immunity in addition to mandating that they actually do protect and serve. Castle Rock v. Gonzales[1][2] really needs to be reversed or legislatively overturned.

[1] https://en.wikipedia.org/wiki/Castle_Rock_v._Gonzales

[2] https://www.nytimes.com/2005/06/28/politics/justices-rule-po...
Is there a different writer with a similar viewpoint we could read about, if we don't want to read his work?
> by verifying that the data your function is provided is sufficient for your uses (as in the map contains all the keys you'll need with suitable data types in the fields) _without_ constraining what downstream consumers can also do with this data (extra map keys are ignored)

This assumes a very class-oriented type system. Duck-typing and the like don't have the upstream ontology problems.

My main desire from types is as an iteration assistant (with editor integration). Even if I wrote a function myself, I may not remember the exact order of arguments, or the exact name of that one property on the returned map. I want to a) be able to quickly peek and see what those things are - either by visiting the definition or, even better, via a pop-over in my editor - and b) have my editor tell me immediately if I did something dumb so I can correct it and keep moving.

In a dynamic language, whenever I need to double-check the contract for some code, I can't just go look look at its type signature, I have to go read through it. I have to fully load that whole subtree of information into my brain (recursively to any functions it may itself call), when I'm really trying to focus my thoughts on something else. This can be a huge, needless drain on mental resources.

Spec would help with this some, assuming the author follows a good convention of putting all of their assertions at the top of the function. But maybe those assertions are done inside conditionals, creating a more complex type. And maybe my editor doesn't know what to make of them (do any editors? genuinely curious). Etc. It just creates a bunch of little speedbumps to cognition that add up.
Feel free to expand on that
While we can suggest Cider as an option, I have had nontrivial problems with breakage on updating, Emacs falling over with long lines of text, Windows support, etc. I also know that I am not the only one who has had these problems https://twitter.com/ztellman/status/1055152840589496320.

These kinds of issues a part of the tooling gap and are real reasons people give up on Clojure and I do find the dismissive attitude of most when I have suggested this in the past off putting.

Addressing Emacs specifically, while it would be probably worth the investment it is not an answer most people want to hear and when we suggest that Clojure is this great thing it is important to show people on some of their terms because learning a new editor on top of Clojure more then we should be asking IMHO and for all the talk of Clojure being pragmatic this feels directly opposed to that ethos.

Let me emphasize, I don't want to say anyone is doing anything wrong or that Emacs isn't the right way forward but it had to be acknowledged that there are real problems that path that need improvement when it comes to onboarding new developers and with daily use.
Battle of the Chunky iPad Laptops
3 days later Tegnell (March 8) said he had been "a bit too optimistic" (something he stated a couple of more times since then) and that the increase "might go on for a few more days".

"Därför verkar peaken dra ut ytterligare något eller några dygn mer än jag trodde, säger han och tror att kulmen kommer att nås i början på nästa vecka."
https://omni.se/anders-tegnell-om-kulmen-jag-var-lite-for-op...

Personally I don't buy this being mostly a communication issue. I see this as an actual inability in intelligent, complex, system's thinking. In his brain, there is no large "simulation" of a global pandemic. There is a very small perspective, focusing only on Sweden, and only on the here and now, and the evidence that already has been produced. With this, one is doomed to be always behind, to ignore a lot of valuable knowledge, always being "too optimistic", and accumulating fatalities along the way.
Obviously, his team doesn't seem to have contributed with a lot more either (or they have been ignored by him, who knows how the internal dynamics are)

He might be a scientist. But there are good scientists. And there are bad ones. Right?
Of course technology perpetuates racism. It was designed that way
I find the complaints overblown myself. It seems like just a site people can see posts from other people on, which relies on standard adtech for funding, which I also don't consider evil. The big thing was CA which can't even be proven FB was complicit in.
Congrats Aline!
It's far more than a swipe -- it's very relevant. If you look into the history of police, they started out as slavecatchers. Vigilantism quickly caught on and white folks were given implicit authority to question the origin, destination, and qualifications of any black person they happened to come across. You can follow the unbroken thread of this culture and attitude to today.

Police institutions today are a manifestation of the fragility of the white ego when confronted with black people with ambitions. They will ignore black folks who stay "in their place", i.e., don't leave their neighborhoods so white people don't see them. It is when black people attempt to assert socioeconomic mobility that the white folks quickly mobilize.

One of the impetuses for Brown v. Board of Education was that white administrators shut down the entire public school system so that "equality" was achieved in that both white and black students couldn't access public schools. Following vehement outcries from both black and white parents, they started handing out tax-funded vouchers to the white families only to attend private schools, which is how the charter school phenomenon became such a big idea. Betsy DeVos and her family are perpetuating this essentially segregationist system today, with tokenized and very public displays of "see it's not a racist system because sometimes black children win the lottery too!"

As we still operate in this society I had a kneejerk reaction and feel almost obligated to add a "not all white people" clause, which only reinforces the points made above.

Here are resources for the people who are reacting to the language I'm using:

Dr. Robin DiAngelo, who literally wrote the book on white fragility https://www.youtube.com/watch?v=45ey4jgoxeU

Prof. Carol Anderson on the closely-related concept of white rage https://www.youtube.com/watch?v=YBYUET24K1c
> Luckily they could refer me to a local shop nearby which was open at that time

Not telling that is the case but happens all the time in India. The local shop and this guy have a profit sharing deal :-)