skysight-inc/HackerNews huggingface dataset:
I wrote a tiny app in flash / AS3 back in the day, a CAD floorplan viewer in a few hundred KB, including baked-in artwork and font. CPU and memory use was quite low. I never considered flash to be bloated or slow. The way most people used it made it bloated and slow, with heavy software-based vector animation, tons of video, and flex. Flex was very developer-friendly but also quite bloated, so I never used it.

I wonder if electron is a bit of the same deal, with the recommended way of using it optimizing for developer efficiency over resource efficiency.
I looked at the GIF that the first one had on their GitHub page and it doesn't do iOS navigation right at all. I'm not impressed.
Again, IANAL but: from experience, the TN Visa process is relatively painless (happens right at the Port of Entry, takes an hour at most) and most times can be done without a lawyer. If a lawyer is needed (suggested for first-timers), you can use services like UpCounsel [1] that are relatively inexpensive and not a huge time-sink for companies (resource constrained or not).

[1] https://upcounsel.com/
> Both styles, Dr. Nisbett said, have advantages, and both have limitations. The Americans, the researchers found, were more likely to accept the validity of the argument, separating its formal structure, that of a syllogism, from its content, which might or might not be plausible. Asians, in contrast, more frequently judged such syllogisms as invalid based on their implausibility -- not all animals with fur do in fact hibernate.

If there is indeed an advantage to the "American way" in this particular instance, I wonder what it is. I would like to think though that its down to having domain experience on the subject, rather than a different way of thinking.
I'm with you (although you should check out knitr on the R side).

I see two use cases for this sort of notebook thing. One is reproducible research, where I find that a woven solution is far preferable over a notebook. I can use version control to assist in iteration, and use an editor of my choice. The other is exploratory analysis, which Rmarkdown/Sweave/knitr is not really a good substitute for.

For exploratory analysis, I've found that I use the terminal integration in Vim together with the REPL works well for this. It lets me save half-working stuff and record some of my thought process; in a Jupyter notebook the only things I can leave in are working code snippets.
As a merchant Amazon has to take a few other steps before I use Amazon Pay.

