skysight-inc/HackerNews huggingface dataset:
From a development perspective, in my humble opinion the single biggest hurdle with developing SPAs vs traditional server side applications are problems dealing with state consistency. The state model in non-spa apps is simple: when a pageload is requested, pull the latest state from the server. In SPAs the state has to be held on the client and server, and has to be able to react to state changes from the other side of the wire.

Also I think that large bundle size being a mark against all SPAs is misleading. Yeah, angular is 1mb+, but vue is ~20kb, so the potential for the bundle to be small exists.
I certainly understand. As a counter point and a bit of the (probably faulty) logic for why i choose no case + AppleCare: I’ve managed to break screens in cases in prior iphones. I’ve used local screen replacement shops and have been totally unimpressed with the quality of replacement i.e. I’m convinced i did not receive a remotely comparable screen to Apple’s OEM. I use my phone all day every day for work. I keep my phone in my jeans pocket and really prefer the no-case slim fit. Cheap cases tend to last me 6 months a pop before getting ratty looking, so i can either spend $50 on a nice Otterbox or other quality case or $15*4 for a new cheap case every so often.

Apple care, expensive though it may be, gets me a few mulligans while also providing broader coverage against other unknown damage or warranty issues, something even the nicest Otterbox style cases won’t afford me. It’s all a trade off. My preference is expensive but I historically break a screen every year, why not plan accordingly.
I think it's intended as a way to (soft of) economically build out carbon capture infrastructure. At some point these facilities could transition to providing hydrogen fuel and C02 sequestration.
This article appears to have nothing to do with micro-op fusion, which is an internal optimization in some CPUs. See, for example, section 8.4 in Anger Fog manual [1]. This article is instead about whether a particular operation is better written as a single-instruction memory RMW or as there separate instructions to read, modify, and write.

[1] http://www.agner.org/optimize/microarchitecture.pdf
Nice! Bards Tale 2 was boss.
Yeah, it's weird to me that people in general don't see this.

I like to joke that the Amish are obviously the one true religion because eventually they'll cover the earth: They live long and peaceful lives, have scores of children, and are among the best farmers on Earth.

As long as the rest of us don't do something horrible the end state is inevitable.
when i see what people try to swat with excel, i pretty much agree.
My React form-management library – lightweight, functional validators and internationalization
I wonder how much the push back against McDonald's is class based. It's not healthy, but the same can be said for a lot of the food we eat. A lot of fast casual burgers, which seem to hold a higher position in the public perception, have more calories. Of course, overall health is more complicated than just calories, but it's worth pointing out since that's one of the main complaints against McDonald's (including in the article you linked to). Cereal has declined in popularity, but it doesn't seem to have had quite the same negative stigma, even though a lot of it is simply processed flour and sugar (which was then marketed as being "part of this balanced breakfast"); neither do brands like Starbucks or Coke.
Being illegal to ship shirts without a licence, and illegal to ship more than $10k without declaring it, are both perfect examples of invasive regulations making criminals out of harmless members of the public.
One thing bucklescript has going for it is that it plays nicely with the NPM/webpack ecosystem. If you want your bundled code to be optimized and minified like Clojurescript, just use a plugin/loader for webpack or your bundler of choice to run the Closure compiler or a similar javascript optimizer. Despite being more inflexible about tooling, clojurescript is great because of how it generates code specifically to take advantage of Closure's optimizaitons.
Yeah, not sure how you live on $18k/year salary in NYC unless you're being supported by your family, which is what I'm guessing is happening here for both of them. Not many people have a network of exclusively friends and family to fund their seed round to the tune of a few $100k...
not sure I agree with a lot of points the major rule changes each year never seen that as a one a year viewer of the super bowl - if that was so the UK show would mention rule changes.

And NFL keeps some much older rules that it inherited from rugger that rugby has removed
Show HN: Embedding Deep Learning models into your Slides using R
> But he never mentions any other benefits or justification for changing how it works.

