skysight-inc/HackerNews huggingface dataset:
A: Why aren't these kinds of calls straight up illegal in the first place?

B: Free speech.

A: Freedom of speech isn't a blank check for communication. It only protects from government censorship.

B: Um...yeah, "illegal".
int a = 0;
a = 1;

Same variable, but the value stored changes over time.

Consider the human body to be like a variable. The value stored changes over time. When we use "I" in the present, we are talking about the "value" stored in our body in the present. When we use "I" in the past, we are talking about the value that was stored at a different time. That is how we can refer to systems that change over time using the same identifier - by treating them the same way we treat variables.
This is a late reply because I missed this until now, but if you accept the typical parameters of a statistical thought experiment, you should assume that the permutations are equally likely. The real world nastiness of biology and society fouls that up, but thought experiments like this are never intended to be about not picky real world details, boy/girl is always assumed to be a coin flip. (Not to say that real world results are not interesting as well)

And there are a half dozen arguments in this thread that claim to disprove this result even if they accept the coinflip hypothesis - it's really those that I take issue with.
I don't know that one has ever been truly implemented, but it's certainly been discussed. Refer to just about any of Chris Date's work, primarily the third manifesto. I do recall reading about a database system that tries to implement the "true" relational model (mostly according to Date, with the exception of his type system), and has a language similar to Date's Tutorial D. I believe it was written in Haskell and showed up here not very long ago. But I can't find it now...
I wish more space aficionados would admit that it's really about entertainment. SpaceX to Mars is like the world's awesomest reality show. People seem to think it's shameful to admit that something is for entertainment, but I think it's a noble calling to do entertainment well. I think of Elon Musk as a modern day Jacques Cousteau, also a great entertainer.

People always make these super slippery arguments about how space research leads to earth inventions and humans need frontiers to stay mentally healthy, all kinds of strange stories to make space exploration seem like a humanitarian pursuit. I think it's just leftover zeal from the U.S. government story that space exploration was important for the country...

... which it was. We needed to stay up on our rocketry game for national defense reasons.

I feel it just muddies the true rationale for space when you try to make it about something it's not.
Are you doing The Dan Plan equivalent for tennis?
edit: I just realized you said "renaming." Original comment left below, but I edited before I get downvoted for a classic reading comprehension fail.

Atomicity requires that the leakage mentioned shall not occur from any context aside from its own internal context. That makes your example somewhat of a simplification because these state transitions are visible to other processes. It is a common mistake to try to use files for locking, for example, instead of using the more robust flock(1).
No ORM ever hits a universally happy solution; graphs and sets are equally powerful but express the world in fundamentally different ways. ActiveRecord is particularly annoying because it is bad both to the database and the programmer.

To the database it is bad by making a great show of holding its nose while dealing with the lowly bit box, making scrupulously sure to avoid taking advantage of the fact that the database has locality and enforceability. I've encountered true production race conditions that Rails validations can't solve. It is a professional embarrassment when clients receive duplicate emails about the multi-umptillion dollar software we've sold them. Meanwhile, a single constraint in Postgres prevents it from ever happening again.

And it's bad to the programmer by exposing a massive interface that you are meant to inherit from for construction. Ironically it's named after the Active Record pattern which is about making a thin interface with a table, which you can then build your own business-specific domain translation layer. But in Rails that's not really how it works.

I used to think the mismatch could be solved by lurching towards sets[1]. But I don't think it would be a very easy transition and more to the point, I don't have anything strong to back up my argument that a collection of grumpiness about the ways various ORMs obscure the power of relational modelling.

[1] http://chester.id.au/2013/08/28/notes-towards-a-set-objectiv...
“No man ever steps in the same river twice, for it's not the same river and he's not the same man.” -Heraclitus (supposedly)
I've given up at many points over the last 9 years. I now program "professionally". I work on full stack web applications, networked desktop applications, and recently embedded applications.

The primary reason I gave up was that I wasn't willing to accept the amount of effort which needed to be put in to get the level of results that I wanted. I just couldn't comprehend that the skills I wanted to have required years of commitment.

The advice that I'd give would be to understand that this is a huge task. You won't learn everything quickly; even if you're very bright; even if you spend 14 hours a day on it. Those things will help, but they aren't the key.

If you want to be a good programmer you need to love learning. It's not about being clever, it's about being persistent. You constantly need to learn new tools and frameworks, and occasionally new languages. You need to understand the technologies you're interacting with and how they work. And you need to take all those tools, frameworks, languages, and technologies and use them daily.

But mostly you need to invest the time.

Don't give up if you let a big project go because it's too difficult, or don't understand something, or spend two weeks on something you thought would take an hour. Be disappointed, sure. But don't quit.

Keep going. Keep learning. Keep on picking up just a small amount of knowledge or skill each day.

