skysight-inc/HackerNews huggingface dataset:
> but don't blame it on Python if you don't have a grasp of how C++ GUI toolkits actually work.

I'm not blaming it on Python, honestly. I'm just really surprised that there isn't a framework that will hide that stuff from me like VB did. You are a 100% correct in that I don't know anything about desktop GUI paradigms, or C++ GUI toolkits. I really don't have the bandwidth to find out either! I'm also surprised that I need to. I don't think that is even my VB head, I am a business systems person who has successful modeled a physical process in software. In a recent case I did all of the work negotiating with vendors/management/users, I found the bugs in the vendors API, and I did this to an absurd deadline (with almost zero budget) created by a a vendor withdrawing a product with no notice. That's the kind of absurd thing us plebs in the "just getting it done" crowd have to do all of the time. But I am finding that simple GUI launchers for my software are really complicated in Python with the frameworks I have found. I am shocked that this is the piece that is defeating me! As I said before, I could write a web front-end for this kind of thing relatively easily (in the above case it was a hardware requirement that lead me to try again at the desktop GUI). Perhaps this is why we see so many people looking at the web-app-on-the-desktop that is so derided on these pages?
This comment is interesting but I downvoted it for one reason: "Citation(s) needed."
Found this article really interesting! It got me to write my first C program.
Unfortunately, a few library modules that predate PEP 8 and that never made the switch still use camel case, such as `unittest` and a few others. Bugs the hell out of me, as do libraries that have no excuse for their lack of compliance with PEP 8, such as PySide.
White. Why do you think it could be important? I don't expect a country like Canada to racially filter qualified applicants.
That sentence of my last comment may be unclear, so let me rephrase - to the extent that globalization occurs, it needs to coincide with policy changes that offset the localized harm that it would otherwise cause.

While this isn't the point I was attempting to make in the sentence that you quoted, I also tend to think that increased globalization should occur, at least at the margin. But to your point, there may be specific sectors in which globalization is harmful in net, and externalities do need to be considered.
It is more complexity than this as the difference between a good cofounder and a bad one is many times is situational. On one path to growth your cofounder is good and on an alternative path they are bad.
You are no doubt correct about points (2) and (5). But just to set the record straight, points (1), (3), and (4) are mistaken.

The standard build of SQLite uses an OS, but there is a compile-time option to omit the OS dependency. It then falls to the developer to implement about a dozen methods on an object that will read/write from whatever storage system is used by the device. People do this. We know it works. We once had a customer use SQLite as the filesystem on their tiny little machine.

Likewise, the use of malloc() is enabled by default but can be disabled at compile-time. Without malloc(), your application has to provide SQLite a chunk of memory to use at startup. But that is all the memory that SQLite will ever use, guaranteed. Internally, SQLite subdivides and allocates the big chunk of memory, but we have mathematical proof that this can be done without ever encountering a memory allocation error. (Details are too long for this reply, but are covered in the SQLite documentation.)

Finally, we do have proof that SQLite can continue after a power cycle - assuming certain semantics provided by the storage layer. Hence, the proof depends on your underlying hardware and those methods you write to access the hardware for (1) above. But assuming those all behave as advertised, SQLite is proof against data loss following an unexpected power cut. We have demonstrated this by both code analysis, and experimentally.

So probably you were correct to write your own database in this case. My point is that SQLite did not miss your requirements by quite as big a margin as you suppose. If you had had a bigger hardware budget (SQLite needs about 0.5MB of code space and a similar amount of RAM, though the more RAM you feed it the faster it runs) then you might have been able to save yourself about two years of development effort.
Afaik Optane is limited to Intel (whether that is support on motherboards or manufacturers) and I would rather have us all adopt a standard where there are more suppliers and not a single company that holds the strings for everyone else.
I' ve recently discovered Radiotopia and expanded my podcasts list from here ( Criminal - 99% invisible - Modern love ) it's a bit of fresh air
If you are familiar with Conway's game of life, there is also "smooth life" which uses turing style reaction-diffusion equations:

