skysight-inc/HackerNews huggingface dataset:
I think this proves lhorie's point. Markup syntax is dominated by code when you are building complex dynamic apps instead of static documents. What do you really gain by putting angle brackets around Avatar instead of calling a function?

FWIW I believe new react devs are slow to realise they can use local variables like this because JSX looks like it is doing string templating instead of object instantiation.
And was the pay better back then than it is now? Just curious
Fear, Uncertainty, Doubt
Nice thing about Vue.js is that you can get quite far with JS links only, no need for npm. I recently used it for tiny pet project and was surprised how useful it was. And I am no JS pro.
Realm certainly has a schema - anything that made you think it doesn't?
It's ACID and Serializable.

It also has a query language. But as one of the core design principles is to be as native to the language and platform as possible, the query language takes different forms. In Java it's a fluent API, in Cocoa it's NSPredicates string based. And the JS string based is roughly identical to that as well.

It's absolutely designed to be offline first. I'm curious as to which limitations you see with that?

Operational Transform is used to resolve conflicts at the property level, so I would say it's much more fine-grained than most other systems that would overwrite entire objects. The specific resolution rules are very simple and intuitive and how to deal with custom needs are described here: https://realm.io/docs/realm-object-server/#conflict-resoluti....
There is ordered lists already and explicit counters are being exposed in the SDKs at the moment.

You might find this article useful as well: https://realm.io/news/eventually-consistent-making-a-mobile-...
You will open it up, des older the battery and replace it.
"Quietly" is the new clickbait headline trend word of the moment. Would be great if we banned it here. Don't believe me, search HN or reddit for "quietly."
High-Reputation Redirectors and Domain Fronting
In EU this would be treated as a shrink wrap EULA. Those are generally not considered binding.

Click wrap is different and some may be considered binding.

(Caveat: IANAL)
I wish people would stop saying this: If platforms are treated as public utilities they will be under government control and there will be zeo free speech, and there will be no competition. The solution is for the private marketplace to make better products.
Simple Cryptol specifications – Exploring formal verification (part 2)
It's also not the first time Twitter has censored things. It's been going on for years.

The #GamerGate hashtag at one point, for a period of time, returned results for "wine" and "beach". A very mature and cute nod towards "whine and bitch" because a few Twitter workers were closely related to a few prominent "anti-GamerGate" people. This happened in December 2015, I don't remember the period of time it lasted (hours or days).

Not to mention certain hashtags were prevented from trending or deliberately removed from the 'Trending' area. #GamerGate at one point was large enough to get any hashtag trending that they wanted. Think of it like /r/The_Donald getting to the front page of Reddit prior to the last algorithm change. It would happen and it would happen every day.

Any hashtag that was "obviously #GG" would be removed from the trending list. Any hashtag "hijacked" by #GG would be removed from the trending list. Any tag #GG managed to push into trending would magically disappear not too long after - even though with their numbers they could keep a tag trending for several hours, not just several minutes.

E:

Also Scott Adams isn't the only one to notice this. Many pro-Trump people have checked their engagement numbers pre-inauguration day and post-inauguration day. Going from consistent 1000+ retweets/favs to < 10 with no change in behavior, just that their tweets are no longer showing in their Follower's feeds and thus no longer receiving interactions.
Tesla Model S P100DL Motor Trend all-time world record 60mph in 2.27s
That is not a serious business, more like some fly-by-night operation. It doesn't sound like you've signed anything? Remember that none of the code you've written is the property of the company without an IP assignment.

While you're a fool for having worked without a contract (even just two co-founders workers alone will sketch out an agreement on a napkin), so is anyone who has invested into this "business" where the IP itself might be owned by god knows who.
Neither Twitter nor Facebook are "the main method of communication" for the President.
cool! So why are you doing this? to sell them? and where did you get metric tons of lego?
"All the time" isn't that far off. "All this time" is more idiomatic, but the parent poster's meaning is still quite clear.
That's a really hard problem. In many cases there are subtle hints (color, the writing on the studs).

Spectrography might give a hint here due to the different formulation of the plastics but some of the knock-offs are now so good it can be very hard to tell them from the real thing.

I'm not really sure if 'counterfeit' is the right term, the companies selling these are not making pieces labeled 'lego', and in fact the Lego brand started out by copying an English product.

https://en.wikipedia.org/wiki/Kiddicraft

Damaged pieces and discolored pieces are also of interest and a very hard category to detect.
LOL, I've built it because i couldn't find any.
BTW I get an error in the console about accessing http://localhost:8080/sockjs-node/info?t=1486483533650.
If you're logged into it on your phone/computer, it's evidence that you created the account. Or else you logged into someone else's account which is also a ToS violation.
Microsoft AI's next leap forward: Helping you play video games
> Amp is currently a mobile only thing, and most users on mobile are not blocking ads.

