skysight-inc/HackerNews huggingface dataset:
The problem is that all of select(2)'s competitors have a lot of problems as well. Because, as will be repeated below, I have no idea what I'm talking about, I will be citing a relatively independant source, namely, the libev documentation.

-epoll: epoll is an absolute mess. Just read the manpage. Cantrill said it, and in this case he's right. But since Cantrill is hardly an independant souce, here's what the libev documentation has to say about epoll:

>The epoll mechanism deserves honorable mention as the most misdesigned of the more advanced event mechanisms: mere annoyances include silently dropping file descriptors, requiring a system call per change per file descriptor (and unnecessary guessing of parameters), problems with dup, returning before the timeout value, resulting in additional iterations (and only giving 5ms accuracy while select on the same platform gives 0.1ms) and so on. The biggest issue is fork races, however - if a program forks then both parent and child process have to recreate the epoll set, which can take considerable time (one syscall per file descriptor) and is of course hard to detect.

>Epoll is also notoriously buggy - embedding epoll fds should work, but of course doesn't, and epoll just loves to report events for totally different file descriptors (even already closed ones, so one cannot even remove them from the set) than registered in the set (especially on SMP systems).

[...]

>Epoll is truly the train wreck among event poll mechanisms, a frankenpoll, cobbled together in a hurry, no thought to design or interaction with others. Oh, the pain, will it ever stop...

-kqueue: kqueue isn't epoll, which is a massive advantage. However, once again according to libev (I do like to site people who know what they're doing, because I don't), it's at least somewhat broken on every system other than NetBSD: it only works with sockets and pipes on FreeBSD, and on OSX it's totally broken. If this is wrong, or has been fixed, please let me know: I'd love that.

-Eventports: according to libev (once again) eventports are probably the least broken: it's slower than select and poll on small scales, but scales up well. Apparently the interface is a bit quirky, and it has some problems ("The event polling function sometimes returns events to the caller even though an error occurred, but with no indication whether it has done so or not"), but it's a heck of a lot better than everything else.

So yes, Solaris wins. Again.

Dammit, Solaris: it's getting increasingly hard to argue with your fans, because the system is actually really nice.
Full support for italian devs (I have studied in pisa :) )!

buona fortuna!
and live editing of html source from cache.
Re: #1, this is something non-web devs learned a long time ago. I wonder why there's not more sharing of this type of best practice information. Everyone stays in their own bubble, maybe?
ahah, cool idea :)
I was mainly wondering whether to use Go or nodejs as backend. Any suggestions regarding scalability and performance?
Yes, it quickly becomes the bottleneck with a large number of sockets. Web servers like nginx use epoll/kqueue and other techniques described in the article.
0AD (Age of Empires)
https://play0ad.com
MondoDB databases hit in ransom attacks
How do you feel about nodejs in terms of scale and speed?
To be fair, that's all most users need, and could also use for desktop OS'. You don't need admin rights to open Facebook in a browser...

But it hurts as a power user.
I work in a monolith driven development environment.

The application is now so huge, that rather than reuse code, team members just add new but very similar methods for new features, because you can no longer identify the code you should be reusing/tweaking for that new feature, because it's lost in a sea of shit code and complexity, maintained by multiple developers (some good, some bad, some awful) over the last ten years.

Closely tied to Customer Driven Development, where be features get developed because customers are willing to pay for the development, even if the change doesn't make much sense, or is being used to mimic a bad manual customer business process.
Not really

However it does consume more AdBlue and/or produces less power the cleaner it is

They did it to sell a "better car" with disregard to pollution regulation
I'm in Northern Ireland, and while I can't speak for the rest of the UK or Europe, I know the stats put diesel vehicles at almost half in Europe as a whole.

It sounds absurd, but I can see the increase in Diesel soot on the roads and pavements here, and more often than not, it can be smelt from passing traffic.

To be fair, that I've become more aware of it is making me notice it more - but I live now not so far from where I grew up and it's clear how much difference the last 10-15 years have made to the state of the local environment. It's disgusting, and no doubt a massive public health crisis 10-20 years from now in the UK, where we already lead the world in lung disease.
I'm inclined to agree. This is where I tend to prefer BigCo practices. Interviewed with a Big4 software company. 30 minute phone screen, flew me out as soon as convenient for me, great per diem, 6-7 interviews and they gave a hire decision within 24 hours.

Contrast this with some startups I've applied for:

-one did a phone screen where I explicitly said I wouldn't work for less than X dollars. Gave me two weeks to build an email client in a poorly documented platform. Then made me come in for interviews. A month from the application date, they extend an offer for X/3, citing that I didn't implement one of the three bonus features in the email "test". I would have made more flipping burgers.

-another one made me develop another sample app, then had phone screens, then proposed a full day of interviews.

-one startup proposed I quit my job and work on contract paying zilch for a month.

