skysight-inc/HackerNews huggingface dataset:
Thank you, this is the best HN comment i have read in a year (or possibly more)!

Your solution to the anagram problem is very ingenious, indeed. I have seen this question a bunch of times and know all the "standard" approaches - but your solution, which i've never heard of before, is correct, clever and far superior. Kudos to you for coming up with it under such stressful conditions!

Your description of the interview process is very sad. The interviewers' attitudes and response induced an icky feeling in me.

I think that the attitude you encountered at Kaggle is an artifact of rather poor quality, insecure and insufficiently experienced / accomplished engineers. Whenever i interact with really accomplished and senior technical people, the conversations tend to be of stellar quality - they like to discuss actual past work in depth, are able to comprehend new and (perhaps unusual to them) concepts, and are generally a lot more respectful and pleasant. On the other hand, everything you described reeks of junior, inexperienced and rather insecure technical talent.

This reminds me of my own very-first tech interview. I had spent 5 years in a research lab, working on autonomous vehicles, writing software for things like signal processing algorithms, error correction codes, ML / reinforcement learning algorithms optimised to run on power-constrained devices and the like.

I went to interview with a VC-funded startup. They were looking for "experts in signal processing and machine learning experts". I figured my years of signal processing / ML experience might be a good fit. After the initial pleasantries, i get asked "How will you design a server that can detect anagrams of any word in the english language?"

For the life of me, i couldn't come up with a reasonable solution. I went home and hung my head in shame.
> community that is toxic towards free software

I think that's a hostile mischaracterisation of the community!
- "People drank alcohol because it was safer than water"

This has literally never been proven to be true. Just one of the myths invented recently.
Removing Python's GIL will never make much sense. Not today and not in future. If you need CPU-fast code and would bother to multi-thread, it's much more worth it to write the code in Cython.

If your code is CPU bound and you're using native Python, you're going to be making a tonne of heap allocations and pointer dereferences. This will be very slow.

If you implement the relevant stuff in Cython, even without using multi-threading you'll likely see 10x performance improvement, and can often see up to 100x.

Removing the GIL makes Python worse at the stuff it's good at, for questionable improvements in the areas Python is really terrible. This is not a good trade.
The nohup approach with logging is the *nix way of doing ad-hoc stuff.