Most users anywhere are not blocking ads, adblocking by its nature as a non-default option and something you have to know how to do will most likely never be the thing that "most users do".

However, the idea that people on mobile do not block ads is just false: https://pagefair.com/blog/2017/adblockreport/

Worldwide, there are almost 150m more mobile adblock users than desktop adblock users. The trend of only blocking ads on your desktop is largely a North American phenomenon.

I can't speak to whether or not AMP is designed to try and stem this tide or not, but I can say without a doubt that mobile adblock is exploding, especially when considering the worldwide market, and that publishers are probably very nervous about this.
I know the only reason I never go viral with anything is because of conspiracy... it is the only possibility. /s
You are getting taken advantage of. You, your kindness, your naivety.

Just tell them sorry you can't provide free advice/support any longer. Then stop, cold turkey. Don't let them come back and say: "just stick with us...." or "well can you tell us how this works" or "before you go we need..."
> This bill is great in that email stored on your ISP's (or Google's) servers is treated identically to that on your computer at home-- they need to get a warrant. That's a great step forward. It isn't BS.

Except for one major difference: Gag orders. When a warrant is served to Google to access your email, you may never know about it. If they show up at your home and take your email server, who you gonna gag?

Unreasonable or overly-broad gag orders are one reason I always advocate running your own services whenever possible (granted, this needs to be easier).
Funny that this is a flagged story on HN
> So why are you doing this?

Excellent question :) Because I'm mad ;)

> and where did you get metric tons of lego?

Auctions.
His persuasion techniques didn't work to convince a majority of Americans to follow him, as Adam repeatedly said it would. He is doing a victory lap for being 100% wrong
Russia Blocks Porn Site Brazzers for 'Damaging Human Psyche'
Likewise in EU.
I think a lot of us do that already, maybe the silver lining of the debacle is that the general public will understand the need for this too.

Still, I feel that a generic, simple, non-censored, non-censorable, way to share links and short updates is needed.
Just because a citizen has a representative doesn't mean the whole apparatus becomes accountable in his eyes any more legitimate than an occupying power.

Look at it this way; how many EU citizens do you think are willing to die in a ditch somewhere in Lithuania for the European project ?

These are important aspect of the philosophy of government. I suggest reading the books of Sir Roger Scruton if you really want to understand why.
The restaurant most likely bought some ads that targeted your wife and your friends' demographic. It's far easier to do that than covertly access your phone's mic.
Shell Script Compiler
How would rust help in this situation? What alternate design is rust enabling that would be different?
It sucks.

Don't get me wrong, it's not completely unusable. For the basics and pre-packaged foods, it's fine. But the selection is limited, and they don't have that much in the way of fancier brands. Also, lots of people complain that the produce section in Walmart is generally poor.

Where I am, Wegmans is a much better choice. The prices are just as good, and the selection is far, far better, and they have much better produce and deli sections, plus seafood, meat, etc. which Walmart doesn't seem to have at all where I am. And Wegmans isn't that high-end (it covers both regular brands and some fancy brands too): there's also Whole Foods and Trader Joe's which will have stuff you won't find at Wegmans, let alone Walmart.
Very close to my view.

Here’s my blog post about that: http://const.me/articles/why-cpp/
If you just set your TVs country to Mexico it effectively disables ACR data collection....
Can someone please fix the shouty caps?
Are we sure that the "Tweet Unavailable" message isn't just because a tweet was really popular and the script that's pulling the info didn't get a 503 error or something temporarily when it was pulling the tweet content?

Why is it always a conspiracy for something that's explained by something a lot less conspicuous?
They use "the field of artificial intelligence known as machine learning" duh. "Big Data" and "Data Science" weren't around 10 years ago /s
^ This. If you're good at something, never do it for free.
H1b the way it is right now, nothing is in favor of H1b employee. He/she is basically a high tech indentured servant who has sacrificed enough to be in immigrant, and cannot work anywhere else unless an another employer is willing to transfer visa.
Machine learning and neural networks?