I read "it lets me write a program that has a data race", accompanied by a program that has a data race, as saying that the bug is that a language feature meant to provide mutual exclusion does not provide mutual exclusion. In a language one of whose main selling points is "you always get mutual exclusion". How is this not a bug?

The benefit of changing this bug is that the guarantees Rusts makes to programmers are actually guaranteed.
MIT Tech Review, which keeps me up to date with a whole spectrum of advances and trends in tech, and The Atlantic for politics — most if not all The Atlantic is free online, but it’s dirt cheap to get the physical copy and I’m more likely to read the longer articles with the physical copy.
Traveling close to lightspeed to take advantage of time dilation would be preferable, eh?
All of the older folks I know are stubbornly liberal.
That version has neither sound nor colors, but at the same time does not look like the original shown in the documentary either. At least it's mobile friendly though.

Does anyone have an online version that is in color and has sound and is also mobile friendly?
Got gloriously lost in Venice, can confirm. The less visited areas are charming.

edit: totally agree with your reply. I ended up at some point in a small, quiet plaza with cobblestone, old church, pigeons, and a bench under a tree, and I felt like I was in a movie
A few months ago I started binge watching every talk by Bryan I could find. I haven’t found one that wasn’t informative, entertaining, and just all around interesting.

I think there is something about the value system he puts forth that I appreciate. It brings some sensible balance to the industry for me.

Thanks Bryan. I hope you keep giving more talks.
> I don't have much knowledge on how the block actually works, but I would assume it's not trivial to "just pretend to be one of the permitted devices."

Why would you assume such a thing? There's no historical precedent for peripheral authentication in the PCI space, nor indeed for any of the common peripheral interfaces.

The closest you get is "you get the driver that claims to best service the thing you claim to be", which makes pretending to be something you're not less useful from a functional perspective, but does nothing for system security.
I definitely wish for USB-C to become very wide spread because it converges so many functions across different device types.
For me Thunderbolt adds another layer to that, enabling extra features like super fast data transfer, however at the cost of security.

A security prompt seems very reasonable to me here, however I'm not sure Intel or Apple are very interested in that becasue they would be admitting a weakness and hinder the adoption of their own technology in some ways.

However for user trust this would be a very big win in my eyes.
And a great talk it was! Jon managed to make Spectre, Meltdown and a signifi part of modern processor design understanda in just 45 minutes.
I tried not to be cynical, but what a circlejerk. Ex-GOOG/FB/AAPL employees and early investors in GOOG/FB/AAPL get together to school us about how bad GOOG/FB/AAPL is. Give me a break.
Ask HN: What is the best for writing JavaScript to the client (e.g. TypeScript)
I have used Dart and TypeScript. Both have their advantages. I haven't tried other alternatives like ClosureScript or just plain ES6 and am curious about them for productivity reasons.

"Our engineers are 2 to 3 times more productive in Dart and we are delighted we switched [from GWT]" -- Manish Gupta, VP Engineering, Google Ad Words.
An interesting meaning of the word Daemon can be obtained by examining what Daemon meant in stoic philosophy. They believed daemon is a sort of inner god residing in every human soul.
I dunno. It seems basically game-theoretic to me. The cost to a youth of adopting a "conservative" viewpoint is being outmoded for the rest of their lives. The cost to the elderly of keeping up with new technologies, trends, theories, and so on has to at least involve invalidating their lives and behavior, so far, and all for little or no real payout given the duress of aging and short remaining years. In other words, I'm hypothesizing that nostalgia is the effect of the underlying cause, "deterioration with age and short time horizon for payout." You're going to die, soon. May as well be comfortable.

As with a lot of tropes, we're having trouble nailing down terms, too. As you allude, we've at least meant a few different things by "conservative;" 1) social conservatism, 2) technological nostalgia, and 3) scientific conservatism. This seems to be one of those memes (I use the word deliberately as a "persistent mental structure or coding," separate from the term "idea.") that survives by coding multiple actual ideas. Not that you're doing the following, but reciters of the meme can always switch between ideas/fields when the current case becomes problematic. Societies don't become conservative? Well, what about Kuhn/Planck and scientific conservatism? Oh, scientists do actually adopt new theories late in their careers? What about people who restore classic cars? People buy new cars late in life? Well, societies become more socially conservative as the population ages. And so on.

