skysight-inc/HackerNews huggingface dataset:
How would you even test a UI library? For example, if some weird input makes the bar charts too spread apart, how do you convert that to a unit test? If you tried to unit test this, you'd either be fully reproducing the actual source code for spacing logic or you'd be hard-coding in thresholds that might all break if the maintainer decides on a UI change such as "increase the spacing for bar charts having many grouped bars".
It seems for UI projects, testing can only cover about 1-10% of the issues that eventually end up on the GitHub issue tracker, so 25% of your time on this project would go toward writing tests, which would save you 1-10% of your time. Doesn't make sense.
What they addressed at the end of the article is the key point to me. There are reduced nations left to fuel the worlds economic engine in a recession. Previously events like 2008 we had India, Middle Eastern and Chinese economies doing massive development, so while the western countries went to recovery mode, the could benefit and hold themselves a bit better from these other nations growth.

Today if we hit a trade/financial crisis its likely to spread across the major global economies. African areas and India seem to have ongoing growth potential but I dont see them coming to the rescue.

And should a major economy like US have a crisis this could have a global impact compounded further by; 1) The massive global debts being accumulated at personal and state levels pretty much everywhere. This is setting ourselves up for potential contagious failure of our systems. Not just inter country finance but imagine there was significant defaults and how that would spread to pension funds and back into the economy. Small business lending etc. Our globalised and finance heavy economies dont have adequate circuit breakers. Further 2) I suspect developed nations urbanisation will make any significant downturn harder on the masses than previous recessions. In the 1920's you had 30%+ of people on farms. Now you have something like 2%. Back then people could more easily tighten belts and become increasingly self sufficient over a few hard years. Today it would be a significantly more difficult position for the government to manage, both by volume of people that would need full support and back to their indebtedness. This could spell real trouble if the wheels fall off. And given history, the wheels will fall off occasionally.

Anyway, I'm not trying to scare or convince people to buy bunkers. I do feel we should demand better long term governance from politicians vs this 'whats gets me in next term' politics we see today. With the tribalism and instant gratification of today's politics it doesn't seem to offer the best hope. But really who knows...
That's emotional energy, hard to store safely at room temperaturz
I can't edit it anymore, but I did mean "unburnable". I realize (now) that "inflammable" comes from "inflame"/"enflame", but "in-"/"im-" has lots of use as a negation. "Invisible", "indivisible", "inconceivable", etc.
Which is a polite way of saying “we hire people like us”
unless the images were a screenshot of each frame of the episode, how exactly they were used doesn't matter for the cited clause of fair use. in what way could a small number of screenshots ever be a substitute for an episode of a tv show?
This type of selection (“people who don’t grate me”) often favors people that are similar to us. Project Implicit[1] at Harvard has done interesting work highlighting our difficulty to make “objective” judgements (esp. about other people that are different from ourselves), and that we go to great lengths justifying our biased decisions not just to others but to ourselves. Hence “implicit” biases.

1. https://implicit.harvard.edu/implicit/aboutus.html
Maybe in towns, but not in big cities, NY, Chicago, LA, or even smaller ones like SF. Most of the time, if you try to strike up a conversation with a stranger, like trying to chat to someone you don't know on the train for example, they will be polite but not engage - and they will probably assume you're trying to sell them something etc.
Credit cards fraud protection is varied country by country. I've been fucked by stolen info (just card number) and lost around $300. Disputed to my bank and in their generalize respond is "fuck you pay me". I never trust any banks anymore, I'll avoid banking at all if possible.
> less than 10% of the companies that I've interviewed with have said that their interview process was designed to evaluate how effectively someone could do the job that they're being hired for.

I don't think an interview process can do this tbh.

A good interview process can evaluate if they can do the job that they're being hired for, in most cases, but I would say only an actual trial/probationary period can evaluate how effectively they can do it. And even then, how effective they are may be environmental - completely external to their own internal competence.

After concluding that a candidate can do the job, the secondary purpose of the interview process is filtering for people that will positively affect the work environment of their colleagues (and/or filter out those who may negatively affect others). As an interviewer, I would make some effort not to lean too heavily on my own biases and try and also consider how they'd get on with my colleagues that I know well, but there is unfortunately always going to be some implicit bias here.
Hey - @joethephish here from inkle! Really cool to to hear that you're using ink for that :) Would love to know more detail about where this is being used if you're able to share!
On reading this post, it may well be that culture fit is quite a good description.

