skysight-inc/HackerNews huggingface dataset:
Have a public drawing based on physical randomness, which is then videoed and broadcasted.

For example, a ball bouncing around a chamber, where the floor of the chamber is divided between contact pads representing different digits. Each time a ball bounces off a contact pad, add that pad's digit to a list, after X bounces concatenate the list to a seed value.

In a perfect world, with a perfect launching mechanism, you may be able to predetermine which pads the ball will land on and thus guess the seed value ahead of time. But the world isn't perfect. Just give the ball to a four year old who doesn't understand the meaning or consequences of the ball launch, and let the kid throw it into the box.
When I worked at Travelocity we would find ways to prove this wrong as necessary to create those hated popunders. Expedia still uses these.
As much as I am concerned about Facebook's reach this story presents a rather narrow vision of the problem. The region has earlier seen people spreading hatred and misinformation through plain old SMS and MMS too.

The only way governments tend to control this is by blocking mobile/sms services. In this case unfortunately the only way around is to block Facebook or internet services until things calm down.
I keep seeing this same sentiment... Where on earth do you people live!?
5 Real Examples of Freelance Projects Junior Developers Should Apply To
A few of the topics I know well myself, like networking, can be a pain to listen to. But the overall quality is great, and I realize that you can't be an expert on all topics.
I listen to pretty much every episode and rarely skip one. Even the topics I think are of no interest to me often ends up with something useful and interesting.
Doing daily shows also allows for a lot of diversity in topics, letting some episodes go really deep or just have a subject covered broadly and intensely like the k8s.
I really recommend it to anyone who wants to keep tabs on what is going on.
Off-the-shelf smart devices found easy to hack
How can you say that when you don't even know the price of the service?
In europe you can order similar machines tuxedocomputers.com

Disclaimer: Just a customer
> Dunedin is only 100 miles away from Queenstown but it usually takes us 4:30 to 5:00 to get there by car.

So, the simplest solution would appear to be some road improvements, rather than noise pollution for the people who enjoy the quiet enjoyment of rural areas
Quite headache-inducing. To me at least. There seems to be quite a challenge to make something look hand-drawn and also not change it so much on every drawn frame that you don't get dizzy watching it.
As I say elsewhere, just look at other disciplines taught by universities. This is a totally untrue view of what universities are.

They are learning and research institutions. They've never just been research institutions. And the vast majority of fields don't really bother teaching any R&D to under-grads, they just teach them the subject and practical application of it in the real, job, world.

In the UK we used to have vocational schools too, that all got changed to universities. It didn't mean no vocational training went on in universities.
>.NET Core

Thanks they hadn't put a Silverlight instead of .NET. StackOverlow makes this mistake third year in a row. It is not .NET Core, it is .NET.

.NET Core is just yet another implementation of .NET runtime.
Change white to black, or jews, or... and see if they "might still have a point".
We have a race in NZ called the Coast to Coast - you start with a foot in the Tasman Sea and finish with a foot in the Pacific Ocean. It can be either done in one day (called the Longest Day) or two days, and comprises cycling, a mountain run across the Main Divide, then more cycling, then kayaking, then cycling again.

