skysight-inc/HackerNews huggingface dataset:
"Many string operations are useful as a general list operations as well, including regular expression matcher."

The way to get around that is to have some concept of interfaces in the language, and then have a generic Sequence type that strings, arrays, lists, and a bunch of other concrete types all implement. This makes your sequence operations even more polymorphic, eg. you can have them work on ropes, iterators, tree traversals, etc.

The real problem with the list representation for strings is memory consumption. English UTF-8 text in a byte array takes one byte per code point. English unicode text in a list where each code point is an immediate 32-bit int takes up 8 bytes per character. That's a factor of 8 difference in memory consumption.

And more memory means you can't fit as much into cache. There's a huge difference between being able to keep all your strings in L2 cache vs. having to go to main memory, particularly for string manipulations, which may need to touch a lot of different memory locations without a lot of locality.

"Some people emphasize importance of O(1) access of string access by index, but using integer index is also a performance hack. If search operations can return some way to point to the substring you don't need integer indexes."

Also, UTF-8 usually means you have to give up O(1) indexing. Your string may have multi-byte characters, which you can't discover unless you iterate through it.

In practice, this doesn't matter. The vast majority of string slices chop a few characters off from either the beginning or the end. You can do Boyer-Moore on byte sequences and return the byte offset instead of the character offset. Most other indexing operations involve some sort of iteration over the string anyway. The only real pathological case is when you need to find the midpoint of a string repeatedly.
i think this is a cultural thing. ruby is at least as convenient to deal with regexes as perl, but we don't have the same kinds of problems. i think this is because in ruby, the culture is to use the hippest tool for the job. frankly, regular expressions aren't very hip. YAML or JSON is much more hip and therefore likely to fill that niche. Perl-users made regular expressions something that we all expect each other to know. Did they go too far? Seems that way (just like java-users obsession with introducing abstraction layers helped the programming community learn DP.)

Your point implies that exposing a powerful mechanism that is easily abused should be avoided. I disagree. I think this is a matter of culture and not "law".
send me an email at gmail (kapauldo), i'd love to talk.
instead of being snarky, can you please provide the reason why regular expressions were required?
Well, for views on climate change by political affiliation in the USA: http://people-press.org/report/?pageid=1550 For choices of "human-caused warming", "warming for natural reasons", and "not warming", opinions are split 30%/43%/24% for Republicans, 64%/29%/4% for Democrats, and 49%/38%/9% for independents.

Assuming that party identification is roughly equally split three ways, that means that if all you know about a person is that they think the planet isn't getting warmer, you have 2-to-1 odds of that person being a Republican. Not a sure thing, but probably qualifies as "most". If you really need a source for people in rural areas and southern states, white people, and strongly religious people being disproportionately Republican I could probably find one, but c'mon.

So, sure, he was probably overgeneralizing a bit but the statistical tendency is there and not exactly subtle. I'm sorry if you're offended by demographics, but that's the way things are.

Outside the USA, of course, I doubt views on climate change correlate much at all with membership in US political parties, but I don't think that's what you meant.
Study: Hybrid cars hit more pedestrians
Can you email me at raghu.srinivasan@gmail.com
I manage 20 Linux users, not servers. There is difference between users that have control panel access, and users that have shell access.
You can email me at paras@wingify.com, if marketing online advertising technology (web analytics, split testing, etc.) interests you.
Unlikely, as you've done a rather poor job of marketing yourself.

1) The title for this doesn't make sense. Obviously, we can tell that two ideas conflicted, but a second read-over would have caught this.

2) You list no qualifications, abilities, interests. sammcd put it nicely: "What can you do for me?" You should have already answered this!