At least from the POV that you're selecting from a small cadre of (almost exclusively) male masters grads.
Just as a spitball idea...

What about a structured "cohort" hiring process where you give potential employees short term (literally one or two days, where you have a group exercise like a "hackathon" where you make a sample product for demo, then moving up to one or two week rounds) contracts that allow you to evaluate and accept (pass on to future rounds) or reject a large candidate pool and thereby filter your potential future employees. Given the current costs of recruiters, HR personnel, interviews and headhunters this might actually end up being cheaper than current "traditional" hiring methods and could generate some very effective development teams.
We invest in objects, watch a gearhead after something happens to there car. Never mind sailors and ships.
> If a news outlet wants to rely on images taken by the public, they are free to do so.

In fact they're not free to do so, not the way that copyright currently works.
Ask HN: Is it legal to store/cache data retrieved from Google Maps APIs?
Looking at the Google API terms & conditions about ownership (https://developers.google.com/terms/#c_ownership), it is confusing for me whether or not it is possible to store/cache the data retrieved from Google Maps API.

Say company X has an App with a million users. Users trigger calls to Google API with their locations every time using the app. Company X is storing/caching the data and soon they are semi-independent from Google Maps API.

Is there something illegal about this?
If you haven't picked it up from context: Wireguard is a VPN that provides a virtual network interface (wg0, wg1...) which can be routed, firewalled, and so forth.

Notable bits: very little code, so it's easy to audit. Very few options, so it's easy to get it do what it does. Very simple config, as a result of the very few options.

Basically, take all the things which drive people crazy about IPsec (all the options, all the choices, the difficulty of debugging, the multiphase negotiations, the usual policy routing rather than interface routing) and make them go away by not just choosing reasonable defaults but not even providing the capability to make different choices.

Finally, it is pretty fast.
It doesn't shit all over your floor.
Ask HN: Best companies to work for or invest in during an economic depression?
I feel the obvious answer is anything that is essential services to the government. Curious what HN'ers thing.
Actually I think, the misunderstanding is on your side. Unauthenticated DOES mean that the attacker can modify anything without you noticing. You might only notice because you are getting a file that looks like random junk but you wanted it to be a picture. But that is not something you should rely on for security.
I wish we only used a single system... Whatsapp and Skype at least. I tried to change to Discord, but no one ever really changes systems.
I am not taking a position on whether the arguments are good or bad. But supposing the arguments are bad, sincerely believing something on the basis of a bad argument is not the same as believing it by faith.
> That seems consistent with the notion that our universe is (at least part of) some kind of Great Project

Being consistent with something is not an argument for that thing. There is an infinite supply of mutually inconsistent hypotheses you can trivially generate for anything that's yet unknown that are consistent with what is known. Universe-creating unicorn-pixies that like drinking coffee are consistent with the big bang as well (a big bang happens when they drinkg coffee!). That doesn't tell you anything.
It's not just that. R has a few things going for it:

1. It's a functional language, and functional programming style lends itself really well to matrix operations (and the engine of stats is all about matrices).

2. Matrices are baked really deeply into the language, which makes the functional style even more powerful. (my understanding is that what makes the formula interface work so well).

3. R can be viewed as coating of syntactic sugar on a lot of very useful fortran libraries.

On the other hand I once saw some open source toolkit for natural language processing in R. I had two issues with that. Firstly WTF was the author thinking doing all his general purpose programming in R. And two I didn't want to investigate further because as NLP is largely about general purpose operations and I didn't want to get sucked into that rabbit hole.
Storage Efficiency for Time Series Data: Relational vs. TSDB
Most people really don't care if MS knows you opened Code, used it with JS and Python projects, and installed 3 extensions. And yeah, it makes Code much better when MS knows how you're using it, btw
About half of all marriages fail. All the intimate relationships people have prior to marriage also don't last. So people we like has a fairly high failure rate for intimate relationships.

Having said that, it doesn't necessarily mean it was all a complete waste.

Most people don't stay in their first job, so there's that.
Commit size isn't the most important number either. You can commit large chunks of memory and if you don't touch it, Windows won't allocate it; not in physical memory nor in page file.

Here's another article with more recent details: http://blogs.microsoft.co.il/sasha/2016/01/05/windows-proces...
"There are rules, but we don't tell you what they are. It is up to you to guess. Once the group think moves too much in wild direction, we will pick up someone we don't like and make him/her an example"
Perl was meant to be used as "better bourne-shell". Why would you make "big projects" in perl?
> Learning a new skill is not an earth-shattering problem...

Depends on the problem. If you're cranking out brochure websites from a set of templates, you have a pretty accessible role to fill.

But I have many colleagues who make mistakes (even when people object clearly), dig a hole for themselves, double down on the mistake, and the either back their way into job security with their mess or end up moving on once the chickens come home to roost. Some of the time, I can even see their eyes glaze over as I try to get them to think a few more moves ahead in their plan.

Now, organizations should have safe roles for journeyman engineers who crank out and maintain code as directed, but most organizations expect all senior engineers to be part time system design experts, which I don't think everyone has the knack for. Likewise, not everyone is a great communicator and strong enough technically to be accurate in their communication.
Everything You Need to Know About Node.js Event Loop (Outside In)
Which is still illegal regardless of whether it's moral.

I'm trying to find a way to work in a bound for the floor reference but none of them fit.
I strongly agree with this. “Culture fit” is one of those concepts that often disadvantages “others”. This is something we may not be able to avoid without putting in place safeguards (concert musicians were predominantly male until blind auditions were used - and it turned out that female musicians play just as well or better).

As I mention above this is often not a result of bad intentions, but of implicit biases that have an effect on our judgements even if we are fully aware of them and explicitly try to avoid them.

See https://implicit.harvard.edu/implicit/aboutus.html
There was a particular domain that, when queried at most whois services, would play the harlem shake in your browser. It worked nearly everywhere that did such lookups.
I haven't used Sublime in years now, but that was one huge feature I think about and miss often when in VSCode. I'm glad VSCode does have the current implementation of multiple cursors, and the way Sublime did it differently is subtle, but man it makes a huge difference!
R is a great tool but terrible programming language. There is some basic fundamentals how programming language should work which R just disregards for the sake of being different.

Okey indexes start at 1, I can get past that.

Variables are initialized with "a <- 1" okey well for each to their own.

Return requires you to wrap values with "()" so "return x" doesn't work but "return(x)" does. Umm.

You should never iterate over a dataframe except when you have to and then there's a plethora of different ways to do it. Some are better, some are worse. But isn't it nice that everyone can invent their own way of doing it? Right?

Those are what I can come up with from the top of my head. But overall the feeling I get when I code R is that it's this mystic arcane magic that requires completely new way of thinking compared to other programming languages. And it's very frustrating.

Python is better but I have my issues with it too. Mainly the fact that debugging in Python is such a pain the ass and typelessness makes reading of other people's code a nightmare at times. Also libraries like numpy, pandas and matplotlib are very convoluted with kinda bad documentation. Maybe a good IDE would solve it with Intellisense and RStudio like capabilities (again where R shines). I've tried Spyder/Rodeo/Pycharm but none of them were as simple and user-friendly as RStudio when doing data-stuff.

EDIT: Anecdote: I did some programming with a statistician who is a R-guru and he wrote terrible code in Python. Would he coded better if he had learned a different language than R? Maybe. In my opinion probably yes.
Using proxies for competence is a slippery slope towards misdirection and irrelevance - and as a result, incorrect hiring decisions.

In another thread today, someone mentioned they reject every CV that has two typos or more. It's a proxy, and it is irrelevant for the job.

Once you start going down the path of proxies, you add more and more far removed ones. To keep hiring performance high, resist adding the first proxy. Actually ask questions relevant to past work experience that maps to the actual job. Maybe do work samples.

To circle back to the two questions in the blog post, no interviewer can answer them because they use proxies too far removed.
Interestingly, but somewhat unsurprising, most disliked languages are "medieval" languages according to: https://www.youtube.com/watch?v=y2___qaG_9Q

;-)
The article points out that they don't know much about the case so we don't even know if it's fair use at this point.
Will, would, not really looking for an internet scaddadle, downvote me if wish

