skysight-inc/HackerNews huggingface dataset:
Are you committed to working as a professional programmer? If not, a rapidly growing area where lots of help is needed is the intersection of computer science and law. Lots of bad laws exist on security and privacy, because the people who drafted them don't have a CS background.

If you do want to work as a professional programmer, try just typing through solutions and understanding them. After lots of exposure, you'll start picking up patterns. Dynamic programming and greedy algorithms are taught so quickly that I'm surprised students generate intuition for them! Feel free to get in touch if you're struggling. Best of luck.
Definitely agree here. I moved back to Chicago from SF to be near family now that I have a little one.

I was lucky enough to keep my job working remotely for an awesome company in SF, but I can tell even from the LinkedIn spam how different the job market is here.
Honestly, I don't think calculating the O(f(n)) is ever worth it outside of
academia. Intuition is only slightly worse, and it is just so much
time-cheaper.

Sure. I've never been asked for a formal mathematical proof of the Big-O complexity of my algorithms in an interview. And, as an interviewer, I've never asked. Intuition is exactly what interviews are looking for. If an algorithm has a nested for loop, and the inner loop is traversing the full data set, you should be able to say, "Oh, yeah, that looks like O(n^2) time complexity." If an algorithm is storing every element of a data-set in memory, you should be able to say, "That's O(n) space complexity."

Big-O notation, in practice, is a handy shorthand for talking about various classes of algorithms, and ranking them in order of how much time/space they take.
EV needs to be more widespread.

15 years from now we'll probably see a "Let's Validate" as a web-wide movement, to EV every website... but i'll probably cost $100.
The Social Network and Basic Income
I'd be curious what wealth levels they are looking at, what they consider 'rich', and at what point the wealth is 'lost'. Because I highly doubt the majority of families who are worth > $500 million run that down to 'zero'.

What holds true for families who have > $1 million, doesn't necessarily hold true for families who have > $500 million. Dynastic wealth in Europe usually means owning private banks, wineries, châteaux, lands, etc... In the US, I'd be thinking of families who are large landowners, and have massive amounts of private wealth.

We're not talking about people who gained wealth from a single business in the patriarch/matriarch's lifetime, but rather people whose entire wealth derives from rent-seeking/inheritance.

The 1% is more of a euphemism for the top 0.01%. We're not talking about anyone who, at any point, was ever 'working class'. Steve Jobs' and Bill Gates' wealth probably will disappear; the Rockefellers, Mellons and Rothschilds of this world have done a comparatively good job at holding on to wealth. And there's far more of them than there are rich entrepreneurs... When you talk about inherited wealth, there's plenty of families who aren't on the Forbes' list, still worth billions.

And one note - as many economists have stated, dynastic wealth is still rather young in the US. Historically, in Europe the upper classes derived much of their wealth from land and property, which in Europe is comparatively very expensive because of its scarcity relative to population. For most of the US' history, land has been comparatively cheap. Also, the US has at various times broken up monopolies and redistributed wealth much more radically than western Europe. The US' relative equality is due to its socialist tendencies at various points in history.
Thanks.

Of the six potential uses, I think this one is most relevant:

"Forming nouns indicating a process, action or result. E.g. blockage, slippage, shrinkage"

Yet in this case the extension to "wastage" still feels somehow redundant. For example, I wouldn't say "Household wastage in modern society".
Some places I interviewed did mostly whiteboarding, but had a problem that required producing working code. One place had a standard desktop setup aside for me - with the most popular IDEs pre-installed. Another had me bring my laptop.
It is a great time BUT I miss the drama of the 1980s and early 1990s. At least I don't get the normal "I watch college basketball" when I start talking basketball. I am an avid UConn fan and they don't know college either except the Final 4 tourney polls they are apart of.
I've had interviews with some notable startups that gave a take home design test, such as here is problem x now design a solution and show your process. I did it once in my naive young years when I really wanted to work for a specific company. Now, I'm fine with telling them I deserve to be paid for a day's work if we're going that route.
> But what motivation do they have at this point?

