skysight-inc/HackerNews huggingface dataset:
> It's only fast because you already have the knowledge.

No, when I said "from zero" I meant from zero knowledge.

> You have similar concerns with node (What's npm? etc...)

What's the "etc..."? Install node and you get npm with it.

Writing a REST service IS simpler with Node when going from zero, I know because I have done (or at least attempted) both from zero in the recent past.

> The idea that it's a faster to achieve in a dynamically typed language is a myth.

Doesn't seem like you're open to discussion on this
Do people actually make web pages that try to look native to the OS they're loaded on? That is a lot of effort to reimplement GUI toolkits and I can't think of anything I've seen that does it.

I'd say the real way to look native in firefox involves XUL, even if it is getting removed.
My (online) social network got hooked on Diplomacy. Originally adjudicated via email. Then we found an automatic adjudicator, that ran as a door, but it kinda sucked. And someone in the group wrote a better one, which then got reasonably popular.

I still miss those days.
7 Tech Toys Your Kids Will Love
- Node wasn't designed for CPU intensive work, it's primarily for IO based work, which it frankly excels at, in terms of speed and scalability.

- To get around the 1GB cap use Buffers, they are outside the v8 heap.
Yes. Thats what we normally do.

You don't see me writing about how a certain gender or ethnic group are dumber than others (as a country man on HN I feel I am on the receiving end of that sometimes though).

For the definitions used here though, no: I have realized that once we start living by some of your rules you just invent more.

So I'm OK with not complaining about swearing and hope that others are OK with me writing a straightforward he/she or (s)he instead of spending valuable time on not offending people who are trying to be offended.
Tanium CEO admits: 'I can be hard edged'
> Let's assume that there are 100 children.

The cases where I've run into this being a problem involved thousands to tens of thousands of children. At 100 children there's really no problem, I agree.

> So we will have 5000 a[i] = a[i-1] operations in total.

Plus the index updates, unless you do those lazily, right? Again, not a problem at 100 kids, but at thousands of kids the cache misses start being pretty annoying.

> That's why I have Element.clear() and Element.prepend|append}insert([array of nodes]) methods.

Well, sure. Browsers could expose better APIs for this stuff. And web pages could use those APIs. And then browsers may face different tradeoffs in terms of internal representation.

As things stand, though, we don't have those better APIs, and if we added them right now it would take a decade or more for people to use them consistently enough that browsers could optimize based on that...

> As in any case calling of DOM method (as any other function ins script) is comparable to 100 of a[i] = a[i-1]

Last I measured, the overhead of a call to a DOM method (so not counting the work it actually does) in Firefox was on the order of 30-40 clock ticks. a[i] = a[i-1] is likely at least four instructions (two lea, two mov on x86 for example) unless you vectorize things. But probably about comparable in the vectorization case, yes.

> I mean that such O(N) problems are better to be solved by specialized native functions.

In an ideal world, I agree. I wish we lived in that world!
Best Tips to Plan a Trip with Your Baby
> while everyone claims node's dependencies are hell, I love the choice available (although over time, it's tiring).

So... at one place I work, we use nodejs. There are so many modules added using so many files, that we ended up not being able to use our packaged application - extracting the package into a holding dir before moving into place meant that we ran out of inodes on the filesystem (stock 8GB ubuntu ext4 cloud image)! The filesystem could not hold two copies of our app, basically, due to inode exhaustion. The easy workaround was "increase the size of the disk", which seems silly given it's 80% free space.

This has apparently been fixed in recent times with flatter npm structures, but watching the nodejs community run into every single packaging roadblock that has been solved before is just disheartening.
How to GET THE JOBS IN DUBAI
That's really exciting to hear! The fullscreen 3D bits were some of the ones that really caught my attention.

I know with X on the Game Boy [1], lookup tables were used to speed up the arithmetic. I'd be curious to see if the Genesis used similar techniques, or if specific things were done with the hardware.