In a year things that now seem complex will be obvious. And that will happen again and again every year that you continue learning. Eventually, your failed projects will turn into completed projects, but it could take years for this to start happening depending on how ambitious the projects were. You can't let that stop you. You just have to keep going despite it.

So keep going. But realize it's a long, slow, life-time commitment to constant learning. It's not easy. Even if you've been good at everything else in life, there's no exception for you. Mastery and skill will only come with significant time and effort. But they will come.

Also learn vim. That sh*t is awesome.
A friend of mine just wrote an article on this:

http://engineering.khanacademy.org/posts/shortest-regex.htm
I'd always just assumed my basic information on slack was visible to other users on my team. I don't see this as a vulnerability.

It would be like being upset that people can see your contact info when you join webex or some other online conferencing app.
I was looking at a different part of the video during that sequence. I assume that was true for the other commenter as well...
Chrome binary size
Except get the audio working.
I've tried to watch 5 different videos and only one had working audio. This is on an Android phone via the YouTube app
I noticed that some of these 2014 games (in particular the first one) are created in Flash, which to me suggests that there are still some purposes within rich web media it suits better than the plain web html5/css/js stack everyone is trying to kill it with. I really hope support for Flash isn't widely dropped before we can replicate its utility for richly interactive media in our new standards. (The web seems now just for websites and web applications rather than more rich games and animations.)
Aw, I was hoping it was an article about https://snowdrift.coop/static/img/external/nina/MimiEunice_5... .
Woah, this has been on my sort list of projects to build.

Advantages over `source`
- require is relative to script file instead of execution `pwd`
- a build process can create a single distributable file by cat-ing the required files.

Down the road I'd like to see a `babel` for bash. I think import / export, and functions with arguments would make my time with bash more enjoyable and productive.

As with other tools, `xeon` does a little too much,

require("http://some.external.domain/awesome_script.sh")
There's no way a text-only site with 100% user generated content can't be maintained profitably with a traditional ad sales team. They're going for a bigger play, which is fine, but there are definitely easier strategies to sustain a smaller team.
Feature, everyone who's spent 10 minutes with the interface knows about, exists. Add click baity headline. Profit!
Yeah, but it's a hundred years of industrial burn which was growing at an (approximately) exponential rate; the most recent burn has a much, much larger impact than the burn in 1916.
Did you read the article? That is how tabloids end up printing false stories about people and defending themselves.
> So, this raises the question of whether someone can seriously say: "I did something 15 years ago"

Only if you define "I" as something that doesn't match reality, just because people change doesn't mean they aren't still themselves. "I" doesn't refer to some ethereal unchanging thing, it merely refers to the self which is ever changing.
QEmu integration just started working, https://github.com/letoram/qemu it's far from complete enough that I'll try to upstream patches. -display arcan.

Your GPU is most likely fill-rate limited. Are you running this entirely natively (EGL/GBM/KMS stack) or using SDL through X? In the latter case there'll be so many fullscreen sized buffer copies that your GPU cries. There's more special tricks I can do to get the fullscreen case to go faster, and it's on the near todo for Durden anyhow.

Also, the terminal emulator only really supports truetype fonts (there's a built-in fallback that is quick, but it's awful and only 7bit ascii..), which is damn expensive to render.
Wow! Thanks. I'm working on a 3 hour video series which I'm planning to price at $99. My thought process is exactly the same. people doesn't tend to value free stuff or stuff they got for free. Its counter intuitive but it works.

Obviously people ridicule the idea of charging for basic programming tutorials.
You might be looking for Project:M36.

https://github.com/agentm/project-m36
What's your cash burn rate so far?
The LinkedIn Hack: Understanding Why It Was So Easy to Crack the Passwords
'Keep it simple stupid'

... proceeds to use Bloatware Studio for examples.
Side note: Two weeks ago, a friend told me that dogs turn their bodies to poop in a north-south axis. I couldn't believe it and couldn't believe that I hadn't noticed before. So this was a timely read.

The article begged the question for me: Does the biocompass come into play for humans? Does anyone know of any examples of cultural/tribal traditions/oral histories that suggest that humans can improve their wellbeing by being aware of Earth's magnetic fields for various tasks?
Even dedicated bus lanes can move 6000 people per hour.

But not where and when they want. Passengers-per-hour figures are simply measuring the wrong thing.

Forget Manhattan which is a beast of its own scale - look at Chicago mass transit which moves over a million people a day. You're sure you could replace the capacity of rush-hour Red Line trains at crush capacity with the surface streets? Really? Where would you park these cars?

Considering that there won't need to be as many cars, parking won't be a huge issue. Cars that spend most of the day and all night sitting in parking spaces are a waste of both resources and real estate. In an optimal scenario there wouldn't be a need for any parking spaces at all.

