skysight-inc/HackerNews huggingface dataset:
Fresh start for Tech entrepreneur
Hey guys, I've always been a business person and running a ecommerce business. I think I will start another startup in the near future (more tech-heavy than the one I'm currently running). I feel like to move on into tech world for less dependence on technical founders. So I've chosen frontend army. Having learnt some basic HTML5/CSS3 and now I'm moving on framework Boostrap. I don't know to get extremely familiar with those syntax (I was watching tons of videos on code a website from scratch and seeing them using syntax and making the elements in the right place so easily). Anyone can give my some advices for a business guy to further my knowledge on Boostrap typically and other frameworks as well?
I grew up in Canada and went to school with rural kids, military kids, and french kids. My family wasnt in poverty but we didnt have many of the nice things others had.

Around grade 5 I began to notice how we never had money for a TV, but all the welfare kids I knew had TVs in their rooms. i noticed how I had to do chores, work, save, and help neighbours to afford to buy a game console and video games, and all my friends on welfare had every system and every game.

I would wonder why my lunch had an apple in place of their Fruit Rollups and Cookies. One kid even got a pack of starbursts in his lunch every single day, if I was lucky, he would share or trade one with me.

Now that Im an adult I can see that my parents priorty with their limited finances were GOOD food, GOOD clothes, and the necessities we needed for success.

I kind of wonder how many kids that grew up on welfare are packing Fruit Rollups in their kids lunches today, how many welfare kids walk around with iPhones when lower middle class families cant afford it, etc.

It has been my observation in Canada that what seems to work with cash assistance is a cushion to break your fall, not an IV dripping just-enough to not have to work.

Where I lived you also had to prove you were applying for work to stay on it, but if you got a minimum-wage full-time job you would lose your welfare but not have as much money, so of course everybody's parents applied as often as they needed to, only went to work when they absolely needed to, and quit as soon as they possibly could to regain or keep the welfare status. And of course they modelled this to their kids.

So I do think welfare can totally short circuit personal success, Ive seen many lives reduced to manipulating a aystem instead of becoming something beneficial to others. Its sad but I believe its human nature