SHUT UP AND TAKE MY MONEY!
> This account has been terminated due to multiple or severe violations of YouTube's policy against spam, deceptive practices, and misleading content or other Terms of Service violations.
Actually, it's both young and old people against corruption.
Well designed websites of software developer/agency?
I wanna to update my website (http://elmalabarista.com) and wanna find some inspiration.

I can find good examples elsewhere but wonder about good websites made by developers/software agencies to look for.

I'm partial to dark tones, but wanna focus this time in good typography/readability, no small fonts!; & not animation gimmicks (that have infested most templates for sale!).

BTW: How make this show: Ask HN?
The problem you are describing is one that many large companies spend huge resources on today, so guarantee you that it is not something you do in a couple of days.

Even if you had the system up and running, you would still need to create a large database system managing 100 billion data points each day and integrate the stream of information with your customers APIs.

$2m worth of developer time going into this project is very likely. Thinking you could do this in a couple of days is simply ignorant.
It should. (depending on the copyright licence) Or a civil lawsuit vs breach of contract.
I wouldn't call it straightforward, boost.coroutine requires custom assembler for its implementation. Then again, stackfull coroutines are significantly more powerful than generators available in most other programming languages (notable recent exceptions are Go and Lua).

Boost.asio provides stackless generators [1] implemented purely in C++, by (ab)using the preprocessor and the switch statement.

[1] http://www.boost.org/doc/libs/1_62_0/doc/html/boost_asio/ove...
I'm sure you think it's cool because you've contributed to the project...
> 2. if deep nlp can provide us with more efficiency than what is stated above then wouldn't it be safe to assume that is UNREASONABLY efficient?

Why? Neural nets can already detect skin cancer as well as human dermatologists [1]. Why would you assume that your algorithm is the peak of efficiency and anything that performs better is "unreasonable"?

[1] https://news.ycombinator.com/item?id=13484372
You can still download them from here: https://media.ccc.de
An iPad for the initial pass. If it looks interesting and in depth, I'll print a copy so I can mark it up and take tons of notes.
I think the second one isn't really a valid example. There are very few situations where you both want to have state mutations discard what the user has already entered and reflect user-provided state in real time. In other words even if it's supposedly "two-way" you don't actually want multiple inputs to share the same model and you likely don't want to represent the data the same way the form control needs to represent it internally.

As an example, let's say you have a formatted text input field that can be used to enter a decimal number. If the input contains no decimal separator, the decimal part is implicitly zero. But if you just use naive two-way binding with an actual decimal value this means you'll get in the way of the user trying to manually enter a decimal value (especially if the user tries to delete the decimal part starting with the separator).

As soon as any information is lost during the bind in either direction, you still need to explicitly think about where you want the data to flow into and out of the form field.

The archetypical example of two-way binding is definitely the auto-generated CRUD form that lets you edit a model in place, but IMO this is a tiny niche in practice because it falls apart as soon as you want to do anything non-trivial. It's great for prototypes though.

EDIT: To clarify, I think you're talking about two-way binding a form model to form inputs. But calling that two-way binding from an application developer's POV is kinda redundant because you still need changes from the form model to propagate outside the form in a more controllable and predictable way than two-way binding offers, so the two-way binding of the actual form fields becomes an implementation detail.
I doubt that's the reason - or at least not the main reason.

The main reason is legacy: Banks and other financial institutions are among the oldest users of computer systems (I would not hesitate to say that certain banks even utilized Hollerith tabulating systems; they certainly likely used tabulating and other accounting machines made by the early IBM).

Code in these institutions likely consists (in a large part) of many lines of COBOL (and possibly other archaic languages - I wouldn't doubt there is some old RPG lurking around).

You might ask "well, they could just translate the code or rewrite it" - but it probably isn't that simple. Over time, what we now call "technical debt" built up in a massive way. They fixed and patched and fixed some more, and probably comments don't match the code, and there likely isn't a singular design document or API description anywhere that shows what the system is actually doing (and any that does exist probably doesn't match what is actually happening). Coders came and went, most are probably dead now. But that code is the baseline for how the system works, warts and all. Heck - there's probably code in there that works around bugs in older COBOL compilers or who knows what else.

They keep this around - probably emulation on top of emulation - because to refactor all of this would take a super-human level of dedication and effort, and likely introduce new bugs along the way. In fact, there are likely still a ton of "edge case" bugs lurking deep inside that have yet to be found. It may be that fixing these bugs (if found during a refactor, say) might break other working code that depends upon them existing! Even if the refactor were successful, they would still only get to the point of having a system that does everything it currently does (but still may have unknown bugs).

You're right that there isn't a financial incentive to fix it. In fact, the opposite is likely, because if fixing it breaks something, in even a subtle way (and that would be worse than anything, because something like a small rounding error might go easily unnoticed until far too late) - it could end up costing the business so much money as to ruin them. I can't really blame them for being so hesitant about such a change.

This kind of legacy affects all kinds of businesses and institutions, especially the ones that are quasi-considered "foundational" to society, and hence are likely to be among the oldest users of computer, transaction processing, and accounting systems. A few others I can think of would be accounting firms, logistics (especially railroads - as they were among the first to use Hollerith's systems after the 1890 census), air traffic control (we've already seen this system try to be updated - and fail), airline ticketing (arguably maybe second oldest - how old is SABRE?), insurance...

None though - with the exception of the ATC systems - have the same level of repercussions to happen should a new system not perform and act the same as the old system(s) currently in place.
> In the past year I think I have finally come to understand the ideals of Unix: file descriptors and processes orchestrated with C. It's a beautiful idea. This is not however what we interact with. The complexity was not contained. Instead I deal with DBus and /usr/lib and Boost and ioctls and SMF and signals and volatile variables and prototypal inheritance and _C99_FEATURES_ and dpkg and autoconf.

The next step is to understand that file descriptors and processes orchestrated with C are a substrate that would make everyone reimplement most of what they want from scratch each time. Part of the list describes system services that we have come to expect from an OS: DBus = interprocess communication; signals = process control; volatile variables and ioctl = hardware control; /usr/lib and dpkg = software packaging and distribution. There are more to be added. at+cron = scheduling. syslog/journald/systemd = monitoring; wall = alerting; cgroup = process and process group control; bash = orchestration from a repl; systemd = orchestration not from a repl; lots of stuff = security; every developer's own file format = configuration; every developer's own plain text protocol = data encoding for IPC. The list goes on from here. Even in the early days of Unix, mature systems like VMS had these capabilities.

The problem is not that these exist. It's that they were all built piecemeal instead of being standard system services accessible from a programming language like processes and file descriptors.

Except for bash. That's the result of an old mistake: the job control language on OS/360. That's when we got the idea of a command language distinct from a programming language, and we've been building it back towards a programming language ever since.

Autoconf, though, is purely penance for the sins of the past.
It's probably a "forrest for the trees" problem...the developers of a language will have their perspective colored by low-level implementation details.

As an example, I found the explanation of trait objects incredibly confusing when I read the book. They confused the subject by immediately talking about static vs dynamic dispatch of functions, which is really an implementation detail and performance consequence of using them and not a part of what they are logically. An outsider might have started with a simple explanation of what a trait object is (an instance of a trait where the compiler cannot determine the concrete type at compile time) and make that clear before diving into the consequences of choosing to use one in your code.
Building Offline Web Apps with Service Worker
Scott Adams is already famous, and he is very specific about topics that are throttled, Trump and Climate Change.

He may have a point and he may not have a point, but he is not a source to dismiss.
Whiteboard coding isn't really a metric close to what is required in the job though.

I like to write my algorithms on paper first before writing code, but doing it on a whiteboard in 45 minutes while explaining my work and checking for edge cases can be a bit unreasonable.

I don't think the contention is about testing a programmer's ability, but the way their ability is tested. Personally I think pair programming is a better method of testing someone's ability to code AND their ability to collaborate with others.
Is "Ludicrous" mode street legal? I can't imagine any situation where it would be safe to accelerate that fast on a public road.
Sad day for all of us who value a fact-based worldview in these dark days of rising nationalism and euroscepticism.

Vila i frid, professor Rosling.
Breaking News: Twitter is free to not boost his tweets for any reason of their choice or no reason at all in exactly the same way that Fox news is free to only cover things from a conservative point of view.

Curiously, you only see Scott Adams complaining about one of these things.
Outside of the State of the Union address, I'm not aware of any "main method of communication" for the POTUS. You could argue the press conferences held by the press secretary are one form, but they're not mandated by the Constitution.
They still track you even if you don't have an account. Your friends give them more than enough info for them to create a detailed dossier.
A fair offer would be anywhere from:

- 0.25% if your role was closer to a part-time adviser, following-up monthly for a few hours to advise on technical choices

- to 20% if you worked close to full time for about a year as CTO

Of course, since you forgot to negotiate anything ahead of time, you are mostly out of luck, practically speaking. There are some legal avenues you could explore, depending on whether you contributed any IP, what paperwork you signed, etc.

It's time you stand up for yourself. By the way, for companies that are mismanaged (and this is clearly one of them), the likelihood of success is even lower than for your average startup, so any stock you may fight for will probably be worthless.

In conclusion, I would at a minimum demand the standard 0.25-0.75% deal that any formal advisor can get. And that's an absolute minimum. In exchange for no more work from you at all.

source: founder equity calculator (http://foundrs.com)
Sorry! Once you get deep enough in this tech, you seem to have more in common with an alien language than actual common English.

* BPF - Berkeley Packet Filter - BPF is a safe, in-kernel virtual machine that's meant to be able to introduce next generation functionality into the Kernel: https://lwn.net/Articles/603983/

* ECC - Elliptical Curve Encryption - Enough said

* XDP - eXpress Data Plane - This is a project atop BPF that's being merged into the Kernel to implement programmability features in the kernel, without requiring that people write crazypants code or unsafe code. It's backed, and used by Facebook. If you're familiar with Intel's DPDK, it's similar.

* SKB - Socket Buffers - These are the components that make up the data you send over the wire in the Kernel. When they come out of the kernel, they have to be flattened, and copied which is expensive. This is one of the biggest problems with usermode networking.