skysight-inc/HackerNews huggingface dataset:
i'm not the author but i frequently code in python and am unable to understand what you're saying from that snipped of code.

1. you can overwrite everything in python

2. seed has been set to a string

3. obj uses the value of previously set 'seed' variable, which should be a string at that point.

its not a good idea, like overwriting the id variable, but it should work...

and just in case somebody wonders: its still possible to use the "true" seed() by calling it over __builtins__.seed()

i did similar stuff previously without realizing and only found out about this after i switched to a real IDE that warned me about overwriting inbuilt functions
How does this avoid the problem of a 3rd party getting your jwt token? Then they can do any request as you.
That wasn't my intention. I've edited the original comment.
I don't see how else this could work. If we require re-auth e.g. every 10 minutes, then make 10 minutes the token lifetime. If there is one source of "authentication truth" that must be consulted every time, then we don't want tokens anyway, because we have to wait on the truth for every single request.
What great sadness and folly. Oh may the future be free of such mindless pursuit of conquest.
That's probably a fascinating study in general, but if you bring it up in the context of one specific agreeable, conscientious person, it's a personal attack, and those are not allowed here.

We detached this subthread from https://news.ycombinator.com/item?id=11927709 and marked it off-topic.
How Else is a very good question - and I fear that dropping in a "wave" of anyone is just going to end up wits one wet beach - GDS is having inspirational effect but as a private contractor who is making every effort to break into (for want of better term "let me get paid for developing open source solutions to the 2000 government needs - see http://www.oss4gov.org) it is clear that they are not breaking down every barrier - there is a lot to do.

I am not saying I know of a better way - but rock stars don't change organisations. Meaningful change is really hard and conways law is a two way sword. If you can't change the organisation good luck having the software change it for you.

Here is a longer thought :

Let's look at UK schools and the department for education.
The essential jobs of the department are 1) school standards and inspection (ofsted) and 2) paying the schools and so forth.

Fundamentally we don't need a whole department to funnel money from treasury to headmasters.

There are many pieces of software that Matt Cutts could work on there, a whole career. But we could remove the need for that department and hence that OSS software by political action.

This is the point I think I am making. Software literacy is soooo vital to making sure that organisations make the right choices in their software, and software is now and will be soooo deep in all organisations (they effectively become programmable corporations) that we need software "rock stars" at the highest levels of government making the highest levels of architectural decisions

But when we talk about architectural decisions at government we basically are talking ministerial level policy making.

And that implies that companies are going to need to have their it architecture decided by their internal political structures - which will have to become more democratic

So - yeah still not making a good point. But when we want people to come in and transform digital in government, they will quickly ask political questions. And they need political answers. Even though the leverage and driving power lies in what software can offer.
Ah yes, Ambassadors! Portrait mode "dumb" terminals, but highly valued for coding given their 48 lines of text. (Twice the normal in the VT-100 days.)

Had a lot of those first at the Columbia computer center back in the DEC-20 days, later at the Fairchild AI Lab startup (DEC-20's and LISPMs), and even later at Imagen (a Stanford TeX project spinoff building the first commercial laser printers before Apple and Xerox released theirs).
Your bad attitude doesn't change the truth.

http://www.un.org/apps/news/story.asp?newsID=20772#.V2WuH8tl...
Actually it shows how unequal the US states are in terms of economic power, the average US state is on number 31, California on number 5.

Which begs the question, which is the worst doing state in the Union?

(Answer: it is Vermont)
Obligatory link to the highly approachable and all around amazing http://nand2tetris.org, which will get you to the level of FPGA knowledge necessary to tackle projects like this.
Are all of them standard ones? If so, you're 100% right.

Also, I just saw https://news.ycombinator.com/item?id=11930327, which states: "All the Alto schematics are available at Al Kossow's Bitsavers [1]. If you want to understand how it works, start with the hardware manual [2]"

That must make this one of the easiest pieces of hardware to keep running, at least for the digital parts (monitor and hard disk are more of a problem, I understand)
I think he might have meant Chris Foss:

http://www.chrisfossart.com

I grew up imagining these spaceships becoming reality, and now .. they sort of are .. at least, I can bend and play with spaceships just like them now, albeit .. in Blender .. ;)
There are more ads on that site than information...
I would claim that the microservice architecture of AWS Lambda & API Gateway (which is generally associated with Serverless applications) is not what causes vendor lock-in. It's pretty straightforward to implement the same environment to run your apps anywhere.

Real vendor-lock-in is caused by use of proprietary backend services like DynamoDB, Redshift, Kinesis, etc. which cannot be used anywhere else than AWS.
This is a pretty standard 3D modelling strategy, unsurprisingly, called "box modelling". You can create an incredible amount of things with box modelling. Including, obviously, a lot of spaceships. I built several crud spaceship designs with box modelling back in school. The main key advantage, is all of your 'parts' are built off of a single object in the editor, and aligned perfectly.

