skysight-inc/HackerNews huggingface dataset:
> Hate to say it, but it's for the most part accurate

I hate to say it too, but statements such as yours, filled with sweeping generalisations, oversimplifications and us-vs-them outgroup nonsense like they want to "spit on our values" usually turn out to be very very far from accurate, and indeed say more about the speaker than the subject at hand. Chip on your shoulder much?

I'd like to think - and have generally observed - that 99% of people from anywhere are not in fact greedy sociopaths, but instead decent people trying to live good lives inside their own cultural and economic context.
Or just not the right expertise to launch and manage such a contract. Sadly really difficult for government to hire the right expertise - either hiring procedures are too complicated (equitable!) or slow (thorough!) or not interested (salaries not competitive as citizens would be outraged about gov paying high salaries for high expertise).
the DOM was often used to store state.

Every once in a while I'm reminded that I'm mostly disconnected from the way "most" people build things. Thanks for this insight. It finally explains why I hear people talking down about "jQuery developers", if that was something that people actually did.

But wow. I've been building javascript-heavy web stuff since the mid 90's and it had never occurred to me to do that. You have your object model, and each thing had a reference back to its DOM node and some methods to update itself if necessary. All jQuery did was make it less typing to initially grab the DOM node (or create it), and give you some shorthand for setting classes on them.

It also explains why people liked React, which has always seemed completely overcomplicated to me, but which probably simplified things a lot if you didn't ever have a proper place to keep your data model.

I can't imagine I was the only one who had things figured out back then, though. The idea you're talking about sounds pretty terrible.
Sorry that's a myth. Internal combustion engines are MUCH less efficient than any combustion based power plant. Ever notice how your engine is hot? That's all lost energy. Cars are only 25% efficient or so and the rest is lost as heat. Natural gas plants are 43% efficient and Coal is 32% efficient.

Battery losses are extremely minimal and the rare earth thing is a red herring. There aren't any rare earths in batteries btw.
The Open-Source / Linux Highlights from OSTS 2019
>Or just play Go.

Or just play a game where the pieces themselves change the rules of the game (magic: the gathering comes to mind).

Both Chess and Go suffer from the problem that a "correct" play can be computed and both games will eventually be solved (and yes, Go has many more possibilities than chess of course).

To be a real game worth playing for me, a game needs to have randomness and hidden information as well as some way of altering the rules of the game itself mid-game.
Why do you take offence that I said "littering is expected" in some cultures? Is it untrue?
the Answer to most of your questions is that the GUI would quickly break after being forked.
I was curious so I just read it - even if half of it is true, he’s an incredible individual.
That's a riddle disguised as a joke
Public sector salaries are simply set a certain way - through a political process, covering all employees. There is little leeway to give higher/lower salaries to a few as that smells like cronyism. You can't negotiate a gov salary, except for externals.
They clearly mean in a practical sense they have the same purpose, not that they’re literally aliases.
Cheaper and lighter. The dry electrolyte from maxwell that T acquired can do both.
Yeah, but you're referring to "super-computing" situations, where the OS of choice is Linux and nVidia would be shooting themselves in the foot if they only developed drivers for Windows.

When it comes to normal consumer hardware, it seems that nVidia drivers for Linux in 2019 are still a hit and miss:

https://www.reddit.com/r/linux_gaming/comments/bhfjnb/nvidia...

https://www.reddit.com/r/linux_gaming/comments/bol5uo/nvidia...

EDIT: Maybe my formulation of "powerful GPUs" led you on to that. Though I did say "no matter desktop or laptop" to clarify that...
As an individual in a society, I am no more than an ant who serves her queen. Yet, each ant has a purpose, however small, to maintain the health and well-being of the colony. An ant lost is a tragedy, a colony lost is another step towards extinction.

This is not the reality we live in. We are less than proverbial ants, we are grains of sand beat back ceaselessly into the past. We disintegrate, we stagnate; but for every tiny piece of sand extinguished, thousands more are borne out of the granite slabs of time.

