skysight-inc/HackerNews huggingface dataset:
I like this proposal. For unmaintained code that needs fixing when incompatible changes are introduced, I wouldn’t make the toolchain increasingly complex though. It‘d be better to just fork it and have it fixed by volunteers (or bots!), then put in some canonical location (e.g. github.com/go2compat/oldhost.org/olddir/...) so developers can just try to change the include path as a standard solution on such compile errors. This is more feasible now than 15 years ago since even unmaintained code is usually public on github or similar. It would help to break as few things as possible in this case, but that seems to be the intention anyway.
There are thousands of co2 monitoring stations worldwide, and they all show the same data. Mauna Loa is a good indicator for global co2 in the atmosphere because its position is exposed to high altitude winds that circulate around the entire Pacific ocean, and it is not near a extremely populated area with a lot of fossil fuel burning that would skew the results.

https://www.esrl.noaa.gov/gmd/ccgg/trends/global.html#global

Barrow, Alaska, Mauna Loa, Samoa, and the South Pole all show the re same trend.

https://www.esrl.noaa.gov/gmd/ccgg/trends/gl_trend.html

https://www.climate.gov/news-features/understanding-climate/...

We have comprehensive data going back a million years, from deep ice cores.
Top Node.js Debugging Tips to Debug Like a Pro
When the Players Tribune started, I thought it was gonna be garbage. It's soooo good. At least the handful of pieces I've read. I know there's a lot of ghostwriting. But I don't really care because the end product is compelling.
I switched to Perl in 2010 (from Progress) and sticked to it.

I couldn't be happier for the choice I made: I'm working remotely from Romania for a US based company since 2015, making multiple times the average national income.

I am contacted quite often on LinkedIn for new Perl job opportunities.

I would say Perl is quite a vibrant and well living language, with a great career perspective for those who learn it.
I think the idea is that most people will use home charging.

Although not being able to charge from home looks like an opportunity for someone.
How is a bunch of incompetent leaders worse than one incompetent leader?
The Tragedy of Saudi Arabia’s War
Yes, the form factor is different so we will get more chargin stations then petrol station, I was thinking at the long trips Tesla owners say they can do because they can recharge the car in 39 minutes or something like that, but most citizens will be fine with night charging at home.
The reason Smalltalk didn’t take over the world was it was so resource intensive. A single workstation would have cost about $40,000. There’s no way the early Macs could have run Smalltalk, they only became capable of that years later and it was slow as molasses. I suppose it should really have had a chance by the Java era, but C style syntax languages ruled the world and the state of the art had moved on by then.
London Underground commuters fainting at 'alarming levels'
> Slightly related: Almost all my "work music" is wordless, instrumental.

Slightly related to your already slightly related comment: SomaFM's Drone Zone radio channel has really helped me focus in our open space.
While I don't like good gTLDs being owned this way (by a single company), I wonder what the web would be like if there were tons of these kinds of little shortcuts across platforms.
They had enough organisational problems to think it was easier to cheat tests for diesel pollution, than fix the issue.

From the love bug to just a bug.
> "I'm being fellated, he says, by a young girl known as a groupie". 1994

