skysight-inc/HackerNews huggingface dataset:
> front-end development

> appendices

If there are any sane people left, please ignore these boilerplate kits. If you need React or a similar lib, and you know how to use it, you should probably research the libs available and pick your own front-end toolkit. There are no standards (that you can rely upon).

If you don't need this crap to show that your user is logged in, or if you don't know how React (and its baggage) even works, steer clear. You'll lose your time and sanity pursuing a transient, subpar solution to a problem you may not ever have.

I implore everybody justifiably interested in React to try Mithril or Cycle.js first. Both represent saner approaches.
Drives have had CHS values printed on them since the very beginning. It does mean you have to open the case to read it, but you do have to open the case to reset CMOS anyway...

But the problem of drive geometry detection essentially disappeared with IDE autodetection, which quickly became the norm sometime in the early 90s.
Programming is no work.. It's fun
Well, this weekend I'm particular happy. A private equity guy in NY paid me $150 an hour to 'learn PHP immediately and fix his site.' He paid me for all 48 hours because he assumed 'I ate, drank, are his job the whole weekend.' I told him it was too much, I usually charge $100 an hour. He said he hopes I'll be available whenever he needs me. Best believe I will.
Lots of work with really no funding. Who are the custodians of humanity? "All of us" would be great but pretty far off current reality.
Can't complain. Great company. Constantly wondering if I'm good enough to keep my job, though. I'm trying to prepare for that day I'm told, "Let's talk. We like you a lot, but we've decided to let you go. If you need referrals, let us know." I mean, everyone says I'm doing well. I just don't feel it, so I work a lot more than I probably should, and I'm always ridiculously paranoid. I'd say I'm happy but I'm worried. I bet it's more common a combination of feelings than I think. The funny thing is that the company is full of really nice managers who keep it honest (as far as I know), and would tell me if I'm under-performing. I'd hope so, at least. So I guess so far, so good.
Both of these have been done for years in other languages.

The claim that parallel executors bring supercomputing mainstream is puzzling to me, because OpenCL has been around for a long time, is more widely supported, and is far easier to run on e.g. GPUs than the full C++ language.
Which brings you back to APL

1 2 3 + 4 5 6
5 7 9
The smallest JavaScript libraries on the internet
"But those same features make it very bewildering and difficult for newcomers"

Yes, that is very true.

"tooling that can require a long and complex setup from an expert"

If one is on windows, one can 1. install visual studio community edition and 2. click "new project".

Sure, it's nowhere close to npm or Rusts's crates or go's dependency management but that's bit hyperbolic way to express it. I can waste hours trying to get Rusts' dependencies working if I'm using something bleeding edge.
Well, the government could increase the tax to levels that force the matter: automate or get no profit. However, I dont think this could be stomached in the US (by both politicians and self-sabotaging voters).

Automation is inevitable, but unfortunately for the American working class, all of the benefits of improved efficiancy will be going to a few (shareholders), just because you were conditioned to think 'socialism' is a bad word. I already see the sentiments being expressed here on HN rehashing the 'welfare queen' argument. I tell you what: a whole lot of you will be arguing for basic income when they automate your job, but it will be too late then. Good luck finding another job that's yet to be automated and pays anything in the same ballpark as your old one.
The Fine Bros do seem like lawyered-up scumbags, but that graph is a classic example of how to lie with statistics. Thanks to the Y-axis range, the drop off appears to be substantial, but it's only a 1% drop.
D has both of them, though I've yet to toy with either. Go was popular for one, if not both as well. Definitely C++ is playing catch up it seems? Though that isn't to say C++ never had these features, but built-in would be a nice thing to see in any language.
I'd like to think that someone who is smart enough to write good C++ is also smart enough to know when it is overkill for a project.
I think OP means it is open to the area above the ceilings in the rest of the rooms, but still is beneath the roof.
In college, I took a CS elective that was shared with the electrical engineering major. It was taught by a PHD student, and was 90 minutes twice a week. I believe it was something along the lines of wireless technology.

