jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I'm probably naive for even asking, but why would you want to be able to change the value of x in the enclosing scope, unless you passed in a reference to it to g() (which doesn't exactly even work, as Str and numericals are immutable). If you had to change the value of X, make it a return value of G and assign that within the enclosing scope.

I view this as a benefit - less accidental stamping on variables/etc. I wouldn't consider myself A+ #1 programmer by any stretch though. This sort of thing seems like it would enable too many 'side effects' though.
Your routine should modify the given zero-terminated string in place, removing all instances of the given char.

The main point of the whole exercise is to see if the candidate can write any code - anything after that is a bonus.

Now if the input and output of a function are correct I think you where simply less clear than you may have thought. If you had said "string in place (don't allocate any memory)," I suspect far more people would have given you the output you wanted.
Its a temp solution to his problem so that they can shut him up and work on the actual problem. They still have to find a solution to the problem.
You mean like scanning some old obscure books with expired copyright?
The FireBug console with FireQuery installed will also highlight any DOM elements that match your selector when you mouse over the results in the console. I hadn't heard of FireFind before this; I'm gonna have to give it a try.
I normally avoid being inflammatory. I wrote my original post too quickly and late at night. I agree it wasn't well worded and accepted (almost) all criticisms. I don't think that forgives people saying FU or similar. There is a difference between attacking and crossing the line with epithets.
I've been doing Natural Stress Relief for about a month now, after reading about it on Alex Payne's post about staying healthy while doing a startup:

http://al3x.net/2010/09/07/startup-health.html

It's not only easy to do but I also found the scientific research comforting because I'm an atheist that never really warmed up to some of the other more mysticism-based methods.
But was there any actual safety improvement? Its not a double blind study or anything, but it would be interesting to know if the street got safer.
I read Zero History over the Thanksgiving holiday (it was on the new arrivals shelf at the library).

Because it is set in the present, I wouldn't call it "cyberpunk," but it is thought provoking in many of the same ways as Neuromancer. The writing style is better developed and more coherent though less cutting edge(all as one would expect after more than twenty years). It's a solid read.
Bingo. You got it. `/salute`. Given sandboxing security features, it's too easy to balloon up too. I periodically have to restart the application (which incurs some costs on this external cognition process, unfortunately). Browsers aren't built for people like me (and the way standards maliciously churn qua Google doesn't inspire confidence in finding a long-term, meaningful solution), and I appreciate that it's seemingly a lot to ask. Btw, my name is h0p3. It's a pleasure to meet you. Thank you for your charitable response.
Is there another reference to this? My quote was Uhura on ST-TOS "Savage Curtain", around 2200 AD(?).
There is port forwarding though right? Although, your public IP can change at any moment if it's not static.
> And if anything, I think that this classical projected political spectrum isn't a line, it's really a circle. Extreme left and extreme right are the same thing; the particulars of the beliefs don't matter (if you think they do, you can always imagine this being a flat strip of paper glued into a Möbius strip).

It's not just you - this is named "Horseshoe Theory".
This is delusional. I recommend you set a reminder to re-evaluate this statement in 5 years.
> I think there's a direct line between this suppression and the behavior of many people

Me, too. And, obviously, so did Severino and his boss.
Yes but in this case there was no auth and the user setup admin/admin. This was a human.
Speaking of which, if anyone needs someone with 10 years of native Android experience, DMs are open (check my bio).
"These standards" are pretty low. Currently it's a free-for-all chaos. Theoretically papers are reproducible from the documentation found in the paper but that is a lie. It is never reproducible just from the paper. Lots of stuff is done in the background that is not known to the reader. For all we know, they can even tweak their numbers to be 2% better and if someone can't get the results of the paper from the released code, the authors can just ignore it or say, the problem is not on their side, or that the paper numbers were generated with a slightly different code than the released version etc. I've seen this many times on Github, issues getting closed or deleted without comment etc. There is zero accountability.

It's slowly changing though but many people are grinding their teeth, because they can't torture the data as much if things are out in the open.
could you get in touch? zee@thenextweb.com . thanks.
Depends totally on implementation and how different it is from all the other services/software that are similar.

I don't see the innovation in this - basically what you're describing is a somewhat basic automatic billing system.
What? It's in the html in plaintext, and this method takes far more bandwidth.
For the most needy inner city kids, I think boarding schools might be appropriate even at an early age. Their home environment and neighborhood is so shattered that what they need most is a stable day-to-day existence shielded from drugs, gangs, and criminal behavior. If they don't get that, by the teen years, they're stuck in feudalistic "ghetto thinking," start getting into increasingly serious trouble, and just aren't able to take school and its discipline games seriously anymore.

Of course, fixing the quality of instruction should probably come first.
I agree. There are four killer apps to date, and they exist on all the big players:
1) Web browser
2) Email client
3) GPS/Navi
4) SMS

