skysight-inc/HackerNews huggingface dataset:
> The lens comes from another supplier.

The physical focal length of a phone lens is about 3 to 4.5mm. There's not a lot of light-physics you cam do in that much space. Even a cheap point-and-shoot fixed-lens camera will be superior and will cost much less than the phone upgrade increment.
“Hello, I'm a programmer in a movie”
Check out the Luna display device if you have a new iPad. It allows you to stream your Mac to your iPad, works pretty well if you have a situation that calls for it.
You didn't mention `''` vs `""`. Those have the exact same semantics. And indeed there is no preference. The zen isn't a 100% unbreakable set of rules, its guidelines though, so I'm not sure what you're trying to get out of catching Python violating a document that contains the lines

> Special cases aren't special enough to break the rules.
> Although practicality beats purity.

The entire zen is self-contradictory, and people are well aware that python breaks the "rules" in some places. That doesn't make the guidelines bad, nor does it make the fact that they guide most of the language and its design less true.

Having 2 ways of defining string constants is useful. And given that practicality beats purity and all, its acceptable to violate the Zen when its sufficiently useful.
Source definitely needed as Wikipedia and other easily searchable sources online seem to disagree.

From Wikipedia: "Kinmen or Quemoy (/kɪˈmɔɪ/; Standard Mandarin Pīnyīn: Jīnmén; Hokkien POJ: Kim-mn̂g (locally) or Kim-mûi), officially Kinmen County, is two groups of islands governed by the Republic of China (Taiwan) and located just off the southeastern coast of mainland China."

https://en.wikipedia.org/wiki/Kinmen
The only answer is bitcoin. The rest are scams highjacking the technology to sell pseudoscience and vaporware. See Ethereum
Much more scalable than Monero as you do not need to store the blockchain only the UTXO set
Thank you! I look forward to going through the links.
While true, that's because "Probably no one will ever use or contribute to your software" even if it is Open Source™.

The nauty graph isomorphism program is an example of non-Open Source™ (it did not allow use in projects "with nontrivial military significance") which did see wide use, in applications like Magma, Sage, and GAP.
Yeah. However you have the option to not pause if it is important. You can control where the memory management happens. You can either keep references to the memory, and call gc.disable(). When you are ready you can let go the references and enable the gc.

PyPy now lets you control where memory management happens. Making it possible to control worst case performance. For many production apps this is a big deal.
on a different note - Cisco is trying to reinvent itself as a SAAS company. Acquisition of AppD, BroadSoft etc, imply that. More here https://www.cisco.com/c/en/us/about/corporate-strategy-offic...
> 2. Learning to learn is popular but its kind of vacuous. (You may disagree, and this time I may be in a tiny minority who hold this view). So I think the sentiment reader might need tweaking.

I agree. I thought that it would teach me something revolutionary but it didn't. Granted, some of the things they teach are useful.

I think the course is just a victim of some people hyping it up too much.
This is exactly the same as bitcoin and addresses but in reverse. Also a lot less secure
Hmm... I'll go ahead and give you my opinion since I might have a similar background to you (I worked in classic ASP too) and I love React.

1. It's small. You could implement it in 100 lines of code if you wanted to.

As an example of an alternative that I skipped, Angular was very popular a few years ago, but it never appealed to me. I didn't like the dependency injection, magic variable names, etc. that seemed heavily influenced by Java. React does only one thing (take some data and render a view of it) and does it exactly right, IMO. I was on a team in 2006 where we were trying to achieve basically this on top of ASP.NET but never got it right. So when I saw React I thought: finally! I never really liked Rails either, so your opinion might differ here.

2. Having your UI defined declaratively as an unambiguous projection of your data is extremely powerful. It makes it vastly easier to reason about what you're seeing in the app and how a change will affect it. I actually liked this in WPF as well when I worked with it briefly long ago. It felt like some web people had snuck into Microsoft and managed to ship a framework before being discovered.

