skysight-inc/HackerNews huggingface dataset:
There exists a shared protocol. It's called "explain it". But that's typically not even needed, the user can just look at the data and figure it out.

> With typical Unix tools, you don't have "simpler encodings", you have no encoding at all.

You don't even believe this yourself, do you? That's so obviously wrong.

Name a well-thought out text file format that can't correctly be parsed e.g. by a Python one-liner with basic string operations. And please don't include: JSON, XML, YAML, sexps, because it's not possible, at least not without a library.

Not needing special infrastructure is why these formats (often) win. Very obvious practical reasons. If you have applications where you need one of the above - go ahead and do it.

Instead of trolling with this abstract, vague nonsense, it is better to propose a concrete case where existing practice is bad. Show how it should be done better. (And prepare to get contradicted).
I was the Director of Technology at a school overseas when the hype first began -- and over there the pull was even stronger because in addition to all of the reasons American schools were swooning over the iPad, the fact that this was an "American" thing was yet another factor over there.

I was lucky to be at a place where my principals listened when I suggested that we pass -- for many of the reasons stated here. What I think most people don't appreciate, though, is how much of a marketing tool these iPads became in this space. There wasn't a parent who would come in for a visit who didn't want to see that the school was "innovative," and the surest way to (pretend) show that was to point to your iPad initiative. We held our with laser focus on our educational mission, but I saw many of our peers spend a ton of time, money, and effort, to try to use iPads in one way or another. Marketing was -- and often still is -- the real driving force behind the adoption of these devices.
>Signal doesn't really gain anything from your Gmail data other than the ability to provide you network benefits via the relationship strengths implied by that data.

Instagram grew because it imported and co-opted twitters social graph. They absolutely benefit from being able to build a 10,000 foot view of the current social landscape.
Did you end up purchasing the 3 Macbooks anyway If so, Apple's bet that you want the machines enough to tolerate that behavior was correct.
I have a liquid cooled workstation with well over a gallon of water in it at any time. I've never ruined any parts, but I have had leaks when first building it. I quickly resolved them.

There's obviously a risk in using liquid cooling all the time, but as a practical matter you'll mostly be fine if you watch highly rated videos on YouTube that walk through proper construction. Make sure you use reputable companies for the components (tubing, fittings). Make sure the fittings and tubing match in ID/OD. Use distilled water with a biocide such as silver coil in the reservoir.

Also, make sure you fill the entire rig with paper towels before you turn the pump on, particularly under each fitting. Watch it for a few minutes to make sure no obvious leak is happening. Then let the pump run through the night and check to make sure the towels aren't wet.

I was paranoid when I first built mine but I don't even think about it anymore. You'll want to clean out and refill the whole thing every six - 12 months.
From the Kotlin spec: http://jetbrains.github.io/kotlin-spec/#_type_inference

"Type inference is conservative — it may fail to find suitable assignment of type-arguments to the type-parameters despite that one exist, and the function invocation could be successfully typechecked if the programmer explicitly provided suitable type-arguments."

My guess is that what the thesis presents is complete type inference in presence of subtyping that is decidable, efficient, and that yields types with all the nice properties one could hope for (principality, compactness, ...).

Which is hard.
Did you have to sign a NDA? Because if people send you random advice via email after reading a blog post then this sounds to me very much like "publicly sharing" their experience...
Contributing my own anecdata: I'm in a similar situation - I voluntarily started working 20 hours/week for the last 9 years. In my spare time I've taken up multiple new hobbies and cultivated older hobbies into semi-part-time jobs (a few hours a month). I can't ever imagine the torture of working 40+ hours/week ever again.
A century of examples from Russia and American history:

https://en.wikipedia.org/wiki/And_you_are_lynching_Negroes
Often for good reasons! In my career, I've seen the pendulum swing from storage on every device, to diskless devices sucking from the network, back to storage. Many times. Never mind the philosophy folks quote; its about technology, or rather the relative speed/latency of network versus local storage. Its true in lots of things. Folks 'rediscover' messaging systems for redundancy and failover every 10 years or so.
Mindfield, the new series by vsauce, tackled this in its first episode, which recently became free to watch.

