skysight-inc/HackerNews huggingface dataset:
I agree with this idea, and I'm glad that the Go team has come around to this. :)

Type aliases end up being very important when you have things like complicated closure types and generics. They are also useful for migration, as the article notes. It's also nice for packages to be able to reexport names from other packages: perhaps your library depends on some internal packages that you only want to expose a few types from.

One word of advice for Go developers if this is implemented: Pay attention to getting error messages in the compiler right. Ideally you want to refer to types by the name the programmer was using at the place the error occurred, not the underlying internal name. This requires hanging on to typedef information through more internal stages of the compiler than just name resolution. Clang does a great job of this with its "a.k.a." functionality.
TBH, this seems like a good thing to me. The spin of undoing what we did poorly in the first place seems a bit overblown. That said, this WILL ruffle some feathers. But reaching out is no new thing, only doing it publicly to the leader of a contested government. The US acknowledging Taiwan might be a good political play, but it does seem premature.
Try Vipassana. Spending 10 days in retreat essentially takes you to the low-Earth orbit. From there you can decay back to Earth by doing nothing, or make better use of your new position through sustained meditation that you already know how to do.

Having the patience to mediate for the entire year without results pretty much dooms you to success.
I never thought I'd see the day. Now, if only they'd get * in filenames right, I'd be able to check out all of my git repos on a Windows system.
The requirements around scaffolding are kind of an annoying middle ground of rent seeking. You are required to put them up, but then you aren't charged enough for them while they are up to incentivize anyone to take them down. In some cases the scaffolding goes up and the company that owns it goes out of business or the contractor goes bankrupt and it just gets left there.
> I don't know much about the internals of Java, but I know that Go will stack allocate any kind of object if the compiler can prove it doesn't escape

This is also the case in HotSpot.
This is interesting considering all the empty space available in the US compared with countries like Japan where it is more common to find people in their 30s still living with their parents even if they are married, and it is not weird at all, it is as normal as you can get considering the space available for housing.
The worry was Time Of Check To Time Of Use attacks, but I guess they've decided the balance has changed.

Also you've always been able to make junction points without admin.
Analogies are dangerous, but I don't think we have seen either the "peak of inflated expectations" or the "trough of sorry" yet when it comes to bitcoin.
Or build the street up 1 level and have an underground level on the current street - isn't this basically how Chicago built sewers?
> it is as normal as you can get considering the space available for housing

Which is heavily dependent on housing regulations.
It would be nice if they added this to Powershell. Last time I tried, mklink was only valid in cmd.exe.

Tbh I don't see the point of this policy change anyway. Developer Mode means it can't be used in Production, so what are we saving exactly? The 0.000001 seconds it takes to launch a console in admin mode, assuming you didn't already disable UAC like most devs do...?
> Why It’s So Hard to Build Affordable Housing: It’s Not Affordable

> Developers struggle to break even on rental projects for the poorest Americans.

https://www.bloomberg.com/news/articles/2016-07-26/why-it-s-...

This is without even discussing the macroeconomic effects of central banks attempting stimulus by printing money, driving up asset values artificially.

http://www.economist.com/blogs/graphicdetail/2016/08/daily-c...

"WHAT a difference a decade makes. In 2006 house prices in America hit an all-time high, after rising unabated for the previous ten years. The crash that followed brought the entire global financial system to its knees. As our cover leader this week explains, despite efforts to fix the plumbing of the American mortgage market, housing in the United States remains a dangerous menace to the world economy. In the meantime property prices in the country, underpinned by low interest rates, forge ahead. On average, American home prices have recovered nearly all their losses from the 2006 crash, but when adjusted for inflation they are still 20% below the 2006 peak."
I don't particularly want to live in the middle of a corn-field though, I want to live near my friends, and live near other stuff that we're all into, which means cities, which means smaller areas.
Alternatively, just store it naively and gzip.
Or use a sparse array.
Or, best, don't do anything until storage size is an actual, measured bottleneck
Bit fields certainly have lots of uses that can't be replaced by databases.
This guy gets it.