The other thing though, you can do to a box modelled project, is round all the edges to varying degrees, and end up with something looking much more fluid and amorphous. However, I suspect the results would be far more unpredictable if he through something like that into this script, so it'd be difficult to go there procedurally.
It's code for California is doing well, there was a time under Gray Davis when
it was falling down the rankings.
We had some Altos (and a laser printer) at the Bureau of Standards, when I interned there in the late 1970s and early 80s. They had a number of games; one of them was written in SmallTalk, which you could break into, and then muck around in. Some screenshots from BYTE and a few papers gave us syntax hints, and we were off.

At one point we had some questions about SmallTalk-76 and called up Xerox PARC. Managed to get hold of Adele Goldberg, who answered our questions but was not terribly amused. I think Alan Kay would have been friendlier to us kids :-)
RE: access to specialty condoms

http://LuckyBloke.com

You can select from (and purchase) a single condom or actually any number you want of great condoms from around the world. Lucky Bloke also sells condom samplers so you can try an assortment and find a favorite.
Oh wow - I can procedurally generate 3D models ?!!! Blender tutorial needed :-)
FACE RECOGNITION TECHNOLOGY FBI Should Better Ensure Privacy and Accuracy [pdf]
agreed!!
This is a flamewar comment, which makes it bad for HN regardless of anyone's politics. But you particularly have no right to do this in the context of a personal blog post by someone whose intention to improve society could hardly be clearer.

Large institutions are complex, neither completely good nor completely evil. I don't think that's too much to ask users of an internet forum intended for intellectually substantive discourse to understand.

We detached this subthread from https://news.ycombinator.com/item?id=11927587 and marked it off-topic.
Seems to me to be an excellent reduction of the actual work required to build a decent spaceship. :)
use a ttl on like a cache store, such as redis
Hive/Tez + ORC on HDFS and on S3. I do not think it is very impressive just by the numbers mentioned so far. The performance of data access like how long an average query runs is much more interesting. You can easily store 100T lines but it is much harder to make it queryable. There is a lots of interesting work being done in that area, many in-memory engines are out there to provide access of a subset of the entire dataset at much faster speed.
Thanks to all the posters here for their answers and recommendations!
> None of those (aside healthcare) are the rights of someone given asylum, while you are waiting for support you 'may' be given housing and financial support. There is no "free lifetime income"

You clearly have no idea what you are talking about. In Austria, where I live, as well as in Germany, asylum gets you access to the country's welfare system, which equates at least €827 monthly for single people (https://de.wikipedia.org/wiki/Bedarfsorientierte_Mindestsich...) and includes healthcare and additional benefits like I wrote. Once granted asylum, people are allowed to work, but due to extremely poor education and language barriers, most cannot or will not find jobs and end up in the welfare system forever. Typically, they are granted citizenship after 6 years (https://www.help.gv.at/Portal.Node/hlpd/public/content/26/Se...).

My main issue with this is not the fact that these are given to people with asylum (even though they get preferential treatment compared to EU citizens from other countries, who need to work for 12 months before having access to the welfare system), but that asylum was granted to far too many people who didn't deserve it. War refugees are "displaced people" and would normally receive temporary asylum-like status and return to their countries after the war. Civil war is not a reason for being granted asylum according to the Geneva Convention. Besides that, 2/3 of the refugees coming to Austria are not from war zones.
Check out No Man's Sky: https://www.youtube.com/watch?v=D-uMFHoF8VA&feature=youtu.be...

An entire galaxy of planets, fauna and creatures (including shape, coloring and even voices) is procedurally generated!
I had a Tibetan drinking buddy once also, not too long - someone who until shortly before was at the (lower rungs) of the 'theocracy' you're talking about - and have heard stories that are probably similar to what you've heard.

However, none of this seems to bring any "perspective" to what seems to be in store for the community and Larung Gar. It's really, really hard not to see this program as anything other than blatant cultural genocide - and a huge step backward for both China, and human civilization generally.
In my quest for answers I've found this answer from a UC Berkeley physics professor that I liked

https://www.quora.com/What-will-happen-if-global-warming-con...
https://www.blender.org/support/tutorials/

There goes your weekend.
It is. The example code for a DAO [0] illustrates how everything from minimum quorum for proposals to margin of votes for a majority is configurable. However like you said, so long as the contract is mutable, it's possible for a majority to subvert it.

[0]: https://www.ethereum.org/dao
As a pedantic as I am :-), editing "procrastination" into "chronic procrastination" while leaving it absolute simply gets into the technical definitions of the terms (especially "anxiety"), and how agreeable the formal psych terms are to the common populace.

