skysight-inc/HackerNews huggingface dataset:
Good points. So far I find I really like Python's mocking, "with self.some_useful_patch()" is really nice, and I like the idea of side effects especially with boto. Of course in some cases it's really difficult, but every language has its tricky unit-testing problems.

One big point I would give to Golang, about which lots of people disagree with me, is the "opinionatedness" of it. It seems to me that Python, like Perl, has a "There's More Than One Way To Do It" mentality, and after many years of that I really appreciated Golang's emphasis on the "idiomatic." That goes for the tooling too.

I have also noticed that the Python ecosystem doesn't have a strong documentation culture, which I find annoying as a relative newbie. But that presumably matters less over time, and it seems to be part of the Python Way to use libraries that "just work" and not worry about the details.
How extremists gamed Facebook target millions of Britons with propaganda
iGOTHAM Launches New Eyewear to Help You Sleep Better
Lending era is over
I think it's great. Let people dress as they want and feel comfortable. The last think I need is an employer telling me how to dress.
There have been over 25 000 commits since that post was written, clearly, any comments about the specifics of the language are terribly out of date.

For example, the base language now has 92% test coverage.
CI is being run on Windows 32/64 bit, Linux 32/64bit, macOS, FreeBSD with ARM CI coming up.
Every day a large number of benchmarks are run on dedicated hardware and the results are tracked. Benchmarks are also run on most PRs that has potential performance implications bhefore merging. Before new point releases, the tests for all registered packages are run and compared to the old version. Every new failure in a package test is tracked down to make sure there is nothing breaking in the point release.