No matter how much assistance you provide, it cant be so much that it disincentivizes you from rejoining the work force without facing a 'penalty'.
StCroix, you are hellbanned :( Email me (see my contact details).
Found this site one sleepless night (or should I say dawn) when researching about DSPS and possible treatments. I'm interested in hearing from anybody with experience with it.

That said, that article has plenty of information on sleep and sleep disorders and I'll be trying some of their suggestions and see what sticks: starting from using zeitgebers to my advantage (blast light on my face in the morning, turn off most/all lights 4 hours before sleep, timed meals, strategic napping) and if all else fails, try free running sleep. Luckily I have very flexible working hours and it might work for me.
A little dated, but with many of the same characters (including a show-stealing appearance by now-jailed Uzair Baloch) is the "VICE Guide to Karachi" on YouTube. The Pakistani co-founder of VICE has some political connections, hence his ability to do interviews willy-nilly.

NB: The mustachioed policeman in the series, Chaudhry Aslam, was assassinated by a car bomb early last year.
> No. My opinion is that if it's slow you need to check to see if it's actually a problem for the users first before optimizing.

Not only. Think of all these seconds of computing time, translated into watts, translated into coal or whatever pollution from electricity production, multiplied by the number of users your program has.

I think programmers should also consider the environment, even if it'd have more impact if everyone started by just not owning a car.
Clearly most of the processor
design features I outlined
and proposed were speculative.

E.g., at IBM's Watson lab, in the
room next to mine a guy was looking
at traces from deep in the processor
hardware to estimate the speedups
possible from various proposed and
speculative features. He did this
work because it is not easy to
estimate, just from intuition, what
features will give what speedups.

The VLIW data I reported was from
some careful work by a guy across
the hall from me.

Net, what I was proposing was not
just wild guessing.

So, you are explaining that
some of what I proposed
has already been implemented.

Okay.
Or maybe they are using it as a screening device for "better" drivers. I keep hearing that when Uber comes to a new city, the pay is pretty good so it attracts non-ESL speaking drivers. Maybe this is just a barrier to enter the marketplace to maintain those 'better' drivers. Probably not, but I wouldn't be surprised.
I'm definitely aware of that case, but I wasn't seriously suggesting that this would pass muster in court, just that this is not a "threat" under the commonly understood definition of threat, and is only on the order of magnitude of "threats" prosecuted by government agents stretching their powers to the limits (charitably speaking).

I was also obliquely referring to this case, which has a closer fact pattern: http://www.cnn.com/2013/07/02/tech/social-media/facebook-thr... (he was clearly joking and there wasn't any clear target to even send it to).
This seems like a great approach when the client devices are all friendly and collaborating. What sort of countermeasures do you need when some of them might be malicious attackers?
Not related to performance, but please let's add "on machines connected with average DSL speeds and sporting medium-resolution screens."
My cameras are all x264 HD IP cameras, I have 2x 720p Tenvis IPROBOT3s, 1x 720p Foscam C1, 1x 1080p Foscam C2, and 1x ELP 720p Mini IP camera.

The app I made is a webview wrapper based on this project https://www.ipcamtalk.com/showthread.php/93-I-made-a-better-...
NTPsec is not quite a full rewrite
Free Open Source Social Networking Engines – Feedback
I have read about free open source social networking engines like "Elgg", "Community Engine", how well do these work? Has anyone from this community built anything on these? Are these feasible to scale?
it was good marketing
Tell that to Microsoft. They omitted the right control key on the Surface Book. But even if they had kept it, I don't really agree that it would help much at all. Either way I'm overextending my pinky - whether it's left pinky or right pinky does not matter. Using the alt key (or to a lesser extent the caps lock key) is much better.

I'll have to disagree with you on using the mouse also. Taking my hand off the keyboard to use the mouse every time I want to Control-C, Control-V or use any other shortcuts is not really an acceptable solution.

Why are we so afraid of simply using the alt key location? :) Are there any Mac users who reassign command key to the "fn" location on their keyboards, caps lock, or their mouse? I think it's unheard of... because the command key location on a mac keyboard is a non-issue. The only time Mac users reassign the command key input is when they are using a Windows keyboard (to make it mimic the mac's keyboard).
Realtime visitors globe
its definitely trust issue but we do have system in place which would tell us if files are different.

