skysight-inc/HackerNews huggingface dataset:
the performance difference between classes and IDs is irrelevant

Instead of a test with a list of 1000 elements, try a test with a nested list of 1000 elements. The performance problem with classes is that the browser has to traverse the DOM to find them, starting from the deepest element and working up. It's pretty quick, but not that quick when you have a deep tree. Whereas finding an element by ID is literally just a single lookup in an index regardless of where the element actually appears.

That said, DOM traversal was a very slow procedure for a long time, so browser developers spent a lot of time and energy optimising it. It's way better than it was. It could well be the case that classes don't have the performance problems they once did. Unfortunately, the test in this article won't show whether that's true or not.

To clarify, if you have a selector like "div.class a", and HTML like;

<div class="class"><div><div><div><div><div><div><a>Woo!</a></div></div></div></div></div></div></div>

..then the browser goes to every anchor in the DOM and then looks up the tree asking 'Does this div have a class of 'class'?". That's what's slow. If you use "div#id a" then the browser can look for the id more quickly. That's why IDs are faster.
Why Your App Might Fail?
SoundCloud-NYC: Engineer,Backend
SoundCloud is the world’s leading social audio platform, allowing everyone to discover unique content anytime, anywhere. We enrich people's lives through the shared love of sound.

We reach a rapidly growing global user-base and are constantly pushing the boundaries of creativity and technology, on web and mobile applications.
We’re looking for someone passionate about development tools, techniques and methodologies, to help build the SoundCloud platform.

With hacker time and tailored professional development, you’ll grow alongside industry leaders while helping to shape the future of audio on the web.

Your key responsibilities:

Work on a growing set of back-end services for internal and external consumption, from product definition to production and maintenance
Optimize the backend of existing features for performance and stability
Find and resolve issues with the platform in close communication with our users
Required skills and experience:

You need to have solid experience in at least two languages like Scala, Clojure, Go or Ruby.
Extensive experience with systems integration using HTTP and queues (RabbitMQ and ProtocolBuffers are a plus)
Good understanding of storage systems, like MySQL and Cassandra, including complex queries and optimization
Experience in software design techniques, Test-Driven Development and distributed architectures
Bonus:

Experience developing popular public APIs
MRI/JVM tuning and profiling

Please apply at : http://soundcloud.com/jobs/2014-11-18-engineer-backend-new-york-city-ny-united-states
I earn about $1500 a month from a program called BatteryBar, it's a laptop battery meter for Windows laptops. Sales are driven mostly by referrals from web forums and Q&A sites where users recommend it. It's a freemium model with the vast majority using the free version.
They're not encoding different fonts. They're encoding distinct character forms, often necessary for historical texts and such. Some of these are actually symbols, too.
It's difficult for an already-niche product to go chasing a niche language. Niche × niche is pretty small....
Add a file encoding directive[1] at the begining of your file, and you can shoot at as many of your feet as you want.

[1] PEP 0263: https://www.python.org/dev/peps/pep-0263/
My wife is a teacher in China. She taught me that the difference is 2 things: One is the single child is pushed into competing by the parents who fear the other parents are pushing their child. Second is she says the Chinese children can "see" the future is bad without something to change it and that is getting an education. She says we just don't see that here in America - the child that is.
it would kill redhat too then.

systemd was created by well intentioned people, solving a real issue but being a bit too aggressive and attempting to rewrite everything.
Adding a "do NOT do today" section to my todo list has made a big difference for me in terms of staying focused on the real priorities. Start w list of all the important things and rank em, then drop all but the top 3 into explicit "do not do". Otherwise #4-N have an insidious way of taking precious time and energy away from the most important stuff, while feeling justifiable.

Also, tracking wins has helped me feel much better about my productivity. Good for a mood boost or shot of confidence, to glance through it.
Hello Apple Watch – Quick Tutorial
Not an expert but based on my research it doesn't seem like this is a meaningful number at an individual level or at the aggregate base level: http://www.militaryrates.com/military-pay-incentives
Why that? AFAIK, they were not allowed to use the name firefox since their version of firefox contains or used to contain unofficial patches and mozilla forbids the use of the name "firefox" in that case.

