skysight-inc/HackerNews huggingface dataset:
The rule of thumb I teach my students is that it's a number if you plan to do math on it—whether that be incrementing it or multiplying it or making less-than comparisons (with number semantics). If the only thing you ever do with it is use it as a lookup key (or other direct equality comparisons), string might be a better way to think about it. Aside from the input interface issue surfaced in this article, values that are semantically numeric also have the property that they generally can omit leading zeroes (hope you didn't want those New England ZIP codes) or back off to inexact representations when they get large enough (sorry phone numbers whose area code starts with 4 or greater).

Yes, you can work around all of these issues by overriding default number behaviour. But some things that look like numbers are really just strings of digits.
(1) >Economic theory, like the physics on which it is based

(2) >Price is nearly equal to value except in rare edge cases of market failure

The first quote is more controversial than the author suggests.

Then he continues that while economics cannot make accurate models of the world, it's still 'just like physics in using accurate heuristics.'

Then one such heuristic, quoted (2), is, to someone with economic training, an obvious and perfect example that economics is based on the social science of people, psychology, and moddeling human behavior relies on subjective understanding. In fact, here is the Subjective Theory of Value. It states people define value in markets by marginal utility, which is a psychological phenomenon. Diamonds are valued more than water because of our psychology, not because of any physical laws dictating how much aggregate value is added to humans and their civilizations from either water or diamonds. This was even a very famoud paradox in economics, the Diamond-Water paradox.

Here is what I mean in other words: I find it frustratint that Economics is conveniently absolved from rigor and responsibility of the scientific method as the experimentation step is practically impossible. But despite that, economists cite their maths prowess and claim they're 'fundamentally an extension of physics.' Finally, they conclude that while they don't have accurate models, they do have some great tools (then point to theories formulated in social psychology).
Yes. This is just the officially sanctioned way.
It is probably the nicest phone ever in regards to size/screen/weight. I wish they would give it a hardware bump too to keep it competitive.
Right, so yes, number shouldn't be used to invoke the numeric keypad. Got it.

I agree with another commenter that it would be better if it were called magnitude. Still, even when it's the correct thing to do I still think it's a bad feature because it can be accidentally triggered.

There's a gotcha in Safari when using pattern for zipcodes or anything that can have a leading 0: https://www.filamentgroup.com/lab/type-number.html#support-l...
i still use the se
and i can afford any iphone. i have a stack of se for when i break one. no other iphone seems close
Al Waleed’s investment fund is private, not public.
Firefox mobile does.
Apple refurbished products are the only refurbished products I would by. All products receive a brand new outer casing, battery, and original box (with accessories) no matter what. Additionally, everything is tested against the same benchmarks for new products so they are really "like new." The come with the regular one year warranty without any limitations, and are eligible for the paid AppleCare plans, which shows that Apple's financial department is satisfied that refurbished products perform just as well as new ones and do not break any more often. Lastly, buying refurb help to reduce electronic waste and environmental damage.
Five tips to run hassle free blockchain full nodes in Kubernetes
Typescript has been an absolute joy to work with, especially compared to Flow. The best part is the library support on definitely typed.
Oh wow this is exactly what I was planning to build myself. Great job!
Apple have routinely demonstrated more action to protect the security and privacy of uses than any other mainstream vendor.

Plus this 4" form factor is magic.
It's a lot easier for Nokia to do that because they use a version of Android that's basically stock. Samsung re-skins the UI and adds a bunch of features, so every time they upgrade to a new version of Android, they have to re-apply all those patches. (of course, whether they should do that is another question...)
Essentially saying the brain is a system of systems
I'm reading through Human Error by James Reason [1], on the basis of a HN recommendation. It's been excellent so far.

As regards software error, we do so many things (standard style guides, pair programming, code reviews) to limit error, yet give so little thought to where and how errors come to be. And specifically, what methods would best combat them.

This article and the procurement process it documents is a great example of "intentional but mistaken actions". Which is to say the actions taken were intentional, the actions were realized as intended, but the original formulation was flawed.