Daily aspirin use causes gastric distress ib many others, too.

My main point still stands, aspirin should taken with extreme care, and people reading stuff like this often think its a good idea to self medicate. Id rather they err(?) on the side of caution. Even though youre technically right. => "inappropriate use of aspirin MAY(would/could) lead to gastric bleeding"
Sorry, I have not been following Bitcoin news lately. Could you give a comparison of the expected transaction capacity, expected fees and expected time to confirm a transaction by mid November against typical credit card company? That would give some basis to estimate the value bitcoin is creating against the competitors.
Using Python to Analyze 60 Million US Police Stops
I'd love to have an editor scripting language in VS Code that would be a lighter-weight way to create an editing macro than building an extension. Despite the annoying scripting languages, both vim and emacs get a lot of their power and popularity by enabling users to easily add little, custom editing features that they can then bind to keystrokes.

Not a macro recorder, but a real scripting language in which cursors, multiple selections, find results, regexes, files, folders, editor panels, the built-in terminal, menu items, semantics provided by an extension (ex: "PythonFunctionName"), external processes, git merge conflict lines, etc., were first-class objects.

Now there's a stretch goal....
> reward users who are likely to make in-app purchases

It's nothing new, but I still find it amusing how much the IAP model has borrowed from the marketing handbook of narcotics dealers.
As I understand it, the measurement for poverty is unreasonably low. That the better rule of thumb is the number of citizens below 2x the traditional poverty income levels. This data is over-aggregated.
There is. Take a set of realistic, representative tasks from your day to day work, decouple it from the
context as much as possible to limit the need company specific services, software or knowledge while
performing the task.

