skysight-inc/HackerNews huggingface dataset:
IMHO the hiring of Sarah Jeung by the New York Times - a highly respected establishment institution - was a watershed event. It is now socially acceptable to preach hatred of “white male privilege” against poor rural white guys who are NOT genetically privileged and whom are plagued by a growing opioid epidemic and skyrocketing suicide rates. It says to these young boys, not only does your low IQ make you unfit to survive and thrive in this world but we’re going to treat you with contempt because of your skin color. How could any intelligent person be surprised when this results in an increase in mass shootings and other acts of desperation?
According to people who work with a lot of programmes teaching coding, the reason python is so appealing to new coders is the syntax. Particularly the lack of braces, the indents, the nice keywords, that make reading code much easier to a newcomer.

Having taught both python and JavaScript, I can tell you that the former is far far less confusing to newcomers than the latter. Imagine explaining the problem with equality comparison or prototypes in JS to someone who just learnt what an IF statement is.

The reason I agree that python will dominate programming for decades to come is the batteries included and pythonic approach that enables people to do cool things with just a few lines of code. As a result of the above, the ecosystem has reached critical mass. For most tasks there’s a library that does that, and it’s good, and it’s easy to use, and the developer of the library usually doesn’t expect you to understand their opinionated philosophy to use it.

I love the python convention of putting a minimal example on the homepage of a library.

You’re not going to get your average developer to appreciate the beauty of Lisp or the value of static typing. They want their ML to work, or their graphics to display, that’s all. Ends not means, almost entirely, for most people who aren’t full-time programmers.

Let’s not hate on a language that opens up programming to the world, unless we want to be gatekeepers. If you want to maintain an air of superiority, just learn Lisp or Haskell or C++ and write code that’s “deeper” into the tech labyrinth. Programming will probably specialise into “end user programming” and “Service and system programmers”. Embrace the democratisation of coding.
Top mind at work here. How can we isolate it and increase world productivity?
They're not.

If you want a Mac, buy a 2015 MacBook Pro. That's what I use: it has a working keyboard, ports you'll need like USB 2, SD card, HDMI etc., and it works great. Last good laptop they made.

If they make a good one again I'll get it but one of my worst decisions ever was to buy a Mid-2016 MacBook Pro: keyboard would break consistently every 1-2 months, battery was faulty, eventually the logic board died with all data on it. I had Apple fix it and sold it in a hurry for half the price I paid for it.
Yeah a whole lot of the story makes no sense. There’s plenty of ways - sensible ways - to offload aging inventory that don’t involve schemes like this, and I’m left wondering if there is more to this study than what’s in the article. As in, if this random travel agency had some personal connection to Hoover executives at the time.
The article is about extremists, not about mass shooters. Most of them wont murder, they do day to day organizing work for few murderers.
Back in 2009 Alex Dragusin hypothesized: "In a finite space there must be a finite number of events, which are strictly related (in a cause-effect chain) to the finite constraints, are therefore not random."

In the absence of high enough computational resolution one would perceive this as randomness. This is also related to the quest for determining if we live in a simulation.
wow! This was unexpected for me. Changes happen so rarely with xfce and for me it is a good thing. But I wonder with all the optimizations going with gnome will xfce be any lighter anymore? I mean the next gnome versions, even 3.32 is resource hungry sometimes.
That may maximize the immediate value to shareholders, but the real goal is to maximize all discounted future cash flows.
Its pretty simple to work out if the touchscreens were a step-back: ask the operators.

BACK-DROP: Many commentators blame the USS Fitzgerald squarely at the feet of budgetary uncertainty, leading to severely depleted crews. Researching it now, the coverage I think must of been largely by this guy
https://www.reddit.com/r/IAmA/comments/aqmwam/im_t_christian...
You apparently didn't read the iFixit post because the message does say that the battery may not be genuine.

https://www.ifixit.com/News/apple-is-locking-batteries-to-ip...
HN: Coding is overrated and we're replacing it
Hi, All!