I have the laptop I'm currently working on, and then I have a specialized "travel" laptop that contains nothing. It is pretty much a basic Linux laptop that contains an unencrypted volume containing a basic workstation. We're talking netbook level of sophistication. Same goes with the phone. I have a Dual SIM device that I use when traveling, and it has no email creds or anything on it. Both devices could get cooked and I will just be out a shitty computer and phone. (I also have "China only" devices, but that's a special case.) They contain basic applications I need to use when traveling and that's all.

If I really need one of my work machines and I can't get data from it in country, I will just EMS it to my hotel before I get on the plane.

Border crossings are hostile territory. Take as little as you need for your trip, and don't take any electronic device you will feel bad forfeiting to border patrol or being compromised when it gets taken "in the back room". Assume anything you have on you will be stolen from you or used against you to get a bribe. Doesn't matter if it's North America or South America, Southeast Asia or the Middle East.
Maybe your FB identity is public even if your detailed profile isn't
Agreed, I don't see why this is front page material.
I'm a little surprised it didn't seem that they considered a GC-less language like Rust. If your latency requirements are that strict & you're already considering a total rewrite, I would personally have been looking into a solution that would avoid GC entirely.
That is true. As a heuristic, I think the hype cycle is useful just to stand for the idea that "important work gets done often times when the market has given up". It is not useful to say "[insert your asset here] has recovered from a slump, so it is all good now".
This is interesting, has a lot of similarities (not surprisingly) with how the state machine we build workflows on our bot platform, although of course ours is specifically fixed around chat/messages as a key interaction point.

Major differences that I can see are we enable multiple functions to be sent per state, and that the output data from any state is referenceable by any other state, not just passing it down in turn through the states.

We support fallback states but in a different way, and don't support the retry concept directly within the state language itself, has to be built as a set of states to perform a loop to attempt a retry.

We don't support parallel stages, but do support branches, and remerging of those branches.

Probably the final difference I can see, is one of our options when running a function allows you to actually append additional states to the machine during the runtime process.
One of my teachers used to express this succinctly the following way -

Imagine a patient going to a doctor and asking a course of antibiotics. Any doctor would erase that request and start asking the patient to describe their problem. This, he said, is the core of how a user feedback conversation should go.
Nice, I like it's simplicity. I'm also working on a visual programming environment, but for building chatbots. Check it out, I bet you can get some ideas for yours.

I just released the beta: https://talkbot.io

How do you avoid wires overlapping other wires on more complex "flows"?
So what do you actually want them to do?

They wouldn't just start throwing money at every project that has reached 1000 stars on github.

Open source projects are always about social credits or doing something for the fun of doing it. In rare cases when they aren't it's always responsibility of the author to find funding or come up with a business model.
The Devil and Father Amorth: Witnessing “the Vatican Exorcist” at Work
Unfortunately kwm cannot do real focus-follows-mouse, it can only raise windows to the top. That works okay if you're using tiling mode exclusively, but with floating windows it's unusable.

https://github.com/koekeishiya/kwm/issues/476
I've watched Uncle Bob's talk today and one of the key messages were that software hasn't advanced much since the 50s:

https://www.youtube.com/watch?v=ecIWPzGEbFc

Visual programming may or may not be the next big step, but I have to applaud anyone who attempts it in an OS manner. Unreal Studio for example executed it really good and the code it generates operates in god knows how many games.
I don't think realiasing exported signatures is a good idea, in any language. However, doing what you do in your package as a private function is perfectly fine, that is for your own convenience.

Regardless, I don't think the argument that the Go maintainers are making is that this is about number of characters saved. The point of an alias in the first place is to make it more feasible to carry out breaking API changes (which are an important part of any maturing API).

So if aliases are introduced for the purposes of making API transitions possible over multiple commits, then I think they should be clearly designed as such. Which means that it shouldn't tempt people to do what you just described in your comment. Maybe that wouldn't be a bad thing, but if that becomes the ultimate use for the aliases, that use case should play a bigger role in the design of aliases.

Because right now, as far as I can tell, they're being designed mainly for API transitions.
British Murder Boys Surgeon Regis Techno Aquasella 2007 Festival
Very much this. Sometimes the differences are very subtle which makes them more annoying IMO (can you omit the target directory when using `find` if you want to use `pwd`?). For extra points, since you probably aren't deploying on a non-Linux *nix, the PITA will continue in perpetuity.
Why *.jpg? Do they just assume everyone is smuggling porn on laptop hard drives or something? You'd think if you were looking for evidence of terrorism or immigration issues you'd be more interested in emails and documents.

These searches, if true, have nothing to do with border security and more to do with fishing for anything and everything they can charge you with once they aren't encumbered with warrants and courts and due process.
>that's no different from choosing to play a game

There's a dramatic difference - when playing a game you're reacting to the game. When meditating your entire goal is to not react.

The similarities are only in that in both cases you cease to react to your own internal state - the most harmful of all reactions because it forms self-reinforcing feedback loops.
Hi! I'm the author. Also a big fan of Cryptopals; I was one of the reviewers for Set 8, and working with some of the authors. It's interesting to hear that point of view; because I thought C101 took the same approach as Cryptopals in the sense that it focused on teaching crypto by breaking it. When I say "learn by doing", I'm referring to stuff like walking through a bit-flipping attack just like cryptopals does. I recommend (and have organized/will be organizing) study groups where we work through cryptopals using Crypto 101; and I think that's a great idea. I was originally going to add exercises for C101, but honestly, Cryptopals was already that, and there wasn't much point in reinventing the wheel. I guess I should probably link to them?
This is true. And the bigger a company is the more there is to trawl through.

Still, you get stuff like this 14 page thread dating back two years asking Dropbox to stop forcing new folders to automatically sync[1], or this 10 page thread spanning 3½ years where adding an external email to hotmail/outlook.com was broken[2]. Never any official response, just moderators posting form responses like robots. Those are where I feel things have gotten a bit ridiculous, when the company stops ever interacting with the customers at all.

[1] https://www.dropboxforum.com/t5/Dropbox/Stop-auto-inheriting...

[2] https://answers.microsoft.com/en-us/outlook_com/forum/oemail...
This looks like some script kiddy stuff. The stingrays, etc are already working fine. The whole protest is a farce, and this reporting is terrible.
Yes you must :-)

