skysight-inc/HackerNews huggingface dataset:
I live in Thailand. People can squat here. People have all sorts of sitting and office injuries just like in the West.
You don't know. You accept that when you accept free speech.

Besides, propaganda vs truth is like porn vs art. It's impossible to define, and there's no human I'd trust to make such decisions (not even myself).
Out of interest, are you from the UK? The reason I ask is that I've seen the phrase "fitted for-but-not-with" quite a lot in discussions of UK military matters.
I studied EECS at Berkeley, but almost entirely just CS. I took maybe 1 circuits class. Even I have heard of memristors and Leon Chua.
I wasn't aware that squatting is such a big deal.

I often find myself squatting while working at my laptop. Frankly, it's just for a few minutes, because at some point my feet will hurt.

I wonder whether this is just a matter of exercise, or whether squatting for too long (in that position, with a laptop on the thighs) is unhealthy.

Most often I do this while in public transport, where I don't always find a seat. It happens rarely within the train but more often at the station, where the seats are even more limited.

In the beginning, I often looked for a wall to lean my back against. But I soon discovered that I don't really need it. Walls are cold and, in the end, they are just a help for balancing.
> I've heard it said before that you're responsible for every line of code you ship to your users.

This is a great way of thinking about it. I wish that more people took it to heart when choosing third-party dependencies to adopt, especially in the Node.js ecosystem where people are tragically cavalier about adding literally hundreds of under-scrutinized transitive dependencies to their projects.
A couple of books, first The Man Who Wrote Frankenstein[1] and later Shelley Unbound: Discovering Frankenstein's True Creator[2], argue that Frankenstein was actually written by Mary Shelly's husband, Percy Shelly.

[1] - https://www.amazon.com/Man-Who-Wrote-Frankenstein/dp/0943742...

[2] - https://www.amazon.com/Shelley-Unbound-Discovering-Frankenst...
How prevalent is that, really? I have literally never heard anyone say that, ever. I've certainly heard people express anger or disgust at some things people have said, but I have not heard anyone ever suggest that it should be illegal to say those things.
That is how the IE only path started, getting MVP out of the door by supporting IE 5.
The premise of the comment is that it is true for almost everyone, not that they realize it's true.
> FaceID doesn't "take images of your face and environment" though.

From "How Apple's New FaceID Works" at Gizmodo:

"Face ID starts with an image of your face, but builds on top of it with the TrueDepth’s dot projector, which will invisibly project over 30,000 dots onto your face each time you look at your phone, creating and building on its map of your features.

"'We use the image and the dot pattern to push through neural networks to create a mathematical model of your face,' Apple’s Phil Schiller explained."

- https://gizmodo.com/how-apples-new-face-id-works-1803813400

Your objection to my objection might be that FaceID doesn't store the images it takes, but uses them to construct a facial map that it stores instead.

But even if that were any better, that's not true, either.

From Apple's iOS Security Guide:

"Once it confirms the presence of an attentive face, the TrueDepth camera projects and reads over 30,000 infrared dots to form a depth map of the face, along with a 2D infrared image. This data is used to create a sequence of 2D images and depth maps, which are digitally signed and sent to the Secure Enclave."

- https://www.apple.com/business/docs/iOS_Security_Guide.pdf

The public nature of your face inherently makes access to your phone less secure than the private nature of your fingerprints or even a PIN. But it's not the security of the phone, or the photos or face map stored on it that trouble me.

It's the camera-based security paradigm I reject. It reduces resistance to a surveillance society, and increases the incentives for other businesses to use face-identifying software, which destroys privacy in the real world. I don't want people to get used to surrendering their privacy to access their data, and I won't buy a phone that sends a market signal telling the corporate world that I accept these kind of privacy-destroying technologies.

Anyway, thanks for the thoughtful response.
Ha that's why I spend most of my driving time stuck in traffic.

And why do 3 buses come at once? Because the first one takes all the passengers, so stops more and gets slowed down. The other 2 catch up.