3) Your .info domain doesn't look very professional, and it doesn't point anywhere meaningful! That is, unless you're currently working for GoDaddy. Even then, the animated ads don't reflect well on you.
That's what I thought, but on my site, I'd say about 5% of people make a typo on their email address. Now I am probably going to join the "confirm email" club.
Make money online
Find the best Resource to know how to make money online with our money solution to make extra money with ease and fast
Please post the original article (http://www.viget.com/advance/password-fields-are-annoying/) instead of a blog post that does nothing but link to it.
If he has done experiments and research to see how belief of God affects the brain, then his approach could be scientific and he may even conclude that belief in God affects the brains of partitioners. Reading on Wikipedia he has also researched "non God" religions such as Buddhism - - and he has found out that stuff like meditation (and praying) affects the partitioner's brain.

And really, as somebody has noted it above: it's very plausible that belief changes our brains, given that most humans throughout our history have had belief. And research in belief is _very_ interesting and might put light on why most of the humans today believe in something.
dstorrs@lifethunder.com -- drop me a line and let's talk.
This is what I am talking about. Why "sucks", I mean so what if a bomb goes off everyonce in a while, why does that equate sucks.
shoot me an email if you'd like to chat about http://ridewithgps.com - zackham@gmail.com
So if it does what is needed it's a deal right, mayby even a steal.

Also could you expand on the coop thing. Is it actually a worker owned coop?
Fatcow magento commerce and shopping store hosting
Web hosting server which allows SSH connection and access are more vulnerable and hence its now being offered in fatcow hosting. Anyhow, fatcow ecommerce scripts are offering oscommerce, agoracart, zencart, cubecart, and others.
In many places, it beautifully treads the thin line between humour and wisdom -

Grand Master Turing once dreamed that he was a machine.
When he awoke, he exclaimed:

"I don't know whether I am Turing dreaming that I am a machine,
or a machine dreaming that I am Turing!."

:D :D :D
I'm curious - have you interviewed at a financial company too?

I know for a fact that most public accounts of Google interviews are wrong. I have no reason to believe that public accounts of financial company interviews are right. I just assume that everything I read on the Internet is wrong until proven right. ;-)

FWIW, my Google interview was much harder than my two interviews with financial software startups. But I'm not certain if those startups are representative of the financial industry as a whole. Things might be different at Goldman, or hedge funds, or PE.
Hearing about distant acquaintances deaths on Twitter or Facebook won't be a big deal when I'm driving my flying car or plugging my iPhone into my brainstem in 40 years time.
s/language/religious/
and wars over religion have been going on for thousands of years. I don't think that explains it but the mentality seems very similar to me.
It irks me that while the story is interesting and potentially inspiring, the idea that this guy has a god fixation means I have to disregard it. Why don't these people do double blind studies (in this case with MRI) to find out if what they are saying is actually true rather and just post as if it was true.
How could they have omitted the microLenat?

http://itre.cis.upenn.edu/~myl/languagelog/archives/003515.h...
First time I hear about RPX - looks interesting.
And yet, currently there's six people who've supplied emails for more contact.
Three years seems a bit extreme. But then again, I'm not European.
I toyed with some windows software that did what you mentioned above. Followed users based on keyword and unfollowed if they dont follow back in 48 hours. It checked every 4 hours which isnt alot but still got the @account banned.
Migrate your PC from Windows XP to Windows 7
Microsoft Certified expert to efficiently migrate your applications, data and settings from Windows XP and Windows Vista to Windows 7 on your existing computer.Available 24/7 via remote access.
I see wasp creates a dozen folders and files when I try to compile a binary off it. This is actually very annoying, it will create folders and files which are not actually required.Imagine a full hierarchy just for an hello world.Where is the sense in it? I personally like to prefer to categorize my own files in an hierarchy which is customized for a particular project.Sometimes just a file and its binary does the trick and sometimes you have to make just a test folder or a config folder. Not need to bind the programmer to a standard.
This is great. The regex we use on tinychat for URLs is self made and not as all inclusive as this.
The cited benchmark is completely bogus.