I admire the Chinese for awaking to the artificial construction of American exceptionalism. I only wish each nation's citizenry could use that same looking glass to peer within.
Wow, I wish 40 nuggets cost 10 bucks here. It's $25 CAD ($18.56 USD)
If you're using multiple shells like zsh and Elvish, then you might be interested in my proposal below for shell-agnostic autocompletion:

https://news.ycombinator.com/item?id=19950892

I talked with the author of Elvish about it, and we both want it to happen, but are both working on other things now AFAIK.

If you managed to write a working bash/zsh completion script, then kudos :) It's not easy. The basic idea is that shell completions could be both (1) shared among shells and (2) moved into the same language that the binary is written in (optionally).
Modern python tooling like pipenv pins the dependencies of your dependencies as well. This is no longer an issue
The other boundaries are a lot straighter.

Imagine what would happen when the International Date Line ends up in the middle of the US.
They’re saying it’s most reasonable to hold the pensioners responsible, but that’s a subtle difference and you weren’t reading closely anyhow.
Extending the array is not needed: you can store the last element in a variable, then overwrite the last element with the searched value, do the search then restore the last element.
I remember a talk from Alexei Andrulescu(sp?) where he talk about this optimisation but I don't remember if there was benchmarks.
No all plants are combined cycle plants, even if improves efficiency a lot. https://en.wikipedia.org/wiki/Combined_cycle_power_plant

Or even something better Cogeneration plants. https://en.wikipedia.org/wiki/Cogeneration
report my car stolen when I’ve actually lent it to someone

Knowingly filing a false police report is itself a crime (in CA, anyway). Even false verbal content is a misdemeanor.
>I could never do that on carb diet.