The first day, the teacher walked in, wrote an equation (FFT) on the board, and spent the next 90 minutes manipulating it into different forms (from his in-hand notes), with no explanation of what or why we were doing so. Occasionally he would stop, say something along the lines of "and you can convert what we have here to this..." and write another equation on the board, and continue "which is one of your homework problems for next time."

The next class was identical. When the third class started the same way, I walked out 40 minutes into it and dropped it. I had zero incentive to continue, the teacher hadn't explained at all what the purpose of what we were doing yet. It had literally been us writing down his math notes for three straight hours while he explained how the mathematical manipulations worked, but not why it mattered or how it was relevant.

I've vacillated over the years between being upset with myself for abandoning that class, and not "getting" fourier related things, and being mad at the teacher at being so horrible at teaching, at least for the portion I was there for.

This is simple. This is obvious. Something like this would have gone a long way towards explaining what the fuck I was doing. I'm no longer upset at myself. I am doubly upset at that teacher now.
https://en.m.wikipedia.org/wiki/The_lexer_hack
C++ is an officialy supported option for pretty much any platform out there - including iOS, Android and Windows. Together with relevant debuggers (eventhough the Android/NDK GDB integration leaves something to be desired).

Rust isn't there yet and when opting for a longterm project you want stability, access to experienced developers and good time-tested libraries. I love the idea of Rust but I'd still not consider it for use-cases we use C++ in for at least a few years still.
I'm not. I have been doing it since I was 9. I pulled most of the heavy-duty, hardcore all-nighters during my teenage years; I grew up writing C, and was hacking on socket code and compiling kernels when I was 12-16. So by the time I was 20, I was utterly burned out. Most of my peers discovered the crazy, hyper-caffinated, 24/7 techie life in university years, and still have a few years of this insanity left in them. I don't.

I'm 30 now, and feel like I've been running on fumes ever since. I am still interested in software architecture at a conceptual level, of course, but suffer from immense fatigue at the keystroke-based deliverables aspect. It's always a motivational struggle to write even a little code, with few exceptions. I procrastinate horrifically, because I find it tedious.

Some of it may be because my work entails dealing with fairly uninteresting and unexciting things, and some of it is the cash flow schizophrenia of constantly operating at the very margins of economic survival, but above all else, it's just psychological, cognitive and physical fatigue. I'm also fairly extroverted and have always been interested in the social and political dimension of what I'm doing, but, through eight years of self-employment, have pigeonholed myself into a solipsistic role without a collective--rewarding to those who crave peace, quiet and code, but not at all catering to my particular reward centres. I love selling what I do, but the dreaded implementation of what I just sold is like pulling teeth. Deprived of a collective, recognition, the competitive aspect, and any sense of larger purpose, it's a real challenge to get myself to work on code.

In retrospect, I probably would have been better off sticking it out in corporate America and tracking myself into technical management. However, I left the employment world at age 22 and decided to hole up in a business model where I'd be most economically rewarded if I could get myself to write more than a few lines a week.

I am deeply specialised in a niche vertical that can pay well, so one would think the money would keep me going (I can easily bill $250/hr for what I do), but it doesn't. Some of that is a business and life problem, but some of it is that I just don't care enough to pound code anymore at virtually any price--though, of course, that's not to say that taking the bricks of economic stress that come with a bootstrapped eight-year consulting-turned-product death march off wouldn't help.

I still do it, but it's taken me five years to write a slightly half-assed software suite that an energetic and motivated programmer could have done in far, far less time.
Recently someone at Davos asked a PRC rep about this and he mentioned the number is close but is often different due to smoothening.

He did mention it is close and showed that tax revenues grew quite close to the GDP rate. This is something that does not typically happen when GDP decreases or is far off from the actual numbers.
> Constantly wondering if I'm good enough to keep my job, though.

I wonder this quite often too. It would be interesting to see a study involving programmers and their confidence in their skills compared to what other people think and also how much they read about programming online.

