skysight-inc/HackerNews huggingface dataset:
I used Lua 5.2 (with 5.1 compatibility enabled) to embed in a C framework for building and executing data flow graphs. I implemented C .h header to JSON and back, and also an API wrapper generator, which really helped things along. The basic features include: co-operative FSM scheduler (using coroutines for sleep etc), structured FSM Engine, structured data pipes (stucture defined in C headers and piped in binary, but to Lua they look just like Lua tables syntactically), Event generation and propagation mechanism, ability to record and play back data pipe streams, fine grained MIDI parser and generators, and a bunch of other details. The embedding mechanism is generalised, and so there is alongside the Lua scripting a similarly complete FORTH drop in language, for those who might be interested. I think it's a pretty neat system, and works quite well.

The system had some turbulence during its inception in a now defunct very small company, but it all reverted to me. I would like to get it up on Github before I pass on (fairly soon, I fear), but need help fixing all the file headers, and some minor bugfixing. Volunteers? I have a minimal html description file if you'd like. But a build help file is needed.
I don't think anyone here looks at this topic with a black and white lens. There are various pros and cons to each and usually for developers the cons of a walled garden outweighs the pros.
Broken for me - Chrome 63.0.3239.108, Sierra.
How the Russia Inquiry Began: A Campaign Aide, Drinks and Talk of Political Dirt
Seems like a great list.

One criticism: I believe that the majority of programming jobs are software engineering jobs (even if that's not in the job title). Since many are using CS as prep for programming careers, I believe this list may need more emphasis on software engineering and contemporary skills and knowledge in SE.

For example, I saw testing in the advanced section if I remember correctly. But it was one of multiple options I think. Doesn't everyone need some testing knowledge/experience?

Another one is requirements analysis or negotiation. Figuring out _exactly_ what needs to be done, in a way that makes complete sense all the way through, is feasible and high priority, isn't nonsense from a UI or database perspective, and getting the other people to go along with that, is pretty important to most programming jobs I have had.

Another example: back in the good ole' days of CS, large scale code re-use may have been mostly a dream for most popular programming language ecosystems (that weren't Perl). But now, even though dependency reduction still seems much cooler, being able to use real package management systems and select the right modules or components is critical for most jobs. Not sure that type of thing gets quite enough attention in this list.
Why are people obsessed with this topic lately?

Do you think fame inequality is a problem? There are people who have 100s of millions of followers/fans and then there are people who are not famous (vast majority).

Why is that not considered a problem?

Fame inequality:

1. Undermines democracy. If you have a tiny group of famous people who have a massive cultural influence, their ideas and opinions matter almost infinitely more than ideas of those who are not famous. This by definition undermines the idea that everyone's opinion/vote should have equal weight.

2. Damages people's health. When people see someone famous it can make them depressed because they are constantly being compared to cultural icons. This can have serious impact on psychological health.

3. Perpetuates itself. People can become famous and get a leg up in life just because their parents are famous. Is that fair to all talented people who don't have famous parents?
I am going to strongly disagree. Being a cop is extremely dangerous — just because more cops don’t get hurt doesn’t mean it’s less dangerous. We can probably agree that being a race car driver is dangerous despite there not being a large number of injuries. Training and equipment mitigate some of the effects of the danger — but that doesn’t make it less dangerous.

Spend a night doing a police ride along in a major city, then report back on just how “not dangerous” the job is.

To be clear, I am not defending the cops in this situation, merely disputing the ridiculous claim that being a cop isn’t particularly dangerous.

How many garbage men have been killed on the job by their customers or targeted specifically because of their job? Any snipers taking out garbage men? Any garbage men getting routinely assaulted on the job?
I believe the article was trying to show how these rules were being applied unevenly, rather than trying to legitimize incitement.
Topographic (geodetic) shape is always changing with time.
Radar inferometry from satellites gives the most repeated surveys, but has low spatial resolution.
You can discern made-made, seasonal, and geological factors causing change.
The American Geophysical Union meeting each December has several hundred papers on dynamic geodesy.
The site works fine for this Mac user. (Safari 11.0.2, High Sierra)
Xkcd: 2018
In ten years.