About a year ago I attempted to use the Amazon Pay WooCommerce Extension but had to turn it off because it was basically taking over the checkout page, placing itself at the very top of the page above the other payment options (https://in30minutes.com/amazon-pay-woocommerce-extension-why...).

Another consideration: How many vendors want to give even more power to the Amazon juggernaut? I like dealing with healthy, balanced ecosystems, and right now Amazon has far too much power in my product niche (publishing). It sucks dealing with policy changes, neglect of the piracy problem, and the fear that my account may be summarily penalized because of some algorithmic tweak or obscure violation (recent example: "One or more of your products doesn't meet the financial threshold established by Amazon and is no longer eligible for advertising via Amazon Marketing Services." WTF does that even mean?)

The last thing I want to see is the payments space similarly dominated by a greedy, uncaring giantco that "owns" the customers coming to my website. The behavior with the WooCommerce extension made me realize how bad they can be.
I started by reading here https://github.com/google/gvisor/blob/master/pkg/sentry/plat...

Basically the Sentry binary works as both the VMM and the guest kernel. It uses the KVM API to setup page an address space and installs fault handlers through which it regains control when the guest payload faults (on memory access or soft interrupts/sysenter).

What I couldn't find on a quick skin is how much of that logic works on which "side" of the wall, i.e. how much logic can the Sentry evaluate without crossing the VM boundary.

I can imagine this can depend quite a lot on Go runtime internals. How do you setup the environment inside the "guest" so that it can run the Go code?
Facebook open-sources ELF OpenGo
Can anyone comment on the utility of mesh networks in rural areas, where the big ISPs say "Sorry, not interested", and the distances between potential nodes is high? I have read articles in the past about hardware hackers setting up systems to broadcast WiFi signals for exceptional distances. Could a system of mesh networks provide rural America (or other countries) with low cost / high speed internet service?
It depends on the location. If you are talking about downtown Manhattan you can get dark fiber between any major buildings for about $5k/mo. If you are not in a mojor building then Zayo would do it for about $20k build out worst case scenario + same $5k/mo, since Zayo touches a boatload of manholes. There was also Metro Optical but I dont know how large is their footprint. They are quite creative.

But in general, go to a decent building and order Cogent. That gets your building on the net. Cogent eats fiber extension charges left and right. Plus you actually get 1Gbit/sec for $500/mo. Now you take that 1Gbit/sec and wire to neighboring buildings by running ethernet or standard yellow fiber. That's how ghetto ISPs get stuff done. It was done for years because it works. There's incentive for those who own building to form a community ISP or provide an access to a community ISP because those that own builds want the same product and they know they can share some of the costs.
Don’t call it a trick. It isn’t a trick. It is a marketing ploy.
None of those are apps that I'd hold up as paragons of UI design…
I would characterize Python's weaknesses differently.

Startup time is a problem for Python. But concurrency is much more complex than you state: threading is not the only or best concurrency model for many applications. And certainly removing the GIL will not just enable Python "to achieve linear speedups on CPU-bound code". Distributed computing is real. One of Python's problems for a long time was not the GIL, it was the sorry state of multi-process concurrency.

The speed issues that JITs solve for other languages may not be solvable in Python due to language design.
I’m curious to know if they ever looked at https://github.com/Microsoft/napajs from Microsoft or any other in-nodejs solutions to deal with the need for multithreading vs launching multiple processes...
I don't have experience with the TN, but the place I used to work at had an easy time getting L-1 visas during the Obama administration, but during the Trump administration it seemed like the government wanted a lot of extra supporting documentation.
Interesting to compare the automation vs. a manual approach started last month.

Show HN: Hacker Daily, a daily podcast for Hacker News readers

https://news.ycombinator.com/item?id=16850689
> More realistically we have to bring the costs of healthcare down

Given that places where government pays for everyone's healthcare, in the developed world, get compsrsvle outcomes at much lower per capita and per GDP cost than the US system, I don't see that an idea opposed to universal healthcare so much as a motivation for it.
So, I received an answer from GitHub support, that they tested it, and that all forms of my domain are working now. And indeed, when I tested it again myself, also the apex version of my domain will bring me to the page, without any warnings.

However, https://mydomain.com and https://www.mydomain.com have different SSL certificates. Is this supposed to happen? I assumed that the apex is just a forward to the www subdomain.
Are they using Vulkano?
How Open Source Is Powering the Modern Mainframe – The Linux Foundation
It doesn't get into the numbers, but it expressly gets into the problems.
That's what you outsource to the latest incarnation of Metromedia Fiber Network - Zayo.
BuildZoom (a better way to remodel) is hiring a Data Engineer
The problem is that is that the demand is already quite high at the moment (retro is cool is seems) and the supply is only finite. Given there are decent enough reproductions I feel it seems a little ill-advised hacking the irreplaceable originals as once they're gone they're gone for good.

Plus if we are completely honest, a refurbished original would also have more longevity than one with a raspberry pi which will have an initial novelty factor but then quickly get forgotten about once the Pi becomes obsolete.
I don't use it because I'm used to other things, but I really love the concept and I am sure I would be a user if it had existed some years ago. More importantly, I know it is doing a great job helping many scientists. Other tools like the ones you mention may improve certain aspects or fit better in some workflows, but Jupyter is the clear leader in the field, it is the one that changed the state of the art, even although some similar tools already existed and new (and maybe better) ones will come. I think the award is well deserved.
> Given dozens of such comparisons, all coming out to the same result, your case becomes anti-empirical.

As others in this thread have pointed out, Finland vs. US is not a good comparison, Europe vs the US would be. We can socialize medicine in individual states with good results (see: MA) but US-wide? With 332+ million people? With all the differences in costs of living in different parts of the country?

When the EU rolls out a single-payer system for the entire Eurozone then we'll have something to compare against but the entire nation of Finland has less people (5.7 million) than New York City (8 million) and is a monoculture, to boot.
IBS, asthma, schizophrenia, ADHD, and the list goes on and on.
PicoLisp
I'm so longing for a Python(like) compiler.

MicroPython put together a Python in 250kb. Why the hell can't we make an LLVM frontend for Python that can use type hints for optimization? Sure, you lose some dynamic features as you optimize for speed, but that's the dream. Quickly write a prototype, not caring about types, optimize later with adding types and removing dynamicism.

I'm currently learning Racket and LLVM and I have about 70 more years to live. I'm gonna try make Python fast on slow weekends 'til I die.
I'm the lucky one who got green card only 1.5 yrs after getting TN-based job in 2015.

I think lots is determined by the pull factor - how much US company wants you.

Agree with the fact that equally skilled, similar-timezoned, english-speaking Canadians are severely underpaid and US/tech is a good opportunity to equalize this.
> The literal meaning of the words is “a subset of the traits traditionally associated with men that is toxic”.

You are being pedantic. Kids won't hit Wikipedia to get the full nuance of your preferred labels.

I haven't misrepresented anything. Have you ever asked kids if they've heard the term 'toxic masculinity' used and if they have, what they think it means/how it makes them feel? You're going to get some shockingly low resolution answers.

> We who?

As much 'we' as we can get. On this board, that might tend towards the royal we. ;) Consider that aggression has a positive application. Mastery and domination can occur in and over the self first and then outward in the world as required next, and that's the 'good' kind of aggression we like to foster. Self-control is learned, and boys need guidance channeling their instinct for achievement towards applicable skills development.