But the fact that it can be done in one day should give you a hint as to the breadth of the South Island of NZ. Something like this would especially benefit our isolated West Coast, or if it can safely land in mountainous areas would be of great use in hunting.
This is how you can lie with statistics.
Sure that will prevent gc, but that doesn't mean it's a memory leak
12.5" and 1366x768 though. That's way too tiny and low res for comfortable work.
Announcing the Tokio runtime
How about you start with grammar and punctuation before giving advice on writing CV?
Funny stuff from programmers realm
It's definitely going to be noisier than a car because of the propeller noise. Small aircraft don't generally have mufflers on their engines, so a gasoline powered aircraft will have both propeller noise and engine noise that are greater than that of a modern automobile (imagine your car without a muffler or even much of an exhaust pipe - no, not you Tesla owners).
Automatic Best Image Format Selection
This is true. It always feels weird answering these kinds of questions living outside of the US. You can easily have a salary that is several times the average of your country (I'm talking like 20x) and still make about half of what you'd make in the US, when shown in USD.
Yes Lamport started and maintains TLA+. I found his hyperbook to be a good introduction to TLA+ and PlusCal.
http://lamport.azurewebsites.net/tla/hyperbook.html
> are dragging Google and Facebook into the role of judge and jury of what is or isn't acceptable speech.

I couldn't have said any better. Later people might have an issue on why a "public" company is now moderating free speech.
I find antennapod decent (and open source). To be honest, it might be wise with something in the cloud that can keep tabs on what episodes you have listened too. Most do it locally and it is easily forgotten when switching devices.
mp4? That's not a video compression format. It's a stream container format. mp4 files might contain RealVideo (ugh) or MPEG1... or pretty much anything really.

Perhaps you meant h.264 or MPEG-4 (which should not be confused with mp4 container format!).

You can decode GIFs with a few hundred lines of code. Decoding different mp4 cases requires several orders of magnitude more code.

One big advantage of GIFs is simplicity. So perhaps you could come up with something that could be decoded with at most one or two orders of magnitude more code?
Modals (i.e. "in-page"). All browsers have been blocking regular pop-ups for ages now (or at least have tried to).
I'm a big fan of player.fm
In a mountainous area like NZ, a car might have to take some sort of serpentine road to reach the destination while this thing would fly in a straight line, thus saving energy even if it's less efficient. However such scenarios are certainly unusual.
I'm not against training loads of programmers, I just don't think that we should kill CS as a theoretical subject to do so. I believe vocational schools are better suited for the task.
That ignores the entire history of South Africa but go nuts.
Then we'd have the web relying on VBScript. If you stop Microsoft from doing that, well… the market was still changing quickly enough some other browser might've done it and got traction.
“A couple of hours outside Yangon, the country’s largest city, U Aye Swe, an administrator for Sin Ma Kaw village, said he was proud to oversee one of Myanmar’s ‘Muslim-free’ villages, which bar Muslims from spending the night, among other restrictions.

‘Kalar are not welcome here because they are violent and they multiply like crazy, with so many wives and children,’ he said.

Mr. Aye Swe admitted he had never met a Muslim before, adding, ‘I have to thank Facebook because it is giving me the true information in Myanmar.‘“

https://mobile.nytimes.com/2017/10/24/world/asia/myanmar-roh...
Anyone know how much this costs per mile?
It's using setInterval on purpose, because with requestAnimationFrame the effect is a bit too fast.
I think we need blacklists. When I access a URL, the browser should check if it is present in the blacklist. If present, compare the reason of the blacklist (for example adblock avoidance system) and check the associated action specified by the user (for example, block the site or ask for a confirmation). Users would be able to choose the blacklist he prefers and to report missing sites.
This is awesome! Thanks for open-sourcing :)
How a book warehouse is changing Columbia's library system
Where and when in DC? I haven’t had a problem in the least, around DuPont, admo, or even SE, never bothered checking Uber prices/availability.
Militant Buddhism must be really blocking some chakras in the West.
>Always better to handle errors by yourself.