We’ve just completed the first version of our MVP.

Just a quick description of our project: We’re mltrons. We’re predictive analytics in five clicks. You connect your company’s data source and tell us what you want to predict. We’ll tell you the important variables in your data and give you a predictive model that you can use to make predictions for different scenarios in real-time.

Right now, we're gathering feedback and iterating on the MVP. If you’re a data analyst or an analytics professional who’s learning how to code machine learning models, or someone looking to integrate machine learning in their application via API, please comment below with your email address and I will reach out to you with more details.

Discovery of your pain-points and getting your feedback will be highly valuable for us to provide value to you and address your needs.

As a bonus, we’re not charging any money from the first 100 users.

Looking forward!
Best,
Raheel
I can only speak for the Leaf, but much like a petrol/gasoline car, the 12V battery is only charged when the car is on (and when the car is actively being charged). It is entirely possible to run down the 12V battery if you leave the car parked long enough without it being turned on. Once the 12V runs down far enough, you are no longer able to turn the car on (or charge it) as the 12V powers the contactors for the main battery. I have had to jump start my Leaf due to a bad 12V battery.
I’m very excited about high DPI support. I switched to xfce on all my Linux boxes because I like the simplicity but the lack of proper high dpi was a nuisance.
You made too many assumptions about me. I'm not at the top. I'm not even from the US.
Any explanation for the down votes?
I was excited about the idea, but PDFs are a big issue. I want my content as RSS feed, please (although having a RSS feed announcing new PDF issue could work...).

Edit: The problem is that PDFs are basically usability wise readable only on iPad and even then not that spectacular. Also my iPad usually stays at home so no reading from laptop or from phone either.
I always felt the same too!
Pepsi briefly became the 6th largest military in the world
But actually now already people can hide behind socks5. Dns n all. Just that people usually dont use it.

Whatever....
I feel that way too regarding choosing Typescript. It's a real joy to use TS and I'd be depressed having to ship plain JS to production again.
I don't know what parallel reality you live in but there are few languages with as many packages for getting productive things done than Python.

In web dev andam data science I have yet to see a language with as many libraries for useful stuff.

Now, if what you're looking for is high performance and precise memory management, sure, the language will never give you that.

What language has as many easily available libraries? Java, .net and npm come to mind as the only comparable ecosystems.
Conserve the Sound
Looks like I'm joining 50% of the current commentators, who just wanted to share they felt this was a charmingly written piece!
I think R is a much worse programming language, like 1 indexing, very unintuitive string manipulation, dataframe being the magic facade that hides complexity, etc.

I would choose Python any day if the other option is R.
I am a novice programmer who started with python and have recently been using javascript, where I use auto-indent-on-save.

Coming back to python is annoying because it's harder to make sure code is at the right indent level than to use { }.

In fact writing this comment inspired me to find this:
https://github.com/mathialo/bython
Quite welcome. I think you are on to something. The thought that comes to mind is "Python is a great language if you want to do exactly what everyone else is doing." Most of the love has nothing to do with the language itself, but rather the fact that people can make use of some library that a big engineering effort produced in another language entirely. Thus they conflate Python with access to that functionality. All of my code bases are pure python (in part because of the packaging issues), so maybe that is the difference, people aren't really Python users, they are numpy, pandas, django, sqlalchemy, or requests users. It would be interesting to compare the view of library maintainers vs just 'users.'
> [session manager] can now run commands not only "autostart style" at login time, but also when your computer suspends, logs out etc.

> larger thumbnails as well as support for a "folder.jpg" file altering the folder's icon

> "Do Not Disturb" mode

> HiDPI support
I'm quite excited with this news. If this release is nice enough, i think i will migrate to xfce4 from kde plasma.
Maybe that's why IBM has been so incredibly successful after off shoring everything possible to India.
RBG and the privileges and immunities clause will win sooner or later with that attitude
I wonder if the privacy threat model includes being able to prove that you used incognito mode at all, when, or how much. I can imagine all sorts of leaks in that regard (how many incognito disk files were created, size/ctime/mtime, system logging, indexes etc). None of these would require physical access to the machine at the time of incognito browsing, just subsequently.