It was an interesting watch, although I couldn't really take the experiment seriously after the segment with the former inmate who had spent way more time confined in a cell with even less stimulation than the one Michael was about to enter.

Anyhow, prolonged isolation(>3 days, maybe less) and willful disruption of circadian rhythms should definitely be considered torture.

Also, doing this to people who will reenter society is just so shortsighted and dumb, regardless of the total lack of morality.

https://www.youtube.com/watch?v=iqKdEhx-dD4
Here's a demo of foveated rendering in case anyone isn't familiar with it.

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

It should really help to reduce the GPU requirements for super high-res VR screens.
I don't get Snap. I use it occasionally and think the filters are a pretty cool technology, but I don't get the rest of it (the part that makes them money). I'm surprised Wall Street seems to understand it so well.
If a state decides to introduce RPis in all classrooms, I suspect that they could get a nice deal.
Live modifications of OS code sounds like a recipe for disaster. Unless you are an expert that codes himself an OS before breakfast
They're superior only in C-like languages when you indent in constant-width levels, and then only if you use very short names in your code.

Try using tabs to indent e.g. arguments to function one under another, and weep.
All public schools should be forced by law to use free systems on free hardware, anything else seems insane.
Relative paths are a must. I don't think I ever use non-relative paths.

Say you have a folder structure like this:

sql/
tables/
foo.sql
bar.sql
main.sql

And the contents of main.sql are something like this:

@@tables/foo.sql
@@tables/foo.sql

Then you can run main.sql via: usql -f sql/main.sql

If script file resolution is not relative pathed to the parent, it gets very fragile as you must invoke the parent from a specific location, or, you have to hard code full pathes in your scripts (arguably even uglier).
there was a video on here a few days ago of Gabe talking about Valves VR strategy.

he kept reiterating how important it was for them to keep their ecosystem open because it helps their chances to succeed either on the software or hardware side of things.

now there may have been some lip service, but he did seem to genuinely believe that all VR developers working independently has a greater chance chance to hurt actors in the industry more than help.
You might be assuming that their stuff that gets shared on Facebook is all they have, but it's not. Check out: https://www.buzzfeed.com/news
Modern boost converters have efficiency from 80% to 95%. They also operate at high frequencies – 1MHz or even 3MHz, which allows to make inductors incredibly small. Boost converters aren't a problem for a long time now.
For all of the usability flaws pointed out here, to what would you ascribe Unix's proliferation and modern ubiquity?

- Giving it away to universities?

- The C programming language?

What am I missing?
Meanwhile, erlang...
I call "No True Scotsman"
> most unix tools (ls being the exception) do double duty, they both emit output for other programs and output for the user. Which one you get and how the user output is presented being controlled by flags.

Which is where they fundamentally break the principle of "doing one thing, and doing it well". Formatting output for user should be a separate step (even if implicitly handled by your shell).
I like this. I think there is definitely room in the VR space (no pun intended), for variants of headsets and hardware. In the same way we have laptops for portable workers, and high end towers for dedicated gamers, right down to just smartphones and tablets for those people who don't actually need a 'computer - we will hopefully have different VR equipment for different use purposes. The more well-heeled among us might even invest in a few headsets, each for a different requirement.

As much as I was woefully underwhelmed by Ready Player One - the haptic VR suits are definitely something I'd like to see developed.
How to Tell a Secret in the Digital Age
The common explanation is "worse is better" (see The Rise of Worse is Better[0])

[0]: http://dreamsongs.com/RiseOfWorseIsBetter.html
> But even more so, who said the 1.3 billion people in China are "victims" needing our compassion? Have you asked them whether they like their government and how their country is going?

From the article