You could also look at mosh.org, it works like ssh, but handles disconnects and re-connects well. You could even ^Z; bg to make your program run in background and when you reconnect, you'd just do a fg to get it back into the foreground. Since your shell doesn't get logged out, you'd be Ok.
The Dawn of Podcasting in Kenya
A lot of the posts here seem to be missing something important: permanganate is an EXTREMELY vividly colored ion in solution. The bright colors of the water in the pictures is about in line with what a 20 ppm permanganate solution looks like. Considering manganese is an essential trace mineral (although it is neurotoxic above a certain point, the amounts in the water are minimal), I doubt there is any real toxic effect caused by drinking the water. Permanganate is a very strong oxidizer, but it is not much stronger than the commonly used chlorine and chlorine dioxide to be of concern (and it's weaker than ozone anyways).

The whole reason permanganate is added in the first place is twofold: it oxidizes simple organics all the way to carbon dioxide (think nail polish remover, denatured alcohol), and it oxidizes soluble ferrous iron to insoluble ferric iron. The byproduct of the oxidation, manganese dioxide, is insoluble and if balanced correctly the treatment does not increase manganese levels in the water.
Such shoes could be used as a means of human powered transport. But probably fashion is more important to people. No one would like to be associated with lazy-shoes - especially people that run regularly enough to think about buying special shoes. At least it is not on the same level as Segway.

I used to bike to work, but after hours of sitting I was not happy to sit on even smaller seat. I was afraid of getting hemorrhoids. Because my butt hurt. Now I usually use kick-scooter and in case of my commute it is a bit faster, because I don't have to take time to lock a bike. I just fold the scooter and take it with me. Also I don't put more pressure on my butt.

Other means of human powered transport without butt pressuring: running (and then that shoes could help), roller-blading and skateboarding.
Agreed. The documentation page [1] has much more information.

[1] https://developers.google.com/recaptcha/docs/invisible
What was the atmospheric pressure during the tests? Martian like?
That is what profilers are for.

One cannot realistic expect that any compiler for a given language behaves the same way.
Why Do Afrikan Governments Have Such an Uneasy Relationship with Social Media?
Hey! Great that you answer questions. A question I had was if you took the temperature into account in your experiments.

A second question I has was: how similar is the sand you are using to real martian sand?

Do you have any images of the resulting potatoes? Would they be edible?
One of my friends had a birthday cake which had a QR code on it of the URL photo album containing photos of the birthday.

Of course this is trivial to set up (create album before, upload photos after), but I found it amusing nonetheless.
Don't throw the baby away with the bathwater.

Peer reviewed publications offers the only venue for accountable reporting on complex subjects.

By definition this mean "accountability to peers" and is the only mechanism which outsiders can use to gauge the credibility of claims.

Like all things humans do that is not pure maths, it's not perfect but the best we have.
Filesize is not necessarily better performance. On todays hardware i believe (but i have not tested this..) that opening a zipped 1MB file often is slower than just opening it directly, basically thats just shoving it in RAM.
How to Convince Skeptics That Climate Change Is a Problem
Afrika Needs More Women Computer Scientists.  How to Make It Happen
Do you use inline styles to hide the field or "obfuscate" it through a CSS class?
Neither the host or google ask for money in exchange for their services. The profitability of their chosen business model is not my concern.

If they want something in return, perhaps they should consider setting up a paywall.
> Abstractions are different to metaphors. You can have an abstraction with a name 'x' that you can use to send messages over an SMTP server.

How is that different from a function (or set of functions) that abstract the technicalities of sending messages over SMTP?

I am not sure why specific metaphor is so helpful here. I don't think it helps in understanding the function, on the contrary.

> Moreover, the "basic library" creation step that you allude to the point where you decide where the borders between different modules of code lie.

Not quite. The important thing to understand is that I am not optimizing for size of a single program, but large set of different programs. The same thing that humans do.

> There is often a trade off to be made between coupling one block of code to another (e.g. introducing a dependency) and sacrificing terseness.

Well, I understand "high coupling" differently than you, then. For me, it means things like doing different unrelated things in a single function (so the result is that it's harder to reuse it). It doesn't mean that you cannot call other functions.

I don't consider a function that avoids a library call, instead inlining the functionality, to be well-written. (If that's what you mean by the trade-off - maybe some example would help.)
Just to clarify (after I've re-read my comment) - we didnt explicitly create a landing page stylesheet, instead we were able to use Webpack to automatically create a seperate stylesheet at build time containing just the styles used in the dependency tree of the landing page.

Webpack is super handy like that - no need to be aware of this and manually keep track of a seperate stylesheet :)
When mixed with sulfuric acid, it forms manganese heptoxide, which does lovely things like ignite paper on contact and detonate if heated above 50 C!
> I always thought different paradigms suited different problem domains rather than different people.

This. Any imperative program can be formally encoded as an immutable functional program, and vice-versa.

Therefore, which paradigm to choose is a matter of what style fits the problem at hand better, and how comfortable you are with the paradigm. But this is true of any coding convention.
Simple example of how to build UI checkboxes group on Reactjs
Similarly, clipless cycling shoes. Either hard plastic in cheaper models or carbon fiber in more expensive ones to stiffen the sole and allow more energy transfer to pedals. But then again, everything is carbon fiber in modern cycling.
Can't you blend anything you want? If it's too thick just add water.
“Are they going to try and land anyway?”

It's unlikely that the pilot simply took a gamble. Presumably ground crew took a look, either on the first go-round or during the second approach, and confirmed that the landing gear was down. I like to think my "screw it we'll see what happens" IT methodology isn't used in all industries...
you could record/analyse and recreate a concert using the album/single releases
Detecting Android malware by building Markov chains of behavorial models
Americans didn't vote for Nixon in the specific hope that Watergate would happen (last I checked at least; I wasn't around back then). Americans did vote for Trump in the specific hope that Trump's craziness and antics would happen. That's probably the key difference here.
It could be easier for load balancing or if you want to shard. You could do it at the DNS level at that point, without needing to strip the TLS bits, decode the HTTP request and go from there.

For the end user though I can't see much of a benefit of a subdomain over a URL path, or the other way around. I don't think it matters much but the author might have bigger plans in which having the subdomain could be easier.
I wholeheartedly agree with you. That would be the ideal solution, because the browser is already doing the passes over the CSS rules.
Nate Silver and Mark Cuban Talk a Lot of Politics and a Little Basketball
Zero Day Exploits Rarely Discovered by More Than One Group, Study Finds
Real Estate Script services
I wonder if it's the perceived complexity of building code that can serve the API endpoint
JCSAT-14. It was the first successful landing after a GTO launch and it came down quite hard. GTO launches have the first stage come back quite a bit faster and with less fuel margin than LEO launches. See for example the SES-9 launch where landing failed due to too little fuel being left.

While SpaceX opted to test this core to the breaking point, they also noted that it could have been reused despite the damage. But having a core that represents more or less the worst damage possible while still being able to refly it is valuable in itself and for comparing other landed cores against.