While package load time is still an issue, the introduced precompilation feature has significantly helped with this. Also, new methods of working with the language, like Revise.jl (https://github.com/timholy/Revise.jl) which updates the code that is being executed in real time when you save your file, makes load time much less of an issue.

No matter who the author is of a blogpost, if it is made about something that has been in rapid development for years after the post was written, the information will have little relevance to the current situation.
The places where the metaphor gets stretched can be frustrating, especially in Windows. You can put Folders on the Desktop, but there's also a "Computer" icon on the desktop which allows you to browse into other folders.. including the desktop?

Then there's your Personal folders.. which are in fact collections of other folders themselves, but appear transparently to be folders- but somewhere on the file system they are actually different folders. But without the benefit of breadcrumbs to help you keep your place in the structure, where did that file actually go?

Don't get me started on shoehorning OneDrive (or was it OneDrive for Business?) into the mix.. where'd I save that file again?

That's why my desktop is so cluttered!
Fossil is cool: https://www.fossil-scm.org/index.html/doc/trunk/www/index.wi...
While I agree with the premise, this comment from the page sums it up:

"Please send this out to recruiters and hiring managers who have come to demand highly specific skill sets to even get your foot in the door."

With increasing constraints and the circus that is applying and interviewing for jobs, who has the luxury of not jumping on the latest trend bandwagons?

As much fun as it is to preach about ignoring the latest trends, that only works if you aren't actively job hunting. Want to see that change? Change recruiting and hiring.
Randomness describes a process, not its results.

You can't prove that a string of 24 fours is not random, and the fact that some process returned 24 fours once is not proof (but is some evidence) that it's not random - however, a process that always returns 4 is not random.

A process that returns a single fixed number (which was chosen by a fair dice roll) once is a random process. Using that same
process twice or more is not.
I get paid to test the network for Verizon
> Finally, someone in Rust community realized we don’t want higher-level abstractions, we just want whatever the hell our hardware can do. If that thing will go stable, I will consider Rust for a next project (BTW, doing CAD/CAM stuff for Windows).

That's great, but please consider that this is an unfair characterization. stdsimd has been in the works since 2016, and many people have been involved. It's not like nobody "realized" we needed to expose vendor intrinsics before then, but it just hadn't been worked on. It's a ton of work.

> Feature detection is no big deal, it’s just a couple of lines in C.

It's only a few lines in Rust as well. But this is spoken like someone who uses it instead of someone who was involved in making it available. :-) It's not just about querying the CPU, but enabling functions to compile with specific target and also reasoning through Rust's safety story there, which is non-trivial.

> But I’m curious how well that thing gonna work in practice? In C++ we have low-level control over memory layout allowing to place these SIMD vector values in STL containers with correct alignment. We have function pointers with vectorcall calling convention that enable implementing CPU-dependent routines very efficiently. The compiler inlines a lot of that SIMD code. Maybe you know how much of that applies to rust + stdsimd?

I don't see any reason why any of that would be a problem with Rust. Inlining is just as important to Rust as it is to C++, and so is control over memory layout. You should try it out and give feedback. :-) Now would be the time!
Python extension doesn’t mean C. Rust works perfectly for extensions, it covers a lot of low level c-api integration and it is fast. You can write whole application in rust and use python as a glue language

https://github.com/PyO3/pyo3

Pyo3 library gives you ability to work both diractions. Call python code from rust and call rust code from python.
I feel bit ambivalent about Python as it's a nice language for prototyping and quickly hacking things done. Yet I'm always baffled when I read Numpy's or Matplotlib's documentation and try to make sense of it as it can be (or at least feel) so complex and highly ambiguous. Eg. sometimes there is no/very brief examples at Numpy's documentation pages how the method works and most results from Google are only about advanced implementations, not about the basics of the method itself. In Matplotlib I still don't understand what is the right way of initializing a pyplot, there seems to be a million ways to do it and a million parameters you can give. API changes and inconsistencies too pain me at times (Pandas comes to my mind). While not a fault of Python as a language I think they greatly contribute to the experience of using Python.

Also I don't feel like the culture of Python programming focuses too much on documenting things which makes reading code at times like transcribing ancient Latin manuscripts. Maybe a good analogy would be JS back in the days with global jQuery scripts. Too unrestricted and free-form maybe. I'd wish Python became more like Kotlin with very clear patterns and great IDE support (in addition to PyCharm).

Well those are at least my experiences and feel free to disagree with me.
Yes. Not mention I hated wearing neckties. (I'm 55... things were different 30+ years ago.) That alone makes the more casual dress environment a huge boon.
Ignoring cattle for a moment, doesn't every other living creature crap in the wilderness?

I've always been taught to filter/treat water regardless of location.
> Many parts of London are "smoke control zones", and there are already strict rules about what you can or can't burn.
Since London has already banned some burning fuel it's easy to add another type

Except, of course - you can buy woodburning stoves specifically certified for use in smokeless zones by the DfE (I know, I have one). It's already prohibited to use non-certified stoves in those areas.
The first time I ever left this country(except for say Canada) I went to Athens- and if you've ever been to Athens you know it's kind of a shithole. Awesome- I love Greece- but Athens is fairly gritty. Anyway, I was shocked by how well everyone dressed.
So I assume that in 10 years those valuable employees will be fired, as they won't fit culturally, regardless spending the last 10 years in that company :)
In case anyone is curious, https://www.washingtonpost.com/news/wonk/wp/2015/04/30/balti... appears to be the source (or something similar) for the final sentence.
Fair point, I was importing the diapers module 30 years ago. But I think in today's world the advantage is mostly in the ecosystem. How the ecosystem came to be is another story.
I used to get frustrated explaining what I thought were simple computer tasks to my mother, but as I've gotten slightly older I am getting just as stuck as she was with some basic computer tasks! I totally get it now.

She also reminds me that she used to work at Digital (DEC), on the cutting edge of tech, in the 80's, but left her job to raise me- so I'm the reason she's so far behind, technically!
IMHO there are three clear causes for this trend:

1) US business fashion is increasingly casual. Ties, skirts, suits, coordinated outfits, scarves, leather soled shoes -- all are passe, even in button down East Coast Fortune 100 companies (other than for aspiring managers or those in banking/finance).

2) Color is passe. Shades of black and grey dominate wardrobes, especially in large cities. Thus fewer accessories are needed, since all shades of gray look OK with all sheens of black.