"We'd arranged to meet a woman in her village in China's central Hunan Province and to then travel with her by train to Beijing, filming as we went.
But we never did get to meet our interviewee.
The story we ended up with, however, reveals more about the exercise of power in China than any interview ever could.
It is one that involves violence, intimidation and a forced confession - my first in my long reporting experience in China - in which I found myself apologising for "behaviour causing a bad impact" and for trying to conduct an "illegal interview"."

So, yes, this exact story is about asking Chinese people about their government and having their equipment smashed and being forced to sign confessions for their efforts.

It should certainly be for the Chinese to define these things, the fact they can't is rather the point.
Can you provide a link to Brian Kernigan's APL's source code? Can't find it by google. Thanks.
I did read the entire article and that's exactly my point. Despite my rational mind being fully on board with the fact that solitary is a hundred times worse my feelings remain skewed in the other direction. So much that they would override rational judgement if given an opportunity. This is quite an uncomfortable feeling for someone who considers himself a rational person and I'd like to investigate it.
New coding strategy maximizes data storage capacity of DNA molecules
CCC 005: Headline Hacks, Site Architecture, Blog UX
Probably not wise to mention Trump then, who praised the Chinese regime for crushing the pro-democracy "riot" (his word) in Tienanmen Square.
> I think it's very telling that the author consistently refers to directories as "folders".