I disagree, using try/catch/finally for their intended purpose (exceptional cases) is going to be preferable to trying to replicate their function on your own. Even if just from a semantic standpoint (is semantic the word i'm looking for here? it feels wrong...).

>But this (or something like this) is a part of the ECMA proposal which is in stage 4.

I really dislike the idea of true shared memory for the extreme vast majority of cases, and i'm not particularly happy about it's inclusion into browsers, so take what I say here with an appropriate amount of salt. I personally think spectre is only the first of many many problems it will bring if fully integrated. Transferable objects are a much cleaner and safer pattern to use in most cases, and they are here today in all major browsers. I do admit that having shared memory available is a massive bonus to some kinds of problems, but I feel the net impact will be negative. That being said, until a fix for spectre is either in hardware, or they find a way to solve it in software that doesn't destroy SharedArrayBuffer's performance, it's not coming back. And I don't see those happening within a few weeks/months in all honesty.

>I said using forEach (or in-builts) are always a good practice.

That was only one example of many in the article that I felt was making advice which works on one engine (v8), in a well-defined set of situations (sparse array, hot code paths, no async/await in the case of forEach), into a general truth. Not many things are universally true, and spelling out the when, why, and where you should apply this advice will go a long way toward teaching others rather than just giving people a list that they can haphazardly apply.

Like your advice to avoid for...in. If you are iterating over enumerable properties, there is no reason to avoid it. It's slow, because that operation is slow, and most attempts to do it yourself more quickly will either fail, or will have edge cases that may introduce bugs. It's good advice in hot-path code, but shouldn't be universally followed. Especially when the alternative to a few lines of well-understood code is a mess of if statements, key lookups, and undefined/null checks.
Tech's Diversity Problem Is for White Men to Solve–Uber Exec
Sadiq Khan reads out racist tweets in call for tighter tech regulation
There's only one such line. In general it's a good idea to reset the transform before clearing as the (0, 0, w, h) rectangle may not cover the whole canvas anymore. In this toy example there obviously isn't another transform so it's without function.
The Tipping Equation
I WANT TO SEE IF I CAN RAISE $1M FROM HACKER NEWS MEMBER
Hello,
I want to see if i can raise $1,000,000 from you,
Please comment below and so that this post will be on top.
My email is ismailgalawa@gmail.com, send me a message how much in cash you will support me.
thanks and i am waiting.
Large gaps and slow reporting as UK companies report on gender pay
"Having a family," as in, relatives that physically exist, is obviously different from "having a family you value spending time with." I think it was clear the GP was talking about the latter.
Here’s how 20 different venture capital firms are policing sexual harassment
Yep! Facebook and Docker among them.
> if they weren't here, another one will take their place

This is a cop-out. Hateful false information, with violent consequences, is being spread by a company profiting from its distribution.

We don’t say, in the event of food poisoning, “we can’t blame the restaurant because if they weren’t here someone else would be poisoning people.” We fine the business and send a message to the industry that said behaviour is unacceptable.

Facebook is contributing to and profiting from atrocities. That rightfully merits scrutiny, of Facebook and ad-driven social media companies generally.
Yup. Only worked in Chrome for me too.
But the fact that it can be done in one day should give you a hint as to the breadth of the South Island of NZ.

Here in the UK we have the Coast to Coast walk[1]. It's 192 miles. The record is 39 hours and a bit, so just under two days. That shouldn't give you any hint at all that the country is that narrow everywhere though, just as the race in NZ doesn't.

[1] https://en.wikipedia.org/wiki/Coast_to_Coast_Walk
Intelligence is just pattern recognition. And such patterns could arise as outputs of random processes happening over billions of years. Sooner or later some intelligent pattern cycle/phenomenon happens.

There was a tweet a few months back about a cloud formation resembling the map of United Kingdom. One way of seeing at something like that is saying, there could be no way a cloud formation resembling a complex geographical map on earth without an intelligent species making it. Another way of looking at is given how many billions of years earth has been in existence, eventually clouds could form resembling many things on earth.

I wouldn't surprised if we tomorrow discover some sequence of digits in Pi that show these kinds of behavior.

In short, over long periods of times, odds of these events happening approaches 1.
Because Facebook already controls what people say and see on their platform. But they choose to use that power to censor boobs and show you whatever will provide the strongest response.
KittyHawk is not an Alphabet startup. It is no affiliated with Alphabet. The title is misleading.
"There's no words that can make robots out of people"

How do you explain cults? How do you explain the effects of advertising? How do you explain the uniform levels of discipline achieved by basic training? How do you explain phone scammers? How do you explain the success of the public relations industry? How do you explain Bernie Madoff? How do you explain cigarette smokers? How do you explain the effects of what we refer to as echo chambers? Everyone of these consists of people being programmed or brainwashed in one way or another.

You hear the word brainwashing and immediately think of someone thats hypnotized, or a zombie, the typical hollywood trope. But its a far more common thing.

If you're interested in reading about this, there is a book by a psychologist named Robert Cialdini, called Influence, the Psychology of Persuasion.

https://www.amazon.com/Influence-Psychology-Persuasion-Rober...

One interesting persuasion trick is to start with extreme opening bids in negotiation, and then back off to what you really want. This is how the actors of Watergate were able to convince others to go along with the plan to break in to the Watergate. The original plan was far more involved, with a $1,000,000 budget, and included kidnappings. G Gordon Liddy used this as an extreme opening bid, and eventually convinced everyone that what eventually took place was a reasonable compromise. After, its not like they kidnapped anyone, and they only needed $250,000.
Wow! This is highly relevant to my troubles this morning, and solves a highly relevant pain-point. I would not be surprised to find something like this mainlined into k8s over time... Nicely done :)
"Would be valuable to learn that he dresses like a clown or like indiana jones in conferences and my preference on learning TLA?" Of course not. That question is too simple, and you know it! ;)