Reason notes these errors tend to thrive in overly compartmentalized, deep, bureaucratic environments. Everyone is doing their job, but there's no one keeping an eye on the big picture when the train heads off the rails.

The difficulty, according to him, is that higher-cognitive checks needed to short circuit these kinds of errors tend to be less effective (than lower, more primitive ones). IOW, we delude ourselves that everything is fine as often as we recognize the issue.

I expect this is part of the secret effectiveness of pass/fail unit testing. It's hard to rationalize a red indicator into a green one.

[1] https://www.amazon.com/Human-Error-James-Reason/dp/052131419...
Here's a collection of RISC-V Instruction Set Architecture resources: https://github.com/MattPD/cpplinks/blob/master/assembly.risc...

Assembly tutorials: https://github.com/MattPD/cpplinks/blob/master/assembly.risc...
"No-brainer" depends on who you ask. It seems like a good idea and the tech seems solid... but Zstandard is made by a guy at Facebook and seems to be owned by Facebook as well, since it's hosted on their github: https://github.com/facebook/zstd

On the other hand, according to https://facebook.github.io/zstd it seems that zstd is part of the Linux kernel now, so if you're all-in with Linux then it can't really be any worse. Personally the Facebook angle doesn't bother me all that much because privacy has been completely lost now (and anyone who honestly thinks they can defeat the might of all these corporations and governments is deluding themselves), so I'm all for the change. The code is open after all.
well, Stoner did design the AR-18/180 in ‘63 after the AR15 had been sold to colt and adopted as the M-16.
"Sputtering"? Consistent sales of 40 to 70 million units per quarter for several years isn't "sputtering", it's just the result of a market so oversaturated that even young children are getting hand-me-down smartphones now.
Some individual markets are supposedly profitable.
In my experience Google Maps fixed embedded maps about a year ago, it requires command-scroll to zoom and otherwise scrolls normally. I didn't realize that might be browser-specific, I'm using macos + safari.
Techstars Space Accelerator Accepting Applications (Los Angeles Area)
I’m reminded of the quip, “Play stupid games, win stupid prizes.”
The current iPhones with eSIM support also have a normal nanoSIM slot, nothing stopping you from using that instead. eSIM doesn’t take away any flexibility or functionality.
A Python daemon that sends Twilio SMS alerts, monitors with top and supervisord
Thanks man, actually this small repo plans to offer a more general tool to manipulate Favicon as `Favicon as a DOM`, but now can only use canvas to draw dynamic images and replace the <meta favicon /> tag, which is extremely tedious. Maybe this dom-to-img repo could be introduced to simplify the covert process: https://github.com/tsayen/dom-to-image

Any issue or PR, free feel to submit~
Allow me to direct your attention to one of the internet's hidden gems:

https://www.youtube.com/user/USCSB/videos?view=0&sort=p&flow...

Beyond that, these metaphors have gotten too out of hand to have a meaningful conversation :)
> zoning

Interesting point, as Houston currently has none. Arguably good for growth and business, though.

> smaller zones, resulting in more diversity.

Not sure I understand this part. Diversity of what? How?

> allow some light commercial use inside residential areas

This will be harder to deal with than it at first seems. Due to the earlier-mentioned lack of zoning, many neighborhoods have HOAs.

> discourage single-story buildings

How?

For what it's worth, I'm not sure I like the sort of cities that are considered "bikeable". Houston was nice in part because it was so open and wide. There was lots of green space everywhere you looked. Compared to cities like NYC, I'd argue Houston looked a lot better. Many more "sprawling" cities have much more pleasant, open atmospheres , rather than the dull, lifeless cement that pervades every inch of many other cities.

> narrower roads

Not sure this is a good idea. Many people in Houston own larger, comfier cars. A lot own trucks. Not all need to, but some do: many people have ranches, and Texas is so big that there's a lot of driving. This means a bigger car is sometimes necessary to fit enough stuff. It can also be nice when you have to sometimes do almost 250 mi day-trips.

On the heat issue, you need a shower after being outside and at all active for any significant length of time. Let's consider water usage: How much water would all those extra changes of clothes use? All those extra showers?