I welcome questions like yours though as it spurs these illuminating discussions. I'm hoping you can appreciate a different but logically consistent and legitimate worldview from your own.

I want to accentuate the positive and eliminate the negative just as much as the next person. I suspect you and I view typical male attributes differently where you might seek to suppress rather than celebrate/foster appropriately.
Allegedly 14-0 against a bunch of top players and 200-0 against Leela Zero, so it's clearly strong. I think those figures are compatible with its being substantially weaker than the strongest incarnations of AlphaGo, though.
As I stated above, it's my personal opinion on the matter. I've used both of those libraries in a medium-sized project and they don't work well. Simply linking to libraries and saying they exist is hardly making a point.
> Also it is now possible to open device files using file:open

Anyone want to write a high-performance, highly distributed object store in a BEAM language?
Yes, it is trivial. You have a warped perspective of importance if you think giving the nod to a new mail app is some holy thing.

I tell my friends about new apps, startups, and projects all the time. None of them think I'm staking my reputation when I shitpost about some new thing in Slack.
I agree with you that efficient resource usage is pretty low on the priority list for a lot of development these days. I wish it wasn't too but that's a different discussion.

Electron being in vogue does definitely compound this issue but the benefits from using it (e.g. cross OS development on a familiar platform & language many devs already know) seem to outweigh the resource problem.
Thank you, I didn't know Alexa handled all of that.
I feel sorry for you that you think this way. There’s a reason Medicare came into being. It simply isn’t profitable to treat people near the end of their lives. One illness, calamity is enough to wipe out a lifetime of savings and leave one penniless. The absence of a government program for providing healthcare to the elderly would be horrific and immoral. Some things ought not be profit driven. You wish to make our already horrible system into something worse.

I’m glad your view does not prevail. I would hate to live in a country in which the majority shared this opinion.
When is C++ getting simple networking support in its stl? Is it this C++2a?
How to prepare cities and citizens for more killer heat waves
>You can create a GUI using something like Qt, but the code to make it is messy and unorganized.