3) More people are working from home several days a week, so nobody cares how you're dressed. I'm astonished at how fast this has changed here (outside Philly). Probably 2/3 our cubes are empty on most days. Five years ago, they were full, because upper management insisted we be physically present and that we follow a dress code (no jeans). But now that management is no longer physically co-located with staff, and almost all meetings are online, nobody cares where you are or what you wear.
I would love to see a summary of what's been happening in Beijing. What are their policies? Because Beijing air has apparently been awesome these days for the entire winter. My friends who live in Beijing confirm this for me. In the dead of winter, this would have been unheard of even one year ago.

http://aqicn.org/city/beijing/
http://www.stateair.net/web/historical/1/1.html
I design the workflow first. Starting sparingly with Github and G-Suite.

You can build your own webrtc-enabled video chat room in under 100 lines of javascript with PeerJS or the Twilio API. Or use Talky, Cyclops, etc.

If you need invoices, time tracking, and reports. You can always jump into something like Avaza

https://www.avaza.com/

Keep it simple. And don't be afraid to roll your own tools. Good luck!
At the bottom it says that it uses JS to not require refreshing after each message. This is not necessary as the form can submit to a frame using the target attribute without refreshing the parent frame.
Coinbase Is Adding Segwit Support
I hardly use pandas at this point besides read_csv, which is very good once you know the syntax for parsing strings/dates, skipping rows, dropping columns, etc.

After that I usually just keep the numpy array since all I need is floats. I guess the index groupby stuff is cool, but I never really needed it. Postgres is fine but if you're just doing numerics it doesn't help much.
All blue jeans for instance are made in the same factory in Korea. All of them.
> I visited NYC once in fall, and was surprised that I was the only one wearing a white T-shirt. The same sister commented that it was after Labor Day, and in that part of the country they don't really wear white once summer ends.

This isn’t really a thing. Plenty of people wear white sweaters, coats, etc. in winter.
"but the behavior in that thread would have had me eject and find something different pretty much immediately."

Ditto. And I speak as a PaleMoon user as it's the browser of choice on all my machines. They could be right on principle, but the OP had no right to act as an ass that way.

(edit: posted by mistake on top thread)
Rave app to chat with friends while watching videos for Android and iphone
This is a bit misleading. You suggest that local variables are looked up by name in a dictionary, which is not the case. They are looked up by indexing into a C array, with the index being a constant in the bytecode. That's quite a lot simpler. Here is the corresponding code (look above for the definition of the GETLOCAL macro): https://github.com/python/cpython/blob/fc1ce810f1da593648b4d...

So your code should be more like:

locals[a_idx] = locals[foo_idx]->__getattribute__('bar')(locals[b_idx])

But this isn't a very good rendering of the thing because it doesn't show the many redundant reference count increment/decrement pairs every time you touch a variable.

(Also, interpreter dispatch uses computed GOTOs instead of the plain switch on C compilers that support it.)
They are still around developing electronics or products for specific models of autos. Is their goal to provide a low-end device that will do automatic driving (at what level)? https://comma.ai/
Edit: spelling
Alarmist article. It's more like "best day in Beijing / worst day in London" conditions comparison. See the data, last year average air quality is 3 times worse in Beijing[0] than London[1].

0. https://air.plumelabs.com/en/year/beijing
1. https://air.plumelabs.com/en/year/london
Discord and Insomnia are two I use regularly. Also, IMO, VS Code is the best-looking IDE/text editor I've used.
Snap Reverses Slide as User Growth and Revenue Jump
Kinda tongue in cheek as the dumping of Switch cartridges is very rudimentary and not at the level where say, redump.org would accept them.

There's a flaw in the Japanese Puyo Puyo that allowed unsigned code to run on firmware version 3 Switches.