It would be fun to implement Zork with this system.
Mklink is also the recommended (safest and easiest) way to deploy JVM patch-releases in a lot of settings.
Top local donor Paul Graham: little-known name with firm ideas
Can someone help me understand how a network that can only do 3.2[1] transactions-per-second stand up as anything other than a speculative commodity? How can BTC possibly survive at such slow (and increasingly expensive) transaction speeds?

1. http://hashingit.com/analysis/33-7-transactions-per-second
I have some tens of thousands of dollars in bitcoin, and I keep track of all the Bitcoin/Blockchain news because I do think the technology has potential.

However my impression after following all these "bitcoin influencer" people on Twitter is: all they talk about is how Bitcoin will take over the world, again and again, and again, and again.

They don't even try to come up with a new spin. It's always the same message, they basically write blog posts and articles about how Bitcoin is a game changer, yada yada.

I expected to gain some insights following these people, as in they would actually come up with some fresh ideas, etc. But no, all they do is just the rehash of the same stuff.

It reached the point where I feel like I'm going through the movie "groundhog day", so I unfollowed all these people and only follow a couple of bitcoin related blogs.

Seriously, the circle jerking in the bitcoin community is too excessive.
Perhaps, but he repeatedly claimed that the minor and patch numbers conveyed no meaning, while dismissing the semver spec as a manifesto.

But if he read and understood it, he'd know those were important numbers. Maybe moreso than the major version.

Perhaps he should have argued his actual stance more, instead of the strawman stance. That put me off.
Depends what your visualization requirements are, probably most of what Django project is looking for can be done in a few hours with matplotlib.
Tooling. IDEs and special languages to generate the files for the state transitions, and the body of the lambdas themselves. (reading this kind of made me want to go write a little haskell dsl)

If they're a little undisciplined, they'll probably add stuff to implement counting and comparison directly, to put a hard limit on loops.

I'd also guess an addition of a couple special tasks, perhaps append to log in s3 bucket and continue, that perhaps come with a discount.

There are about 3 million old flowchart tools out there, any feature you see tacked on is a candidate.

Tangentially, other organizations will be inspired by this, and implement their own language in json, but this time they'll do it "the right way" then you'll get a working group to try to reconcile all the competing standards.

Or maybe not. kind of what happened with XML though.

edit

ah, here you go. https://www.w3.org/TR/scxml/
that stuff.
Outside of the US, is this really a thing?
I live in Hong Kong and wouldn't even know where to get that dish here.

If it's as good as it's made to be, it's a shame it's not more widely available.
But people don't have to clump only in megacities. They can clump in midsized cities throughout the Midwest and elsewhere.

There is no reason there can't be more Portlands or Minneapolises in the Midwest, for example. You take all those 2,500 to 40,000 communities and build around one or the other and soak up the surrounding communities to make bigger and richer communities.
What you want is nearly possible: Intel's current generation of Compute Sticks (CS325 and CS525) are the size of a USB stick but have 2 cores, 4GB of RAM, and 64 GB of disk space. Granted, you can't use it on the go but it is ultra portable.
Not a network code issue but my favorite anecdote for this type of thing. There was a Xen hypervisor bug for YEARS that would cause the clock to jump 20(?) minutes occasionally. The root cause was found in inline assembly due to a compiler oddity. It was found during some bug day/week thing by somebody with the assembly knowledge who just happened to look at that code and see an issue. He had no idea of the significance of what he found :D
Symlink vulnerabilities are pretty well understood. Though, people still make mistakes now and then.

Simple answer about one of the most common/dangerous: A symlink could be made to point to a system file. If a program running with elevated privileges could then be convinced to manipulate the contents of the file pointed to by the symlink, whoever could use that program on the symlink could cause it to modify the system file.