My gut instinct is to say that because we want to read a lot of new/interesting stuff online, we're exposed to (seemingly) tons of people who know TONS of things that we don't know in the aggregate, so it affects our self esteem...
I come from Java / C# and I love D. I've tried Go, but I just can't give up on classes and other things. D has an amazing community, the documentation is good enough, and sometimes I just "try" code and it just works. To come to D you need a bit of an open mind since a few things are slightly different, but you will have fun, I know I do.
Request filters: These add-ons filter requests to 3rd party hosts, effectively blocking everything (if set to default to deny all). Most sites, other than web applications or ecommerce, only need to connect to at most a single remote host to pull down their CSS files; the next most common requirement is Google Hosted Libraries.

* RequestPolicy: No longer developed, but still works for me

https://addons.mozilla.org/en-US/firefox/addon/requestpolicy...

* RequestPolicy Continued

https://requestpolicycontinued.github.io/

* Policeman: Haven't tried it, but AFAIK it also filters by data type (e.g., allow media requests from x.com to y.com, but not scripts)

https://github.com/futpib/policeman
You can start with C++14, because C++ is backward compatible. Basically, you will learn a superset of previous versions, so if your C++14 knowledge covers all the C++ code written before as well.

For a cross-platform GUI library to develop Desktop applications I recommend wxWidgets or Qt. I prefer wxWidgets myself. To build GUI, I recommend wxFormBuilder.

For games, well, there's a lot to choose from. It depends on what kind of games you want to make.
Now You Can Run Windows 95 in Your Browser
[Quote]Should I start with C++14 and skipped anything before that?[/quote]

Yes! C++14 is a much better language than C++98 and you can be perfectly happy without most of the ugly details. Stick to the new nice ways of doing things and forget (mostly) about the old.
There are many related indicators that you can't easily "fudge".
Actors who have a stake in China's growth (or lack thereof) aren't simply looking at a PDF posted by the Chinese government.

For example, China is now Brazil's largest trading partner. In particular, it's the biggest importer of Brazilian goods (e.g. oil and iron). When China's manufacturing output grows or drops, its demand for Brazilian exports grows or drops too.

(One could probably make a stronger case by looking at e.g. Gulf countries instead of Brazil)
- Changed the company I work for

- Also built some Wordpress and Magento plugins

- Took on some freelance clients for advertising and have ramped up their spend, and profits, incredibly

- Joined Dataquest.io in a consultancy capacity
But its not helpful is it. Its the same case for windows mobile where nobody is interested to create any apps since its user base is almost irrelevant.
I hate programming, but I couldn't think of a better place to "sunset" my programming career! I'm really lucky to be working with such kind & talented people.
FWIW: I've found C++ to be a necessity when trying to put together cross platform numerical software[1] that works on the gpu as well as cpu (with all the right auto vectorization etc)
The killer app for me is being able to interop with any language (jni, or cython) easily. I know rust and go have good ffis (light years of ahead of java where I spend a lot of my time)

This is definitely a niche compared to normal web development though. A lot of what I like is what's already been mentioned: the mature ecosystem. I'm sure the new contenders will mature over time. I'm really looking forward to using rust. I can't justify learning it yet though ;/

[1]: https://github.com/deeplearning4j/libnd4j
I just want to note that there's strong social pressure to not to claim that you don't love working as a programmer on this site. The odds a future boss or coworker is an HN regular is extremely high, and "passion" is high valued. Weigh the responses accordingly.
I can agree with you about steering clear of such a large boilerplate setup-- especially if you don't understand everything baked in. But can you explain why you would choose Mithril of Cycle.js over React?

I've been building production apps with React for about a year but at a glance I can't really see any clear advantages in Mithril or Cycle.js
Well, as you can see from my comment, I, at least, am quite immune to this pressure. :-)

