skysight-inc/HackerNews huggingface dataset:
Would you please not post extraneous flamebait to HN and please not take threads further into ideological flamewar? We've had to ask you this before.

https://news.ycombinator.com/newsguidelines.html
Suggestion: Since you're publishing in PDF format, how about linking to https://pdfreaders.org/ on your homepage?

https://fsfe.org/campaigns/pdfreaders/pdfreaders.en.html
This applies only too MacOS.

I use CCC(Carbon Copy Cloner) to do a full bootable volume backup, which is triggered every night, around 9pm. I go to sleep after 10, so I can switch off my desktop.

When I move to a new machine, I use Setup Assistant or Migration Assistant to migrate data from a CCC backup to a new Mac. [1]

Has worked seamlessly for me across devices as well: :laptops, Mac mini and iMacs.

[1]: https://bombich.com/kb/ccc5/i-want-clone-my-entire-hard-driv...
There are good reasons the GCloud CLI and Google systems don't implement this, like managed keys (glcoud compute ssh...) and service accounts. You can use the watch command to monitor GCloud output too.
The process of rendering a page. Increasing the performance by reducing reflow
How to build an admin panel with React
Creating a full-stack MERN app using JWT authentication: Part 1
afaik neonicotinoids are banned in EU and the US is trying to force them to unban it
> No pointless shuffling of user interface features in the name of UX "innovation", no rationalizing bugs so that they look like deliberate design choices, just steady improvement.

> All this by an independent team with basically zero funding.

And so was the GNOME and GTK ecosystem at large, until the grandeur took the better of them, and the age of developers akin to L.P. came, and all worthy devs went away because of them.
Its crazy that the ads still kept running after the ruling albeit with an adjusted point cost.

How was the ad not “false advertising“?
It should have had a disclaimer.
Open Source Firmware Conference
Maybe. (and I thought festool was the new hotness? I thought that at least rigid and ryobi had been devaluing their brand by selling cheap junk under their brand? But I'm solidly in the 'prosumer' and not 'real contractor' end of the market, so not an expert or even close observer, really.)

But I think the point OP was making is that contractors have a licensing and training program, and if you hire someone to put a roof on your house, they either have to go through that process or work under someone who went through that process. I mean, choosing the right tool is a small part of that, but someone in the chain of command is gonna have words with you if you bring your Xcelite screwdriver and try to use it on the roofing job.

That's not true almost anywhere in software, and that probably makes a big difference.

(I mean, not being educated myself, i personally have mixed feelings about licensure. But it's a good discussion to have, and I think that there should be something like the PE for software engineers (and there was, in texas, but it will be discontinued this year. )
Well, I assume is a component. Can be a layout or a partial, you go there, read the classes, make your changes according to the new design. In case you need extra clases, let's say, you need to introduce something like pointer-events, you go to the framework, you activate it in the config file, then use the class on the div. In case you need extra customization, you write a custom class ex. c-10 and you apply interactions needed (:hover, :focus, etc.).
You are being willfully ignorant of the obvious 'barrel' / 'drum' mistake.
What are you even saying?

Also, police should arrest hate preachers? Define 'hate', please.
I do most of my programming in Cython these days, mainly maths/graphics-related, but all kinds of stuff. It's great for that! I do the intensive calculation parts with typed C variables, structs, arrays, at C speeds, while doing the once-only stuff like loading and saving images in pure Python. I guess it's weird floating between C and Python from line to line in a program, but I like it a lot. (Not having to type semicolons and curly braces anywhere is no small benefit also.)
One of the main circumstances is a common border with the mainland with proximity to Shenzhen. How do you engineer that?
> Hopefully it will not repeat Samsung battery disaster. Few more cars and it would bring bad publicity for all electric cars.

Strange how that works. A few Samsung phones explode and Samsung phones are declared dangerous. One Hyundai explodes and obviously all electric cars are somehow inherently dangerous.
If you mean that you have physical keys which you can remap, such as the Optimus Maximus keyboard concept [1], that would indeed be a great idea.

However, I would not be certain if I could type well on a full-touch screen keyboard such as the Optimus Tactus [2]. I do my typing blindly, having a touch screen would constantly require me to find the correct position for my fingers by look. While on a normal keyboard that is easy to do by touch.

[1]: https://www.artlebedev.com/optimus/maximus/
[2]: https://www.artlebedev.com/optimus/tactus/
>If there's one thing wrong with our profession is a lack of ethics and accreditation - we're essentially letting random people build critical infrastructure and utilities.

https://ncees.org/ncees-discontinuing-pe-software-engineerin...

There was a license for a professional software engineer; they're discontinuing it, apparently due to lack of demand.

If folks wanted to get a "software people taking the FE" study group together, I'd join up.
Sorry, that's one thing we probably cannot fix - the whole idea is that the laying out of the articles is done by authors (not us - the publisher) and the authors have (almost) full control over it.

This means that while we can recommend fonts, we can't really enforce them in this model.

I know the idea for the authors to do the layout is at least 'experimental' (that's the word I prefer to use), but it also gives one more space to be creative (and makes it easier for us from a certain perspective too). See also https://pagedout.institute/?page=faq.php#layout
I'd say the most immediate value/payoff of correctness is ensuring your own code is consistent with what you think it does rather than correct wrt to some sort of external specification.
You also put your time where your mouth is and compete against one of those free services (Github) :-) I don't even use SourceHut (yet!) and I send you money because what you are doing is awesome (admittedly a tiny amount -- if anyone can convince Boris Johnson to walk away from Brexit, I'll be able to up that ;-) ).
Because gas powered cars never explode?
A story how early GTK3 was loosing so much to GTK2 even with first taking full advantage of fast Cairo rendering.