-and of course there always those lesser startups/angel investors that suggest you work for free to get a "feel" for the startup world.

Only one startup that I have interviewed so far has done it well. Made me come in for a day of work (virtually) after the first stage of the interview, but paid me 500USD after I wasn't accepted. I would have been happy with less frankly.
no, i did the same removing both apps when messenger took over my texts making my phone slow.
Ok, thx! I will try!
Well, they don't run on Diesel, but something heavier
The "just" in the title led me to believe this was a one-day thing, similar to the recent spate of "solar just generated 100% of [Country]'s energy!" articles. That's not what's going on here. Wind generated more energy than coal for the U.K. in 2016. Perhaps the title could be tweaked to reflect that?
True, but Termux[1] on android makes this less of a pain.

1 - https://f-droid.org/repository/browse/?fdfilter=termux&fdid=...
Isn't that the point of DeepMind?
PS: and/or like someone said that happens in Safari: name the fields that you are about to autofill in the last choice to autofill everything
http://www.agricool.co/ does this better
> restoration

What type of restoration? Cars? Houses? Pinball machines?

> The surprise was, even after 3 years, discovering there's still more satisfaction in physical tiredness and manual activity at the end of the day than just mental.

My motorcycle broke down in Silicon Valley once. The guy I called to come pick it up had a normal ford truck. The bed was outfitted with a dual motorcycle winch. I got to talking to him on the way back to SF. He used to be in IT. Specifically, he used to manage and maintain one of Amazon's data warehouses in Seattle.

I asked him if he missed IT and he told me pretty much what you just said: the physical tiredness at the end of the day is more satisfying than just the mental exhaustion. He also got to make his own hours and he made more money towing motorcycles.
This might be the closest thing there is to it: https://www.udacity.com/course/deep-learning--ud730
A different perspective...

http://www.lowesinnovationlabs.com/lowebot/
>No manufacturer wants this. They don't want to sell you updated internals, they want to sell you a new product. Not to mention no one wants to pay the Intel-tax for their embedded processors.

You're right on both points, but as a discriminating consumer I will prefer dumb devices to smart ones and upgradeable smart devices to static ones simply because it's greener. Unless the fridge refuses to function it's much more likely to get its network connection disabled completely the first time there's an unpatched vulnerability rather than replaced in its entirety.
Why do you need a Mac...?
I'm not really surprised. The quark co-processor was disabled in the devkit when it first launched. It took a year or so to get that cleared up and last I looked at the edison quark documentation wasn't great. That kinda killed what differentiated the devkit from yet another linux devboard. 5V IO on the first devkit also seems like an odd choice.

As a linux system-on-module, it doesn't seem badly priced for low quantities/one offs. Although for a little more you can get an arm SOM that has display capabilities.
If it is all about the numbers, can anyone tell me the what is the threshold that a government is willing to spend to save a human life? What is the base threshold and multipliers for e.g. a US embassy-employee in Libya or a kid in Wyoming? I am sure insurance companies have some figures.
I guess they have nowhere as much, but it's probably good for marketing purposes. In my social environment probably 25-30% of the people are on facebook. And I guess that's still way above the average - because of age (the percentage of > 50 year olds will be much less) and region (in less developed countries less people will have the chance to use facebook).

In total I would expect less than 10% of the world population to use Facebook, but even that would be massive.
Product designer. :)
Guide about implementing the BYOD Policy
Just about to implement react native app with network polling. Do you have any links/tips to share re best practices?
I was hopping for a raspberry compute module alternative rather than another PC dongle. Otherwise I would expect some very high specs(i.e thunderbolt, 4k etc) but I think it's not the case either.
Every english word that is currently available as a full domain
Emergency broadcasts should run on AM radio if we're worried about reliability. AM is brain dead simple to demodulate to the point you can do it accidentally with the right length of wire really.

Kill FM, reserve AM for an emergency band.
America is still making things (advanced manufacturing)
Article doesn't mention DPF(Diesel Particulate Filter) removal. Many owners don't wanna pay for new one, so they pay for removal. There are so many cars without it and emissions are completely sick.
> ... LCD/LED panels ... We already have fridges with cameras inside, so maybe at some point you can browse the fridge without opening it.

Talk about over-engineering! What about glass?!
Both are perfectly suiteable. I dont like Javascript so i would go for go :)
I don't negate that this is the case but bunker and "gas turbines" seems a bit on the opposite for fossile energy regarding the environment.

And this fuel does not seem to loose attraction due to its price.
"Worldwide bunker use in 2001 was estimated at 278 million tons, of which around 212 million tons were residual fuels.  Between 2001 and 2020, total consumption grows at an average annual rate of 3.1% [...]" [1]