In general lay terms, "anxiety" is associated with fear-type responses, not disinterest. A lack of stress indicators would tend to indicate a lack of anxiety. A begrudging compliance when breaking through procrastination is not overcoming anxiety, but overcoming disinterest. A post-response to getting something done being "Fine, it's done, did I really have to do that?" is not indicative of overcoming fear or anxiety, because fear and anxiety are about future unknowns and would be relieved ex post facto, while procrastination still is disgruntled at having had to do it. I would present all of these as informal disagreements to blanketly equating even chronic procrastination with anxiety, as the latter tends to be understood.

Of course, that's in full acknowledgement that behavioral medicine tends to use ridiculously broad terms that tend to lead to overdiagnosis and overmedication issues we're currently dealing with (especially in schools), and they might use "anxiety" far more broadly than I am above.
How are solid and liquid wastes dealt with in this town? What does it smell like to walk around the area?

Edit: found an answer further down the thread:

> The hygienic conditions are very poor - people doing their business squatting on the streets, no toilets, rubbish everywhere. I am surprised that was not an argument being made by the government for the demolition.
Correct. Also, let's not forget the Ukraine crisis, which brought ~900.000 refugees to neighboring countries (Poland and Russia mostly).
> Tar cannot change the file format of .tar.gz. Otherwise, gzip -d won't work

I wasn't suggesting that tar changes the file format, but tar, if it was doing the compression through an API call utilizing the zlib library and not piping it through the gzip program would allow tar some extra control over how it chose to compress the archive. The point is moot, it's not calling an API, at least not in GNU tar.

> In the risk of dragging this too far, tar is just a command line front end to gzip. It just forks gzip in a child process to pipe data to it. No zlib is involved.

Yes, I've confirmed this for myself as well now, but that's not the only way it could have been done, which is why I was saying I wanted to take a look.

I often call zlib functions for in memory compression, It's not uncommon, so I thought it was worth looking into.

> The archive.tar.gz means tar the files into archive.tar, then gzip it into archive.tar.gz. You can run gzip -d to get back archive.tar. Tar -czf is just a shortcut command.

I'm well aware, but that doesn't mean there isn't some leeway in how a deflate stream is created. There are many eventual compressed outputs that can result from the same uncompressed input. For example, if you limited your deflate stream blocks to 65k (or whatever size), you would sacrifice a small amount of compression efficiency for the ability to (mostly) reliably discover the entire last block, and using that you could do what we've been talking about. Unfortunately, since it's not enforced by the protocol, you can't rely on it.
Still, it seems thin for HN. Even given that many people here live in California and HN is headquartered in California, it doesn't seem like something interesting, discussion worthy and meriting hitting the front page.

I mean, I like this little tidbit about California and have for years. But this isn't particularly substantive.
Populations: France 66M
California 38M
Of course we were told how those rebellions were subdued in the end, because the evidence was in plain sight. There was a ruin on the mountain across the river where we lived. I was told that it used to be a monastery. Some rebellious monks held up there for a long time and the army wasn't able to take it after suffered heavy losses, so they used heavy artillery to bombard it to the ground. When we played in the hills, it's not uncommon to pick up spent shells, etc.

As to cultural revolution, there's nothing special in Tibet. Fired up populace did all the damages. At that time, Tibetan common people were equally zealous about Chairman Mao, if not more so.
Personal attacks are not welcome here, regardless of how strongly you disagree with someone. When you see a bad subthread, please don't make it even worse. Instead, post something to turn it in a more substantive, less inflamed direction, or simply don't post at all.
"To make money, Mr. Howse relied on advertising. Players can spend $3.99 to remove ads that appear when a player loses. He doesn’t sell virtual currency or power-ups, surprising given how vital in-app purchases are to mobile gaming. Most users put up with the ads, he said."

As a person who is working on a game project on the side (that I have been neglecting recently due to time pressures), I find this double revenue model very interesting. So the game is free to play, but with ads upon death, of which he gets less than a penny.

"Those ads drop less than a penny in Mr. Howse’s pocket each time a player sees one. But with an average of 460 million fails a day"

So he is making mad revenue just off the ads, and then the percentage of players who pay add up too... all while providing an entertaining game that people like.

While I have always hated ads in game, I have a feeling this is going to be the main model for the next few years given the dominance of advertising. It saddens me that novel content creators don't get as rewarded for pure exchange of product (here is game, here is money), but I can't really say I blame them for starting to adopt this model, and to be frank it is making me reconsider my traditional approach of pay once.
On multiple occasions for various project over the years, I've received several thousand views to my sites from a Show HN or a Reddit post. In comparison, doing a talk is "only" 25 or so views. If all you care about is views, clearly posting online is better.

But I care about people actually using my software. And giving a talk usually ends with 3 or 4 people actually trying my project. Or if I'm running a class, it's 30 or 40. In the last two years, I'm pretty sure there is one person from all the Show HNs and Reddit posts that is using my project. From even the few number of local talks I've given, I have a small cohort of people not only using my software, but giving me feedback on it as well. We see each other once a month, at least. It's one of the greatest feelings ever to talk to a person, face to face, who is excited about your project and hasn't run away even after using it.