GTK2 own renderers were managing to outdo external ones for many reasons
Funny. I preferentially read HN on my phone which has probably what looks like around a 80 char limit. It makes it really comfortable to read.
I have both. I replicated some of my basic personal configuration preferences manually. Others, I’ve brought in from a git repo. I do use my personal accounts to access certain websites from both machines, but I’m careful as to what information gets accessed or shared where.

But I don’t have my personal e-mail on my work machine. I don’t do personal work on my work machine.

The closest I come is sometimes I will work on things in a shared git repo, and switch back and forth from doing that on my work machine versus my personal machine.

But I’m super careful about accidentally exfiltrating any information from my work machine that might be considered sensitive.

And I’m pretty careful about importing anything from my personal machine to my work machine.
I whitelist cookies; only sites that I have a known relationship to (e.g., HN, for login) get to set cookies.

The overwhelming majority of the web still works just fine. It's trivial to pick out what doesn't, as it either tends to:

a. require cookies for some inane task that doesn't need them, and it tells me this

b. breaks horribly. Typically, JS trying to access LocalStorage, but not checking whether the call was successful or not.

The grandparent is also wrong about,

> Therefore if you do not have cookies from the major ad networks, you're either a brand-new device or an incognito browser.

No, or you're whitelisting all or third-party cookies. (The latter being significantly easier to do, and causes much less breakage. I don't think I've ever seen a third-party cookie cause breakage.)

N.b., I'm not necessarily recommending what I do to others; it takes a lot of work, and I really need better tooling around my flow. But it gives me the context on how cookies/persistence causes or does not cause site breakage.
It's also awesome if you have to do code reviews on a laptop or don't have a massive screen available.

That said, we usually just go with autoformatting via black, which is 120 by default. No more hassle manually formatting code to be pep8-compliant. Just have black run as a commit hook, which is super easy via pre-commit [0]. And you can run the pre-commit checks during CI to catch situations where somebody forgot to install the hooks or discovered `--no-verify`.

Can't really imagine developing Python without Black any more.