That's where I thought we were in 1983 - ten years away.
Can you buy bikes that come with internal gearhubs on the consumer market, or is this always an aftermarket thing nowadays?
This works with PHP 7

<?php
//Enter your code here, enjoy!

function foo(string $bar)
{
return $bar . $bar;
}

echo foo(1234);
Look up a Youtube channel called PoliceActivity.

It is a collection of dashcam/bodycam videos of US police involved in some kind of shooting/assault. They are not edited down to fit a news report so videos usually last 10-30 minutes. Some show cops stealing money/drug from suspects and US media actually showed such clips in news reports. But lots of the videos show actual circumstances leading up to shooting by police. Some clips show cops getting shot at by suspects. And even some getting killed. I have a whole new perspective on cops after watching the videos.

I have a relative who was arrested (due to his own fault) and got roughed up by police and he HATES cops. And I kinda used to shared his sentiment.

But after watching the clips on the channel, I feel somewhat less animosity.

When scums of earth are around, most of us have a choice of moving away. But these cops don't have the choice.
It is feasible to believe a dystopian reality on economic inequality. Some economists have even argued that it was inequality that toppled vast empires, due to the inherent improductive consequences of economic inequality.

Inequality can be a problem alone, even if all else is equal ,because the greatest danger to freedom is the concentration of power, and what is inequality but the concentration of wealth and power into fewer hands?
"Subtle" is the keyword here.
>What makes this censorship particularly consequential is that “96 percent of Palestinians said their primary use of Facebook was for following news.” That means that Israeli officials have virtually unfettered control over a key communications forum of Palestinians.

I think the second sentence doesn't follow so clearly from the first one to warrant a "that means".
That is not what is described in this article though.

What is happening here is that Facebook is banning the accounts of political leaders in other countries at the behest of the US and Israel in order to disrupt the organizing efforts of those leaders with their own people.

This has nothing to do with restricting what content is available in the US or Israel but is basically an act of war to disrupt the communications of a foreign enemy.
>At what point does the average citizen look at "SWAT death as an option for what could happen to me today" and think, 'well .. this is okay'?

The same way we get into cars and say,

>death as an option for what could happen to me today" and think, 'well .. this is okay'?

Something like 30x as many people are killed in car accidents as are killed by police. But the average person worries about neither.

Can't worry about everything. Have to get through the day somehow.
Polar explorer Ben Saunders abandons quest to cross South Pole unassisted
I moved to San Francisco from France recently.

So I have a very long list of things to do :

- finish furnish my apartment so it starts feeling like home.

- start working out

- take cooking lessons

- volunteering : the gap between the poor and rich leaves a sour taste when you arrive here. It also exists in my origin country (France) but it is just so much worse here.

- I am not really looking forward to anything tech related. Tech work starts looking like more of the same to be honest.
Financial Literacy: Two-Thirds of Americans Can't Pass Basic Test
I know nothing about bullets other than what one might deduce from elementary Newtonian physics, so this may be a stupid question.

To make a bullet not over penetrate you have to make it so all of its energy is spent in the target (or at least so much is spent in the target that if it does go all the way through it does not have enough left to cause serious injury to whatever it hits on the other side).

Hollow points do this by expanding in the target, so that they transfer energy much better than does a regular bullet that enters the target with the same energy.

Would it not be possible instead do design a gun and bullet system that shoots regular bullets, but at lower energy, so they don't need to be as effective at energy transfer as a hollow point in order to stop in the target?

Lower energy would mean either lower velocity, or lower mass, or both. Lower velocity means shorter range. So does lower mass [1]. Thus, lower energy bullets would have reduced range, but I would expect that would be acceptable in almost all police situations.