There have been real world vulnerabilities like this (I've shipped a few), but they're not super common and they're often limited in their capability to cause damage...they require an elevated privilege app, that is poorly written, that has untrusted users that can poke at it. It probably requires some kind of shell access, or some sort of local account (email account, maybe), in addition to the poorly written program that has elevated privileges.

https://www.exploit-db.com/papers/13199/
I'm Canadian but I've never had any problems coming back into Canada. Sure I go through smaller crossings into the Maritimes that could be part of it.

My theory is I think it's almost a relief when border police deal with a fellow Canadian. If it's someone from the US I bet 99% of their worry is they have a gun.

But US customs seem to have a chip on their shoulder as if they want to torment you.
The relation of consumption is transitive. End-users consume our products. We consume libraries and frameworks we use to build this tools. Just like in the analogy buyers would be annoyed by the plethora of choices, many developers are getting annoyed at constantly changing "best library" ecosystem.

> It's supposed to be hard, these are precisely the hard problems we are getting paid lots of money to solve.

And quite a lot of those problems - including this situation - are instances of the so-called accidental complexity. I.e. difficulties we inflict on ourselves, not parts of the problem that's being solved.

Anyway, the problem seems to be more profound in software than elsewhere, and I think it's because of the medium - code is very malleable; it's easier to rewrite a program than to redesign a car that's already being manufactured. So it makes it tempting to consider changing frameworks, instead of picking one that's good enough and sticking with it.
thanks for correcting the grammar.
Something similar was done in the Olympic Village in Munich: the ground level is reserved to pedestrians, with cars undergound. http://www.heinlewischerpartner.de/Olympic-Village-Munich.73...
Wouldn't changing the MAJOR version be equivalent to changing the namespace without altering the human memorable identifier of the package?

Understanding that changes in MINOR.PATCH are backwards compatible, is the difference between NAME MAJOR.MINOR.PATCH and NEW_NAME MINOR.PATCH significant? They look to me as just two different conventions.
This is why I get angry at people who say things like "mind your own business" or "that's not your job." It is, and it is. Anyone who doesn't like that can take their own advice.
A quick citation for the cutting-edge methodology used in the article: https://www.youtube.com/watch?v=sIlNIVXpIns
I had a co-worker who managed to push my buttons in just the right combination such that one day I lost it and let him know exactly how much I didn't appreciate him. It was a tunnel vision moment and I am glad I didn't let it go further, but I went outside and cried like a baby for letting myself get to that point before apologizing to him. He continued to behave how he did and it got to me once more, but I did my best to limit my interactions with him and to go through my manager when possible. Since my manager was in the room during the fateful outburst, he was quite happy to intermediate. It had no negative career impact, but I was shaken by it and I think in any other situation, I would have been reprimanded formally or something.

I can't say there is a lesson in there except, don't let yourself get to the point where you are unable to maintain your professionalism.
"This graph looks like this other made-up graph." Congratulations.
As per Federal government reports California has second worst quality of roads after DC. [1]

Neither LA nor SF Bay area has any good roads. I think your are judging them by lower standards compared to population density, commute distance etc. It is barely sufficient.

Just look at this [2] data. California's rate of building new roads is significantly lower, expenditure stagnant and quality is bad. This despite the higher gas taxes. The money clearly is going somewhere else.

1. https://www.washingtonpost.com/news/wonk/wp/2015/06/25/why-d...

2. http://www.accessmagazine.org/articles/fall-1993/why-califor...
You can whip up a makefile in seconds to do simple stuff, too. That's not the problem I'm talking about; it's not that make is hard, it's that it is incomplete (and kinda hard, for advanced stuff).
I believe this attack featured early on in the Nexus trilogy of books by Ramez Naam.

I remember being impressed at the time. An excellent read covering many topics often featured on HN.

Edit: typo
"Getting an attitude and trying to appeal to your legal rights will just embolden some of these powertripping authority figures."

The thing is, you may not have such 'rights', at least not in a legal sense. I suggest the duderinos at the border are well aware of what they can, and cannot do.

If you have a beef, it's with Homeland Security or Congress, not the border guy.

And if you're entering a foreign country ... well, your legal rights are pretty thin. So there's that.
For any topic, no matter how trivial, there is always an infinite amount of people who have never heard of it.

For instance, the ones who breathe tends to take it for granted, yet there are more than 350 000 people who just discovered breathing for the first time today.
That's because it's a pump and dump scheme. They're just trying to rustle up some new bag holders.
Same here, however I think it is better for us to talk about what we do know more, so that it increases the discussion and thus awareness and knowledge sharing (as well as getting corrected when wrong).

So we went out on a limb and made these 1 minute layman video explainers on cryptography: http://gun.js.org/explainers/data/security.html , I hope they are useful. Anything incorrect?
No it's not. It looks like constructive helpful feedback to me. I, for one, appreciate people's grammar being better on HN. Granted, a private message would have been better, but HN doesn't support that.
> suppress and crush rebellions

The general crushes radical Muslims, or in modern term, terrorists.

https://en.wikipedia.org/wiki/Dungan_Revolt_(1862%E2%80%9377...
I'd love to read more about that. Got a link or anything more to google on?