[1] https://nepis.epa.gov/Exe/ZyPDF.cgi/P1001TZU.PDF?Dockey=P100...
Ellipsis will take up less space from Firefox 53 onwards: https://blog.nightly.mozilla.org/2016/12/20/these-weeks-in-f...

As for the CSS-file, you have to create a folder called "chrome" in your profile folder and then in that folder create a file "userChrome.css".

In that file, you have to have the following line at the top of everything else: "@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xu...

From that point onwards, I'd just search on userstyles.org. In the advanced search, select "App" from the first dropdown, then it'll show you pretty much only Firefox-styles.

If you found something that suites your taste, you can click the "Show CSS"-link and copy-paste that into userChrome.css. Just make sure that you don't have the @namespace-line twice.

This for example sets the minimal tab-width rather low: https://userstyles.org/styles/53019/firefox-5-minimal-browse...

You can also find userstyles that for example hide the close-button until you hover over the tab or merge the close-button with the favicon.
You can fork it and set your own rules. Then you can say that everybody else is cheating. :)
A Post-Mortem on the Recent Developer Story Information Leak
Awesome, I hope you can find the time to do it. I don't suppose the popular industrial bus with edge connectors was STD Bus, was it?
I bet you have, but if not, do yourself a favour and grab a copy of "Compilers: Principles, Techniques and Tools" aka "The Dragon Book".

Still got my copy from uni, dog-eared and sticky-noted throughout.
Yes. Heavy Fuel Oil
I was just checking recently, and was pleasantly surprised to see that the amount Sage development, has gone up enormously in the last 2 years, especially thanks to Europeans! https://github.com/sagemath/sage/graphs/contributors
What you want is iron, which was available since pretty much the early day of chrome.

here: https://www.srware.net/en/software_srware_iron.php and this: https://www.srware.net/en/software_srware_iron_chrome_vs_iro...

You could also have a look at epic over there: https://www.epicbrowser.com/
I am still waiting for a strategy game which gets near to the Total Annihilation experience (the most satisfying strategy experience I had so far). I am waiting since 1997 (20 years)! What I would like to see is real use of terrain features, monumental maps and units which are well designed. Take a look at the Prophet from TA:Escalation: [0]. 2 naval cannons, 2 plasma batteries, 2 flak guns with built-in multitasking.

[0][https://images.discordapp.net/.eJwNxkEOgyAQAMC_cC-7wGYFP0MIE...]
This Midori project looks interesting: http://joeduffyblog.com/2015/11/03/blogging-about-midori/
clap clap clap clap clap clap clap clap clap clap
I've devoted my life to beating Mathematica for general symbolic math use. Don't tell me I can't. :-)
Motorola Atrix was doing this at CES 2011.
The airbnb ios app is awful and getting worse. I am constantly running into inconsistent state issues. No problems on Android so far though.
I'm a self taught somewhat prolific game developer and super interested in AI but have a poor mathematics background, think there's any chance?
Something with absolutely no deadlines.

Digging ditches sounds really great at times.
> The multi-window interface. I know you can change this, but there's no good reason for not being the default since the beginning.

There is. It has bugs.

> God help you if you close the layers window and don't know how to bring it back.

You mean god help those people who don't see the Window menu in the menu bar?

> Overlap in functions between different tools. For instance, the perspective tool and the cage tool.

There is no overlap between those two whatsoever. None. Nada. Zilch.

> doubt anyone knows the difference between "screen", "window", and "deactivated".

Everyone who understands English?
Gartner to acquire major HR consultancy
But the user never makes any kind of claim or promise that their advert clicking represents real user engagement.

It's up to the advertiser to accurately classify user behaviour, and the user has no responsibility to make that easy for them.
Same applies to petrol cars, many don't replace the catalytic converter they just remove it. Don't want to get in a argumentation which one is "cleaner" afterwards, both are equally stupid.
Amazon Is Already Winning the Next Big Arms Race in Tech
I wouldn't call CamelCase naming a design pattern, but I agree that a large project should stick to consistent coding guidelines - which LLVM does [http://llvm.org/docs/CodingStandards.html]

Any particular style grows on you with time. It's more important to make sure the code is internally consistent.
We've tried almost entirely unregulated capitalism. Inequality increased, but only up to a point. It didn't increase without bound.
The title is true to the publication, which is appropriate as far as I'm concerned. As a result, a suggestion regarding the title is best directed to the publication.

Furthermore, the title includes the phrase, "for the first year ever." That should eliminate any confusion that might arise from your assumptions.

Given that 2016 "just" ended this just happened. It's a reasonable expression and accurate.
Isn't HD Radio a proprietary thing and not a real standard that anybody can use?
Because emitting efficient target machine code is a non-trivial problem?

... but also because the LLVM framework is very generic. This is both a blessing and a challenge. You can implement a new target by writing much less code (due to those TableGen files), but this code will be trickier since you have to grok several generic metaprogramming mechanisms.
One person's "thing that is broken for weak, historical reasons" is another's "pebble on the inevitable mountain of technical debt."

Complexity scales super-linearly on number of features. Solutions aren't the hard part. Implementations are.
Wow that's cool. Battery life is always a pain but two days is not so bad.
> Qt developers could join forces to create a proper open source image editing app that makes sense for MOST users.

Do you also believe in vampires and zombies? :)
> However, buying a new car and junking the old one has to be less energy efficient than owning an old car and trying to use it less while utilizing public transport.