Could you also ask a question that completely gives a counter example? Could you think of a question that does help learning TLA+ because you know something about Leslie Lamport? Have it as a fun exercise for 10 minutes, or not, it might stretch your mind a bit since you claim that you can't see the relevance.

Here is why I like to know about authors who found a field:

Knowing the author may give an idea or context about TLA+. While not strictly necessary, it may be interesting background information that people don't know about. I presume that Lamport has one of the most, if not the most authentic reason for why he created TLA+ in the first place. Reading that reason may motivate people more to learn more about TLA+, or demotivate people more -- but for the right reasons!

Furthermore, discussions can be associative: gabuzome gave book recommendations written by Lamport. I didn't know Lamport wrote one (I know very little about Lamport) and since he now recommended it I'm happy to know that the founder of TLA+ also writes books worthy enough of a recommendation. It personally gives me more confidence to read it and take a crack at it.
Facebook doesn't spread hatred, people spread hatred.

Sure, Facebook could crack down on the way people are using their service/their tool, but I don't think they are responsible for the actions of users.

What about:

- Broadband internet is spreading hatred

- Chrome Browser is spreading hatred

- ISPs are spreading hatred

(etc)

Don't blame a company, or the service they provide. A crackdown on Facebook will force the hating people to another tool or communication method. They'll probably move to a more encrypted method of communication, which will make finding the wrong-doings and the people much harder.

The only thing they could do is ask Facebook to cooperate and provide details to find the haters.
I‘m really curious how this will play along with GDPR, which will pretty much absolutely need forced modals in order to to legally capture tracking consent. It could also create interesting legal constellations: How do you prove you asked for user consent when your client side code was blocked or modified?
Too bad the Rwanda genocide happened in the 90s. If Facebook was around back then, we could have washed hands and blame them for that too.
Eh? "Public" companies have always moderated speech. I can't think of a time when they haven't. Even if you restrict that to internet companies then even Facebook already does moderation (although it seems wildly inconsistent). Heck 4chan has some moderation albeit of a very limited kind.
What's the long pointy bit that sticks out from the nose for?
A bit late to the game, but I've really enjoyed reading Musimatchics by Gareth Loy, it explains music theory from a mathematical and historical perspective: https://mitpress.mit.edu/books/musimathics
Isn't the first part of your suggestion handled on OS level anyways? Aka. restricted user access, SELinux, AppArmor etc.
I assume that F# developers bring better business outcomes.

I am both a C# and F# developer, and in my experience functional code (F#, OCaml etc) tends to be 5 times less buggy than an imperative equivalent. F# compiler does an impressive job of catching errors at compile time: this is the primary reason for better outcomes. The second significant contributing factor: functional code tends to have less side effects, and thus developers can reason about such code more realistically.