The motivation can be pretty simple - don't be a jerk. But it's MS. Lock-in is practically in their DNA already.
Are you really the first to use TLS in securing the storage fabric?

I believe Seagate's Kinetic had TLS features quite awhile ago: http://www.seagate.com/tech-insights/kinetic-vision-how-seag...

Both of which are reminiscent of CMU's NASD research: https://en.wikipedia.org/wiki/Network-Attached_Secure_Disks

New things that are really cool from Blockbridge:

1. Opening up WAN access to storage devices via TLS

2. Kernel drivers (for all major OS's?) allowing storage devices over the WAN

3. Re-imagining how we access block devices

Opens up the possibility for EBS-like storage across the WAN which is, simply, amazing.
Misconceptions of [React.js] Tooling in JavaScript
What one can find is that if you are in another state bordering a big city you often can get huge savings at least in the USA..

An example, work in Chicago but reside in NW Indiana..guess what a house costs in NW Indiana? $250k and with rentals at $900 I am sure you can figure out that in a few years the house is paid for in cash and no mortgage to speak of...
BetterHelp | Sunnyvale, CA | Part-time | Onsite

BetterHelp is looking for a cybersecurity engineer/consultant to have an ongoing relationship with. Help us make sure we are following best practices. We aren't just looking to go down a checklist and check off all the boxes, we want you to help us identify actionable areas we can improve on and help hold us accountable for doing it, and in some cases even helping us get it done.

You can email me directly about the opportunity, jay at betterhelp dot com.
Yeah, the "goto this byte offset" operation is possibly fast enough that you can just use byte offsets for buffer pointers instead of anything more elaborate (pointing to the data structure internals). The leaf nodes could be gap buffers.

You could have (a secondary index of) line counts as well as bytes so that you can also seek to specific lines in log time.
International Women's Day: What #PledgeForParity Means to Us
I really like the showing-his-work, via ipython/jupyter notebooks. Unfortunately it's behind an azureml login so it can't be directly linked.
...or Xamarin.Forms, which is its own beast and a rather different direction.
Is there any way to scan these bikes for EMF radiation?
Many developers do these days too, if they work on open source projects, or if they have significant side projects that are open source.

I definitely look at open source code of job applicants, and sometimes a part of the interview is asking them about it.

Of course that has downsides too, like anything.
> Complaints about a situation are step one of finding a collaborative solution.

Can parties opt-out of your definition of a collaborative solution, or does your definition of collaborative include forcing people to participate, whether they wish to do so or not?
Lee Sedol vs. AlphaGo (Live 8th March 20:00 PT)
> But the VAST majority of the programming work out there does not require any Big-O analysis. It just does not.

I just don't agree with this. Maybe it's true for people doing strictly front end web development (i.e. pure HTML and CSS), but basic algorithm analysis comes up all the time when writing any kind of real code.

I think your attitude is actually part of the reason software sucks so bad nowadays. People act like efficiency doesn't matter at all and Big-O is useless and then turn around and act surprised when browsing a website causes Firefox to use 800 Mb of RAM, or their top of the line server only handles 50 connections a second. There's a connection there.
Drugs that change our metabolism can affect how much damage something does to your body, and you die because your body systems fail or degrade. So fixing some causes and symptoms should be able to increase your possible lifespan. Just like we can increase the lifespan of some simple animals, we could increase our lifespan through physical means. There's no magic spirit inside you that can only last 120 years, as far as anyone knows.
To an extent - LE still has rate limits for the number of certificates issued to a second level domain (5 in 7 days currently), so if you have many subdomains it could conceivably become unmanageable to keep them all updated.
Until someone makes a to javascript transpiler for it, I'm just not interested. :)
If you go that way, it may be even faster (depending on you CPU, of course) to use a recursion for computing the squares:

(n+1)^2 = n^2 + 2n + 1

That gets you:

def squares:
n = 1
nSquared = 1
delta = 1
while nSquared <= n:
n += 1
yield n
delta += 2
nSquared += delta

but as others said, once your limit is large enough, the relatively large cost of computing a square root once may be lower than the O(sqrt(n)) additions in this loop.

(Quick check: if you use a binary search to find sqrt(n), you need 2log(n) iterations, each of which requires a division by two (for integers, that is a bit shift) and one addition. A linear search takes sqrt(n) iterations, each with three additions. For whatever ratio of speed of operations you pick, the former will be faster for sufficiently large n)
This is what reading is like if you have dyslexia
I remember a Kickstarter that was popular that had a bicycle wheel with a motor in it that you could fit most bikes. I'd be far more interested in a solution like this for a daily commute, seems very elegant.
Algebra II is probably necessary (you at-least need to be very comfortable with the concept of variables). Stats couldn't hurt. Any math class that teaches you proofs will be helpful when you stat tackling BDD/TDD.

But overall, I'd say that taking a formal logic class (usually part of the Philosophy Dept at most colleges), will be the most bang-for-your-buck.
There are two videos on Youtube that have been regarded by bike fans as suspicous. I will let HN readers make their own minds up!

https://youtu.be/8Nd13ARuvVE?t=3m35s

and

https://www.youtube.com/watch?v=ideiS-6gBAc

I would love to hear smart people's thoughts!
Unfortunately, in this day and age, this sounds like a good way to go to jail or kicked out of school.
I wish. I've been asked these kinds of questions for jobs that are just gluing libraries to JSON coming from a backend.
Oh yeah, that's what I meant by saying "up until you add the digits and it's clear of course.". It's just an instant observation I guess.
> To do well in an interview, then, you need to be able to solve small problems quickly, under duress, while explaining your thoughts clearly.

I certainly hope they aren't interviewing anybody under duress.
This is not true. I know from experience.

See the first point in https://community.letsencrypt.org/t/rate-limits-for-lets-enc...
Another +1 Minneapolis. Just moved last year, cost of housing is so much less and it's a great city with a lot to do year round. A small but successful and growing startup scene. It's the 16 largest metro area in the US so there are a lot of local tech jobs. If you can score a remote job earning SF/SV salaries and live in Minneapolis, even the better...
Are You Proud of What You've Built?
The school example and friends uploading pdfs to GitHub are both uses that GitHub encourages.

Using GitHub Issues as a forum and a source for generating status pages are both ok from a use/abuse perspective, but you may not have the best experience since that isn't what Issues is intended for.
Realtime Doesn’t Belong Everywhere – Build Scalable API Services in Node.js
They're not trying very hard to steal mindshare with only a half dozen jobs (three of which are actually dev jobs) listed on Craigslist. Seattle has page after page of software jobs on CL. I'd totally consider a move to NOLA, but I'm not packing my bags just yet.

I mean, seriously, is the article just BS? Even my old stomping grounds of Indianapolis (a.k.a., "Naptown", a.k.a, "you'll be writing code for an insurance company") has twelve pages of software jobs, and NOLA has six jobs total? Did I look in the wrong spot (http://neworleans.craigslist.org/search/sof)? Is my single data point a poor representation of the market?
LLVM is a wonderful project, but I dont really know much about this release. How is it significant? Side note, I wonder if this is related to why one of my professors - Dr. Adve - has been so busy lately...
And thus the furthering the splay of both income and knowledge inequality.
Why imperfect testing can be so valuable
As you point out, there's a lot of options; you've only really even scratched the surface. Some guidance on your interests (both professional and recreational/social), skills, and desires would be helpful.

I sometimes wonder, do people think that the rule is that you have to post an Ask HN, then you're not allowed to interact? Go ahead, interact!

For that matter, if you've got a similar question but you're not the OP, post your own answers to my questions and see what develops.
Pittsburgh. Housing prices are ~20% below the national average and we have a growing technology sector with CMU and offices for Google, Apple, and Uber employees. Some startups here, like Duolingo. This is technically the rust belt, but you can still find "big city" amenities with a small town feel.
Since v0.4.0 all it takes is a "letsencrypt renew && apachectl graceful" in a daily cronjob"

I'm glad your setup is so simple.
> already-written "titleize" function

Which is a function provided by ActiveSupport. It's not part of Ruby itself.
If generations are exploited and then we decide we can no longer carry the ethical burden of exploitation, then we have a responsibility to help them recover as well (or hell, reparations).

But in these "We must keep the slaves so they don't starve" arguments, there's always a nasty whiff of condescension - the implication that they cannot care for themselves, without handouts. Given freedom and sufficient resources, most people will choose to better their circumstances. Humans fed themselves for a long time before they were enslaved. Getting back to feeding themselves may not be easy, but it's certainly not impossible.
Blah Blah blah  I don't care to hell with your tech marketing bull
I always write a weird mashup between python and C for some reason haha
Funny how 3 of the top 4 contributors to Carthage are current or former GitHub employees.
Please don't. I'm sure you won't be missed.
3 Easy Second Day Hairstyles
Or a nonlinear junction detector?
https://en.wikipedia.org/wiki/Nonlinear_junction_detector
Still waiting on a Glassfish or Wildfly client. We managed to wrangle the standalone client to generate a certficate that can be used by glassfish, but it's not pretty. See the code here:
https://github.com/hopshadoop/hopsworks-chef/blob/master/rec...
Easier than that, simply X-Ray the bikes at the finish line. Don't even announce which races will do it, that way partial enforcement can work.
"Whiteboard hazing" is the most apt description I've heard it called. Pass the wringer, you can join the club.
This seems functionally pretty similar to the 'rope' [0] data structure used by GtkTextBuffer

[0] https://en.wikipedia.org/wiki/Rope_(data_structure)
Pricing for housing is definitely cheaper in Chicago but the pay sucks. It's not uncommon for lead-engineers to make < 6-figures. Tech is definitely not a priority in that city which may or may not be a bad thing.
a compass...
I moved from SF to LA, and then to NYC. All great places, but all very pricey.

If I was looking to keep costs down, I'd take a serious look at New Orleans. Obviously purchasing a house there might be riskier (since much of the city is below sea level), but they've got a burgeoning tech scene, lots of media companies, and the culture+food can't be beat.
Shh! (Everything the parent said is true, and I agree.)
Or, do away with the whole "checking" nonsense:

game.check = function (answer) {
this.streak += 1;
this.next_n();
}

setInterval(function() {
document.querySelector("#yes").click();
}, 0);

document.querySelector("#start").click();

(High score of 15,000!)
Missed that -- thanks for the correction.
California law assumes the rent was paid on the date of the postmark on the envelope, though she may need to send it be certified mail to prove that.
> Starting with iOS 8 they finally allowed linking against custom frameworks

I don't keep up with iOS development enough to know if anything has changed with respect to static/dynamic linking in iOS 8, but it has always been possible to use custom frameworks in iOS (eg, frameworks you build yourself, unless the community has another definition for 'custom framework').

The framework directory structure is a bit unorthodox, but it's really just your statically built library (absent any '.a' suffix) alongside any header files in a Headers folder. Again, not sure if this has changed with any support for dynamic linking.
> The original claim was that if we did by the minutes updated then there would be issues with more buyers than sellers.

I wasn't responding to that. My original reply to fr0sty was somewhat of a tangent. I can see where we might have been having two separate arguments with each without knowing it because of that.

> Less frequent updates means less frequent available information to trade on, means less advantage for the HFT algos who won't have the advantage of being able to trade in the milliseconds anyoore, something humans can't do.

The advantage of HFT isn't necessarily the frequency, which is just a way to increase number of trades, but speed, which is what allows them to capitalize on information before the competition. Changing how often they trade will not affect the real reason they do so, which is to capitalize on market information before the competition. That race still exists.

> If one thinks HFT is a problem then thats a perfectly fine solution which isn't from what I can se giving problems of more buyers than sellers.

My stance is that even if you think it's a problem, I don't think it provides any sort of solution. They can still make trades much closer to the cut-off and much sooner after the market coalesces than any human, so humans are still unable to compete in that particular area.

> If one doesn't think it's a problem...

I'm not sure how I feel about them, but I don't see "humans competing" as a valid reason. HFT algorithms are humans competing, just at a meta level. Whether it comes down to mental ability to analyze markets and physical reflexes without HFT algos, or it comes down to intelligence of the design of the algorithms, it's still humans competing (we could have the same argument decades ago regarding humans filling out order sheets by pen and pencil and those trading through a terminal, the technology doesn't replace, it enables).
Yes. This was what IE6 offered, in fact: text-only zoom. And it only worked on pages that did not define font sizes is px, which is to say: it did nothing on a lot of sites.
In Java this prints -4

int [] nums = { 2, -2, 0, 0 };
int dup = findDupe(nums);
System.out.println("dup="+dup);
SSLMate has been doing that for a while.
The Copenhagen Wheel -- http://superpedestrian.com.

Pre-order phase, still.
Cool idea for how to still let Storm apply its own backpressure, thanks for sharing!
Racing bikes are wired to track cadence and speed already which is perfectly legal. These signals are sent to an attached computer on the bike. I don't know if you'd be able to separate out that signal.
That's not the right way to think about this.

Let's take binge-drinking, for example. Let's suppose that each binge-drinking episode has a .0001% chance of causing a fatality. That is trivially low.

However, in order to consider the trade-offs involved, you have to think about the expected value of your life in either scenario. So you must compare E(life | no drink) with E(life | drink).

These are practically the same, but where they differ is that in the drink scenario, your expected value is broken down into two scenarios -- one if you die as a result of the binge drink, and one if you don't. So you can break E(life | drink) into

99.999(E(life + d)) + .001d, where d is the added enjoyment you get from that one night of binge drinking.

The comparison, then, is ultimately whether E(life) >=< 99.999(E(life + d) + .001d

You can tell from this that what really matters is the ratio of d to E(life), the enjoyment you get from drinking that one night, compared to your overall enjoyment of your ENTIRE subsequent life. As we extend your life expectancy, as long as we assume that life is a good thing, we make the value of your subsequent life higher and higher. This, in turn, should make any rational actor be less willing to take on risks that would cut it short.
Here's Bill Wyman's old Salon piece on it; it represents 17 years, but he grew up in East Bay in the 80s.

http://www.salon.com/1999/11/03/sf/

(I remember it because I had just moved to SF from Chicago, again, when it was published).
First Banking App for Freelancers (Germany) – Beta Testers Wanted
> including (time/space) complexity analysis.

I think this is one of the most inane things to be asked during an interview. personally, I've never found myself in a situation where I truly needed to choose between a vector/map/list/hashmap. Or had to find the O(x^n) and replace it with O(x^2)

Obviously it depends on the application, but many jobs are simply maintenance coding: find bug, fix bug, test fix. Often times it makes absolutely no difference whether you use a list or a vector, or else you'll get the paradoxical "vector-is-always-faster" because of locality of reference.

In my (admittedly limited ) experience, most of the effort is spent simply making it work, not being bogged down because you used a map instead of a hashmap, or didn't know about some esoteric, bleeding-edge probabilistic data structure.
Adding a Robust Form Validation to React Redux Apps
Seattle's housing costs are definitely rising but Washington's lack of an income tax is a boon for software engineers. Also, many of the big players in tech will pay within 10-20% of their bay area total comp packages in Seattle, so your take home pay might be almost the same, but of course your dollar is going to go a lot further.

I ran some numbers comparing Seattle, Denver, and Minneapolis, and found the descending housing prices and ascending state income taxes more or less cancelled each other out in my situation. Of course everyone's circumstances are a little different, so this may not be true for everyone.

Seattle definitely seemed to have the best opportunities at the big players in tech outside of SF/SV.
This comment is pretty rude.
Google I/O 2016 Application
I wonder how all the people invested into "Developer vs. Software Engineer" feel about this.
You're a moron, Torvalds, not a cryptographer
Ask HN: How do you consume news?
Do you check just one website, flip through a few, or use an aggregator?

Where does it fit into your daily routine?
Me too, it would make biking to work in the summer a little less sweaty, which would make the co-workers happy.
Defensive Programming in Python
Are the private busses in any way holding up public bus service? Is there a serious reported story somewhere establishing this?