One final point that, again, you're not doing right now, but I find ironic and amusing. Critics of life extension will oft lament that "mortality makes us human," and that we'll become inhuman monsters if we routinely live to be 1000. Then, in the next breath, they'll then insist that we'll behave exactly as if we died at 80 when it comes to things like conservatism, or reproduction, or career choices. But that's just the amusing part; the ironic part is that they'll do this at just about any age!
I think it’s rather un-ironic. The central thesis is not that the technology itself is flawed, but that it needs to be done in a way that is more adaptive to the needs of humans. The best way to reach people is where they are, and people are overwhelmingly on Facebook.
You could argue it, but you'd be wrong. 0-conf requires trust, LN is trust-less.
http://www.neurobiologyofaging.org/article/S0197-4580(17)303...

or

http://www.neurobiologyofaging.org/article/S0197-4580(17)303...

if that helps..
I'm not sure if shitting on Italians adds anything to this discussion.

That same "greatest generation" of Americans wrongly imprisoned American citizens of Japanese descent during the war, and turned a blind eye to Jewish refugees for an embarrassingly long time before grudgingly entering the war. None of us are perfect.
Exactly. In the US it wouldn't save money on VAT but it would be tax deductible as a business expense meaning it's really 50 hours worth of work - not 70 hours like it would be for a personal expense.
I've come across texture.com, it's US+Canada only so I can't subscribe but I'm pretty sure I would if I could - unlimited mobile access to lots of magazines for $9.99/mo.
The article posted above was suggesting that Facebook is more a detriment to society than a plus. Society is typically safeguarded from toxic products through regulation. So, if Facebook is a perfectly engineered attention trap, you or I self-regulating, which plenty of us here do anyway, helps society in no meaningful way.
it seems like the rate of change could become very slow

No, the opposite would occur, because of the compounding value of experience. Imagine what engineers would be like with 10x the experience to bring to bear on any problem. Imagine the megascale engineering we could do.

But you don’t have to because we have actual evidence: life expectancy 1000 years ago vs now. Which society changed faster?
Also check out their EE380 talk.
Why does white noise work? Is it because the spectral density of both the Dirac impulse and white noise are flat, and our ears don't care about phase?
Buy Nvidia or AMD.

The race to AI will be won by hardware. Apple right now will lose to Google and Amazon without some serious help and market advantage. Sure google can build a fab or rent one out, but the army of engineers employed at either and the scores of patents would put Apple miles ahead.

It’d also give them a the back door they need into the enterprise market. Sort of how they won the consumer market back from Microsoft with the move to mobile. They’d have an AI hardware platform available for enterprise... A-nX ARM chips and insanely good graphics cards powering servers. see ya later, Intel...
> TBH most of the cons stated in this article are just because of bad programming, not because it's a SPA

The worst programming is the result of choosing the wrong tools for the job. There is a class of jobs for which an SPA is entirely unnecessary.
That's really cool. I'm not so versed in Snapchat or the direction the app is moving .. but it seems that they're looking to establish themselves in mixed / augmented reality. Is that true?
I recommend looking at ZeroMQ for this
> In fact, I'm not sure there is a such thing as "hybrid-SPA". By definition, seems it's either a SPA or it's not.

I'm open to hybrid being defined as two possible things: a regular SPA with server side rendering (SSR on manual refresh and first visit). Nextjs for react, Nuxtjs for VueJS, angular universal. I think OP was talking about the other definition of hybrid.