You do understand that the article was written in different language (russian), right? I kinda think this makes your whole argument broken.
The SELinux coloring book [pdf]
For me, the most startling part of the article wasn't the insane lease financing, it was the up front "sticker price". $2,400 for a dog, $1,700 for a cat. I've generally known that some people pay a lot of money to buy a certain type of dog from a breeder, but I was thinking it was more in the mid 3-figure ranges (I think I've seen ads for dogs around $400 - $600). I have considered that a ridiculously expensive price. I'm speaking someone who makes pretty good money, owns two houses, three vehicles (for two adults). But seeing that people pay thousands for a pet. It's like this whole other world of exorbitance. They're not paying for a pet, they're paying for something to brag about.

> A good breeder will also want to keep track of the pup and will also offer you a contract to protect you both and make sure your dog is healthy or will explain its conditions. Bulldogs are very special dogs and people who own them are just as special. [1]

Generally, if you go to a pound/rescue, your costs will be around $100, most of which are to pay for things like de-worming and stuff you would incur in a visit to the veterinarian.

1: https://www.suburbanbullies.com/whydobulldogscostsomuch.html
I've already looked into adding ODBC support, and will try to add it. The real limitation here is that I am not working with a ODBC setup locally, so writing/testing anything for it is not really possible at the moment. Also, I believe all the ODBC Go driver implementations require the use of a C lib/dll, so it would need to be similar to the Oracle support and not "out of the box". The beauty of this, is that at the moment you can simply do a 'go get -u github.com/knq/usql' and have a working SQL client that is exactly the same for the 4 "natively supported" databases, and with Oracle support if you have the right local client libraries.
I agree with you. Specially because ∅ looks a lot like crossed 0, depending on your font.

My point is that symbols only have meaning for those who see them. With Emacs pretty-mode, symbols are substituted visually and not ever saved to file.
Hey, now it's time for all the Palantir employees who signed this pledge http://neveragain.tech/ to stand up, right?

Matthew Avant, Shanthanu Bhardwaj, Sarang Shah, what say you?
Unfortunately the link you just provided just died.

If you're on Linux, your best bet is likely to be attaching to each renderer process and running `generate-core-file`. Unfortunately (and very annoyingly) chrome://cache stores HTTPS-encrypted data, which you would need to have previously exported SSLKEYLOGFILE to decrypt.

Alternatively, if you still have the tab open, CTRL+S :D

Regarding your point though, if the PSP is _completely laid open_ so we can understand how it works, can't we load our own firmware into the PSP and then be confident that that's what's running?
This is a feature in psql? I must admit if it is, I'm not familiar with it.
I assume the OP was referring to the Anti-Foreword by Dennis Ritchie.
In praise of cash
There are lots of non-Unix operating systems that were never successful. But they are still an important, if forgotten, source of ideas: BeOS, RiscOS, OS/2, Pick Operating System.
There is _not a single_ phone on the market running logic directly from the cell. Everything has own buck/boost converters and army of power management chips.

Voltage is irrelevant!
Look at religious people. Among them are a lot of educated people and scientist, even if proportionally less than in the general population. Humans have quite some capacity to hold conflicting ideas without to much worries, just don't think too much about it.
Yes, shipping your 1,3 kg mac (or whatever it weights) around the world once in his lifetime is much more harmless than shipping all your fruits from Brasil to Europe where you could buy local products. Maybe we could survive without eating mango or banana all the time.

There is a lot of finger-pointing going on. Every proposal for a solution which involves me changing the way I live is a red herring. The industry I am working in is not responsible for killing our environment. The car I drive is much harmless then the meat you eat. Turning off my TV set and reading books or going on a walk instead would not save the world until everybody follows my example so why not spend 5 hours of my free time every day in front of the screen? Everything - except talking online about what others should change in their lifes to protect our enviroment - is too uncomfortable for me so let's use Rust or Go instead of the inefficient Python because this will save the world from humanity.

Yes it will, if you work on Skynet. Otherwise won't.
Italy launches international search for new director of the Colosseum
1 thing that US propagandists consistently fail to mention about China's emissions is that, per capita, they are less than half of those of the United States. If you mention that, they accuse you of "whataboutism" as if comparing the total emissions of Austin, TX and Los Angeles is a reasonable and totally not intentionally deceptive thing to do.

It's biased to refer to a system that expects countries with far less per capita emissions to reduce at the same rate as countries with two or three times their rates as "bifurcated." "Bifurcated" could just as easily refer to the rate of the reduction, or to the per capita targets of that reduction. The system can't help but be bifurcated when dealing with polluters as bad as the United States.

It's a paranoid work of art to both make China out to be a threat because it could pollute too much, and also a threat because it could develop green technology and apply it too quickly, in the same document.
It doesn't reliably do something sane. IIRC, LLVM in that case just falls back to reading the file into an array the ordinary way. That only happens one time in 4096, so there's no practical difference to performance.
I was struggling to understand the meaning of the world 'Foveated', thinking it was Field-of-View-something-something, but the Fovea is actually the back part of your eyeball:

https://en.wikipedia.org/wiki/Fovea_centralis
Exam Credit for Knowing What You Do Not Know
Getting read access on TGI Friday’s online ordering system
I had encountered sqlcl before, but it requires the JVM, and I don't believe it is open source. With usql, it's open source (MIT), already works with more databases than sqlcl does, and very soon I will have built releases for Windows, OSX, and Linux that one will simply be able to download a single, relatively small (roughly 8 megs) binary and be able to work with any SQL database using the exact same command-line interface for each.
Interesting. Could you share with us what are the biggest share-able projects Agora Voting is getting involved?
Show HN: TopHN – a real time animated view for HN built in Vue.js and RethinkDB
Brilliant ideal
I started writing up an outline / notes for a talk, which you can see here-

https://www.findlectures.com/articles/2017/01/22/Software-Ar...

I think there is a fair amount of detail there, but if you have questions I'm happy to elaborate :)
Care to elaborate?

Understanding prototypal inheritance seems essential to me, and Object.create() is the cleanest way to show it in action.

The book also presents the alternative class syntax and numerous ES2015 additions like block-scoped variables and arrow functions, to name a few.
Impressive, cool, just great!
> I don't care if it's 2.5x heavier; I want more energy storage in my phone so it lasts longer between charges

I'm with you on this! But I'd clarify that I want more energy in any form. I would also not mind a phone that was a few millimeters thicker. But it seems the average consumer is swayed by a very thin phone, so more weight it is.
"You cannot make a post while messages are pending (Post sequence number: 282 is currently pending confirmation in the Bitcoin Blockchain"

Using the Bitcoin blockchain for forums is a really bad decision: high fees, tiny data buffer, high confirmation times. These are the kind of decisions that kill your project from the beginning.
Do bots have a role in creating social change?
Spending less time coding, and more time working on skills that have exponential effects on my ability to code and learn.

If you're curious, I wrote quite a bit[1] on this topic.

[1]: https://nickjanetakis.com/blog/have-you-hit-the-point-of-dim...
The issue with all of these, of course, is that in order to get a system running you have to configure multiple "independent" tools, processes and daemons. Think setting up a web application - you have to configure the web application to listen on a certain port/UNIX socket, then configure your web server to go find it. You then need to scale this up across logical servers separated by a network - your web servers need to communicate with your database, they need some sort of authentication key/password, etc etc. You're never just configuring one thing.

The modern solution would be that there needs to be a network configuration tool which generates specific configurations for each component, is capable of encoding arbitrary invariants, and works consistently. Configuration also needs to be "push" based on events - when a DNS server dies, it should be able to figure out "we need at least 2 DNS servers, we have 1, fire up a new one - then update all systems to know about the new one".

Configuration management systems for Linux, by and large, suck. They're very good at starting from an Ubuntu Server install and building on that, and then get more and more fragile as the system lives on. Some of them (Saltstack, for example) do have some degree of event management - you can run certain commands on certain things happening, but it's not declarative or reactive in the way you'd hope - e.g. you can't just say "this system knows about all DNS servers" and expect it to work. The Docker/Kubernetes ecosystems claim to solve the network configuration problem (in a really awkward roundabout way), but not really intra-system configuration, and it still takes a lot of manual work.

NixOS gets a lot closer - but it needs to be expanded with a constraints solver and an event processing system. It's Turing-complete, so you can encode pretty much whatever you want into it, while still being a reasonable configuration language (basic use of it looks a lot like JSON).

But the point is - the formats individual components use for configuration should be more-or-less irrelevant. They could be completely opaque, so long as it's possible to get from the network config to the individual component's config and it's possible to update that config on-the-fly. In fact, it'd be more useful to standardise on one library which can handle all that for you.
I don't understand (sorry). Could you explain?
Do you know how much people suffer if their house is broken into, if they are robbed at gunpoint, if they are raped, etc? Not just the direct harm, but the ongoing psychological harm?
What politicians believe is irrelevant. They are salesmen paid to hold one opinion or the other. Do other intelligent and educated conservatives deny climate change? Yes. Look up the smart idiot effect.
Yes psql supports it. The syntax is "\i path/to/file.sql" or "\ir relative/path/to/file.sql". The latter is resolved relative to the parent script. Makes nesting scripts possible without losing your sanity.
Well, by then he was fired... :)
As part of my "learning late in life" efforts, I knocked together this project to help me consume Hacker News in a way that suits me (and hopefully others) better.

I wrote a full blog post [0] about my efforts, including some background on the technologies I used. Feel free to check it out [1] and give me any feedback you have. I know there a plenty of other real time HN feeds out there, but hopefully this one keeps it simple while adding quirky features like a real time karma tracker and animated 'Top 30' bubbling...

[0] - http://devan.blaze.com.au/blog/2017/3/3/tophn-a-fun-side-pro...
[1] - https://tophn.info/
That's one deserved upvote :)
And then dip down into Western Mass - lots of good beers here too even for non-IPA lovers like myself. If you want to try something a little different grab some Ginger Libation.
Well, Haiku is mostly POSIX, so I'd say it's mostly UNIX.
It's more than that however, and the graphical subsystem is awesome. But I'd say it's unix.
There's also a neat startup from IndieBio doing something similar: https://catalogdna.com/
Excellent, so now this will help us write programs better. Thanks. I upvoted you. Looking forward to the blog post.
http://www.stanforddaily.com/2017/02/28/cs-department-update...

https://medium.freecodecamp.com/what-programming-language-sh...

http://prog21.dadgum.com/203.html

To each his own, I guess :)
Google and Apple have different innovation signatures