3. Following naturally from #2 but not strictly part of React, encapsulating state transitions and then replaying them, rewinding them, etc., all fall out automatically. Making a change to your SPA and having the browser hot-reload all the code and put you back in exactly the same state was a great feeling the first time it happened for me. Maybe Rails or whatever does this too, I don't know.

I don't like mixing styles and code either. I still favor CSS outside JS. That's not part of React.

Oh yeah, you asked for examples. Well, it was trivial to implement undo/redo on a recent project. Debugging is much easier. Testing is easy to automate. There are so many times I've thought "that was easier than it should have been" that I can't remember specifics at the moment.
Google Fi gives you a second SIM for free which is nice.

Doesn't help me at the moment though, every carrier in Canada seems to add an extra fee for a second SIM even when I just want it to share the same plan.
7 billion people X 1 wallet of fully merged TXs X 100b / tx = 652 GB
I'm a machine learning engineer with notable successes in improving systems for document classification and item recommendation. I have experience with managing small teams, mentoring beginners and explaining complex concepts to non-engineers.

https://www.linkedin.com/in/romanorac

https://github.com/romanorac

Location: Slovenia, Europe
Remote: Yes
Willing to relocate: No
Technologies: Data Science, Machine Learning
- (ML stack) numpy, scipy, pandas, scikit-learn, keras, jupyterlab
- (coding) python, java, go, sql
- (big data) experience with Spark, MLlib and Elasticsearch
Résumé/CV: https://drive.google.com/open?id=17pgQ6StJegjnlOL3rzVQp5ikwtwtRoRJ
Email: in CV
Very convenient that it’s a nice round number.
Not all of these were hot wars, but the point of overwhelming force is, best case scenario, you don't have to shoot anyone. Hawaii, Panama, Nicaragua, Honduras, Haiti...

Did you know that USA and allies attempted to keep the Tsars in power against the Soviet Revolution of 1918? I didn't until now...

https://en.wikipedia.org/wiki/United_States_involvement_in_r...
Requiring complex functions to have names isn't hostile to functional programming.
> While Tesla has a geographically large charging network, it's density is pretty horrible. In DTLA for example, you're 9 miles away from the closest Supercharger

That's sort of the point, the Supercharger network is designed to facilitate long distance travel. So the stations are spread out along highways. The other networks are bunched up in cities. Try using plugshare.com to plan a trip using CCS chargers vs Superchargers. Say San Francisco to Portland, or Denver to Dallas, or LA to New York.
It's extremely primitive. Far better tutorials and bytecide designs exist, much better than those perl-, php-, python- alike bytecodes. Unfortunately only such primitive designs get written and used.

SICP e.g. starts with this and then goes into its improvements, whilst better lisps or lua start with tighter opcode designs, and do proper closures and lambda lifting. python cannot even do proper lexical blocks/functions, the most important part of a interpreter/compiler design.
You should be able to get touch working - https://github.com/jakeday/linux-surface

I haven't tried personally but I've looked into it before.
The application could be split into pieces. Most game content is not going to be needed for many hours from you starting the game, so why wait for it to be downloaded? You likely can download >100mb while you show the credit screens in an AAA game.

Steam actually offers the option to start playing before the download is complete on a few titles (not everything supports it)
Good. I hope a class action lawsuit has Uber paying every victim of their predatory model against employees. A multi billion dollar scam to suck money and life out of people looking to work - that’s their “disruption”.
In current location mode, Apple's Weather.app transmits over HTTPS latitude/longitude twice, once for general weather and once for air quality, both in the GET url.

No other information about you or your device is provided anywhere in the request url or headers. No other requests were made to api.weather.com during "check the weather" testing.

://api.weather.com/v1/geocode/...

://api.weather.com/v2/globalairquality?...
They wanted to take my 2017 MBP for a week to replace the faulty keyboard. I was forced to buy a new machine because I can’t afford to be unproductive for a week. Having a $3000 machine sidelined for a week by a design flaw that oringinates from Apple’s obsession with making pretty and thin devices over any practical considerations means I will be taking a very serious look at a windows laptop for the first time in over ten years when this MBP is due for replacement.
Would love to connect. My email is in my profile.
> "willingly" implies "willfully" and even "wittingly" and near-zero of the people Facebook tracks actually understand the depth of tracking or even a hint of it.