The second definition is for when your team prefers or is only trained in or is maintaining codebases in the legacy MPA style, typically similar to Rails+jQuery. When you need a specific div element to have advanced UI components and a jQuery plugin didn't fit the needs, the answer was "not happening". VueJS showed up and changed this to "can budget finite dev hours and willing to maintain", as it had good tutorials for assuming you wanted a small widget instead of a full rewrite to SPA. Do this enough times, and you have a hybrid. Now you have enough SPA-ness that you can be satisfied or you can plan a multi-sprint "convert the rest to SPA" project.
Ah yes, agree there. What I do is generate twice and combine together, annoying, but works.
It's still 0.4% today, which is approximately equally terrifying!
Lots of big dreams here on what they could aspire to do.

The company is dangerously close to scaring off their customers because of poor software quality.

I’d set aside some money for QA...

Software quality at Apple needs a lot of help.

Every single product is suffering as a result.
Default Nginx log format so the ip should be the real deal, at least according to Nginx. No load balancer or proxy is used.
> You keep changing the terms of the debate.

That was my first post in this thread, so I’m not sure how I could have changed my position. I argued directly and solely against your claiming Singapore’s law is immoral; if by doing so I’ve somehow switched topics, the person solely responsible is you.

> Note that my awareness of a law is not related to its morality.

Not sure when I said this. I was, though, responding to your claim that “There are too many rules for people to keep track of all of them and they have to be interpreted and enforced with discretion.” Again, if anyone is trying to change the goalposts, it’s you.

> And finally, you take the whole point -- that being whipped is an extreme punishment -- and you shove it into this form "to some extent or another."

Presupposing that it is an extreme punishment for the crime is begging the question. My claim was that it is naive of you to think that you must be right in knowing what the correct penalty for a crime in a gray area like chewing gum, and that Singapore must be wrong.

On the other hand, apparently:

> You can't demonstrate that there is an "absolute moral law" against murder.

... so I am no longer even sure I come from a similar enough culture to attempt to relate Singapore’s to you.
Beyond building a portfolio, as others mentioned—

You're assuming you have no relevant job experience. This is not necessarily the case. Lots of skills you need as a programmer are used in other jobs as well. So things you learned while working in sales might well make you a more attractive candidate than some other person straight out of school. E.g. being able to work independently is hugely valuable, and partly it's about technical knowledge you haven't accumulated, but mostly it's about a whole bunch of skills that transfer from other jobs.

Compare your skills as salesperson to what they were when you started - what did you learn? What can you do now that you couldn't then?

(Also, happy to look at your resume - itamar@codewithoutrules.com)
The Search for Jackie Wallace
One of the huge pluses of electric cars (besides the obvious elimination of humanity-threatening climate change gases) is that cities will be less choked with car exhaust smog. Living in a major US city, whose air is quite clean compared to many other places in the world, still means you get exposed to constant facefulls of car exhaust, truck smoke, and particulates every time you set foot outside.

That's not healthy on a direct human level, let alone a climate change level. We're at the cusp of getting rid of this miserable pollution completely, and maybe even having truly clean air in our major cities, in our lifetimes--why invent a technology to allow us to keep the smog and particulates around even longer?
Not any meaningful trend that I have realized. Most kids still flock to the large companies. Working for them for the prestige and pay is always the aim for the super ambitious, but, with the fat checks they get, working for Facebook is just the beginning of compromising ethics.
It can happen in offline games as well - I had a legitimate install where the campaign worked but a AI skirmish would trigger this (IIRC force-applying the latest patch, even thought it ostensibly was already installed, eventually fixed it).
No less than 330,000 banknotes introduced in circulation. The man is a legend.
Hey! Thank you for your post! I was pretty sure I hadn't formulated something new, and it's great to have a new book recommendation!

The result you mention seems intuitively correct, and meshes with my own experience. The career changes that I'll consider in my 40s are definitely not the same ones I'd have considered in my 20s. There's no time!
I don't think you're the only one. I think that, outside of being careful to not be caught, it's pretty okay. The only real thing I'd caution is that it's especially soul deadening to be in a job that legitimately uses so little of your skills and captures so little of your interest. If it's possible for you to live merely off of the side biz income, I'd say make the leap and quit your job.