There is no application I've never heard anyone, other than a Gruber/Scoble like geek saying, "I need to buy an iPhone because of this app". In fact, ask someone who does NOT own an iPhone to name one iPhone application. Just one. Any one will do. I bet most of the time the answer will be a blank stare. If you're lucky you might get "there's Facebook, right?". And maybe if they're a gamer you'll get "Angry Birds" or "Doodle Jump".

The notion of a killer app for phones is a dead notion. People have a need for phones first. Then they decide which one to get. They are NOT looking at apps and deciding that since app X is on iOS that they'll buy a smartphone or an iPhone.
The difficulty of these is all over the map. Possibly the most difficult one is "Opening boxes in a prison courtyard". If you can solve this without any hints or help, and by solving it I mean working out a strategy that gives prisoners at least 30% chance of surviving, then you just may be a genius. Or at least very, very smart.
If your company resides in California and you register your corp in Delaware you'll still need to pay CA's minimum franchise fee of $800/yr in addition to whatever fees DE assesses.
I have trouble believing that "no shared state" and "reloading your code with every execution" can possibly be an advantage in production.

Maybe when you're developing, sure, but they otherwise only force you in to inefficient workarounds.

Of course, the statelessness of HTTP contributes to the necessity, but using a proper language (there, I said it) doesn't get in the way of creating a proper server application.
'I'm reminded of "Closures and Objects are equivalent"'

Sure, though to be clear I'm not taking any position on that question above. I just think that the pattern solidly fulfills all of the criteria he gave, and it's not a terrifically obscure one.

'That being said, you can easily create a data type in Haskell that contains a bunch of "methods" that live in the IO monad and mutate other bits of data the object contains that also live in the IO monad, but it's a bit of a forced paradigm.'

I think what you're getting at here is that persistent identity and mutable state are necessary parts of IO? It's clear that they're often assumed to be; I've encountered the question before and I lean weakly "no", although not with confidence. More importantly, they are explicitly disclaimed as being an inherent part of IO as defined in the article, so were not what I was speaking to. I agree that an IO-backed message passing object framework 1) could be built in Haskell and 2) would not be a natural fit.
That's really cool, I like how you just give the other user a Tox id token and it sets up the secure channel. I wonder if that's a general approach for secure communication, because as long as it's sent through another secure channel (that may use the traditional SSL certificates from an authority) it could be used to avoid a MITM attack.

Maybe a way to do this in the future with an insecure channel is to give the peer your contact token using only context that both of you know. So the above token could get converted to a human-readable string like "that place we met that first time and what you said to me with 12345abcdef on the end" and the other party would have to know you to figure out how to find you.

Proving who you are beyond that point would probably involve some back and forth questioning like in spy movies or a video call (which could be faked in 5-10 years with computer rendering) so shared history will be key.

It already sounds like it can run over Tor, but it would be nice if it had a standard socket wrapper that could be run over UDP NAT tunneling to look like an SSH VPN. Maybe WebRTC could be integrated with it somehow. I just mean that I'd like the negotiation phase to be separate so that if it works, you're just presented with a secure socket.
This is just great.
Two great photographs in such a short span.
SpaceX launching a Tesla car and landing the rockets back for reuse on the macro level.
An atom on the nano level.
Evidence that humanity’s progress in the field of physical sciences is well balanced.
"White" US activists have been labeled terrorists and dealt with swiftly for decades[1]. Shifting the focus to pure racism is a trendy oversimplification, but misses the more complex political aspects to this story.

If a random group of white Americans decided to invade the Capitol, do you have any doubt that they'd have been stopped dead in their tracks before being able to put a foot inside?

As comforting a viewpoint as that may be, allies and enemies of the US state aren't decided based on their skin color.

[1] e.g. https://en.m.wikipedia.org/wiki/Sovereign_citizen_movement
Trump's critics are always over-analyzing what he says trying to look for secret incitements of violence and nazi dog whistles and conspiracies when reality is much simpler - he's just a sore loser who isn't attending out of spite.
> All of them were just pushed off that fence.

If they were pushed off the fence by this, they would have never landed on the other side of the fence in any case.
As an outsider, the situation is quite amusing to see. One side wants to revoke 230 so that the tech companies would stop policing content. Another side wants to revoke it so that the companies would police more content instead.
Hasn't breaking up monopolies been a central tenet of ensuring a free market since forever? Suddenly you defend monopolies. Interesting, isn't it?
The Equal Protection Clause is literally, the legal/ constitutional application of "Whataboutism."

There are many (most) cases whataboutism is merely an excuse or distraction, but here, it's the very basis of the ongoing argument.

That most of the left doesn't even realize this is a big part of the problem.
Actions like these where one side fully suppresses the other - one set of standards for themselves and another set of standards applied to people they oppose - are exactly the kind of actions that lead to civil war.

