skysight-inc/HackerNews huggingface dataset:
> the easiest way to think about them is to add an implicit argument to each function, which is the place to return to (jump to with the context, augmented with the return value). call it c. return x is c(x). there is no longer any stack or implicit return target

That model doesn't help you when functions do not have an implicit argument and you cannot add one, and the run-time has a stack (which you like and want), and you want continuations anyway.

It certainly doesn't help if you're debugging something with continuations and they are not implemented that way; or only helps you so far.
The first three surely in the "nobody uses and don't see that changing anytime soon" category (haven't heard of the last one, special systems-programming C# edition?)
Formally, it is no such thing. Assembly language programs in the conventional style save registers into the stack, and that's also where they put arguments when there are too many to put into the arg registers.
There may also be the physicality of it.

A t-shirt is something you get, and can keep as long as you don't ruin it.

BTW, i recall reading that someone had more success with a "unlock feature X" model of payment, even though it in total was more expensive than unlocking everything at once.
Why will systemd start a unit it can't sensibly parse? If it thinks the user is invalid, shouldn't that be a fatal error?
The statement misses the point. Linux desktops are not terribly stable and something always crashes sooner or later; that's why all of them ship with watchdogs that restart crashed stuff quickly.

The advantage of desktop components that don't crash is just that, they don't crash-and-restart.
There are type Ia supernovas that can give precise distances, no?
I'm having difficulty following the mental gymnastics required to follow your statement.

Are you saying everyone you disagree with is "gamer gate"?
My impression is that the script is being run as root. It's going along, running everything as root... It encounters an attempt to run a command as a different user, and being unable to find a user matching that, says okay, whatever, I'll just run that as root too.
Ask HN: What's the best way to unit test a RESTFul API?
I wrote a RESTful web API for a side project of mine (https://wintermute.design), and I tested it using mocha and chai (the API is written in express JS). But recently I read different articles which advise against such practice and recommend using mocks instead. What's your opinion on this ? How would you go about testing your own API if you had to write one today ?
May I propose Moomin's Law: Any statement about how hard a security issue is exploit is unlikely to be true unless made by someone who has exploited it.
Why wouldn't he use the "Dr." preffix if he's a doctor?
KDE managed to do that with me and it isn't even a tiling WM ... and I spent quite a lot of time on i3pystatus (and somewhat less time on j4-dmenu-desktop).
> I agree with you in principle, but in practice you'd need to exclude all the major outlets. That's a pretty big hole in media coverage.

WSJ is (as far as I know) the only major one that doesn't meet the "easy to circumvent" rule. And the "major outlets" predominantly post general news, which is less relevant to HN.
Meh, saying "five people would have been fired!" is too hyperbolic for my tastes. If you click through to this other HN post (https://news.ycombinator.com/item?id=14671047), you'll notice they don't use proper typographic emdashes (typewriter dashes `--` instead of `—`) and they have a black diamond where their asterism [0] or some other mark would have gone. However, you don't see me commenting there to derail the discussion away from the fascinating topic of these creatures' breathing. In the same way, this is just a minor aspect of the WWDC presentation and isn't such a big deal necessitating people to have been fired for.

[0]: https://en.wikipedia.org/wiki/Asterism_(typography)
I don't live in India, but I have an interest in their politics, so I have a question for you:

How can you justify Modi as the best prime minister in the world when he tacitly approves the killings of Muslims? A group he should also be the leader of.

The Hindu extremists are emboldened under his watch. In many areas, India is going backwards under his watch.

He's far from the best in the world. You just haven't bothered to look.
Sigh, that could have easily been implemented with a "use strict" directive. Or, `from __future__ import strict_unicode`. JavaScript has this strict mode, albeit to solve a different problem, and its success despite its messiness alludes to the notion that gradual improvement is better than sudden breakage.
Top 50 Must Know Social Media Acronyms – Buzzlogix
Also, worth noting, many of them send whatever you type in back to the companies that built them, and they resell the anonymised data.

I run an ASO company, and received an offer from one of the keyboard companies for the purchase of the data of what people type into search.

Reported them to Apple as a potential security risk. Apple didn't care.
There may be no LaTeX in Microsoft Word, but people working on its equation editor seem to be very much aware of LaTeX. Take a look at Murray Sargent's blog: https://blogs.msdn.microsoft.com/murrays/
Sugar’s “Tipping Point” Link to Alzheimer’s Has Finally Been Revealed
Nation-wide GST is a Trojan horse for fully-electronic financial reporting.

And fully-electronic financial reporting is in itself a Trojan for electronic sales accounting.
Sounds interesting. Could you share your setup/workflow?
Entirely anecdotally, but that is what slowed me down the past few years. I am not in the industry at all (biologist), so I'm usually very late to development technologies. I tried to pick up Laravel about a year ago, and I just don't like learning from videos, so I tried to find a decent book to get started. Almost every book from O'Reilly has reviews that say the code examples are nearly unusable. I don't really want to spend the time troubleshooting their examples instead of using that time on whatever brought me to the framework in the first place.
It's just an ADS B radio transmitter; the drone already has GPS and a controller. It requires not additional pilot workload, and power consumption is not onerous.

No different then requiring private/commercial fixed wing aviation having it onboard.
> This is a nifty way to lightly verify someone's address! A service could ask for scans of utility bills, or driving licences, but this is a lot simpler.

It's also an invalid way to verify where someone lives. It's possible to "verify" any address at which you can have mail sent to your name and receive, for example, a previous address, an office, a co-working space, an abandoned building or vacant apartment, etc.

This is why it's such a big deal that Nextdoor makes each user's address public inside their neighborhood group by default — there are trivial ways to get into a neighborhood group.
I thought it was a 'Black Mirror' episode title that i missed at first glance..
Any time this guy is brought up, I feel compelled to point out that he inherited a house he was able to sell, and held a > $250,000 a year job to create the seed for his investments. And he is still working (on this ad-laden site, as a motivational speaker) to supplement his income from investments.

Anybody with that kind of starting position could retire early. Most folks don't have that kind of starting position.
No, i am saying that at the height of gamersgate there seemed to be a mob of people that went around harassing (trolling if you will) the people involved simply because they found doing so amusing.

And gamersgate lost media attention, my impression that a sizeable chunk of that mob has latched onto systemd as their target.

The problem is that the people being harassed can't separate the harassers from the people voicing actual complaints, lumping them all into the trolls/haters bin.

And frankly gamersgate was just the "peak" of a sorts, the root of it all lay further back. It is basically a mutated, nastier, form of the antics done under the "anonymous" moniker.
Pinching and zooming is very underrated. I like it better than scrolling and digging through hidden menus.
I did this recently for the same reason.

Do not wait and get a Linux system with i3 tomorrow. You will be so much faster and more structured in your daily workflow than with Alt-Tab.

A nice side effect: Apps feel much faster than on OSX. I don't know why but everything is snappier and just more resonsive despite a much weaker CPU and same hires screen on the Linux system. Especially the terminal rendering and application switching which is instant.
It's not in the sense that I didn't have any connections and she got in on her own. It is in the sense that I have a CS degree and have worked in industry. I helped her on occasion get past a bad explanation in a tutorial and I could talk her through how technical interviews work.
Well we have China, but western leaders seem to be more prone to using the Chinese Great Firewall as a leading example than a bad example.
+ selling TShirts is another extremely competitive market.
> "Portugal shouldn't overly acknowledge the slave trade, they barely kept any in the mainland while profiting off their sale and work for centuries."

We are just going around and around in circles.

Again and for the final time: The article and my problem with it, is NOT about Portugal's involvement in the slave trade. I totally admit Portugal was the big motivator of the slave TRADE, yet history let's it very clear that the Natives were the ENSLAVERS and already since at least 1500 years before and have continued to do it UNTIL THE PRESENT, long after the Europeans stopped that.

The article IS about some WRONG idea there is some slave legacy in LISBON - when in fact there is basically none.
I had an ah-ha moment reading about digital light synthesis. This is how 3D printing should be done; not just printing molten materials, but chemically forming them. It might be possible to print CPUs this way.
And who guarantees it ? Is it really impossible to rename, edit, delete the root user ?
Diplomacy all the way.
It is kinda funny how systemd will bail to the emergency console if it can't figure out the dependencies chain. but it will happily run something as root if told to not do so, but can't find the user account it it told to use.
I strongly disagree with "CS grads should ideally know nothing about the practice of programming." and it does not even describe real life CS grads. Not knowing theory is a problem, knowing also practice is not a problem.

If you was able to learn compilers and implemented one ( as most of those courses require) then you not just have aptitude, but already can read code, can debug, learned to split code to smaller chunks developed etc. In practice, all CS already encountered databases, sql, at least one Web framework, did projects etc.

Web stacks are not that complex and complex parts repeat between frameworks. They seem complex if they are first thing you learn.
This is a seriously fucked up thing to say. Christ, do you even realize what you're saying?

You're advocating for bullying people just because they were involved in writing a piece of software.

Seek help.
The revolutionary technology pushing Sweden toward the goal of zero emissions
An R package which converts markdown files into mindmaps
If it can't find a matching user, it aborts as an error. When it doesn't think the value could possibly be a valid user, then it ignores the rule to run as a different user completely.
What's the smallest positive integer that 64-bit posits cannot represent exactly?
>it's rude to assume that someone else wants to go to your church

You're not assuming anything, you're asking them if they want to come. They can always just say no. Not everything has to be the end of the world. Of course you could make up tons of situations where this could be inappropriate (I heard you had a drinking problem, would you like to try church instead?) but I think in general it's a safe question.
Sometimes it will, sometimes it won't.

If you mangle the dependency chain in any way, you are likely to find yourself looking at the emergency console.
There were a bunch of devices kind of like that around the dot-com boom https://en.wikipedia.org/wiki/3Com_Audrey
I believe that emission and absorption lines are also shifted. Wavelength-dependent absorption by intervening gas wouldn't do that.
Edgar Wright's new film "Baby Driver" makes virtuosic use of Queen's "Brighton Rock" in it's grand finale. Don't think I've ever witnessed that level of per-frame synchrony with every beat!
"Gamer gate" has absolutely nothing to do with legitimate criticisms of systemd.

I am not a gamer, I have never trolled. I am a sysadmin in an 11,000+ person organisation and I have qualms with systemd.

And frankly speaking, proponents of systemd usually fobbed us off by saying that we're dinosaurs. Or intentionally misrepresenting our arguments.

Now we're being fobbed off as being some weird gaming industry crap? No.
> a) doesn't seem like it should matter,

Every. single. thread. that links to a WSJ article has people complaining about the paywall, and people asking for the link to be changed to a different source.

As a result, I imagine there are plenty of people who flag WSJ articles by default, regardless of what way the web is going.
BMW Will Apparently Introduce an Electric 3-Series in September
Anyone who could provide a quick overview/comparison of sites like Teespring, Redbubble, etc from a creator's perspective?

Are they reliable? Do they pay in time and for all the sales? Do they hide sales?
While I like reading these type of posts, and getting inspired by it. I know that there are many, many more projects that did not make it and forced to close. Where are those stories? I would to read those and to learn from those.
You might want to look into Aqua Snap, it solves a lot of those resizing problems. I'm not affiliated, just a happy customer.

http://www.nurgo-software.com/products/aquasnap
Doesn't using Latexit mean that each of your equations potentially has a different size?
That's definitely not the key takeaway from the article. What's your point exactly? His approach worked. Your approach works as well. I doubt OP would claim your approach to be inferior, but for some reason you seem to want your process to be superior over theirs. Who cares?

For people who don't see the key takeaway, my read is that it's something like the following: (a) consistency and hard work pays off: it is, or can be, a numbers game (b) thinking like a business can be a useful approach when looking for a job
It is surprising how many countries used to have relatively high wealth taxes
I'm reading stuff on history of taxation. I was surprised that property and financial assets were taxed left and right at the break of 20th century, but went nearly extinct after WWII.

It was an even bigger surprise that the shift from capital taxation to income taxation was driven on a pretext of "stimulating the industry"
Hasn't this already happened? Remember the Project Veritas videos of ACORN employees giving advice to a pimp on how to run his child prostitution ring that were all over the news in 2009? Multiple investigations found the videos where so heavily edited as to be fake:

https://en.wikipedia.org/wiki/ACORN_2009_undercover_videos_c...

The original videos were everywhere, ACORN was driven to bankruptcy, and the investigations revealing the videos were faked got hardly any news coverage. The art project described in this post is very quaint in comparison to this very real life event.
Thank you for that clarity. Something about it always bugged me, but didn't know all the history there.

Of course, there are plenty of folks who inherit a house, make $200k+, and still do not manage to have the discipline to do what he's done (reduce expenses, etc). But... yes, he's had lucky breaks and situations not everyone will have. To the extent he helps encourage people to reduce expenses and get a handle on their finances, it's useful, imo, but yeah, knowing how he got started can help keep a perspective on the advice.
In what scenarios would you trust or not trust driverless cars?
The name is just something easy to remember. But "root" will always be user 0 (zero).

Gobolinux as a joke used to ship with user 0 named gobo rather than root, but i think they stopped doing so because it broke certain scripts etc that assumed root and 0 was equivalent.
None. Nothing besides mass and energy would continue to have value beyond that point.
Ah! Dave Shea[1] is awesome. I'm a big fan. I once asked him if he would do a site design for me. Unfortunately, he was busy. He was super polite and humble.

Mezzoblue[2] was one of those source of inspiration to CSS enthusiasts.

1. http://daveshea.com/

2. http://www.mezzoblue.com/
So systemd is once again second guessing everything else...
> I haven't been able to get this off of my mind lately because it's inevitable.

Google Roko's Basilisk
موفيز لاند
To me, this reflects as much on "many eyes make all bugs shallow" as on systemd. How many have used this feature without noticing that it has a serious bug? How many pairs of eyes have even passed over that particular piece of code without seeing what was wrong with it? More eyes only make bugs shallow when they're trained and diligent eyes.
Solving the Romeo and Juliet Problem
I guess the geometry of galactic filaments may be examined for distortions/textures relating to non-standard red shifting. We may see the filaments are bent from our viewpoint in accordance with the presence of voids or other filaments along the way.
I didn't say it's a good idea to do that, just wanted to clarify what the specific behavior is.
This is what will usher in the age of transhumanism and the singularity - not the quest for knowledge or the relentless march of technological progress but the convenience of not waiting in line.
I find this to be both very true, and very unfortunate.

It took me years (and being fired from a "zero tolerance" job) to figure out how to put women at ease around me. Most of it involves "avoid being alone with or physically close to them", and "censor yourself heavily".

It strikes me as a really unfortunate way to go through public life, but since I'm a physically large guy with stunted skills for recognizing subtle social cues, it's the only way to avoid making women uncomfortable (and, frankly, to avoid another harassment charge).
Data Elixir 138: Curated notebooks. Data eng ecosystem. Data viz pitfalls
Your obvious counter example might need General Intelligence.
Try the gamedev reddit. People regularly post their failure stories there.
There was an article that Reid Hoffman wrote about supporting women in VC that was flagged. It was incredibly irritating.
Perspectives on Software Engineering (1978) – MARVIN V. ZELKOWITZ [pdf]
How do you research which areas are safe?
A programmer turned Wikipedia into a classic text adventure
The C# dialect used in Midori.

As for the rest, IT world is full of political murders of nice technology.

As Alan Kay puts it, pop culture driven development.
True. But the enterprise shops I've seen tend to make the "not modern enough" error 20x more often than the "too modern" error.
(2) WW3 WORLD POPULATION NEEDS TO BE VACCINATED AGAINST ISLAM
Continuation based list flattening in TXR Lisp:

This is the TXR Lisp interactive listener of TXR 181.
Quit with :quit or Ctrl-D on empty line. Ctrl-X ? for cheatsheet.
1> (defun yflatten (obj)
(labels ((flatten-rec (obj)
(cond
((null obj))
((atom obj) (yield-from yflatten obj))
(t (flatten-rec (car obj))
(flatten-rec (cdr obj))))))
(flatten-rec obj)
nil))
yflatten
2> (yflatten '(1 (2 3 (4) . 5) 6))
#S(sys:yld-item val 1 cont #<intrinsic fun: 1 param>)

Oops, we need the obtain macro work with a function which yields:

3> (obtain (yflatten '(1 (2 3 (4) . 5) 6)))
#<interpreted fun: lambda (: resume-val)>
4> [*3]
1
5> [*3]
2
6> [*3]
3
7> [*3]
4
8> [*3]
5
9> [*3]
6
10> [*3]
nil
11> [*3]
nil

No continuation passing here: real stack where we can have unwind-protect.

Let's do it again --- but this time let's trace the function. For this we beak out flatten-rec into a top-level function we can trace.

(defun flatten-rec (obj)
(cond
((null obj))
((atom obj) (yield-from yflatten obj))
(t (flatten-rec (car obj))
(flatten-rec (cdr obj)))))

(defun yflatten (obj)
(flatten-rec obj)
nil)

Now:

1> (trace yflatten flatten-rec)
nil
2> (obtain (yflatten '(1 (2 3 (4) . 5) 6)))
#<interpreted fun: lambda (: resume-val)>
3> [*2]
(yflatten ((1 (2 3 (4) . 5) 6))
(flatten-rec ((1 (2 3 (4) . 5) 6))
(flatten-rec (1)
#S(sys:yld-item val 1 cont #<intrinsic fun: 1 param>))
1
4> [*2]
nil)
(flatten-rec (((2 3 (4) . 5) 6))
(flatten-rec ((2 3 (4) . 5))
(flatten-rec (2)
2
5> [*2]
nil)
(flatten-rec ((3 (4) . 5))
(flatten-rec (3)
3
6> [*2]
nil)
(flatten-rec (((4) . 5))
(flatten-rec ((4))
(flatten-rec (4)
4
7> [*2]
nil)
(flatten-rec (nil)
t)
t)
(flatten-rec (5)
5
8> [*2]
nil)
nil)
nil)
nil)
(flatten-rec ((6))
(flatten-rec (6)
6
9> [*2]
nil)
(flatten-rec (nil)
t)
t)
t)
t)
nil

At this point, the flattening is done. What if we keep calling it?

10> [*2]
nil)
(flatten-rec (nil)
t)
t)
t)
t)
nil
11> [*2]
nil)
(flatten-rec (nil)
t)
t)
t)
t)
nil