In your case just 1 VPS instance would not help though.. we would need at least 20-30TB to make it worthwhile
We're talking mastering here. For editing it doesn't matter since it can and is done in proxies. Depending on the bit-depth and fps we're talking anywhere between ~127 MBps to ~253MBps (1+ - 2+ Gbps) per workstation. Usually there are several and a one heavy NAS or several smaller ones. That's for 2K (and HD - but then it's a bit smaller bandwidth). For 4K it's four times that.
Spark SQL: Relational Data Processing in Spark
I mean, aren't most of the people in this country poor because of mental illness or addiction?

No! They're poor because their parents were poor or because they grew up in a poor neighbourhood and lacked access to a proper education.

This article highlights one egregious myth but far more pernicious is the one you just highlighted: that poverty is a personal or moral failing rather than a lack of opportunity.

It's really simple: people are poor because they don't have enough money. Don't let yourself fall into the Just-World Fallacy.
Previous discussions:
https://news.ycombinator.com/item?id=10428508
https://news.ycombinator.com/item?id=10253158
Yes, to some extent, and some of the
examples are astounding:
E.g., I wrote some simple C code
for solving systems of linear equations,
and for 20 equations in 20 unknowns
I got 10,000 solutions a second on
a 1.8 GHz single core processor. Fantastic.
Can someone please explain this?
Any android ROM is still primarily built for consumption at the end of the day.
Why we can't solve big problems
WinCatalog 2015 Portable Crack &#038; Serial Key Free Download
>Ive seen many lives reduced to manipulating a aystem instead of becoming something beneficial to others

Well, it ought to prepare them for a life dealing with corporate politics in that case.
Ask HN: Keeping upto date with your third-world country news
Hello,

With many third-world countries controlling media outlets, where do you folks get the information about what is happening in your third-world country?

I know the case of media being controlled is not always the case, but I am originally from India and I want to read about policy changes, tech inventions, stuff related to science rather than what a Bollywood actor said about issue XYZ.
Free Software Pricing Guide EBook [pdf Download]
...except when $somewebsite goes from 1.x to 2.0, and you hate the interface. This recently happened to Last.fm — i would give my first-born for the legacy interface.
Yep - we have signs to not feed the animals, or they become dependent on us for food...
The Allwinner based ones should be easy enough to reflash with an alternative operating system.
1. It would be a lot of work and grsec doesn't have that much manpower 2. the linux kernel devs have different priorities
Hello. Adele. (acoustic cover)
The Hot Dog Report
Even when you get past all the indirection and interpreted languages people use there is STILL usually 12x - 100x the speed left on the table.

Even in a native program heap allocations can slow something down to 1/7th.

After that memory ordering for cache locality can still gain 10x - 25x speedups.

After that proper SIMD use (if dealing with bulk numeric computations) can buy another 7x (that's the most I've gotten out of AVX and ISPC.

Then proper parallelism and concurrency are still on the table (but you better believe that the concurrency can be very difficult to make scale).

The divide between how fast software can potentially run and how fast most software actually runs is mind blowing.
Moving passage on when the chips are down, all that matters is what is right. Here's the audio.

[1] https://www.youtube.com/watch?v=2xrZUx1OUjM
I don't think they're benchmarks though. I think the great part about this piece is that it gives people more intuition about computer speeds in specific use cases to identify bottlenecks better. If you have a complex operation like serving a web page, and you measure each part of the process, this page gives you a feel for what the ideal cases of file IO, memory access, computation, serialization and network access are so you can sort of tell what to fix a lot faster. Essentially a broader version of Numbers Every Computer Programmer Should Know.
I wonder if [x for x in xrange(NUMBER)] would be any faster. Yes it allocates an array but list comprehension is executed differently by python. I recall a talk by some Dropbox guy stating that it was one of their optimization strategies.

Didn't find the original talk but found this: https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Loo...
Many poor people also smoke and play the lottery, because that the entertainment that's accessible to them.
> Where I lived you also had to prove you were applying for work to stay on it, but if you got a minimum-wage full-time job you would lose your welfare but not have as much money...

Would you rather see the elimination of welfare or the removal of sharp cliff-like penalties for re-entering the workforce (eg, benefits that taper off as your income rises)?

Regardless of which answer, why?
"lacked access to a proper education". How does that explain Washington DC with the highest levels of funding per child in the country? Every kid has access to a well funded school with well paid teachers.

I think it's easier to defend the claim that the kids lacked guidance and support to take advantage of the education provided for them.

In the US a single mom who homeschools, with only a high school education, will have her child place in the top 70% of public school kids.

Parental involvement is so important, it's the only factor that matters.
Comments like this are a reason I try to avoid any HN threads related to inequality/poverty...
Googled "first grade standardized tests" and not seeing anywhere near 6 or 7 plus more.

Sure you can't remember them all?
Considering my first hand experience, social media, news agencies and sources blocked by government, and personal (freelance) reports on their blogs are perfect for finding out what is happening that they don't want you to know.
> No matter how much assistance you provide, it cant be so much that it disincentivizes you from rejoining the work force without facing a 'penalty'.

That's the welfare cliff, and it can be solved while keeping the overall welfare system in place.

It just means that we need to wean off welfare between 20k/year and 40k/year, to encourage people to work at higher paying jobs instead of penalizing people who work at higher paying jobs.

Everyone knows it is a problem, but Congress is too "busy" investigating Benghazi for years rather than hammering out a law that solves the welfare cliff.
The essay that's quoted from spends the next few paragraphs saying basically that.
Fortunately, TFA mentions that possibility: Do fungi usher in the disease, or does the disease usher in the fungi?
Is your website doing his job?: Get your “Sections Examine” report
I was born into a single parent family in a trailer park. I worked my way out of that situation including serving in the US Marines in order to pay for college. Even coming from a background that should have led my family to use welfare (mom was too proud and cleaned houses instead) I tend to lean more towards the idea that welfare and the nanny state in general hurt more than they help. The CATO Institute does a lot of research into this.

http://www.cato.org/blog/how-welfare-state-traps-poor-depend...
People who aren't exceptional work and save money all the time. Working jobs doesn't require exceptional people. Also do you know the 'poverty' line isn't exactly the line where you're happy or sad. Many people are there and afford all necessities.
The situation gets even more extreme when you consider FPGAs. Having done Mandelbrot set as a toy example, it worked faster than a graphics card at producing high-resolution images and zooms.
Grow your online business in a new direction: I will pick apart every aspect of your online marketing efforts, and report to you things you can do to take your business to the next level!

Sections Examine is an in-depth report that gives you a second, fresh opinion on your online marketing efforts, with a practical, actionable roadmap on how to improve it.
Show HN: Mu – Minimal HTML5 Song Search Mac App
Looks like there might be a surplus of engineering talent (or non-talent, perhaps) at some companies, which results in these bizarre ad-hoc projects.
I guess since we can't all openly stereotype people based on race and religion any longer we'll have to make do with stereotyping the poor. I'd love for you to show me these iPod toting welfare recipients. I'm Canadian, and can assure you that welfare recipients are not living high-on-the-hog. Due to the extremely high cost of living in Canada they are, in fact, quite impoverished http://www.ccsd.ca/factsheets/fs_ncwpl01.htm Great to see another conservative view point buttressed with nothing more than anecdotes. Also, based on your account, by age 10 you and your friends were discussing your parents finances to the point you knew which families were receiving welfare? Seems far fetched.
Enter sugar snake: Hands-on with MEL Science’s next-gen chemistry kit
" Updating a stored trip happens like: set(“trip1, version2”, “yyu”); delete(“trip1, version1”). The advantage is if there’s a failure between the set and delete there will be two values stored instead of nothing stored."

So simple yet could be overlooked. Great read overall.
I actually got stuck out at Fort Mason one day during the Launch Conference last spring because of this issue. I used an Uber to get there, but when I went to leave the app required an update and I couldn't get a decent enough connection to download the update near the venue.
No one will ever read this, but I just wanted to point out that the whole allocation is simply incorrect.

Even with just namelen+1 you can still get undefined behavior. This is because if namelen is shorter than the padding of the object struct FTSENT, the beginning of the next object struct stat, will overlap with the previous object.

The correct solution is to make sure that the next object begins after the first one, and still remains inside of the allocated block. This is a good example, why the struct hack just isn't worth it, and it itself is arguably undefined behavior.

To allocate it all, remove the struct hack and simply call the malloc three times, once for each struct and then for the string. If one allocation is required, then allocate enough memory for all three objects separated by enough alignment padding. Doing this will allocate a couple of bytes more which is a couple percent overall, but at least your code will be correct. Since they don't pack the struct thus loosing bytes for internal padding anyway, I can't understand why the usage of the struct hack.
>Many governments have economic advisers with degrees from the United States who share the same ideology

He's right, but the ideology is social democracy, not free market capitalism
It's very hard to maintain compatibility for different versions of mobile operating systems.

API's, etc. change or break completely all the time. Often it is simply a trade-off between acquiring new, perhaps more affluent users, and loosing those with less money to spend and cheaper phones.

The morality behind this is questionable off course.
> The Cato Institute is a public policy research organization — a think tank – dedicated to the principles of individual liberty, limited government, free markets and peace.

So no agenda there then.
> The web killed software versioning.

Not all software are webapps (though I agree versioning is much less important, particularly for the end user, in those cases).

For those of us writing enterprise software that gets installed/ran by customers versioning is pretty important:

* Unlike a website not all our customers are using the same version, so when a bug is reported we need to know what version it was encountered.

* Customers need to know if version X of product A is compatible with version Y of product B.

* Gives customers an idea of the magnitude of changes, e.g. bumping the minor version will usually indicate mostly bug fixes, security updates, and small/non-API-breaking features.

* Facilitates easier communication with QA, beta testers, etc than referring (only) to a build.
Difficult to be involved if you both work 40+ hours a week doing physically demanding jobs.
Same could be said about NY Times
Facebook seems to be the secrete force behind lobbying for CISA
Great point! I was actually riffing a bit on Stalin and trying to make the point that Amazon doesn't need to worry about having, e.g., what HN readers would consider a decent Android fork; a low-quality, low-price product with the Amazon brand will sell in massive quantities just because there are a lot of people for whom price-sensitivity is key, and yet whom are still likely to be loyal Amazon customers if they have the right consumptive channels in their hands.

As you point out, I was a bit flippant in my description, because obsolete specifications don't mean low-quality as such, and while AMZN can sell truckloads of low-end tablets, you're right that they couldn't sell poorly-made tablets and not have that redound poorly on their brand.
"Human DNA found in 2% of samples"
As opposd to the publishers of THIS report?
>"Teaching to the test" generally doesn't mean covering the material that the test is intended to cover in theory, it means drilling the exact format of questions...

Sure, if you're an incompetent teacher. But then maybe, just maybe, you shouldn't be teaching at all.
Source: https://github.com/notwaldorf/emoji-selector
> you can probably have a working board for about five bucks that'll run rings around an Apple II or a vintage PC.

Hell, you can do even better than that. Assuming that CHIP (https://www.kickstarter.com/projects/1598272670/chip-the-wor...) delivers on it's Kickstarter, for $9 you get a 1 GHz CPU and 512 MB RAM. That's roughly on par with an average home PC from about 2002-2003.

If you bump your budget up to $40, you get a Raspberry Pi 2 with a quad core 1 GHz chip and 1 GB of RAM. Now we're talking parity with an typical home PCs from 10 years ago, or less.
Parent got downvoted, but I think it's a legitimate concern: refusing people rides because for whatever reason (old phone, poor / expensive Internet connectivity) they can't update the app is problematic.
Or even you.
Or they could just pay their good employees better and then fire the poor ones.

P.S. I know that they claim that their drivers are not employees but if it walks like an employee and talks like an employee it's an employee.
Using Python to compute and plot the distance to Mars
Pivot: Fast, Synchronous Mashup Isolation Using Generator Chains
Algorithms matter. Do you know how Vim inserts text?

It's exponential. It's worse than a shell loop spawning a new echo process every iteration.

http://www.galexander.org/vim_sucks.html
Fuzzy Dunlop?
Apples & right-wing think tanks.
The entire margin almost looks like it has more surface area than the screen.
I forget which beach. I am glad that it is relatively safe now.

My first visit was 2006. On my return visits in 2008/9 I was accompanied by security who were probably over-protective as well.

As far as my wife is concerned, we travelled a lot throughout Pakistan - perhaps we were too cautious - although we did come up against a lot of anti-Indian sentiment. We found attitudes vary a lot from place to place about a lot of things, and this is no different.

I remember a well educated guy I knew telling me that he stopped going to the Wagga border post near Lahore for fear that he would throw a rock at the Indian border guards in the heat of the moment...
Look at it this other way: is there something we could afford to provide for the cost of those TVs and iPhones that would ensure a good chance of those people lifting themselves out of poverty? If the answer is yes, then you've discovered a game changer: for a few thousand dollars per person, we could end poverty! The government should just buy those things for people directly and watch the magic happen.

If the answer is no, then it's stupid to complain about poor people buying an iPhone or TV. It's calling for a meaningless gesture of piety. They're not making those purchases in lieu of something that would advance their condition.
What's with all the Haskell love I've been seeing on HN recently? I kinda feel good about taking that FP course in first year uni now.
Cool, thanks for the references!