skysight-inc/HackerNews huggingface dataset:
I should mention in the post that source-map version that relies on WASM actually requires you to manually manage lifetime of SourceMapConsumer object[1], which my change does not actually require because the memory object is encapsulated within SourceMapConsumer itself.

I do agree that the way I manage mappings is hardly ergonomic. As mentioned in the post I would prefer to use Typed Objects to access the packed array of mappings,
but alas that proposal is stalled.

[1] https://github.com/mozilla/source-map#sourcemapconsumerproto...
There was even a firm proposal for user-defined value types in JS, but asm.js (and now wasm) took all the air out of the room - though I'm not sure it would have ever gotten implemented in all the browsers anyway, since only perf-sensitive developers care about it.

EDIT: I noticed it's actually mentioned in a footnote in the article - the Typed Objects API was really nice, I had a chance to use it for a prototype.
There isn't anything new, but it's also worth remembering Mark Twain's quip: history doesn't repeat itself, but sometimes, it rhymes.

FaaSes do add some twists on CGI. In CGI the short-livedness is the process, in a FaaS it's the container. A CGI program can get away with relying on local modifications to a file system in a shared environment. FaaSes somewhat point away from that.

There's also the speed of scaling. Insofar as FaaSes rely on lower layers to insulate the layer between process and machine, it becomes plausible to grab a number of machines relatively quickly. There's a cold start cost, to be sure, but the cold start on "launch this container" is probably better than "install this software and then launch it".
This isn't true for masters and bachelors theses. At least, it wasn't for mine.
I think it's not just a gaming problem. The social networking fastfoods and TV is also about short instant busts of reward.
But how would not selling iPhones in China, on principle, help anyone?

The perfect world where Apple tells China what to do doesn't exist. Ok. We know that.

Now what? Bail? Why? Stick around and play by the rules and play the game and maybe someday make 1% positive difference? Seems like the lesser of two evils to me.
The cruelest part of this whole farce- Apple might not get very far in China even with government sanction.

WSJ: "Why the iPhone Is Losing Out to Chinese Devices in Asia"

Google link: https://encrypted.google.com/search?hl=en&q=Why%20the%20iPho...
Virgin Galactic Ex-President on the smart way to build new products
Aren't most or all of those other companies Chinese? Apple still stands out there, especially given their "pro-privacy" slant.
China is overt with it's threats of blocking businesses if denied data. One can imagine the covert agreements between Apple and Western governments being the perfect storm - Apple positions itself as privacy focused -> customers are more willing to store sensitive information with Apple -> Apple provides access to government agencies without notifying users under covert agreements
Full body workout becomes much more important as you get older, otherwise you lose mobility much sooner in life.
In the "average monthly sea ice extent" the y-axis cutoff is at 13, making the loss look much more dramatic than it is.

Don't get me wrong: it IS dramatic, but I despise graph trickery to get across a point.
Launching Hekob – Onsite Crash Courses (Udemy in Real Life)
I'm not the quoted person, but we hire Elm devs (or people who want to become Elm devs - no prior Elm experience necessary; you can pick it up after joining!) all over the world.

Most of our team is remote, including one from Copenhagen!

http://noredink.com/jobs
Seems debatable to me. Since the 1960s, Ken Cooper has advocated for workouts based primarily or exclusively on cardiovascular exercise like cycling. In his book "Aerobics" he had an example comparing a cycling commuter to a dedicated weightlifter and (as I recall) he didn't think the weightlifter was improving their fitness in the ways that matter.
Having worked for nothing but large-ish companies, I tell everyone I can "The company will never love you like you might love it".

Take that vacation. Take that time off. Ask for that raise.

Tomorrow someone you've never met (and may never meet) might circle your name on a list of employees to be laid off. Never knowing what you did or didn't contribute. Or how dedicated you are.
Crafting Interpreters: Chunks of Bytecode
I think this was only to demonstrate the point. Elm's string concatenation operator is ++, so you never run into a case where this would happen.
FWIW, quick look at Rust code actually reveals that that implementation is also different algorithmically from what I was optimizing, e.g. it only sorts generatedMappings array.