https://www.youtube.com/watch?v=KJe9H6qS82I
There is no added security. Just added comfort of not having to deal with spammers filling up logs.
I am using a 512GB Toshiba XG3 mounted on a cheap paddle card. The board had no M.2 slot.
I tested on IvyBridge and upward to Skylake and it was supported.
Booting was supported on all but IvyBridge.
So I would say any PCIe 3.0 slot board should be fine.
Maybe next I will try SandyBridge. They only use PCIe 2.x.
See Newton's quote here https://en.m.wikipedia.org/wiki/Principle_of_locality
>What will happen is that the EU will just have access to a dramatically smaller array of sites on the Internet

Let's be real here for a second, what's your definition of dramatic? I don't foresee the EU losing access to more than a handful of services, many of which as in the case above provide questionable products.

I'm very much doubting that we'll be talking here in a year and the EU somehow finds itself behind the great-GDPRwall. That's just arbitrary panic.

>Consumer choice is a good thing, and this law will dramatically limit it.

You're neglecting the fact that consumers can make collective choices about the things they do not want to put up with. Abuse of private data is one such domain. There is no iron law of the business world that consumers need to accept every product of any kind on every market. That's up for societies to decide. The law seems to be quite popular from what I can see, so any cost that we European consumers do actually incur, we are apparently happy to endure.
Just a minor thing: 7-11 is a Japanese company. There are about 20,000 7-11s in Japan (vs 9,000 in the USA).

It surprised me when I went there—they are EVERYWHERE.
Sorry, you're right, that's what I was referring to. M.2 is still PCIe just with more lanes than mini PCIe, as you said. My point was it's all PCIe to the computer and OS.

Thanks for catching that! :-)
> Is there a way for a person in the EU to opt out?

No, and for a good reason. Just like if you could opt out of employee protection laws, the "opt out" would soon become mandatory to get a job.
> I'm getting confused. Are you trying to do parallel compute or parallel networking?

Parallelism conventionally means "parallel computation". For async workloads, you're right--there are third party event loops that approach Go's performance, but that's not the subject of my complaint.

Regarding parallelism, I haven't used Python's futures module specifically, but all multiprocessing solutions are bad for data-heavy workloads simply because the time to marshal the data structure across the process boundary poses a severe penalty. There are many other disadvantages to processes as well--they're far less memory friendly than a goroutine (N Python interpreters running, each with the necessary imports loaded), they require extra support to get logging to work as expected (you have to make sure to pipe stderr and stdout), they're subject to the operating system's scheduler, which may kill them on a whim.

> Besides, pretty soon you'll want to go distributed and won't be able to use threads anyway.

Processes have the same problem in addition to being generally less efficient.

> you're going against the wisdom of shared-nothing architecture

I mean, sort of. If you're doing a parallel computation on a large immutable data structure, you don't lose out on maintainability, but you gain quite a lot of performance (no need to copy/marshal that structure across process boundaries). The loss of maintainability is negligible due to immutability. Besides, there are lots of other good reasons to share things across processes, like connection pools, file handles, and other resources.

Also, it's terribly ironic that you're defending CPython and specifically its GIL on the basis of "shared nothing architecture".

> In contrast to your experience, I find Python makes it easy to write efficient code. Getting rid of the irrelevant details lets me focus on clear and efficient algorithms.

Then you'll love Go--Go has far fewer irrelevant details than Python and Python lacks many _relevant_ details, such as control over memory. Your efficient algorithm in Python will almost certainly be at least two or orders of memory better than the equivalent CPython without compromising much in terms of readability.

> When I need heavy compute, I sprinkle in a little NumPy or Numba.

I haven't used Numba, but I've seen a lot of Python get _slower_ with NumPy and Pandas (and lots of other C extensions, for that matter). You have to know your problem well or you'll end up with code that is less readable and less performant than the original, and even when it works it's still less readable than the naive Go implementation and not significantly more performant.

> My bottleneck is (de)serialization, but Dask using Apache Arrow should solve that problem

