skysight-inc/HackerNews huggingface dataset:
It already has a killer use case: Cheap, fast transactions. Regular, boring, "dumb" transactions like in Bitcoin, but with an average of seconds instead of 10+ minutes to first confirmation, much lower fees, no congestion, and no civil war.

Given that there is little hope for a quick resolution of the block size civil war in Bitcoin, I'm not surprised that people are switching to alternatives.
Sounds like something that would require a lot of extra time and/or money to be spent by the government, just to review existing and implement new regulation.

I have a hard time seeing tax payers supporting tax increases simply to implement more bureaucracy, in the name of giving land owners more opportunities to make money.
Same for games written i Java, by using pooling and not deallocating until a safe spot. Was especially important in early Android, where a GC break would not just feel like minor lag, but actally make a really big stutter.
Something like Markdown, Restructured Text, etc. might be better. I'd suggest Emacs org-mode too but not sure if anything like that is available for Vim.
A simple, possibly correct LR parser for C11 [pdf]
My daughter has been typing a lot on a chromebook since beginning of second grade. Hand her an ipad and the only thing she knows (and isn't too interested in) is minecraft.
I do believe we need a better system for interviewing candidates.

However, I strongly disagree with your statement!

I work on distributed systems day in and day out, and more and more I find that I'm using or building distributed data structures analogous to BST, HashTable, etc.

Not knowing the foundations of my field in and out would be a mistake!
Will look into adding CSV integration.
Is it really that simple though?

These Web Components are still Objects in the sense that you may have 1000 classes or 1000 web components.

Composition doesn't magically exist. I am expecting a "Web Components Framework" soon.

If I have misunderstood, then how?

Edit - I mean that, if you talk about the declarative nature of markup, you are going to end up with 14 layers, layer 0 is going to have some piece of data which layer 11 needs or some choice here, level 6 needs. Like a real application, it isn't often trivial, multiply this 1000 times. How are you going to deal with that? JavaScript?

I see what Angular solved, and dependency injection alone, if you have to deal with that personally, it gets really difficult. I also see where Web Components naturally fit such as:

1. I had a widget quiz which was an iframe and it was brittle. Perfect <my-quiz> component.

2. I had an IFrame inside of an Application but that required data sent over the boundary and back. It was outrageous and again, those IFrames could have been ideally web components.

There are other cases like this that I understand, but "Component all the things" doesn't seem like a particularly helpful pattern.

Again, I almost certainly misunderstand but I am investing in Polymer and I don't get it :/
Algorithmic problems are not puzzles..
Depends on your needs, but ES is a superior search engine in just about every way. PG may be good enough for your needs though. In my general view, if you want a more powerful and easy-to-use alternative to LIKE then PG search is great. If you need something more like Google then you should use ES.
Take for example opening processes instead of threads. How would you make that more strict? Spin up a VM each time? Is MySQL wrong in using threads?
What's Not Actionable and Business Critical Shouldn't Ring
I've also found these to be helpful:

The Language and Grammar of Mathematics, from The Princeton Companion to Mathematics, by Timothy Gowers: http://press.princeton.edu/chapters/gowers/gowers_I_2.pdf

Reading Mathematics, by John Hamal Hubbard: http://www.math.cornell.edu/~hubbard/readingmath.pdf
Bollards around the elevators; the car-cars should connect into trains.
A C++ version of Doug Lea's excellent malloc() implementation
Yeah, I wasn't saying that american food consists solely of burgers and hot dogs, there's definitely lively food scenes in north american big cities. My impression, though, is that the food diversity in US/Canada has more to do with multiculturalism than with tradition, i.e. you get to pick between indian, thai, mexican, italian, greek, etc and a lot of the twists and novelties are fusions of two or more cultures (e.g. at one festival, I saw a food stand that made tacos... with vietnamese banh-mi ingredients)

Chinese food can also have fusion twists (e.g. there's a chinese indian restaurant a few miles away from where I live), but each regional cuisine also has rich local culturalism, and in addition, chinese cuisine can be surprisingly technical. It's downright impressive the number of different ways you can have beef noodles, for example.
https://www.haiku-os.org/

Not quite yet. Haku is a free and open source rewrite of Beos.
I'm assuming this doesn't take care of context?

For eg:

String s = "A != B";

would render the ligature inside the string?
For stock, a percentage is typically given, because it doesn't matter what dollar amount one arbitrary unit gained. What matters much more is "if I had invested $1000, how much is it now". Saying that it gained $30 is meaningless without knowing the previous value - if Bitcoin gains or loses $30, nobody cares, if Ethereum gains $30, that's over 50% gain in value.
Amazonians, has the work culture changed much since the 2015 NYT article?
Yeah they do... that read really funny to me.
assume life is a zero-sum game. no it's not!!
I once spent a while building a tool like that. The day I realized that I needed to convert it into something with a top-level loop was a sad one.
They did: Windows Phone 7 was basically a Zune with a cellular radio
Classifying Data Using Support Vector Machines(SVMs) in Python
How many instructions do RISC architectures have?
I wish there were kit-orderable computers of this fashion. I'd like to get my hands on something like this with a Z80 or maybe even a J11 so I can play Bell Labs in my spare time.
> They are if they determine what content you can get.

Throttling and prioritization aside, this is not an argument I have heard anyone make with regard to net neutrality.

> So, direct or indirect, it's equivalent in the sense that letting them have control over what you can receive makes them the content provider or censor in practice.

No it does not. They are still merely the distributor no matter how directly they censor you. You don't get to use effect to qualify the causality in your argument. This is a logical fallacy called post hoc ergo propter hoc.
> Contrasting it with "ZISC" for marketing purposes?

I don't understand what you want to say: ZISC is a rather different concept: https://en.wikipedia.org/wiki/Zero_instruction_set_computer
I don't see that as much difference.
Hmmm... storyboarding in software design, this is definitely a new idea for me. Going to try it out in my hobby projects and see where it takes me.
Sure, but let's not confuse a bad situation with a non-existent hypothetical hyper-extreme.
Can you really say with a straight face that if they can't produce what they say they are storing for a third party that their reputation is not going to go down the drain?

If any bank prevents anyone from getting their deposited money, for reasons other than legal, there would be serious questions about their trust
don't forget lainchan.jp ;)
I think this document (assuming it's not a hoax) is evidence that it doesn't get ignored.

The thing to do here is get Penn (of Penn and Teller) to check out these subjects. ;-)
I used to do page layout nearly 10 years ago for academic and medical books, using InDesign. And Quark before that (I'm that old).

I always thought that the process could be automated. So many things needed manual fiddling. Kerning, placing pictures and illustrations next to their text references, splitting up chapters, indexing etc.

How far along are we with automating book layout? Looking at the LaTeX article, it seems to be more for academic papers. And the vocabulary seems ugly for text formatting. Is there some system where I can give it a style and feed it a markdown text file (with markup for images) which will layout a whole PDF book?
"What will move me beyond this state of anesthesia? How will I counteract the lassitude that creeps over my soul?"

What a great set of reflections. I've paused on this for the past 15 minutes and will continue to ponder it the rest of this evening.
Διπλά Τσάμπιονς Λιγκ
With RHEL you are paying for support, not software.
> the Federal Reserve is a very secure place

Until Simon Gruber shows up
Most enterprises don't want to own coders to fix/hack OSS. They want a solution, roadmap and 24x7 support.
Agree. But it was a program that is far ahead of its time. Thank you Putty devs.
They are puzzles, if some spent many years coming up with solutions for them. Surely if you know the solution for the puzzle, it's easy. But if you don't - you won't be able to solve it in reasonable time. So what is the point of the interview? To know if you memorized tons of puzzles in advance?
> Set up a system for studying for interviews

This makes sense if you're still in college and learning but if you're already a professional you should not be studying. If you get asked pointless CS questions in an interview walk out. That is a terrible way of finding good employees. Employers should be asking questions relevant to the position.
Bottom line nobody outside of the software community cares, and those in the community already know what "free software" is.
hmm the .jp international clique really does spread far and wide...
It has limited release I think. I was able to watch it through a design group that I am in local to our area that hosted a screening.
From the management perspective, how else would you handle this? I.e. Allocation of resources? It's very difficult to reason about global resource allocation.

In addition how do you deal with resource mapping and best fit during allocation?

I think the multi-level allocation model works better than anything anyone else has suggested.
I obviously don't know why everybody who downvoted you did, and I don't have the inclination to argue about it - I genuinely don't care that much - but...

"Is your position that immigrants should be expedited through the immigration process?"

Could be construed as a fairly challenging stance, given the very direct nature of your request for clarification and the endpoint you extrapolated.

Face to face, asking that with a raised eyebrow or a smile wouldn't seem overly challenging, but plaintext loses any nuance and much of its context.
People don't know to look for what they don't know.

It's a bit of an issue for something offering unique or novel features, because there's the risk no one will ever find them.

I'd possibly think that most people also just go "we'll use a db" and pick from mysql and postgres (probably based on which one comes to mind first for them), but don't ever think about it any more than that.

I wonder whether an official "cool things you possibly don't know about (and when/why they're useful)" page could help? Or maybe a "designing a schema/model? here a some features that might make your life better" page could help spread the word? Postgres is lucky to have Craig as an advocate, and I love reading everything he writes, but maybe someone just getting exposed to Postgres doesn't know to look at Craig's stuff? (Although, maybe Google rankings would make this page appear early enough to do a great service...)

I was talking to another dev (who's very experienced) about dbs and I said I'd always expect to go postgres because of the extra features (and intentionally tightly couple to it) and the response was "yeah but how often do you actually use them" which initially shocked me (answer was "all the time"....), but now that I think about it; it's probably a pretty common perspective...
Problem is MS business model. They cannot remove stuff because of compatibility and cannot build new OS because they already have competition.

Most sensible would be to remove cruft in Windows and move to ARM hardware. Because Bill was not in power, new windows API(UWP) and Edge were too late. Now MS stuck with Win10 that have backward compatibility with win98 and IE11.... and dead WP.

It is already to late for MS to recover.
I used object pooling as a technique to increase performance on some of the tools I wrote in my previous role. These were protocol analysis tools, used for monitoring network links, and it was an order of magnitude increase in performance by pooling most objects, and reducing the work of the GC.

For performance critical code in a managed language, it made an astonishing difference, at least in my use case.
Valid points, but not _the_ point. There is a big difference between allowing and supporting something.

OO languages _support_ hidden inputs and outputs as well as programming by mutation. They _allow_ programming in a functional style, but you will have to be inventive for it.

FP languages _support_ immutable values, referential transparency and all that. They _allow_ programming by mutation and hidden inputs and outputs, but you will have to be (sometimes very) inventive for it.
Which IMHO is bad. They should be programming tests.
Strict vs. permissive has little bearing on this question, but it still isn't a valid problem on Uber's part as it's trivially solved by connection pooling.
The nomx response was here yesterday. Apparently the guy flashed the SD card, rooted the device and used a payload written by a friend.

According to their account none of this was reproduced w/ an off the shelf device rooted by nomx and placed on a network not 100% controlled by the attackers for the challenge
I often come across problems, like intermittent graphical glitches, in Ubuntu Linux applications and think to myself "maybe I'll try fixing that bug". I start digging casually, and find that the real issue is not in the application but somewhere in the graphics stack. Or maybe the kernel. Oh no, it's in a closed-source driver. Then I despair and start thinking thoughts like "wouldn't it be nice to rewrite all this from first principles? That way I could get it right!"

Then I do some more research and find that all this flaky software is built on proprietary, minimally-documented hardware with its own stack of bugs, except those bugs will never get fixed because the IP is top-secret and the only ten people who understand it have already moved on to build the next product.

So RISC-V/lowRISC is enticing because it promises an architecture that is powerful enough to be more than a toy or academic exercise, and also fully open from the ground up, which the public can iterate on and finally fix bugs - or at least understand them.

(Yes I know, I'm mixing complaints about GPUs into a CPU conversation here...)

I'm also encouraged by the slowdown in Moore's Law - alternative architectures have historically been steamrollered by Intel's phenomenal process engineering capability. If process nodes reach a plateau, the mad miniaturization march of the last 50 years will pause for breath and let a much wider and deeper variety of hardware hackers get involved.
> Throttling and prioritization aside, this is not an argument I have heard anyone make with regard to net neutrality.

Blocking -- not throttling or prioritization -- was the issue in the original net neutrality action (the Comcast BitTorrent blocking case) and the threat of ISPs blocking unwelcome content and applications has always been one of the core focuses of FCC net neutrality policy while they were pursuing it.
Awesome work, I am really impressed!
What would you say are examples of meaningful vs. pointless CS questions? Anecdotally speaking, I've heard of senior engineer interviews where the candidate has an impressive resume but has difficulty coding solutions to "basic" problems.
There are lots of mistaken beliefs around democracy.

US foreign policy seems to at least pay lip service to the idea that democracy is inherently good. But efforts to impose democracy on nations that have only ever been autocratic seems to have a poor history.

Likewise others have mentioned that China is "proof" that economic growth doesn't lead to democracy.

China I think is a really interesting case. When I compare China and India, which are both developing nations of massive size (over a billion people each), it seems to be as an outsider looking in that the Chinese are way better off than the Indians despite China being ostensibly communist and India ostensibly democratic.

This is likely to be a controversial statement.

This doesn't excuse the bad on either side. China has the annexation of China, lack of a free press, labour camps, the almost industrial scale genocide of baby girls and poor labour conditions to name a few. India has a huge problem with poverty, a population growth rate that's really concerning, a real problem with rape (at least in parts) and a ridiculous territorial ego fest with Pakistan over Kashmir.

But what the Chinese have, which I think ultimately benefits citizens, is political stability. While China is still called a Communist country it's unlike any other Communist country I've ever seen in that there are markets, a form of capitalism and the accumulation of private wealth.

What I also see is the topping of totalitarian regimes in places like Iraq and Libya. This is part of the reason fro the current refugee crisis in Europe. And as awful as I'm sure the al-Asaad regime is in Syria, has anyone really benefitted from the prolonged civil war in Syria?

So anyway, North Korea. It's certainly another interesting case and it has managed to survive when other such regimes have fallen by the wayside. This is in large part to China. Powerful countries like buffers between other powerful countries. Russia certainly wanted and wants one with the EU and NATO.

North Korea also survives by a strict and brutal control on information so I'm happy to see efforts people make to smuggle even things like TV shows into North Korea. These I do think ultimately help to weaken the regime but the process is not quick.

I don't think that North Korea--or anywhere else--is ultimately bound for democracy however.
Agreed in theory, but if you want a job at $bigco you don't have much choice in the process.
Funny & Friendly Boston Dynamics Robots Dancing
Berkeley CS189 Machine Learning: Complete Lecture Notes [pdf]
Yes, but still not as good as a the standalone Slitherlink (which also has lots if variants). What I miss the most is easy navigation with one hand, different colors on the links so I know which ones belong together without zooming out, marking the numbers differently when their constraints are okey, and the ability to mark areas as outside or inside.
I also feel something is a bit off with the generated games, but that might be me being used to another generator.
> micrometer tolerances

That's really not that much (1-999 μm). Keep in mind that sub-1mm is micrometer, and 1mm is a huge distance. I'm sure that LEGO bricks have tolerances of single or low double digits of micrometers...
Because Chromebooks are more secure than Windows, Linux, or Mac laptops, but Android is markedly less secure than iOS. This isn't about which is our favorite company; it's about what the best options are for ordinary users.

If you know exactly what you're doing, and you're using a Google phone, you might be able to get approximately the same security out of an Android device as an iOS device. But ordinary users have no chance.
That's interesting, the guy says in that post the he assumes the depth modulation is one channel and the side-to-side is the other channel for a stereo recording. But actually they're both at 45 degrees[1]. It's a clever system because not only does it encode two channels with some of the "better" side-to-side movement (up/down is harder to get fidelity out of), it comes out that that the sum of the channels causes side-to-side movement while the difference causes up and down, so they play on old mono record players as well.

I wonder what his code actually did, and if maybe he could have got a better result.

[1] http://www.vinylrecorder.com/stereo.html
How many programmers work for Facebook, Google, Amazon, etc and how many work for non-web scale companies? As a professional programmer in financial services I have never had to use a red-black tree, min heap or do anything more advanced than properly using a HashTable.
exceedingly few programming jobs need to know anything resembling advanced computer science theory

There's "need" and there's "need". The person without the solid computer science background may very well be able to solve all the problems at hand, but the person with the solid CS background is far more likely to come up with the fast elegant solution that doesn't fall over in obscure corner cases.

To use a concrete example for early in my career; I spent days and days trying to solve a problem by building a bigger and bigger pile regexps and if-else statements. Then my project manager (who had a PhD in CS) came along a just wrote a custom parser that solved the whole thing.
Can't the same be said for Apple or Microsoft? If either company changes its mind, say Apple release an iPhone XL and discontinues tablets, then the older devices will become less supported in the same way.
Id love postgres even more if they had native support for writing stored procs [ functions ] in javascript.
If you find ByteBuffer's API awkward/insufficient, you might want to consider one of the replacements:

* Netty's: https://netty.io/4.0/api/io/netty/buffer/ByteBuf.html as used by Netty

* Agrona's, as used by Aeron and SBE: http://insightfullogic.com/2015/Apr/18/agronas-threadsafe-of...
Yeah, I know that part, but there's no offline API gateway that supports any language other than Node that I've found.
> By and large they pay rent to use those rights of way (poles and conduits).

I get that. Yet, the quality of service isn't good enough, and we know competition can help. I'm not claiming to have the magic bullet that solves that, and I imagine the solution will vary from region to region anyway.

At the very least, right now we can stand up against this rollback of net neutrality. It's completely unnecessary and the title, "Restoring internet freedom", is completely ironic. The only freedom this policy would give is enabling more monopolistic behavior to internet service providers. Enabling such large monopolies is not freedom, it's infringement of the rights of consumers and future small businesses, both content providers and service providers who might otherwise later be able to step into a competitive role.

I get why ISPs are asking for this - they want to secure their position and earn more money. It's just not good for the rest of us and I think we ought to say so.
Use mprotect to change the access protection flags on a page of memory. Assuming it is initially allocated as write but no execute (PROT_READ|PROT_WRITE), write your machine code to it, then change it to read-only and execute (PROT_READ|PROT_EXEC).

http://man7.org/linux/man-pages/man2/mprotect.2.html

mprotect is part of POSIX, so works on Linux, macOS, etc.

The Windows equivalent is VirtualProtect

https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...
It's dangerous to rely on password-protected ZIPs. The default ZIP implementations use an 1990s amateur cipher that cryptographers have been cracking for sport for decades. There's a ZIP standard for authenticated AES, but you have to use a high-quality ZIP implementation (like 7z) to get it, and most people don't have special ZIP software installed.

Don't use password-protected ZIPs.
i have a similar apocryphal story from the dod. there was an image processing element for a missile targeting system that was a 3d stack of silicon. it ran at an amazingly large number of ops per second, but only for a few seconds, because there was no way to get the heat out of the stack.

which was (apparently) fine, but it made testing very expensive