Comparing ~70 million Americans to paedophiles...
I think the point about wars is fair.

However, there's no evidence that the election was crooked - the courts think so too. In addition, the President's moral compass seems to be pointing towards strong arming election officials to provide him the exact number of votes (11,780) that he needs to overturn Georgia, pardoning his former friends and allies and convicted war criminals. And this is just within the last couple of weeks.
Another recent story about a retired US Navy Seal that went from Chris to Kristin, tells a similar story, but without the trial elements to muddy the waters:

http://www.bbc.co.uk/news/magazine-23464947
Another vintage series, about Fluid Mechanics by John Lumley (. Penn St Univ)

http://www.youtube.com/watch?v=mdN8OOkx2ko
Very interesting. I have been following Musk/Spacex closely since the 2007. Even wrote a small inspirational coverage on him back then (Searching though, to post it here!). At the time they were going through challenging times as third and rather defining flight of Falcon was round the corner.

Will definitely read this biography.
Delete sensitive environment variables after you read them, or don't run programs you don't trust with an unsanitary environment/argument list (e.g. execve not system)
How is it not rate limited? I don't understand why this is not a thing in every login activity everywhere. can someone explain one reason you might choose to NOT rate limit auth attempts? I don't understand :S
Thanks for the recommendation. I just purchased the Kindle version. I'm not really an electronics guy, but have always been interested in how it works. Will do by best to put this book to use!
Locks are for keeping honest people out.
Why "write native or .NET" but "hack together some javascript and CSS"?
Sorry, I didn't provide details because I probably just assume everyone here is a JS developer, which is probably a bad idea.

IE11 has no CustomEvent constructor. You have to polyfill it with https://developer.mozilla.org/en/docs/Web/API/CustomEvent.
Microsoft's official Twitter account @iedevchat has pointed people to the same one: note the article article says for IE10, but the issue and fix is required for IE11.

It's a simple fix, but CustomEvent is ancient, and it's surprising what didn't make it into IE11.
It's close enough. That "most" truly is "all" when discussing plans offered through the Healthcare Marketplace.

And since you still haven't provided any clarification about your claimed inability to find such a plan being offered to you, I don't think I need to bother digging up details on whatever obscure products require the statement about preventive care to be qualified. If you're being at all honest about your experiences with health insurance, you can more readily identify some exceptions than I can.
Have you thought about applying for medicaid? As far as I understand they cover all your medical expenses, as long as you're making below a certain amount per year?
It may be preferable to you, but it's certainly not for the intended audience.
Isn't this just completely both ironic and fucking enraging given all the bullshit they stirred up during "angelgate".

First, we have Arrington's ultra-ego, then we have his teams utter lack of editing, and the fanboism, favoritism and petty gossip - and most of these anecdotal rumors may be at minimum corroborated via such revelations.

The valley needs a site like techcrunch to capture and publish industry info in such a highly dynamic industry... we just don't need it to be techcrunch specifically.
egg yolks ARE high in cholesterol. But AFAIK the data is leaning towards the fact that our bodies recognize extra dietary cholesterol, and doesn't synthesize as much to compensate.
The court ruled based upon the laws that Congress passed. I agree that the law needs to be changed, but that change must come from Congress. When judges overrule Congress it better only be because Congress violated the Constitution, otherwise you have judicial activism.
The taste of coffee is directly proportional to the length of time sitting on the shelf after roasting. Even the worst-grade green beans taste great after a fresh roast. I roast my beans in a $9 popcorn machine I bought at Walgreens.
What? Latex is way more sophisticated than Word. Forcing me to use Word rather than Latex is childish.

I'm not trying to mock you, I just really feel this way.
Oh, nice! I didn't know that google's shortener had been launched for general use (it used to be google reader specific).
The knowledge shared among the collective student body can build on itself much more rapidly than a single professor might be able to study the latest techniques and teach it to his class.
Justifying your assumptions with wild conjecture is bizarre when the topic in question is so googleable.
Variations of "you'll just meet someone" and "dating will get easier in your 30s" and "the important thing is you do well in school, and everything else will follow". Fuck that. Someone should have shaken the shit out of me when I was 18, forced me to go to a school with a normal gender ratio, and gotten me to strike while the iron was still hot while I still had some sexual attraction to women, and never take for granted any time a woman is vaguely interested.
In 1987 or 88, when I was a teenager, my parents, noting my emerging passion for coding, tried to sign me up for a Explorer Scout "post" whose focus was programming.

This should have been good, but I came back from the first meeting not wanting to go back. I just didn't click with the group, and the language/environment they were using (Fortran on an IBM System/3x0 variant, I think) were of no interest to me.