You'd be changing comfort for urgency and meaning, imo, and as long as it's financially sustainable, I'd say that's a good tradeoff.
And I never understood calling a written piece 'pretentious'. The word works fine for a person's personality, but a static written piece doesn't deserve this type of slight. For one, there are probably better ways of stating what's wrong with an essay. Perhaps it's muddled or off-mark but what makes the article more relevant today is that more and more people (especially parents) are realizing that football is far more dangerous than what we once thought. Its dangerous medically, and on the other side, its dangerous financially & politically. Football is an immense business and enjoys deep conservative roots and support (at least in the U.S.). Those concerned with the obvious head trauma implications brought on even by high school football will find themselves massively out-gunned by the deep seated football support system. This article is (partially) an outgrowth of these types of concerns and the concerns are real. Today many of our universities,
especially in the South, are football teams (seeking new stadiums) attached to instructional institutions with starved library budgets. Maybe its nobody's fault, and just a circumstance of the market economy, but its a picture that needs to be exposed.
1. Banks/exchanges/Paypal have KYC regulations - fulfilling these are impossible due to Onion routing provided by the nodes.

2. My mom does not know how HTTP works and she uses the Internet just fine. It's naive to think that users are going to be explicitly opening and closing channels, finding best path, etc. These can be built into wallets and abstracted out. Besides, Bitcoin of today is already too complicated for the "average" person.
> FWIW, the current case seems to be "hardware works just as the spec says, OS blocks in anyway."

Based on what?

The comments from Plugable make a strong case that there's one or more un-fixable issues with certain combinations peripheral silicon that lead to an unacceptable customer experience.

As can be clearly seen in this thread, given the opportunity a significant slice of the population will choose to blame Apple, so the only sensible response is to avoid the situation.

Put yourself in their shoes; given these two scenarios:

a) some set of customers' peripherals stop working with "this peripheral isn't supported"
b) some set of customers suffer random hangs, crashes, freezes, data loss

And given that you only get to choose one of those two, which one demonstrates a real commitment to the customer?

I realise this doesn't fit the "Apple is always out to screw you" narrative, but I guess you have to ask... if it doesn't, perhaps your story's not so true?
> It's what everyone knows and uses.

That's simply not true. Perhaps in your immediate circle, but even there I'd have doubts that it is actually so. I've been in the IT for about 20 years and I honestly don't know of any "software people" that pronounce the word as "day-mon", so I't most certainly not true for wider audiences.

> "Day-mon" has better connotations among people unfamiliar with the concept.

You'd get a blank stare from most that don't know what you're talking about and a remark about pronouncing the word wrong from most that do.

Why would you want to mispronounce a word just because you think the actual meaning is bad in some way, is beyond me. The word is what it is, pronouncing it wrong won't change it.

And if you do a bit of research, you'll see that it doesn't mean what some B-rate horror movie made you think that it does.
Just sit there and wait.

It's becoming a lost skill.
If you have suggestions for other places to work let me know
Because being a dictator is such a safe job?
I took a 4 point hit for this comment, but I still stand behind it.
Facebook is the new McDonald's
You can, but there is a big difference: betterC is a subset of D, whereas unsafe Rust is a superset of safe Rust. That is, when you use unsafe, you don't lose any language features. When you drop into betterC, you do lose a bunch of stuff from D.
> I can see the point you are trying to make, but in this context, it doesn't work.

No, you don't see the point. Writing code in C that invokes undefined behavior is wrong, full stop. You seem to think that it's only wrong if you, the programmer, can imagine how it would go wrong.

> If the compiler were to 'optimize' that out, then the compiler just introduced a very serious and fatal bug in our program, and we didn't even overflow or UB.

Sure, in this case, the compiler can't optimize the assertion out. But it certainly can change the condition in the assertion so that it won't fire on overflow.
You have to wonder if deep in the vaults of GCHQ there are not records going back that long :-)