They have since fired the engines for numerous full-duration burns at their test site and presumably nothing exploded yet. This doesn't tell much about aerodynamic stresses imposed, but at least the engines and tanks are seemingly good to go with minimal refurbishment for a few reflights at least.
Back that up with numbers please. At best, the former four are better in terms of value-for-money, but with experience living in both the former and the latter, the German system is superior in terms of outcomes, waiting times, choice.

(Yes, mediterranean countries have a higher life expectancy due to diet and physical activity, but that wouldn't change much with a different health care model.)
How Hutchinson Family Singers Achieved Pop Stardom with an Anti-Slavery Anthem
500+ Data Structure Interview Questions
Online Real Estate business website
And while at that, load it PhantomJS and measure parse and render time. Then try to figure out what weight to give bandwidth VS cpu performance, realize other things can hog the cpu, get an icecream and give up.
> The researchers don't say who provided the data—only that it came from a vulnerability research group

Gold-standard science right here.
Thanks for your feedback. I'm glad you like it.

The pricing is not final, but I do want to keep it simple and affordable.
Not every lifestyle permits intimate relationships. And not everyone can just snap their fingers and "get a long term relationship".
Ask HN: How to unflag story
I by mistake flagged one story. How to unflag it.
Looks cool. There seemt to be some styling issues with fenced blocks in readmes, e.g. I cloned this repo: https://charlieegan3.gitly.io/personal-website
It's excellent. Contemporary online presenters take notice! This is how you can contribute to making America great again.
Verified correct with http://onlinemd5.com/ :-)
Intermittent fasting / calorie restriction has a wide range of health benefits, and give your age, there's no reason not to start now.. provided of course that you're getting a proper amount of calories in your diet for your activity level.

Most longevity research targets older people because they are the group that is most interested.. and unfortunately by that time it's mostly too late to do anything significant, so of course the best thing is to start now.

If anything you'll benefit more by starting now, because as you get older your body becomes more difficult to change (for lack of a better phrase)

At any rate, forget the research, focus on yourself.

The most important thing you can do is get regular exercise. Use your body, let your body naturally work it's way to better health. A sedentary lifestyle will kill you quicker than anything else.

Second most important thing (IMHO) is trying to limit the amount of stress in your life. Get out of stressful situations, focus on yourself, meditate, don't let yourself get bothered by things that you can't change or aren't worth your time. This is not only good for yourself mentally, but will help your immune system, lower your body's inflammation levels, etc.

If you do these things you'll be well on your way to living a long healthy life. Then you can add whatever other health recommendations come along your way, olive oil, the occasional glass of red wine, etc.
Don't worry, they actually wrote "up to 1.3gbps" on the box. You just haven't read it closely enough.
A friend in the UK has a Tesla and his front screen cracked - took Tesla over two months to replace it :-(
Coming from Square (which is mostly SOA, but with an old monolithic service), we had quite a few services which really needed to be separated for performance reasons:

- One needed a large in-process cache in order to deliver good performance; it would have consumed to much memory on each instance of the monolith.

- Some services used large ML models, which also would have consumed too much of memory on monolith instances.

- A lot of our payment-related services had hourly or daily batch jobs. Anything with big resource spikes probably shouldn't share a machine with latency-sensitive code (like online payment processing or just web handlers).

- Related to the above, some jobs had to be done by a master instance. If the monolith did them, they would have disproportionately affected a single instance of the monolith.
All this in addition to the logistics of simply boiling some water compared to the wine and beer.

Water was a somewhat precious resource for most folks. You either fetched it from the well or from the source plus have a fire to heat the water over - a fire that you aren't going to need for that day's food. Not to mention that you might need to do this for your family of 6 and doing the rest of your chores - all of which took much more work than today.

the beer or wine would have likely been delivered by horse and wagon if one purchased it. Otherwise, it likely would have been produced and stored on-site - the fetching would have been a bit different.
https://github.com/mmccaff/PlacesToPostYourStartup

They've put together a very comprehensive list of places to post your startup, and some will certainly be relevant to just side projects etc. Depending on what you're looking to showcase.
This will certainly be one source I'll look to, for what I launch my side project.
> Oh dynamically setting class isn't silly

Oh, so I misread your sentence. Thanks for the clarification. Sorry for the noise.
Do you have a source?

My own experience, as well as anecdotes from a lot of runners that I know, all confirm that running is very hard on the knees. Whenever I've had knee issues, the exercise that I have to cut out in order to make them go away is always running.

Or are you objecting to the "on pavement" bit? I don't really know whether that matters, I live in a city so all of my running is on pavement.
Is that later than most? Most of the people in my professional peer group who are my age (similar to GP) have children of a similar age.
When you've flagged it the "flag" link becomes "unflag".

Click that.
Expert Beginners Rendered Obsolete
The original pre-Google reCAPTCHA was used for digitizing books. Using it to read house numbers for Street View was a Google addition.
Just a note on human readability of models: for sure glm gives you a human readeable representation for "free" but there are many ways to get the same kind of readability for neural Networks. Great article, though, cheers!
From macOS? Isn't Linux a better comparison?

Anyway, I ran it for a few days about two weeks ago. Without Chrome support, I can't have Netflix. Without Netflix, I can't watch cheesy fantasy TV shows while coding. Oh, and there was a bug in libressl that prevented me from using `go get`. Other than that, I thought TrueOS was pretty nifty.

I went back to Arch but I might try BSD as a desktop OS again in a few years.
That's exactly what Tezos [1] is proposing: a strongly typed language whose semantics is currently being formalized in the Coq theorem prover.

[1]: https://tezos.com/pages/tech.html
Melhore o desempenho do PC sem ter que formatar e reinstalar o Windows
> The marginal cost of one delivery is obviously not 2 man-hours, that'd be ridiculous.

Why not? 1 hour to walk around the store and collect everything, 20 minutes to check it out, load the car, drive the the person's house, 10 minutes to walk the groceries to their apartment, wait for them to sign and open the door, 20 minutes to drive back. At least 2 hours of work.
> I believe python-3 is not complete rewrite of python-2.

Python 3 is not even remotely close to a Python 2 rewrite. Much changed UI-wise, but the core is very similar if not identical.
SELinux is not that strong. It works on kernel syscall boundaries and some parameters thereof, and those aren't particularly fine grained. Service access is governed by a separate Google API, for example.

Moreover, any random app cannot enhance SELinux policy of the system.
This is very good. Thank you.
Voxels and Pixels
UNUTMAYIZ. AFFETMEYİZ. BİZİ BEKLEYİZ.
The above poster doesn't say that Google invented recaptcha, only that their use of it to have humans clean street view data is very Googly.

The original recaptcha was only text from book digitization projects.
To expand on this (correct answer) very slightly, what you say (libertymcateer) is true but misses the other vector:

A malicious script that runs as user X can typically (on desktop OSes) inject code into any other process running as user X at the same security level. The details vary by OS--in Windows there's a system call called NTCreateThread that lets you inject code from a loaded DLL in your process into any other process at the same or lower security level; in OSX, at a quick Google, it looks to me like http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/thread_c... may do the same.

So the attack that this opens up is to basically wait until Safari is running and loads the credentials into its memory--which it has to do to prefill the password field in a page--and then just read that memory from your code running in the same process in a different thread (which shares the address space). And if you don't want to wait, you can simply request the credentials directly from the Keychain API; Keychain doesn't know you're not "Safari" (since you're running in the same process) and will happily give you the credentials!

Now, there's still a small advantage to the DPAPI/Keychain approach, namely that it allows the OS to show approvals to the user ("Unlock the keychain?" dialogs or whatever), ensuring that the malware can only steal credentials while the user is present. There are some circumstances where a credential API is nonetheless useful. Offhand:

1. Cases where there's a test-of-presence ("Do you want to unlock the Keychain?") conducted by the higher-privilege process, and where approval is not routine (so that the user is not going to just click "OK"). Browser password autofill is not such a case, however.

2. Cases where there's a test-of-presence and the user assent is transactional (i.e. they see what they're approving and the approval is only good for that one action--as with Windows UAC).

3. Cases where the credential granted is a signature and not a bearer-token, and we find some advantage in the token itself being bound to the device. (IOW, the down-level process can steal a signature, but it can only use the signature for some limited use, and cannot steal the signing secrets, which never leave the privileged domain.)

So to get this right requires a lot of thought about things like broker processes, transactional approval, etc. I'm far from an expert in this, but hopefully the above makes some sense.
WikiLeaks Dumps Docs on CIA’s Hacking Tools
"People can choose not to do business with a company, limiting the impact of that company's actions on their lives and the lives of others."

That's not always true. See also: pharmaceuticals, utilities, various other markets susceptible to monopolies/oligopolies.

I mean sure, you can choose not to take your prescribed medications, but it's probably not going to end well for you.
Ask HN: People who are here- are you on Reddit too?
Just interested in this
Ah interesting! Blind spot in my knowledge right there, thanks for pointing it out
Amazon Is Getting into the Music Festival Business According to a Recent Job Ad
C.I.A. Scrambles to Contain Damage from WikiLeaks Documents