Renaming was one of the options, dropping the patches the other.
I used (and they recommend) Camtasia Studio. Also picked up a Rode Podcaster microphone for decent audio quality.
"rape you to death with a flaming donkey"

Dude ...
How much would you make if you hired a property manager?
"English is not my spoken or native tongue, so I'm not sure what you mean."

Ah. In that case, this research was already done with extracted compounds. The mice were not smoking. I'm sure that medically, if this were ever to be a treatment, it would be done through refined compounds as in the study, not by simply smoking. Medically it would be crazy to leave dosage to such an unreliable method.

As for this being used to argue in favor of smoking, well, it's a grave mistake to hold back science because somebody, somewhere, might use it to poorly argue for something. There's always some way something could be misinterpreted. Besides, per my previous point, if you want to take advantage of this smoking just isn't the way to go, and it's especially not the way to go if you're just smoking "something" with no idea how much of the relevant compounds is in it, or at least not enough of an idea. On the cost/benefit analysis, with "better brain cancer treatment" on the benefit side, potentially, I need to see some costs a great deal more significant than "somebody may use this to argue in favor of smoking pot", which "potheads" do at every available opportunity and more anyhow, before I start to worry.
You're right. Thanks for the suggestion on the title change.

It seems most people tend to look at the "growth mindset" work through
the lens of child development, or adult development, or business
management, or general learning, or similar. For some reason, I enjoyed
thinking about it in terms of code and coding. When code fails to do
what I want or expect, there is always a knowable reason for it behaving
as it does, and there is always a standing challenge for me to figure it
out why it works as it does. If I'm dissatisfied with the code I'm
running today, then there's always a standing challenge for me to try
improving it. Even if I "fail" to improve it, I can still enjoy the
challenge of trying to improve it, and as a side effect, I'll most
likely learn something new, exciting and useful along the way.
I think the MLton SML compiler does this.
Stocks 300 / month with a custom data analysis (very simple, it's based on event. It analyse stok data and highlit regular period of high on the stocks on the same date each year, and after by hand i try to find why it goes high, and i can put past event also and it told me if theses event have an influence on stocks in the past).
http://www.skruge.in/
https://github.com/skruge/skruge.github.io

I'am limited by the amount of cash. I'am in the process of launching a fund.
>systemd and Upstart are both a large improvement over the System V init scripts.

Userland utils like wget depending on a specific init package is a large improvement over sysvinit? Nope.
Maybe the equation is that TechCrunch articles about startup funding get more "help" from those startups on sites like HN/Reddit, thus they get much more exposure, thus more views.

This is an amazing analysis. Thank you. I really enjoyed the aggregated "x for y" headlines.
Well, link time optimization does this for C code in principle. It is fairly new in gcc and clang so it is not clear what it buys you in real world cases. A lot of code cant be compiled out because it is hard to prove it cannot be called. I plan to experiment with LTO and compiling a kernel and an application together at some point to see how it goes.
Thanks for the feedback. W3Counter has around 79,000 users despite never being advertised; I don't really care to grow it faster by giving away more. The PRO features cost money because they cost me more money -- they include real-time reports that take more server resources to scale.

W3Counter's always been a pet project I built for myself, back in the days before Google Analytics existed, that I've just been happy to see pay for itself. The site turned 10 this year.
Why make apples and oranges comparisons to the kernel? It isn't that hard to replace sysvinit. Why should sysvinit's replacement regress in this area?
Since it wasn't mentioned here earlier, it's worth to take a look at shapecatcher to see what glyphs might resemble latin letters.

Scribbling something resembling the latin capital letter A returns for example any of these codepoints: A𝘈ΑАÅ𝖠∆ДΔ𝐴𝟺дᎪߡ𝛢Å4𝛥ᴬᐃⵠ𐌀𝘼𝛬Λ△𝟦Ą𝜟𝓐⌓⧍ᗋ🜂Ⲇ🗻🍙ⲇѦᗩᗅ

http://shapecatcher.com/ (https://news.ycombinator.com/item?id=5150107)

Also the Unicode Consortium has some reports on security:

http://www.unicode.org/reports/tr36/

http://www.unicode.org/reports/tr39/

listing all kind of spoofing methods you haven even thought of.
About $15 a month from 3 iOS baby tracking apps. Built to scratch my own itch, so to speak :)