And now to the single largest issue: flooding. Remember hearing about Hurricane Harvey? Flooding is getting worse because of denser stuff. I know many people who have been flooded by storms that wouldn't have flooded them ten to fifteen years earlier.

Smaller zones? Denser plots? Less space empty? All of these will cause people to die the next time a storm hits. Many people are already discussing increased permeability requirements for this exact reason.

All of this comes down to the same root issue: many people simply wish to force all cities into a mold they believe works for theirs. There is a very "coast-centric" view in many places, new urban planning trends are premised on cities like SF, NYC, etc. Cities with decent weather, no flooding, a central commute destination, etc. It's worth rethinking how to do this for other cities that don't conform to the mold of coastal cities, because trying to force every town into that mold is impossible to do well.
Thanks very much! I'm really happy to hear you've found some of the blogs helpful. I've been trying to find my voice from a technical perspective in these blogs -- I want my articles to be helpful for people who have some game development experience, but I also want them to be accessible to a broader audience. So I really appreciate the feedback!

Thanks also for playing some of my games -- to be perfectly honest, I think Curious Castle might be my personal favorite so far as well :)
Exactly. Many people don't realize that Houston is not just hot but humid. How much water would all those extra changes of clothes use? All those extra showers?
I'd like a service like this, but which I could just SSH to and automatically connect to a fresh Linux instance each time.

It seems like it'd be pretty simple accomplish. You could continually pre-boot a number of Linux containers proportional to the amount of traffic you expect. When a user attempts to connect via SSH, just pop them into the next available instance, FIFO style.

Users could either log in as 'anon' with no password, or they could pick a username and then set up an account just by SCPing their public key, allowing them to persist their instance or save the state for later.

Come to think of it, I basically just described Google Cloud shell, which I really never use, but maybe a lite version with a very simple usage model would be more desirable. I know there's also Docker, but I think the appeal of this idea to me is that I don't need to use any of my local system resources, and I can log in instantly rather than waiting for a container to spin up.
> It'll work in Chrome (and other Blink-based browsers), but nothing else.

Then it isn't the right choice.
"Real" diagram or not, Python does cause confusion and I don't know any Python programmer who hasn't paid their dues in figuring it all out.

Worse yet, many Python programmers only know Python (new to the industry) so they don't even know what they don't know.

Is it your fault because you may not be able to file your own taxes, or is it because it's really complicated and it changes all the time? It depends who you ask.

The comic makes a real point.
> Would I be able to retain the intellectual property of my software?

If your research received funding from a government agency such as NSF, they might have a claim to your IP.

If you're funded by the university as a teaching or research assistant, there would be an employer/employee relationship, and your work could be owned by the university under a "work for hire" contract clause.

> Would I be able to commercialize it?

If someone other than you owned the IP, you'd need their permission to commercialize it (they might want a big chunk of the company, or they may refuse and contract with someone else to commercialize it).

If you really care about this, you should talk to a lawyer (who specializes in IP) before doing anything that might jeopardize your plans. They might advise you to do a PhD on a different but related topic and not start developing the software until you left the university.

Also, different universities may have different policies on IP ownership/licensing. Some may be more startup-friendly than others.
$50b in revenue last year is nothing to scoff at. They have levers for profit but instead re-invest every dollar. Your argument sounds exactly like what people said about Amazon years ago.
I like writing Kotlin, but I feel like I'm still struggling with the "functional" side it. I think I just like writing java too much.
FBRetainCycleDetector: iOS library to help detecting retain cycles in runtime
Proper Guide to Install Webmin on Ubuntu 16.04 with Virtualmin, Bind and PostFix
We are building a fitness and health tracker Would love to hear feedbacks
> Given what we know about the benefits of a Dyson swarm