Might seem like an incidental concern, but being able to vacuum up a pattern of incognito sessions from a seized laptop (at a border crossing, say) and correlate it with the activity of an online pseudonym could be pretty useful.
Python's exception system isn't bad. It's way ahead of Java's or C++ exceptions. The gyrations people go through in Go or Rust to handle errors are far worse. The exception hierarchy lets you capture an exception further up the tree to subsume all the more detailed exceptions. (Although the new exception hierarchy in 3.x is worse than the old one. In 2.x, "EnvironmentError" was the parent of all exceptions which represented problems outside the program, including the HTTP errors.[1] That seems to have been lost in 3.x).

I think StopIteration is being removed. That was a a bad idea.
Not sure why you are downvoted.

Thank you for sharing, I don't think you troll as some of my younger employees shared the same feeling of disenfranchisment in their 1:1's.

Even if the view of being othered by diversity programs etc. is a little bit skewed, it's definitely having an impact in their psychology, as it's an easy scapegoat for why a raise was not given, a talk got rejected, etc. etc.

The actual cases numbers of these things happening must be much much smaller, but that's beside the point, as it's the psychological aspect that's ruining their perception of themselves and what society expects from them.
I've been testing it since 4.13-pre1 and it's a solid (if slightly overdue) release.
No. That's exactly what Apple are doing. Out of all the ways they could harm the consumer in this situation, that message is by far the most effective. Stop defending them. Stop giving them benefit of doubt. Stop misconstruing their malice for incompetence. Apple has repeatedly demonstrated that they'll go to extreme lengths to harm consumers and prevent 3rd party repair.

That message destroys the consumer's trust in 3rd party repair shops. It says battery health issue. Are sure you put in a real Apple battery? Did you even change my battery at all?

Outright locking the battery out would cause backlash and possible legal action. This 'technically works but will nag you forever unless you pay Apple to run a program to clear the message that they refuse to share with 3rd parties' solution is genius. Evil genius.

Imagine the car equivalent of this situation. Imagine you take your BMW to a non-BMW-authorised repair shop and they swap your battery to a perfectly good one for 1/5th the price. But now you have a permanent warning light on your dashboard that there's something wrong with your battery. This situation is actually impossible. There are laws that require carmakers to release repair manuals to 3rd party repairers and honour warranty after 3rd party repairs. Tech companies are shitting on their users because equivalent laws don't exist for electronic goods.
Heh, I got a free flight out of this! It was my second trip to NYC from London, I was 19 or 20 and the markets were saturated with cheap brand-new Hoovers that people didn’t need. Great trip to NY/hapless marketing campaign from Hoover.
Wouldn't this imply that excluding places like T_D and more recently, 8chan, further continue to fuel further extremism in groups that already feel marginalized?
Here's a video: https://www.youtube.com/watch?v=Q5ktkR-xSoM
or buy a competing laptop, which is what i did and i believe to be the sane choice
Yeah, I'm a bit sick of Python. We have some internal utilities written in it and while developers could manage all the dependencies and everything, we kept having problems with getting everything working on the machines of our electronics techs.

Gradually pretty much everything has been rewritten in C++ (with Qt GUI framework). Way easier to be able to have a setup program (using free InnoSetup) that just extracts the eight or so DLLs required in the same folder as the EXE and that's it.

We just use Python for a bit of prototyping and data crunching here and there now.
> Or something that works with PyPI directly

Poetry is python specific and does not solve the problems that pip/pypi has with native C/C++/Rust/etc modules.

Nix/guix solves all of that
Well, yeah compared to R and matlab, I am willing to believe Python excels, but the person you are replying to is probably not doing data science, so he has options besides the 3 just mentioned.
I’ve been considering a new laptop myself. My family has been Apple-based for 7 years, MacBook Air, iPhone, iPad.