And also if you do half your trip and 10mph and the other at 20mph your average isn't 15mph. You spent more time at 10mph!
How to Play Music on PS4 with USB?
I do not understand the consistent assumption that life on other planets must take a chemical and physical form similar to our own. Given the myriad of unique chemical compositions and the seemingly infinite ways in which information may be stored and propagated as molecular data, I feel it is myopic to constrain our search for life to such a narrow chemistry.

Sure, I understand that given limited resources it is sensible to look for what we know works, but I guess what I'm getting at is that articles which infer potential for life on other planets based on earth-bound extremophiles are probably not as substantial as they may seem.

I suppose time will tell.
It's also probably not worth overtly begging the question of weather maintaining multiple languages within one project is worth the burden (seriously the full build for the `source-map` package is complex in comparison to the usual JS state of affairs if you want to experiment with the now-Rust bits), especially considering that at least part of the reason node became popular was to have one language for all needs, since focusing on that would invite that charged discussion. As a polyglot developer, I welcome all the mixing of the languages that wasm is bringing (certainly, it makes my flexible skillset more valuable); but honestly I do think we're leaving _something_ of the past homogeneity behind in doing so. (Was FFI quality all that was stopping us from mixing tons of languages in our non-browser projects before?)

Circling back; both authors have their biases - it's best to read both articles skeptically, and IMO, take away the sage bits of advice they both echo and not anything about a specific technology: You should make the right choices for your project and your design, performance, and maintenance needs (including making your own evaluations), rather than jumping on some bandwagon without being properly informed. Also that profile-guided algorithmic improvements are usually the easiest place to make sweet, sweet perf gains (in any language) before you have to get into hairy maintainability trade-off decisions.
Yes indeed. We UKians often use it sardonically, for example our new carriers are FFBNW aeroplanes...
While we are here, I'd like to ask another question that If kids need to be taught to code before they turn 12. First of all, HN being a place where board games are lauded before Digital Smartphone games, How is teaching kids to code (using digital devices) seen.

Also, a day back, Woz made this comment:

"Woz advice on coding for children. Meanwhile, Wozniak cautioned parents to not force coding skills to their wards until the age of 12. He explained that the first 12 years are pivotal and crucial in shaping cognitive and thinking mind. “Coding is very important. It doesn't need to be taught before 12 years."

I'm seriously looking for some thoughts to validate my idea that coding could be started from Kinder garden (as young as when they learn to count numbers)
This is amazing! Does anyone know a good resource to learn more about Lambda and how to setup small projects like this?
I set up a Raspberry by with Kano OS for my 7-year-old (at the time) son. There were some toy coding apps, like Make Art and Hack Minecraft, and he had some interest, but I didn’t see anything that he could grow into over time, in terms of making more sophisticated programs as he gets more practice. They all seemed quite limited, although engaging.

I then set up my old Mac with Love 2D and Atom, but he wasn’t interested, because he’d also have to learn about files, directories and the command line.

He spends a lot of time on the iPad, so I recently bought Codea. With a bit of help, he was able to write code to draw some shapes and became very excited about it. I evaluated it myself and was able to make Pong in a few hours. It has loads of examples and can actually be (and has been) used to make quite sophisticated iOS games, right on an iPad. It helps to have a Bluetooth keyboard so the on-screen keyboard doesn’t occupy half the screen.
Perhaps the religious status evolved in response to increasing attacks on the BoR?
Clever. (In code, that's not a compliment, it's the opposite of "readable": no value is added, yet the code's intent is obscured)
How about some good _annotated_ code? :)

http://www.kohala.com/start/tcpipiv2.html - 15K line implementation of TCP/IP stack from BSD. Fantastic book, reads like a novel.

http://www.pbrt.org/ - fairly detailed write up on building a pretty decent 3D renderer
Scratch is a great community, where it's easy to explore others' creations, and share. The language is block-based. The output is graphical. And you can run anyone's program, and then view the source to see how they did it. Not many data structures, iirc.
I think being at the head of Palantir maybe gave him a deep understanding of what's really going on inside the federal government and he's a believer that there is indeed a swamp.