The first thing the scene will try to do other than running Doom will be dumping cartridges. You may immediately jump to piracy, but dumping carts and especially title updates is really important for preserving games into the future, as game companies have proven again and again that they either don't care or don't have the resources for proper archival.
If you like this I'd recommend giving dynalist a try. It's like workflowy, but less purist, with enough bells and whistles to really make it viable day to day.
I lived in the fashion capital of the world and most of the cities workers, outside the fashion industry, wore pretty conservative clothing; blacks, blues, browns. This came as a shock to me, an American, who expected bolder fashion choices. Coming from the tropics my fashion sense were bright colors. And over the next decade of living there I was slowly subsumed by those conservative colors.
iPhone 5S isn’t subject to the battery-related CPU throttling.

My iPhone 6 took 10 seconds to load apps, but after a battery replacement it takes me about 4 seconds. Also, I noticed that apps stay in memory longer which means that I don’t have to do a fresh app load that takes 4 seconds.
> As a user I would say that Recycle Bin is a misleading name because it has nothing to do with recycling a file / folder.

On the contrary, I'd say recycling is a much more fitting name for what happens when a file is deleted: The existing disk space is reclaimed to be reused for something else.
But given a pseudorandom number generator with a known amount of internal state (eg a 32 bit seed) there are hard upper limits on the lengths of sequences like that that can plausibly be produced.

Of course, to get 4 out of a PRNG you probably have to ask it for a random number in a range - if you’re requesting numbers in the range 0-1000 then you would expect fewer long sequences of fours than if you request in the range 0-5. And you can get arbitrarily many 4s by requesting numbers in the range 4-4...
Most of the above are talking about the UI which is arguably separate from the underlying OS. You can like a UI even if it's a UI to a system that crashes a lot :)
You (and a lot of others) forgot the most important need -- security. It seems almost every iot device out there is easily hacked.

Maybe a web implementation with all it's built in protections really is the most pragmatic solution even if it isn't light weight.

I think a safe language like SML/ocaml, erlang, or rust (each with various performance/productivity tradeoffs) is a better solution if we can get a secure framework on top.
>I replace my daily shoes ~annually. I wear the same thing to work and at home.

If you mean to say you have one pair of shoes that you wear daily, you should buy a second pair and alternate. This will allow your shoes to dry out between use which will increase durability and reduce smelliness.

tl;dr: 1 pair : 1 year, 2 pairs : 3 years.
That's the thing about leverage. The money never existed in the first place.
OSX Finder is horrible. Classic MacOS Finder was far better - but still had open/save dialogs.