Cheezus can you imagine them trying this stunt today? Elon smokes a joint on air and it's a scandal. Incidentally the transcript of "The Doors of Perception" is frequently sampled in electronica.
Super-optimizing intermediate language for functional languages
The Plan 9 C compiler does perform optimisations including constant folding and dead code elimination. (Actually it's the linker which eliminates dead code, so it can remove functions which are not called from any other source file.) The example loop on the slide however was not dead code or useless: it was a timing delay loop, an idiom commonly encountered in OS kernels and embedded applications.
Hey man. Sorry to be a shameless plug here. But I am working to solve exactly this.

Text based learning using a chatbot. A platform which takes care of your learning, spaced reptitions, notebook generations and all.

If you can just take some time to subscribe, that would be great. https://tinyletter.com/primerlabs/

I will launch soon.
From the tutorial's conclusion:

> The primary purpose of Morte is a proof-of-concept that a non-recursive calculus of constructions is the ideal system for the super-optimization of functional programs. Morte uses a simple, yet powerful, optimization scheme that consists entirely of normalizing terms using the ordinary reduction rules of lambda calculus. Morte emphasizes pushing optimization complexity out of the virtual machine and into the translation of abstractions to the calculus of constructions.
Ah, the ol' fire sale.

At other times in history, it was the seller whose house (or business) was literally on fire, trying to sell to an unwitting buyer.
Will dongles work if we talk about DRM? You may need to pay a hell lot to buy an approved dongle that contains the correct security key or someone needs to crack the DRM.

I hope we don't get scenarios where you need to charge a car, there are 10 free sports but all are from different manufacturers and are not compatible or charge you extra like we had with ATMs where you had to find teh right ATM or pay extra.
Make losing plaintiffs pay the defendant's attorney's fees and costs, it changes everything
Look like this is one of the idea? Build on Crystal programming language with less to code and reduce clutter.

https://www.mint-lang.com/

Mint to Javascript is what any languages to web assembly.

I’m not sure who is comfortable to evaluate Real World code example:
https://github.com/mint-lang/mint-realworld

Along with some Crystal shards (LLVM, assembly, C librares) to validate your data or other structure formats is a breeze to work in.
I'll just add my favourite debug flag for NodeJS, which I argue should be the default behavior.

node --trace-warnings main.js

This will show error traces for uncaught exceptions that happened inside promises.

Life saving for me.
"This is a picture of Windows taskmgr running on a pre-release Windows DataCenter class machine with 896 cores supporting 1792 logical processors and 2TB of RAM!"

Reminds me of an UltraSPARC T5 server with 3072 processors I used to work on... from five years ago. Old tech, eh?
At a $1m/year level you're just discouraging gaining money via the work process and instead gaining money elsewhere.

This is already discouraged (people earning $2m/year can afford to pay an accountancy firm $50k to restructure their income via offshoring or capital gains, even if they only save 10% tax on the top million)

One common wheeze is to funnel your income into a company and then take loans (including services) from it. There's an entire industry built around reducing income tax, which leads to massive tax laws to

It's quite easy to reduce gas usage -- stop buying gas guzzling cars. 25mpg (that's 30mpg in the UK) is a terrible 'average fuel economy' [0], especially based on official figures. Buy a Skoda Citigo which gets a real 50mpg (us gallons) [1]

We have poor people in the UK too, and they have to pay for gas, yet manage to cope with gas tax of 314 cents per (us) gallon.

At an average 25mpg and 3.2 trillion miles a year in the US [2], that's 128 billion gallons. Increase your current gas tax of about 50c/gallon [3] to say $1.50 a gallon -- still under half what we pay in europe. That would raise an extra $100b a year which could be distributed evenly to all 320 million U.S. citizens, a $300/year flat payment, enough to offset the extra gas tax of 7500 miles, or for a 4 person family, 30,000 miles.

This would discourage gas guzzling cars (you save a lot more by buying a car with a higher mpg) and not harm the people who "can't opt out of using gas".

[0] https://phys.org/news/2016-11-average-fuel-economy-high-mpg....
[1] https://www.honestjohn.co.uk/topten/top-10-the-best-petrol-r...
[2] https://fred.stlouisfed.org/series/M12MTVUSM227NFWA/
[3] https://en.wikipedia.org/wiki/Fuel_taxes_in_the_United_State...
Rust has been stable for three years.
Well, it seems to me that's stretching the meaning of words well beyond breaking point. respecting? It sounds like it was uninformed 'consent' doesn't it, like he didn't understand the licence. I get the feeling it's very hard for experts in this area to relate to people who aren't, especially without trying at all to do so, and they come over sounding like unfeeling Vulcans.
Eh. I feel like you should rather buy them stuff that they are genuinely interested in, instead of trying to give them shell skills.

I agree that computer knowledge is a must, but I think time is spent more wisely if they are aware of the concepts and how mundane they actually are. (I.e., programming and scripts are not arcane stuff)
Are socialized medicine systems less evil?
The game also registers if you do pay and keeps track of how often, and adjusts the game difficulty dynamically to ‘milk’ you.
I absolutely fucking love it. It makes up for the lack of snow or cold and dry days.