I don't know about Norway specifically, but in Western Europe in general (Germany, France, Netherlands, Switzerland etc.) old cars are sold to less well-off EU countries, where they're still in operation for (typically) many more years. So, the Western consumer changing cars every 5 years isn't actually affecting the environment, and is actually helping out folks in poorer economies.
My life is complete!
This site can’t be reached

blogengine.me’s server DNS address could not be found.
William Binney: Emails were leaked, not hacked
> meanwhile, everyone's phone here runs gnu/linux but completely out of reach.
everyone bought a computer from an advertising (google) or fashion (apple) company that only runs in kiosk mode.

Pretty sure there is no GNU component in iOS which is based on BSD. Also, Android uses only the Linux kernel, not even close to a GNU/Linux system.
Check his comments history, the story was already told multiple times
Visual DevOps
This will be great for VR basically.
Macsyma had a notebook long ago, which probably inspired Mathematica notebooks. Those inspired an early IPython non-web notebook, developed by some UCSD students in 2006. They demoed it at Sage Days 1 then, and me, Alex Clemesha, and Tom Boothby spent 2006-2007 that building the first version of the Sage notebook. Then a 16 year old kid in the Philippines (Tim Dummol) did a truly massive amount of development on the Sage notebook. Mike Hansen and Robert Bradshaw (lead dev of Cython) also did a lot around then. Then we all kind of got tired of working on the Sage notebook, and I think Tim went off to college, and it started to linger. IPython (now Jupyter) then got going in around 2011, with very strong grant support from the Moore and Sloane foundations, which Fernando Perez (and others) put a huge amount of work into getting. In 2013, I bit the bullet and got back to web development (SaaS is really important to bring open source to the masses), and have been working fulltime (now with a team!) on SageMathCloud since then.
Hey, Thank you for answering questions. I was wondering if any of you have blogs describing your experiences so far.

Also: I was wondering how much you interact with the other current residents in the program. Are you all together coming up with new ideas? Or are there multiple small group with their own interests...
I (partially) agree; however, we have a saying in Norway that "The best is the worst enemy of the good."

In a perfect world, shipping would be emissions-free; however, it is not; the vast majority of the world's commercial shipping runs off heavy fuel oil.

Getting it to pollute less in the short term is IMHO better than holding out, waiting for zero emissions somewhere down the line.
In a movie, we'd be disabling CCTV cameras from it as we ran through corridors of the Pentagon, y'know, hacking stuff.

In reality, I think the author just did it for its own sake:

> I ended up with a free LG Watch Urbane ... I realized that smartwatches were just a fad (for me at least), and this was a device I could experiment with.
This is quite a bold statement to make. Instead of anyone you should have said someone, particularly someone with a large amount of money, free time and will, in other words very few people. Depending on the size and complexity of the project it could be too much for a single someone to attempt.

It is not unheard of that someone tried and abandoned but would probably have achieved their goal by starting from scratch rather that attempting to revive an outdated unmaintained project.
Yeah :-( Was unlucky enough to have my hosting down right after posting on HN :-(
Not literally forever but you could describe ships bought by private money for private profit by merchants in ancient Rome as capitalism. Capitalism is, fundamentally, the private ownership of the means for production with the owners receiving the fruits of that production directly and the workers being compensated by that owner, and the capitalists using their excess profits to create more means of production. I'm not sure how you could define capitalism such that it includes everything we describe as capitalist in the modern world while excluding Roman merchants.

Until recently capitalism has been a small fraction of production but it's existed much longer.
410 mAh is a measure of battery capacity, not battery life. And the phrase "a good days worth" presumably describes the watch as shipped with Android wear.

I think what the original question was getting at was more like "what is the battery life of the watch when running AsteroidOS?" That seems like a pretty fair question which was not addressed.
Why is everyone so confused about this, is it really so difficult to read the about of vivaldi or the first paragraph of the EULA ?
Congrats for the profit and great MoM!
Should a Startup advisor get any equity?
Unless you have a very good reason to believe you're in a low-competition area for video editing, I'd avoid making this move for career reasons.

Video editing is a far, far higher competition field than programming.

Lots more people wanting to do it, lots less jobs, on average for lots less pay and much worse hours.
Full-Scale JavaScript #77 (A weekly roundup)