They'll help, but the fact that Python needs these projects when other languages have far simpler solutions is an admission of guilt in my view. That said, I'm excited to see what sorts of things these projects enable in the Python community.
Comparing 100 seconds to 1 seconds makes things look huge (well they are if you really would have to wait that long). But comparing 0.1s to 0.001 or 0.01s is alot less noticeable even though the percentage difference is the same.
Check out Medellin if you haven't done so already. There are quite a few offices there of funded start-ups in the US and the EU.
> that gravitation was, in Einstein's language "spooky action at a distance"

You are mistaking gravitation for quantum entanglement which Einstein used to describe as spooky action at a distance.
The age of “mega-identity” politics
I find David Allen's work most helpful here. He points out that more valuable than time is mental freedom. You can schedule all the time in the world to solve a problem. If something else occupies your mind, progress may never come.

On the other hand, if your mind is not preoccupied, finding the solution may take very little time. His practice in his book Getting Things Done helped me practice this, not just abstractly know it.
Vastly fewer attacks -> less cognitive load on admins. The logs don't fill up.

Technical protection is likely limited, but then, admin attention is also a limited resource.
There are not a lot of hyperlocal investigative news outlets listed there although granted there are some.

The ones that do exist appear to be non-profits relying on donations (e.g. aspenjournalism.org / birminghamwatch.org) that don't run ads and give a strong impression of being run by one or two people.

I'm really unconvinced that this is a significant industry let alone one that is supported by ads.
No. I doubt that many used them to program shells. Bash is from 1989 for example.
He did mention the cost of living being surprisingly low ;-)
I remember when Android first came out, the intents-based Share system seemed revolutionary compared to how sharing worked on every other mobile OS. If it had some rough edges, well, so did everything else in the OS. I think that now, the rest of the OS has generally gotten smooth and polished enough that the general lack of attention to the share system, aside from a few haphazard tweaks, really sticks out as a sore spot. It's about time they showed the share system some UI love. Unfortunately, it's probably too late to do much for it now in the upcoming Android release.
Clearly, you don't make much profit off EU citizens, so good decision.
Remote user tries to log in. Cannot. Issues (or trojan prompts for) password.

It's a game of percentages.
I just bought the book. Only $6 and has some pretty convincing reviews. Thanks! That Overwatch worksheet is hilarious - but kind of eye-opening in a way. Seeing that made me think that I just keep running over the same thoughts over and over in my head (definition of insanity, lol) instead of writing them down and reflecting. Thanks a lot!
Originally I am from Eastern Europe, and I lived in the UK for a while. Positive: I stopped smoking soon after I moved, as the price of cigarettes in UK was crazy high. Negative: I gained some weight, as I very much enjoyed local chickens, burgers, bacon, beer.

Jokes aside, it helped me to improve my English, see other ways of living, experience different work culture, and learn that very indirect, not straightforward way British people communicate.
> 1. CEO pay at public companies is public, so they feel the need to keep up with other companies.

That's just basic supply and demand. Since pay is public, people know how much the other party will balk at, affecting the supply.

> 2. The incestuous relationship between CEOs and the boards of directors that set their pay.

That's just basic supply and demand. Like I said, the people who have that kind of relationship are vanishingly small.

> CEO compensation isn't tied to performance.

There is no pay that is truly tied to performance. Just basic supply and demand.
The biggest 2 issues (at least for non-EU companies) are the extraterritorial reach, and the absurd maximum fines that can indeed be assessed for a first, single violation. Whether or not that is the public's understanding of the law, that is how it is written, and when it comes to enforcement, the letter of the law is the only thing that matters.

So we have a foreign government (to us) that has asserted authority to reach beyond its borders and into our pockets with an absurdly complex regulation, where a single violation would financially destroy the company. Since I don't have $20 million to give to them, and the families of my employees depend on their income for things like food and housing, I have to either carry expensive liability insurance to protect against that, or block EU traffic. For us, and I suspect most other sites on the planet, that's an easy decision to make. I'll take a 5%-10% hit in revenue from the loss of EU traffic and be able to sleep at night knowing that someone in a country I've never been to isn't out there filing documents that have the ability to destroy my and my employees' livelihoods.