Have you tried? I always run before eating (not as part of a regimen, it's just convenient), as I expect many do. And my diet is closer to inverse-keto than keto.
I'm adding you to my blog list
Same experience here but with React and Angular (2+). No real world differences that can be observed by an average user in the average app.

The choice has to be made by ecosystem, programming style, etc.

React as a library offers not enough for me personally. Angular is too heavy on concepts. Vue seems to hit the sweet spot?
Greater general logical reasoning ability. Also, many people with ASD resent 'NTs' ((N)euro(T)ypical people), and view their existence with—not animosity, but as something they would not like for themselves.
Yes, months of uptime === no updating. The 'months' part was just to show that Windows10 doesn't necessarily suck for every single person. I'm quite happy with it, but I'm happy with Ubuntu and W7 and OSX too. I haven't disabled W10 updates, but being the sysadmin at our company I have a special OU for machines that I manually update via WSUS.
> Even Michael Godwin says there are times when it's acceptable to compare shitheads to Nazis

I wonder if we were in our early 20s during Nazi Germany if either of us would have the wherewithal to reject being a Nazi. I suspect we're all shitheads depending on the context.

> I'm dis-recommnending bash.

Yeah, I got that. I just thought it was absurd for you to only aim for a few orders of magnitude speed improvement when you could've easily gotten several more by arguing for something faster than Python.

> You admit floating point math in bash would be a good idea, and you seem to think [...]

You're doing that thing again where you try to represent my argument for me. This time instead of telling me what I might say, you're telling me what I think. You're wrong again, and it's still a poor argument strategy.

I'm not defending or advocating bash. I'm certainly not recommending any improvements to it - I only said they were possible. I am however calling you out for recommending Python in any case where performance matters.
In the old days (jQuery, Bootstrap, Knockout, etc) you were spending a time simply keeping your data and your view in sync -- and god forbid you were trying to re-use some of that view logic in multiple places.

Sure, and we had the era of one-way or two-way data binding libraries as a response to doing that manually, which at least provided a quick, simple solution to that problem in the relatively common case where you were presenting a set of mostly independent data points.

However, we also had designs that were based on ideas like MVC (the original one, not the server-side framework style that hijacked the term later) where you had part of your code storing the real state, event handlers triggering updates to that state in response to user actions, and rendering code that was triggered in turn to redraw the relevant parts of the UI or update the contents of any affected form fields. This sort of architecture was using essentially the same set of software architecture ideas that we’d been using in desktop or more traditional client-server software for a long time and applying them in the context of JS (or Flash, Java, etc.) running the browser.
Show me a child who can make an informed decision about vaccinations.
lol well I just search and duckduckgo has almost nothing -but- python (the language) links about removing from a list. Are you sure you didn't make a typo? I suppose it is possible duckduckgo saw your search comment and "fixed" it, but I have my doubts. If you wanted site specific stuff add site:python.org
conceptually yes, but not so if your fine motor skills are poor. also dont understimate the manual labour involved in repetition, the computer makes it easier.
It’s Redis MemoLock.

That “Redis” part is very important.
The rest of the world uses SI units, why would you expect anything else in the international edition?
Transport Network Security
+1 for this. Trying to ban programming languages that support network connections is both foolish and impossible. Any Turing complete language that allows any sort of OS interaction can be used to communicate over a network. Even if you have to manually do the syscalls yourself.
> so their code wasn't so easy to reverse engineer

As a bit of history, most of our team is made up by old-school desktop engineers with a background in native desktop development (and we still have a pretty decent amount of C++ and ObjC running in our app). Decompilers these days are pretty impressive – seeing the implementation of most desktop apps is fairly trivial.

This is just a personal statement, but I never had trouble with the files being there. They're currently present to support some outdated and soon-to-be-replaced module resolution, but I'd give this advice: If you're shipping logic to users, make your peace with the fact that it can be reverse-engineered. Sure, opening a source file is a bit easier than having DotPeek decompile your DLL, but it's pretty easy either way.

In other words: My stuff should be safe and secure whether or not an attacker knows how I implemented my logic.
Water is a scarce resource in Australia, and it changes rather rapidly. Most cities are under permanent water restrictions, which include fitting water-saving flush systems to toilets.
Welp. All sold out.
Cremation would have made little difference in this case. They would still have identified his relatives, and obtained DNA from them. It would have just prevented confirmation.
It just took ages to install and test some huge and popular modules like Catalyst, Moose. However, once installed and tested they would just on your system.
And it wasn't that easy for modules creators and core developers as red hat was notorious for shipping decades of Perl versions (5.10 times).
Yeah I just tried it again recently and was pretty how much they have improved in the couple of years since I last gave it a shot
The Trapper Keeper (2017)
Yeah, it's got some of the same weaknesses as multiprocessing (and several new ones). Conceivably you could provide an API for handing off objects to the other interpreter without copying. I'm imagining an API like:

my_foo = interpreterX.pass_object(my_foo)

(The assignment being required to delete the originating reference from the source interpreter.) The interface would be obligated to check that there are no references that escape to the current interpreter and then my_foo and all referenced objects could be handed off to the other interpreter in whole.

I don't have any intuitions for if that would be cheaper than copying or not, and getting it right is certainly more difficult than serialization. (Because of the complexity, it's not worth having if it isn't cheaper.)
>There aren't any rare earths in batteries btw.

they're common in motor design, especially motor-in-hub designs.

To play devils' advocate : batteries are filled with so-called 'conflict materials', and the places that export things like lithium and cobalt have famously bad worker conditions.[0] The popularity of such materials is only going to make their conditions worse unless they're accommodated somehow.

[0]: https://blog.ucsusa.org/josh-goldman/electric-vehicles-batte...
«Now the fun part, good luck getting the cash out of the exchange!»

Err... There are traders easily withdrawing tens of millions of USD every single week on Bitstamp. Bitstamp isn't MtGox.
Only if you are resting them on the tower, in which case I suspect something else is at issue.
There's nothing wrong with the GIL as long as you know its there. It makes writing concurrent code in Python semi-magical and thats a huge benefit. Concurrent != parallel though, so if there's really a need to scale up to multiple cores there's always the option of forking with multi-processing or "sub interpreters."

I can think of maybe having network code run in their own process and the UI in another. That way there's no risk of bottle necks slowing down the UI and transfers are likewise protected. If you look at bottle.py it seems that this approach could add A LOT of performance for managing downloads / uploads if it's done right.
It avoids some quirks but also introduces new quirks multiprocessing doesn't have, like broken C modules (including parts of the core interpreter and stdlib) that have global state, rather than per-interpreter state. There's a huge ecosystem of Python libraries in the world and most have been able to more or less ignore the distinction between per-interpreter state and global state prior to this proposal. (Not true if you actually used the C API to embed many interpreters in a process, but most people don't do that.)
Heh, you edited significantly again while I was replying. It's tough to keep the conversation coherent when you do that.

Thank you for the link. I'll give it a look.

> While you're farting bubbles in the bathtub about integrating "bc" into bash, and haven't even proposed how you'll integrate the canvas api yet.

I tend to fart in the shower, and I don't give a crap about bc or bash. As for the canvas api, you must've missed the part where I said you can call gnuplot from bash (or any language which supports fork, dup, and exec, or popen). I'd guess that bash calling gnuplot as a subprocess is on par with Python calling the Tkinter canvas through their hackish hidden-Tcl abomination. You're probably a matplotlib guy though...

Incidentally, I have built command line plotters before, but I can't share the code, so you don't have any reason to believe me on that.
How can I do this with my voice? Any suggestions? I run a site called https://sysadmincasts.com/ with tons of voiceovers and would love to automate this (without it sounding like crap). There are always places where I need to update the audio with small tweaks. I imagine it is still pretty computerized today but I think we'll eventually get there. The google WaveNet stuff is pretty good but still not there yet [1].

I imagine eventually, you could have some type of transcript that's annotated with speech synthesis markup language (SSML). Then, you have a CI/CD pipeline that would run this text-to-speech engine and regenerate the audio. I could then pair this up with the video. I honestly wonder if we are a year or two away from this being possible.

[1] https://cloud.google.com/text-to-speech/
I'm confused, I wasn't being pedantic about React. I was talking about frameworks like Angular that don't try to be purely functional.
You are not "taking care of the world".

These people are not going there to be taken care of. They are there to exploit economic opportunities, for which they also make their own substantial contribution.

Now that increased competition may create scarcity for natives, so you want to skew the market to favor yourself.

Now I'm not saying that is wrong, but the absence of laws favoring native citizens shouldn't be framed as some great philanthropic sacrifice either.
Speak for yourself, but the exterminating Jews thing would have turned me off even as a small child. Please don't represent my tolerance for Nazis for me, and I won't represent your arguments for you.

Once again: If performance matters, then use PyPy or V8 or SpiderMonkey or ChakraCore or JavaScriptCore or Carakan or Nashorn of course.

It doesn't invalidate my argument that I used the name of the language Python instead of listing out every possible interpreter or VM that runs Python scripts, or every JavaScript VM, or every C++ compiler.

I've already said several times that Python is just an example. Did you not understand that part?

The hundreds of instructions difference between multiplying with CPython and PyPy still pales in comparison to the millions of instructions required to fork "bc".

And with bash you're still stuck with that terrible mish-mash syntax and converting back and forth between text and binary floating point numbers.
If only I could use this to narrate my audiobooks. Is it illegal to use someone's voice?
Other projects in my company are still using Angular 1.x and Backbone. I guess it depends on your definition of modern.
Because any competent engineer should be able to work with both interchangeably.
Quite a bit of the total energy consumed by/through any vehicle is in its manufacture. Due to their relative simplicity, I believe electric vehicles offer a clearer path to a more consistent high-mileage lifecycle, with the battery pack as the primary wear item. I’d love to see million miles become the norm.
>I worked at a major third party logistics company from 2012-2015 and they were less than halfway through a massive project to rewrite their COBOL mainframe systems in Java, and I doubt they're anywhere near being done yet.

Expeditors International perchance?
Message passing via serialization / copy is inherently more expensive just passing a reference between threads. So any benefit vs threaded Python depends on the ratio of IPC to actual Python bytecodes interpreted.

IPC-heavy programs with low concurrency may suffer worse under this model than threaded with traditional single GIL. As threads approach infinity, though, anything that scales beats the single GIL model.
I always heard as Xmas - particularly the big family Xmas - as the biggest trigger stressor for divorce.

Everyone here is taking one or two two holidays a year with their partner, as well as several long weekends and all the statutory holidays such as Xmas, Easter etc, yet divorce seems broadly comparable across the globe. Even if a few of those are only lazing in the back garden or redecorating the lviing room.

Being prevented from doing any of that with partner by an employer in the dark ages would also be a divorce stressor. If one partner takes a job with shite holiday provision, the other - also used to civilised holiday provision - is likely to end up resentful, no?
I would suggest fixing typos and grammatical errors very soon.

Those of us who are OCD enough to do this kind of stuff for fun are also OCD enough to be unusually annoyed and distracted by basic things like typos and grammatical errors.
Calories, Carbs, Fat, Fiber: Unraveling the Links Between Breast Cancer and Diet
That's the first thing I saw on the site too haha.
My point here is that there are these people out there called "normal individuals", who are able to navigate social situations without being extremely robotically formal.

If you are the kind of person who does not have to social skills and awareness to navigate these kinds of normal social interactions, with other normal humans beings, then fine, silo yourself off, metaphorically with extremely impersonally relationships with others in which you act 100% "professionally" all the time with the people who you spend half of your waking life with.

But the rest of us are able to handle such situations easily.
Other overheads include spinning up a full interpreter state (including object and malloc caches, GC, etc) per sub-interpreter. And there are some modules with process-global semantics, such as signal-handling — it's unclear how that will be coordinated between co-interpreters, if at all.
I worked as a programmer in SF/South Park for three different startups from 97 to 2001. The hype and excitement was intoxicating. The launch parties were crazy and money was being thrown around like confetti on New Years. There was a huge demand for talent and many offers were made on the spot after short interviews. There were no coding tests. One interviewer said "I'm running late and have no time to talk to you. I read your resume and I think you can do the job, the job is yours if you want it" The deepest questions were along the lines of "can you explain what a constructor is?"or "Can you sketch out an object oriented design for a vending machine". After the crash was like the day after a huge party and you wake up in a trashed living room with a bad hangover. I moved to the suburbs and took a job with a company that inspired the Dilbert cartoon characters.
Have you looked at visidata from visidata.org?
You are absolutely right. The only way EVs are not going to overtake by 2030 would be if battery technology somehow stopped improving despite both investments in battery research and investments in battery manufacturing capacity are increasing exponentially.

Already today, the expensive versions of Model S drives 370 miles / 600 km on one charge. If you live in a country with superchargers on main roads, this will be enough for all driving scenarios, whether it's the daily commute to and from work or it's the long vacation drive in mountainous regions or cold weather.

In 3-4 years, similar range will be achieved by mid prized cars, and in 6-8 years, the higher end of the low prized cars will have that range.

And at the same time charging networks expand rapidly, with Tesla's just being one of several.

So around 2030, if you buy a cheap EV, range will simply not be an issue.
I think you’re right. This year Nissan said their plan is for their Infinity brand to go all-electric by 2022. Most forecasters today are looking at the straight line trend and underestimating the upward curve.

However cars do tend to last a while so I imagine the lag between “most new cars sold are electric” and “most cars on the road are electric” will take a while, and “all cars are electric” may take a lot longer, or not happen at all if you consider niche vehicles.
they don't keep logs so it's impossible for them to turn over your search history and ip address
Previous discussion: https://news.ycombinator.com/item?id=19938054