I haven’t purchased one yet but when I do it’ll be another MacBook, even after days of research. nkkollaw recommends a 2015 MBP and I think that’s a good suggestion, but I don’t have an issue buying a newer model either.

The deal breakers for me are

1. Apple trackpads are the best in the industry
2. I don’t want Windows and too many things don’t work well on Linux and require lots of configuring
3. Apple products are high quality, despite various issues throughout the years like the recent keyboard
4. The sooner everyone adopts a new tech (USB-C in this case) the sooner it won’t be a big deal
> After 8 to 10 years it will fix itself

100% of the total cap is used every year. The cap is not changing, the number of applicants is not changing (grows, actually), so the backlog will keep growing with no change at all. How exactly the cap is allocated to nationalities is irrelevant.

You can write a simple simulation of a DMV office that gets more new people every day than it can serve per day, and prove that the line grows indefinitely regardless if it's FIFO or capped or whatever.

The only true fix to the indefinite growth of wait time is to change the spammable lottery/FIFO system to something like merit-based (like Canada) or salary auction, which grants all the cap to highest scored people and rejects everyone else.
Historically, partners in law firms haven’t had to add value themselves because they had junior lawyers to do that for them.
Heat wave: Galveston had a 100 degree heat index for 40 straight hours
When it comes to raw performance, PHP7 is much faster than Python.

PHP is more flexible when it comes to building web applications. But in some areas Python just have better libraries (computer vision, matrices, high-level mathematical functions). I remember reading that PHP is going to add FFI and I believe FFI will have a big impact in PHP world.
> I see the world mostly as a hostile place,

I think that you understand subjectivity of that perception. World is not hostile, just indifferent and doing its own thing regardless of your existance or needs. You just gotta become fine with that and your outlook on life will improve.

> and easily get a feeling that people do not like me.

Some don't like you. Some feel your mistrust towards them. Some empathize with you and in your company begin to see world as more hostile to them and they don't like it. When you feel safer in the world your relationships will improve.
Thanks for the explanation and the link!
The rise of excluded male extremism has been predicted for some time, but sadly anyone who mentions it usually gets blasted online. I think the “I drink male tears” coffee mugs as sipped by journalists at global media publications* look particularly dangerous and distasteful in this age of mass shootings. Alienating and ostracizing people will only further push them into extremism.

It feels like maybe the tide is turning a bit, but so much damage has already been done to our society. At some point people need to stop painting all men with the same brush used to describe the very worst of the worst of them.

* https://www.theguardian.com/commentisfree/2015/mar/13/femini...
It's literally cheaper to pay Apple to replace an iPhone XR battery than it is to buy a trustworthy replacement from iFixit, and a modest (~$25 at worst, though I'm not including shipping cost from iFixit, and labor would eat most of that margin IMO) premium for phones dating back to the iPhone 6.
There seems to be a common mania state of irrational exuberance with unrealistic hopefulness. It has many examples: people in love, positive/devout Christians, big-idea startup startup and even residents of Raqqa under the Islamic State playing in the river Tigris, unreasonably hopeful about their future.

To bring the point home, unrealistic hopefulness or hopelessness sets a person up for failure. Whether they internalize any resulting failures into bitter anomie and desire for omni/suicide depends on an individual's coping skills, ideology and social support (or lack of each thereof). Combine a lack of hope, opportunities and many negative experiences leads to angry people who take their pain and loneliness, and wish to lash out.
I've been using XFCE for years now and it's just absolutely my favorite no thrills DE.
Funny thing, if you extended your reasoning and compassion to include the underprivileged in general, not just American white guys, you'd be a leftie.

Not all the white guy mass shooters are underprivileged though. How do you explain that?
And Hoover vacuums, once the star of every living room in the UK, sit in closets gathering dust

Bad choice of phrase for the end of that story!
I suppose that comes back to use cases. I am one of the 'getting things done crowd', rather than a computer scientist. A lot of my work had been in things like EDI, or similar integration code.