This upset my father, in particular, because he was convinced that the programming I was doing in my bedroom (C, on a Commodore Amiga) was of no value. Programming a personal computer was fine for a kid, but making a career in software meant doing "serious" work, which to my (very non-tech) parents, meant programming IBM mainframes.

In retrospect, their career advice was about as bad as it could have been. I was learning exactly what I should have been learning. I was completely right to ignore them and continue doing what I was doing.

Except I could never shake the idea of "serious" vs. "not serious" software development. So while I continued to learn C, then learned C++, when I finished college in the mid-90s I went into a "serious" industry . Despite living within walking distance of Netscape's old headquarters, I completely missed out on the dot-com era, justifying it by telling myself that I was doing "serious" work. And while I've never been unemployed, until this year, I can't say I ever did anything remotely notable, or fun, either.

And worse of all: it became obvious within the last 3-4 years that my industry was a career dead-end. If I stuck with it, I'd eventually be one of those stereotypical unemployed, and unemployable, 40-something developers.

But there is a silver lining: over the last couple of years I started playing around with some new technologies and ended up reinventing myself. Earlier this year, I quit my old job and am now working for a startup that's doing stuff that's nowhere near my Dad's old idea of "serious". But I've treated my new job seriously, working harder than at any time in my career. And I'm happier now than I've been in nearly a decade.
This might help you: http://stackoverflow.com/questions/209170/how-much-does-it-c...

From what I've seen, standard rate for iPhone development (in the US anyway) is around $125/hour.
Absolutely not a problem, I understand and share your frustration. Our hope is that by providing a place where all kinds of people can teach and learn all kinds of things, we'll provide a useful compliment to the ossified curricula that most CS programs use today.

Now we just need a Scheme course on CodeLesson!
Even though there are already sites like StackExchange, I think this project has (potentially) a character of its own. Sadly, it doesn't seem to want anything to do with me. I get the following error when trying to signup:

"The url does not appear to be in your hn profile. Please paste http://hnofficehours.com/profile/PedroCandeias/ into your hn profile. Note the trailing slash."

Even though I did include the url in my profile.

## Edit
It finally acknowledged my existence, but I had to add linebreaks before and after the url in my profile.
I love the comparison through to three-mile-island. This really goes to show that radiation is so hyped and never put in perspective. Obviously not everyone is a nuclear physicist or even understands this stuff. This is why people should have researched and claimed that the radiation exposure they got from 3mi is the equivalent of ingesting a single banana. It is important to put things in terms most people would understand when you are making a public announcement. Maybe that is asking too much from the media...
They don’t do very much unless you follow a protocol that you aren’t.

When they get wet and uncomfortable, you adjust the mask, and now you are transmitting the virus to the surfaces you touch.

Washing your hands and avoiding contact with crowds are the main ways to avoid getting sick. Everything else may help, like using your ring finger knuckle to press elevator buttons or wearing gloves that you change frequently or a mask. But they will only help marginally.
Seconding Teleglitch. I couldn't stand permadeath though - it wasted too much of my time. I made back ups of the temporary save file after every level so I could choose for myself how far to go back when I died.

I personally enjoyed the game an order of magnitude more. Sure, I lost some of the raw fear that grips you when you are deep into a good run and an unexpected squid appears, but I have a wife and kids and very limited time, and beating the game without saves would've taken an eternity.

In general I like playing games without permadeath until I'm really good at them. Then I enable permadeath as an added challenge.
So as your clothes and skin except that when you are wearing a mask you dont get sick.
That is an awesome favicon they have there. Also a really cool service :)
Break down your goal. You have one statement which is 'Make Complicated Spreadsheet'. That alone sounds daunting. Rather break it down into smaller chunks to make it sound more manageable.

That said, you can then spend all day making more and more detailed plans and this turns into it's own form of procrastination. Try to figure out what motivates you and then draw from that.

Also, why wait until the weekend - what do you do with the hours before and after work?
So if you get called, you have to get them back to the lender...
Is it being televised?
Prob a good place to start

http://www.amazon.com/Influence-Psychology-Persuasion-Busine...
Yup, every point is solvable. Thinking of how life changed between 2007 and now, I can imagine how in 2013 we'd have linux in bigger cities, but not earlier.

1. I believe you still need someone to maintain the system and someone to teach how to use it. This makes a requirement of at least one unix specialist (informatics teacher) per school. Takes a lot of time to train them but not impossible.

2. Probably faster hardware and unix specialists could make a distro fast enough for education (is edubuntu such a distro?)

3. Most schools have some crappy connection, though (128 kbit/s). Some schools don't have internet at all; however, those aren't very well equipped with computers anyway.

4. You're right. However, some people expect a person out of school to have some computer literacy and experience with whatever they use at work. And most of "them" use microsoft solutions for office.

5. I added a point to the initial comment. It is probably cheaper to have microsoft products now. Especially, considering support and retraining costs for open-sourced software.