The benchmark compares the different implementations based a single trivial regular expression: /indecipherable|undecipherable/. You simply cannot claim a regex engine is faster than another with such a poor experiment. It is evident that Boyer–Moore string search algorithm will outshine any engine on that regular expression.
I was not saying they are in a class of their own. I was saying that you are grouping "PCs" into a category and saying that is all that it is noteworthy. Well, sure, that huge mansion is JUST a house, but you know so is that one bedroom apartment. Now you could say, "Windows PCs are great because they are cheap and powerful. Macs are great because they are stable and thoughtful."

I didn't even imply that Macs are better. Although I do think that Apple controlling the hardware and software has allowed them a lot more time to focus on the software than the bureaucracy Microsoft has to deal with to help software publishers and PC manufacturers. There is a lot of stuff I can only do on Windows and that in itself is important to note.
I think he had them at free. However, free is not always the cheapest route.
Tell HN: Need some FourSquare Users for my app, Sharedsquare
Did Christianity Cause the Crash?
http://www.sharedsquare.com

My app matches you with other FourSquare users who have been to at least 2 venues as you did. It also tracks those users who were in the venue in the same day you were there.

You won't find matches right now since I don't have any users but come back in a day or two after registering to see if you have matches.
That's a fair criticism, but it would be worth seeing the figure caption for it as well. If the caption had within it that the source was switched part way due to a known problem, that would be fine.

Out of curiosity, anyone know a journal reference for that particular graph?
That is a sort of tangent problem you have to deal with whichever you have distinct string type or list-of-character strings. You may canonicalize, or you delegate stuff to intermediate library.
A press release from a typical company will throw as much glitter on their own brand name as possible, and usually butcher the surrounding language a bit too:

"the new FRISBEE [TM] brand Flying Disk..."

If a writer takes this literally, a copy editor has to tone it down or else the brand name will dominate the article text and make it look like an ad, too: "It's a Frisbee."
Fun variants include meaningless alternating caps, or a single lowercase 'i' inside an otherwise all-caps word.