Here's a thought experiment for you: take all the taxicabs off the streets of NYC, and replace them with privately-owned cars. Hell of a mess, isn't it? Nowhere to park between Boston and Philly. Now go the other direction, and imagine that every single passenger car that isn't a taxicab simply isn't there at all. It should be obvious that there would be plenty of room in that scenario, both on the streets and in the parking garages.

Every single objection you raise is an example of "fighting the last war." You're pitting the worst aspects of the status quo against the best aspects of your favored solution. This happens time and again when these threads come up.

Can you point to a single transportation expert who believes that centrally orchestrated single-occupancy vehicles are a solution for transportation capacity problems?

No, but I'm less than impressed with the "transportation experts" I've encountered around here (Seattle area as well.) It seems self-evident that planners who devise fixed-rail systems with 25-35 year construction horizons while not even considering the arrival of autonomous vehicles are not competent at their jobs.
You might have a point if they published an article saying hulk hogan had sex with whoever was in the tape.
> I'm a huge fan of "design by contract" and I strongly advocate for that style when I'm working in any JVM language (Java, Groovy, Clojure, etc).

Is there an advantage for design-by-contact that Groovy or Clojure have that Python doesn't?

Static typing (IMO) goes hand-in-hand with design-by-contract, but Groovy or Closure -- normally -- don't have this.
On the other hand, I believe I've read before that DMCA takedowns only cause content to become inaccessible publicly but not actually deleted, which in the case of SciHub sort of defeats the purpose; however, it does mean archive.org retains an "archive" of the content, presumably until its copyright expires or copyright laws change.
Show HN: RaftLib – Easy, productive parallel programming in C++
Allan Odgaard, creator of TextMate, made one in 2005: https://github.com/textmate/bundle-development.tmbundle/blob...

It’s a command in the “bundle development” bundle.
Use paper and low-tech reading devices (e-readers) whenever possible, the comprehension varies widely, according to https://en.wikipedia.org/wiki/The_Shallows_(book)
Use your calendar to structure the whole day, including some fun things, some chores, things you want to practice, and required events. If you have the whole spectrum of activity bundled together it becomes easier to let go and follow the plan than to get distracted and lose your pace.
Picasso and the Fall of Europe
When you see this, and then open source you realize how giving people access to your platform, to being able for them to be part and to drive the product is what it makes it the winner combo.
Although I'm not sure that's the case anymore; android, apple and qualcomm they all seem to roll on the wheels of "never a copy of it".
You might be interested in A Course in Miracles.
I live in Thailand; I'm extremely skeptical that it's going to happen. The most likely explanation is that a few powerful generals feel like this must happen and proudly announce their plans, and technical teams responsible for actually doing it feel too intimidated to explain to the generals why it's impossible, so they just agree to it hoping that the dictatorship will be out of power before the implementation could happen.

As someone from /r/Thailand put it, "I'm hoping incompetence and indifference would save the day once again, as it has many times in the past." They can't withdraw it now without losing face, but they can let it just wither and become forgotten over a few years.
I wouldn't say "even" -- that's just another type where the iterator is a trivially copyable/destructable object.
I'd reconsider that name, if I were the author...
Put the domain name and its IP in your HOSTS file, that's what it's for.
I don't know, a lot of the games here are simple enough they can be made in HTML5/canvas. In fact, their written in Haxe, and that can target HTML5 as an export (performance might be a bit touchy though)
Actually there's incredible pressure on academics to publish as much as they can, in journals with as much prestige as possible.

There may not be actual guns involved, but funding and research opportunities are very much on the line.

Which raises the question: who are the pirates here?

In what sense is a corporation holding an entire professional community to ransom while adding no real value not being piratical?

In reality the journal publishing "industry" is just another example of aggressive for-profit enclosure of what was once considered a public good.

I'm more ambivalent about rights issues around creative works, because I think everyone wins when unusually talented artists and creators earn enough to work full time.

But academic publishing seems straightforward extortion of value from universities and governments - ultimately from tax payers - with no plausible upside.
Outside of the packaging benefits (which could be accomplished in many other ways), but which come at the cost of prefixing stuff, I don't see much use.
Agreed, both for the sake of everyone trying to find your tool and to stay out of the way of Intel's lawyers.
If you're needing to manage dependencies for a bash script, are you sure you're using the right language for the job? I'm not convinced that mixing and matching functions from different shells is a good thing.
This is a dead horse that gets overly beaten. One powerful value-add that groups like this do is manage the anonymous peer-review process, a fundamental part of modern science. Do they take too much money? Sure. Are they worthless? Absolutely not.
Thats a wonderful map.
How to Rip Blu-Ray to Passthrough Format
After getting the 6 figures programming job, I realized that I was already decent so I quit and started a startup. Now I'm just reading books, riding bikes, and networking.
So great to see Neil Postman and Marshal Mcluhan on the top, as well as Joseph Campbell and Mihaly Csikszentmihalyi in the middle

