skysight-inc/HackerNews huggingface dataset:
Open source hardly guarantees anything. Governments armed with everything under the sun can make the lives of privacy advocates a living hell. When I was younger (no kids) I could think of standing up against it if need be. Things have changed, almost irrationally, with a family. Irrational because I would hate for my baby to grow up into an Orwellian dystopia but the fear of immediate consequences to the family keeps me from action.
The point I am trying to make, is that government will not need to crack down on every one. Just a few brave snowdenlikes, the rest will either believe the government narrative or be afraid to rise up against it. So yes, open source is great, but we absolutely need corporations to stand up to government. Because let's face it.. In our society cash is king and a corporation like Apple has the cash,visibility and might to wield a sword for privacy even if they are possibly motivated by something other than concern for individual's privacy.
var m = Object.create(null);

Problem solved.
I got my parents a NetAtmo device it has an outside thermometer but also one for inside that also has a CO2 detector. It's amazing how often just my two parents plus one cat in a 5mx5m living room will cause it to reach near 1000ppm.

At Christmas time with about eight people it easily hit 1000ppm very quickly. Nobody else knew but I was watching the readings and it was interesting to see how that point it seems stuffy so a window was opened for some fresh air.

This is a 1970s single floor bungalow with forced air heating but no air exchange.
Yes. There's no silver bullet for protecting and preserving rights.

Better technology (e.g. secure software, encryption) are part of the solution but this does not preclude the requirement of citizens and their associations (e.g. corporations) to maintain or restore accountability in government by whichever means are available.
It's not, the creators (the website) directly gave it to me. I'm not borrowing it from someone that paid. My browser sent them a GET and they replied with 200 OK and some content. Whether I paid or not is irrelevant; they voluntarily gave it to me.
Jitted LLVM IR on the JVM [pdf]
I think the point was more that 40 cores was a ceiling for computational hardware, and it's very possible the actual hardware was 20 cores with hyper threading, which would result in much lower perf than a true 40 core system.
How can I change it now to remove "Show HN"?
Plug for my (open source) project, mod_pagespeed: it can automate all of these.

> not using image sprites

sprite_images filter: https://developers.google.com/speed/pagespeed/module/filter-...

> not using a cookieless domain for images and other static content

MapRewriteDomain directive: https://developers.google.com/speed/pagespeed/module/domains...

> not using a CDN

Once you have a (pull) CDN set up, mod_pagespeed can rewrite your resources onto it with the same MapRewriteDomain directive.

> blocking javascript - worse if it’s in the head

defer_javascript filter: https://developers.google.com/speed/pagespeed/module/filter-...

> not minifying your javascript and CSS

rewrite_javascript: https://developers.google.com/speed/pagespeed/module/filter-...

rewrite_css: https://developers.google.com/speed/pagespeed/module/filter-...

> not optimizing caching policies

mod_pagespeed automatically longcaches everything: https://developers.google.com/speed/pagespeed/module/filter-...

> not gzipping your content - most if not all popular web servers support some type of compression

mod_pagespeed automatically enables gzip compression

About half of these are enabled by default (minifying css and js, optimizing caching, turning on gzip) and the rest need to be configured.

(If I were making the list I would also have included resource combining for css and js, which mod_pagespeed does by default.)
Serious question. How do you eat? How do you pay for electricity?
5 Startup Investments That Would Have Made You a Billionaire
> Setting up openvpn or similar is nontrivial

Setting up cjdns is less work than setting up SSH.
Not if you love your work and you are lucky enough to work for a good company that you really want to contribute to.

I think its a bit rude for you to suggest someone who brings some work home has no life.
Many developers are passionate about their job, they love learning and most importantly they love a good challenge. You don't stop thinking about a challenge at work as soon as the clock hits 5.
"Perhaps I could best describe my experience of doing mathematics in terms of entering a dark mansion. One goes into the first room, and it's dark, completely dark. One stumbles around bumping into the furniture, and gradually, you learn where each piece of furniture is, and finally, after six months or so, you find the light switch. You turn it on, and suddenly, it's all illuminated. You can see exactly where you were."