[0] https://pre-commit.com/
As a visually unimpaired person, those touch buttons are just horrible. Especially so when it is a function that does not have an immediate effect. Just this morning I switched my monitor on, off and on again, simply because by the time it actually reacted, I had pressed the power button again already.
You don't have to ditch Ubuntu right away. You can install the nix package manager on any Linux distro (and I think also *BSD and MacOS). That way you can play around with it first. You won't get the full power of NixOS but it's a good way to get started.
This is interesting!
(May 2018)

Full title: "How One Recalled SUV Destroyed $45 Million In Cars, Burned A Massive Ship, And Sparked A Legal Battle Between Ford And BMW"
You're right. To anyone that's not incredibly wealthy the deal on offer, in reality, was:

"Two unfeasibly cheap flights to the US plus a free vacuum cleaner"
...which is caused by making batteries irreplaceable to start with. If a phone's battery is user-repleacable, the user could buy it from Apple or any other reliable manufacturer. Now they have to go to either Apple or some third-party show who may use problematic batteries.
No surprise at all. They heydey of litigation is over -- everything settles, what doesn't goes to arbitration, and the sliver of work that doesn't go to arbitration goes to trial. In the meantime, the market is absolutely flooded with new grads who are eager to live the life. In addition, the old guard is retiring later. At the same time, there is a tremendous amount of legal work to be done in our ultra regulated economy.

The end result is pretty predictable. Salaries are abysmal. Associates compete brutally with each other to handle mind numbing hours of document review 7 days a week. Trial experience is very rare making it difficult to move up and do 'real' litigation.

I think the starting salary for an attorney fresh out of school in my city is around $40-50k, 60-80hr weeks. Hardly what most people imagine when they go to law school!
Monopoly rent-seeking plays a part. To compete for many/most of these matters, one generally has to have completed an expensive three-year stent at a US law school, passed a bar exam and be in good standing in the bar of the relevant jurisdiction.
These things state I'm unique every time I go to them. That's the problem with the tech, it can't track very well.
https://news.ycombinator.com/item?id=20673550
So, TechDirt can’t figure out the difference between UDP and UPnP?

That doesn’t bode well for TechDirt.
Why? Would you please be more specific?
But they do work the same as a newline. So you cannot do everything you want in one line.
Network effects and platform thinking create a high sense of urgency: time to market is considered crucial.

This in combination with a high level of innovation means there is a big risk perceived in taking the time to truely evaluate and test new technologies.

And in the end, because most of this is venture capitalist driven, long term effects are not really important: a road to a rewarding exit (ipo or company purchase) is what really drives most investment decisions.
That's what I said, isnt it?
Entanglement would allow to send information if it was possible to clone quantum states https://en.wikipedia.org/wiki/No-communication_theorem#Some_.... If we are looking for a hidden variable theory, we need an explanation for no-cloning theorem independently from entanglement issue, so this does not add any additional restriction.
Interesting article, I would love to read one regarding Java and Kotlin, or if even someone here would share some knowledge with me, I would be grateful.

Is Java dying, what is its future?
Where is Kotlin heading, currently it is the hottest language for Android development, can it also compete with Python in some branches?
> Tell that to accounting

Are you suggesting that accounting only cares about the AWS bill but not at all about the salary of developers?
It's language vs libraries. If you have a library that has a function

get_the_shit_done_quick ()

than you don't care much about the language.

When you don't have such function, you need an expressive language to write it (and a bulk of python libs are not written in python, tho mostly for the performance reasons).

So it's all about finding a sweet spot between fancy libraries which do the shit for you, and fancy language, which let you to express things, absent in libraries.

This sweet spot differs from domain to domain, from user to user. Even in numerical stuff someone could have a requirement for a better language, although this domain is indeed to well defined to have enough fancy libraries.
NixOS + HomeManager is the best setup for reproducible setups, bar none.
I hated Javascript back when all it had were callbacks, but once native promises stabilized, I loved the simplicity + ubiquity of the promise abstraction, and then later async/await. Now it's actually my favorite dynamically-typed language.