I think there's a real question of whether anyone would actually want one. The sun's total power output per person on earth is 5.5e+16W. That's 3000 times total human energy usage, _per person_. Even if you assume a system population in the trillions, that's still a pointlessly large amount of energy per capita (and again, current population trends don't support that, and we may reasonably assume that most Dyson sphere builders will figure out birth control).

Most possible hypothetical uses for them seem to be things like converting all the mass in a solar system into a computer or similar, but again there's a real question of whether there's any market for that.

I'm also not convinced we could necessarily detect one. A super-high-tech magic one would capture most of the available energy, leaving a largely invisible thing with mass, which sounds quite a lot like a neutron star. And if you had a lower-tech one that leaked most of the energy, well, that might look distinctive, but if you're throwing most of the energy away you probably don't need a complete Dyson sphere.

And in any case, organised searches for Dyson spheres are pretty new, and are small efforts. We might have the data to support them right now, it's just that no-one's noticed yet...
And barometer, strangely, as well as Touch ID sensor.
Levi Strauss and Co S-1
That is exactly what is meant by "It essentially means breaking the laws of thermodynamics".
Build URL Shortener with React, Apollo, and GraphQL
Curious, any one know why 64-bit Windows isn't supported? Is it because a long is only 32-bits?

I'd potentially willing to help with the development to get that working. Current day job is a 64-bit Windows shop in finance and we have several teams expanding their use of Python with very large datasets. A 64-bit PyPy on Windows could be big for us.
I don't know...

The URL says refurbiahed and the page says refurbished in big lettering. The last couple of times when I looked when Apple made the SE re-available, the site didn't say refurbished like that.
This is great! I did notice it allows me to do infinite loops though and then the whole thing locks up, other than that, very enjoyable!
Yeah I was kind of excited to see a “pro” but literally his strategy and even his exclamations were not at all different from 10 year old me. It felt a bit like I was being pranked
Free download link: https://leanpub.com/react-url-shortener/c/wDUmKAZrO5fL
It was easier before T9 predictive text.
It's a progressive enhancement. It doesn't break other browsers.
From Uber's Q4 2018 report [1]:

Gross cash: $6.4 billion in unrestricted cash ($4.8 billion at end of Q3 2018, $4.4 billon in Q4 2017)

[1] https://techcrunch.com/2019/02/15/uber-reports-3b-in-q4-reve...
The Pentagon Wars [1] is a black comedy film about the military acquisition process. It's based on the development of the Bradley Fighting Vehicle.

[1] https://en.wikipedia.org/wiki/The_Pentagon_Wars
I think the context matters and I said why in my other response.
It really doesn't need to be updated, it's setting a simple variable that the script looks for to short circuit.
Show HN: McLaren College – an online bootcamp for Indians with no up-front fees
I’m not so sure anymore - I have a 3.5 year old iPhone 6s, and replaced the battery with a brand new on from the Apple store not 6 months ago - already, the new battery is worse than the old one a year into the phones life. Random shut offs at 10% and not getting through a day are regular occurances, something that didn’t happen at all the first 2 years
Check the headline of the page: “Clearance Products
Find special deals on select new and unopened products.” Emphasis mine. Now click on the words “Certified Refurbished” above that. On the page you are taken to from that link, click on iPhone. You will see an entire section of refurbished iPhones, with no SEs.
It is not intended to be impossible. It seems to require using a portion of the game that has not been previously introduced. Try exploring portions of the game that are available to you.
There is a great Chrome extension called aXe[1], as well as tools like Tenon[2] which also has a rest API so you can potentially set it up as part of a CI workflow.

It's worth remembering that "accessibility" is a broad term. If you want a tool which can identify some common antipatterns and the WCAG guideline(s) they violate, the tools I've mentioned are a good place to start. But if you want to create a truly accessible website which is also usable by people with special needs, you'll need experts to come in to carry out audits and specialised user testing.

Please feel free to drop me an email using the address in my HN profile. I'm a usability and accessibility professional, and disabled to boot. Happy to answer any questions you might have and connect you with other great resources, tools and people.

[1] https://chrome.google.com/webstore/detail/axe/lhdoppojpmngad...

[2] https://tenon.io/
There is where the "-fi" part enters (I'm ok with "soft" sci-fi).
Son of a gun. So for embedded maps, it only took them 13 years to fix, from 2005 to 2018. Better late than never, I suppose.

However, it still doesn't change the fact that, on my Mac, on Google Maps proper I want to use scroll wheel or two-finger swipe equivalent to pan/scroll up-down or side-to-side like virtually every other app does, instead of zooming like virtually no other app does.
Nice! Thinking again, it is a good that there is some science behind this. Good place to start
My experience (with AT&T prepaid in the US) is that SIM cards are associated with IMEIs and don't work with a new IMEI without my phone company approving it. So it's not functionally different from CDMA. CDMA was fine; the overhead of swapping phones when I was on CDMA is comparable to the current overhead, and I don't recall anything else I missed from not having a physical SIM card.
Saudi fund is led by the crown prince MBS. Prince Alwaleed bin Talal is a cousin of the crown prince but definitely not a friend. He was even arrested a few years ago under the order of the crown prince.
Here’s the closest I could find, at 3.5” - https://www.aliexpress.com/item/K-touch-I9-Super-Mini-Mobile...

There’s a ton more and some at 2.5”!
How to Start Okra Farming in Nigeria: Startup Guide
I want an edge-to-edge display iPhone SE so bad.
I just took a close look at the caniuse page [1]. It says that inputmode also works in Mobile Safari on iOS 12.2, which is at Beta 6 [2]. Firefox's mobile market share is 0.58%, and the market share for old versions of Mobile Safari is at 2.51% according to the caniuse page so it's probably not worth waiting on Firefox. I think it will be a good choice very soon, maybe in a couple of months, because it's still possible to enter numbers with the regular keyboard.

1: https://caniuse.com/#search=inputmode

2: https://en.wikipedia.org/wiki/IOS (Latest preview in the infobox)
What is the battery health percentage?
"Why I Switched from Python to [Shiny Newer Language]" seems to be the thing on HN this week.
Oneplus 3 here from Jun 2016. Official Android 9 pie is currently in beta. For a cheaper than most big name brands they got good support.
I just evaluated Evince, Okular, Foxit, and Acrobat for annotating PDFs.

My particular use case is to annotate emails, spreadsheet, etc., and merge them as exhibits into a legal brief.

After annotation, the other programs can export the original or it export the annotation layers but it could not give you a PDF with both the original and the annotations merged into one layer. This was a deal breaker.

With Okular you can print the PDF with the annotations as a new PDF to make sure your annotations are always visible. With the other programs the annotations are on separate layers which can get hidden on purpose or by mistake.

I found no other free program that could flatten the layers.

Okular deserves to be better known.
I ran into this on a site a while back, I believe it was for a health insurance claim. There was JS on the page that was interacting with a number input and making the form impossible to fill in properly; I had to use the inspector to change the input type to get it working. I wonder how many people simply gave up when confronted with the problem...
A topic also covered in depth:

- Secret Aliens [1]

- Hidden Aliens [2]

Basically you can't hide from a K2 civilization in your same galaxy so there's really no point in trying.

[1] https://www.youtube.com/watch?v=IpF25knrGtg&t=1657s

[2] https://www.youtube.com/watch?v=tEBn8bc0k-I
That's part of the problem and why I rather not buy highly custumized versions of Android.
I'm the founder of McLaren College. You can think of it as kind of like "Lambda School for India" - the goal is to train people to earn an income from computer programming in return for a share of their income. Happy to answer any questions :)
So... how are you supposed to trigger a numeric keypad on mobile then, for things that aren't technically a number but are composed entirely of digits? Serious question.

Edit: kibibu below says it's the "inputmode" attribute, but it only works in Chrome currently. :(

https://html.spec.whatwg.org/multipage/interaction.html#inpu...
Interview with CEO of NSO Group
Dyson spheres at some point were conflated to a structure that is a rigid shell around a star, something for which no known material would be able to support. The original idea of a Dyson sphere is now more often called a Dyson swarm to avoid this confusion.

A Dyson swarm (the original Dyson sphere) is a cloud of independently orbiting habitats/bodies/structures.