There's a few reasons this is rare:

* Setting up a test like this requires prep work, whereas a chat, recycling old tests and downloading questions from the internet does not.

* It's rare for hirers to evaluate or be evaluated on their own hiring process.

* Lots of developers want to cargo cult Google's hiring process so they ask you to whiteboard algorithms.
Personally, I'm happy when my kids don't touch the Roomba for two whole days and just let it do its job.
How does it feel like fair use if we don't even know how he used it. At this point we cant be certain if he didn't upload them for sale on 500px as his own stills.
Not really, because "unreadable" is a very subjective metric. When you spend some time with a syntax your brain learns to parse it quickly and effortlessly. Perl's use of $%@ prefixes to mark the type of variable actually makes it easier to understand, once you get used to the syntax.
Wow so many wrong in one comment. Javascript is not the first language implemented closures. Javascript is close to scheme ... compared to C, Eiffel, Algol, Haskell? Semantically null statement. Javascript is not named Javascript because it is supposed to be close to Java; no one thinks Javascript is close to Java, so comparison is misguided.
couldn't this be a hedge against ANY (but not all) failure of some financial system somewhere?
Considering its an acid.. I imagine it would hurt.
It tends to work best with Java conventions, so camelCase spellings are interpreted correctly, but other conventions - not so much.
Make the ugly one. Be encouraged by the functionality, rather than the form. There is nothing wrong with a prototype that solves a problem but needs a facelift.

If people are willing to use it, figure out how to improve the visual design -- delegate, sell it, design sabbatical, take some classes, whatever. This may require throwing some work away, but it's still a functioning thing.
Not sure what the current going rate is but doesn't a service like People Ready solve this? A while back I hired a couple guys through them to help with a move and they were a couple bucks an hour over minimum wage.
shift+alt click seems to behave just like sublime does, I left sublime a long time ago, I'm not sure what you're trying to describe there?

Do you mean because it selects the rectangle? Just hit an arrow key.
I get the dazzling errors, but what unclear syntax are you referring to? And how would you make it more clear?
Work less, play more.
I really like how relaxed and informal this way of presenting a roadmap is (especially coming from a corporation like Microsoft).

Also, the fact that they've identified and focused on keeping startup time low and performance high is a core point for the value of a code editor really gives me hope for VSCode. Especially that they seem to realise responsiveness and low resource usage is more valuable than blindly adding new features and extensions.
Don't see why you were voted down on this, since it's true. Slack working to get things running again doesn't mean they're prioritising your companies particular instance or region. They're likely to be making sure their own region and their own stuff is up and fixed first, so anyone away from the east coast of America is likely to get seen to after that. It would be stupid to do it any other way, since slack employees are likely affected as well and they're the ones trying to fix it. Down voting someone pointing that out is pretty fanboi-esk or really naieve.

Pretty much, if you don't own the service, you don't get to decide where in the queue you are for a fix.
GP still makes a good point. Righthaven is a good example of where attacks on fair use lead. Sure, we don't know about this case, but odds are good that it involves fair use. And even if not, GP's point is still relevant.
"Guy who talks to the person sitting next to him on the plane" here. One of two things happen when you strike up a conversation with a strange: it abruptly ends and you go back to silence, or you learn a bit about someone else and get outside of yourself for a time. Either one is perfectly acceptable.
what will happen to bitcoin in recession?
I mastered the Golden Path that works 99,9% of the time together with some starred threads on Stack Overflow. But one of the devs wanted to switch to a rebase based flow and I found myself again needing to learn something overly complicated and fragile and the attempt to change to rebase kind of died because of that.