Newspapers want to use the brand name, not the logo or an ASCII attempt at one; and in decades past, fixing the caps helped comprehension rather than hurting it. They considered capitalization part of presentation, not content. (Shouldn't a brand name survive an all-caps typeface?)
Good overview of Google's history but I don't think I would classify this as a critical analysis.
How do all the "best" climate prediction models have squiggly lines after 10 years from now and not a broad range or something realistic. Their algorithims smell of BS and way too many variables go into it to make them have anywhere near their plotted accuracy for 100 year projections. From wikpedia:

http://en.wikipedia.org/wiki/File:Global_Warming_Predictions...
there's an apocryphal tale that Cadillac sales actually went down in the 1980s when Cadillac lowered prices.

I think you always have to be careful not to mix correlation with causation. The slump in Cadillac sales could have been dure to the poor edonomic times. Black Monday anyone?
Modern philosophy would go much farther in helping mentally ill people. There is the material realm, the world as it is; and the ideal realm, the world as it appears (delusion). Show them the movie American Beauty where a guy sees a drug deal but it looks like a homosexual act from his perspective.

My doctors are worthless. God talks. Take a stop-watch and stop it without looking. Use the hundredths to pick from 100 words or phrases or pages. Spirits puppet people -- what do you think the Bible is about! How did God talk in the Bible? Clearly, we have billions of people who haven't thought this through!

God says...
considerable enforced resolute firm consecration reading
pure problem Onesiphorus remember joyed lettest defining
tip willedst scatteredst Rest whencesoever disciple beholdest
winds soever useth unstable rested preserving deliberation
BUT nimble announce disappear win THIS virtue This saith
Prof fall buried inmost shield Continual profounder transcription
Fish Monnica agony viper shoutedst decline absolutely
unconsciously hurried Beware whatever cities bawler obedience
star unstable mediator school evermore curiosities apostles
fairer chariots forthwith cannot worsted Verity feedeth
demandest greatly guilt couch current Saints million profligate
goodness Rejoiceth appetite wedlock effaced girded Cup
flocks doubteth harmony tempts blindness mangled liker
caverns curest unrighteous arranged whatsoever illumined
SUCH acute stormed Nor doubts factito concludeth feedest
Hierius had toss conquered unfriendly joying diddest seducers
narrower vicissitude findest bends humbled rates hurt
singsong duller Epistles holies

That was "tongues" from the Bible done with a nanosecond clock--much too fast for anything in our brain. Interpretation is a gift -- God talks in riddles in the Bible. It's not that hard.

http://www.usccb.org/nab/bible/1corinthians/1corinthians14.h...
A lot of people do a poor job at hiring too.
Having dynamic typing makes the discussion complicated, so let's assume we have a cheap way to know the type of a given object.

In one world, you get an object of type [Char] ---means a list of characters--- and you can apply all sorts of list operations on it, and all sorts of operations specialized to [Char]. You can add a type alias String to the type [Char]. In the source file you can write "string" and it is read as a list of six characters. On the output the same list is printed as "string".

In another world, you get an object of type String, which is distinct type from a list of characters. Type String has all sorts of useful operations. But if you want to apply a generic list algorithm, you have to either duplicate the code, or coerce the string into a list. Conversely, if you have a list of characters and want to pass it to a string library function, say, regexp matcher, you have to coerce it to a string.

Which is easier?

As nostrademons commented, one way is to implement a generic interface so that you can write a generic algorithm on top of both list of characters and Strings, but that's actually the same thing I'm saying. I say "list" as some data structure on which you can peek the head, the tail, and you can add an element in front of existing one. I don't care how it is represented---if the runtime or the compiler can find out the list only contains ASCII characters, it can freely store the entire list in an octet array. In a sense, I say "list" as "data structures that implement the list interface".

Now, suppose if you have such a smart runtime/compiler. Suppose you can have specialized functions on [Char], apart from generic list. Do you still think having distinct string type is for ease of use?

In reality we don't have such sufficient smart runtime/compiler, so we compromise. That's the distinct string type.
But does typing the email address twice, on the same form a mere 20 pixels from where you previously typed in full view of the previous entry, actually bring out corrections? If you mistype it the same way twice, you may not notice that you mistyped it, as both fields will look the same. For password fields, where the input is hidden/obscured, the double entry makes some sense (ignoring the UI issues/possibilities outlined in the OP), but with email addresses, it seems less so. I'd be interesting in hearing stats after you make a change.

Also, are the typos you've seen more often in the LHS or the RHS (of the @) in the email address? The RHS is relatively easy to spot check, by doing an MX and A DNS lookup to see if the domain exists -- you'll check actual delivery later. I've found this to be more robust than regular expressions that attempt to "validate" email addresses (see HN postings from earlier today) and assume a fixed size on the RHS, and are often overly aggressive in trying to detect "illegal" characters on the LHS, like +, which is not actually an illegal character.
I only have to fake it like once or twice, actually. It should definitely work.
I'd like to share a little dark secret of the programming profession:

At least 50% of the time, a programmer does not know how to perform a task until the moment they perform it. We approach each task with the confidence of one who has learnt how to do new things each day, who knows how long it takes to learn something completely new.

Since you have tought yourself everything you know, it is clear that you have mastered learning new things. Trust me, you will have no more difficulty learning the things you require in the workplace than you have had learning them at home. As you gain experience, you will get better at estimating how much needs to be learnt and learning it quickly (while staying focused), but learning is always a constant.

The moment you stop learning in your job, that is a sign that you need to build an abstraction layer and put your current knowledge into a library so you can focus on more complex problems.

Believe in yourself. The only difference between you and your enlightened peers is that they have confidence in their ability to learn on demand. You should too, since you have proven it already.
eDrogna:
eQuatloo:
eZorkmid:

Why not!!
This has shades Lotus Notes hieroglyphics logins, but potentially much better.

http://www.coderjournal.com/2008/02/lotus-notes-aol-corporat...

http://www.encode-sec.com/pdf/esa0101.pdf
Science that relies on cooked data isn't science. It's snake oil sales.
1) My apologies