[1] https://www.youtube.com/watch?v=pbtmBQIKTh8
An element removal may also mean absolutely nothing if the container is display:none, say...
IFTTT for Social Media
> I can get a small web site serving JSON REST requests and memcache up in ten minutes with a simple Maven/Gradle build and full IDE integration

Java guys always say how they have really developed tooling and look down on other languages. The problem is those nice tools have become a hindrance as well. You can't develop in Java/Kotlin if you don't use those huge complicated tools.

I can't speak for all, but at least for me it prevents me from ever using Java tech. I can develop just fine using a lightweight editor in any of the languages I use. I don't need huge tools or complicated build systems. Because my languages have nice tooling that I can write manually and fully understand.

I tried using Kotlin and step one is always install Intellij.
I don't know. It's definitely not displacing huge amounts of performance-critical Java or .NET yet, but it seems to be gaining inroads in the Real World from where I sit.

I think your average corporate developer is just trying to earn a paycheck and also has a petrified fear of meaningfully learning/using more than one language. Telling him "use this and you can use JavaScript everywhere!" sounds like a big difficulty improvement to him, especially since JavaScript is something he "already knows" and has been familiarized through years of being the exclusive client-side development platform.

Since this type of dev cares only about keeping his career on cruise control until retirement, Node.js is engaged with enthusiasm. In fact, it's one of the most enthusiastic receptions by BigCo devs that I've seen.
On one hand, I doubt Google would be so bold, considering the amount of attention they are currently getting from the European Commissioner of Competition.

If Marine le Pen wins on the other hand...
Cassini is very small, compared to pretty much everything around Saturn. So, no. You could drop a billion Cassini spacecrafts into the rings without perturbing anything.
Microsoft doesn't have any serious advertising business. Firefox has none. So how exactly could it be mutually assured destruction?

More likely is an antitrust lawsuit.
How to increase your online business sale?
> Certainly we are putting too much of a premium on peacefully resolving situations at the expense of fair treatment.

I think we're not. In the civil world, you are expected to resolve the on-scene dispute without violence, and then later bring your case for damages.

Attempting to mitigate damages often does not go as far as violence, since after all (a) that'd result in criminal claims and (b) medical recovery is often more costly than whatever civil damages you were trying to protect against.
So... Marry Google Ads and Google Play to allow consumers to pay directly for content without the ads?
Ha!!! That header image has been there for a while, I can tell you https://web-beta.archive.org/web/20000510165803/http://www.p....

If I recall things right this had a built in email list management. I had acquired a CSV of all the student and staff addresses. While I was goofing around with this I accidentally sent out a to a really strange email to everybody (but it kind of looked like it was addressed to them because everybody was in BCC). Next day at school was terrible.
They already are. Amazon, Linkedin, Microsoft, Uber etc have offices there, paying top talent to the tune of $60-$80/year.

For comparison, this is more than median tech salaries in London and cost of living in India is peanuts.
Sure, but there is a big difference between flakey and non-zero. A 1 in a million chance would probably be more acceptable, a 1 in a hundred chance, not so much.
Gecko had that but migrated to neighbor pointers, so that's a data point of one real engine moving from a child array to neighbor pointers.
What are the TW games out there right now? I was not aware!

I've dreamt for years about licensing TW to make a mobile version consistent with the gameplay of the BBS days. Before scripts. I don't know if you fall in love with the first games you play as a kid, but 25 years later, I still yearn for a 6 month TW bang with a corp of 4 friends.
Countries that are reducing numbers of immigrant workers
Said dynamic language, not dynamically typed. Would be surprised if anyone considers Java more productive than Rails, Python (Django, Flask, etc) or Express.
I smell fear of macros.

A macro is just another function, but it does some code transformation. The code base will not explode, the world will not stop revolving, just because a few macros.

I use LispWorks, which adds a few hundred macros (amongst many other things) to Common Lisp. It's still Common Lisp, but extended with macros for defining new data types, macros for defining UI features, even a few new control structures have been added. For most of the stuff I don't even have the source code, since it is a closed commercial product - but the macros are documented.