Also, I can't guarantee that a post I make will get to HN's front page where it will get so many views. But at this point in time, I get asked to do a talk about once a month. If I really put the effort in, I could probably be doing talks once a week.

And all those thousands of HN viewers never once offered to sponsor the continued development of my project. But my progress on giving in-person talks got me in front of just the right people and now I can work on my project full-time.

In a similar situation, my wife has a couple of sci-fi novels that she self-publishes online. The vast, vast majority of her sales have been in-person at book fairs. People at book fairs are ready to buy. They are there because they want to spend money. It's an easy sale. Online, you have to intrude on people and fight against the million other people self-publishing.

Yes, you cast a much wider net online. But it's a net with big holes and for much, much smaller fish. Follow the numbers, the important ones, not "views" or "stars" or other such things that aren't "cold, hard, cash". The cash says in-person marketing is significantly easier to execute than online.
We detached this comment from https://news.ycombinator.com/item?id=11927709 and marked it off-topic.
Yeah, I had a nice chuckle when he made that comment and didn't realize that is exactly how firefighters contain fires such as forest fires.
> Why should an entire nation of people be satisfied with 'minority' status?

Because they are not an independent nation, and actually are a minority in the bigger nation they are part of ?
It's not so much the ability to erect buildings to increase density. It's being able to support that increased density with infrastructure such as public transportation.
I'm not saying that things such as pagerank, dynamo, bigtable, mapreduce and tensorflow aren't innovative but most things are just remodels of old concepts ("AirBNB"for machine tools).
Which lets be serious anyone with a good open source webstack can reproduce.
The current web state reminds me of the smartphone/camera manufacturers desperation to push more sales.

Buy, buy, buy, Oh please buy our 16MP cameras even though the human eye can only process around 8 MP.

Tech companies are desperate to win more users/profit channels.
As a libertarian I really dislike any restrictions placed on the use of property I paid for and worse pay taxes on. As long as it does not threaten the health or safety of others/environment the state should not be telling me how I can use my property. If its a residence then I should be able to decide who who can reside there and how long pursuant to that I do not cause them harm or harm others by hosting them.

There is an apartment shortage specifically because regulation so restricts what you can build, where you can build, and worse at times what you can sell for; setting aside "affordable" units and such
I am not sure if this article was a joke or somebody seriously think that functional programming should be learnt by Ruby, JS and Scala. I have learnt much more by using Erlang, Clojure and some parts of OCaml. Learning for just learning programming in general and getting into the most popular languages is a different subject though. If I was to learn FP I would start with Elixir and probably with Racket just to learn a LISP dialect. It is much fun.
This is a flamewar comment that is bad for HN, that indeed set off a wretched flamewar like clockwork (bomb-timer clockwork). Threads like this are not welcome here, so please don't post such stuff again.

There's also a question of intellectual maturity. Consider that Noam Chomsky has spoken many times about good things that were done with DoD funding, as well as about how no one can rightly condemn others for not being in a pristine moral position because no such position exists (pointing to his own career at MIT as an example). If the deepest and most trenchant critic of American militarism understands this, I think internet commenters who fancy themselves critics of American militarism can be expected to understand it too, at least in this corner of the internet. If you want to condemn others or blare with ideological megaphones, please do so elsewhere.

We detached this subthread from https://news.ycombinator.com/item?id=11928952 and marked it off-topic.
True, those are great illustrations.

Can anyone point me in the direction to get started with creating these kind of illustrations ?
Yes, we're between a rock and a hard place.

When experience says the Dublin Agreement starts to break own under high stress, who should suffer the most? The refugees? The border countries?

I certainly have no answers, but I can empathize better with the refugees more than I can those who insist that refugees are stuck in the first place they arrive.
This is a practical implementation of something I described on stackoverflow in 2013. http://stackoverflow.com/questions/319530/restful-authentica...

The discussion there is rather interesting. The problem of invalidating logins is discussed. I have not found any satisfactory solution to this problem. You can set a timeout on tokens but then the user would have to log back in periodically. If the software can renew the token automatically then there is nothing to stop an attacker with a stolen token from doing the same, indefinitely. Still, in many situations these problems are no worse than compromised session based logins.
Thanks for building this. I made a similar (but much simpler) list a few years ago when I was searching for an ergonomic keyboard. Your site would have saved me some time. I'm missing the ErgoDox in your list BTW.
I have a Symbolics XL-1200 that I've been wondering what to do with. Would YC like it? It worked the last time I turned it on, but that was 4 or 5 years ago, probably.

It's like triple-pizza-box size, not a refrigerator nor even the size of the Alto.