It's funny to feel like an old-timer at 30, but I've been doing it for 21 years. Everything old really is new to me again. There's nothing less exciting to me than the latest 100-line .js dependency to include or yet another API reference to glaze over.
How Wearable App Market Differs from Mobile App Market?
Yes it is rather. But the puzzle is, why be using power on a downhill freewheel ? Unless he switched the "on" button as he fell.

tbh it hasn't done him much good results wise, unless he was using it in the Giro 2012
I'm surrounded by the people we read material from, the guys who write it all. I try to learn everything I can from them. I'm just hoping I can express a level of competence that enables me to keep my position. The longer I can keep it, the more I'll learn, the better I'll be a year from now and after.
Adobe-Illustrator-CC-2015-Crack-Full-Free-Download
Not having used C++ on Windows, I have to take that at face value. But getting autotools or cmake set up as a new C++ developer...not super fun. Also, spending lots of time setting up bleeding edge features is different than trying to get a single working build with a couple of fairly standard dependencies.
> To me, garbage collection is a hack, trying to workaround the fact that we don't know how to deal with ownership.

Eh. Often the whole "ownership" thing is irrelevant. For a lot of high-level programs, trying to express things in a Rust-ish "ownership" style with pointers adds a lot of syntactic and semantic overhead.
If you look at some of his design and implementation talks on Braid, then it's quite clear that if not a "wunderkind programmer" he's still clearly very talented in this regard.
A Decentralized Website Anchored in the Blockchain
We'll always need someone to man the machines
Where is that definition?
Thanks, you wrote the exact thing I wanted to point out.

For some reason people seem to forget there are still programmers for whom the only platform they need support for is not just the deployment server.
I believe it still sends a network request to check the status of the resource. But an extension can bypass this and assume that the asset has not changed.
It depends on the project I'm working on. If I have to work on a Wordpress site and write plugins I really want to quit. But then there are interesting (hobby)projects where you can decide on how to build your app and how to solve problems which is rather fulfilling.
Overall happiness at the moment: 60/100
Interesting - it does to me. Maybe because I also use NoScript? I have found reader mode, as great as it is, to be somewhat unreliable... I usually combine it with a scriptlet which makes all text black, 16px, and links blue. Not as nice as reader mode, but at least it works everywhere.
I am happy at the moment. Doing contract work, have clients I've known for years, and getting into my own IoT projects. Life is good for now. I just told me wife though that it feels like it could all come crashing down at any moment.
The Tor Browser bundle clears cookies on exit. There are some plugins you can add to clear them on tab close too. As for something like CDN cookies, I'm actually not sure. But if you have cookies that are set by the CDN for their domain, then it's not trivial to link the loading page (assuming Referrer headers are stripped) to the resource being loaded because TBB uses different Tor circuits for different websites.
If one is on windows, one can 1. install visual studio community edition and 2. click "new project".

Outside Windows, it's not so simple though. Most IDEs struggle with heavily templated code. For instance, I tried CLion for a while, but it completely runs into the ground when you use e.g. Armadillo (no completion, correct code is highlighted as incorrect).
An extension that makes it simple to use short keywords to redirect to urls
Its not been done as general as this though. Check out this link if you have the time. Especially the last 15 minutes. Its by the ceo of openmp and its very interesting. http://youtu.be/0mwHJ0950tA
Bloomberg Op-Ed Calls For An End Of Cash
>a rogue thread randomly scanning your memory for things that look like addresses.

How does that avoid race conditions? What happens if I quickly move my pointer around? i.e. b=a;a=null;c=b;b=null;d=c... etc
I read over a bit of the source. It uses a hard coded list of CDNs and files. So it does nothing unless the the CDN and file is on this list:
https://github.com/Synzvato/decentraleyes/blob/master/lib/ma...

Edit: someone asked how this works..

1) it looks up the resource in the mapping (linked above) (matching the cdn and file path).

2) if found, it replaces it with the copy it includes:
https://github.com/Synzvato/decentraleyes/tree/master/data/r...

So for those files, requests are never made to the CDN.