Lisp is still used and one of the reasons is its seamless integration of various meta-programming facilities. This requires developers to learn a slightly more complicated language. But in larger projects this is not more difficult than learning the architecture tools of large OO frameworks - frameworks which are common in Java, Javascript and many other languages.
Microsoft To-Do
Think you underestimate the certification requirements for welders. A simple welder certificate holder does need basic math skills. Required classes may include advanced mathematics, metallurgy, blueprint reading, welding symbols, pipe layout and a welding practicum.

http://study.com/welding_education.html

If the OP's child can not multiply, or follow ordered operations, it may be a huge stretch to to follow welding step-by-step assembly instructions.

The higher level welding certifications have chemistry and physics knowledge requirements.

http://www.aws.org/library/doclib/CWEng-bok.pdf

Source: Dad welds and has attempted to teach me. Only marginally interested :)
Recover Lost Data from Sony Xperia Devices
But wanting blacks to prosper over your fellow whites is surely not akin to betraying your race?

Your argument proves too much. Surely, you agree that its not okay to murder a foreigner if it boosts your country's economy. But you do think its okay to prevent your fellow American from hiring an Indian if it boosts America's economy. Why?

Note that I'm not arguing that you should be required to hire an Indian. I'm just saying that you shouldn't be allowed to prevent Bill Gates from hiring an Indian just because said Indian will do your job for half the money.
The sheer number of responses/comments here (hell, even the article itself) justify Node by community alone in my opinion.

I like the fact that I've been able to follow along as it's matured and this gradual bit by bit learning process has made me a better developer because of it.
Perhaps, but Ruby is are more consistent. There is no implicit conversion, no optional semicolons, no dynamic this, the inheritance chain is not disguised by Java-like syntax, everything is an object (there are no primitives), object construction is always uses the .new method, containers mixin Enumerate for a consistent API across arras, hashes, etc. There's no need for "use strict" or built-in statements like with to ignore. All operations are messages between objects. You can extend the semantics by defining message operation on an object, so that you can use + for more than the builtin classes, where it makes sense to do so.
For concurrent asynchronous tasks, being single threaded or multithreaded shouldn't make any meaningful difference. To make a million concurrent asynchronous calls on a single thread takes couple MS, to make on multiple threads takes about the same. For concurrent SYNCHRONOUS tasks, being single threaded or multithreaded makes a huge difference, but that's not what we're talking about here. It's also not at all fair to call NodeJS single-threaded in regards to its concurrency model, as it utilizes all cores through parallel application instances.
The DNC has a similar structure as the neural turing machine. It has a controller network and a memory matrix with read and write heads. However, the DNC differs in it’s memory accessing mechanisms.

Firstly, the DNC has a memory allocation mechanism ensuring that the network can write to memory that is not being used. Secondly, it also contains free gates that allow the network to explicitly forget data stored in it’s memory. Thirdly, the DNC employs a temporal link matrix which tracks the order in which writes are made. The temporal link matrix allows the location based addressing mechanism to recover from a jump caused by a content based memory access.
> Entering text is nice, of course, but that's not all that a keyboard does. How about cursor control (arrow keys, PageUp, etc.), function keys, or scroll lock?

That's easy to add.

In BinaryKeyboard.ino, the SendVal function [1] uses keyboard.write to send the keys. You can see a list of special keys you can send at https://www.arduino.cc/en/Reference/KeyboardModifiers but you'll need to use keyboard.press to hold down two keys at once. See https://www.arduino.cc/en/Reference/KeyboardPress which even has some example code.

[1] https://github.com/Chris-Johnston/BinaryKeyboard/blob/master...
This will be pretty interesting.

The web has been in a downward spiral for years: Fewer and fewer users browse the web without an adblocker. Which leads Publishers to bombard them with more and more ads. Which leads more users to use adblockers.

Blocking annoying ads for all users by default could break this vicious circle.
https://support.google.com/adxseller/answer/4587864?hl=en