Four months where the sun is under 30°, where the color temp from daylight casts everything with a golden evening glow. A glance outside feels timeless as your brain tells you that it should be 2pm, but it looks like evening. It’s even more magical in the winter with that rare snowfall. The colors shift to a purple and grey when the sky is dark and filled with ice. When it clears, the spectrum shifts to thousands of shades of blues over a hundred minutes after sunset. There is an added bit of splendor when the world is awake and continues with its work but the sun is down.

I just moved back from 40° north to 48°, and those early sunsets, colorful days, and summer twilights were sorely missed.
Isn't it just a TXT record in your DNS entry?
Best Languages to Learn for Malware Analysis
Since we're here already ... Maybe also no smartphone door unlocking?

I don't get it, why everybody start to build car like a smartphone now days?
We're talking about electric cars, where VW does indeed needs a lot of catching up to Tesla.

Not that they actually plan to catch up. In May 2018 their official plan was to make 1 million electric cars by 2025 (https://electrek.co/2018/05/29/vw-electric-vehicle-demand-eu...).

Tesla is already making ~300k per year, is on track to make ~500k within 9 months in Fremont, has already started building China plant that will add 250k within 2 years and 500k within 4-5 years, has already telegraphed building European plant for another 500k cars and will most likely start building Model Y in Nevada starting sometime 2020.

Bottom line is that Tesla will likely reach 1 million cars a year by 2022, 3 years before VW.

Maybe VW will speed up their plans but batteries don't grow on trees. Recently we learned that LG Chem wants Audi (part of VW group) to pay 10% more for batteries because demand outstrips the supply (https://electrek.co/2018/10/22/audi-e-tron-delay-software-lg...).

Tesla has been designing battery packs since Roadster days and building Gigafactory 1 since January 2015 so almost 4 years to build battery capacity for ~400k cars. As far as I know VW has no battery R&D and relies for the most important and most expensive component of ev car on 3rd party suppliers who also supply the same thing to their competitors and apparently are so swamped by demand that they can raise prices while Tesla is aggressively bringing the price of batteries down.

And it remains to be seen if they are able to create software that is as refined as Tesla's.
Yes, absolutely. Why do you have to ask? Unless '-s' is its genetive inflection, something German for example has preserved, or something weirder, it is a crystal clear mistake
PostScript is an amazing programming language for describing scalable graphics and interfaces! I especially enjoy the ability to very concisely represent information, using dedicated PostScript facilities to construct domain-specific languages, and I have used it to illustrate many situations that would otherwise be quite difficult to show.

I hope that an example can illustrate this point: In Volume 4 of The Art of Computer Programming, Donald Knuth explains how we can find kernels with maximum weight in C_{100}, the cycle graph with 100 nodes. In that example, the weight he assigns to each node is the Thue-Morse code, i.e., (-1)^ν, where ν is the number of occurrences of 1 in the binary encoding of the node number. So for example, the weight of node 2 is -1, and the weight of node 3 is 1.

We can easily determine the Thue-Morse weight of an integer in PostScript:

/weight { 1 dict begin /nu 0 def
{ dup 0 eq { pop exit } if
dup 1 and 1 eq { /nu nu 1 add def } if
-1 bitshift } loop
-1 nu exp end } bind def

Example: 8 weight ⇒ -1

Now, how might we compactly lay out the cycle graph with 100 nodes? Using PostScript lets us easily play with different layouts. For example, let us use r, u, l and d to move right, up, left and down, respectively:

/instrs {
{ r r r r r r r r r r r r r r r r
d
l l l l l l l l l l l l l l
d
r r r r r r r r r r r r r r r
d
l l l l l l l l l l l l l l
d
r r r r r r r r r r r r r
d
l l l l l l l l l l l l l l l
l u r u l u u u } } def

We can see what the described path looks like by interpreting this mini-language:

30 dup scale
1 15 translate

/r { 1 0 translate } bind def
/d { 0 -1 translate } bind def
/l { -1 0 translate } bind def
/u { 0 1 translate } bind def

0.06 setlinewidth
0 0 moveto

gsave instrs { cvx exec 0 0 lineto } forall
closepath stroke
grestore

Now, we only have to draw the nodes themselves on top of this path. First, let us define which nodes are actually part of a kernel with maximum weight, found with the methods outlined by Knuth (operations on reduced and ordered Binary Decision Diagrams):

/inkernel [101 { false } repeat] def

[1 3 6 9 12 15 18 20 23 25 27 30 33 36 39 41 43 46 48 51 54 57 60 63
66 68 71 73 75 78 80 83 86 89 92 95 97 99] {
inkernel exch true put
} forall

And now we can simply draw the nodes by interpreting the instructions again, and indicating whether a node is part of the kernel, and whether its weight is positive:

/Palatino-Roman 0.4 selectfont

0.04 setlinewidth
1 1 instrs length {
/num exch def
newpath
num weight -1 eq
{ -0.4 -0.4 0.8 0.8 4 copy
inkernel num get { 0.8 } { 1 } ifelse gsave setgray rectfill grestore
rectstroke
}
{ 0 0 0.4 0 360 arc
inkernel num get { 0.8 } { 1 } ifelse gsave setgray fill grestore
stroke
}
ifelse
0 0 moveto num 5 string cvs dup stringwidth pop -2 div -0.12 moveto show
instrs num 1 sub get cvx exec } for

In this case, I am using circles for nodes with positive weight.
A bunch of incompetent leaders can get nothing done. They'll focus on attacking each other and destroying what ground they live on. An incompetent leader will try to get his vision realized. Might not work all of it but some of it might pan out.
The biggest issue is clients aren't demanding it, they don't want to leave Outlook to do anything.
But in JavaScript, the fear is always with you.

That's why we have both tests and code reviews.

Aside from that I'm surprised the author didn't mention checking constructors. It's arguably the most dependable way of checking if something is of a certain type.

But I agree that it's a shame that TS/Flow lose their ability to check types whenever partial application or currying is involved - it's not like it's impossible in principle.
How Effective Are E-Publishing Services and Outsourcing?
Read the blog post by Sasta Outsourcing Services which explains How Effective are ePublishing Services and Benefits of eBook Publishing Outsourcing. For more info - https://www.sastabpo.com/outsource-to-india/how-effective-epublishing-services-and-outsourcing/
Automate Access Control for User-Specific Entities
The 500W figure is for a quad socket, 8 core per cpu, 32 total core poweredge r910 - much more powerful than a desktop single or dual socket Xeon.
People need to understand how computers work because they put a lot of trust and faith in their computers. At any time, the computer might be sending your financial details to a criminal, or taking pictures of you and sending that to a criminal. This sort of overwhelming trust is easily abused.

Learning to program is a good step to understanding how computers work. Making software "inspectable" or "modifiable" by ordinary people allows them to learn more about what's going on, and become accountable for it.

I might be wrong, and there are indeed lots of things in people's lives that they don't understand, but it's still a good thing to take into account. Computers in a sense "do more" than most other machines, and our connection with them is more intimate, so it's perhaps more important for us to understand how our computers work than, for instance, how our cars works.
Notice that such hedonistic trap has existed before, and still exists nowadays. Wise men have always been aware of the risks related to endless and effortless satisfaction. Even if there is no obvious adverse effect, they were pointing out the lack of purpose and meaning to such way of living. To a degree, they considered that the human life is only worth living if it requires overcoming some sort of adversity.

There is no doubt that technology will revive the hedonistic trap from times and lead to some degree of decadence, but the stoic mindset should survive and prevent mankind to fall completely.
'I wanted to go after big tech': ex-Google exec's novel rips Silicon Valley
> In a dynamic language like JavaScript, it can be hard to know what the shape of your data is.

You don't need static typing to program defensively. Static typing instead ensures a certain defensive position, but as a developer you can choose to program in such a way even in a dynamic language.

That being said it is foolish to make a blanket assumption that data is doomed to confusion. The state and shape of data is determined by the authoring application and reinforced by the receiving application. If data is shaped improperly then a defect is present in the system, so fix the defect.

If a dose of common sense is still not enough... then program in TypeScript.
In 30 years from now, the US, Canada and UK selling billions of dollars of military equipment, support and training to the saudi regime will be seen as morally equivalent to when the US dropped thousands of tonnes of munitions on Cambodia. Or the use of Agent Orange in Vietnam, My Lai massacre, etc.

Worthy of war crimes prosecution in The Hague.

How hard is it, really, to take a principled stand and say that the most technologically advanced products of the NATO military-industrial complex should only be sold to similarly democratic countries? The Netherlands or Italy wants to buy some current generation air superiority fighters, gps guided bombs or surface to air missiles, sure. Saudi Arabia? Nope. Pakistan? No way. The Erdogan government in Turkey? Negatory.

In the particular case of the saudis' war against the Houthis, the US doesn't give a fuck, because you know who supports the Houthis? Iran. Anyone who's spent time researching the history and reasons for the last 50 years for the poor relationship between the US and Iran will immediately understand why. Basically, it's "fuck Iran, they've got what was coming to them".

It's a proxy war where they're using US munitions to attack things the US can't politically stomach attacking directly. If the Saudis started open warfare against Hezbollah (again, Iranian supported), I'm sure the US and UK would be just as keen to look the other way.
Malicious Python libraries found and removed from PyPI
Urban Planning Guru Says Driverless Cars Won’t Fix Congestion
You had youtube in high school and you think you are old? Are you saying I got old? I don't even have a lawn yet to get you off.
Wow, not only are your points completely a-historical and just stitched-together buzzwords from German history. You also have chutzpah to teach others about their history while living just for two years in Berlin (as you openly admitted in another comment here).
In this case, yes.

> This is why many argue that research on algorithms and data structures is

"is" refers to "research", not "data structures"
"At the University of Florida, our professors do fearless research" -- title to a piece by the UoF PR department, milking an easy win for all it's worth.
That's what the comment is trying to say, no less, but it rubbed me off wrong, too.
I love TypeScript and use it in any new project I create. The author is right though, you need to have team discipline to avoid using the `any` type when it can be avoided, and immutability is not in scope.
TypeScript is probably the closest we'll get to my personal ideal of static typing in JS, while understanding that you sometimes need an escape hatch to deal with dynamic typing as JS is a dynamic language.

I think that the focus now should be allowing other more modern languages in the browser by means of Web Assembly. Rust is a great candidate for dealing with immutability and unsoundness concerns. I can't wait for wasm to be fleshed out more.

It does beg the question though, would web development be as ubiquitous and as popular if the core language in was statically typed? Does the freedom JS offer you allow greater adoption overall, meaning that it's beneficial to loosen the type restriction as the ecosystem will flourish because of it?
Screen time...what about screen time creating music, art, programming, study, learning, and so on?

It's the "Ah, you know what I mean." saying.

No actually, we don't "know" what you mean, and that's the really question that needs answered in the public zeitgeist.

Most here "know" what it means. However, quantifying that into a simple statement or phrase like "screen time" is not so easy.

Are there any recommendations?

I think something along the lines of "screen farmed", seems to fit. A company using your time in their site/app to make money. So that company is "Screen Farming" you.

Thoughts?
well, it looks frankly beautiful. The code is 100% declarative. It's a pure dataflow graph, right before your eyes. Sure, the syntax feels old, but the ideas beneath will always be the ones underneath reactive and user interface programming.
The point I make about climate change is we live day to day with politicians trying to maintain the status quo.
Look at how free trade and globalization changed lives. I'm Australian and Australia doesn't build cars anymore. We do financial services and flip houses.

When we live in a world where humans can't survive between the tropics of Cancer and Capricorn because wet humidity will kill them. Then we're going to see a lot of migration and society is going to change in a big way.

the term "eat the rich" springs to mind.
Oh we don't disagree on that. I'm saying that this appointee should be better at UX evaluation, not that we should take their opinion as worth anything.
I'm not sure how this would work for changes that would affect a whole program.

For instance, say Go wanted to introduce a moving GC, and say that required removing interfaces as map keys. How could a function that returned a map[interface{}]int in one module be called from another that was compiled with a later version of Go?

Would the whole program would have to be compiled with the non-moving GC?

Perhaps the answer is that Go would never introduce such a change.
Amitai you really know how to tell a story. Doing this project together is a lot of fun even for a hindu cow... :)
Yeah, but if they do nothing, things might turn out okay. If they manage to succeed with the wrong choice, then everything will be shit.
Cognitive Hacking: A Battle for the Mind [pdf]