Imagine you are working through a series of EDI files and trying to post them to a badly documented Rest(ish) API of some enterprise system. If the file is bad (for whatever reason) you need to log the exception and put the file in a bad directory.

Pythons use of exceptions for control flow is perfect for this. If file doesn't load for whatever undocumented reason, revert back to log and handle the fallout.

"Oh I see a pattern, this API doesn't like address lines over 40 characters, I will add a custom exception to make the logging clearer, and go and try and see if I can fix this upstream. If not I will have to write some validation"

It is this dirty world of taking some other systems dirty data and posting it to some other systems dirty API that I find Python rules.

I have never worked on a large application where I owned the data end-to-end. Maybe there are better choices than Python for that?
Show HN: Homebrew temperature logger for raspberry pi
F#, OCaml and Haskell

Can I quickly prototype a new deep learning model and scale it to a 32 GPU cluster with very little effort in those languages?
You're not Facebook. The carbon footprint of a single developer is comparatively gigantic for the vast majority of projects most people work on.
You can configure Pep8/Flake8 to ignore subset of rules. You might wanna look into that. Also, automatically executing it might be your preference, or not.
Kotlin Native and the Azure Kinect DK
In fact, that many men will instinctively resort to any means in an effort to achieve higher status and probability of sex if they are socially isolated...

It’s acutally surprisingly obvious given the knowledge that it’s not the norm for men to have children, in evolutionary terms. So obvious it’s weird that there isn’t more focus on avoiding those outcomes in society.

Maybe it’s a leftover from agricultural society, where the institution of marriage reduced the tendency. I don’t prefer the strict marriage and fidelity norms of the past, but they certainly had a stabilizing effect. We don’t have a similarly effective stabilizer on the horizon.
Not my project, but I installed on my pi zero w and it works great, some helpful support on gitter from the creator also.
Please don't comment about the voting on comments. It never does any good, and it makes boring reading.

https://news.ycombinator.com/newsguidelines.html
You inserted very common melodramatic spiel/talkin point.
So I've got a MacBook 2016 that's slightly affected. It's my impression that the keyboard is simply the weak spot of the current MacBooks. Meaning, if something goes wrong, chances are it's the keyboard.

In my case, the fix is fairly easy. Put canned air in the office and at home. Apple has a support document about it. I need to do that every month or two.

It wouldn't stop me from getting a MacBook, I need it for my work. But I've got two tips; budget for a nice Thunderbolt dock at work and at home, so you can use external input devices. Don't eat at the keyboard.

If you can hold out, perhaps you can wait for the 16" model that's supposedly coming, it's rumored to have a different keyboard. But these are just rumors and you could wait for a looooong time.
Yes, Yes, Yes. I remember when I translated Bitcoin Python code to JavaScript, I was frustrated. Operator overloading is not available in JavaScript. By default JavaScript only supports 32 bit number. You have to use BigInt or use 3rd party library like big-integer. There is no default support for module exponentiation. And many more.
Worth doing, but it only serves the deserving poor. What about the undeserving poor, which includes most of the druggies?

I'm one of the undeserving poor, that's what I am. Now think what that means to a man. It means that he's up against middle-class morality for all of time. If there's anything going, and I puts in for a bit of it, it's always the same story: "you're undeserving, so you can't have it." But my needs is as great as the most deserving widows that ever got money out of six different charities in one week for the death of the same 'usband. I don't need less than a deserving man, I need more! I don't eat less 'earty than 'e does, and I drink, oh, a lot more. - From My Fair Lady / Pygmalion.
I wont use anything Chinese if I can avoid it. This is disgusting oppression
>For the majority of Defcon, hackers couldn't crack the $10 million secure voting machine prototypes that DARPA had set up at the Voting Village. But it wasn't because of the machine's security features that the team had been working on for four months. The reason: technical difficulties during the machines' setup.

>Eager hackers couldn't find vulnerabilities in the DARPA-funded project during the security conference in Las Vegas because a bug in the machines didn't allow hackers to access their systems over the first two days.