This seems to be one of the big issues that separates the Trump supporters from everyone else. Everyone else seems to think the government was run perfectly under Obama's presidency and Hillary's state department and Trump threw the whole world into chaos.
Isn't that exactly the point the parent was trying to make?

(Having said that, it's arguable that the police were not asking to be "quartered", and in any case, the 3rd concerns soldiers, not police.)
I Watched All 629 Episodes of the Simpsons in a Month. Here’s What I Learned
> How can it be standards incompatible if it works in existing standards compatible browsers?

You really have no idea how the web works, do you? Browsers do a best effort to display any page. Even if the HTML is totally absolutely invalid, the browser will go out of its way to display at least something.

The mere fact that something is displayed by a browser doesn't make it standards-compliant.

AMP is standards incompatible because:

- its HTML is not valid HTML 5 (just a few examples here: https://news.ycombinator.com/item?id=16467873)

- whatever extensions to HTML 5 they bring are not a part of any HTML standard, past or present. And it doesn't look like Google is interested in making them a part of any future standard.

> So hurray for you making a slimmed down page, but you're not the target audience, the huge number of other sites that have for years

That's not the point, is it? Google will still penalise my page even if it's way slimmer than a standard AMP page. And since I cannot afford to run a Google-scale CDN, it will perform worse than an AMP page.

So here's what we have in the end:

- Google (and Google alone) decides what AMP will look like. There are no discussions with the web community at large or the standards committees.

- Google (and Google alone) decides that only AMP pages end up in its own proprietary AMP cache. (Other "big aggregators" may/will also decide that only AMP pages can be in their proprietary caches)

- Even if a web developer follows all of Google's performance tips (https://developers.google.com/speed/docs/insights/rules) the page will still be penalised because it's not an AMP page (i.e.: not a page developed using whatever a big corp has decided, and running from a big corp's CDN/cache)

- Even Google's own page speed tools tell you that AMP is not fast, and yet everyone (even 100% optimised slimmed down pages) is penalised if you're not running the page from an overpowered private cache

A lot of mental gymnastics and total ignorance of how the web works goes into calling this an open, extensible web that will benefit everyone.
well, AFAIK we still have no idea whats actually needed for life to form.

Also the conditions for life were better on mars in the past so its entirely possible that life existed and kept on going on mars.
Report: Israeli Company Has Likely Found a Way to Break into Any iPhone
For visualization or maybe 3D printing, yea. But for finite element analysis, you don't want smooth filling at weird corners/etc. A flat surface is more efficient since it can have fewer mesh elements.

A weakness of this method is that it globally changes the entire mesh! That's bad. You might lose important detail elsewhere. I wonder if those refinement and unrefinement steps are really necessary or not?
When you take time to investigate the historical meteorological records you find out that almost all the highest temperature records since we started recording data are concentrated after 2010.

If you have a basic scientific education you know that any example starting by "when I was a child" is anecdotal evidence and have very limited value because it is akin to confirmation bias and cherry picking.

I'm curious as why you don't apply the principles you were bradishing to the 19th century meteorological data: http://www.isws.illinois.edu/pubdoc/CR/iswscr2011-02.pdf

About Greenland ice sheet disappearing your thinking is oversimplified by looking only at energy required to melt ice. There are several other mechanisms to take into account, for example the increase in cloud cover preventing refreeze at night, or the melted cover snow and ice running into moulins to the ground which then flow under the glacier lubricating it and acceleratiing its motion and thus glacial calving, etc.

When studying a system you need to have basic understanding of second order cybernetics and feedback loops. In climate change positive feedback loop are the reasons past a tipping point there's no stopping it.
D Fantasy Ove and D Philosophy Ove =
For me it's beyond that. I make constant use of my Dropbox files from Linux boxen, my iPhone, and a couple of MacBook Pros. I severely doubt iCloud would ever support Linux in a meaningful way.
I was with NWTel for 4 years. It's certainly a "Company man" kind of place. Old, old, old school management from the 1960s.

But the perks of living in the North are immense. I miss it every day and know for certain I will be back there when I'm done roaming Africa.
That faster than linear maintenance growth is exactly why you need SMs.

You don't need to test every scenario - only the critical positive/negative ones.

If you abstract out all the generic SM logic you can have a neat source file per SM that contains only the allowed transition mappings or do something like https://github.com/pluginaweek/state_machine where the transitions are contained behind methods.

My experience with recursion has been the reverse - the more recursion in use the less predictable the code behaves (at least initially) - but even just a little bit of SM usage can increase stability from the start and also forces you to think about all the states required.
I was introduced to Turing Tumble today, and I thought it looked pretty rad. It's not out yet, but the idea is to solve puzzles by building mechanical systems that do computation. Ages 8+.

https://www.kickstarter.com/projects/871405126/turing-tumble...
I had the same impression when it first came out and I dipped into it in the bookstore a couple times: it looked like a good treatment of a bunch of topics I'd mostly already been introduced to.

This misses what I found most valuable when I did get around to it. There's another thread up on HN right now, "Nobody's just reading your code". Back then I read a lot of code from books, and read more actively by treating it like a reviewer: how could this code be clearer or otherwise better, how else might you do it? Most of the time, in many other books, you wouldn't get far before seeing some clear improvement. In PAIP this basically never happened. Often enough I would think of something, but if you worked it out in detail there was some less-obvious reason the code was the way it was. At one point I spotted a bug, and he wrote back that it'd been a year since the last bug report, and he'd started to hope there weren't any more.

All the code in the book is pretty short, and it's not really "production code", but it's enough to be an education in craftsmanship at every level. I found that more interesting than the object-level topics, though they're worth learning about too.

Nowadays if you prefer Python you can get a similar experience at https://github.com/norvig/pytudes#pytudes-index-of-jupyter-i... treating different examples.

One more personal reaction I had to this book: feeling like here was someone else with some of the same values. (Only, you know, smarter.) Someone with a similar taste, who couldn't resist coming back to their code repeatedly well after it's "done". The work in the end looks pragmatic, but sort of an idealized pragmatism: you have to really want to produce your best work, to work that hard over it.
Thanks for this plugin!!
Overall Amnesty has made a reasonable assessment of the issue. Apple is clearly in a difficult position and has to make compromises to keep doing business in China.

>> The best way to protect your personal information from being accessed by the Chinese government is to avoid storing it on servers inside China.

Fair enough, but as anyone who has spent a fair amount of time working and living in China knows, access to services hosted outside of the country can be difficult, if not impossible, without a VPN. Beijing's current plan, is to block access to any non-approved VPN services by the end of March 2018. Assuming that ban goes into effect, it will effectively cut users off from services not approved for the China market. Whether or not this will include Apple services hosted abroad remains to be seen.
Isn't it actually built on top of Datastore?
California Scraps Safety Driver Requirements for Self-Driving Cars
It so happens that I was interested in increasing my flexibility anyway. So yeah, I'll definitely look into this.
6 MUST SEE THINGS FOR NAADAM FESTIVAL
Naadam is the most important holiday event for Mongolians. Therefore, there are a lot of tourists direct to Mongolia during Naadam festival. But most of them end up only scratching the surface of the rituals and misinterpreting their meanings, and even city Mongolians are unaware of some of the great things happening. Hereby, pay attention for this news and catch up must see things for Naadam festival before you visit.

Mongolian horse racing, wrestling and archery are consisted in Naadam three manly games.
anki foss
If you assume that physics works the same on other planets then carbon-based life is simply the most likely simply from the chemistry we know about.
Speculation about say Si based life isn't new but nobody has come up with how that type of organic chemistry might plausibly work.
I’m going to guess that it starts with an “m” and ends with an “oney laundering”
I'd go just to hear a speaker called Douglas Squirrel.
I don't think the ability to squat comfortably depends on race. For example, Soviet (so Eastern Bloc as well) prisons had a culture of squatting, due to overcrowding. Sometimes you still spot an older man squatting, like he could do it all day.

To predict a Westerner's skeletal inflexibility, I think it's enough to ask if he took up activities that required flexibility at an early age. In Japanese and Korean cultures that's plain squatting and sitting on your heels. Not that there aren't different kinds of flexibility. By Westerner, I mean someone with an excessively sedentary lifestyle.
Very Cool!
This is heartening news - I bought the e-book of PAIP a while ago, and the OCR in it is horrible, with many errors (although perhaps they were deliberate, to keep readers on their toes?).
Ahem, cross-platform case sensitivity issues, symlink utterly doesn't works, but yes, apart from that, it's amazing.

You might give gocryptfs [1] a try, with it you can keep [part of] your content encrypted in Dropbox.

[1] https://nuetzlich.net/gocryptfs/
As someone that live more or less following that code, i am employed and my employer is really happy with me.

And the day i leave, i know i will have multiple offers, because people know me and want to work with me.

I am sad that you think that this is the state of business. It is not. And that is nice because otherwise i would be really sad.

I hope you do not have to do bad things at yoir current work, but if you or any reader feel trapped, maybe we should discuss how to help you move to a situation where you can afford this kind of oath ?
SBCL is mostly written in Common Lisp. It has a compiler that can compile itself. Part of that compiler are definitions of building blocks (VOPs or virtual operations) that describe snippets of assembly code. So as always, you use the tools provided by Lisp to create a DSL that allows you to write code as is practical for your use case.

For an example look at https://github.com/sbcl/sbcl/blob/master/src/compiler/x86-64...

You can find similar code for other ISAs in neighbouring directories.
I agree wholeheartedly. I'd love to see an open source project or even the Mozilla Foundation or Canonical take on this challenge.

Either way, until that happens, I will not be having such a pervasive data collecting device in my home.
This is not how humans work. Humans are not rational emotionless robots. Humans are complex beings , they have feelings, biases and emotions which they do not control. It’s humane , considerate and kind to keep that in mind when communicating with each other.

Nobody is perfect. We shouldn’t expect anyone to be. Being kind and considerate is not a waste of anyone’s time, it’s not disrespectful nor patronising.

Maybe all of this is not true for OP, maybe they’re so zen they immediately see past their human instinct to attach themselves to their work (a well known and documented human trait). But it can’t hurt to be tactful , just in case they’re not.

I know I personally would’ve felt hurt if that first comment were the reply to something I did. I might, hopefully, have realised that it was, indeed, a useful comment and that I should swallow my pride. And I hope I would have the presence of mind to reply with a smile and a thank you. But it would be a pretense.

Why put each other through that? We can be truthful and tactful. There is no reason to be blunt.

I can understand the desire to unshackle ourselves from the low entropy morass of politeness. It’s fake and not what you really feel, right? The truth shines through anyway, so do them the honour of not sugar coating it, and be straight? I do understand, but hear this: you lack the nonverbal cues to make that incredibly delicate call. Face to face you would see the twitch in someone’s eye, the soft breeze of disappointment whisking along their face. A tear of pain streaking their human heart while they smile and nod and say thank you. You have an incredibly attune radar for empathy, and you would adjust. But when you lose all that, and the medium for your truth is this harsh knife forged from the soulless steel of words, it cuts more sharply than you can imagine.

In a text only medium, I implore everyone on HN: take a moment to consider our humanity. Not just here, but in all threads. Not just of the person we reply to, but of those we speak of. They might read it one day. And they, too, are human.

(I should say the painful irony in this rant is palpable to anyone who knows me :( but I am not proud of it. Perhaps it’s precisely why I feel so strongly. It does, after all, take one to know one.)
You can't go wrong with https://play.google.com/store/apps/details?id=net.frenchguys...