A third contributing factor is lazy computations. Which leads to (surprise, surprise) better overall performance at runtime.

Less bugs + Better performance = Higher salary

Though I don't say F# is perfect. It has its quirks and there is a lot of room for future improvements.
> Avoid try/catch

haha, async await needs that by design!
only when not in strict mode, which is becoming more and more rare, especially in javascript codebases (as opposed to one-off scripts)
Why not just `git push`, `docker build`, `kubectl set image`?
Sound in videos is rarely recorded on location. What you hear when you're watching probably bares no relation to the real world at all. Also, it may be fine when there's one of them. When there's 50 coming and going from a popular tourist spot it'd be a very different story.
having interviewed over the years in NZ, I'd say its around 90% with degree.

But I've worked mainly in companies building quite technical products.
Top Performing Inbound Marketing Articles from February 2018
New Fast Radio Burst Detected: FRB 180301 – Astronomy – Sci-News.com
Finnish state holding company Solidium invests €844M in Nokia stock
Patch changelogs with git-notes
Yeah it seems like you'd want to interpolate along an equiluminant plane using a colourspace that separates chrominance and luminance (and is ideally perceptually uniform)
Top 9 Books for Enterprise Agile Transformation
This certainly does seem to be a fairly easy way to deploy. I'm assuming you'd integrate standard ci/cd tools in via webhooks? Or even pre-push scripts?
Drilling tunnels into the Kiwi equivalent of the Alps to service communities that are mostly in the range of hundreds to thousands of people is neither simple nor financially feasible.
Psychopaths need to be studied more. Especially the ones that don't end up in prison.
They generally escape attention, but still are ruining people's lives.
That's a decent part of it, but also the fact that in Java:

class A {
B b;
}

"b" will be a pointer, as opposed to "b" being contained within instances of class A.
Ask HN: I'm teaching my wife to code. What direction should we go?
My wife has shown interest in learning how to code in order to find flexible (or, even better, remote) work in the future, i.e. after the kids start going to kindergarten and/or school. She has no prior CS experience and has a Bachelor's in French and Norwegian Literature.

I was leaning towards starting her journey with Python, since (1) it's pretty popular and can be used in many different contexts (backend, data analysis, ML, etc.), it's (2) quite beginner friendly, with great learning resources and (3) I have prior experience with it.

Lately, however, I started wondering if I shouldn't push her towards front-end, i.e. HTML/CSS and eventually JS and a respectable framework or two. I did some substantial AngularJS projects a while back, so I could support her if we chose this direction. She is quite inclined towards design and has a good sense of color palettes, fonts, arrangements, etc. (IMHO).

We are located in Germany, and, as far as I've seen, there are many more freelance jobs looking for JS/Angular/React or similar than anything with Python. That might not be a problem when looking for remote work, but some local customers might be interesting for building her portfolio. I could imagine getting some clients under my name and having her "on the team" for the beginning.

Does anybody have any experiences worth sharing? Any pointers, valuable lessons, must-do things?
This isn't a cop out. Anything different and Facebook would be blamed for censorship. This is a difficult problem to solve. It's practically human nature to form a mob and group think. It's one of the first things that kids do in pre-school.

I think the only solution to this problem is education.
Computer science is not meant to be a software engineering course.

There are software engineering courses at university.
Red Hat's OpenShift[1] Kubernetes distribution can do this too - you even get a webhook for GitHub copy and paste.

Kubernetes is a toolbox, not a product. There's so much you have to set up yourself (build system, registry, security, logging stack, metrics...). That's fine if you're in the business of selling Kubernetes itself, but otherwise, most teams should use something like OpenShift and not re-invent the wheel.

[1]: https://github.com/openshift/origin
I'm going to give PocketCasts a try. Overcast was pretty much a perfect app for me. If I can't find something I like as much on Android, Overcast might be the killer app that makes my next phone an iPhone.
A Silly question, is CoC a thing in Commonwealth / EU countries? Or is it mostly an US thing?