They don't understand the full depth, but they know enough to understand that Facebook is violating their privacy in ways that they don't understand. They know that Facebook is unhealthy and insecure. Anyone with any political leaning has a lot to say about the ills of Facebook. People pretty much get the idea that Facebook is a bad actor.

> Facebook is abusively invasive, and no amount of appeals to user choice changes that

It's not an appeal to user choice, it's an appeal to basic property rights. If I buy a bunch of servers and throw them up on the internet I can do whatever I want with them, it's not my fault if you choose to access my servers, at my expense, and litter it with your own personal data. Of course Facebook is abusive, but there's literally zero reason you are obligated to use Facebook. ...it's an app, just uninstall it.
Apple does not act as a proxy. Their app transmits lat/long to api.weather.com. See also: https://news.ycombinator.com/item?id=18822350
It really is though. It doesn't prevent it, but it sure as shit doesn't encourage it.
Do SAT scores correlate highly with parental income after controlling for parental SAT scores?
Nice thanks, but the top text gets partially covered by the fixed top navbar on mobile view (Firefox/Android here)
The purpose of the US Navy is to keep trade routes open. When countries close their ports we have an absolute conniption.

The entire 20th century was a war between globalization and the self-sufficient dream of communism (I don't know why they couldn't find a happy compromise myself, but alas) -- a fight to keep "trade" flowing -- this often manifests in the west extracting resources from less powerful countries (not saying Soviet Russia never extracted resources from poorer countries)

I don't have all the answers but USA is out for itself just the same as everyone else is.
DDG's allure is that it doesn't track you. Apple has a track record of investing into not tracking you, so IMO acquisition by FANG might be doom for it but acquisition by `A` wouldn't be.
Beyonce's Parkwood Entertainment Sued Over Website Accessibility
The thing you're missing is that evolution selects for reproductive fitness of genes. That is a very different quality metric than individual well-being.
Previously: https://news.ycombinator.com/item?id=15464755
Bang on - all the major PC manufacturers offer this (for a small price of course). you typically get a tech and a part sent out next day, or even within 4 hours on the right plan
To echo jly's argument, at least in the US, we expect a politician or political activist's personal behavior to be consistent with their political advocacy.

Advocating for personal responsibility for the climate is synergetic with societal advocacy: it raises awareness and buy-in among grassroots, and those behaving in a personally responsible manner have greater legitimacy in their public advocacy.
Personal attacks are not contributions here
A legendary educator, Geoffrey Langlands passes away at 101
There is "not purely functional", and then there is python. Python does more to discourage FP than other "not purely functional" languages. Guido may no longer be python's BDFL, but it's clear that during his tenure he had little interest in making python better FP. He accepted contributions (like the addition of lambda) from other people, but never did anything to champion FP in python and it really shows.
His https is still broken.

Maybe he'll fix it if someone points it out to him.
Ast will usually include original/runtime names and need recursion where the bytecode is mostly flat.

For example for an assignment you'll have ast like (assign (foo 5)). This will have to look up "assign", run it, look up "foo" in the frame, and assign 5 to it. All of that will operate on pointers to different parts of the heap and kill your CPU cache too.

With bytecode, a lot of it will be already reduced to (for example) a machine with stack, so the assignment will be closer to: read the op (jump address in an array, so already in cache), dispatch via a small lookup table, put 5 in slot 2 (names already rewritten to stack indices) in the current frame.
Who is making money off let's encrypt? The service is provided for free.
It actually turns out most of the calls are `openat(2)`. I had the same question initially.
Modern react-based set of components
Certainly not in build quality.
"Evolution selects for" sounds a lot more planned than it is.

Reality: Fitness primarily means "these genes survived the winnowing process."