I won't go into the minutiae of why it's so easy to violate and why most of the experts we have spoken to agree that being compliant is an uncertain endeavor at best, even if you want to comply, because that would be a very long winded comment. But if you do a Google search, you'll see the gist of the problems.
> It's probably just misinformed people.

Probably. There seems to be a real disconnect between US and EU perception of legal and business landscapes here, with the US worrying about the EU legislation more than those based in the EU, who would be far more affected by it (after all, they can't "shut out" Europe).
I think you're probably right - the nice thing about Unroll.Me though is that it works really well and the people that need to use it are probably in a bad situation with their data anyway.

I ended up using it to clean up my mom's email inbox because she was subscribed to nearly a thousand marketing emails and it was the only service I found that could actually fix that without at least a day's worth of manual effort.
I would imagine that HN audience does more than consumer tasks.

Here is a real world figure. I can compile my FreeBSD NanoBSD build in 30 minutes compared to 2.5 hours on SATA3 SSD's

Using a Toshiba NVMe XG3 mounted on a paddle card.

I see zero heat issues with the Toshiba.
> "A drop in fertility is virtually a defining trait of industrialized economies. This isn't a bug; it’s a feature."

Interesting to see programming terminology in a New Yorker article that doesn't seem particularly targeted towards a tech audience.
this stuff is also extremely slow on iOS.
> And, besides, the reason why [my studio is] likely to go to another tech worker is that there isn't enough housing.

Thank you for conceding that your studio is going to go to another tech worker. There goes the (non-academic) argument you just presented against Residential Nexus Analysis. The point stands that baristas and teachers need BMR housing.

> Because it would be weird to namedrop people I don't know well in order to win an an argument on a message board that YIMBY groups are diverse. You are welcome to do your own research to confirm that there are plenty of ethnic minorities in YIMBY groups.

You clearly lost this argument. You were going to "namedrop" some minorities? YIMBY groups are overwhelmingly white. An attendee of the first national YIMBY conference in Boulder noted "it's wealthy and tremendously (88 percent) white; and YIMBY’s racial demographics reflected that."[1] YIMBY activists shouted down minority speakers at a recent protest. YIMBY "has a white privilege problem,"[2] and your comments only serve to reinforce that.

[1] http://www.theamericanconservative.com/urbs/yes-in-my-backya...

[2] Anya Lawler, Western Center on Law & Poverty quoted in http://www.latimes.com/politics/la-pol-ca-housing-bill-failu...
I doubt: “everything works” certainly cannot be said about Berlin.
https://www.youtube.com/watch?v=loVjrNFJAik

The form on the ICO's website is still exactly as absurd today as it was 6 years ago.
I'm sure you can find a better example than that. That's not malicious, it's just annoying marketing.
Here’s the real danger that tech monopolies pose to our society
Another option is pyImgui. Imgui is C++ based. pyimgui isn't on the latest imgui version, but it's coming along. https://github.com/swistakm/pyimgui
fyi, did some quick testing (I was also curious about image dragging):

Pale Moon 27.9: Image conversion to base64 worked perfectly

Dooble 1.50: creates clickable link (file:///home/user/.../filename.jpg)

Midori 0.5.11: creates NON-clickable link

Otter 0.9.09 beta 9: creates clickable link

Chromium 65.0.3325.181: opens new tab

Opera 45.0: opens new tab
I'm really curious now, for those who want more 1:1 time, what sort of topics are often covered?
The GDPR is pretty restrictive, and if it's a law, the risk of a high fine is real and companies will think twice before doing business in the EU. Good for those who can comply, terrible for the rest...
Ask HN: Is it reasonable to be a generalist programmer for your entire career?
I'm curious about this for my own personal reasons. I currently am working with 10 years of experience, graduated a little later than other students at 26 and that was when I started my career. I consider myself to be more or less a generalist with no extreme pros or cons. But, with 10 years of experience a lot of places consider my lack of expert knowledge in any particular area to be a con.

I failed Triplebyte's phone screen/code tests twice- this year and last year. While they are not the ultimate test of skill they do provide good detailed feedback. Generally speaking I've been told that I know a little about many different topics but can't go deep into one.

But maybe it's for the best if I can't become an expert in something. Is it reasonable to continue my rest of my career as a generalist programmer and maintain employment? I am now a bit closer to 40 years of age than 30 and at this point I still cannot find an area in programming that I can consider myself good enough to specialize in and become an expert.
Automation is not a magic wand that means no labor, thought, decisions, or resources are used in the production of goods.

Automation makes people more productive, given the same inputs, but requires knowledge to operate.

It will be hundreds or thousands of years before automation is advanced enough to resemble a magic wand in the way you are describing, where no person is involved at any step of making shoes.

Even then, there will be two kinds of people: those who are given magic wands and learn/are taught how to use them and keep them working, and those who need help obtaining and using magic wands. I don't think I have to tell you that there will still be a power dynamic.
We just have to wait until the next iteration of "What Intel giveth, Microsoft taketh away" and all the current SSDs would feel like super slow drives.
How common is this sort of behavior on HN?
Video game loading is not improved past SATA SSD speeds, so there would be no difference between a 970 and Optane there. See https://www.youtube.com/watch?v=ecCA0gx_eZk
I like pygobject too, but I've always wanted a QT library for python not written by a 3rd party. Most of the 3rd party libs will get you 90% there, but if QT commits to making the library, they won't leave me hanging. I've been wanting to build a python desktop app with the newest version of QT with lots of dynamic UI windows for a very long time, and this will allow me to do it.
> And yet, no wage acceleration can be found anywhere. As detailed yesterday, we find more often than not the opposite indication in some of the more comprehensive data.

And

> There is actually very little employment growth.

Those are both false.

The US has added a million manufacturing jobs since 2011 and the 250,000 added over the last year or so is the most since 1998. The US bled manufacturing jobs non-stop from basically January 1999 to January 2011 (it literally had no positive gain over roughly 12 years). US manufacturing is booming to such an extent right now the production literally can't keep up with demand:

"U.S. Factories Are Showing Signs of Buckling From Demand Surge"

https://www.bloomberg.com/news/articles/2018-05-02/u-s-facto...

Labor demand is so extreme, we can't find enough truckers and it's holding back the economy:

https://www.bloomberg.com/news/articles/2018-02-09/there-are...

Wage acceleration can in fact be found easily, it's right here:

Chart: https://i.imgur.com/lT00cme.png

"U.S. Private-Sector Wages Lodge Biggest Gain Since 2008"

https://www.bloomberg.com/news/articles/2018-04-27/u-s-emplo...

The prime age labor force participation rate - a critical metric - has shown a strong improvement in the last two years:

https://i.imgur.com/HcuLQHQ.png

So not only is wage growth accelerating, the strong economy has pulled a lot of prime age workers back into the economy. Nearly a million prime age workers have re-entered the labor force in 2.x years.

The U6 unemployment rate is also back to a normal level.
Computer scientists discovered the origin of Bitcoin-Artificial intelligence
Lobe’s simple machine learning platform aims to empower non-technical creators
I think you're underestimating the improvement you get from dropping SATA and overestimating how much room for improvement is left for typical users - when the i/o times get to the level of being perceptually unimportant, changes to them don't matter as much and developers are less incentivized to make things as i/o efficient. HDD to SSD type of change is hard to repeat.
It was acquired by a Japanese company, but it was originally an American company / brand.
Less common than the ideology wars, but I wouldn't call it rare.
Unroll.me's ToS was one of the first I checked in detail and it shocked me how invasive it is. I noped the f* out before I granted access to all my mail.
In case hugged to death: https://web.archive.org/web/20181001000000*/https://projects...
It won't be missed
Dank Mono