I'm on the Adx platform, which was invite only a few years back. It has some differences to Adsense, but I believe ad review and transparency with what creatives are displayed is part of both cores.

If I were to guess, there were 600 people in the thread who were not actually publishers using Google ads.
If only node had exception handling and functions!
Then watch Google start blocking add-ons that block ads Google likes.
Aha. I think in the case of airlines its more due to deregulation. Airlines used to be tightly regulated on price, forcing them to compete instead on things like comfort and convenience. Deregulation allowed them to compete on price, and thus it became unknown what level of service that the population honestly expected out of an airline.

It's as if we've had airplane tech for 70+ years, but only modern airlines since the 1980s.

We're unhappy because airlines now charge 1/3rd of their previous prices, and carry 3x as many passengers and operate a proportionately greater number of flights.

Being asked to do more with less money is a recipe for disaster when public expectations of service remain the same.
One of my all time favorite games. I miss those days so much.
Wouldn't a statistical test presumably have some minimum number of trials to hit some confidence value

I mean like the half the point of stats is to verify a result isn't due to chance, at least to an acceptable degree

Wouldn't gaurantee the test won't misdiagnose, but enough trials should push that chance into oblivion
What you don't seem to understand is that the visa system destroys the whole concept of supply and demand.

If your business can't hire workers, you will have to raise salaries. If you can't afford the higher salaries, you don't have a viable business (at least, without the use of wage arbitrage and indentured servants).

The extra supply of labor will come into the market as soon as they're receiving signals that wages are rising, working conditions good, etc. Until then, it seems like a waste of time: why study really difficult software when you will be competing with folks willing to work much more cheaply.

You might have to wait a bit for this pipeline to fix itself since you purposefully broke it this past decade by using visas to game the system.
What Is the Difference Between a Block, a Proc, and a Lambda in Ruby?
>where other blockers by default can easily block all Google ads

Adblock Plus, the most popular adblocker, does not block Google ads by default, because they are considered non-intrusive.
Perhaps there should be a testing test suite. Call it react-test-tester. Maybe implement ML in Rust to do the test testing.
Angular.JS vs. React.JS – Australian Companies Weigh In
The full article is pretty good - https://www.bloomberg.com/news/features/2017-04-19/silicon-v...
They can't be trying to do that, because it would be blatantly anti-competitive, as their lawyers would tell them. They might let google ads through, but if so they will let through other ad companies as well. The EU would have some choice words for them if they didn't.
Exactly. Not wanting to bash Google, but it's not in their best interest to block Google Ads is it? What'll happen is that Google Ads will be served using some super-sophisticated cloaking setup making AdBlockers ineffective on all but Google Ads. Like https, this will put alternative ad networks out of business.

It's not even difficult to do so, by eg. serving pages from a Google-controlled CloudFlare-like proxy service and/or a high-profile Google-style HTML-to-JavaScript encoder. Google's AMP project shows they're willing to throw the decentralized web under the bus.

The real question is: are you ok with ad-financed web sites in general, but have a problem with tracking (like me)? If so, we should really come up with a community-driven criteria for Acceptable Ads, or should disable un-vetted/not-whitelisted JavaScript alltogether.
With apologies for plugging my own project: https://www.blinklight.io/ starts right at the ground level.
Oh man, I remember running my old acmlmboard back in the day. Great times.
Does anyone else worry from a safety perspective that the pilots flying these "subcontracted" flights are probably paid very low? I read somewhere that even Captain pay at some of these guys can be 60-70K. I know FAA license requirements are stringent but I would have a hard time believing that working for shitty, bankrupt or nearly bankrupt low-cost airlines that don't pay well has to affect your performance to some degree?
The sad thing is that there is a huge workforce of regional pilots hoping to gain hours and switch to the majors, but the majors are converting routes to regionals faster than they are hiring new pilots.
> Compared to ruby, Python, Erlang, php and that ilk it is lightning quick.

Ain't nobody is going to compare performance against Erlang for numerical number crunch.