It's a little more complicated in that, for example, you see more mutations of genes (at least in germs) in high stress environments. But genes don't sit around asking each other how we are going to take over the world like little DNA movie criminal masterminds. Instead, the ones that don't die the most "win."
Suggested this as a future alternative to the creators I previously supported on Patreon, I'd love to see some better competition in this space.
Yes, please do -- I'd be interested to hear more.
If/when I get around to it, I would quite like to write posts like that. Also posts that address the ideas at the bottom of this post. Also posts that address some of the comments in this thread, like name resolution.
I agree, needs bananas for scale
Also, to actually answer your question, the best practices I'm referring to include:

- server-side generated pages on demand

- a mature set of CSS-stylable HTML elements and form interactions that behave in a predictable manner without having to write code

- templates that include little or in some cases no logic

- the ability to View Source

I've actually worked with React, in small bits. I've done several tutorials and they each required extensive Stack Overflow troubleshooting because something evolved.

Code reuse can devolve into a holy war. I guess I find myself working on projects where you have your site templates - which is more of a visual/design language concern that isn't going to translate to other sites - and then you have your application functionalities that do the important things that people want to pay you for, and they too aren't going to be endlessly repeated. So I see a lot of journeyman devs putting energy into reusable components that don't make sense to reuse - and the ones that did ended up getting forked anyhow.

What I have fallen in love with is Stimulus. It feels like the right amount of structure and interaction/event handling, with no attempt made to reinvent what HTML is. I don't understand why it's not more popular.

When I look at what's actually in those button.jsx files, I'm floored by the idea that this is either easy to learn or simpler than just using <input type=button>.

We also might have to agree to disagree about what constitutes easier to work with the DOM. I just don't find working with a hierarchy of nodes with properties to be anywhere close to the hard part of building a web application. And I've never built anything that needs to be updated in such a way that it strains a modern device to render it. Maybe if I was building GMail or a spreadsheet, but most people are not building that. People are starting new projects asking which JS framework they will use and not questioning whether they need one at all.
Generalissimo Chiang definitely disagreed
Maybe he should do himself a favor and fix his broken :443, or disable it.
How to use the Tower of Hanoi problem to illustrate algorithms
I learned to recognize hiragana and katakana like this. But learning the language itself took me a lot more time and effort. Had to practically immerse myself in Japanese 24/7.
So, first of all, I am an expert. [...] You're wrong because you're an idiot

You're right, this line of argument about expertise was generally unproductive and I shouldn't have gone down it. I apologize for starting it. It's dumb and it's dumb no matter how much of an expert you are or are not.

I stand by 'unserious', though. 'image size' and 'halting problem' are two deeply unserious retorts to the points others were making in this thread.
Your top-level reply could be misinterpreted to say that Apple ships an app called "IBM Weather Channel" on phones.

They do not.

Apple ships an app "Weather", which currently uses api.weather.com as the data source.

IBM Weather Channel operates api.weather.com.

TLDR: You're both right: it's Apple Weather, and it requests from IBM directly. https://news.ycombinator.com/item?id=18822350
The headline is misleading, it barely references 12-steps, basically clickbait.
This was a very nice read. I was hoping it was going to be a book chapter .. I really want more details on the process behind producing the Pis.

I've been an electronic hobbyist for years .. I feel there is no way I could build the first version of the Pi today. I wish there was a detailed book on how each part of the Pi works. It boggles my mind that just 6 volunteers did this ... they had the right stuff indeed.

I've been playing with FPGAs to learn details of hardware. I guess I have yet to make the leap on how to build something where I can boot up a primitive linux distro on (with graphics and a network stack). The biggest annoyance with FPGAs is their use of proprietary blocks .. makes it very hard to see inside. Graphics seems to be the worst black box. Even playing with a bunch of ARM-M boards has yielded limit success for me.