One drawback I see for lower energy bullets is that bullet resistant material would be more effective, and so in places where criminal wear such things they may need high energy bullets to allow for that (and so need solutions like hollow point to keep them from over penetrating when they use them on someone who is not wearing such material).

[1] because of air resistance. Think of trying to throw a ping pong ball and a steel ball bearing of the same size, at the same velocity...the ball bearing will go much farther.
The most popular system is SWIG (which is mature but imho quite painful to use unless you restrict yourself to C+11) and tries to make C++ bindings for a variety of other languages, not just Python.

Someone finally used an actual compiler to do this — clif, which uses LLVM to export Python bindings. It’s still immature, but promising.
Drone collides with US Army helicopter, puts 1.5” dent in rotor
An intro to web components with otters – Monica Dinculescu
Blockchain 101 – only if you ‘know nothing’
Looking at German Traffic Signs
The people that answer yes to you might not even realize they are actually part of the richest group, particularly since software engineers are in the top 10% of income in the US.
The Heroic Data Engineer – Lending a Helping Hand to Data Drowned Scientists
If only browsers would support scrolling their content natively...
Definitely not good for handwriting from brief time I had with the device, the iPad Pro would be a good bet, or a surface if you can use Windows.

Apparently Samsung's Chromebook Pro replacement will have a stylus though, so that should be out in 2018 if you can wait.
https://github.com/mohae/bench-rng

csprng: 909 ns/Op

Xorhift128+: 2 ns/Op

Xorhift128+ is what all major JS engines use for Math.random().

I don't think it's a good idea if you use a CSPRNG if there isn't any reason for that. Especially if you need a lot of random numbers. E.g. a game might drop some additional frames here and there and your particle effects won't look any better and your AI won't behave any smarter either.

Not to use PRNGs ever is bad advice.
Broken for me - Chrome 63.0.3239.84, Sierra.
That raises an interesting thought: Does interstellar space have a non-unity refractive index? If there's any kind of matter out there, then I suppose the answer has to be yes. But I wonder if it's quantifiable.
I don't claim to have inside knowledge but often many cops some to become cops because there are no better job prospects. I'm sure they would've picked a factory job or any other trade if it guaranteed life time employment and pension afterward.

But these days such jobs require much studying/preparation/luck.
Dead store elimination (still) considered harmful [pdf]
Brittle things break with normal force. ductile things break in shear.
http://paperswelove.org
Sleep naked
He caused government to waste resourecs, not a murder, jesus. Are you so biased that you cant blame the police?

Lets say for the sake of argument he is conviced for ordering a murder. Who was the murderer in this case? This person should not be able to be convicted of murder unless the shooting cop is convicted of murder.
I'm Canadian. You wouldn't think that would be very different from the U.S., but... when I first visited the U.S. as an adult (Boston), I had to change my gait IMMEDIATELY. I was a fast walker, and had been trained as an actor to hit toe first "for better energy" - that is, to appear more energetic on stage. Trouble is, that makes you quieter, and Americans in the Eastern US back then simply assumed that anyone gaining on them quickly and quietly from behind was probably a mugger. Pedestrian after pedestrian after pedestrian would whirl around to look at me in a startled way, even during the day, nevermind at night. So I learned to thump my heels down noisily for my stay and that eliminated the problem. I could walk fast without frightening anybody, as long as I was conspicuously loud about it.
I know google maps uses this too. When I have an address on my clipboard and go to google maps it’ll be filled in.
> In ten years.

> That's where I thought we were in 1983 - ten years away.

Obligatory xkcd:

> https://xkcd.com/678/
Why not indulge the most base impulses

Because indulging such impulses is a good way to get them to proliferate. I see your approach is to treat them as matters of fact and try to redirect them towards some less-lethal-than-guns solution for mutual benefit, but this is just going to give you more of what you don't want.

Right now a police officer in my area is typically equipped with:

baton;
taser;
pepper spray;
knife;
handgun

shotgun (in the car);
flashlights (high powered, doubles as a club in a pinch)