I've noticed a lot of Javascript hate also comes from people just disliking client development (which isn't easy on any platform).
black -l 120
I recently decided to tackle this exact problem, and ended up using Salt in masterless mode to do this. I have the most experience with Salt, and follow a few best practices to ensure my states are idempotent.

Here's my local laptop configuration with a one-step run (I only use Ubuntu laptops as o 2019): https://github.com/AkshatM/configuration

Some challenges and partial solutions I'm still figuring out:

1. Distribution. I cannot simply clone and run onto a new laptop as that assumes I have Git as well as my Git SSH keys for my user integrated - this is usually not the case for fresh laptops. Instead, I carry a clone of this repo in a USB stick, and run `launch.sh` as root.

2. Configuring workspaces. Golang is particularly annoying because $GOPATH != my existing workspace folder (which has many cross-language products in it), so I need to declare two separate workspaces. :/ I would like to one day have a single unified workspace.

3. Version management. I've discovered doing this yourself is detrimental to your sanity (and that apt's package pinning is some of the worst I've ever seen), so I now only require pyenv, nvm, tfswitch, etc. for doing this for languages and favor the latest secure versions of all apt-packages.

4. Deciding which package manager to use. I recently discovered snap, which offers an improved experience for Linux applications compared to apt, but suffers from a small ecosystem. I'm using snap where possible for all my favourite apps, but by and large apt is still the ulcer of my life.
That's why Docker is a good idea for packaging things up. You basically get exactly the combination of binaries, libraries, etc. you intend to run. Probably not a bad idea to use it for development as well. Or at least something like pyenv or whatever it is called these days.
Well, this has all the signs of well-meaning but inexperienced developers seeing a market opportunity without appreciating the many difficult problems that will have to be solved to produce something that is secure, reliable and interoperable with current development ecosystems.

Rather than abuse them, we might perhaps use them as an example of the Dunning-Kruger effect.
Well duh, it is Google we are talking about!
One important fact here is that everything the pilots will need to reach quickly in an emergency still is a physical button. It's just the more "nice to have" things (e.g. programming the cost factor of the engines, putting the route into the autopilot) that are done through the screens. Though, even those inputs are largely done with a funky kind of mouse+keyboard. Actual touchscreens are largely relegated to tertiary functions like airport information displays.
I switched to xfce about a year ago (from gnome) and have not looked back yet. It is great and I quite like the "oldschool" feel. Really recommend trying it out!
I'm not advocating religion especially extremist version although there are way more cases in which religion helped people that's why it survived so long, I said once it was good solution and than I explained what is solution for today's world.
> Hmm, so are you blaming the incompetence of the majority of people in the field?

I interpreted it as being an issue that there are so many options that being an expert in the relevant two so you can can make an educated decision is uncommon.

This is probably somewhat unique to programming. There are easily more than 25 programming languages that would be important to know trade-offs between in any given programmer's career. And in each, there are competing libraries and frameworks. Woodworking is the only other profession that comes to mind for having so many competing tools.
> All that is left to do is get in bed with the ad network to ask them if they have good cookies for this session.

What's funny is that this is pretty much what ReCaptcha v3 is. Asking how "authentic" the Google cookie looks.
Did anyone just buy a hoover, go on the trip and then return the hoover for a refund to a store? :)
Nor a bartender is contributing to the death of people, even when they drink themselves to death. Let's see where is the personal responsibility of each of the people involved.

I saw this kind of logic trying to blame gun manufacturers, but it should extend to car sellers (there are many more deaths in traffic), knife sellers, soft drink sellers (diabetes kills), etc. No, they are not contributing to someone's death just because they sell them something that person uses and eventually die.
Thanks, I didn't know about the `invalid` non-TLD. I've been using example.com.

Still, it seems inappropriately opinionated for git to tie in and require an identifier on a specific communication mode, even if we can come up with fake emails. And I dislike the extra bits of reduced anonymity (eg "correlate pseudonyms by which fake email they all use")
I sometimes have a tendency to focus only on the negative aspects of some things, while ignoring that all in all, those things are fine. I don't think I'm alone in that, certainly not in our line of work.