Here's one, and the side bar lists the others.

https://itunes.apple.com/us/app/napendar-baby-sleep-tracker/...
Well, this time it gained traction, I gained insight from the discussion. I'm fine with that.
My wife and I have an old website that makes about 1200 euros/mo from Adsense. No work on it in years.

So many ideas, so little time.
Any advice for someone looking to get into real estate investment?
Did they make the mice smoke?
Sure, they could contract out with trusted third parties to review the code, but they would then need a mechanism to ensure that the binaries distributed to users matched the code that these trusted third parties were provided.

So yes, it is correct to say that it is not required that the project be made open source to corroborate their claims, but the alternative of keeping it closed source and having third parties verify every release is much more logistically challenging.
Neat. How is this different?

Trueability.com comes to mind.
One of those times I wish I had more than one upvote - thanks!

I definitely have a preference for a more declarative approach, and not in the J2EE giant piles of XML way. Will give these a look for inspiration - thanks again!
Positionly, SEO Software has introduced a major update - Request private beta!
The problem I experienced with "measuring 'look into'" is that you're not in a position to do so at that moment. "Google 'mend chair leg'" may be a proper task, but it does not capture what to do with it. "Write down best 3 posts" is not something you should commit yourself to before Googling; it's the vague act of "looking into" that generates such actions. You can't tell in advance if you'll need to read blogposts, watch videos, browse a subreddit, etc.

In the end I created my own terms like RESEARCH and BRAINSTORM with well-defined actions attached. RESEARCH means "spend a block of time BFSing on Google until you feel satisfied", while BRAINSTORM means "spend time in front of a whiteboard/piece of paper and dump your problem until you're able to identify specific courses of actions, which then will become your actionable items".

But in the end, I still feel that some problems are not well-suited for GTD - mostly those requiring to improvise as you go along.
> If all these people dropping out of Debian is due to systemd, somebody needs to step up and force some kind of compromise.

That's what Ian Jackson proposed - that while systemd would be the default, Debian would fully support users using other systems (bugs that only affected SysV users would be considered equally critical). He was voted down, hence his resignation. The systemd folks don't seem to be interested in compromise.
I have one of the Yale locks in the UK and you can enter as many digits as you want before and after the actual combination and it will still work.
How is wget depending on systemd?
> Except that a square is-a rectangle! Especially in terms of geometry.

The thing in geometry that is called a "square" which is a special case of the thing in geometry which is called a "rectangle" is an immutable object whose side lengths and other features are part of its defining identity.

Modeling this relationship works perfectly fine in an OO language -- but squares and rectangles of this type are immutable objects.

A mutable square with operations which mutate the side lengths while preserving squareness is not a special case of a mutable rectangle with operations which mutate side lengths while preserving rectangleness without also preserving aspect ratio.

The analytical problem here is mistakenly assuming an is-a relationship that applies to immutable entities in geometry applies to mutable objects whose mutation operations are defined in such a way that the is-a relationship does not logically hold.

> So you should be able to use this isomorphism in a type system as a perfect isomorphic mapping this is the entire purpose of the Liskov Substitution Principle.

Actually, the entire purpose of the Liskov Substitution Principle is to provide an analytical basis for excluding mistakes like subclassing a mutable "Rectangle" class for a mutable "Square" class with operations that aren't consistent with an is-a relationship simply because of an intuition about an is-a relationship between squares and rectangles in geometry which doesn't actually hold when you analyze the operations on the particular entities you are modelling (which are outside of the geometric definitions of squares and rectangle.) The LSP defines what can and cannot be a subclass, and it rules out the kind of mutable square to mutable rectangle relationship you have proposed in this thread.
hand waving sure.
It's been several years now that I'd like to launch a few side projects. But contrary to the crowd here I'm just a normal human : when I come home I'm just exhausted and / or want to do something else than coding.