In reality it means that performance of my code should not be that far from what WASM is showing because sorting of originalMappings (which I do eagerly and WASM version does lazily) is one third to one half of the overall runtime.

I will try to measure and update the post tomorrow or Wednesday.
Not OP. But when my doc said I have ADHD I gave it a try and it doesn't for me. I tried several dosages and settings but it does never improve my focus and especially not my motivation. If anything the wrong dosage made it just worse.

I still don't see the use for these pills out of last resort party add on.
Implicit interfaces reduces compile time dependencies. One of the original target features of Go was that it wouldn't take forever to compile Google-scale programs, like C++ does.
Nice catch, thanks! I didn't realize that. Looks like no control characters are allowed in JSON string literals.
Don't you want people that care about your product instead of the technology behind it? I do. Because there may come a time when another technology is a better fit for your product and ultimately your customer's experiences. Then what? Now your not using elm and your team leaves or is disgruntled. I hire on passion for what we are trying to accomplish, not the technology stack.
Yea you don't really need a gym, but I'd bet most people simply don't have the space to do many workouts in their home comfortably these days if the stories I read are accurate.
Pairing is very much a cultural thing. It's either normal or it's not. If it's not it tends to only be a "ask me for help if needed", which leads to not doing it. That's not really pairing either, that's just "Let me know if anybody needs any help."

The perks of pairing are regularly unsticking stuck people, getting another set of eyes on a problem, learning from each others development habits as a side effect of doing your job. People tend to really overthink what is involved in pairing, turning it into some rigidly drilled type of exercise.

All that is needed to get most of the benefits is to fire up a screen share and verbally communicate while the main developer keeps working. Everything else falls into place. Even if it's just for a couple of hours here and there rather than "finish this entire story with this person" it's beneficial.

When people get stuck on something, it can become harder for them to focus. They'll start looking for alternatives like opening HN or Facebook, reading an article, etc. For a lot of people trying to prove themselves, asking for help isn't going to happen until it's too late and that makes it easy for people to work in their own little bubble.

If it's considered an interruption for you to screen share while the person continues to code, you're doing pairing wrong.
True. (And you're right that it contradicts Apple's privacy stance outside of China, which justifies examining their stance here a little more closely; my swipe at the Apple-mention-as-clickbait may have been a bit of a knee-jerk. Apologies for that.)

But I would be shocked if the other major players (Facebook, Google, etc) aren't also participating in this; it seems to be the price of entry if they want to continue doing business there.
I use example.com which is also guaranteed to not be https. If I'm asking someone else to type the URL in, it is easy to say "example.com" and know they can spell it correctly. It's also very light weight.
> * Are people in those places using them for work or leisure?

It's just a way of getting around. Bring the kids to school, pick up some groceries on the way back.

> * I've seen them used in Netherlands for carrying children and such, while it seems that predominately, more Americans are dual income families, with children being cared for in daycare / school during the days.

Same thing in the Netherlands and Belgium.
OmniFocus for all actionable items
Pinboard for tagging links
Google doc listing quotes I like
Instapaper for reading later
YouTube for watch later
Overcast + huffduffer for listen later

All of these work/sync cross my desktop laptop and iPhone.

In progress is a wiki type system for potentially typing it all together. Dropbox Paper has been great for the wiki part.
This. I know many scientists who've been claiming that their SO was the reason for their success. I know I've personally started working a lot more since I've been caught.
"Functional language" has come to tend to mean a language with an ML-style type system, possibly because almost all serious languages these days have first-class functions and map/reduce/filter. But ultimately the term means different things to different people.
> Lots and lots of tweaks and knobs and dials

This is the case with all big-tent, "community-driven" PLs that have a high expressiveness, and attract contributors that have a multitude of preferences: Ruby, Javascript, Scala, Clojure, Haskell, Racket