Guess I will continue to dream and fiddle :)
Chalk me as one of those interested too. I decided that it was worth learning mastering that domain rather than continue on expanding my technical programming skills.
Same here (Chrome, Android)
I attempted to use an iPad pro as a primary device for a few weeks. It seemed to be more than just the user agent. Things were rendered wrong, it seems some browser defaults we're also different so if the site developers assumed they were there, it looked funny. Switching to "request desktop site" wasn't always a solution
Hey, Matt. I plan on doing that eventually. It didn't seem interesting or important enough to include in this post.
does this mean that out of all the possibilities space and time brings about order and chaos?
How does Grin compare to using Blackbytes on the Byteball directed acyclic graph (DAG)?
https://medium.com/byteball/private-textcoins-6a2288d80757
> Geography fail. Kinmen is not in Taiwan.

Ok, where is it then?
That's quite true, but I think the value in these attacks is that they work against more technical users than typical phishing attacks - I remember several years ago someone posted a link on a large technical subreddit which appeared to be to youtube.com.

It presented a page which claimed to be an age flagged video - at the time youtube was having many problems with age flagging videos - and sure enough many people tried to login to it - they looked at the "(youtube.com)" text on reddit, they looked at their browser when they first clicked the link, but they never noticed when the URL changed to offsite when they had to login. It never struck them that a legitimate youtube link could have sent them offsite.

The solution most of those people arrived was simple though: use password managers which will force some extra suspicion if the login page doesn't behave as expected.

EDIT: Found the link and discussion, https://old.reddit.com/r/programming/comments/bpy7h/think_yo...

By the numbers it looks like about 1/2 the people who made it to the sign in page made it to the submit page. That's a pretty good result especially given that it's a technical subreddit and people were primed with "think you're immune to phishing attacks"...
Hey, John. I do remember! Still kicking around the area, though I don't much take Caltrain these days.
while the banking system is more complicated and has fewer easily digestible resources available

I'd wager that the literature on banking and finance far outweighs resources on anything crypto. Specifically compared to papers on crypto coming from a neutral perspective.

Your statement is just plain wrong.

edit : clarification
Exactly right. But the point is that what looks good or is socially or sexually attractive is not necessarily healthy. You genes don't care if you're happy or if you feel good. All they "care" about is that you make babies that survive long enough to make babies themselves. (And they "care" about this in the same way that water "cares" about going downhill.)
> We have quite a lot of evidence that, e.g., SAT scores correlate highly with parental income.

Correlation isn't causation; there's a big highly mutually correlated group of things (SAT scores, IQ, educational attainment, parental IQ, parental income, parental educational attainment, # of books in home during childhood,...) there is at best very weak evidence that parental income is a cause of SAT scores, such that a parent who foregoes income to spend more time with the child would be, even before considering any effect from greater parental contact time, harming their child's likely SAT scores.
Mmmm, it only takes 5 minutes if you happen to live at a gas station.
Thanks for this. I grinned when you described WPF as feeling like it snuck in under the door. Too bad that they caught on.

Feel free to describe how React makes debugging easier. Is it the Inspector plugin for object interrogation, or something more intrinsic to the style of development? I am genuinely surprised to see this offered because it seems like there's so much more code surface to go over for things I currently consider simple like handling an event on a button.

At any rate, the reason I asked the question in the first place is because I genuinely want to feel the enlightenment of understanding WTF you mean when you say that a declarative, ambiguous projection of your data is easier to reason about than, say, iterating through a table and writing out the values. I feel like everyone has the good dope but me.
The recommendation in the UK for babies under 1 is super low, like under 1g a day or something.

I always pre-tasted my kid's food, however the result of this is not that he ate more salt, but that I now eat significantly less.

Then again, I cook. The kid eats what we eat, and that is very rarely processed/packaged food for either toddlers or adults.
ah ok, yes i agree
lol it's so cringy when tech people like this quote completely unrelated fantasy books like ursula k leguin.
Perhaps a topic for future blog post. I considered having virtual frames but thought it would obscure the point of the post, which was the relationship between compiler and interpreter.
Show HN: Web app algorithm calculates taste-in-music match scores between fans