I could use the extra cash though. This month I even tried placing bets on soccer and tennis and failed miserably.
I seriously doubt that.

There are new sites added to this index every day - https://www.djangosites.org/

Chess.com also relaunched using Django in their webstack.

I'd say that things are going to pick up for Django - they've got a solid plan moving forward and they can nip at rails devs by introducing websockets, SSE and WebRTC features which rails doesn't have (out of the box).

The main weakness for Django in my opinion is the community isn't as vibrant and energetic as it is with node or rails.
q: what did you use to generate the slides?

edit: I see: cleaver
Do you provide just customer service? Or do you also manage the accounts for them as well?
Yeah http://asp.net was down too. Just when i was looking into Azure.. running our own servers suddenly doesnt seem so bad..
You can create a shortcut to a website and accomplish the same thing
And it's the exact reason why unification through systemd makes sense.
Interesting. Thanks.

Some more context:

defines the principle of unfair:
- If a contractual term has not been
individually negotiated *and*
- the term causes significant imbalance
in the parties rights and obligations,
*then*
- the term is contrary to the requirement of good faith.

http://en.wikipedia.org/wiki/Unfair_Terms_in_Consumer_Contra...

It seems UK law is trying to define the principle of "unfair contract" in terms of "good faith," an existing and longstanding principle in contracts. Makes sense, but I don't think this is the best approach. (a) It just leaves an opening for creating consumer protection rules regarding what is and sin't fair. (b) There's still no reason not to keep adding stuff to your TOS or whatever.

I think it would be better if the law just didn't recognise contracts that are clearly out of place and don't really represent and agreement between parties.
Feel free to email me for advice
been looking into real estate investment lately, what do you consider a good roi?
Reload all your zsh sessions by one command
This isn't about your friend specifically. In elementary school, it's common for kids to only have two teachers for the entire school year. My sister, on one occasion, moved up in the grade she taught and ended up teaching the same kids for two years. Many of these kids spend more awake time around their teachers than their parents. Given how the government forces kids to attend schools I don't see how one can't think that they and their employees share a huge part of the burden.

On the other hand, my sister makes it seem like there are just a lot of bad parents out there. Even the ones that mean well, will often act in a way destructive to their child's education. Many of them are rude and self-righteous. Honestly I no idea what to do about that.
I didn't downvote your earlier comment (because I'm not able to downvote, yet), but I certainly flagged this comment.

What, exactly, do you think you're adding to the discussion at hand by vomiting out such tripe?
They're generated by cleaver: https://github.com/jdan/cleaver

You can see how it's set up in the github repo for the slides: https://github.com/jdleesmiller/ds-docker-demo
I bet park owners are drooling over this technology. All the old rides are new again and you can run multiple experiences simultaneously on the same ride? Sounds like profit to me!
<i>Socket activation</i>

Because minimal boot time is way more important than predictable, repeatable functionality. It's totally cool if some other daemon lies about whether or not my service is actually listening while just happily buffering into /dev/null. This is all brilliant stuff and a huge step forward over UNIX.
It would be quite hard to judge how many people 'kept Uber installed despite this incident'. A simple scan over HN and the comments under the stories about this do not support your stance that many do support Uber in this.

The simple idea of "journalists are dragging our private affairs out to use against us, we should do it to them" is where these people fell down. Sure, some people are distorting it and it could therefore give the appearance of being pc, but in reality this is a moral problem.

Had they (he) held themselves to a higher standard, behaving in a morally responsible way, none of these things would happen and indeed they could be a leader in more ways than they originally intended to be (transportation).
Same reason. Did they send you a notification that it was going to happen? I did not, and only discovered it when the application being hosted on the droplet wasn't loading. Luckily it was just a personal tool.
We launched Watsi's Universal Fund [1] (our monthly donation product) a few weeks ago. However, we had people beta testing our previous version of monthly donations for around a year before that.