Alternatively, are the 'prescriptive' cultures, that tend to select for predictability and high cohesion: C#, Elm, Go, Python (circa-2007).
Setting up UniFi controller software in Ubuntu on the OrangePi Zero
Clojurecademy Job Posting Discount(%50), Code: CLOJURE50
That was an amusing read. True to Apple's "form over function", like how the wireless magic mouse doesn't charge from the edge because that would leave a notch. I suppose with iPhone X, notches are 'in' and we can expect a new mouse.
A Crisis is coming
As tom_mellior says, CompCert is just a compiler, and it's not deviating from the C standard.

The C standard says that sizeof(int) is implementation defined. CompCert has to choose a size, and they go with the unsurprising choice of 32-bit.

As for no UB in signed overflows: where the C standard says 'undefined behavior', that doesn't prohibit an implementation (i.e. a compiler) from picking a well-defined behavior. It just means that portable code mustn't rely on that behavior - build such code on a different standards-compliant compiler and you might end up with demons flying out of your nose, etc.

> it is practically impossible to find some actually useful C code that is fully portable and compliant.

Disagree. The C/C++ code I've written has been portable and standard. The hardest part was that CMake is a trainwreck.

> if the default settings lead to way too many false positives, the users might end up giving up before learning how to turn some of them off

That's more an issue with legacy code that when writing new code.
I can't imagine it being legal under GDPR when that comes into force.
This is the typical response to pair push-back. And I have no interest in convincing anyone why it is not for me. I will interview.
The math is not that obvious because Rust implementation does not match 1-1 what baseline JS version was doing (e.g. it sorts only generatedMappings and not originalMappings).

I will do measurements later to compare and update the post.
It's not so black and white :)

Robustness, you're absolutely right, Elm cannot be beat. But it comes at a price: It's pretty limiting/underpowered. Typescript is very expressive these days and you can write some very neat libs that feel dynamic but are actually fully typed, if you bother (to be fair, most people don't bother). On the other hand, Elm usually doesn't provide many ways to do something, and you may even have to cheat and offload some work to dirty-old-JS-land via a port to unblock yourself or simply deliver a functionality on time.

I'm still unsure whether the freedom is worth it or whether the robustness wins at the end of the day; it may depends on what kind of app you're writing and how strong the team is (e.g scala has the same "issue")
I am one of the very few people in my circle who doesn't game. I always wondered about these things myself.

Especially the instant reward expectations seem to grow a lot with abusive gaming behaviour.
Personally I also don't think weightlifting is really the best way to achieve fitness these days either, it is simply the most straight forward for people and the easiest to understand. After lifting weights for over a decade I moved on to calisthenics focused training, which I feel is superior but more complicated to learn at more advanced levels.
If Facebook itself does not, then those with the power to game Facebook itself will do so, because there is a gain to be had by disseminating disinformation, propaganda, distraction, fomenting distrust, etc., etc., etc.

What you actually do want, whether you realise it or not, are well-formed, well-behaved, epistemic systems. Note that the original false dichotomy I referenced was between no regulation of this and unaccountable regulation.

The fact that that is in fact not the entire universe of possibilities seems to be being studiously ignored.
Stop using polar bears for climate change propaganda. Most data shows that polars bears have adapted to melting ice with some populations even increasing. Some polar bears whose populations are in decline are actually thought to be effected by overhunting. Overall, polar bear populations are stable to increasing. The starving polar is thought to have been old or suffering from cancer.

http://www.slate.com/articles/health_and_science/science/201...

If you use lies and mistruths to bolster your point then you scuttle your entire argument.
My own strategy with such people is to bore them into never speaking with me. Every such question, I'll take a moment to compose my thoughts, and then begin explaining, as thoroughly as possible, in a monotonous cadence, exactly what's been going on. I'm also sure to always add that reporting on progress is consuming a significant amount of time, especially because it is an interruption.

I also repeat any instruction given to me in different words, and describe what I'm currently working on, what I think the priority of the new thing should be relative to current tasks, and ask if they agree with me.

In my experience, people simply lack the will to repeatedly endure lengthy and dull interactions. I can tell they zone out soon after I start talking, and I keep lashing them with boredom until they learn to not interrupt me.

I'd suspect the kind of person who asks for an update every fifteen minutes is doing so out of a minor sadistic impulse, rather than for any legitimate reason. If so, the important thing would be never to appear bothered by it. That would be my strategy at least.
That's one of the first issues I've had with Go. To the point where, all my go projects are something along the following lines:

projectname:

|- go
|-- src
|--- domain.com
|---- username
|----- projectname
|------ Actual Code goes here...
|-- pkg
|-- bin

It's a fun time explaining this to anyone new on the team...
The issue with riding sidewalks, outside of pedestrians and it being outright illegal in most states, is driveways and curb cuts. At any reasonable cycling speed drivers will not see or react to you in time, because they're almost always focused on the road looking for passing auto traffic.
I think the hiring woes problem for languages like this is a reasonable hypothesis, but I've never seen any actual evidence for it. I constantly hear from folks who are worried that they will have this problem, and frequently hear folks saying they tried it and it wasn't a problem (see sibling comments, for example). I'm not sure I've ever heard from someone who has actually had this problem.
Python. Data processing and such. I like doing pretty much anything that is not UI. Been in the field (programming, that is) for ~15 years. Currently working for a failed startup that got acquired by another startup. :) Did this satisfy your curiosity?
I believe that naming and shaming unscrupulous founders who fuck over people like this would encourage more to codify these agreements in writing from the get-go.