2) I've done some simple SEO, social network marketing, PPC and blogging in the past. Will to do whatever is needed. If you don't trust me to do more advanced tasks we can build up to it.

3) For some reason GoDaddy stopped pointing to my tumblr blog, waiting for the records to update. Thank you for pointing this out I'll go and change my profile
That also true for the long s (ſ) http://en.wikipedia.org/wiki/Long_s -- it's only used at the start or in the middle of words. The same is true for sigma, σ is used in the start and middle of words, while ς is used in the end of words.
I can do any of the following: SEO, blogging, social network marketing, work to get you exposure on other blogs
indeed, through predictive techniques, we avoid spammers, and auto-follow is now optional (a popular request..)
Having just re-read the article, I can only come to the conclusion that it has editorial spin - I can't see how this can possibly reduce CO2 emissions, unless the charring releases enough useful fuel to supplant the original heat required, which is not stated anywhere.

To turn matter into biochar requires heat input - so generally this means burning some sort of fuel - which releases CO2. Leaving the matter as it is, or burying it does not require this fuel, hence the CO2 "savings" are even greater. To do all this to sequester carbon seems to be missing the point, and we'd all be better off by not burning anything in the first place.

What may prove to be useful is the extraction of other products, and the potential soil benefits. If a compelling case can be made for these alone, then it might indeed be useful. The carbon sequestration / global warming aspects seem to only be adding political spin to the issue.
Correlation does not equal causation, of course. And we lack information on the conditions of the pedestrian accidents (e.g. were the drivers not paying attention, and did each pedestrian specifically say "didn't hear the car coming" as the reason for the accident?).
"I'm not necessarily attempting to justify any data-cooking whatsoever, but why is it such a big deal? I mean, the climate "skeptics" do it all the time and it hardly makes the news."

Are you serious?

Laws are going to be passed (cap and trade) in the US that heavily regulate businesses based on data from these organizations. If congress doesn't take a step back and look into this, they are even more corrupt than I thought.

Al Gore got a noble peace prize based on this and he has made millions through his carbon credit programs (and speeches, etc).

The truth needs to be known. If global warming is not a result of man-made pollution (or if temperatures are not actually increasing or decreasing at a dangerous level), we need to know.
8,387 were hybrids, of which 77 had struck a pedestrian — this works out to a 0.9 percent incidence rate

559,703 vehicles were traditional gas-burners, which struck 3,578 pedestrians, which works out to a 0.6 percent incidence rate

The article says "nearly twice as likely", which is not even really close at all. Also, the sample size is much smaller for the hybrids.

I understand that cars which are running on electricity are harder to hear coming. For the blind, I can see that as being troubling. That being said, I can hear a hybrid or a full electric fairly easily. I might have trouble hearing one coming if it were going over 20mph, since I'd have less time to react. The point is moot, though, since I actually look both ways when I'm crossing a street, like you are told when you're a child.
I have in the past (when disk was a lot more expensive than it is now) deleted email that I was sure I'd never care about -- archives from projects that had concluded, for instance, and mostly consisted of "hey, can you come into my office for a minute" type stuff.

But I've never deleted sent messages. I pretty much have every message I've ever sent, minus a few here and there that perished due to hardware failure. This is mostly for CYA reasons but also just because it's a useful personal historical record.

I would be pretty suspicious if someone told me to go through my workstation and delete messages pertaining to a certain subject.

Although there are companies which, due to the legal climate they operate in, have information-destruction policies (basically keeping stuff for the amount of time legally required and NOT A DAY MORE), having a policy that's in effect all the time is a lot less suspect than requesting specific emails be destroyed.
Duties of CNA
There is a severe shortage of qualified nurse assistants because of the high turnover rate in this profession. The most important duty of a CNA is to keep away your own stress and provide highest possible level of care to the patients. Your desire to help someone should be of extreme level so that you should not feel your work as a burden.