5 weapons, with others in reserve, is already a lot to carry. Indeed, it's partly because of this proliferation of weapons (and all the training and liability issues that go with them) that many police are under-trained in physical combat (this from undercover and head-of-training officers I've known, whose opinion I'm inclined to take at face value).

So you've got heavily armed individuals who are trained/socialized to maintain a somewhat irrationally elevated perception of danger and most of their training if focused on using weapons to induce coercion. This is a bad combination. not just for the job and the public, but for the police themselves. I know a former police officer who doesn't keep any weapons in the house, but who's also paranoid about crime because he's been rtained to think about all the bad things that could happen to the point that he's afraid to hire someone to clean his house because they might case it on behalf of burglars or home invaders. This despite the fact that he doesn't own anything especially valuable; he lives in an ordinary suburban home and probably has less stuff than most people.
A Very Cost-Effective Way to Buy XLM (Stellar Lumens) with USD
I guess they were a bit overwhelmed - I'm getting "554 Recipients' domain disabled " when forwarding to them.
This is great, but I feel like it's wrong that regular people think they have to step in to fight spam.

After all, these messages benefit actual companies. I receive many spam messages from American companies that are legit. Why can't governments do more to fight spam? It's illegal after all (at least in Italy and I'd guess Europe), so how come companies get away with it?
Cierge – Passwordless done right
I guess they were a bit too successful - I'm getting "554 Recipients' domain disabled' when forwarding msgs to them.
Maybe, except this is what Glen Greenwald writes instead:

> Last March, Facebook briefly shut down the Facebook page of the political party, Fatah, followed by millions, “because of an old photo posted of former leader Yasser Arafat holding a rifle.”

which is on the soft side of what Israel contests is incitement (see my post above, or Google for more examples, there are many).
> In some cases I think the answer is to strip investors of control. They are the ones allegedly pushing short term profits at the expense of the long term.

Hopefully this was a very fleeting thought; when it comes to ideas about changing corporate structure you couldn't really come up with a worse one. It is a complete violation of the skin-in-the-game principle that has so successfully propelled capitalist society for more than 200 years.

If management aren't accountable to the wishes of people who have proven they can preserve or grow piles of money, there will be economic waste on a colossal scale compared to what we have now. Corporate management would be overwhelmed by fast talking con men.

Turn your attention instead to the forces that are making short term decisions the better ones. I'm no expert, but if short-term thinking has been going on for a long-term time then something is more fundamentally wrong than "gee, people with money must just be stupid!". People don't seem to like accepting quite how rationally intelligent markets are - the only thing markets have been shown not to do well is make sacrifices for moral reasons.
The energy transfer into the target is roughly its "stopping power". The goal is to remove an imminent or active threat. Your newtonian physics intuition is correct: lower velocity and/or lower mass is going to lower the energy of the round. If the goal is to stop the individual, you want to be able to deliver as much energy as possible into the target. Lower velocity/lower mass rounds aren't going to be as effective in stopping the target.

If a bullet passes through an individual, it hasn't delivered all of its energy to the individual. It's still going, so this is inefficient and dangerous: you're less likely to have stopped the target, and you're more likely to hit something unintended.
In this day and age, most dividend shares are often not worth holding just for the dividend. Growth shares tend to generate much better returns in most cases.

Buying a dividend share that can potentially go up however, is very nice though, such as when purchasing Apple several years ago.
Three separate cron jobs are needed to clear the transaction, and they only run at midnight, because that's how they were set up decades ago? (My guess)
A 30 year cop (presumably) isn't going to spend the ENTIRE career working as a beat cop on the graveyard shift in the worst parts of Baltimore or Chicago. They also rank up and/or change positions to be detectives, special investigations, expert witnesses for prosecutors, bosses or administrative police staff.

Meanwhile SWAT details (particularly in medium sized cities with more toys than mandatory training) are going to consistently attract the worst of the so called "bad apples" from the greater ranks of police. Individuals that joined up specifically because the rough and tumble stuff appealed to them.
> Police are on the look out for these scammers NOT to jail em but to collect their own share. They walk the scammers to the atm and take part or all of what they find there - usually, half.

Have a source for this..?
Merely having fake products doesn't imply fake reviews though? If anything the fake reviews would seem to be more genuine.

I also don't really see any particular uptick or date-clustering like you mention. There are a total of 7 reviews that say "fake" or "counterfeit" out of 177 critical reviews, out of 1382 total reviews... and I'm not really noticing a particular clustering of good reviews preceding these the most prominent critical review [1] (haven't checked the rest).

[1] https://www.amazon.com/Tera-Grand-Ethernet-Retractable-Plays...
I don't think I've ever bought a dividend share (just for the dividend) that has resulted in me getting an excellent yield. I'm personally not a big fan of purchasing stocks that fluctuate 10-20% up and downwards over the years while paying out, say, a 4% dividend. I'd rather put that money in a growth stock then.
2018 NANOMECHANICAL COMPUTING SCHOLARSHIP UNIVERSITY OF QUEENSLAND IN AUSTRALIA
Regarding the first, Apple has -- since its renaissance -- consistently had a limited number of products. Limited product lines. They themselves lump users together, to some degree; and many argue for this advantage: High quality products that "just work", and don't make me choose between fifty-odd variations.

Regarding the latter, I generally agree. I'd much rather know what's going on and have the choice of spending circa $100 (supposedly formerly $80, now $30 for a year), to replace the battery. (And a separate pox on "thin" making all these batteries unremovable; but I guess that's my personal preference.)

Maybe Apple knowingly benefited from uninformed user upgrading. How much of that was battery/throttling, and how much of that was Apple users wanting to have the latest and greatest -- for functionality and performance, or just for status? We may never know.

But, as I mentioned, the perceived charge lifetime and durability of same, were -- as far as I saw -- major marketing/selling points of iPhones. And I recall myself grumbling about how my Android phones' charge lifetimes were decreasing, mere months into the devices lives.

I don't know whether this could have been patented (like stupid rounded-corners patents and so many other things). But, it wasn't. Was Apple obligated to reveal this "secret sauce"? I don't know.

For most people, the implementation seemed to work out fine. Friends with 3 and 4 year old iPhones, while many Android users could barely make it to 2 years (for multiple factors, not just charge lifetime -- e.g. timely and ongoing updates, anyone?).

I wish there was a phone that wasn't so wholly owned by big corporations. As opposed to its users. But it seems to be the nature of our world.
this is the standard most millitary forces follow IN ACTUAL WARZONES, so no, I think it is 100% reasonable to ask the police to follow the same standard.
Additionally, you can try a demo here: https://cierge.azurewebsites.net
I did re-enactment for 20 years in the UK, and you wouldn't believe how much of this sort of shite goes round in those circles.

And I wore "leather socks" for the events, not modern shoes, and my gait didn't change at all. Unless I was walking on wet stone, grass or concrete. Leather is really, really, slippery when wet.
"short-term pressures were driving their decision-making, often at the sacrifice of the long-term potential of the business."

This is a popular opinion, but I find it difficult to believe. It relies on the notion that stockholders are fools and unable to recognize when a company destroys its long term prospects for short term gain.

The trouble is, once the short term gain is there, who are the short termers going to sell to? A bunch of suckers?

And Wall Street richly rewards companies for long term behavior - there's no other explanation for Amazon's high P/E.

Lastly, the stock market returns for the last 50 years are excellent. If the corporations were all sacrificing long term for the short term, how has such sustained growth been possible?
It's a pretty hollow defense, because users are clearly not reading changelogs, and a reasonable person would obviously understand that a consumer's response to a poorly performing phone is conclude that it's time to buy a new one.

And my understanding is that there is no explicit mention in the changelog, just an opaque mention of new power management feature. But again, no one reads changelogs and the folks at Apple know that.