The company is the one that made the verbal agreement, which they could have written down at any time. The company is the one that abused it's power, and most importantly, the trust of the employee. To me, that is an incredibly heinous act, which should come with draconian punishments.
If my private key never leaves the hardware, does this mean I cannot make a backup copy of my private key? What would be a reasonable strategy to overcome my hardware key getting lost or damaged?
We know that because China has banned western tech companies in the past when they don’t play ball.

https://www.investopedia.com/articles/investing/042915/why-f...

https://en.m.wikipedia.org/wiki/Google_China

Also twitter and Snapchat.
Google and Facebook are banned in China.
If my local library didn't have it, and the local bookstore didn't have it, the book may as well have not existed. The local bookstore was the size of a shoe store and carried a handful of popular titles and the most technical books they had were about building decks or, if you were lucky, rebuilding motorcycles.

You say the book wasn't rare, but I didn't know anyone who had one, or who even had access to one. I had a friend with a technical reference like that, but it was for the Apple ][, so that was no use. The only access to computers at all was at the local school, and the faculty had no idea how to use them for anything other than to train kids on typing.

Now that book is available online for free which is a sterling example of how much things have changed. Anyone who wants this information can get it if they look hard enough, and anyone with questions can get them answered by experts.
> A large dairy animal approached Zaphod Beeblebrox's table, a large fat meaty quadruped of the bovine type with large watery eyes, small horns and what might almost have been an ingratiating smile on its lips. 'Good evening', it lowed and sat back heavily on its haunches, 'I am the main Dish of the Day. May I interest you in the parts of my body?' It harrumphed and gurgled a bit, wriggled its hind quarters in to a more comfortable position and gazed peacefully at them.
Amen. https://12factor.net
Introducing New Ethereum Powered Dapp
The same counts for US and the security law. If you market your offering to an American, even if they are in Europe, and you actively ban all the US traffic, SEC has a right to go after you.
Peace and quiet is all about the noise in your head
This a fascinating article that provides lots of worthwhile information for anyone planning in fitting a power law to their data.

I will probably never read another of the author's writings due to the pervasive negativity.
The main idea of Cryptolotto is straightforward: people from all over the world contribute equal amounts of ETH to one wallet during the set period of time. When a timer ends, this smart-contract powered wallet automatically sends all received ETH to one randomly chosen wallet-participant.
If Mark Twain were alive today, the saying would be "Lies, Damned Lies, Statistics, and Benchmarks"
My "local dealer" was a Radio Shack and they didn't sell anything Commodore related. If you wanted to know about Tandy, though, did they ever have you covered!
That's the thing...it's the typical response because it's true...

If pairing periodically is enough of a burden on you that it would cause you to interview elsewhere, it really seems like you're overthinking the impact.
Well then. I stand corrected, thanks. Guess they chose not to pay the price of entry. Good for them
RedLang Blockchain Site
Google AI can predict heart disease by looking at pictures of the retina
With the caveat that it's apples-to-oranges (algorithmic changes to the JavaScript version (~4x) are not in the Rust version (~5.9x)).
+1 to that. Or at least some subset that speaks the ZFS-protocol if such a thing exists.
Or maybe the author is cleverly using centralization against itself.
We're left with that infrastructure with no real money to change it.

And with no money maintain it. Also with an "infrastructure of corruption" that soaks up whatever money is spent to change the situation. America has painted itself into a bad corner today.
I recognize that rape, robbery, assault and murder are sadly inevitable parts of human life, but I refuse to participate in, aid, or abett it. The inevitability of wrong-doing is not license to be a doer.

So it’s not the lesser of two evils, it’s just participation in evil for profit.
So are the authors lending or just talking?
Sometimes it's also a bad self-diagnosis, we tend to forget that a few months ago we were the most productive. People have ups and downs.
Health Disparities Within Cities: What Does Gentrification Have to Do with It?
I wonder if North Polar Route will become commerciably viable.
He's seeking research or data supporting your claims and conclusions, not for you to repeat your claim again.

For example, it would be useful to provide supporting evidence of secretaries declining in numbers/ratios related to cultural preference, not technology advances.
Sorry, what? There are obviously a lot of massive challenges to overcome, but how is today’s propulsion technology specifically a limiting factor to being a multi-planetary species?
I made an external snow brush
I love Erlang and their attitude about keeping systems running. Plus, the syntax gets a bad rap when its just different. Sadly, the process and state models are different from what really interests me in agents.
My reason to give up Digital Ocean would be to get proper IPv6 support. Right now, DO assigns you a /124 address.
Amazon also had to sell to local partners.

https://www.reuters.com/article/us-china-amazon-cloud/amazon...
My friend and I made a snow brush that stores outside your car. We are product developers from Michigan.

After getting to work with a wet butt (from opening the car door to reach for our snow brush and snow falling on the seat) we realized storing your snow brush inside your car is not ideal. Although it is not a complicated problem, we brush off our cars every morning before going to work, so it wasn't without good consequence to address it.

We spent some time looking at the problem, where to store, material, anti-theft features, etc. We ended up designing it so it stores on a license plate frame as this area is already designed to be protected from snow.

I would love to share our design with you and get your feedback, opinions or questions.

Cheers, Joe
Pattern matching on GADTs will get you there, I believe.
Just because someone is going to get screwed either way, doesn't mean it's OK to be the one screwing them. Apple claims that they care about the privacy of their users, but this demonstrates that they don't care at all.
City Union Bank was victim of a cyber attack that used #SWIFT to transfer funds
> So presumably AOL rose to prominence in era zero?

Yes, it rose to prominence in the bbs era that preceded the big public success of the WWW.
I don't think it's rude at all.

From the title, I'm very interested in the topic since a portion of my job is some form of data analysis and aggregation.

However, it's been 15 years since my Linear Algebra course and I haven't done Multivariate Calculus since high school, which even then was just a very basic introduction to the topic. I'm too far removed from that level of math at this point in my life. Further, the data I'm looking at doesn't often lend itself toward linear regressions or mathematical analysis. At least, not in a meaningful sense. It's rare that even a simple standard deviation is even particularly useful.

I appreciate that the author tells me up front the type of paper being presented isn't the type of paper I'm interested in reading even though.