A call to "snap out of it" seems that it can help in such situations. Python is not a programming language that should make people burn out or angry. Very few languages should be capable of that, so I think this issue goes deeper than just flawed tools.

I find that the only way not to go nuts in this profession is to ignore most of it and most of it is really not relevant to building good software. There are just too many tools and always searching for the perfect tool is a recipe for being unhappy.
Thanks for the feedback - that's an interesting note :)

I don't think we could speed up releases at this point, but once we have a steady inflow of articles and all the DTP scripts finalized I'll revisit this idea.
"Roughly half of the UK did not want Brexit at all though and wouldn't be that swell to hear that they have to appease a dictatorship now"

Id count myself in that half, that isnt the half motivated by ideals of sovereignty and control of their own destiny at the expense of all else, plus that half isnt currently in the drivers seat so I kept that half out of the discussion.
I don't think Britain can afford to be pissing off China right now.

I’m not sure you understand the Brexit mindset. Everyone knew exiting the EU would be an economic hit, but they believed that some things are more important than just making money and accumulating stuff. A grand gesture in the name of democracy is exactly what a typical Brexiteer would want. Even better that it harks back to the days of Empire, in the case of Hong Kong.
They actually have ways of tracking ad performance in newspapers.

Remember the "mention this ad and get 10% discount" ads? There you go.
I have used all code from c+, java, php, javascript, ruby and more and found python is the easiest and simplest to use (you do not have to setup 5 classes to declare 1 variable) the only thing i hate about python is there is no built in parser to handle formatting.

Which is a simple but big design flaw for me.
Making some people smarter doesn’t require making others dumber.

If you remove all the smart people from a school I'm pretty sure the outcomes for everybody left behind will be worse.
Yes please :)

All the details are here:

https://pagedout.institute/?page=writing.php - technicalities / topics accepted

https://pagedout.institute/?page=cfp.php - process
It's a vicious circle.

Our industry's working in a survival of the fittest mode, where fitness is almost exclusively measured through profit.
I use Plasma 5 everyday, and it is nowhere as fast as Xfce.

And this is telling for Xfce, because Plasma 5 is pretty fast (once started).

I'd say Plasma 5 is pretty fast. Xfce is instant.

Xfce 4 is kind of timeless. I could use Xfce 4.14 today, and then go back in time to 2005 and use Xfce 4.2 on my Pentium 2 (333 Mhz) laptop with 96 MiB of RAM and it would still feel very familiar and look quite the same. Actually, this is the opposite for me: current versions of Xfce still feel familiar to me.

No such thing can be said of KDE and Gnome. Even of Gnome 2 between the different versions.
It's not incompetence, and you don't know what's going on either. None of us do. Most developers I've worked with know less than me, and I don't know a fraction of all the things to be learned out there.

Most people only have deep experience with their special niche, because it's a lot better to hire a "PHP developer" than a computer scientist if you actually need PHP maintained. That creates incentive on both sides for specialization of labor, and it decreases the number of people that have deep and current experience in many things.

And more common tech means easier to hire workers, which gets the job done faster. It doesn't make sense for me to add Rust to a project, because now I have to both do the project and learn Rust. Plus I'm going to have trouble finding Rust programmers to maintain it.

You can't teach this stuff in schools, because it changes too fast. The best we've come up with so far are those hacker bootcamps that try to ramp you up on what's hot right now so you can at least start to get in the game with the highest chance of success.
This is a bit of a personal plug, but as for examining trends of funding and startup activity in the “AI” realm, I wrote up a brief summary of some CB insights investment data earlier this year [1]. I thought it was interesting to examine the difference between investment activity and entrepreneur activity, as there is always some inherent information asymmetry between entrepreneurs and investors. Not a deep analysis, but a few basic charts :)

[1] https://medium.com/@kevinconnolly/the-top-100-ai-startups-91...