Essential reading for a world that usually promotes taking media for granted.
> SQL seems like a terrible language

That's because idea of SQL was the same as COBOL - kinda-natural more or less ad-hoc end-user-oriented language.

Codd ('Relational Completeness of Data Base Sublanguages') - “Clearly, the majority of users should not have to learn either the relational calculus or algebra in order to interact with data bases. However, requesting data by its properties is far more natural than devising a particular algorithm or sequence of operations for its retrieval. Thus, a calculus-oriented language provides a good target language for a more user-oriented source language.”
The inner game of tennis is an awesome quick read.
Mindstorms by Papert transformed my understanding of how to program, and how to teach programming. The book discusses how children acquire mental models of computers and logical processes.

And it turns out that the book is growing even more relevant with the rapid growth of Lego Mindstorms -- which is a direct result Papert's projects and related MIT Media Lab projects.

What is most exciting, to me, is the direct links from the Mindstorms book to the rise of hobby micro-controllers such as the Arduino, BeagleBone, Raspberry Pi, and others, as well as the "Internet of Things" meme and similar kinds of home automation projects and home robotics projects.
User-friendly view:

https://www.youtube.com/channel/UCwTD5zJbsQGJN75MwbykYNw/vid...
Is this the 2016 version of "This page best viewed in Netscape at 800x600"?
Geoblocking goes beyond simple greed... different countries have different laws, supply, demand, etc. Some countries may outlaw certain things. Others may have a much lower amount of money per person/family/gdp.

While I agree on the base level (Why should county a pay more than country b... like Australia routinely pays more for software), just saying "it's not fair" or "its unethical" is too simplistic.
Take care of your body because your brain is part of your body.

1) Get yourself on a sleep schedule. Figure out if you need 7.5 hours, 8 hours, or 9 hours of sleep. Then, pick a time to go to sleep and a time to wake up and stick to it for both weekends and weekdays. You will have exceptions, but it should be the baseline to which you return. If you find you are consistently tired, see a doctor and check if you have thyroid problems or sleep apnea.

2) Excercise vigorously at least a little bit every day. This will help you get sleep.

3) Eat good food. Avoid too much simple sugars. If you don't already cook then either buy a slow cooker and the iOS/Android app Paprika. Or go to /r/mealprepsunday. Alternately, try Soylent as your baseline.

Also, try using the OSX app SelfControl or the windows app ColdTurkey to block websites like these.
How to write a responsive superbook
I don't know if Tutorial D and its brethren are actually better than SQL in the ways that SQL is bothersome to most people. I don't think most people actually care that SQL isn't a pure implementation of the relational system (and it goes further than Codd's original proposal, Codd called for NULLs, Date and Darwen want to throw them out). I think stuff like enabling code modularity and code reuse and otherwise acting like language design has advanced since the 1970s is far more interesting to most people than getting rid of bags in favor of sets.
FYI, the name PL/SQL traditionally refers to Oracle's thing... Postgres has PL/pgSQL.
Have you read Drucker?
Please name one cloud hosting provider who offers Mac OS X.
I like to modularise my shell scripts for maintainability reasons. It would be nice to be able to just "pull in the pieces" as needed from my collection of components instead of, as I currently tend to do, re-including them wherever I'm using them.
I am sorry. We have some technical problems just now May 31, 02:24 (UTC/GMT). We are working for solving them.
Read your explanation, thanks!
Atheism, in itself, makes no claim about "moral facts". It's the lack of belief in deities. If your whole premise of the article is based on squeezing lemonade from apples, or implying more about atheism other than what it's not, it won't be true because atheism is nothing other than lack of belief in deities.

You can be an atheist and still believe morality can be derived from something other than a devised deity. I feel you'd be better off if you just went back to the drawing board; you seem confused by this whole 'atheism has no moral validation' notion. There's many other theories of universal creation other than what we typically think of as gods and those theories can just as well be used to justify personal moral code. I don't think you've had much experience with atheists, willfully or not, who've cared to clear you up on your delusions about it.
Event loops are heavily used — basically process input, process physics, process NPCs, render, repeat. (Likely not in that order — I'm not much of a game developer.) This is what the author lands on in the "Success" section.

Speaking of event loops, I feel like they weren't discussed very much at all at my school, despite being at the core of not just most game engines, but most GUIs. I think if I'd embarked on writing a GUI system when I was fresh out of school, I'd probably have done it in a massively threaded way like the developer in the article started their game. An event loop would have somehow seemed too … primitive.
I had never heard of Memory-mapped Files before but I caught on right away that they're the inverse of a RAMDISK. With a RAMDISK you perform file access which actually goes to memory. With Memory-mapped Files you perform (virtual) memory access which actually goes to a file.
A go library for tokenizing text
How to win the coding interview