- Andrew Wiles (https://vimeo.com/18216532)

If you're having problems with specific concepts, I recommend focusing on those through practice, and getting help as appropriate through the RoR mailing list, Stack Overflow, IRC, a local Ruby User and/or Meetup.com group, etc.

Almost any topic you can think of has been blogged about in RubyLand, and even ten-year-old posts (particularly about more general concepts like OOP) can be helpful and relevant.

Practice, practice: fire up irb or pry or write simple scripts and try different things. What happens if I do this, or change this to that? Call `.methods.sort` and see what behavior each object exposes.

Keep trying stuff, because that's essentially the job: messing around with computers all day.

Good luck.
Driven to succeed in the advertising business
> blocking javascript - worse if it’s in the head

> not minifying your javascript [...]

If you designed properly with progressive enhancement, the page will at least work while the javascript is still loading. For most situations it's fine if the fancier features are not immediately available as long as the page itself is readable immediately.

> third party javascript partners

Aka shady ad/tracking networks. This isn't a technical problem.
And continue that thought and think for a minute about all of the hopeless stupid stuff our generation believes in that the next generations toss.
Afrocandy Share Very s*xy bedroom photos
Have you thought that maybe you don't have to fight the cp?
I admit the argument is a bit weak, but it's possible to have "something really nasty" around the corner without making the vast majority of enemies complete grist for the mill. Brogue illustrates this concept rather well. As you get further into the game there are plenty of those "oh shit!" moments but the regular enemies you're fighting are still very challenging and interesting to deal with.

The boring part of the game is not the nasty thing that killed you, it's the thousand useless orcs you had to kill before it happened.
Am I right in taking from this that markov chains don't necessarily adjust to history?

So in the example, if a "sunny day" state has a chance of 0.9 to stay in that state and a 0.1 chance of transitioning to rainy day and I already had 5 sunny days, the 6th day would still have a 0.1 chance to be a rainy day?
If you're dealing with phone numbers, always normalize to E.164. It doesn't solve every problem, but it does a pretty good job of consolidating phone number issues to one place in your code (namely, the place where the E.164 normalization occurs).

If you're dealing with short codes or other highly regional things... Good luck...
Just to note, that Defold won't be open source:

> GamesBeat: Is this going to be open source?
Hartwig: It’s not open source, but it’s free of charge. There are no royalties or team size limitations. You get all the features on all platforms. For us, the main driver—There are two reasons. One, we believe that opening the engine up to external developers will increase our product quality. That will benefit us internally when we develop our games. Two, we want to support the game industry. We think we can bring a lot of value to the whole industry by helping indie developers create awesome games.
So it would seem. But I see a root cause for both of these: the centralized pyramid user hierarchy which is inherent in any paper based information system.

"It is part of the age-old habit of using new means for old purposes instead of discovering what are the new goals contained in the new means."
That solution doesn't cast javascript in a positive light.

Why should you need to know that much about the guts of the language just to create an associative array that works properly?
"Diablo is a role playing game wherein a player creates a single character and guides him..."

Reading this now, the use of the male pronoun here felt extremely surprising to me. And indeed Diablo 1 was ultimately released with the female rogue character class. I wonder if that was just a mistake, or whether something significant changed throughout the game's development process.

Note that in Diablo 1 (1996) and Diablo 2 (2000), the gender of each class was fixed (with more male than female options), but in Diablo 3 (2012) gender choices became available for each class.

I think this should be considered a victory for feminism, and a real sign of progress taken over these past ~20 years.
It was part of RFC 2616, also:

"The PUT method requests that the enclosed entity be stored under the supplied Request-URI. If the Request-URI refers to an already existing resource, the enclosed entity SHOULD be considered as a modified version of the one residing on the origin server. If the Request-URI does not point to an existing resource, and that URI is capable of being defined as a new resource by the requesting user agent, the origin server can create the resource with that URI.

".. The fundamental difference between the POST and PUT requests is reflected in the different meaning of the Request-URI. The URI in a POST request identifies the resource that will handle the enclosed entity. That resource might be a data-accepting process, a gateway to some other protocol, or a separate entity that accepts annotations. In contrast, the URI in a PUT request identifies the entity enclosed with the request -- the user agent knows what URI is intended and the server MUST NOT attempt to apply the request to some other resource."

RFC2616[1] Fielding, et al.

This is a key part of the spec, and you can see Dr. Fielding's intentions in REST. Specific URI 's referring to a Representation of an entity is a core architectural component of REST[2].

1. https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9....

2. https://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
Nice way to learn new things!
NetHack: The Greatest Game You Will Never Play
Really... you take issue with some exaggeration in buoyancy physics over the undead pirates?
Now whever I read about Go I wonder if it's a program that plays Go or the language!
"Expensive" used here is defined as a shared hosting provider that's available all over the internet for 1-10 USD a month, correct?

And "trapped forever" is defined as the inability to copy / paste the output source of the CMS into a static file HTML, correct?
Does that explain why the SSL cert on https://kindscript.com is for a Libyan domain? (https://yelm.tdev.ly)

Note: The https url to kindscript.com is listed on the git repo.
FTC Issues Warning Letters to App Developers Using ‘Silverpush’ Code
Change GitBucket user interface to make difference with GitHub
Software used by Studio Ghibli and Futurama will soon be Open Source
Well, in class actions, individual class-member damages are often small. Like $50 or whatever. But there are millions of class members.
A Firelit Room
Yes. Ironically, one the features that makes free software insecure is the religious belief that only proprietary software is insecure.
Good point. Same problem with old versions of Java.

I had problems with Voxeo's Java IVR web service calling back to my https server using SNI, since they were apparently using some old Java http client libraries [1], or not using the new ones correctly.

I had the darnedest time figuring out what was going wrong, and when I finally did, they weren't responsive to the suggestion they upgrade their library and fix their code to support SNI, so I had to punch an insecure hole for them to call back through.

[1] http://stackoverflow.com/questions/12361090/server-name-indi...
It doesn't seem to be very cheep to run given enough users, yet I don't see anybody trying to sell me something. So, how?
Pwn2Own 2016: Chrome, Edge, and Safari hacked, $460k awarded
The strangest thing about these law enforcement wish lists (that Obama is so in favour of) is that they don't actually work; terrorists will still be able to find or build software that doesn't have back doors and the rest of us will have our privacy and security compromised permanently.

I'll also note that you never seem to see the laws (RIPA in the UK for example) that do exist used against paedophiles and terrorists; more often they are used against peace campaigners, whistle blowers and reporters.

Has it always been that the government doesn't trust the people? It certainly looks increasingly that we should not trust our government.
Since I'm not a Go player but am a NetHack player, I got more personal appreciation out of BotHack's achievement from last year than from AlphaGo's victory. That was also something that I hadn't expected to see for years to come; you can see from the bot comparison page

https://taeb.github.io/bots.html

that no other bot had really come anywhere close to ascending before BotHack pulled it off.

It's interesting to see that the winning approach was GOFAI

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

-- that is, the author taught the bot human-level rules and concepts based on human knowledge about the game. It wasn't a deep learning or neural net system; there is specific code about what altars do, how to fight mind flayers, or whatever.

For instance, here's a hard-coded list of corpses to avoid eating.

https://github.com/krajj7/BotHack/blob/master/src/bothack/pl...
> I'll send you my stuff later today.

It's no rush :-). I'm always looking forward to this kind of stuff. Nothing keeps one's mind fresh the way someone else's well-informed opinions do.

A long time ago, I thought about doing something similar to Dijkstra's letters -- bringing a few colleagues together and beginning to circulate small notes whenever we had something interesting and cohesive enough that it might be wort putting into writing. I don't remember what stopped me, but I still think this is a great way to keep innovation alive. Perhaps it's an idea that I ought to revisit :-).

> Yeah, embedded was what I was talking about and trial&error was what I was worried about.

I'm worried about this, too, and it occasionally drives me insane to see how many people have a "well, let's just get something working and see what happens" approach. It's not just the adversity towards doing some nothing more than simple math first that worries me, it's the fact that I see a lot of people doing this with no regard to how they're going to "see what happens". No serious test methodology, no attempt to at least document assumptions first. It's a wonder we're not at the point where a computer kills someone every day yet.

Trial and error is a natural way to learn things, but it should generally be done just once, ideally by as few persons as possible. We're... not only are we not there yet, we're doing the precise opposite of it.

I've thought about writing down some of these things, but I realized a lot of the "trial and error" spirit by which I learned them still lurks in my understanding of them. And progressing past that is, I've learned, anything but trivial.

> MC14500

Ah, I remember reading about that! I don't remember in what context but I'm sure I've seen the page you mentioned before. It may have been in the context of an article describing OISCs and other minimalistic CPU architecture.

I think these concepts would be great to revisit in the context of the latest developments in microelectronics. One could have thousands of MC14500s on a single chip with today's technology; granted, they could not all talk to each other at the same time due to the limits of interconnects, and not all could be independently interfaced with the outside world, but a hierarchical architecture built out of reliable nodes (and with plenty of room for redundance) might at least be worth investigating.

Even if we go past the realm of on-chip, things have changed dramatically lately. A workstation built out of a hundred Raspberry Pi Zero-grade devices is pretty much on the conceivable side, if not necessarily on the "good idea" side. (The RPi is anything but my favourite system but it's a good example in terms of price, capabilities etc.)
Also, credit card points. Get 1-3% back, which adds up.
Last year I made a pseudo-random text generator based on Markov Chains as a summer project to learn C++: https://github.com/nmaggioni/MarkovText

It's in Italian since it just was an hobby project and I didn't spend too much time adapting it for the public domain, but it may be interesting for someone.
The book Stay a While and Listen does a good job of explaining the background behind the pitch and subsequent changes that made Diablo what it is today: http://www.amazon.com/Stay-Awhile-Listen-Blizzards-Video-Gam...
Yes, the classical Markov chain has no memory. A Markov chain with memory for the last m steps is sometimes called a "Markov chain of order m"
This happened last week to my girlfriends brothers schoo, we are in the UK. Ransomware attack that encrypted their NFS shares. They did not close however. I think they may have had to pay the ransom.
Years ago, North American area codes always had a middle digit of 0 or 1. This led to the practice of storing a phone number efficiently in 32 bits by swapping the first and second digits. It yielded a value that would fit in a 32-bit integer; for example, (912) 350-8000 became 1923508000.

This method broke in 1995.
Can someone help explain why the "hard fork by consensus" in Ethereum is any better than the "hard fork not by consensus" in Bitcoin?

At some point, a hard fork will be required for Ethereum that the community will not want because they've got vested interests that differ from Ethereum's developers.
1. i don't think that a "free pass" was necessarily implied
2. how would you put it? "i can't review windows source code because it's a trade secret. but since i can't review GNU/Linux or *BSD source code (because it's too much) either, meh."?
pip install requests[security] and you don't have to care whether the stdlib properly supports SNI.
There is one known person to have ascended unspoiled.

https://groups.google.com/forum/#!topic/rec.games.roguelike....
free software is necessary but not sufficient.
>
Reading this now, the use of the male pronoun here felt extremely surprising to me. And indeed Diablo 1 was ultimately released with the female rogue character class. I wonder if that was just a mistake, or whether something significant changed throughout the game's development process.

It's standard in English to use the male pronoun in cases where you would refer to both or either gender.
It is very hard to imagine the legislative process would change much even if Trump is the president

I don't find it hard to imagine at all; for example:

Trump to the American public in 2018: "Please elect this slate of high energy candidates and turn out of office these traitors to the American people."

With of course his preceding dealings with the Congress based upon such threats; what are they and the rest of the establishment going to do, call him Hitler again?

Do you remember how Reagan managed to get his programs passed by a House lead by a Communist sympathizer who said he was "the most ignorant man who had ever occupied the White House", "Herbert Hoover with a smile", and "a cheerleader for selfishness," and who's "policies meant that his presidency was 'one big Christmas party for the rich.'" (All quotes from Wikipedia's article on Tip O'Neil, and there's worse out there.)

The rest of your posting is on issues of importance but that don't even hit the top 5, probably top 10 of what the people who are supporting Trump care about ... especially if the government is "fundamentally transformed" in to one that isn't trying to destroy them.

As for those government employees you base some hopes on, anyone who genuinely wants to change things will abolish the current "civil 'servant'" system and return us to an updated spoils system where they're actually held accountable for their actions. Given how many Baby Boomers in it are retiring right now, it wouldn't even be all that messy.

Now, I'm not saying this is what Trump will do, but it's just the barest of what he could do if he's not accepting "business as usual" with its inevitable fatal end for the country.

And while we're talking about the branches of the Federal government, clipping the judiciary's wings with the end of the last sentence of paragraph 2 of section 2 of article III shows our Founders had a clue about its dangers.
Alot goes to supply and demand though too. And there aren't a lot of people willing to work for free full-time for long periods, except co-founders.
Has anyone in the superoptimization space given thought on how it could be used to provide useful feedback to CPU architects? I'm thinking of something like identifying an instruction sequence performing some state transformation that might appear esoteric to a human but turns out to be a common pattern in superoptimized programs.
Also tried and failed. Something legal about failing a test for appropriate aggregation.

Edit: A snippet of an article about the Halperin case...

'the court says that it can’t aggregate the harm to other putative class members to satisfy the damage threshold unless the damage arises out of a “single act.” And that poses a problem as the complaint is currently pled. The surreptitious install of the program by thousands of consumers (and putative class members) is not a “single act,” so Halperin can’t rely on this “act” when aggregating. Halperin argued that he shouldn’t be subject to the no-aggregation rule.'
Zuckerberg wanted his employees to read the latest book by the current Chinese president a few years back. The book was pure propaganda.

I wish he represented freedom and standing up for everyone's freedom of speech (and privacy), but just looking at his personal history and actions, I just don't think this is the case.
chinese here, just few "as is" info

1. strange to see low quality politics news on frontpage

2. the public shaming is backed by the company whos boss was chief of security of high rank national leader

3. its not migrant worker. LangZhong where the story happened is a 99th tier town and sichaun province as a whole is a cheap labor source. Those workers are likely local.

4. those unpaid workers literally dragged a police officer to city hall as hostage asking for unpaid wage. Please be aware its not the government who owns these worker money.

5. unpaid peasant workers can be taken advantage of in china. e.g. your construction contractor finishes a low quality job, you are unwilling to pay 100%, contractor directly asks swarm of peasant workers to protest 7x24 and threaten you in various means until you pay up.

why govn't involed in all this? obviously commies has above the law regulation that peasant workers wage has a higher priority than everyone else, it's regarded as a highly politically correct thing to do. And most impirtantly, courts worked like shit in chinar.
Rate limiting is IP based, not session based.
Elsewhere I showed [1] that you can store that number in a 32-bit integer if you first swap the leading two digits.

Don't ever do this.

[1] https://news.ycombinator.com/item?id=11323371
Hungarian names also work like this.