We've had 671 people join in total. 1 signup today. 8 signups this week. $21,300 in recurring monthly donations. $1,900 in recurring monthly tips (to our operations). The median monthly donation is $20.

Since we launched the Universal Fund we've seen a conversion rate of 2.42% (signups/sessions). I'd be curious to know what conversion rates other recurring revenue products see.

[1] https://watsi.org/universal-fund
People on H1B, like me, simply can't. It is ilegal to have any income coming anywhere else other than the employer associated to the H1B...

It is ilegal to even make money on ads on a blog... this completely sucks and is very frustrating.
Not-so-subtly threatening others is definitely not a smart move.
'Pick-up Artist' banned from UK
How do other distros solve this "issue"?
I am fairly clueless about stocks. Would you mind sharing how would one start? How much upfront cost does it require?
Win more time for refactoring with these explanation
Did you read the article? It said explicitly that regardless of `div.class a` or `div#id a` the same lookup takes place - every anchor on the page's parent is checked to see if it has the id or class specified by the selector.

So the selector `a#id` will be faster than `a.class` but a parent selector uses the same heuristic.
Doesn't look like there is any support for drawing on the fly. You could create the watch face as static image, but I don't see a way of drawing the hands and keeping them moving once a minute. Maybe create a series of static images with the hands, and stream them once a minute from the phone? Anybody have any thoughts?
All Things Pivotal Episode #7 – A Look at 12-Factor Apps
This is one of the risks of cloud computing. At least once a year Amazon has had catastrophic outages, it's not surprising to see other other providers having similar problems.
About $450 a month from my share of a spanish language bookstore, reader, and audiobook player app. It provides public domain books and Librevox recordings in a nice UI and all cleaned up. Users can buy books for 0.99 or 1.99 or buy the whole library for 4.99

I spent about 4-5 months working on it full time and kind of consider it a failure, but revenue isn't dropping. I don't know how to grow it though because it is search targeted.
if you want a heroku / 12 factor app style setup, tryout deis.io
it doesn't actually... limit to 1k chars or something, not 20 if you worry about stuff like that.
In this case, the metadata (who is talking to who, and when) may be more valuable than the messages' contents.
Stumped on a Startup Idea? Check Out These 4 Resources
thank for sharing. it's surprising that nearly half a million downloads translates into such a small amount of revenue. is this the nature of in-app advertising, or is this because the number of active users of the app is much smaller than the number of downloads?
>the result of the vote is a clear majority of Debian developers saying "no more politics on this init topic"

No, it's a thin majority of devs saying, "lets not make a decision of any kind, so please continue fighting these political battles amongst yourselves".

Just wait for Jessie, you'll see. Package dependencies are going to become the next huge political football.
That criminals can't afford it when it's ~4x the price seems incredibly suspicious.

Maybe it's not worth their money now, but I'm skeptical that having to pony up ~4x the money is going to stop an organized crime syndicate from being in striking range of a collision.

It's already in the range of many mid-sized companies at that price point.
Whilst I understand you won't want to share what the website is, can you give us an idea of how you went about picking the particular niche you choose, how you built traffic, how you wrote the content? I presume most of this is pure organic search engine traffic that is highly SEO optimised? Those are some nice figures. Have you not though about replicating this x100?
𝐆𝐞𝐭 𝟏𝟐 𝐨𝐟 𝐭𝐡𝐞 𝐰𝐨𝐫𝐥𝐝'𝐬 𝐡𝐢𝐠𝐡𝐞𝐬𝐭 𝐫𝐚𝐭𝐞𝐝 𝐛𝐞𝐞𝐟 𝐣𝐞𝐫𝐤𝐢𝐞𝐬
1. The purpose of systemd is not speed; it is simply a happy side-effect of its design.

2. Socket activation do 𝐧𝐨𝐭 buffer into /dev/null; that is simply FUD.