RiscOS had it right - the Open dialog didn't exist - you would open the folder and double-click the file. And the Save dialog didn't exist - the document would reduce to an icon which you would then place into the correct folder. (You can sort of do this on the various versions of macOS by dragging the icon from the title bar but it's inconsistent)
Which is error prone and often actually slower depending on calling patterns between C and Python. There are many languages today that offer better ergonomics than Python/C, and a few (like Go) which offer better ergonomics than Python by itself, all while besting it in performance by one or more orders of magnitude.

I like Python; I just wish I could say the same for its developers...
My house has a stove. Perhaps I am simply a poseur for having one, but it does get the most-used room in the house up to a comfortable temperature whilst the rest of the house can be left cooler to save on central heating bills. The house was built without central heating, electricity or indoor plumbing and so had fireplaces and had a stove when I moved in.

If, like me, you can wander around the woods near your house (it's not in London, or any other city) and gather fallen branches to cut up and put in a wood store to season, then fuel only costs the time taken to gather and cut it. There are other sources of free wood as well but I still have to pay for it from time to time.

Any savings from free fuel are offset by the fact that the chimney has to be swept at least once a year, ideally twice or more. Getting a sweep in gets the job done a lot more cleanly and quickly but costs about £50-60 a time.
Have you payed for coding help?
I'm curious to know if people use services such as Codementor and Hackhands. If yes, why and how often? If no, why not?
Apple did not "disable" Cut.

1. Copy the source file with Cmd-C

2. Browse to the destination

3. Move with Cmd-Opt-V

It's a UI design decision to avoid Cut in the filesystem. Cut would behave differently from Cut in every other app -- namely, the file is not deleted immediately after Cut. It seems better to avoid calling this "Cut" than to have it behave inconsistently from other apps.
Very dodgy. I'm still using my S3 Mini and it's fine. I have however seen some apps that just won't work 100% and will drain your battery because of bugs etc.
The whole "that which doesn't kill you makes you stronger" and "in order to learn about how much there is you don't know and thereby develop a lifetime love of learning you should drink from a firehose for approximately four years" set of arguments is probably just producing a lot of semi burned out college grads IMO.
In hindsight, it's quite a brilliant tactic. Wait to be swallowed, then fire all you got into the predator's insides.
Just to clarify, I wasn't trying to stop you from doing your app or starting your own business or what is your trying to achieve. I respect and admire that.

I think that this is not the right strategy to apply.
Different ways of working, mostly stuck in our own ways of doing things.

I rarely, if ever, use Minimize on the Mac. Minimize comes from Windows (and other windowing systems) where the window minimizes to an icon or button on the task bar.

"Maximize" also comes from Windows (and other windowing systems.) As others have noted, in newer macos (which I don't use,) I think it oddly makes the window go full screen. Full screen is a recent macos feature -- I once asked about making my Application go full screen and Apple developer support said that going full screen did not follow their Human Interface guidelines. Something seems to have changed at Apple since I asked about that decades ago.

There was no Maximize on the Mac, it is called "Zoom." The idea is that the window has two sizes and you zoom between the two sizes: One size is the size the user has resized the window to (often with much difficulty) and the other size is an ideal compact size ("optimally fit content") without hiding anything and hopefully where scroll bars do not appear -- it is a UI feature that is/was rarely, if ever, done very well by applications other than the Finder.

By the way, Command-Tab to switch tasks was once an add-on from Microsoft for Mac OS. Go Microsoft! (Mac fanboy here :)
I assume this is a joke or that someone inside google pulled a prank:

>The first time Googlebot calls Math.random() the result will always be 0.14881141134537756, the second call will always be 0.19426893815398216

1488 is a white supremacist number known as "the 14 words" / "heil hitler", and 1942 is part of world war 2.
So did the screenwriters intentionally phrase that one in an absolute way? Or is the irony accidental?
You are right in the formal sense, none of those cars officially have by-wire functionality but in order to have LKAS, Park Assist and ACC work they need to support steering via can bus messages and braking via can bus messages. I used by-wire in an informal sense. Disclamer, I have never worked in the car industry, that's why my terminology is a bit loose.
No. I've never needed any help from outside of my network.
Because heroes travel the Trail at a grueling pace instead of steady which runs down the party and increases the chances of illness.
Original source is the bloomberg article which was discussed here:

https://news.ycombinator.com/item?id=16322070
Depending on how you've configured your Dock, Minimize is pretty simple. Either the window just moves to the Dock, or it minimizes into the application icon (then you can right-click on the Dock icon to view a list of the windows that are minimized, or click to open the last minimized window)

Maximize on Mac was NOT designed for the window to fill the whole screen, but rather to resize the window to optimally display its contents. E.g. maximizing a Preview window with a PDF document changes the width of the window to the PDF page width. (Good tip for getting along with your Mac: stop trying to maximize everything.)

In a recent macOS version, Apple changed the green "maximize" button to full-screen, which is very different from maximize. Now double-clicking on most window chromes will execute the old maximize behavior.
You can accomplish (mostly) the same thing with Spaces on Mac. Granted, I don't believe you can really script any of it. All manual, but it still works pretty well for me.

Some days I still really miss dwm, but having Photoshop, Ableton, and several other things Just Work™ makes it worth it.
Meet 'The Wolf of Crypto Street'
Also women build outfits. So a new dress requires a new purse and jacket sometimes.