It was never built for that. It's not even a fair comparison.

It's like comparing a race car against a hybrid prius and saying the race car suck at mpg. They're built for different purposes.

Ilk implies as if Erlang is some crap flavor flav tech. It is not.

Erlang was made for concurrency.

NodeJS was made to solve for concurrency too.

And Erlang beats NodeJS hands down in concurrency.

The actor model is a much better model to do concurrency and preemptive scheduling is amazing. It's easier to mentally think about actor and the code isolation in each processes makes it much more cleaner, object oriented, quoted by Alan Kay himself.

NodeJS chose some existing language to do concurrency where as Erlang was created from the ground up to do concurrency. Hence the reason why it's VM is so amazing on top of the fact that concurrency constructs are first class and primitives.
I'm not entirely sure I'm reading this correctly (because Amazon pricing is so ridiculously confusing) but I think you are reading the prices to get data out of Glacier and into an EC2 instance (which is still inside Amazon). THEN you get charged an additional 9 cents/GByte to get it out of EC2 and downloaded onto your laptop.

At Backblaze, we cannot figure out the business case of why Amazon prices things so that the small customers get really expensive prices (9 cents/GByte for less than 10 TBytes), and as the volume increases the price drops to 5 cents/GByte (for 250 TBytes). It makes no business sense to drive away small companies. A byte is a byte, the WHOLE POINT of a large cloud storage farm like Backblaze B2 or Amazon S3 is that we bundle together 200,000 small customers and together they get the economy of scale of a large customer! That's the whole point, the whole strategy! And what Backblaze has seen over and over again is that over time, some of our small customers became really gigantic customers. So driving away the small customers by gouging them on price means the small customers go to some other provider, then they get large with the other provider. But hey, I'm just thankful Amazon thinks this is good for them because it leaves the market wide open for Backblaze to gobble up all the small customers (which we are really super happy to have as customers).
Don't you find that your surfing is a configurational nightmare? Using uMatrix was doable, but I finally gave it because it always interupted my browsing. Adding NoScript to the mix would probably drive me insane. Do you have any special techniques? :)
I honestly don't need this feature.

Am I really the only one?

Or do you all just have buckets of source code filled with if instanceof then cast just screaming for this language feature?
Java already has simple pattern matching with exceptions (try {throw ...} catch ...). It's surprisingly ergonomic, even though it's just a hack
Microsoft Privacy Statement
Yeah it does. But it's still in pre order :(
This is nice. But I think my number one feature would be first-class relationships in object oriented languages.
Japan: 100-hour overtime cap slammed by critics as endorsing ‘karoshi’
I agree. I really don't like SO becuase of those reasons.

I would prefer a generic Developer/Sys Admin wiki. I'd host one myself, but I don't think I can afford that kind of bandwidth/storage at the moment.
Which group are you addressing here as "you morons"?
I have not read the article but the title reminds me of this skit. Its the "IT Crowd"'s prank where moss and roy trick jen into thinking that the "internet" is a single piece of hardware.
https://www.youtube.com/watch?v=iDbyYGrswtg
followed by
https://www.youtube.com/watch?v=Vywf48Dhyns
>> A lack of historical perspective in a country founded by immigrants. There were 0 restrictions prior to 1860-something, and then it was something racist to keep the Chinese out.

I am wondering what does it have to do with the issue in 2017?

>> A stunning lack of perspective on the benefits that immigrants bring to the economy and culture.

There is also a stunning lack of perspective on the consequences of the ungovernable migration.

(not US citizen)
One important distinction.. Uber and Lyft don't require certain hours, particular routes, or have specific uniform requirements. United appears to have this as part of their contracts which makes it more complicated to tell who the middle man are or even if there are any.
I thought it was because most app stores didn't allow apps to download code to be executed.
As noted in the article, Google pays Adblock Plus an undisclosed amount of money to be considered non-intrusive. Adblock Plus is clearly not a neutral evaluator here.
Njalla