It doesn't serve the author well to make this comparison. Saying it's less messy to manage Proton/React source code files and the associated Node/JS/etc infrastructure is an extremely dubious claim. One of the things I like best about Qt is how non-messy Qt development is. Most everything (source files, resources, etc.) lives in a well-organized project that is easily managed using the Qt Creator IDE. The project structure is well-documented and standardized.

It's also quite strange to compare React code to code using the Python binding for Qt. That's not how most Qt apps are written. Most Qt apps these days use QML, which is based on regular old JavaScript. Besides being a more accurate representation of the way Qt development is normally done, it would also be more interesting to compare one JavaScript-based framework to another. (Although I recommend not making the comparison at all, since I don't believe a fair comparison would favor Proton.)
AI revives in-memory processors
The problem is, it only limits you to the cheapest hospital WITHIN your insurance companies agreed upon network.
Everything I'm seeing right now in the market is saying that.. yes Kubernetes has won, or IS winning.
UHC does provide more levers to control costs, sure. But it's not some huge fix to the underlying problem. One example: https://www.cnn.com/2018/02/10/health/uk-nhs-universal-healt...
Show HN: Wren – Discover and explore daily news stories
$5/month is $60/year, which is ridiculous.

I maintain 5 websites hosted on 5 different domains (blog in English, blog in native language and 3 project websites). The cost of 5 certificates would be $300 per year, or $25 per month.

Right now I'm paying $0 for the certificates of those 5 domains, thanks to Lets Encrypt.

I've been hosting them myself on a Digital Ocean VPS, with really low maintenance, since the machine is updating itself and the websites get built and deployed via Travis. Now I'm moving them to GitHub Pages and my hosting cost will also be zero.
or windows dialog RC files
You've characterized the problems well. And yes this is a core problem for python - startup time and import processing is limiting in a lot more cases than just CLI tools. And yes the design of the language makes it hard or possibly impossible to solve.

Also, even if you distributed self-contained applications, the startup time is not great. It's improved a bit because you're "statting" a zip file rather than making syscalls, but it's still not great.

Exactly. There is no silver bullet. The problem is how much code gets run on startup, and how Python's dynamic nature makes traditional startup speedup strategies impossible. Is this even fixable?
I think a certain, very vocal group of people violently reacted to the 2016 re-design's keyboard and switch to USB-C. But I also think that most users are still pretty happy with their Macs most of the time - they just don't post blog posts about that.

I understand the complaints about keyboard failures due to dust getting under keys, but my personal experience with a 2016 model has been fine. I had to blow it out once with compressed air after 1.5 years and it worked again fine after that. It took two minutes and wasn't a big deal to me.

I don't understand the violent hate of the switch to USB-C. I find it super convenient that my phone (Samsung S8), laptop and Nintendo Switch all charge from the same power cable. And getting a couple of thin USB-C end-cap convertors on Amazon to plug in older USB devices cost me less than $10. It just hasn't been a negative at all for me.

Beyond that, Macs in general are a great compromise for developers who want to write code that runs primarily on Linux servers but who don't want to run Linux as a laptop OS (which can be a pain in the ass on laptops due to unpredictable battery drain, unreliable suspend/restore, no native support for software like Photoshop/Lightroom, less polished UI, whatever your reasons).

Windows has gotten a lot better in that regard, but a lot of Unix-native stuff still sucks to install and run on Windows. Docker on Windows is a dog, installing various native extensions for Python is a real pain in Windows, etc.

There's lots of little paper cuts using Windows in a Linux environment because Windows is just so different than Linux. For example, you can write and test a Docker file on a Windows machine that won't rebuild cleanly on a Linux server because on Windows you don't have to chmod +x your Docker entrypoint script, but on Linux the Docker image won't start after a rebuild because the entrypoint script will get installed with your local file permissions (which aren't set to +x by default). That's just one tiny example, but that's the kind of thing that illustrates why people building code primarily for for Linux servers might not prefer using Windows on their personal machine.
I've been a JavaScript developer for years and it's a surprise to me that there's a `Number.MAX_SAFE_INTEGER` and `Number.MIN_SAFE_INTEGER`.

It seems that I've never had the use case where I exceeded the maximum or minimum integer count. I figure there's a good amount of JavaScript developers that have the same experience.

But good article nonetheless.
He's not related to Figma.
> In particular, layout is tricky because DOM trees imply both bottom-up and top-down constraints.

Well you can always choose to roll your own layout algorithm and position everything in the DOM using absolute coordinates - e.g. https://diasli.de implements an 'auto layout' mechanism disregarding DOM layout.
That's why I wrote that you have to imagine the surface formed by making every possible connection simultaneously. The point is that the "completed" puzzle is topologically a Klein bottle. It can't be completely constructed in 3 dimensions.
I'd love to see electron "suddenly" start reducing memory footprint as soon as a competitor starts gaining market share
In short, be trendy. The items that increase your value today could very well decrease it 5 years from now.
Is this expected to arrive in other browsers JS engines?
> if more than 24 hours have passed, there is a very
> small chance that I am able to identify the customer

Hmm ??? Could u please explain.

I always assumed that all ISPs will store all DHCP (PPPoE? PPTP? IANANE) allocations by IP & time.
Then don’t refer anyone.

Or maybe only send to your friends who a new email client would interest?

Is “hey, saw this on HN, this looks interesting” really going to hurt your reputation?

He’s a dev trying to market, that’s all.
Get over yourself. I run multiple electron apps all day long without issue.

> You can make pretty x-platform apps in JavaFX, QT Quick, GTK, hell even Lazarus, and they don't eat CPU and memory like Electron does.

lol, if those are your idea of pretty... The reason Electron is popular is because those frameworks are, and have always been, garbage for garbage software.
"Apple is a rock of common sense in an industry that’s gone rogue" (the subtitle) would be better.

"Apple is the perfect tech company for this day and age, an example to the rest of Silicon Valley" (the take-home message in the first line) would be better.

The Apple "is a traditional business" remark refers to the main point of this opinion piece, which appears right before that statement:

"This is a time when companies whose innovations are more intrusive than useful, more gimmicky than problem-solving, operate with business models that either burn investors’ cash or turn the users into products.

"At a time like this, Apple is a rock of common sense, sobriety, dignified engineering supremacy, prudent financial and supply chain management, effective marketing, and customer-oriented retailing."

Without the proper context, "Apple is a traditional business" could mean anything and doesn't mean anything at all.
Is there any pricing information?
Only for Pixel phones bought unlocked. This doesn’t apply to most people that buy (or rather are coaxed into buying by the salesperson) whatever Samsung or Huawei device from a carrier.
Badly needed for server side development
> For now, we are shipping a baseline implementation of BigInts. [...] it is not particularly optimized. [...] we first want to see how you will use BigInts
Daily digest of awesome links
Yeah.. turns out that's actually a friend of a friend. I'm curious to see what people prefer for obvious reasons :). The advantages of my approach are personalization, interactivity, and scalability beyond just HN. Theirs is probably going to be a nicer experience than I can do for non-interactive use.
Those have better asymptotics but worse constants.
Python's slowness can help improve performance by teaching you to use techniques that end up being faster no matter the language.

Python is so slow that it forces you to be fast.

Consider data analysis: on modern machines, you're almost always better off with a columnar approach: if you have a struct foo { int a, b, c; }, you want to store int foo_a[], foo_b[], foo_c[], not struct foo data[]. It's better for the cache, better for IO, and better for SIMD.

numpy makes it much easier to use the latter than the former, whereas in C, you might be tempted with the former and not even realize how much performance you were leaving on the table. Likewise for GPU compute offloading, reliance on various tuned libraries for computationally intensive tasks, and the use of structured storage.
Rushed testing, poor communication played role in British TSB outage