It's just sputtering now, repeating the slice of execution spanning from several nestings deep into flatten-rec, up to the delimiting prompt, because no new continuation is captured.
Don't expect any negative news.
Reason:
http://www.thehindu.com/news/international/you-have-a-friend...
There's a note in the text, but the infographic is way out of date.
Would be helpful for transparency if it was possible to see a list of flagged articles somewhere.
Now you are misrepresenting what i am saying.

I think there are legitimate complaints against systemd.

but at the same time i also think there is harassment going on.

From our side of the fence it is easy to tell the two apart.

But from the systemd developer side, and apparently also the systemd proponent side, the two intermix.

This akin to how hooligans join protest marches simply to start fights and riots, knowing it will be blamed on the legitimate protesters.
This might take away some of the pain of resizing windows:

> Taekwindow is a simple, lightweight and free Windows program that allows you to move and resize windows by dragging them with the Alt key, similar to many X11 window managers.

https://github.com/ttencate/taekwindow
NYTimes – Life on Mars: The Crew Answers Your Questions
At this time, that is still the case.
No, that's exactly the point: with a statically-typed language, you wouldn't need a test for a non-existent property reference. The compiler will choke on the bad reference, and any test that uses/references the module in which the code resides will fail to compile. In other words, just simply trying to compile the complete codebase serves as a baseline "type/sanity test". The compiler will simply not allow you to produce an application containing such code.
Off topic: Micropython on ESP8266 is a blast.

1. Pick yourself up a < $5 ESP8266 board from ebay (Wemos D1 mini or NodeMCU Lolin).

2. On debian based linux:

- Get the correct binary from http://micropython.org/download

- sudo pip install esptool

- esptool.py --port /dev/ttyUSB0 erase_flash

- esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 /path/to/binary.bin

3. Hack away!
You can at least turn on "showdead" in your profile, which doesn't give you one handy list of everything flagged, but flagged (and otherwise killed) submissions and comments are then still visible to you.
/. is gonna have a field day.
Scroll is much better news source than many. It's not dailymail.
Most of the Indian media just parrot government line.
http://m.ndtv.com/india-news/arun-shouries-speech-on-media-f...
Indeed. This functionality really worries me.

Why would a non-mutation trigger listeners?
MES CONSEILS POUR RÉUSSIR UNE GROSSESSE
> the username is clearly not valid.

It was, until systemd said it wasn't.