If the website uses a different CDN; a lib not recognized; or a version not recognized.. then the request is still made.
Sharks love to chew oceanic cables!

If you need to fix something while the datacentre is in the middle of the ocean, the cost and time will be a multiple vs if it just off the coast.
There's no feature in C++ that you're required to use. Even classes.

More features != bad language

as long as you have a choice in the matter.

However, a lack of features can definitely hurt if you need them.
froze 5 min into using the app, whilst browsing stock photo to insert as the hero image...

the app felt very clunky. As a developer, I felt very restricted.. This definitely not intended for developers...
Hey!

Try Brightpod for project management - recurring tasks, focus mode, cal, time tracking & more - bit.ly/17GZqhe
No - I'm curious about this. Vitamin D deficiency and rickets is a slow-onset condition with a long period for remediation without permanent damage.

And no one ever died or had their brains explode from being on the South Beach Diet.

B12 deficiency manifests itself as acute and irreversible nervous system damage. It's a fair question - do you notice when you don't get enough B12?
Paywalled ? There is a free version ?
Did you mean half a Trillion and not Billion? Because it seems to me that China has $1.5 trillion+ reserves, and half a billion drop would not be cause for surprise.
Just so you know, this is the same Hamming that published the classic essay, "You and Your Research" (1986): https://www.site.uottawa.ca/~yymao/misc/Hamming_kaiser.html
Bitcoin '16: 3rd Workshop on Bitcoin and Blockchain Research
My god, what is this amazing vertical?
CsFire: Protects against Cross-Site Request Forgeries (CSRF) by stripping authetication information from cross-domain requests.

https://distrinet.cs.kuleuven.be/software/CsFire/

https://addons.mozilla.org/en-US/firefox/addon/csfire/

CsFire is the result of academic research, available in the following publications: CsFire: Transparent client-side mitigation of malicious cross-domain requests (published at the International Symposium on Engineering Secure Software and Systems 2010) and Automatic and precise client-side protection against CSRF attacks (published at the European Symposium on Research in Computer Security 2011)
Who said anything about a supercomputer? If you put all of the components of a modern iPhone into a wristwatch except for the screen, you get a device that's more than capable of running for days on end. Sometimes you'll connect through a headset, sometimes input through a keyboard, and often you'll access it through displays of various sizes. Wireless, of course, with something like WiDi.

You talk about the watch like it's inherently got to have a slow CPU and short battery life. But it's the display that's the single largest consumer of battery, and the CPU is relatively weak in an effort to compensate for that. On top of that, a leather or plastic band is a complete waste of wrist real estate that could be put to use as batteries or sensors or anything else.

A device like that could be your watch, phone, tablet, laptop, TV, smarthome remote, fitness tracker, and wallet. The wrist device shouldn't be an accessory, everything else should be an accessory for the wrist device.

Your comments about cloud storage and data centers is no more relevant to this topic than it is in any other. There's nothing mutually exclusive about "headless" wrist computers and the cloud. Obviously with a data connection, your wrist device would in fact be your always-present connection to that remote data center.
What I don't get is how do you swap a disk? A datacentre requires pretty much constant maintenance. I guess a robot could swap a disk. But we are talking about a pretty costly equipment then.
Sarad – generate code by clicking
to address this confusion, I've added an "excerpt from the library" label to show which parts of the code are just parts of the actual stack.
I worked for a few years as a programmer but also exercised my people skills over time (being in NYC). I eventually realized I didn't want to write code for work anymore, only for fun. I eventually did a bit more management related stuff at one of my gigs, and now I run a small development shop which requires very little coding on my part. I'm really happy with how things have turned out.
VoIP/telecom, SIP.

It is far from amazing, and I'm not saying it always fetches that kind of bill rate, just that it is specialised work and requires telephony domain knowledge.
Encryption Backdoor Comic
If you like this, you will love:
http://www.zachtronics.com/kohctpyktop-engineer-of-the-peopl...

an IC design game set in Soviet Russia.